/* ========================================
   CSS Variables & Reset — Light Medical Theme
   ======================================== */
:root {
  --color-primary: #0891b2;
  --color-primary-dark: #0e7490;
  --color-primary-light: #ecfeff;
  --color-accent: #0d9488;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-danger: #ef4444;
  --color-white: #ffffff;
  --color-dark: #0f172a;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.06), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.06), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.06), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --tap: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ========================================
   Utility
   ======================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container { padding: 0 24px; }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  min-height: var(--tap);
  padding: 14px 22px;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(.97); }

.btn--primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn--primary:hover, .btn--primary:focus {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover, .btn--outline:focus {
  background: var(--color-bg-alt);
  border-color: var(--color-text-muted);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline-dark:hover, .btn--outline-dark:focus {
  background: var(--color-primary-light);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--large {
  padding: 18px 24px;
  font-size: 1.08rem;
  width: 100%;
}

.btn--full { width: 100%; }

.btn--small {
  padding: 10px 16px;
  font-size: .9rem;
}

@media (min-width: 768px) {
  .btn--large { width: auto; }
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 8px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.logo__img {
  height: 36px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo__img { height: 44px; }
}

.header__phone {
  font-weight: 700;
  font-size: .85rem;
  color: var(--color-primary);
  flex-shrink: 1;
  min-height: var(--tap);
  display: none;
  align-items: center;
  padding: 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

@media (min-width: 480px) {
  .header__phone { display: inline-flex; }
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
}

.burger span {
  display: block;
  height: 2.5px;
  width: 24px;
  background: rgba(30,41,59,0.8);
  border-radius: 2px;
  transition: .2s;
}

@media (min-width: 1024px) {
  .burger { display: none; }
}

/* ========================================
   Mobile Nav — full-screen overlay (donor style)
   ======================================== */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px 36px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
  overflow-y: auto;
  max-height: 100vh;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: var(--shadow-xl);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 32px;
}

.mobile-nav__close {
  background: none;
  border: none;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-text);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  flex: 1 1 auto;
  justify-content: center;
}

.mobile-nav__list a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: color .15s;
}

.mobile-nav__list a:hover,
.mobile-nav__list a:focus {
  color: var(--color-primary);
}

.mobile-nav__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-top: 24px;
}

.mobile-nav__phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.mobile-nav__cta {
  width: 100%;
  max-width: 300px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .mobile-nav, .overlay { display: none; }
}

/* ========================================
   Hero — Dark with photo (donor style)
   ======================================== */
.hero {
  position: relative;
  padding-top: 88px;
  padding-bottom: 56px;
  background: linear-gradient(180deg, #0f3d4d 0%, #1a5f6b 50%, #0f3d4d 100%);
  overflow: hidden;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero1.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.45;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,61,77,0.72) 0%, rgba(15,61,77,0.55) 40%, rgba(15,61,77,0.78) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 100 0 L 0 0 0 100' fill='none' stroke='%23fff' stroke-width='0.5' stroke-opacity='0.015'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)' /%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 4px 10px;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #7dd3fc;
  margin-bottom: 16px;
  background: rgba(125,211,252,0.12);
  border: 1px solid rgba(125,211,252,0.2);
  padding: 5px 10px;
  border-radius: 999px;
  line-height: 1.35;
  width: fit-content;
  white-space: nowrap;
}

.hero__title {
  font-size: clamp(1.9rem, 6.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  color: #fff;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__btn {
  justify-content: center;
  padding-left: 16px;
  padding-right: 16px;
  min-height: 56px;
}

/* Pill button for hero (donor style) */
.btn--pill {
  border-radius: 999px;
  padding: 18px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  box-shadow: 0 8px 24px rgba(14,165,233,0.4);
  border: none;
}

.btn--pill:hover, .btn--pill:focus {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
  box-shadow: 0 10px 32px rgba(14,165,233,0.5);
  transform: translateY(-1px);
}

.hero__badges {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,0.65);
}

.hero__badges svg {
  color: #7dd3fc;
  flex-shrink: 0;
}

/* Hero messengers — circle icons */
.hero__messengers {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  margin-bottom: 32px;
  flex-wrap: nowrap;
  justify-content: center;
}

.hero__messenger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  font-size: .72rem;
  font-weight: 500;
  text-align: center;
  flex: 1 1 30%;
  max-width: 100px;
}

.hero__messenger-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
  box-shadow: 0 4px 16px rgba(14,165,233,0.35);
  transition: transform .15s, box-shadow .15s;
  overflow: hidden;
  flex-shrink: 0;
}

.hero__messenger-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(14,165,233,0.45);
}

.hero__messenger-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

/* Form in hero */
.hero__form-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.form--hero {
  padding: 24px 20px;
}

.form__header {
  margin-bottom: 20px;
}

.form__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-white);
}

.form__note {
  font-size: .88rem;
  color: rgba(255,255,255,0.55);
}

.form__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

.form__input {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--color-white);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder {
  color: rgba(255,255,255,0.35);
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.2);
  background: rgba(255,255,255,0.07);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  color: rgba(255,255,255,0.8);
}

.form__textarea {
  resize: vertical;
  min-height: 90px;
}

.form__privacy {
  font-size: .72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

.form__privacy a { 
  color: #7dd3fc; 
  text-decoration: underline; 
}

@media (min-width: 768px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero__btn { width: auto; flex: 1 1 240px; }
  .hero__badges { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 1024px) {
  .hero { padding-top: 120px; padding-bottom: 80px; }
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .hero__content { flex: 1 1 50%; }
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: 56px 0;
}

.section--light {
  background: var(--color-bg-alt);
}

.section--dark {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: var(--color-white);
}

.section--dark .section__subtitle {
  color: rgba(255,255,255,0.6);
}

.section__title {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  text-wrap: balance;
  letter-spacing: -.02em;
}

.section--dark .section__title {
  color: var(--color-white);
}

.section__title--left { text-align: left; }

.section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 720px;
  text-wrap: pretty;
  line-height: 1.6;
}

/* ========================================
   Cards system
   ======================================== */
.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: box-shadow .2s, transform .2s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
  color: var(--color-white);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(14,165,233,0.25);
}

.card__icon--large {
  width: 56px; height: 56px;
  border-radius: 14px;
}

.card__icon--muted {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  box-shadow: none;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.25;
}

.card__text {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.card__link {
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-primary);
}

.card__list {
  list-style: none;
  font-size: .9rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__list li {
  position: relative;
  padding-left: 20px;
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
}

.card__image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--color-bg-alt);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.card:hover .card__image img {
  transform: scale(1.03);
}

@media (min-width: 640px) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   Specialists
   ======================================== */
.specialists {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.specialist {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.specialist:hover { 
  box-shadow: var(--shadow-lg); 
  transform: translateY(-3px);
}

.specialist__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #0b3d5f 0%, #0b1220 100%);
  overflow: hidden;
}

.specialist__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .3s ease;
}

.specialist:hover .specialist__photo {
  transform: scale(1.03);
}

.specialist__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b3d5f 0%, #0b1220 100%);
}

.specialist__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}

.specialist__body {
  padding: 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.specialist__name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-text);
}

.specialist__role {
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.specialist__exp {
  margin-top: auto;
  padding-top: 12px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (min-width: 480px) {
  .specialists {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .specialists {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Steps
   ======================================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step__num {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #0d9488 100%);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 0 4px rgba(14,165,233,.15);
}

.step__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step__text {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .step {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ========================================
   Reviews
   ======================================== */
.reviews {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.reviews::-webkit-scrollbar { height: 6px; }
.reviews::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }

.review {
  flex: 0 0 min(88vw, 360px);
  scroll-snap-align: start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.review__text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
}

.review__author {
  font-size: .88rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-top: auto;
}

@media (min-width: 1024px) {
  .reviews {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    gap: 20px;
  }
  .review { flex: none; }
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq__question {
  list-style: none;
  padding: 20px 48px 20px 20px;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  color: var(--color-text);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
  transition: transform .2s;
}

.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq__answer {
  padding: 0 20px 20px;
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   Trust
   ======================================== */
.trust {
  display: grid;
  gap: 16px;
}

.trust__card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.trust__icon {
  width: 60px; height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14,165,233,0.15) 0%, rgba(13,148,136,0.15) 100%);
  color: #38bdf8;
  margin-bottom: 16px;
}

.trust__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-white);
}

.trust__text {
  font-size: .95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .trust { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   Contacts + form
   ======================================== */
.contacts {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacts__text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contacts__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacts__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contacts__value {
  display: block;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--color-text);
}

.contacts__value--large {
  font-size: 1.45rem;
  color: var(--color-primary);
}

.contacts__note {
  display: block;
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.contacts__messengers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contacts__messengers .btn {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  flex: 1 1 auto;
  min-width: 100px;
  padding: 8px 14px;
  font-size: .85rem;
}

.contacts__messengers .btn:hover {
  background: var(--color-primary-light);
}

.form--contacts {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}

.form--contacts .form__title {
  color: var(--color-text);
}

.form--contacts .form__note {
  color: var(--color-text-muted);
}

.form--contacts .form__label {
  color: var(--color-text-muted);
}

.form--contacts .form__input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--color-text);
}

.form--contacts .form__input::placeholder {
  color: #94a3b8;
}

.form--contacts .form__input:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.form--contacts .form__privacy {
  color: #94a3b8;
}

.form--contacts .form__privacy a {
  color: var(--color-primary);
}

@media (min-width: 1024px) {
  .contacts {
    flex-direction: row;
    gap: 56px;
  }
  .contacts__info { flex: 1 1 45%; }
  .form--contacts { flex: 1 1 45%; max-width: 480px; }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #f8fafc;
  color: #64748b;
  padding: 48px 0 32px;
  font-size: .9rem;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer .logo { color: var(--color-text); }

.footer__copy { font-size: .85rem; color: #64748b; }

.footer__legal { font-size: .75rem; line-height: 1.5; color: #94a3b8; }

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a { color: #64748b; font-weight: 500; }
.footer__nav a:hover { color: var(--color-text); }

.footer__link {
  color: #64748b;
  font-size: .85rem;
}
.footer__link:hover { color: var(--color-text); }

.footer__warning {
  font-size: .72rem;
  color: #94a3b8;
  margin-top: 12px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }
  .footer__col { flex: 1 1 auto; }
}

/* ========================================
   Sticky Mobile CTA — FAB pulse (donor style)
   ======================================== */
.sticky-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  -webkit-tap-highlight-color: transparent;
}

.sticky-cta__fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(14,165,233,0.45);
  transition: transform .2s ease, box-shadow .2s ease;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}

.sticky-cta__fab:active { transform: scale(.92); }

/* Pulse rings */
.sticky-cta__fab::before,
.sticky-cta__fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid rgba(14,165,233,0.45);
  pointer-events: none;
}

.sticky-cta__fab::before {
  animation: ctaPulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

.sticky-cta__fab::after {
  animation: ctaPulse 2s cubic-bezier(.4,0,.6,1) infinite .6s;
  border-color: rgba(14,165,233,0.25);
}

@keyframes ctaPulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Stop pulse when menu open */
.sticky-cta.open .sticky-cta__fab::before,
.sticky-cta.open .sticky-cta__fab::after {
  animation: none;
  opacity: 0;
  transition: opacity .2s;
}

/* Toggle icons */
.sticky-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-cta__icon--close { display: none; }
.sticky-cta.open .sticky-cta__icon--open { display: none; }
.sticky-cta.open .sticky-cta__icon--close { display: flex; }

/* Menu */
.sticky-cta__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.sticky-cta.open .sticky-cta__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Menu items */
.sticky-cta__item {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  transition: transform .15s ease;
}

.sticky-cta__item:active { transform: scale(.92); }

.sticky-cta__item svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.sticky-cta__item--phone { background: #111827; }
.sticky-cta__item--wa    { background: #22c55e; }
.sticky-cta__item--tg    { background: #38bdf8; }
.sticky-cta__item--max   { background: #fff; overflow: hidden; }

.sticky-cta__item--max img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

/* Tooltip label */
.sticky-cta__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,23,42,.82);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  letter-spacing: .02em;
}

.sticky-cta__item:hover .sticky-cta__label,
.sticky-cta__item:focus .sticky-cta__label {
  opacity: 1;
}

@media (min-width: 1024px) {
  .sticky-cta { display: none; }
}

/* ========================================
   Desktop nav (in header on large screens)
   ======================================== */
.desktop-nav { display: none; }

@media (min-width: 1024px) {
  .desktop-nav { 
    display: flex; 
    gap: 8px;
    margin-left: auto;
    margin-right: 24px;
  }
  .desktop-nav a {
    font-size: .88rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 6px 12px;
    border-radius: 6px;
    transition: .15s;
  }
  .desktop-nav a:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
  }
}

/* ========================================
   Emergency section — light accent
   ======================================== */
.section--emergency {
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
}

.section--emergency .section__title {
  color: var(--color-text);
}

.section--emergency .section__subtitle {
  color: var(--color-text-muted);
}

.section--emergency .card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.section--emergency .card__title {
  color: var(--color-text);
}

.section--emergency .card__text {
  color: var(--color-text-muted);
}

.section--emergency .card__link {
  color: var(--color-primary);
}

/* ========================================
   Services section
   ======================================== */
.section--services {
  background: var(--color-bg);
}

.section--services .card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__content {
  animation: fadeInUp .6s ease-out;
}

.hero__form-wrapper {
  animation: fadeInUp .8s ease-out;
}

/* ========================================
   SVO Banner
   ======================================== */
.svo-banner {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.svo-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   Map
   ======================================== */
.map-wrapper {
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

@media (min-width: 1024px) {
  .map-wrapper {
    flex: 1 1 50%;
    min-height: 400px;
  }
  .contacts {
    flex-direction: row;
    gap: 40px;
  }
  .contacts__info {
    flex: 1 1 45%;
  }
}

/* ========================================
    Gallery (conditions)
    ======================================== */
 .gallery {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 10px;
 }
 
 .gallery__item {
   border-radius: 12px;
   overflow: hidden;
   aspect-ratio: 4/3;
   background: var(--color-bg-alt);
   cursor: pointer;
 }
 
 .gallery__item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
   transition: transform .3s ease;
 }
 
 .gallery__item:hover img {
   transform: scale(1.03);
 }
 
 @media (min-width: 640px) {
   .gallery {
     grid-template-columns: repeat(3, 1fr);
   }
 }
 
 @media (min-width: 1024px) {
   .gallery {
     grid-template-columns: repeat(4, 1fr);
     gap: 14px;
   }
 }

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: scale(.95);
  transition: transform .25s;
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Connect Dropdown
   ======================================== */
.connect-dropdown {
  position: relative;
  display: inline-block;
}

.connect-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 100;
  min-width: 200px;
}

.connect-dropdown__menu[style*="bottom"] {
  top: auto;
  bottom: calc(100% + 8px);
}

.connect-dropdown__menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.connect-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--color-text);
  text-decoration: none;
  transition: background .15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.connect-dropdown__item:hover {
  background: var(--color-bg-alt);
}

.connect-dropdown__item svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.connect-dropdown__overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
}

.connect-dropdown__overlay.active {
  display: block;
}
