/* ============================================================
   DREAMS ART BANK — stylesheet
   1. Tokens (brand primitives + semantic roles + themes)
   2. Reset & base
   3. Typography & utilities
   4. Buttons, forms, media
   5. Header & navigation
   6. Sections (hero → footer)
   7. Overlays (modal, FABs, palette preview)
   8. Responsive
   ============================================================ */

/* ---------- 1. TOKENS ------------------------------------- */
:root {
  /* Brand primitives, sampled from the Dreams ART Bank logo */
  --navy-900: #082741;
  --navy-800: #0C3A61;
  --navy-700: #124D80;   /* logo wordmark navy — PRIMARY */
  --navy-600: #17629F;
  --navy-500: #2A7CBE;

  --sky-600:  #2FA9DE;
  --sky-500:  #5CC2ED;
  --sky-400:  #8AD3F2;
  --sky-300:  #A9DCF3;   /* logo badge blue — SECONDARY */
  --sky-100:  #DCF0FB;
  --sky-50:   #EFF8FD;

  --pink-700: #A81F46;
  --pink-600: #C82855;   /* accessible pink for text/fills */
  --pink-500: #EC3B6E;   /* logo swoosh pink — ACCENT */
  --pink-300: #F58AA8;
  --pink-100: #FBDCE6;
  --pink-50:  #FEF1F5;

  /* Neutrals */
  --ink:      #0E1F2C;
  --body:     #3D5061;
  --muted:    #5A6E82;   /* AA on white, sky-50, mist and pink-50 surfaces */
  --line:     #DBE7F0;
  --line-soft:#EAF1F7;
  --white:    #FFFFFF;

  /* Status */
  --success:    #0F7C58;
  --success-bg: #E6F5EF;
  --error:      #C0344A;
  --error-bg:   #FCEDEF;
  --warning:    #94600A;
  --warning-bg: #FCF3E3;

  /* Semantic roles — themes only need to override this block */
  --c-bg:            var(--white);
  --c-bg-alt:        var(--sky-50);
  --c-surface:       var(--white);
  --c-surface-2:     var(--sky-50);
  --c-heading:       var(--navy-700);
  --c-text:          var(--body);
  --c-text-soft:     var(--muted);
  --c-eyebrow:       var(--pink-600);
  --c-primary:       var(--navy-700);
  --c-primary-hover: var(--navy-800);
  --c-on-primary:    var(--white);
  --c-accent:        var(--pink-600);
  --c-accent-hover:  var(--pink-700);
  --c-on-accent:     var(--white);
  --c-arc:           var(--pink-500);
  --c-line:          var(--line);
  --c-line-soft:     var(--line-soft);
  --c-ring:          var(--sky-300);
  --c-chip-bg:       var(--sky-100);
  --c-chip-fg:       var(--navy-700);
  --c-band:          linear-gradient(115deg, var(--navy-800), var(--navy-600) 58%, var(--sky-600));
  --c-hero-wash:     radial-gradient(120% 90% at 8% 20%, var(--sky-100) 0%, rgba(255,255,255,0) 62%),
                     radial-gradient(90% 80% at 92% 8%, var(--pink-50) 0%, rgba(255,255,255,0) 60%);
  --c-media-a:       var(--sky-100);
  --c-media-b:       var(--pink-50);

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --sh-sm: 0 2px 8px rgba(8, 39, 65, .06);
  --sh-md: 0 10px 30px rgba(8, 39, 65, .08);
  --sh-lg: 0 24px 60px rgba(8, 39, 65, .12);

  /* Type */
  --f-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --shell: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
}

/* --- Theme: Midnight (dark surfaces / dark-mode UI) --- */
[data-theme="midnight"] {
  --c-bg:            var(--navy-900);
  --c-bg-alt:        #0A3152;
  --c-surface:       #0E3A5F;
  --c-surface-2:     #0A3152;
  --c-heading:       #EAF6FD;
  --c-text:          #B9D3E6;
  --c-text-soft:     #8FB2CC;
  --c-eyebrow:       var(--pink-300);
  --c-primary:       var(--sky-300);
  --c-primary-hover: var(--sky-400);
  --c-on-primary:    var(--navy-900);
  --c-accent:        #F0567F;             /* lifted so navy label text clears AA on dark */
  --c-accent-hover:  var(--pink-300);
  --c-on-accent:     var(--navy-900);
  --c-arc:           var(--pink-500);
  --c-line:          rgba(169, 220, 243, .18);
  --c-line-soft:     rgba(169, 220, 243, .10);
  --c-ring:          rgba(169, 220, 243, .35);
  --c-chip-bg:       rgba(169, 220, 243, .14);
  --c-chip-fg:       var(--sky-300);
  --c-band:          linear-gradient(115deg, #06283F, #0E3A5F 60%, #145B84);
  --c-hero-wash:     radial-gradient(120% 90% at 8% 20%, rgba(44,140,196,.30) 0%, rgba(8,39,65,0) 62%),
                     radial-gradient(90% 80% at 92% 8%, rgba(236,59,110,.20) 0%, rgba(8,39,65,0) 60%);
  --c-media-a:       #0E3A5F;
  --c-media-b:       #123E5E;
  --sh-sm: 0 2px 8px rgba(0,0,0,.35);
  --sh-md: 0 12px 32px rgba(0,0,0,.40);
  --sh-lg: 0 28px 64px rgba(0,0,0,.48);
}

/* --- Theme: Signal (pink-forward, conversion pages) --- */
[data-theme="signal"] {
  --c-bg-alt:        var(--pink-50);
  --c-surface-2:     var(--pink-50);
  --c-heading:       var(--navy-800);
  --c-eyebrow:       var(--navy-600);
  --c-primary:       var(--pink-600);
  --c-primary-hover: var(--pink-700);
  --c-accent:        var(--navy-700);
  --c-accent-hover:  var(--navy-800);
  --c-arc:           var(--navy-600);
  --c-ring:          var(--pink-300);
  --c-chip-bg:       var(--pink-100);
  --c-chip-fg:       var(--pink-700);
  --c-band:          linear-gradient(115deg, var(--pink-700), var(--pink-600) 55%, #E0567F);
  --c-hero-wash:     radial-gradient(120% 90% at 8% 20%, var(--pink-100) 0%, rgba(255,255,255,0) 62%),
                     radial-gradient(90% 80% at 92% 8%, var(--sky-50) 0%, rgba(255,255,255,0) 60%);
  --c-media-a:       var(--pink-100);
  --c-media-b:       var(--sky-50);
}

/* --- Theme: Mist (low-saturation, clinical/print) --- */
[data-theme="mist"] {
  --c-bg-alt:        #F4F7FA;
  --c-surface-2:     #F4F7FA;
  --c-heading:       var(--navy-800);
  --c-text:          #46566A;
  --c-eyebrow:       var(--navy-500);
  --c-primary:       var(--navy-800);
  --c-primary-hover: var(--navy-900);
  --c-accent:        var(--navy-600);
  --c-accent-hover:  var(--navy-700);
  --c-arc:           var(--sky-500);
  --c-line:          #E1E8EE;
  --c-line-soft:     #EDF1F5;
  --c-ring:          #C9D8E4;
  --c-chip-bg:       #E8EFF5;
  --c-chip-fg:       var(--navy-800);
  --c-band:          linear-gradient(115deg, #0B3357, #17517C 60%, #2A7096);
  --c-hero-wash:     radial-gradient(120% 90% at 8% 20%, #E8F1F7 0%, rgba(255,255,255,0) 62%),
                     radial-gradient(90% 80% at 92% 8%, #F3F6F9 0%, rgba(255,255,255,0) 60%);
  --c-media-a:       #E8EFF5;
  --c-media-b:       #F1F5F8;
}

/* ---------- 2. RESET & BASE ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--c-primary); color: var(--c-on-primary);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. TYPOGRAPHY & UTILITIES --------------------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--c-heading); margin: 0 0 .5em; font-weight: 600; line-height: 1.16; letter-spacing: -.015em; }

.display { font-size: clamp(2rem, 4.4vw, 3.05rem); font-weight: 600; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.h3 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
.h5 { font-size: 1.02rem; line-height: 1.35; }

.eyebrow {
  font-family: var(--f-body);
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-eyebrow); margin: 0 0 .8em;
}
.lede { color: var(--c-text-soft); max-width: 62ch; margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: .88em; letter-spacing: -.01em; }

/* the recurring brand arc — echoes the pink swoosh in the logo */
.arc { width: 168px; height: 20px; color: var(--c-arc); margin: -2px 0 20px; overflow: visible; }
.center-arc { margin-inline: auto; width: 130px; }

.section { padding: clamp(60px, 8vw, 104px) 0; }
.section-flush { padding: 0; }
.section-tint { background: var(--c-bg-alt); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 4. BUTTONS, FORMS, MEDIA ---------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-size: .93rem; font-weight: 600; line-height: 1;
  padding: 14px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--c-primary); color: var(--c-on-primary); box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--c-primary-hover); box-shadow: var(--sh-md); }
.btn-accent { background: var(--c-accent); color: var(--c-on-accent); box-shadow: var(--sh-sm); }
.btn-accent:hover { background: var(--c-accent-hover); box-shadow: var(--sh-md); }
.btn-ghost { background: transparent; color: var(--c-heading); border-color: var(--c-ring); }
.btn-ghost:hover { background: var(--c-chip-bg); border-color: var(--c-primary); }
.btn-whatsapp { background: var(--white); color: var(--navy-800); }
.btn-whatsapp:hover { background: var(--sky-100); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Forms */
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: var(--c-heading); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--f-body); font-size: .95rem; color: var(--c-text);
  background: var(--c-surface); border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-chip-bg);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { display: none; margin: 6px 0 0; font-size: .8rem; color: var(--error); }
.field.has-error .field-error { display: block; }

.form-status { margin: 14px 0 0; font-size: .87rem; padding: 10px 14px; border-radius: var(--r-sm); display: none; }
.form-status.is-success { display: block; background: var(--success-bg); color: var(--success); }
.form-status.is-error   { display: block; background: var(--error-bg); color: var(--error); }

/* Media wells — swap in real photography at assets/img/ */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--c-media-a), var(--c-media-b));
  box-shadow: var(--sh-md);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.is-missing img { display: none; }
.media.is-missing::after {
  content: attr(data-media);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em;
  color: var(--c-text-soft); opacity: .85;
}
.media-hero { aspect-ratio: 16 / 11; }
.media-portrait { aspect-ratio: 4 / 3; }
.media-service { aspect-ratio: 4 / 3; }
.media-wide { aspect-ratio: 16 / 9; box-shadow: none; border-radius: var(--r-md); }
.media-band { aspect-ratio: 5 / 3; }
.media-round { border-radius: 50%; aspect-ratio: 1; box-shadow: none; }

/* ---------- 5. HEADER & NAV ------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--c-surface);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-stuck { box-shadow: var(--sh-sm); border-bottom-color: var(--c-line-soft); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { flex: none; display: block; }
.brand img { height: 42px; width: auto; }
[data-theme="midnight"] .brand img,
[data-theme="midnight"] .contact-logo,
[data-theme="midnight"] .footer-logo { background: var(--white); border-radius: var(--r-sm); padding: 4px 6px; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 500; color: var(--c-heading);
  padding: 10px 13px; border-radius: var(--r-pill);
  background: none; border: 0; font-family: var(--f-body); cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { background: var(--c-chip-bg); text-decoration: none; }
.nav-link.is-active { color: var(--c-accent); font-weight: 600; }
.caret { transition: transform .2s; }
[aria-expanded="true"] .caret { transform: rotate(180deg); }

.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 196px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-menu.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: .88rem; color: var(--c-text);
}
.dropdown a:hover { background: var(--c-chip-bg); color: var(--c-heading); text-decoration: none; }

.nav-cta { flex: none; padding: 12px 22px; }
.nav-cta-mobile { display: none; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer;
}
.hamburger span { display: block; height: 2px; background: var(--c-heading); border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. SECTIONS ----------------------------------- */

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px) 0 clamp(26px, 4vw, 46px); }
.hero-wash { position: absolute; inset: 0; background: var(--c-hero-wash); z-index: 0; }
.hero-track { position: relative; z-index: 1; }
.hero-slide { animation: slideIn .5s ease both; }
.hero-slide[hidden] { display: none; }
@keyframes slideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.hero-copy { max-width: 37rem; }
.hero-sub { font-size: 1.06rem; color: var(--c-text); max-width: 30rem; }
.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 62%;
  background: var(--c-chip-bg); border-radius: var(--r-xl); z-index: -1;
}

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--c-surface); color: var(--c-heading);
  border: 1px solid var(--c-line); box-shadow: var(--sh-sm);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }
.hero-prev { left: 10px; }
.hero-next { right: 10px; }

.hero-dots { position: relative; z-index: 3; display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: var(--c-ring); cursor: pointer; transition: width .25s, background-color .25s;
}
.hero-dots button[aria-selected="true"] { width: 26px; border-radius: var(--r-pill); background: var(--c-accent); }

/* Split / story */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media { position: relative; }
.media-badge {
  position: absolute; right: -14px; bottom: -14px;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--c-surface); color: var(--c-accent);
  display: grid; place-items: center; box-shadow: var(--sh-md);
  border: 1px solid var(--c-line-soft);
}

/* Vision */
.vision-card {
  background: var(--c-surface); border-radius: var(--r-xl);
  padding: clamp(30px, 5vw, 60px); box-shadow: var(--sh-md);
  border: 1px solid var(--c-line-soft);
}
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.vision-item + .vision-item { border-left: 1px solid var(--c-line); padding-left: clamp(24px, 4vw, 56px); }
.vision-item { text-align: center; }
.vision-item p { color: var(--c-text-soft); font-size: .95rem; }
.icon-pill {
  display: inline-grid; place-items: center; width: 54px; height: 54px;
  border-radius: var(--r-md); background: var(--c-chip-bg); color: var(--c-chip-fg);
  margin-bottom: 16px;
}

/* Orbit / solutions */
.orbit {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 48px); align-items: center; justify-items: center;
}
.orbit-col { display: grid; gap: clamp(28px, 4vw, 52px); }
.orbit-left { text-align: right; }
.orbit-item { max-width: 21rem; }
.orbit-item p:last-child { color: var(--c-text-soft); font-size: .87rem; line-height: 1.6; }
.orbit-kicker { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary); margin: 0 0 .5em; }
.orbit-kicker.accent { color: var(--c-accent); }
.orbit-bottom { grid-column: 1 / -1; text-align: center; margin-top: clamp(12px, 3vw, 32px); }

.orbit-hub { position: relative; width: min(300px, 62vw); aspect-ratio: 1; }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed var(--c-ring);
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core { position: absolute; inset: 17%; border-radius: 50%; overflow: hidden; box-shadow: var(--sh-md); }
.orbit-node {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--sh-sm);
  background: var(--c-surface); border: 1px solid var(--c-line-soft);
}
.node-1 { top: -6px; left: 8%; color: var(--c-accent); }
.node-2 { top: 12%; right: -8px; color: var(--sky-600); }
.node-3 { bottom: 12%; left: -8px; color: var(--navy-600); }
.node-4 { bottom: -6px; right: 12%; color: var(--c-accent); }

/* Why band */
.why-band {
  display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 4vw, 48px); align-items: center;
  background: var(--c-surface-2); border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--c-line-soft);
}
.why-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 16px; margin-top: 22px; }
.why-list li {
  display: grid; gap: 10px; justify-items: start;
  font-size: .84rem; font-weight: 600; color: var(--c-heading); line-height: 1.35;
}
.why-ico {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--r-sm); background: var(--c-surface); color: var(--c-accent);
  box-shadow: var(--sh-sm);
}

/* Services */
.service {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 60px);
  align-items: center; margin-bottom: clamp(48px, 7vw, 88px);
}
.service:last-child { margin-bottom: 0; }
.service-reverse .service-media { order: 2; }
.service-copy > p:first-of-type { color: var(--c-text-soft); }

.check-list { display: grid; gap: 11px; margin: 22px 0; }
.check-list li { position: relative; padding-left: 30px; font-size: .93rem; color: var(--c-text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .38em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--c-chip-bg);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: .62em;
  width: 7px; height: 4px; border-left: 2px solid var(--c-accent); border-bottom: 2px solid var(--c-accent);
  transform: rotate(-45deg);
}
.check-compact li { font-size: .87rem; }

.note {
  background: var(--c-surface-2); border-left: 3px solid var(--c-accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 13px 16px; font-size: .84rem; color: var(--c-text-soft); margin: 0;
}

/* Patient / doctor */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.audience-card {
  background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-md); border: 1px solid var(--c-line-soft);
  transition: transform .25s, box-shadow .25s;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.audience-media { padding: 14px 14px 0; }
.audience-body { padding: 20px clamp(20px, 3vw, 30px) clamp(24px, 3vw, 30px); }
.audience-body > p { color: var(--c-text-soft); font-size: .9rem; }

/* Donor */
.donor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.donor-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--sh-sm);
  transition: border-color .25s, box-shadow .25s;
}
.donor-card:hover { border-color: var(--c-ring); box-shadow: var(--sh-md); }
.donor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.donor-head h3 { margin-bottom: .15em; }
.donor-sub { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-eyebrow); margin: 0; }
.donor-ico {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: var(--r-md); background: var(--c-chip-bg); color: var(--c-chip-fg);
}
.donor-card .check-list li strong { color: var(--c-heading); }

.legal-note {
  position: relative; margin: clamp(26px, 4vw, 40px) auto 0; max-width: 64rem;
  padding: 16px 20px 16px 26px; font-size: .84rem; color: var(--c-text-soft);
  background: var(--c-surface-2); border-radius: var(--r-md);
}
.legal-bar { position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--c-accent); }

/* CTA band */
.cta-band { padding: 0; }
.cta-inner {
  background: var(--c-band); border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 58px); text-align: center; color: var(--sky-100);
}
.cta-inner h2 { color: var(--white); }
.cta-inner p { margin-bottom: 24px; }
.cta-band .btn-whatsapp { box-shadow: var(--sh-md); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr 1fr; gap: clamp(22px, 3vw, 36px); align-items: start; }
.contact-info { background: var(--c-surface-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); }
.contact-logo { height: 46px; width: auto; margin-bottom: 16px; }
.contact-name { font-family: var(--f-display); font-weight: 600; color: var(--c-heading); font-size: 1.05rem; margin-bottom: 16px; }
.contact-list { display: grid; gap: 15px; font-size: .88rem; }
.contact-list li { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 4px; }
.contact-ico { color: var(--c-accent); margin-top: 3px; }
.contact-list a { color: var(--c-text); }
.contact-list a:hover { color: var(--c-primary); }

.contact-form { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--sh-sm); }
.contact-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--c-line-soft); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Footer */
.site-footer { background: var(--navy-900); color: #B9D3E6; padding: clamp(44px, 6vw, 68px) 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(26px, 4vw, 48px); }
.footer-logo { height: 46px; width: auto; background: var(--white); border-radius: var(--r-sm); padding: 7px 10px; margin-bottom: 18px; }
.footer-blurb { font-size: .88rem; max-width: 30ch; color: #A9C5DC; }
.footer-reg { color: var(--sky-300); font-size: .8rem; }
.footer-heading { font-family: var(--f-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); margin-bottom: 14px; }
.footer-list { display: grid; gap: 10px; font-size: .88rem; }
.footer-list a { color: #B9D3E6; }
.footer-list a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  margin-top: clamp(30px, 4vw, 48px); padding-top: 20px;
  border-top: 1px solid rgba(169, 220, 243, .18);
  font-size: .78rem; color: #8FB2CC;
}
.footer-bottom p { margin: 0; }

/* ---------- 7. OVERLAYS ----------------------------------- */
.fab {
  position: fixed; right: 18px; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  box-shadow: var(--sh-md); transition: transform .2s, opacity .25s, visibility .25s;
}
.fab:hover { transform: translateY(-3px); }
.fab-whatsapp { bottom: 18px; background: #25D366; color: #063D1E; }
.fab-top { bottom: 82px; background: var(--c-primary); color: var(--c-on-primary); opacity: 0; visibility: hidden; }
.fab-top.is-shown { opacity: 1; visibility: visible; }

.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 39, 65, .55); backdrop-filter: blur(3px); animation: fade .25s ease both; }
.modal-panel {
  position: relative; width: min(430px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--c-surface); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 34px); box-shadow: var(--sh-lg);
  animation: pop .28s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-surface);
  color: var(--c-heading); display: grid; place-items: center; cursor: pointer;
}
.modal-close:hover { background: var(--c-chip-bg); }
.modal-lede { font-size: .88rem; color: var(--c-text-soft); margin-bottom: 20px; }
body.is-locked { overflow: hidden; }

/* Palette preview — remove with the matching HTML block before launch */
.palette-switch { position: fixed; left: 18px; bottom: 18px; z-index: 80; font-family: var(--f-body); }
.palette-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill); cursor: pointer;
  background: var(--c-surface); color: var(--c-heading);
  border: 1px solid var(--c-line); box-shadow: var(--sh-md);
  font-size: .8rem; font-weight: 600;
}
.palette-options {
  position: absolute; bottom: calc(100% + 8px); left: 0; min-width: 210px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 6px; display: grid; gap: 2px;
}
.palette-options[hidden] { display: none; }
.palette-options button {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: var(--r-sm);
  background: none; color: var(--c-text); font-family: inherit; font-size: .86rem; cursor: pointer;
}
.palette-options button:hover { background: var(--c-chip-bg); }
.palette-options button.is-selected { color: var(--c-heading); font-weight: 600; background: var(--c-chip-bg); }
.palette-options small { color: var(--c-text-soft); font-size: .72rem; }

/* ---------- 8. RESPONSIVE --------------------------------- */
@media (max-width: 1080px) {
  .nav-link { padding: 10px 10px; font-size: .84rem; }
  .brand img { height: 36px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-map { grid-column: 1 / -1; }
  .contact-map iframe { min-height: 320px; }
}

@media (max-width: 900px) {
  .primary-nav {
    position: fixed; inset: 74px 0 auto; z-index: 89;
    background: var(--c-surface); border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-md); padding: 12px var(--gutter) 22px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s, transform .22s, visibility .22s;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { justify-content: space-between; width: 100%; padding: 13px 14px; border-radius: var(--r-sm); font-size: .95rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--c-line); border-radius: 0;
    margin: 2px 0 6px 14px; padding: 0 0 0 8px; display: none;
  }
  .has-menu.is-open .dropdown { display: block; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block; margin-top: 10px; }
  .nav-cta-mobile .btn { width: 100%; }
  .hamburger { display: flex; margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-media { order: -1; }
  .hero-media::before { display: none; }
  .hero-arrow { display: none; }

  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 460px; }

  .vision-grid { grid-template-columns: 1fr; }
  .vision-item + .vision-item { border-left: 0; padding-left: 0; padding-top: 28px; border-top: 1px solid var(--c-line); }

  .orbit { grid-template-columns: 1fr 1fr; }
  .orbit-left { text-align: left; }
  .orbit-hub { display: none; }
  .orbit-item { max-width: none; }
  .orbit-bottom { text-align: left; }

  .why-band { grid-template-columns: 1fr; }
  .why-media { order: -1; }

  .service, .service-reverse { grid-template-columns: 1fr; }
  .service-reverse .service-media { order: 0; }

  .audience-grid, .donor-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .orbit { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .palette-switch { left: 12px; bottom: 12px; }
  .palette-trigger span { display: none; }
  .palette-trigger { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .fab, .palette-switch, .hero-arrow, .hero-dots, .contact-map { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
