/* =========================================================
   Dr Shashidhar T B — ENT, Head & Neck and Airway Surgeon
   Main stylesheet. Colours and fonts are set once here in :root.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy: #0B1D3A;
  --navy-2: #14305C;
  --ink: #13233F;
  --muted: #4E5D77;
  --mist: #EEF3F9;
  --line: #D6DFEB;
  --magenta: #C8146C;
  --magenta-hi: #E0307F;
  --sky: #1F74BE;
  --sky-lite: #7DB8EA;
  --white: #FFFFFF;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 116%;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 14px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
:focus-visible { outline: 3px solid var(--magenta-hi); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 10px 16px; z-index: 999; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; color: var(--navy); font-stretch: var(--wide); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.6vw, 6.2rem); font-weight: 800; line-height: .95; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 760; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 700; font-stretch: 106%; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 60ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head { display: grid; gap: 12px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 820px; }
.sec-head p { margin: 0; }
.on-navy { background: var(--navy); color: #D8E2F0; }
.on-navy h2, .on-navy h3 { color: var(--white); }
.on-navy .lead { color: #B9C7DC; }
.on-navy a:not(.btn) { color: var(--sky-lite); }
.on-mist { background: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 650 1rem/1 var(--font); font-stretch: 108%;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--magenta); color: var(--white); }
.btn-primary:hover { background: var(--magenta-hi); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-wa { background: #1FA855; color: var(--white); }
.btn-wa:hover { background: #17924A; color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: var(--navy); color: var(--white);
  transition: background .35s, box-shadow .35s;
}
.site-header.over-hero:not(.scrolled) { background: linear-gradient(to bottom, rgba(6,16,34,.72), rgba(6,16,34,0)); }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(3,10,25,.25); }
.header-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: grid; text-decoration: none; color: var(--white); line-height: 1.1; margin-right: auto; white-space: nowrap; }
.brand b { font-size: 1.28rem; font-weight: 800; font-stretch: 118%; letter-spacing: -0.01em; }
.brand span { font-size: .78rem; color: #A9BAD3; font-stretch: 100%; letter-spacing: .01em; }
.brand em { font-style: normal; font-size: .78rem; font-weight: 680; color: #FFFFFF; font-stretch: 104%; letter-spacing: .01em; margin-top: 2px; }
@media (max-width: 380px) { .brand b { font-size: 1.12rem; } .brand span, .brand em { font-size: .72rem; } }
.brand:hover { color: var(--white); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; color: #DCE5F2; text-decoration: none; font-size: .93rem; font-weight: 520; padding: 8px 10px; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.09); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--magenta-hi); border-radius: 6px 6px 0 0; }
.header-cta { padding: 11px 18px; font-size: .95rem; }
.menu-btn { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px;
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.3rem; font-stretch: 112%; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--magenta-hi); padding-left: 16px; }
  .header-cta { display: none; }
}

/* ---------- Hero slideshow ---------- */
.hero { position: relative; min-height: max(640px, 100svh); color: var(--white); overflow: hidden; background: var(--navy); display: flex; align-items: flex-end; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.on { opacity: 1; }
.slide.on img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1%, -1%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(8,20,42,.94) 0%, rgba(8,20,42,.72) 26%, rgba(8,20,42,.18) 52%, rgba(8,20,42,0) 64%),
    linear-gradient(90deg, rgba(8,20,42,.5) 0%, rgba(8,20,42,0) 50%);
}
.hero-in { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(28px, 4vw, 48px); }
.hero-kicker { font-size: clamp(.92rem, 1.2vw, 1.05rem); color: #C8D5E8; margin-bottom: 12px; font-stretch: 104%; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 5rem); max-width: none; margin-bottom: 0; text-shadow: 0 2px 24px rgba(5,12,26,.35); }
.hero h1 small { display: block; font-size: max(1.05rem, .3em); font-weight: 600; letter-spacing: 0; line-height: 1.3; color: #DCE6F3; margin-top: .5em; max-width: 44ch; font-stretch: 108%; }
.hero .btn-row { margin-top: 24px; }
.hero-foot { display: flex; justify-content: flex-end; align-items: flex-end; gap: 24px; margin-top: clamp(20px, 3vw, 32px); }
.hero-facts { display: flex; gap: clamp(20px, 4vw, 52px); flex-wrap: wrap; }
.hero-facts div { display: grid; }
.hero-facts b { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 780; font-stretch: 112%; line-height: 1; color: var(--white); }
.hero-facts span { font-size: .86rem; color: #B9C7DC; margin-top: 6px; }
.dots { display: flex; gap: 10px; align-items: center; }
.dot { width: 44px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); border-radius: 2px; cursor: pointer; position: relative; overflow: hidden; }
.dot i { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.dot.on i { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.slide-cap { font-size: .85rem; color: #C8D5E8; min-width: 16ch; text-align: right; }
.hero-bottom-right { display: grid; gap: 10px; justify-items: end; }

/* Page hero for inner pages */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); background: var(--navy); color: #D8E2F0; overflow: hidden; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.4vw, 4.8rem); max-width: 16ch; }
.page-hero .lead { color: #B9C7DC; }
.page-hero .ph-bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: .34; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 25%, rgba(11,29,58,.4)); }
.page-hero .wrap { position: relative; z-index: 1; }

/* ---------- Credentials strip ---------- */
.creds { padding: 32px 0 28px; border-bottom: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.facts-row div { display: grid; gap: 4px; }
.facts-row b { font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-weight: 800; font-stretch: 116%; line-height: 1; color: var(--navy); }
.facts-row span { font-size: .9rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 760px) { .facts-row { grid-template-columns: 1fr 1fr; } }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.creds li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--line); }
.creds li b { font-size: .98rem; font-stretch: 108%; color: var(--navy); }
.creds li span { font-size: .84rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 960px) { .creds ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .creds ul { grid-template-columns: 1fr; } }

/* ---------- Schedule ---------- */
.sched-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.place { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.place-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.place h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-stretch: 112%; margin: 0 0 4px; }
.place address { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.place-logo { width: 120px; flex: none; }
.place-logo svg { width: 100%; height: auto; }
.place-tag { font-size: .85rem; font-weight: 650; color: var(--sky); }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: 10px 0; border-top: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 560; color: var(--muted); width: 42%; }
.hours td { font-weight: 650; color: var(--navy); font-variant-numeric: tabular-nums; }
.hours tr.closed td { color: #98A4B8; font-weight: 450; }
.hours tr.today th, .hours tr.today td { color: var(--magenta); }
.hours tr.today.closed td { color: #98A4B8; }
.hours tr.today th::after { content: " (today)"; font-weight: 500; font-size: .85em; }
.place .btn-row .btn { padding: 12px 18px; font-size: .95rem; }
.week-note { margin-top: 22px; font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .sched-grid { grid-template-columns: 1fr; } }

/* Week strip (visual) */
.week { display: grid; grid-template-columns: 110px repeat(6, 1fr); gap: 6px; margin-bottom: clamp(24px, 3vw, 36px); font-size: .88rem; }
.week .h { font-weight: 700; color: var(--navy); text-align: center; padding: 8px 0; border-radius: 6px; font-stretch: 108%; }
.week .h.today { background: var(--navy); color: var(--white); }
.week .rl { font-weight: 650; color: var(--muted); display: flex; align-items: center; font-size: .85rem; line-height: 1.2; }
.week .c { border-radius: 8px; padding: 10px 6px; text-align: center; font-variant-numeric: tabular-nums; line-height: 1.25; font-weight: 600; }
.week .c.a { background: #DCEAF8; color: #0E3F73; }
.week .c.s { background: #FBE1EE; color: #8E0C4C; }
.week .c.x { background: transparent; border: 1px dashed var(--line); color: #A6B1C3; font-weight: 450; }
@media (max-width: 760px) { .week { display: none; } }

/* ---------- Ribbons ---------- */
.ribbons { padding-bottom: clamp(48px, 6vw, 80px); overflow: hidden; }
.ribbon { --h: clamp(170px, 22vw, 290px); position: relative; overflow: hidden; margin-top: 14px; }
.ribbon-track { display: flex; gap: 14px; width: max-content; animation: drift var(--dur, 80s) linear infinite; }
.ribbon.rev .ribbon-track { animation-direction: reverse; }
.ribbon:hover .ribbon-track, .ribbon:focus-within .ribbon-track { animation-play-state: paused; }
.ribbon button { padding: 0; border: 0; background: #1A3260; border-radius: 10px; overflow: hidden; height: var(--h); cursor: zoom-in; flex: none; position: relative; }
.ribbon button img { height: 100%; width: auto; object-fit: cover; transition: transform .6s ease, filter .6s; }
.ribbon button:hover img { transform: scale(1.05); }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ribbon-empty { color: #8FA2C0; padding: 40px 0; }
.ribbon-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.ribbons-cta { margin-top: 36px; }
.countries { color: #B9C7DC; font-size: .98rem; max-width: 70ch; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-m); aspect-ratio: 4/3; object-fit: cover; }
.split-media .inset { position: absolute; width: 42%; right: -4%; bottom: -10%; border: 6px solid var(--white); border-radius: var(--radius-m); aspect-ratio: 3/4; box-shadow: 0 20px 40px rgba(11,29,58,.18); }
.on-navy .split-media .inset { border-color: var(--navy); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } .split-media .inset { right: 4%; } .split-media { margin-bottom: 40px; } }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.figures div { padding: 18px 16px 0 0; display: grid; gap: 4px; }
.figures b { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 780; font-stretch: 114%; color: var(--navy); line-height: 1; }
.figures span { font-size: .9rem; color: var(--muted); line-height: 1.35; }
.on-navy .figures { border-color: rgba(255,255,255,.15); }
.on-navy .figures b { color: var(--white); }
.on-navy .figures span { color: #B9C7DC; }
@media (max-width: 520px) { .figures { grid-template-columns: 1fr 1fr; } }

/* ---------- Expertise ---------- */
.exp { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 24px); }
.exp-item { grid-column: span 4; padding: 26px 0 0; border-top: 2px solid var(--navy); display: grid; gap: 10px; align-content: start; }
.exp-item.lead-item { grid-column: span 12; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); border-top: 0; padding: 0; margin-bottom: 20px; align-items: center; }
.exp-item.lead-item img { border-radius: var(--radius-m); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.exp-item.lead-item h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-stretch: 114%; }
.exp-item p { margin: 0; color: var(--muted); font-size: .98rem; }
.exp-item ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.exp-item li { font-size: .82rem; padding: 5px 10px; background: var(--mist); border-radius: 999px; color: var(--ink); }
.on-mist .exp-item li { background: var(--white); }
@media (max-width: 960px) { .exp-item { grid-column: span 6; } .exp-item.lead-item { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .exp-item { grid-column: span 12; } }

/* ---------- Firsts timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: clamp(16px, 3vw, 48px); padding: 28px 0; border-top: 1px solid rgba(255,255,255,.14); }
.timeline .yr { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; font-stretch: 118%; color: var(--white); line-height: 1; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; color: #B9C7DC; }
.timeline .src { display: inline-block; margin-top: 10px; font-size: .86rem; color: var(--sky-lite); }
.on-mist .timeline li, .plain .timeline li { border-color: var(--line); }
.on-mist .timeline .yr, .plain .timeline .yr { color: var(--navy); }
.on-mist .timeline p, .plain .timeline p { color: var(--muted); }
.on-mist .timeline .src, .plain .timeline .src { color: var(--sky); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.score { background: var(--navy); color: var(--white); border-radius: var(--radius-m); padding: clamp(24px, 3vw, 40px); display: grid; align-content: space-between; gap: 24px; grid-row: span 2; }
.score b { font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 800; font-stretch: 118%; line-height: .9; display: block; }
.score p { color: #C8D5E8; margin: 0; }
.score .btn-row .btn { padding: 11px 16px; font-size: .92rem; }
blockquote.q { margin: 0; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-m); display: grid; gap: 14px; align-content: space-between; background: var(--white); }
blockquote.q p { margin: 0; font-size: 1.1rem; line-height: 1.45; color: var(--navy); font-weight: 500; }
blockquote.q footer { font-size: .88rem; color: var(--muted); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr 1fr; } .score { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .quotes { grid-template-columns: 1fr; } .score { grid-column: auto; } }

/* ---------- News ---------- */
.news-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.news-card { scroll-snap-align: start; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); padding: 22px; border-radius: var(--radius-m); background: var(--white); border: 1px solid var(--line); min-height: 220px; }
.news-card:hover { border-color: var(--navy); color: var(--ink); }
.news-card .mast { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1rem; color: var(--navy); }
.news-card h3 { font-size: 1.12rem; font-stretch: 100%; font-weight: 640; line-height: 1.3; margin: 0; color: var(--ink); }
.news-card .when { font-size: .84rem; color: var(--muted); margin-top: auto; }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.clips button { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); cursor: zoom-in; aspect-ratio: 3/4; }
.clips img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .clips { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA band ---------- */
.band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: clamp(48px, 6vw, 80px) 0; }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.band h2 { color: var(--white); margin: 0 0 8px; }
.band p { margin: 0; color: #C8D5E8; }

/* ---------- Generic content ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
@media (max-width: 860px) { .cols-2 { grid-template-columns: 1fr; } }
.prose h2 { margin-top: 1.2em; }
.prose h3 { margin-top: 1.6em; }
.list-clean { list-style: none; margin: 0; padding: 0; }
.list-clean li { padding: 12px 0; border-top: 1px solid var(--line); }
.list-clean li b { color: var(--navy); }
.list-clean li span { display: block; color: var(--muted); font-size: .94rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: .95rem; color: var(--navy); }
.on-navy .chips li { background: rgba(255,255,255,.09); color: var(--white); }
.card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(22px, 3vw, 34px); background: var(--white); }
.pubs { counter-reset: p; list-style: none; padding: 0; margin: 0; }
.pubs li { padding: 14px 0 14px 0; border-top: 1px solid var(--line); font-size: .96rem; color: var(--muted); }
.pubs li b { color: var(--navy); font-weight: 650; display: block; }
.fees { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.fee { border-radius: var(--radius-m); padding: 28px; background: var(--mist); }
.fee b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; font-stretch: 114%; color: var(--navy); line-height: 1; margin: 8px 0; }
.fee span { color: var(--muted); }
@media (max-width: 600px) { .fees { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 750; }
.steps b { color: var(--navy); display: block; }
.map { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--radius-m); background: var(--mist); }
.portrait-frame img { border-radius: var(--radius-m); width: 100%; aspect-ratio: 5/6; object-fit: cover; object-position: top; }
.innov-card { background: var(--navy); color: #D8E2F0; border-radius: var(--radius-m); padding: clamp(26px, 3.6vw, 48px); }
.innov-card h3 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-stretch: 116%; }

/* ---------- Gallery page ---------- */
.gal-sec { padding: clamp(36px, 5vw, 64px) 0 0; }
.gal-sec:last-of-type { padding-bottom: clamp(64px, 8vw, 110px); }
.gal-sec .ribbon-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0; }
.gal-sec .ribbon-head p { margin: 4px 0 0; color: var(--muted); }
.gal-sec .ribbon button { background: var(--mist); }
.link-btn { background: none; border: 0; color: var(--sky); font: 600 .98rem var(--font); cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--magenta); }
.on-navy .link-btn { color: var(--sky-lite); }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(5,12,26,.96); display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.lb.open { display: flex; }
.lb figure { margin: 0; max-width: 92vw; max-height: 86vh; display: grid; place-items: center; }
.lb img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 6px; animation: lbIn .35s ease; }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb figcaption { color: #B9C7DC; font-size: .9rem; margin-top: 12px; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.2); }
.lb button svg { width: 26px; height: 26px; }
.lb .lb-close { top: 18px; right: 18px; }
.lb .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-grid { position: fixed; inset: 0; z-index: 190; background: var(--white); overflow-y: auto; display: none; padding: 90px var(--gutter) 60px; }
.lb-grid.open { display: block; }
.lb-grid-head { position: fixed; top: 0; left: 0; right: 0; height: 72px; background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); z-index: 2; }
.lb-grid-head h2 { font-size: 1.4rem; margin: 0; }
.lb-grid .grid { columns: 4 260px; column-gap: 12px; max-width: var(--wrap); margin: 0 auto; }
.lb-grid .grid button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--mist); border-radius: 8px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.lb-grid .grid img { width: 100%; height: auto; }

/* ---------- Footer ---------- */
.site-footer { background: #071530; color: #AFC0D8; padding: clamp(56px, 7vw, 88px) 0 110px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.site-footer h4 { color: var(--white); font-size: 1rem; font-stretch: 108%; margin-bottom: 14px; }
.site-footer a { color: #DCE5F2; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand b { display: block; color: var(--white); font-size: 1.5rem; font-weight: 800; font-stretch: 118%; margin-bottom: 8px; }
.foot-logo { width: 150px; margin-top: 20px; background: var(--white); border-radius: 10px; padding: 10px 12px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--magenta); }
.socials svg { width: 20px; height: 20px; fill: var(--white); }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8597B3; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: repeat(3, 1fr); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11,29,58,.12); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { display: grid; justify-items: center; gap: 2px; padding: 9px 4px 10px; text-decoration: none; color: var(--navy); font-size: .78rem; font-weight: 650; }
.mbar a svg { width: 22px; height: 22px; }
.mbar a.wa { color: #13863F; }
.mbar a.bk { background: var(--magenta); color: var(--white); }
@media (max-width: 760px) { .mbar { display: grid; } }
@media (min-width: 761px) { .site-footer { padding-bottom: 40px; } }

/* ---------- Reveal (one orchestrated entrance on the hero only) ---------- */
.hero-in > * { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-in > :nth-child(2) { animation-delay: .12s; }
.hero-in > :nth-child(3) { animation-delay: .24s; }
.hero-in > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-in > * { opacity: 1; transform: none; }
  .ribbon-track { animation: none !important; }
  .ribbon { overflow-x: auto; }
  html { scroll-behavior: auto; }
}
.ribbon { height: var(--h); }
.innov-card .figures { border-color: rgba(255,255,255,.15); }
.innov-card .figures b { color: var(--white); }
.innov-card .figures span { color: #B9C7DC; }
.site-header:has(.nav.open) { background: var(--navy); }
.life-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.life-grid figure { margin: 0; display: grid; gap: 10px; }
.life-grid img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center top; border-radius: var(--radius-m); }
.life-grid figcaption { font-size: .92rem; color: var(--muted); }
@media (max-width: 640px) { .life-grid { grid-template-columns: 1fr 1fr; } .life-grid figure:last-child { grid-column: span 2; } .life-grid figure:last-child img { aspect-ratio: 4/3; object-position: center 12%; } }

/* ---------- FAQ page ---------- */
.faq-search { margin-top: 28px; max-width: 640px; }
.faq-search input { width: 100%; font: 500 1.05rem var(--font); padding: 16px 20px 16px 50px; border-radius: 999px; border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9C7DC' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") 18px center/22px no-repeat; color: var(--white); }
.faq-search input::placeholder { color: #93A6C3; }
.faq-search input:focus { outline: none; border-color: var(--magenta-hi); background-color: rgba(255,255,255,.12); }
.faq-wrap { padding-top: clamp(40px, 5vw, 64px); }
.faq-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.faq-index { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.faq-index-h { font-weight: 700; color: var(--navy); margin: 0 0 8px; font-stretch: 108%; }
.faq-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.faq-index a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.3; }
.faq-index a:hover { background: var(--mist); color: var(--navy); }
.faq-index a.on { background: var(--navy); color: var(--white); }
.faq-body { min-width: 0; display: grid; gap: clamp(36px, 4vw, 52px); }
.faq-topic { scroll-margin-top: calc(var(--header-h) + 16px); padding: 0; }
.faq-topic-head { margin-bottom: 14px; }
.faq-topic-head h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 0 0 4px; }
.faq-topic-head .kw { margin: 0; font-size: .86rem; color: var(--muted); }
.qa-list { border-top: 2px solid var(--navy); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 640; color: var(--navy); font-size: 1.05rem; line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--magenta); border-bottom: 2.5px solid var(--magenta); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa summary:hover { color: var(--magenta); }
.qa-a { padding: 0 0 20px; color: var(--ink); }
.qa-a p { margin: 0 0 .8em; }
.qa-a p:last-child { margin-bottom: 0; }
.qa mark { background: #FBE1EE; color: inherit; padding: 0 2px; border-radius: 3px; }
.faq-empty { padding: 20px; background: var(--mist); border-radius: var(--radius-m); margin: 0; }
.faq-note h3 { margin-top: 0; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-index { position: static; max-height: none; overflow: visible; }
  .faq-index ul { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 8px; scrollbar-width: thin; }
  .faq-index li { flex: none; }
  .faq-index a { background: var(--mist); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
}
@media (max-width: 1260px) and (min-width: 1181px) { .nav a { padding: 8px 7px; font-size: .88rem; } }
