:root {
  --navy: #0c1f6b;
  --navy-deep: #071447;
  --navy-soft: #16308f;
  --cyan: #00b4ff;
  --cyan-bright: #33c5ff;
  --cyan-soft: rgba(0, 180, 255, 0.14);
  --ink: #0f1a33;
  --muted: #5a6a85;
  --line: rgba(12, 31, 107, 0.12);
  --surface: #eef3fb;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(7, 20, 71, 0.14);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 80px;
  --container: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #f7f9fd;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 2.5rem));
  }
}

@media (min-width: 1360px) {
  .container {
    width: var(--container);
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ========== Urgent donate banner ========== */
.urgent-banner {
  position: relative;
  z-index: 110;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.9rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(90deg, #8b0000 0%, #c41e1e 45%, #9b1212 100%);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
  animation: urgentGlow 1.6s ease-in-out infinite;
}

.urgent-banner:hover {
  filter: brightness(1.06);
}

.urgent-banner-pulse {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  animation: urgentFlash 1.6s ease-in-out infinite;
  pointer-events: none;
}

.urgent-banner-label {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: #b42318;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: urgentBlink 1s steps(1, end) infinite;
}

.urgent-banner-text {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.urgent-banner-cta {
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  white-space: nowrap;
}

@keyframes urgentGlow {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 80, 80, 0); }
  50% { box-shadow: inset 0 0 24px rgba(255, 120, 120, 0.35); }
}

@keyframes urgentFlash {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

@keyframes urgentBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .urgent-banner,
  .urgent-banner-pulse,
  .urgent-banner-label {
    animation: none;
  }
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(7, 20, 71, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0.3rem 0.5rem;
  border-radius: 12px;
  /* background: #000; */
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--cyan-soft);
  color: var(--navy-deep);
}

.nav-dropdown {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 230px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: var(--shadow);
  display: none;
  z-index: 20;
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  display: grid;
}

.nav-menu a {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-weight: 650;
  color: var(--navy);
}

.nav-menu a:hover {
  background: var(--cyan-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--cyan);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: 0.2s ease;
}

.lang-switch:hover {
  background: var(--cyan);
  color: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.58rem 1.05rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0090e0);
  color: white;
  box-shadow: 0 12px 28px rgba(0, 180, 255, 0.32);
}

.btn-secondary {
  background: var(--navy);
  color: white;
  box-shadow: 0 12px 28px rgba(12, 31, 107, 0.22);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 71, 0.5);
  z-index: 200;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 100%);
  height: 100%;
  background: white;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  overflow: auto;
  animation: slideIn 0.35s var(--ease);
}

.mobile-nav-panel a {
  padding: 0.85rem 0.7rem;
  border-radius: 12px;
  font-weight: 650;
  color: var(--navy);
}

.mobile-nav-panel a:hover {
  background: var(--cyan-soft);
}

.mobile-close {
  align-self: flex-end;
  border: 0;
  background: var(--surface);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-nav-actions {
  margin-top: auto;
  display: grid;
  gap: 0.6rem;
  padding-top: 1rem;
}

@keyframes slideIn {
  from { transform: translateX(24px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.flash {
  width: min(var(--container), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  font-weight: 650;
}

.flash-success { background: #e8faf1; color: #0d6b3f; }
.flash-error { background: #fdecee; color: #9b1c2a; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero > .container {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 2rem));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 20, 71, 0.92) 0%, rgba(12, 31, 107, 0.78) 42%, rgba(0, 120, 190, 0.45) 100%),
    linear-gradient(to top, rgba(7, 20, 71, 0.55), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 11vh, 7rem) 0;
  max-width: 640px;
  animation: heroIn 0.9s var(--ease) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: white;
}

.hero-brand span {
  color: var(--cyan-bright);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.9rem;
  max-width: 16ch;
}

.hero p {
  margin: 0 0 1.75rem;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 40ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ========== Sections ========== */
.section {
  padding: clamp(3.75rem, 8vw, 6rem) 0;
}

.section-surface {
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(0, 180, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #eaf0f9 0%, #f4f7fc 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  color: var(--navy);
  margin: 0 0 0.55rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.section-cta {
  margin-top: 2rem;
}

.eyebrow {
  display: inline-block;
  color: var(--cyan);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  margin: 0 0 0.6rem;
}

/* Feature tiles with images */
.feature-strip {
  display: grid;
  gap: 1.1rem;
}

.feature-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 240px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  color: white;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}

.feature-tile:hover {
  transform: translateY(-5px);
}

.feature-tile-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 20, 71, 0.15) 0%, rgba(7, 20, 71, 0.88) 100%),
    var(--tile-img) center/cover no-repeat;
}

.feature-tile-accent .feature-tile-bg {
  background:
    linear-gradient(180deg, rgba(0, 120, 190, 0.2) 0%, rgba(7, 20, 71, 0.9) 100%),
    var(--tile-img) center/cover no-repeat;
}

.feature-tile-body {
  display: grid;
  gap: 0.4rem;
  padding: 1.5rem 1.55rem;
}

.feature-tile-body strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.feature-tile-body span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Specialties */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 78px;
  padding: 0.85rem 1rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(7, 20, 71, 0.04);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.specialty-item:hover {
  border-color: rgba(0, 180, 255, 0.55);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.specialty-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--cyan-soft);
  display: grid;
  place-items: center;
}

.specialty-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.specialty-item > span:last-child {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.3;
}

.search-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.search-cloud span {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 650;
}

/* Modes */
.mode-row {
  display: grid;
  gap: 0.95rem;
}

.mode-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-height: 220px;
  padding: 1.5rem 1.4rem 1.55rem;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(7, 20, 71, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.mode-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mode-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mode-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--cyan-soft), #e8f7ff);
}

.mode-icon img {
  width: 28px;
  height: 28px;
}

.mode-item strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
}

/* Doctor media band */
.media-band {
  display: grid;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  color: white;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.media-band-photo {
  min-height: 280px;
}

.media-band-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.media-band-copy {
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-band-copy .eyebrow {
  color: var(--cyan-bright);
}

.media-band-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.7rem;
  line-height: 1.15;
}

.media-band-copy p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.band-stat {
  display: inline-flex;
  flex-direction: column;
  margin: 0 0 1rem;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 3px solid var(--cyan);
}

.band-stat strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 170px;
  padding: 1.5rem 1.4rem 1.5rem 4.4rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(7, 20, 71, 0.04);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.4rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Flow cards with images */
.flow-grid {
  display: grid;
  gap: 1.1rem;
}

.flow-card {
  position: relative;
  display: grid;
  grid-template-rows: 180px 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(7, 20, 71, 0.07);
  transition: transform 0.3s var(--ease);
  min-height: 360px;
}

.flow-card:hover {
  transform: translateY(-4px);
}

.flow-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.flow-card-body {
  padding: 1.4rem 1.45rem 1.55rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.flow-card-body .btn {
  width: auto;
  margin-top: 0.4rem;
}

.flow-card-body h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.2rem;
}

.flow-card-body p {
  margin: 0 0 auto;
  color: var(--muted);
}

.flow-card-wide {
  grid-template-rows: 220px 1fr;
}

.flow-card-wide .flow-card-img {
  height: 220px;
}

/* Why */
.why-grid {
  display: grid;
  gap: 1rem;
}

.why-item {
  min-height: 160px;
  padding: 1.4rem 1.4rem;
  border-top: 3px solid var(--cyan);
  background: white;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 12px 32px rgba(7, 20, 71, 0.05);
}

.why-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
}

.why-item p {
  margin: 0;
  color: var(--muted);
}

/* Promo panels */
.promo-grid {
  display: grid;
  gap: 1.1rem;
}

.promo-panel {
  position: relative;
  min-height: 300px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  color: white;
  box-shadow: var(--shadow);
}

.promo-panel-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 20, 71, 0.2), rgba(7, 20, 71, 0.88)),
    var(--promo-img) center/cover no-repeat;
}

.promo-panel-dark .promo-panel-bg {
  background:
    linear-gradient(135deg, rgba(7, 20, 71, 0.75), rgba(0, 120, 190, 0.7)),
    var(--promo-img) center/cover no-repeat;
}

.promo-panel-body {
  padding: clamp(1.6rem, 4vw, 2.2rem);
  max-width: 42ch;
}

.promo-panel-body h2 {
  font-family: var(--font-display);
  margin: 0 0 0.55rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.promo-panel-body p {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Partners */
.section-partners {
  background: white;
  border-top: 1px solid var(--line);
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.partner-logo {
  height: 72px;
  display: grid;
  place-items: center;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.partner-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.partner-logo span {
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
}

.partner-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.partner-names span {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 650;
  font-size: 0.88rem;
}

/* Inner page hero */
.page-hero {
  padding: clamp(2.8rem, 7vw, 4.2rem) 0 1.5rem;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(0, 180, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #e8eef9, transparent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  color: var(--navy);
  margin: 0 0 0.65rem;
  letter-spacing: -0.025em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.08rem;
}

/* Forms */
.form-shell {
  display: grid;
  gap: 1.5rem;
}

.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 14px 40px rgba(7, 20, 71, 0.06);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fbfcfe;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-soft);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-aside {
  padding: 1.7rem;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy-soft));
  color: white;
  min-height: 280px;
}

.contact-aside h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
}

.contact-aside a,
.contact-aside p {
  color: rgba(255, 255, 255, 0.92);
}

.contact-aside .phone-list {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.steps-inline {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.steps-inline span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 650;
  color: var(--navy);
}

.steps-inline i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cyan-soft);
  color: var(--navy);
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.people-grid,
.hospital-grid {
  display: grid;
  gap: 1rem;
}

.person,
.hospital {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.45rem;
  min-height: 210px;
  box-shadow: 0 10px 28px rgba(7, 20, 71, 0.04);
}

.person h3,
.hospital h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  color: var(--navy);
}

.person .role,
.hospital .meta {
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.person p,
.hospital p {
  margin: 0;
  color: var(--muted);
}

.hospital ul {
  margin: 0.8rem 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.progress {
  height: 8px;
  background: #e7eef8;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.8rem 0;
}

.progress > span {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #ffe8e8;
  color: #b42318;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-wrap {
  min-height: calc(100vh - var(--header-h) - 80px);
  padding: 2.5rem 0 4rem;
}

.auth-split {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.auth-card {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.split-layout {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.form-card {
  width: 100%;
}

.media-aside {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-aside img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.media-aside-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 1.6rem 1.5rem;
  background: linear-gradient(transparent, rgba(7, 20, 71, 0.92));
  color: white;
}

.media-aside-copy h2 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.media-aside-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.about-grid {
  display: grid;
  gap: 1.25rem;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-photo {
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.split-cards {
  display: grid;
  gap: 1.1rem;
}

.split-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 28px rgba(7, 20, 71, 0.04);
}

.split-panel h2 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.split-panel p {
  margin: 0;
  color: var(--muted);
}

.form-grid.two-col {
  grid-template-columns: 1fr;
}

.donate-grid {
  display: grid;
  gap: 1.1rem;
}

.steps-row {
  display: grid;
  gap: 0.7rem;
}

.auth-card h1 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.4rem;
  font-size: 1.75rem;
}

.auth-card .slogan {
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.auth-card .alt {
  margin-top: 1rem;
  color: var(--muted);
  text-align: center;
}

.auth-card .alt a {
  color: var(--cyan);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Footer */
.site-footer {
  margin-top: 0;
  background: linear-gradient(180deg, #071447, #050d2e);
  color: rgba(255, 255, 255, 0.86);
  padding: 4rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  gap: 2.2rem;
}

.footer-brand p {
  margin: 1rem 0;
  max-width: 28ch;
}

.footer-brand img {
  height: 44px;
  width: auto;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  background: #000;
}

.socials {
  display: flex;
  gap: 0.9rem;
}

.socials a {
  color: var(--cyan-bright);
  font-weight: 650;
}

.site-footer h3 {
  font-family: var(--font-display);
  color: white;
  font-size: 1rem;
  margin: 0 0 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer a:hover {
  color: var(--cyan-bright);
}

.footer-payment {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

/* ========== Responsive ========== */
@media (min-width: 640px) {
  .specialty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partners-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .feature-strip,
  .mode-row,
  .steps,
  .why-grid,
  .promo-grid,
  .people-grid,
  .hospital-grid,
  .flow-grid,
  .form-shell,
  .split-layout,
  .auth-split,
  .about-grid,
  .split-cards,
  .donate-grid,
  .form-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-tile {
    min-height: 280px;
  }

  .form-shell.contact-layout,
  .split-layout,
  .auth-split,
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .media-band {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .media-band-photo,
  .media-band-photo img,
  .media-aside,
  .media-aside img,
  .about-photo,
  .about-photo img {
    min-height: 100%;
    height: 100%;
  }

  .flow-card-wide {
    grid-column: 1 / -1;
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: auto;
    min-height: 280px;
  }

  .flow-card-wide .flow-card-img {
    height: 100%;
    min-height: 280px;
  }

  .steps-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .specialty-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mode-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .why-item {
    grid-column: span 2;
  }

  .why-item:nth-child(4),
  .why-item:nth-child(5) {
    grid-column: span 3;
  }

  .donate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partners-row {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .people-grid,
  .hospital-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
  }

  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: inline-flex;
  }
}

@media (max-width: 1023px) {
  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: none;
  }
}

/* ========== Fundraiser / Sauvez des vies ========== */
.fundraiser-section {
  background: linear-gradient(180deg, #f4f7fc 0%, #fff 100%);
}

.fundraiser-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.fundraiser-heading h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  color: var(--navy);
}

.fundraiser-underline {
  display: block;
  width: 64px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
}

.fundraiser-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 0.65rem;
  align-items: center;
}

.fundraiser-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fundraiser-track::-webkit-scrollbar {
  display: none;
}

.fundraiser-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(7, 20, 71, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.fundraiser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 20, 71, 0.12);
}

.fundraiser-media {
  position: relative;
  height: 180px;
  background: var(--navy-deep);
}

.fundraiser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fundraiser-badges {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  right: 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  z-index: 1;
}

.fundraiser-badge {
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.fundraiser-badge-tax {
  background: var(--navy);
}

.fundraiser-badge-urgent {
  background: #c41e1e;
  animation: urgentBlink 1s steps(1, end) infinite;
}

.fundraiser-body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.fundraiser-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fundraiser-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fundraiser-by {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.fundraiser-share {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.share-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.share-wa:hover { background: #e8f8ef; border-color: #25d366; }
.share-fb:hover { background: #eef3ff; border-color: #1877f2; }

.fundraiser-stats {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 750;
  color: var(--navy);
  margin-top: 0.2rem;
}

.fundraiser-progress {
  height: 8px;
  border-radius: 999px;
  background: #e4ebf6;
  overflow: hidden;
}

.fundraiser-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
}

.fundraiser-donate {
  width: 100%;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fundraiser-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(7, 20, 71, 0.08);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.fundraiser-nav:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.fundraiser-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn-outline-navy {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

@media (min-width: 768px) {
  .fundraiser-track {
    grid-auto-columns: calc((100% - 2.2rem) / 2);
  }
}

@media (min-width: 1100px) {
  .fundraiser-track {
    grid-auto-columns: calc((100% - 3.3rem) / 4);
  }
}

@media (max-width: 640px) {
  .fundraiser-carousel {
    grid-template-columns: 1fr;
  }

  .fundraiser-nav {
    display: none;
  }
}

.fundraiser-card-link {
  display: block;
  color: inherit;
}

.fundraiser-body h3 a {
  color: inherit;
}

.fundraiser-body h3 a:hover {
  color: var(--cyan);
}

/* ========== Campaign detail page ========== */
.campaign-detail {
  position: relative;
  padding: 1.5rem 0 4rem;
  background: linear-gradient(180deg, #f4f7fc 0%, #fff 40%);
}

.campaign-back {
  margin: 0 0 1rem;
}

.campaign-back a {
  color: var(--navy);
  font-weight: 700;
}

.campaign-title-block {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 1.75rem;
}

.campaign-title-block h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  color: var(--navy);
  line-height: 1.25;
}

.campaign-medical-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.campaign-layout {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}

.campaign-hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-deep);
  min-height: 320px;
}

.campaign-hero-img {
  width: 100%;
  height: min(460px, 58vw);
  object-fit: cover;
  display: block;
}

.campaign-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.2rem 1.3rem;
  background: linear-gradient(transparent, rgba(7, 20, 71, 0.88));
  color: #fff;
}

.campaign-hero-overlay p {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.btn-donate-now {
  background: #c41e1e;
  color: #fff;
  border: 0;
  box-shadow: 0 10px 24px rgba(196, 30, 30, 0.35);
}

.btn-donate-now:hover {
  filter: brightness(1.08);
  color: #fff;
}

.campaign-gallery {
  margin-top: 1rem;
}

.campaign-gallery strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.campaign-thumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.campaign-thumbs img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.campaign-trust,
.panel-like {
  margin-top: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 10px 28px rgba(7, 20, 71, 0.04);
}

.campaign-trust h3,
.campaign-story h2,
.campaign-people h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.1rem;
}

.campaign-trust ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.campaign-story p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.campaign-people {
  display: grid;
  gap: 1rem;
}

.campaign-people .muted {
  color: var(--muted);
  margin: 0.2rem 0;
}

.campaign-sidebar {
  position: relative;
}

.campaign-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.45rem;
  box-shadow: 0 16px 40px rgba(7, 20, 71, 0.08);
}

.campaign-ring-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 0.6rem;
}

.campaign-ring {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: #e4ebf6;
  stroke-width: 10;
}

.ring-fg {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}

.campaign-ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.campaign-ring-label strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy);
  line-height: 1;
}

.campaign-ring-label span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.campaign-days {
  text-align: center;
  color: var(--muted);
  font-weight: 650;
  margin: 0 0 0.85rem;
}

.campaign-raised {
  text-align: center;
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.campaign-raised strong {
  color: var(--navy);
  font-family: var(--font-display);
}

.campaign-donors {
  text-align: center;
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.campaign-note {
  text-align: center;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.campaign-donate-btn {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.campaign-share-tip {
  text-align: center;
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.campaign-fb-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  margin-bottom: 0.55rem;
}

.campaign-fb-btn:hover {
  background: var(--navy-deep);
  color: #fff;
}

.campaign-wa-btn {
  width: 100%;
}

.campaign-float-share {
  position: fixed;
  right: 0;
  top: 45%;
  z-index: 50;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--navy);
  color: #fff;
  padding: 0.85rem 0.45rem;
  border-radius: 10px 0 0 10px;
  text-align: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 24px rgba(7, 20, 71, 0.2);
}

.campaign-float-share span {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

@media (min-width: 960px) {
  .campaign-layout {
    grid-template-columns: 1.35fr 0.75fr;
    gap: 1.6rem;
  }

  .campaign-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }

  .campaign-people {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .campaign-float-share {
    display: none;
  }
}
