/* ==========================================================================
   MediVoyage — main stylesheet
   1 tokens · 2 base · 3 layout & type · 4 buttons · 5 header · 6 hero ·
   7 marquee · 8 intro · 9 services · 10 package · 11 story · 12 cta band ·
   13 faq · 14 booking & form · 15 footer · 16 concierge & mobile bar ·
   17 corporate pages · 18 motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #F5F6FB;
  --surface: #FFFFFF;
  --ink: #0F1D3A;
  --ink-2: #3B4563;
  --muted: #687089;
  --line: #E0E3EE;
  --line-strong: #C7CCDD;
  --navy: #1B3767;
  --navy-deep: #0F2347;
  --teal: #1FA39E;
  --teal-ink: #0B7A75;
  --teal-deep: #0A6A66;
  --teal-light: #6FD3CC;
  --teal-soft: #E2F3F1;
  --wa: #25D366;
  --wa-deep: #128C4B;
  --danger: #B42318;
  --danger-soft: #FDEDEC;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  /* One spacing scale for the whole page */
  --section: clamp(72px, 8vw, 120px);
  --block: clamp(40px, 5vw, 72px);
  --stack: clamp(18px, 2.2vw, 28px);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-lg: 0 40px 80px -40px rgba(15, 29, 58, .35);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }

[hidden] { display: none !important; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: 10px 16px; background: var(--ink); color: #fff; font-size: .875rem;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; background: var(--teal);
  transform: scaleX(var(--p, 0)); transform-origin: left;
}

/* ---------- 3. Layout & typography ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: var(--stack);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; transition: width .8s var(--ease-out) .15s; }
.js .eyebrow[data-reveal]:not(.is-in)::before { width: 0; }

/* Primary message: serif, light, large. Secondary: sans, smaller, muted. */
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  line-height: 1.02; letter-spacing: -.015em;
  
}
.section-title em, .package__title em, .intro__statement em, .hero__title em, .cta-band__title em, .site-footer__cta h2 em {
  color: var(--teal-ink); font-weight: 500; font-style: italic; padding-right: .04em;
}

.section-lead { max-width: 38ch; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }

.section-head { display: grid; gap: 20px; align-items: end; margin-bottom: var(--block); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.4fr 1fr; gap: 64px; }
  .section-head .section-lead { justify-self: end; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; color: var(--ink);
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: color .25s var(--ease), background-size .45s var(--ease-out);
}
.link-arrow .icon { transition: transform .35s var(--ease-out); }
.link-arrow:hover { color: var(--teal-ink); background-size: 40% 1px; }
.link-arrow:hover .icon:last-child { transform: translateX(4px); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .9375rem; font-weight: 600; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), translate .5s var(--ease-out);
}
/* Fill sweep on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-sweep, var(--teal-ink));
  border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn .icon { transition: transform .4s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--ghost { border: 1px solid var(--line-strong); --btn-sweep: var(--ink); }
.btn--ghost:hover { --btn-fg: #fff; border-color: var(--ink); }
.btn--ghost .icon--wa { color: var(--wa-deep); transition: color .3s var(--ease); }
.btn--ghost:hover .icon--wa { color: var(--wa); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-sweep: var(--teal-light); }
.btn--outline-light { border: 1px solid rgba(255, 255, 255, .4); --btn-fg: #fff; --btn-sweep: rgba(255, 255, 255, .14); }
.btn--icon { width: 52px; padding: 0; border: 1px solid var(--line-strong); color: var(--wa-deep); --btn-sweep: var(--wa); }
.btn--icon:hover { color: #fff; border-color: var(--wa); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--lg { min-height: 58px; padding: 0 30px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245, 246, 251, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { flex-shrink: 0; transition: opacity .25s var(--ease); }
.brand:hover { opacity: .8; }
.brand img { height: 28px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 2px; font-size: .9375rem; font-weight: 500; color: var(--ink-2);
  transition: color .25s var(--ease);
}
.nav__icon { display: inline-grid; color: var(--muted); transition: color .3s var(--ease), transform .45s var(--spring); }
.nav__link:hover .nav__icon, .nav__link[aria-current="page"] .nav__icon, .nav__link[data-current] .nav__icon { color: var(--teal-ink); }
.nav__link:hover .nav__icon { transform: translateY(-2px) rotate(-8deg); }
.nav__link::after {
  content: ""; position: absolute; left: 26px; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__link[data-current] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link[data-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle::after { right: 20px; }
.nav__chev { transition: transform .35s var(--ease); }

.nav__item--has-menu { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 16px); left: -28px; width: 380px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .35s var(--ease-out), visibility .25s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__menu-list { padding: 8px; }
.nav__menu-list a {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  padding: 10px 12px; transition: background-color .2s var(--ease);
}
.nav__menu-icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--bg); color: var(--teal-ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .45s var(--spring);
}
.nav__menu-text strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.nav__menu-text small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.nav__menu-list a:hover, .nav__menu-list a[aria-current="page"] { background: var(--bg); }
.nav__menu-list a:hover .nav__menu-icon, .nav__menu-list a[aria-current="page"] .nav__menu-icon { background: var(--teal-ink); color: #fff; transform: scale(1.06); }
.nav__menu-list li { opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.nav__menu-foot {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  border-top: 1px solid var(--line); background: var(--teal-soft);
  font-size: .875rem; font-weight: 600; color: var(--teal-deep);
}
.nav__menu-foot span { flex: 1; }
.nav__menu-foot .icon--arrow { transition: transform .35s var(--ease-out); }
.nav__menu-foot:hover .icon--arrow { transform: translateX(4px); }

.nav__item--has-menu.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__item--has-menu.is-open .nav__chev { transform: rotate(180deg); }
.nav__item--has-menu.is-open .nav__menu-list li { opacity: 1; transform: none; }
@media (hover: hover) and (min-width: 1024px) {
  .nav__item--has-menu:hover .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__item--has-menu:hover .nav__chev { transform: rotate(180deg); }
  .nav__item--has-menu:hover .nav__menu-list li { opacity: 1; transform: none; }
}
.nav__menu-list li:nth-child(2) { transition-delay: .04s; }
.nav__menu-list li:nth-child(3) { transition-delay: .08s; }
.nav__menu-list li:nth-child(4) { transition-delay: .12s; }
.nav__menu-list li:nth-child(5) { transition-delay: .16s; }

.nav__mobile-meta { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 8px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .6);
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--line-strong); background: var(--surface); }
.lang__flag {
  width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15, 29, 58, .12);
}
.lang__flag .flag { width: 100%; height: 100%; }
.lang__chev { color: var(--muted); transition: transform .3s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .2s var(--ease), transform .3s var(--ease-out), visibility .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  font-size: .9375rem; color: var(--ink-2); transition: background-color .2s var(--ease);
}
.lang__menu a:hover { background: var(--bg); color: var(--ink); }
.lang__menu a[aria-current] { color: var(--ink); font-weight: 600; }
.lang__menu { min-width: 220px; }
.lang__name { flex: 1; }
.lang__iso { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.lang__menu a .icon { color: var(--teal-ink); }
.lang__menu a[aria-current] .lang__iso { display: none; }
.lang__menu li { opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .35s var(--ease-out); }
.lang.is-open .lang__menu li { opacity: 1; transform: none; }
.lang.is-open .lang__menu li:nth-child(2) { transition-delay: .03s; }
.lang.is-open .lang__menu li:nth-child(3) { transition-delay: .06s; }
.lang.is-open .lang__menu li:nth-child(4) { transition-delay: .09s; }
.lang.is-open .lang__menu li:nth-child(5) { transition-delay: .12s; }
.lang.is-open .lang__menu li:nth-child(6) { transition-delay: .15s; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lang__menu a .lang__flag { transition: transform .4s var(--spring); }
.lang__menu a:hover .lang__flag { transform: scale(1.15) rotate(-6deg); }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.menu-toggle__bars { top: 18px; }
.menu-toggle__bars::before { content: ""; left: 0; right: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1100px) and (min-width: 1024px) { .nav__icon { display: none; } .nav__link::after { left: 0; } }

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .brand img { height: 24px; }
  .menu-toggle { display: block; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 16px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li {
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(14px);
    transition: opacity .4s var(--ease), transform .55s var(--ease-out);
  }
  .nav.is-open .nav__list > li { opacity: 1; transform: none; }
  .nav.is-open .nav__list > li:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav__list > li:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__list > li:nth-child(4) { transition-delay: .15s; }
  .nav__link {
    width: 100%; gap: 16px; padding: 16px 0;
    font-family: var(--serif); font-weight: 500; font-size: clamp(1.625rem, 6vw, 2.125rem); color: var(--ink);
  }
  .nav__icon { color: var(--teal-ink); }
  .nav__icon .icon { width: 22px; height: 22px; }
  .nav__text { flex: 1; text-align: left; }
  .nav__link::after { display: none; }

  .nav__menu {
    position: static; width: auto; border: 0; box-shadow: none; background: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav__menu::before { display: none; }
  .nav__item--has-menu.is-open .nav__menu { display: block; }
  .nav__menu-list { padding: 0 0 12px; }
  .nav__menu-list a { padding: 8px 0; }
  .nav__menu-list a:hover { background: none; }
  .nav__menu-foot { display: none; }

  .nav__mobile-meta { display: grid; gap: 4px; }
  .nav__mobile-meta .btn { margin-bottom: 12px; }
  .nav__meta-link { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: .9375rem; color: var(--ink-2); }
  .nav__meta-link .icon { color: var(--teal-ink); }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
}
@media (max-width: 600px) {
  .site-header__cta { display: none; }
  .site-header__actions { gap: 8px; }
  .lang__code { display: none; }
  .lang__btn { padding: 0 10px 0 9px; }
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 72px));
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(720px, calc(100svh - var(--header-h) - 120px)); }
}

.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  line-height: .92; letter-spacing: -.025em;
  
  margin-bottom: clamp(22px, 2.6vw, 32px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line__inner { display: inline-block; animation: rise 1.1s var(--ease-out) both; animation-delay: calc(.15s + var(--d, 0) * .09s); }
.hero__lead { max-width: 36ch; font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); }

.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.hero__points li { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.hero__check {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-ink);
}
.hero__points li.is-in .hero__check { animation: pop .6s var(--spring) both; animation-delay: calc(var(--d, 0) * 80ms + .2s); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.2vw, 40px); }

.hero__visual { position: relative; }
.hero__map { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; margin-left: auto; transition: translate .9s var(--ease-out); }
.hero__map .route-map { width: 100%; height: 100%; overflow: visible; }

.hero__badge {
  position: absolute; right: -2%; top: 30%; width: 112px; height: 112px;
  display: grid; place-items: center;
  animation: fade 1s var(--ease) 1.6s both;
  transition: translate .9s var(--ease-out);
}
.hero__badge-ring { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.hero__badge-ring text { font: 600 8.6px/1 var(--sans); letter-spacing: .24em; fill: var(--ink); }
.hero__badge-core {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff;
}

/* Route map */
.route-map__dot { fill: var(--line-strong); }
.route-map__rings circle { fill: none; stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.route-map__rings .is-dashed { stroke-dasharray: 2 6; animation: spin 90s linear infinite; transform-box: fill-box; transform-origin: center; }
.route-map__route {
  fill: none; stroke: var(--navy); stroke-width: 1.25; stroke-opacity: .55;
  stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke;
  animation: draw 1.8s var(--ease-out) forwards; animation-delay: calc(.6s + var(--i) * .12s);
}
.route-map__plane { fill: var(--teal); }
.route-map__origin { opacity: 0; animation: fade .8s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .12s); }
.route-map__origin circle { fill: var(--surface); stroke: var(--navy); stroke-width: 1.3; }
.route-map__code { font: 600 11px/1 var(--sans); letter-spacing: .1em; fill: var(--ink); }
.route-map__city { font: 400 10.5px/1 var(--sans); fill: var(--muted); }
.route-map__core { fill: var(--teal); }
.route-map__pulse { fill: var(--teal); fill-opacity: .16; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; }
.route-map__hub-code { font: 400 26px/1 var(--serif); fill: var(--ink); letter-spacing: -.01em; }

/* Ticket */
.ticket {
  position: absolute; left: -4%; bottom: -10%; width: min(330px, 70%);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 22px 24px 18px;
  animation: float-in 1.2s var(--ease-out) .9s both;
  transition: translate .9s var(--ease-out);
}
.ticket__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ticket__kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); }
.ticket__code { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.ticket__route { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; margin-bottom: 12px; }
.ticket__rows li {
  display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 9px 0;
  border-top: 1px dashed var(--line); font-size: .8125rem; line-height: 1.35; color: var(--ink-2);
  animation: fade-up .6s var(--ease-out) both; animation-delay: calc(1.3s + var(--i) * .09s);
}
.ticket__rows span { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 1px; }
.ticket__foot {
  position: relative; display: flex; align-items: center; gap: 14px;
  margin: 10px -24px 0; padding: 14px 24px 0; border-top: 1px dashed var(--line-strong);
}
.ticket__foot::before, .ticket__foot::after {
  content: ""; position: absolute; top: -8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
}
.ticket__foot::before { left: -9px; clip-path: inset(0 0 0 50%); }
.ticket__foot::after { right: -9px; clip-path: inset(0 50% 0 0); }
.ticket__barcode {
  flex-shrink: 0; width: 64px; height: 26px; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 3px, var(--ink) 3px 5px, transparent 5px 6px, var(--ink) 6px 7px, transparent 7px 10px);
}
.ticket__foot small { font-size: .6875rem; line-height: 1.4; color: var(--muted); }

@media (max-width: 1023px) {
  .hero__map { max-width: 540px; margin-inline: auto; }
  .ticket { position: relative; left: auto; bottom: auto; width: 100%; max-width: 420px; margin: -18% auto 0; }
  .hero__badge { width: 88px; height: 88px; right: 0; }
  .hero__badge-core { width: 42px; height: 42px; }
}
@media (max-width: 520px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .ticket { margin-top: -22%; }
}

/* ---------- 7. Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--surface);
  padding: clamp(16px, 2vw, 24px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex-shrink: 0; }
.marquee__group li {
  display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px);
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee__group li:nth-child(even) { font-style: italic; color: var(--teal-ink); }
.marquee__star { color: var(--teal); display: inline-grid; animation: spin 8s linear infinite; }

/* ---------- 8. Intro / value proposition ---------- */
.intro__statement {
  max-width: 23em;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.95rem, 4vw, 3.6rem); line-height: 1.12; letter-spacing: -.012em;
  
}
/* Scroll-scrubbed word highlight */
.js [data-scrub-words] .w { opacity: .16; transition: opacity .35s var(--ease); }
.js [data-scrub-words] .w.is-on { opacity: 1; }

.figures {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--block); border-top: 1px solid var(--line-strong);
}
@media (min-width: 900px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.figure { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 0 0; }
.figure::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 48px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .3s;
}
.figure.is-in::before { transform: none; }
@media (max-width: 899px) { .figure:nth-child(n+3) { margin-top: 20px; } }
.figure__value {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.75rem, 5.6vw, 5rem);
  line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums;
}
.figure__value sup { font-size: .42em; vertical-align: .9em; margin-left: 2px; color: var(--teal-ink); letter-spacing: 0; }
.figure__label { max-width: 20ch; font-size: .875rem; color: var(--muted); line-height: 1.45; }

/* ---------- 9. Services: icon finder + image bento ---------- */
.services { background: var(--bg); }
.intro { background: var(--surface); }

/* Icon finder strip */
.finder { margin-bottom: clamp(28px, 3.6vw, 44px); }
.finder__list { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.finder__item {
  position: relative; display: grid; justify-items: center; gap: 10px;
  padding: 18px 8px 14px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-align: center;
  transition: border-color .3s var(--ease), transform .5s var(--spring), box-shadow .4s var(--ease);
}
.finder__item::after {
  content: ""; position: absolute; left: 50%; bottom: -1px; width: 0; height: 2px; background: var(--teal);
  transform: translateX(-50%); transition: width .45s var(--ease-out);
}
.finder__icon {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg); color: var(--ink-2);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.finder__label { font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.finder__item:hover, .finder__item.is-active {
  border-color: var(--line-strong); transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px rgba(15, 29, 58, .35);
}
.finder__item:hover::after, .finder__item.is-active::after { width: 40%; }
.finder__item:hover .finder__icon, .finder__item.is-active .finder__icon { background: var(--teal-soft); color: var(--ink); }

.ti .ti-a { stroke: var(--teal); stroke-dasharray: 1.6 2.2; }
/* Icon draws itself on hover */
.finder__item:hover .ti path:not(.ti-a), .finder__item:hover .ti circle { animation: ti-draw 1.1s var(--ease-out); }
@keyframes ti-draw { from { stroke-dasharray: 60; stroke-dashoffset: 60; } to { stroke-dasharray: 60; stroke-dashoffset: 0; } }

@media (max-width: 1023px) {
  .finder { margin-inline: calc(var(--gutter) * -1); }
  .finder__list {
    display: flex; overflow-x: auto; gap: 8px; padding: 6px var(--gutter) 10px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .finder__list::-webkit-scrollbar { display: none; }
  .finder__list li { flex: 0 0 92px; scroll-snap-align: start; }
}

/* Bento grid */
.bento { display: grid; gap: 14px; }
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 138px;
    grid-template-areas:
      "hair hair hair hair hair hair brow brow brow beard beard beard"
      "hair hair hair hair hair hair brow brow brow beard beard beard"
      "hair hair hair hair hair hair nose nose nose lip lip lip"
      "hair hair hair hair hair hair nose nose nose lip lip lip"
      "face face face face breast breast breast breast body body body body"
      "face face face face breast breast breast breast body body body body"
      "face face face face breast breast breast breast body body body body"
      "gen gen gen gen gen gen gen gen consult consult consult consult"
      "gen gen gen gen gen gen gen gen consult consult consult consult"
      "gen gen gen gen gen gen gen gen consult consult consult consult";
  }
  .bento__item--hair { grid-area: hair; }
  .bento__item--eyebrow { grid-area: brow; }
  .bento__item--beard { grid-area: beard; }
  .bento__item--rhinoplasty { grid-area: nose; }
  .bento__item--lip { grid-area: lip; }
  .bento__item--face { grid-area: face; }
  .bento__item--breast { grid-area: breast; }
  .bento__item--body { grid-area: body; }
  .bento__item--genital { grid-area: gen; }
  .bento__item--consult { grid-area: consult; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 340px; }
  .bento__item--hair, .bento__item--genital { grid-column: span 2; }
}

.bento__hint { display: none; }

/* Mobile: horizontal swipe carousel keeps the page short */
@media (max-width: 639px) {
  .bento-wrap { margin-inline: calc(var(--gutter) * -1); }
  .bento {
    display: flex; overflow-x: auto; gap: 12px; padding: 4px var(--gutter) 8px;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento__item { flex: 0 0 84%; height: 450px; scroll-snap-align: start; }
  .bento__hint {
    display: flex; align-items: center; gap: 8px; padding: 12px var(--gutter) 0;
    font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  }
  .bento__hint .icon { animation: nudge 1.6s var(--ease) infinite; }
}

/* Card entrance: image wipes up from the bottom */
.js .bento__item[data-reveal] { opacity: 1; transform: none; }
/* Clip the card, not the observed <li>: IntersectionObserver ignores fully clipped targets */
.js .bento__item[data-reveal] > * { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js .bento__item[data-reveal].is-in > * { clip-path: inset(0 0 0 0); }
.js .bento__item[data-reveal] .tcard__media img { scale: 1.25; transition: scale 1.6s var(--ease-out), transform 1.2s var(--ease-out), filter .6s var(--ease); }
.js .bento__item[data-reveal].is-in .tcard__media img { scale: 1; }

/* Treatment card */
.tcard { position: relative; height: 100%; overflow: hidden; isolation: isolate; background: var(--line); cursor: pointer; }
.tcard__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.tcard__media img {
  width: 100%; height: 116%; object-fit: cover;
  transform: translate3d(0, var(--py, -7%), 0) scale(var(--zoom, 1.02));
  filter: saturate(.88) contrast(1.02);
  transition: transform 1.2s var(--ease-out), filter .6s var(--ease);
}
.tcard:hover .tcard__media img, .tcard:focus-within .tcard__media img { --zoom: 1.08; filter: saturate(1.05) contrast(1.03); }

.tcard__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.tcard__badge {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -12px rgba(15, 29, 58, .4);
  transition: transform .6s var(--spring), background-color .3s var(--ease), color .3s var(--ease);
}
.tcard:hover .tcard__badge { transform: rotate(-10deg) scale(1.08); background: var(--teal-ink); color: #fff; }
.tcard:hover .tcard__badge .ti-a { stroke: #BFF0EA; }
.tcard__num {
  padding: 6px 10px; background: rgba(15, 29, 58, .55); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .6875rem; font-weight: 600; letter-spacing: .1em;
}

.tcard__plate {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px;
  padding: 16px 16px 16px 18px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
}
.tcard__group { grid-column: 1; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.tcard__title { grid-column: 1; font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.05; letter-spacing: -.01em; }
.bento__item--hair .tcard__title { font-size: clamp(1.875rem, 3vw, 2.75rem); }
.tcard__more { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.tcard__more > div { overflow: hidden; }
.tcard__text { padding-top: 10px; font-size: .875rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.tcard__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; opacity: 0; transition: opacity .4s var(--ease) .05s; }
.tcard__tags li { padding: 3px 9px; border: 1px solid var(--line-strong); font-size: .6875rem; font-weight: 500; color: var(--ink-2); }
.tcard:hover .tcard__more, .tcard:focus-within .tcard__more { grid-template-rows: 1fr; }
.tcard:hover .tcard__text, .tcard:focus-within .tcard__text, .tcard:hover .tcard__tags, .tcard:focus-within .tcard__tags { opacity: 1; transform: none; }

.tcard__cta { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; color: var(--ink); }
.tcard__cta > span:first-child { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease-out); }
.tcard__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background-color .3s var(--ease), transform .5s var(--spring); }
.tcard:hover .tcard__cta > span:first-child { max-width: 120px; }
.tcard:hover .tcard__arrow { background: var(--teal-ink); transform: rotate(45deg); }
/* The whole card is clickable through the CTA's stretched hit area */
.tcard__cta::after { content: ""; position: fixed; inset: 0; }
.tcard__plate { contain: none; }
.tcard { contain: paint; }

/* Finder <-> card focus: dim the others */
.bento__item { transition: opacity .4s var(--ease); }
.bento.is-focusing .bento__item:not(.is-target) { opacity: .45; }
.bento.is-focusing .bento__item:not(.is-target) .tcard__media img { filter: grayscale(.9); }
.bento__item.is-ping .tcard { animation: ping 1.2s var(--ease); }
@keyframes ping { 0% { box-shadow: inset 0 0 0 0 rgba(31, 163, 158, .9); } 40% { box-shadow: inset 0 0 0 4px rgba(31, 163, 158, .9); } 100% { box-shadow: inset 0 0 0 0 rgba(31, 163, 158, 0); } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }

/* Touch devices & small screens: details always visible */
@media (hover: none), (max-width: 1023px) {
  .tcard__more { grid-template-rows: 1fr; }
  .tcard__text, .tcard__tags { opacity: 1; transform: none; }
  .tcard__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Consult card (navy) inside the bento */
.consult {
  position: relative; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--navy-deep); color: #fff;
}
.consult::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .02);
  animation: breathe 6s var(--ease) infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); } }
.consult__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--teal-light); margin-bottom: auto; }
.consult h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.1vw, 1.875rem); line-height: 1.1; max-width: 20ch; }
.consult p { font-size: .9375rem; color: rgba(255, 255, 255, .7); max-width: 40ch; }
.consult__actions { display: flex; gap: 10px; margin-top: 8px; }
.btn--icon-light { border-color: rgba(255, 255, 255, .35); color: #fff; }

/* ---------- 10. Package (deep band) ---------- */
.package {
  background: var(--navy-deep); color: #fff;
  clip-path: inset(0 calc(var(--pc, 0) * 1px));
}
.package .eyebrow { color: var(--teal-light); }
.package__head { display: grid; gap: 28px; align-items: end; margin-bottom: var(--block); }
@media (min-width: 1024px) { .package__head { grid-template-columns: 1.5fr 1fr; gap: 80px; } }
.package__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.04; letter-spacing: -.025em;  max-width: 18ch;
}
.package .package__title em { color: var(--teal-light); }
.package__aside { display: grid; gap: 24px; justify-items: start; }
.package .section-lead { color: rgba(255, 255, 255, .7); }

.rail { position: relative; display: grid; }
.rail::before {
  content: ""; position: absolute; background: rgba(255, 255, 255, .22);
  left: 27px; top: 28px; bottom: 28px; width: 1px;
  transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease-out) .2s;
}
.rail.is-in::before { transform: none; }
.rail__stop { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 24px; padding-bottom: 36px; }
.rail__stop:last-child { padding-bottom: 0; }
.rail__node {
  grid-row: span 3; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .5s var(--spring);
}
.rail__stop:hover .rail__node { background: var(--teal); border-color: var(--teal); transform: scale(1.08); }
.rail__index { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--teal-light); padding-top: 4px; }
.rail__title { font-size: 1.0625rem; font-weight: 600; margin: 6px 0 8px; }
.rail__text { font-size: .9375rem; line-height: 1.55; color: rgba(255, 255, 255, .68); max-width: 34ch; }

/* Sequenced entrance: node pops, icon draws itself, copy rises */
.js .rail__node { transform: scale(.4); opacity: 0; }
.js .rail__index, .js .rail__title, .js .rail__text { opacity: 0; transform: translateY(12px); }
.js .rail__node .icon * { stroke-dasharray: 80; stroke-dashoffset: 80; }
.rail.is-in .rail__node { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .7s var(--spring), background-color .35s var(--ease), border-color .35s var(--ease); transition-delay: calc(var(--d) * 160ms + .2s), calc(var(--d) * 160ms + .2s), 0s, 0s; }
.rail.is-in .rail__node .icon * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out); transition-delay: calc(var(--d) * 160ms + .45s); }
.rail.is-in .rail__index, .rail.is-in .rail__title, .rail.is-in .rail__text { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease-out); transition-delay: calc(var(--d) * 160ms + .35s); }
.rail.is-in .rail__stop:hover .rail__node { transform: scale(1.08); transition-delay: 0s; }

@media (min-width: 1024px) {
  .rail { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
  .rail::before { left: 28px; right: calc(20% - 4px); top: 27px; bottom: auto; width: auto; height: 1px; transform: scaleX(0); transform-origin: left; }
  .rail.is-in::before { transform: none; }
  .rail__stop { grid-template-columns: 1fr; padding-bottom: 0; }
  .rail__node { grid-row: auto; margin-bottom: 24px; }
}

/* ---------- 11. Story ---------- */
.story__grid { display: grid; gap: var(--stack); }
@media (min-width: 1024px) {
  .story__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: start; }
  .story__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.story__body { display: grid; gap: 20px; padding-top: 6px; }
.story__body p { font-size: 1rem; line-height: 1.75; color: var(--ink-2); }
.story__body p:first-child { font-size: clamp(1.125rem, 1.4vw, 1.25rem); color: var(--ink); line-height: 1.6; }
.story__body .link-arrow { justify-self: start; margin-top: 4px; }

.timeline {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px;
  margin-top: var(--block);
}
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.timeline::after { background: var(--teal); height: 2px; top: -.5px; transform: scaleX(var(--tp, 0)); transform-origin: left; }
.timeline li { position: relative; padding-top: 26px; }
.timeline li::before {
  content: ""; position: absolute; top: -5px; left: 0; z-index: 1; width: 10px; height: 10px;
  background: var(--bg); border: 1.5px solid var(--line-strong);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .6s var(--spring);
}
.timeline li.is-lit::before { background: var(--teal); border-color: var(--teal); transform: rotate(45deg); }
.timeline__label { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.timeline p { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); max-width: 30ch; }

.story__foot { display: grid; gap: var(--block); margin-top: var(--block); padding-top: var(--block); border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .story__foot { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 96px; align-items: start; } }
.quote { position: relative; padding-top: 52px; }
.quote::before {
  content: "“"; position: absolute; left: -.04em; top: -.18em;
  font-family: var(--serif); font-size: 6.5rem; line-height: 1; color: var(--teal);
}
.quote blockquote p {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.375rem, 2.3vw, 1.9rem); line-height: 1.3; letter-spacing: -.012em;
}
.quote figcaption { margin-top: 20px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.values__list { display: grid; gap: 28px 32px; }
@media (min-width: 560px) { .values__list { grid-template-columns: 1fr 1fr; } }
.values__list li { padding-left: 18px; border-left: 1px solid var(--line-strong); transition: border-color .4s var(--ease); }
.values__list li:hover { border-color: var(--teal); }
.values__list h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.values__list p { font-size: .875rem; line-height: 1.6; color: var(--muted); }

/* ---------- 12. CTA band ---------- */
.cta-band { padding-bottom: var(--section); }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
  background: var(--teal-deep); color: #fff; text-align: center;
  display: grid; justify-items: center;
}
.cta-band .eyebrow { color: var(--teal-light); }
.cta-band .eyebrow::before { background: var(--teal-light); }
.cta-band__title {
  max-width: 18ch; font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -.025em;
}
.cta-band .cta-band__title em { color: #BFF0EA; }
.cta-band__text { max-width: 46ch; margin-top: 20px; color: rgba(255, 255, 255, .8); font-size: 1.0625rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.cta-band__call { margin-top: 22px; font-size: .9375rem; color: rgba(255, 255, 255, .75); }
.cta-band__call strong { color: #fff; font-weight: 600; margin-left: 4px; border-bottom: 1px solid rgba(255, 255, 255, .4); transition: border-color .25s var(--ease); }
.cta-band__call:hover strong { border-color: #fff; }

/* Orbiting rings behind the CTA */
.cta-band__orbit { position: absolute; inset: 50% auto auto 50%; z-index: -1; pointer-events: none; }
.cta-band__orbit i {
  position: absolute; left: 0; top: 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%;
  translate: -50% -50%; animation: spin 40s linear infinite;
}
.cta-band__orbit i::after {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: var(--teal-light);
}
.cta-band__orbit i:nth-child(1) { width: 420px; height: 420px; }
.cta-band__orbit i:nth-child(2) { width: 680px; height: 680px; animation-duration: 60s; animation-direction: reverse; }
.cta-band__orbit i:nth-child(3) { width: 960px; height: 960px; animation-duration: 90s; }
.cta-band__orbit i:nth-child(3)::after { background: #fff; opacity: .6; }

/* ---------- 13. FAQ ---------- */
.faq { background: var(--surface); }
.faq__grid { display: grid; gap: 36px; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 96px; } .faq__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.faq__more { margin-top: 28px; display: grid; gap: 8px; justify-items: start; }
.faq__more p { font-size: .9375rem; color: var(--muted); }
.faq__more .icon--wa { color: var(--wa-deep); }
.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  font-family: var(--serif); font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.3; font-weight: 400;
  cursor: pointer; list-style: none; transition: color .25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teal-ink); }
.faq__toggle {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: transform .5s var(--spring), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.faq__item[open] .faq__toggle { transform: rotate(135deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 56px 26px 0; color: var(--ink-2); line-height: 1.7; max-width: 62ch; }

/* ---------- 14. Booking & form ---------- */
.booking__grid { display: grid; gap: var(--block); }
@media (min-width: 1024px) { .booking__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 88px; align-items: start; } }
.booking .section-lead { margin-top: 18px; max-width: 42ch; }

.steps { margin-top: 36px; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps__n {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--teal); color: var(--teal-ink); font-weight: 600; font-size: .875rem;
}
.steps li.is-in .steps__n { animation: pop .6s var(--spring) both; animation-delay: calc(var(--d, 0) * 120ms + .1s); }
.steps h3 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.steps p { font-size: .9375rem; color: var(--muted); line-height: 1.55; }

.contact-card { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.contact-card__title { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.contact-card ul { display: grid; gap: 14px; }
@media (min-width: 640px) { .contact-card ul { grid-template-columns: 1fr 1fr; gap: 18px 28px; } }
.contact-card li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; font-size: .9375rem; }
.contact-card__ic {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--teal-ink);
  transition: transform .45s var(--spring), background-color .3s var(--ease), color .3s var(--ease);
}
.contact-card__ic .icon--wa { color: var(--wa-deep); }
.contact-card li:hover .contact-card__ic { transform: translateY(-3px); background: var(--teal-ink); color: #fff; }
.contact-card li:hover .contact-card__ic .icon--wa { color: #fff; }
.contact-card small { display: block; font-size: .75rem; color: var(--muted); }
.contact-card a { font-weight: 600; word-break: break-word; transition: color .25s var(--ease); }
.contact-card a:hover { color: var(--teal-ink); }

.booking__panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 52px); box-shadow: 0 60px 120px -80px rgba(15, 29, 58, .35); }
@media (min-width: 1024px) { .booking__panel { position: sticky; top: calc(var(--header-h) + 24px); } }

.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__row { display: grid; gap: 0 32px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.field { position: relative; margin-bottom: 24px; }
.field label { display: block; margin-bottom: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); transition: color .25s var(--ease); }
.field:focus-within > label { color: var(--teal-ink); }
.field__opt { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0; font-size: 1.0625rem; color: var(--ink);
  background-image: linear-gradient(var(--teal-ink), var(--teal-ink));
  background-size: 0 2px; background-position: left bottom; background-repeat: no-repeat;
  transition: background-size .5s var(--ease-out), border-color .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.field ::placeholder { color: #9AA1B8; opacity: 1; }
.field input:not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; background-size: 100% 2px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background-image: linear-gradient(var(--danger), var(--danger)); background-size: 100% 1px; }
.field.has-error { animation: shake .45s var(--ease); }

.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.4px solid var(--ink); border-bottom: 1.4px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.select select { padding-right: 28px; cursor: pointer; }
.select select:invalid { color: #9AA1B8; }
.select option { color: var(--ink); }
.select.is-flash select { animation: flash 1.2s var(--ease); }

.field__error { margin-top: 6px; font-size: .8125rem; color: var(--danger); }
.field__error:empty { display: none; }

.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; margin-top: 4px; }
.field--check input {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 1px 0 0;
  border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-content: center; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.field--check input::after {
  content: ""; width: 10px; height: 6px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .3s var(--spring);
}
.field--check input:checked { background: var(--ink); border-color: var(--ink); }
.field--check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.field--check label { margin: 0; font-size: .875rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); line-height: 1.55; cursor: pointer; }
.field--check label a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.field--check .field__error { grid-column: 2; margin-top: -6px; }
.field--check.has-error input { border-color: var(--danger); }

.form__footer { margin-top: 28px; }
.form__note { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.form__note .icon { color: var(--teal-ink); }
.form__status { margin-top: 20px; padding: 16px 18px; font-size: .9375rem; line-height: 1.5; outline: none; }
.form__status:empty { display: none; }
.form__status.is-success { background: var(--teal-soft); color: var(--teal-deep); border-left: 3px solid var(--teal); animation: fade-up .5s var(--ease-out); }
.form__status.is-error { background: var(--danger-soft); color: var(--danger); border-left: 3px solid var(--danger); animation: fade-up .5s var(--ease-out); }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 28px; }

.site-footer__cta {
  display: grid; gap: 24px; align-items: end;
  padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .site-footer__cta { grid-template-columns: 1fr auto; gap: 48px; } }
.site-footer__cta h2 { max-width: 18ch; font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -.02em; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer__grid { display: grid; gap: 40px 32px; align-items: start; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.35fr .8fr 1.1fr 1.15fr; gap: 48px; } }
.site-footer__brand img { height: 28px; width: auto; margin-bottom: 18px; }
.site-footer__brand p { max-width: 32ch; font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.site-footer__title { margin-bottom: 16px; padding-top: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.site-footer__links { display: grid; gap: 4px; }
.site-footer__links a {
  position: relative; display: inline-flex; align-items: center; padding: 5px 0;
  font-size: .9375rem; color: var(--ink-2); transition: color .25s var(--ease), padding .35s var(--ease-out);
}
.site-footer__links a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--teal-ink);
  transition: width .35s var(--ease-out);
}
.site-footer__links a:hover { color: var(--teal-ink); padding-left: 16px; }
.site-footer__links a:hover::before { width: 10px; }

.site-footer__contact { display: grid; gap: 10px; }
.site-footer__contact > * { display: flex; align-items: center; gap: 12px; font-size: .9375rem; color: var(--ink-2); word-break: break-word; }
.site-footer__contact a { transition: color .25s var(--ease); }
.site-footer__contact a:hover { color: var(--teal-ink); }
.site-footer__ic {
  flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--teal-ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .45s var(--spring);
}
.site-footer__ic .icon--wa { color: var(--wa-deep); }
.site-footer__contact a:hover .site-footer__ic { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; transform: rotate(-8deg); }
.site-footer__contact a:hover .site-footer__ic .icon--wa { color: #fff; }

.site-footer__bottom {
  display: grid; gap: 16px; align-items: center;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted);
}
@media (min-width: 900px) { .site-footer__bottom { grid-template-columns: auto auto 1fr auto; gap: 40px; padding-right: 300px; } .site-footer__bottom .to-top { order: -1; } }

/* Studio signature (logo only) */
.signature {
  display: inline-grid; place-items: center; justify-self: start; width: 40px; height: 40px;
  opacity: .55; filter: grayscale(1);
  transition: opacity .35s var(--ease), filter .35s var(--ease), transform .6s var(--spring);
}
.signature .brand-logo { width: 30px; height: auto; }
.signature .lg-ink { fill: var(--ink); }
.signature .lg-red { fill: #E2231A; }
.signature .lg-white { fill: #fff; }
.signature:hover, .signature:focus-visible { opacity: 1; filter: none; transform: translateY(-3px) rotate(-6deg); }
@media (min-width: 900px) { .signature { justify-self: end; } }
.site-footer__disclaimer { max-width: 66ch; }

.to-top { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-weight: 600; color: var(--ink); }
.to-top__ring { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.to-top__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.to-top__ring .to-top__fill { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.to-top .icon { transition: transform .4s var(--spring); }
.to-top:hover .icon { transform: translateY(-4px); }

/* ---------- 16. Concierge widget & mobile bar ---------- */
.concierge { position: fixed; right: clamp(16px, 2vw, 28px); bottom: calc(clamp(16px, 2vw, 28px) + env(safe-area-inset-bottom)); z-index: 95; }

.concierge__launcher {
  display: flex; align-items: center; gap: 12px; height: 62px; padding: 8px 22px 8px 8px;
  border-radius: 999px; background: var(--ink); color: #fff; text-align: left;
  box-shadow: 0 20px 40px -16px rgba(15, 29, 58, .55);
  animation: launcher-in .9s var(--spring) 1.4s both;
  transition: background-color .3s var(--ease), translate .5s var(--ease-out);
}
.concierge__launcher:hover { background: var(--navy); }
.concierge__launcher-icon { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.concierge__launcher-icon::after { /* soft radar ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: radar 2.6s var(--ease) infinite;
}
.concierge__glyph { position: absolute; display: grid; transition: opacity .3s var(--ease), transform .45s var(--spring); }
.concierge__glyph--x { opacity: 0; transform: rotate(-90deg) scale(.5); }
.concierge.is-open .concierge__glyph--wa { opacity: 0; transform: rotate(90deg) scale(.5); }
.concierge.is-open .concierge__glyph--x { opacity: 1; transform: none; }
.concierge.is-open .concierge__launcher-icon::after { animation: none; opacity: 0; }
.concierge__launcher-text { display: grid; line-height: 1.25; }
.concierge__launcher-text strong { font-size: .9375rem; font-weight: 600; }
.concierge__launcher-text small { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: rgba(255, 255, 255, .65); }
.concierge__online {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--wa);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: online 2s var(--ease) infinite;
}

.concierge__panel {
  position: absolute; right: 0; bottom: calc(100% + 14px); width: min(360px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 50px 100px -30px rgba(15, 29, 58, .45);
  transform-origin: bottom right; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.94);
  transition: opacity .3s var(--ease), transform .5s var(--spring), visibility .3s;
}
.concierge.is-open .concierge__panel { opacity: 1; visibility: visible; transform: none; }
.concierge__head { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 16px 16px 16px 18px; background: var(--navy-deep); color: #fff; }
.concierge__avatar { position: relative; width: 44px; height: 44px; }
.concierge__avatar img { width: 44px; height: 44px; border-radius: 50%; }
.concierge__avatar .concierge__online { position: absolute; right: 0; bottom: 1px; border: 2px solid var(--navy-deep); width: 12px; height: 12px; }
.concierge__head strong { display: block; font-size: .9375rem; font-weight: 600; }
.concierge__head small { display: block; font-size: .75rem; color: rgba(255, 255, 255, .65); }
.concierge__close { width: 36px; height: 36px; display: grid; place-items: center; color: rgba(255, 255, 255, .8); border-radius: 50%; transition: background-color .25s var(--ease); }
.concierge__close:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.concierge__body { position: relative; padding: 18px; background: var(--bg); min-height: 210px; }
.concierge__typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); }
.concierge__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1s var(--ease) infinite; }
.concierge__typing i:nth-child(2) { animation-delay: .15s; }
.concierge__typing i:nth-child(3) { animation-delay: .3s; }
.concierge__bubble {
  position: relative; max-width: 90%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line);
  font-size: .9063rem; line-height: 1.5; color: var(--ink);
}
.concierge__pick { margin: 16px 0 8px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.concierge__options { display: grid; gap: 6px; }
.concierge__options a {
  display: flex; justify-content: space-between; align-items: center; padding: 11px 14px;
  background: var(--surface); border: 1px solid var(--line); font-size: .875rem; font-weight: 500;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .35s var(--ease-out);
}
.concierge__options a:hover { border-color: var(--teal); color: var(--teal-ink); transform: translateX(3px); }
.concierge__options .icon { color: var(--teal-ink); }
.concierge__foot { display: grid; grid-template-columns: 1fr 50px; gap: 8px; padding: 14px 18px 18px; }
.concierge__start {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  background: var(--wa-deep); color: #fff; font-size: .9375rem; font-weight: 600; transition: background-color .25s var(--ease);
}
.concierge__start:hover { background: #0E7A40; }
.concierge__call { display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink); transition: border-color .25s var(--ease), color .25s var(--ease); }
.concierge__call:hover { border-color: var(--ink); color: var(--teal-ink); }

/* Chat-like sequence when the panel opens */
.concierge__typing { position: absolute; left: 18px; top: 18px; opacity: 0; }
.concierge__bubble, .concierge__pick, .concierge__options li { opacity: 0; }
.concierge.is-open .concierge__typing { animation: typing-show 1s var(--ease) both; }
.concierge.is-open .concierge__bubble { animation: bubble-in .55s var(--spring) .9s both; }
.concierge.is-open .concierge__pick { animation: fade .4s var(--ease) 1.2s both; }
.concierge.is-open .concierge__options li { animation: fade-up .45s var(--ease-out) both; animation-delay: calc(1.3s + var(--i) * .08s); }
.concierge.was-opened .concierge__typing { display: none; }
.concierge.was-opened .concierge__bubble, .concierge.was-opened .concierge__pick, .concierge.was-opened .concierge__options li { animation-delay: 0s !important; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .concierge__launcher { display: none; }
  .concierge { right: 12px; left: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); pointer-events: none; }
  .concierge__panel { width: auto; left: 0; right: 0; bottom: 0; }
  .concierge.is-open .concierge__panel { pointer-events: auto; }

  .mobile-bar {
    position: fixed; inset: auto 0 0; z-index: 96;
    display: grid; grid-template-columns: 1fr auto 52px; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .5s var(--ease-out);
  }
  .mobile-bar.is-visible { transform: none; }
  body.nav-open .mobile-bar { transform: translateY(110%); }
  .mobile-bar > * {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px;
    border-radius: 999px; font-size: .9375rem; font-weight: 600;
  }
  .mobile-bar__book { background: var(--ink); color: #fff; }
  .mobile-bar__chat { background: var(--wa-deep); color: #fff; }
  .mobile-bar__call { border: 1px solid var(--line-strong); color: var(--ink); padding: 0; }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- 17. Corporate pages ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 104px)); padding-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .8125rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--teal-ink); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.page-hero__icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 24px; background: var(--teal-soft); color: var(--teal-ink); }
.page-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.6vw, 4.75rem); line-height: 1; letter-spacing: -.03em;  max-width: 16ch; }
.page-hero__intro { margin-top: 24px; max-width: 54ch; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--ink-2); line-height: 1.6; }

.legal { display: grid; gap: 40px; padding-block: var(--block) var(--section); }
@media (min-width: 1024px) { .legal { grid-template-columns: 290px minmax(0, 1fr); gap: 96px; } }
.legal__nav { align-self: start; }
@media (min-width: 1024px) { .legal__nav { position: sticky; top: calc(var(--header-h) + 32px); } }
.legal__nav h2 { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal__nav ul { border-top: 1px solid var(--line); }
.legal__nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: .9375rem; color: var(--ink-2); transition: color .2s var(--ease), padding .3s var(--ease-out);
}
.legal__nav a .icon { color: var(--muted); transition: color .25s var(--ease); }
.legal__nav a:hover { color: var(--ink); padding-left: 6px; }
.legal__nav a:hover .icon, .legal__nav a[aria-current="page"] .icon { color: var(--teal-ink); }
.legal__nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--teal); padding-left: 12px; }

.legal__content { max-width: 72ch; }
.legal__content section + section { margin-top: 44px; }
.legal__content h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.25; letter-spacing: -.01em; margin-bottom: 14px; }
.legal__content p { color: var(--ink-2); line-height: 1.75; }
.legal__content p + p { margin-top: 14px; }
.legal__content ul { display: grid; gap: 10px; margin-top: 8px; }
.legal__content ul li { position: relative; padding-left: 26px; color: var(--ink-2); line-height: 1.65; }
.legal__content ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--teal-ink); }
.legal__updated { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }

/* ---------- 18. Motion ---------- */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -10deg; } 50% { rotate: 8deg; } 75% { rotate: -4deg; } }
@keyframes shake { 0%, 100% { translate: 0; } 25% { translate: -5px; } 50% { translate: 4px; } 75% { translate: -2px; } }
@keyframes flash { 0% { background-color: var(--teal-soft); } 100% { background-color: transparent; } }
@keyframes launcher-in { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes radar { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes online { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70%, 100% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes typing-show { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px) scale(.96); transform-origin: left bottom; } to { opacity: 1; transform: none; } }

/* Scroll reveal (content stays visible without JS) */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Word-by-word title reveal */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.sw__i { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 55ms); }
[data-split].is-in .sw__i { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .js [data-reveal], .sw__i { opacity: 1; transform: none; }
  .js [data-scrub-words] .w { opacity: 1; }
  .route-map__plane { display: none; }
  .marquee__track { animation: none; }
}

/* Route map legibility on small screens (SVG text scales with the viewBox) */
@media (max-width: 640px) {
  .route-map__city { display: none; }
  .route-map__code { font-size: 18px; }
  .route-map__hub-code { font-size: 36px; }
  .route-map__origin circle { r: 5; }
}

/* ==========================================================================
   19. Multi-page additions: inner heroes, services page, process, Istanbul,
       contact page, appointment page and the quote wizard
   ========================================================================== */

.icon--flip { transform: rotate(180deg); }
.section-head__aside { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .section-head__aside { justify-self: end; } }
.section-spacer { height: calc(var(--section) * .6); }

/* ---------- Inner page hero ---------- */
.page-hero__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1024px) { .page-hero--split .page-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; } }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero__title em { color: var(--teal-ink); font-style: italic; padding-right: .04em; }

.hero-aside { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 32px); box-shadow: 0 40px 80px -60px rgba(15, 29, 58, .35); }
.hero-aside__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.hero-aside__stats li { display: grid; gap: 4px; padding-right: 12px; }
.hero-aside__stats li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-aside__stats strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1; color: var(--ink); }
.hero-aside__stats span { font-size: .8125rem; line-height: 1.35; color: var(--muted); }
.hero-aside__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-aside__actions .btn { flex: 1 1 auto; }

.services--page { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Process (services page) ---------- */
.process { background: var(--surface); }
.process__list { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 640px) { .process__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process__list { grid-template-columns: repeat(4, 1fr); } }
.process__step {
  position: relative; display: grid; gap: 10px; align-content: start;
  padding: 26px 24px 28px; background: var(--bg); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.process__step::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) calc(var(--d, 0) * 150ms + .3s);
}
.process__step.is-in::before { transform: none; }
.process__step:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 30px 50px -36px rgba(15, 29, 58, .35); }
.process__n { font-family: var(--serif); font-weight: 500; font-size: 2.25rem; line-height: 1; color: var(--teal-ink); }
.process__icon { position: absolute; top: 24px; right: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.process__step h3 { margin-top: 6px; font-size: 1.0625rem; font-weight: 600; }
.process__step p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }

/* ---------- Istanbul band ---------- */
.istanbul { padding-block: var(--section) 0; }
.is-home .istanbul { padding-top: 0; padding-bottom: var(--section); background: var(--bg); }   /* sits right after the services section */
.istanbul__card {
  position: relative; overflow: hidden; isolation: isolate;
  background: #E8EFF6; border: 1px solid #DCE5EE;
  min-height: clamp(520px, 46vw, 600px);
  box-shadow: 0 60px 120px -90px rgba(15, 29, 58, .45);
}
.istanbul__copy { position: relative; z-index: 2; max-width: 600px; padding: clamp(28px, 4.6vw, 64px); }
.istanbul__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.8vw, 3.35rem); line-height: 1.04; letter-spacing: -.015em; }
.istanbul__title em { color: var(--teal-ink); font-style: italic; padding-right: .04em; }
.istanbul__text { margin-top: 18px; max-width: 46ch; color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.istanbul__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.istanbul__chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .8125rem; font-weight: 500; color: var(--ink);
}
.istanbul__chip-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-ink); }
.istanbul__cta { margin-top: 28px; }
.istanbul__art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
@media (max-width: 899px) {
  .istanbul__card { display: flex; flex-direction: column; min-height: 0; }
  /* show the right-hand (landmark) part of the scene, uncropped vertically */
  .istanbul__card { container-type: inline-size; }
  .istanbul__art { position: relative; flex-shrink: 0; width: 175cqw; height: calc(175cqw * 460 / 1200); max-width: none; margin: -10px 0 0 -75cqw; }
}

/* scene colours */
.ist-sky { fill: #E8EFF6; }
.ist-sun circle { fill: #F4E3C3; }
.ist-sun__halo { transform-box: fill-box; transform-origin: center; animation: sun-halo 5s var(--ease) infinite; }
.ist-cloud path { fill: #fff; opacity: .92; }
.ist-cloud--a { animation: cloud 34s ease-in-out infinite alternate; }
.ist-cloud--b { animation: cloud 44s ease-in-out infinite alternate-reverse; opacity: .8; }
.ist-cloud--c { animation: cloud 28s ease-in-out infinite alternate; }
.ist-route { fill: none; stroke: var(--navy); stroke-opacity: .28; stroke-width: 1.2; stroke-dasharray: 3 7; animation: route-flow 2.5s linear infinite; }
.ist-plane path { fill: var(--navy); }
.ist-gulls { animation: gulls 16s ease-in-out infinite alternate; }
.ist-gull { fill: none; stroke: var(--navy); stroke-opacity: .65; stroke-width: 1.6; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: flap .9s ease-in-out infinite alternate; }
.ist-gull--b { animation-duration: .75s; animation-delay: -.3s; }
.ist-gull--c { animation-duration: 1.05s; animation-delay: -.5s; }
.ist-far { fill: #D2DCE8; }
.ist-mid > * { fill: #AFBFD3; }
.ist-near > * { fill: #8EA3BF; }
.ist-near .ist-windows rect { fill: #E8EFF6; opacity: .85; }
.ist-bridge rect { fill: #7F95B3; }
.ist-bridge__deck { stroke: #7F95B3; stroke-width: 4; }
.ist-bridge__cable { fill: none; stroke: #7F95B3; stroke-width: 1.6; }
.ist-bridge__hangers { stroke: #7F95B3; stroke-width: .7; stroke-opacity: .75; }
.ist-water { fill: #D4E2EC; }
.ist-wave { fill: none; stroke: #fff; stroke-opacity: .85; stroke-width: 1.4; stroke-linecap: round; animation: wave-a 5s linear infinite; }
.ist-wave--b { stroke-opacity: .6; animation-name: wave-b; animation-duration: 7s; }
.ist-wave--c { stroke-opacity: .45; animation-name: wave-c; animation-duration: 9s; }
.ist-maiden > * { fill: #8EA3BF; }
.ist-maiden ellipse { fill: #BDCCDA; }
.ist-ferry__hull { fill: var(--navy); }
.ist-ferry__cabin { fill: #fff; }
.ist-ferry__windows rect { fill: var(--navy); opacity: .45; }
.ist-ferry__funnel { fill: #E0B35A; }
.ist-ferry--near { animation: ferry-near 46s linear infinite; }
.ist-ferry--far { animation: ferry-far 62s linear infinite; animation-delay: -20s; }
.ist-ferry__bob { animation: bob 2.6s ease-in-out infinite alternate; }
.ist-smoke { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center; animation: smoke 3s ease-out infinite; }
.ist-smoke--b { animation-delay: 1.5s; }

@keyframes sun-halo { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes cloud { from { transform: translateX(0); } to { transform: translateX(90px); } }
@keyframes route-flow { to { stroke-dashoffset: -20; } }
@keyframes gulls { from { transform: translate(0, 0); } to { transform: translate(140px, -24px); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
@keyframes wave-a { to { transform: translateX(-40px); } }
@keyframes wave-b { to { transform: translateX(-56px); } }
@keyframes wave-c { to { transform: translateX(-72px); } }
@keyframes ferry-near { from { transform: translate(-140px, 418px); } to { transform: translate(1320px, 418px); } }
@keyframes ferry-far { from { transform: translate(1260px, 384px) scale(-.7, .7); } to { transform: translate(-90px, 384px) scale(-.7, .7); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }
@keyframes smoke { 0% { opacity: .75; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(-16px, -24px) scale(2); } }

/* ---------- Contact page ---------- */
.channels { padding-top: clamp(40px, 5vw, 64px); }
.channels__grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .channels__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .channels__grid { grid-template-columns: repeat(4, 1fr); } }
.channel__link {
  position: relative; height: 100%; display: grid; align-content: start; gap: 6px;
  padding: 26px 24px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
a.channel__link:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: 0 30px 50px -36px rgba(15, 29, 58, .35); }
.channel__icon {
  width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-ink); transition: transform .6s var(--spring), background-color .3s var(--ease), color .3s var(--ease);
}
.channel--whatsapp .channel__icon { background: #E3F6EA; color: var(--wa-deep); }
a.channel__link:hover .channel__icon { transform: rotate(-10deg) scale(1.06); background: var(--teal-ink); color: #fff; }
.channel--whatsapp a.channel__link:hover .channel__icon { background: var(--wa-deep); }
.channel__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.channel__value { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.2; overflow-wrap: anywhere; }
.channel__note { font-size: .875rem; color: var(--muted); }
.channel--email .channel__value { font-family: var(--sans); font-weight: 600; font-size: clamp(.95rem, 1.1vw, 1.0625rem); padding: 6px 0 4px; overflow-wrap: anywhere; word-break: normal; }
.channel__action { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .875rem; font-weight: 600; color: var(--teal-ink); }
.channel__action .icon { transition: transform .4s var(--ease-out); }
a.channel__link:hover .channel__action .icon { transform: translate(3px, -3px); }

.contact-main__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .contact-main__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; } }
.contact-main__form { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); }
.contact-form__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; }
.contact-form__lead { margin: 8px 0 28px; color: var(--muted); }

.quote-card { position: relative; overflow: hidden; display: grid; gap: 14px; padding: clamp(26px, 3.4vw, 40px); background: var(--navy-deep); color: #fff; }
@media (min-width: 1024px) { .quote-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.quote-card::before { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 46px rgba(255, 255, 255, .03); animation: breathe 7s var(--ease) infinite; }
.quote-card .eyebrow { color: var(--teal-light); margin: 0; }
.quote-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--teal-light); }
.quote-card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.08; }
.quote-card__title em { color: var(--teal-light); font-style: italic; }
.quote-card__text { color: rgba(255, 255, 255, .72); font-size: .9375rem; }
.quote-card__steps { display: grid; gap: 8px; margin: 6px 0 10px; }
.quote-card__steps li { display: flex; align-items: center; gap: 12px; font-size: .9375rem; }
.quote-card__steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); font-size: .75rem; font-weight: 600; }

/* ---------- Appointment page ---------- */
.booking-page { padding-top: clamp(40px, 5vw, 64px); }
.booking-page__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .booking-page__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; } .booking-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.booking-aside { display: grid; gap: 14px; }
.booking-aside__block { background: var(--surface); border: 1px solid var(--line); padding: 22px; }
.booking-aside__title { margin-bottom: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.booking-aside__trust { display: grid; gap: 16px; }
.booking-aside__trust li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.booking-aside__trust strong { color: var(--ink); font-weight: 600; }
.booking-aside__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-ink); }
.booking-aside__ic--wa { background: #E3F6EA; color: var(--wa-deep); }
.booking-aside__link {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 600; word-break: break-word;
  transition: color .25s var(--ease);
}
.booking-aside__link:first-of-type { border-top: 0; }
.booking-aside__link small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); }
.booking-aside__link > .icon { color: var(--muted); transition: transform .4s var(--ease-out), color .25s var(--ease); }
.booking-aside__link:hover { color: var(--teal-ink); }
.booking-aside__link:hover > .icon { transform: translate(3px, -3px); color: var(--teal-ink); }

/* ---------- Quote wizard ---------- */
.wizard { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 44px); box-shadow: 0 60px 120px -90px rgba(15, 29, 58, .45); }
.wizard__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wizard__pbtn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 4px 0 12px; text-align: left; color: var(--muted); cursor: default; }
.wizard__pbtn:not([disabled]) { cursor: pointer; }
.wizard__pbtn:not([disabled]):hover { color: var(--ink); }
.wizard__pnum {
  position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); font-size: .8125rem; font-weight: 600; color: var(--muted); background: var(--surface);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .5s var(--spring);
}
.wizard__pnum .icon { position: absolute; opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease), transform .45s var(--spring); }
.wizard__plabel { font-size: .8125rem; font-weight: 600; line-height: 1.2; }
.wizard__pstep.is-current .wizard__pnum { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.08); }
.wizard__pstep.is-current .wizard__pbtn { color: var(--ink); }
.wizard__pstep.is-done .wizard__pnum { background: var(--teal); border-color: var(--teal); color: #fff; }
.wizard__pstep.is-done .wizard__pnum > span { opacity: 0; }
.wizard__pstep.is-done .wizard__pnum .icon { opacity: 1; transform: none; }
@media (max-width: 599px) { .wizard__plabel { display: none; } .wizard__pstep.is-current .wizard__plabel { display: block; } }
.wizard__bar { height: 2px; background: var(--line); margin-bottom: clamp(24px, 3vw, 36px); }
.wizard__bar span { display: block; height: 100%; width: var(--wp, 25%); background: var(--teal); transition: width .7s var(--ease-out); }

.wizard__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .wizard__step:not(.is-active) { display: none; }
.wizard__step + .wizard__step { margin-top: 40px; }
.js .wizard__step + .wizard__step { margin-top: 0; }
.wizard__step.is-entering { animation: step-in .55s var(--ease-out) both; }
.wizard__step.is-entering-back { animation: step-in-back .55s var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.wizard__head { margin-bottom: 24px; }
.wizard__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.wizard__title { margin-top: 6px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.1; outline: none; }
.wizard__hint { margin-top: 6px; color: var(--muted); font-size: .9375rem; }

/* treatment tiles */
.treat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.treat { position: relative; display: block; cursor: pointer; }
.treat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.treat__box {
  position: relative; height: 100%; display: grid; align-content: start; gap: 4px;
  padding: 16px 14px 14px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), transform .45s var(--spring);
}
.treat:hover .treat__box { border-color: var(--line-strong); transform: translateY(-2px); }
.treat__icon { width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.treat__name { font-size: .9375rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.treat__group { font-size: .75rem; color: var(--muted); }
.treat__tick {
  position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong); color: transparent; background: var(--surface);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .45s var(--spring);
}
.treat input:checked + .treat__box { border-color: var(--teal-ink); background: #F3FAF9; box-shadow: inset 0 0 0 1px var(--teal-ink); }
.treat input:checked + .treat__box .treat__icon { background: var(--surface); color: var(--teal-ink); }
.treat input:checked + .treat__box .treat__tick { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; transform: scale(1.12); }
.treat input:checked + .treat__box .ti path:not(.ti-a), .treat input:checked + .treat__box .ti circle { animation: ti-draw 1s var(--ease-out); }
.treat input:focus-visible + .treat__box { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.treat--other .treat__icon { color: var(--teal-ink); }
@media (max-width: 560px) {
  .treat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .treat__box { padding: 12px 11px; }
  .treat__icon { width: 42px; height: 42px; margin-bottom: 6px; }
  .treat__icon .ti { width: 28px; height: 28px; }
  .treat__name { font-size: .8438rem; }
  .treat__tick { top: 9px; right: 9px; width: 20px; height: 20px; }
  .pill span { padding: 10px 14px; font-size: .875rem; }
}

/* pills */
.choice-block { margin-bottom: 26px; }
.choice-block__label { margin-bottom: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  font-size: .9063rem; font-weight: 500; color: var(--ink-2);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .4s var(--spring);
}
.pill:hover span { border-color: var(--ink); color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.03); }
.pill input:focus-visible + span { outline: 2px solid var(--teal-ink); outline-offset: 3px; }
.pills--icons .icon--wa { color: var(--wa-deep); }
.pill input:checked + span .icon, .pill input:checked + span .icon--wa { color: #fff; }
.field--inline { max-width: 420px; }

/* upload */
.upload { margin: 6px 0 24px; }
.upload__drop {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 20px; text-align: center;
  border: 1.5px dashed var(--line-strong); background: var(--bg); cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.upload__drop:hover, .upload__drop.is-over { border-color: var(--teal); background: #F0F8F7; }
.upload__drop.is-over .upload__icon { transform: translateY(-4px) scale(1.08); }
.upload__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload__input:focus-visible + .upload__icon { outline: 2px solid var(--teal-ink); outline-offset: 4px; }
.upload__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--teal-ink); border: 1px solid var(--line); transition: transform .5s var(--spring); }
.upload__title { font-weight: 600; font-size: .9375rem; }
.upload__hint { font-size: .8125rem; color: var(--muted); }
.upload__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin-top: 12px; }
.upload__list:empty { display: none; }
.upload__item { position: relative; aspect-ratio: 1; background: var(--bg); border: 1px solid var(--line); overflow: hidden; animation: pop .45s var(--spring) both; }
.upload__item img { width: 100%; height: 100%; object-fit: cover; }
.upload__item.is-file { display: grid; place-items: center; color: var(--muted); }
.upload__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; background: rgba(15, 29, 58, .62); color: #fff; font-size: .6875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload__remove {
  position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 4px 12px -4px rgba(15, 29, 58, .4);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .3s var(--spring);
}
.upload__remove:hover { background: var(--danger); color: #fff; transform: rotate(90deg); }
.upload__privacy { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.upload__privacy .icon { color: var(--teal-ink); flex-shrink: 0; }
.js .field--health:not(.is-visible) { display: none; }
.field--health.is-visible { animation: fade-up .4s var(--ease-out); }

/* summary */
.summary { margin: 4px 0 22px; padding: 18px 20px; background: var(--bg); border: 1px solid var(--line); }
.summary__title { margin-bottom: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.summary__list > div { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); }
.summary__list > div:first-child { border-top: 0; }
.summary__list dt { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.summary__list dd { font-size: .875rem; color: var(--ink); }
.summary__edit { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; color: var(--teal-ink); }
.summary__edit:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .summary__list > div { grid-template-columns: 1fr auto; } .summary__list dd { grid-column: 1 / -1; } }

/* nav */
.wizard__nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.wizard__count { flex: 1; text-align: center; font-size: .8125rem; color: var(--muted); }
.wizard__next, .wizard__submit { margin-left: auto; }
.wizard__back + .wizard__count + .wizard__next, .wizard__count + .wizard__next { margin-left: 0; }
.wizard .form__note { margin-top: 12px; }
.js .wizard__submit.is-hidden { display: none; }
@media (max-width: 520px) { .wizard__count { display: none; } .wizard__nav .btn { flex: 1; } }

/* success */
.wizard__success { display: grid; justify-items: center; gap: 14px; padding: clamp(16px, 4vw, 40px) 0; text-align: center; outline: none; }
.wizard__success[hidden] { display: none; }
.success-mark { width: 88px; height: 88px; }
.success-mark circle { fill: var(--teal-soft); stroke: var(--teal); stroke-width: 2; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw-to 1s var(--ease-out) .1s forwards; }
.success-mark path { fill: none; stroke: var(--teal-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-to .6s var(--ease-out) .8s forwards; }
@keyframes draw-to { to { stroke-dashoffset: 0; } }
.wizard__success-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; }
.wizard__success-text { max-width: 48ch; color: var(--ink-2); }
.wizard__next-steps { display: grid; gap: 10px; margin: 10px 0 6px; text-align: left; max-width: 520px; width: 100%; }
.wizard__next-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); font-size: .9375rem; animation: fade-up .5s var(--ease-out) both; }
.wizard__next-steps li:nth-child(1) { animation-delay: 1.1s; }
.wizard__next-steps li:nth-child(2) { animation-delay: 1.25s; }
.wizard__next-steps li:nth-child(3) { animation-delay: 1.4s; }
.wizard__next-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-ink); color: #fff; font-size: .75rem; font-weight: 600; }
.wizard__success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .ist-ferry--near { animation: none; transform: translate(560px, 418px); }
  .ist-ferry--far { animation: none; transform: translate(260px, 384px) scale(-.7, .7); }
  .ist-gulls, .ist-cloud, .ist-gull, .ist-wave, .ist-route, .ist-ferry__bob, .ist-smoke, .ist-sun__halo { animation: none; }
  .success-mark circle, .success-mark path { stroke-dashoffset: 0; }
}

/* ---------- Wizard: "More treatments" (grouped, searchable) ---------- */
.more-treat { margin-top: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.more-treat[open] { border-color: var(--line-strong); box-shadow: 0 30px 60px -50px rgba(15, 29, 58, .4); }
.more-treat__summary {
  display: grid; grid-template-columns: 40px 1fr auto auto; gap: 14px; align-items: center;
  padding: 14px 18px; cursor: pointer; list-style: none;
}
.more-treat__summary::-webkit-details-marker { display: none; }
.more-treat__icon {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-ink); transition: transform .5s var(--spring), background-color .3s var(--ease), color .3s var(--ease);
}
.more-treat[open] .more-treat__icon { transform: rotate(45deg); background: var(--ink); color: #fff; }
.more-treat__text strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.more-treat__text small { display: block; font-size: .8125rem; color: var(--muted); }
.more-treat__count { padding: 4px 10px; border-radius: 999px; background: var(--teal-ink); color: #fff; font-size: .75rem; font-weight: 600; white-space: nowrap; animation: pop .4s var(--spring); }
.more-treat__chev { color: var(--muted); transition: transform .35s var(--ease); }
.more-treat[open] .more-treat__chev { transform: rotate(180deg); }
.more-treat__summary:hover .more-treat__text strong { color: var(--teal-ink); }
.more-treat__body { padding: 4px 18px 20px; border-top: 1px solid var(--line); }
.more-treat[open] .more-treat__body { animation: fade-up .45s var(--ease-out); }
.more-treat__search {
  position: relative; display: flex; align-items: center; gap: 10px; margin: 14px 0 6px;
  padding: 0 14px; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 999px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.more-treat__search:focus-within { border-color: var(--teal-ink); background: var(--surface); }
.more-treat__search .icon { color: var(--teal-ink); flex-shrink: 0; }
.more-treat__search input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font-size: .9375rem; outline: none; }
.more-treat__group { margin-top: 16px; }
.more-treat__group[hidden] { display: none; }
.more-treat__label { margin-bottom: 8px; font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.pills--compact { gap: 6px; }
.pills--compact .pill span { padding: 8px 14px; font-size: .8438rem; }
.pills--compact .pill input:checked + span::before {
  content: ""; width: 7px; height: 4px; margin-right: 2px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}
.pill[hidden] { display: none; }
.more-treat__empty { margin-top: 16px; padding: 14px 16px; background: var(--bg); font-size: .875rem; color: var(--muted); }
@media (max-width: 560px) {
  .more-treat__summary { grid-template-columns: 36px 1fr auto; padding: 12px 14px; }
  .more-treat__icon { width: 36px; height: 36px; }
  .more-treat__chev { display: none; }
  .more-treat__body { padding: 2px 14px 16px; }
}
