/* ==========================================================================
   DELEGATA — Medical Concierge & Medical Tourism
   Design system: deep teal + warm caramel/gold + warm white
   Signature motif: the guiding star (wayfinding across medical journeys)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — teal */
  --teal-900: #0c2624;
  --teal-800: #11332f;
  --teal-700: #184540;
  --teal-600: #1f564f;
  --ink:      #122f2c;

  /* Brand — caramel / gold */
  --gold-100: #f2e6d6;
  --gold-300: #ddb588;
  --gold:     #c0894e;
  --gold-600: #b07a3f;
  --gold-700: #98662f;

  /* Neutrals — warm */
  --bg:        #ffffff;
  --bg-soft:   #f8f6f1;
  --bg-warm:   #faf7f1;
  --paper:     #fffdf9;
  --line:      #e9e3d7;
  --line-cool: #dde6e3;

  /* Text */
  --text:      #3b4543;
  --text-soft: #5d6764;
  --muted:     #8b918d;

  /* On dark */
  --on-dark:      #eef4f1;
  --on-dark-soft: #aebfb9;
  --on-dark-mut:  #7e928c;

  /* Radius */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --pill: 999px;

  /* Shadow (teal-tinted, soft) */
  --sh-sm: 0 2px 8px rgba(12, 38, 36, .06);
  --sh:    0 10px 30px rgba(12, 38, 36, .08);
  --sh-lg: 0 24px 60px rgba(12, 38, 36, .14);
  --sh-gold: 0 14px 30px rgba(192, 137, 78, .26);

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --nav-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.h-display { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; }
.h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-soft); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); display: inline-block; }
.eyebrow.is-center::after { content: ""; width: 22px; height: 1.5px; background: var(--gold); display: inline-block; }
.text-gold { color: var(--gold-600); }
.muted { color: var(--muted); }

/* ---------- 4. Layout primitives ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.soft { background: var(--bg-soft); }
.section.warm { background: var(--bg-warm); }
.section.dark { background: var(--teal-800); color: var(--on-dark); }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2, .section-head .h1 { margin-top: 16px; }
.section-head .lead { margin-top: 16px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px; border-radius: var(--pill);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--sh-gold); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(192,137,78,.34); }
.btn-teal { background: var(--teal-700); color: #fff; }
.btn-teal:hover { background: var(--teal-600); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-700); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s, height .35s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.brand .star { width: 26px; height: 26px; flex: none; }
.brand-name { color: #fff; transition: color .35s; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 16px; border-radius: var(--pill);
  font-weight: 600; font-size: .96rem; color: rgba(255,255,255,.92);
  transition: color .25s, background .25s;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav-cta { margin-left: 10px; }

/* dropdown */
.has-drop { position: relative; }
.drop-toggle { display: inline-flex; align-items: center; gap: 6px; }
.drop-toggle .chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.has-drop:hover .drop-toggle .chev, .has-drop.open .drop-toggle .chev { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.has-drop:hover .drop, .has-drop.open .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 12px; }
.drop-item { display: flex; gap: 13px; align-items: flex-start; padding: 12px 13px; border-radius: var(--r); transition: background .2s; }
.drop-item:hover { background: var(--bg-soft); }
.drop-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); }
.drop-ic svg { width: 20px; height: 20px; }
.drop-t { font-weight: 700; color: var(--ink); font-size: .98rem; }
.drop-d { font-size: .82rem; color: var(--text-soft); line-height: 1.4; }

/* scrolled / solid header */
.site-header.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); box-shadow: var(--sh-sm); height: 72px; }
.site-header.solid .brand-name { color: var(--ink); }
.site-header.solid .nav-link { color: var(--text); }
.site-header.solid .nav-link:hover, .site-header.solid .nav-link.active { color: var(--ink); }
.site-header.solid .burger span { background: var(--ink); }
/* pages without a dark hero use solid header from the start */
body.header-solid .site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); box-shadow: var(--sh-sm); }
body.header-solid .brand-name { color: var(--ink); }
body.header-solid .nav-link { color: var(--text); }
body.header-solid .burger span { background: var(--ink); }

/* burger + mobile */
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 101; background: var(--teal-800); color: var(--on-dark);
  padding: 72px var(--gut) 40px; overflow-y: auto;
  transform: translateY(-100%); transition: transform .4s var(--ease); visibility: hidden;
}
.mobile-nav.open { transform: translateY(0); visibility: visible; }
.mobile-nav-close {
  position: absolute; top: 14px; right: 16px;
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; transition: background .2s ease;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.22); }
.mobile-nav.open ~ * .burger,
body:has(.mobile-nav.open) .burger { opacity: 0; pointer-events: none; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 1.3rem; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav .sub a { font-size: 1rem; font-weight: 600; color: var(--on-dark-soft); padding-left: 18px; border: none; }
.mobile-nav .sub { padding: 4px 0 10px; }
.m-cta { margin-top: 26px; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero.compact { min-height: 64vh; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background-color: var(--teal-800); overflow: hidden; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,28,26,.62) 0%, rgba(8,28,26,.28) 32%, rgba(8,28,26,.55) 72%, rgba(8,28,26,.86) 100%),
    linear-gradient(95deg, rgba(8,28,26,.55), rgba(8,28,26,.05));
}
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.hero-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 1; opacity: 0; transition: opacity .8s ease; display: block; }
.hero-bg-video.is-ready { opacity: 1; }
.hero-inner { width: 100%; padding-bottom: clamp(70px, 11vw, 150px); padding-top: calc(var(--nav-h) + 24px); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,.9); max-width: 56ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-300); }

/* star atmosphere on hero - removed */

/* ---------- 8. Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--teal-800); color: var(--on-dark); border-radius: var(--r-lg);
  overflow: hidden;
}
.stats.floating { margin-top: clamp(-60px, -7vw, -80px); position: relative; z-index: 5; box-shadow: var(--sh-lg); }
.stats.on-light { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh); }
.stat { display: flex; align-items: center; gap: 16px; padding: 26px clamp(18px, 2.5vw, 34px); position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(255,255,255,.14); }
.stats.on-light .stat + .stat::before { background: var(--line); }
.stat-ic { width: 50px; height: 50px; flex: none; border-radius: var(--pill); background: var(--gold); color: #fff; display: grid; place-items: center; }
.stat-ic svg { width: 24px; height: 24px; }
.stat-num { font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; }
.stats.on-light .stat-num { color: var(--ink); }
.stat-lab { font-size: .86rem; color: var(--on-dark-soft); margin-top: 4px; }
.stats.on-light .stat-lab { color: var(--text-soft); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } .stat + .stat::before { left: 22%; right: 22%; top: 0; bottom: auto; width: auto; height: 1px; } }

/* ---------- 9. Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--gold-300); }
.card .ic { width: 52px; height: 52px; border-radius: var(--r); background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .97rem; }

.card-dark { background: var(--teal-700); border: 1px solid rgba(255,255,255,.08); color: var(--on-dark); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--on-dark-soft); }
.card-dark .ic { background: rgba(255,255,255,.08); color: var(--gold-300); }
.card-dark:hover { border-color: rgba(255,255,255,.2); }

/* check list */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.checks .ck { width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: var(--pill); background: var(--gold); color: #fff; display: grid; place-items: center; }
.checks .ck svg { width: 13px; height: 13px; }
.checks.on-dark .ck { background: rgba(255,255,255,.14); color: var(--gold-300); }
.checks.on-dark li { color: var(--on-dark-soft); }

/* feature row (icon + heading + text inline) */
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .ic { width: 46px; height: 46px; flex: none; border-radius: var(--r); background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; }
.feat .ic svg { width: 23px; height: 23px; }
.feat h4 { font-size: 1.02rem; margin-bottom: 5px; }
.feat p { font-size: .92rem; color: var(--text-soft); }

/* ---------- 10. Split media ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip { direction: rtl; } .split.flip > * { direction: ltr; }
.media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--teal-700); min-height: 360px; box-shadow: var(--sh); }
.media .ph { position: absolute; inset: 0; background-size: cover; background-position: center; }
.media .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(12,38,36,.06), rgba(12,38,36,.34)); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .media { min-height: 280px; } }

/* ---------- 11. Process flow (numbered journey) ---------- */
.flow { position: relative; }
.flow::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--gold), var(--teal-700)); }
.flow-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 26px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-node { width: 56px; height: 56px; border-radius: var(--pill); background: var(--teal-800); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; z-index: 1; box-shadow: 0 0 0 6px var(--bg); position: relative; }
.flow-step:first-child .flow-node { background: var(--gold); }
.flow-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; transition: box-shadow .3s, transform .3s; }
.flow-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.flow-card .top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.flow-card h3 { font-size: 1.12rem; }
.flow-tag { font-size: .76rem; font-weight: 700; padding: 5px 12px; border-radius: var(--pill); background: var(--teal-800); color: var(--on-dark); white-space: nowrap; letter-spacing: .02em; }
.flow-tag.gold { background: var(--gold-100); color: var(--gold-700); }
.flow-card p { color: var(--text-soft); font-size: .95rem; margin-top: 6px; }
@media (max-width: 560px) {
  .flow::before { left: 21px; }
  .flow-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .flow-node { width: 44px; height: 44px; font-size: 1rem; box-shadow: 0 0 0 5px var(--bg); }
}

/* ---------- 12. Membership-style step blocks ---------- */
.journey { position: relative; display: grid; gap: 22px; }
.j-step { display: grid; grid-template-columns: 58px 1fr; gap: 22px; }
.j-rail { display: grid; justify-items: center; gap: 8px; }
.j-num { width: 52px; height: 52px; border-radius: var(--pill); background: var(--teal-800); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 0 0 6px var(--bg-soft); }
.j-line { width: 2px; flex: 1; background: var(--line); min-height: 20px; }
.j-step:last-child .j-line { display: none; }
.j-body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 28px); }
.j-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.j-head h3 { font-size: 1.2rem; }
.j-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .j-items { grid-template-columns: 1fr; } .j-step { grid-template-columns: 44px 1fr; gap: 16px; } .j-num { width: 44px; height: 44px; } }

/* ---------- 13. Comparison table ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: .92rem; }
table.cmp thead th { font-weight: 700; color: var(--ink); background: var(--bg-soft); position: sticky; top: 0; }
table.cmp tbody th { text-align: left; font-weight: 600; color: var(--text); }
table.cmp .col-feature { width: 26%; }
table.cmp .hl { background: rgba(192,137,78,.07); }
table.cmp thead .hl { background: var(--gold-100); }
table.cmp .yes { color: var(--gold-600); font-weight: 700; }
table.cmp .no { color: var(--muted); }
.badge-pop { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: var(--pill); background: var(--gold); color: #fff; margin-left: 8px; vertical-align: middle; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 18px; font-size: .82rem; color: var(--text-soft); }
.cmp-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cmp-legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* ---------- 14. Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 38px); box-shadow: var(--sh); }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--gold-600); }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: -2px; }
.input, .select, .textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); font-size: .97rem; transition: border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: #aab2ad; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(192,137,78,.12); }
.textarea { resize: vertical; min-height: 120px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b918d' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 42px; cursor: pointer; }
.cta-row { display: flex; justify-content: space-between; align-items: baseline; }
.counter { font-size: .76rem; color: var(--muted); }

/* phone selector */
.tel-group { display: flex; }
.tel-code { position: relative; }
.tel-btn { display: flex; align-items: center; gap: 7px; height: 100%; padding: 0 12px; border: 1.5px solid var(--line); border-right: none; border-radius: var(--r) 0 0 var(--r); background: #fff; font-size: .95rem; white-space: nowrap; }
.tel-btn .flag { font-size: 1.15rem; line-height: 1; }
.tel-btn .chev { width: 13px; height: 13px; color: var(--muted); }
.tel-group .input { border-radius: 0 var(--r) var(--r) 0; }
.tel-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; width: 230px; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 6px; display: none; }
.tel-menu.open { display: block; }
.tel-opt { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: var(--r-sm); cursor: pointer; font-size: .9rem; }
.tel-opt:hover { background: var(--bg-soft); }
.tel-opt .flag { font-size: 1.15rem; }
.tel-opt .dial { margin-left: auto; color: var(--muted); }

/* checkbox chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1.5px solid var(--line); border-radius: var(--pill); font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; transition: all .2s; user-select: none; }
.chip label::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line-cool); display: inline-block; transition: all .2s; }
.chip input:checked + label { border-color: var(--gold); background: var(--gold-100); color: var(--gold-700); }
.chip input:checked + label::before { background: var(--gold); border-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
.chip input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }

.form-note { font-size: .82rem; color: var(--text-soft); margin-top: 4px; }
.form-msg { display: none; padding: 16px 18px; border-radius: var(--r); font-size: .95rem; margin-top: 6px; }
.form-msg.ok { display: block; background: rgba(37,211,102,.1); color: #137a3e; border: 1px solid rgba(37,211,102,.3); }
.form-msg.err { display: block; background: rgba(192,76,76,.08); color: #a13b3b; border: 1px solid rgba(192,76,76,.25); }

/* ---------- 15. Treatments grid ---------- */
.treat { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 860px) { .treat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .treat { grid-template-columns: 1fr; } }
.treat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.treat-card:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--gold-300); }
.treat-ic { width: 54px; height: 54px; border-radius: var(--r); background: linear-gradient(150deg, var(--gold-100), #fff); color: var(--gold-700); display: grid; place-items: center; border: 1px solid var(--gold-100); }
.treat-ic svg { width: 28px; height: 28px; }
.treat-card h4 { font-size: 1.08rem; }
.treat-card p { font-size: .92rem; color: var(--text-soft); }

/* ---------- 16. Destination sections ---------- */
.dest { scroll-margin-top: 90px; }
.dest-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff; min-height: 420px; display: flex; align-items: flex-end; box-shadow: var(--sh); }
.dest-hero .ph { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--teal-700); z-index: 0; }
.dest-hero .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,28,26,.15) 0%, rgba(8,28,26,.35) 45%, rgba(8,28,26,.86) 100%); }
.dest-hero-in { position: relative; z-index: 1; padding: clamp(28px, 4vw, 44px); width: 100%; }
.dest-flag { font-size: 2.4rem; line-height: 1; margin-bottom: 12px; }
.dest-hero h2 { color: #fff; }
.dest-hero .tagline { color: rgba(255,255,255,.92); font-size: 1.05rem; margin-top: 10px; max-width: 52ch; }
.dest-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.dest-pill { font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: var(--pill); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); }

/* ---------- 17. Reviews ---------- */
.reviews-band { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .reviews-band { grid-template-columns: 1fr; gap: 22px; } }
.rev-score { text-align: center; }
.rev-score .ex { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-size: 1.1rem; }
.rev-stars { color: var(--gold); font-size: 1.5rem; letter-spacing: 2px; margin: 6px 0; }
.rev-score .cnt { font-size: .85rem; color: var(--text-soft); }
.rev-score .g { font-weight: 700; margin-top: 6px; font-size: .95rem; }
.rev-score .g span:nth-child(1){color:#4285F4}.rev-score .g span:nth-child(2){color:#EA4335}.rev-score .g span:nth-child(3){color:#FBBC05}.rev-score .g span:nth-child(4){color:#4285F4}.rev-score .g span:nth-child(5){color:#34A853}.rev-score .g span:nth-child(6){color:#EA4335}
.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rev-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; scroll-snap-align: start; }
.rev-top { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.rev-av { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-weight: 700; }
.rev-name { font-weight: 700; font-size: .95rem; color: var(--ink); }
.rev-when { font-size: .78rem; color: var(--muted); }
.rev-card .stars { color: var(--gold); font-size: .95rem; letter-spacing: 1px; margin-bottom: 8px; }
.rev-card p { font-size: .92rem; color: var(--text-soft); }

/* ---------- 18. CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; padding: clamp(36px, 5vw, 64px); background: linear-gradient(100deg, var(--teal-800) 0%, var(--teal-700) 42%, var(--gold-600) 130%); }
.cta-banner h2 { color: #fff; max-width: 18ch; }
.cta-banner p { color: rgba(255,255,255,.88); margin-top: 12px; max-width: 56ch; }
.cta-banner .acts { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-star { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); width: clamp(220px, 32vw, 420px); opacity: .9; color: rgba(255,255,255,.22); pointer-events: none; }
@media (max-width: 700px) { .cta-star { opacity: .14; right: -60px; } }

/* ---------- 19. Partners marquee ---------- */
.marquee { overflow: hidden; -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; gap: 60px; width: max-content; animation: scrollx 32s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .logo { font-weight: 800; color: var(--muted); font-size: 1.15rem; letter-spacing: .02em; opacity: .7; white-space: nowrap; display: inline-flex; align-items: center; gap: 9px; }
.marquee-track .logo svg { width: 26px; height: 26px; color: var(--teal-600); opacity: .8; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand .brand-name { color: var(--ink); }
.foot-brand p { color: var(--text-soft); font-size: .95rem; max-width: 36ch; }
.foot-contacts { display: grid; gap: 18px; }
.foot-c { display: flex; gap: 13px; align-items: flex-start; }
.foot-c .ic { width: 40px; height: 40px; flex: none; border-radius: var(--pill); background: var(--gold); color: #fff; display: grid; place-items: center; }
.foot-c .ic svg { width: 19px; height: 19px; }
.foot-c .k { font-size: .78rem; color: var(--muted); }
.foot-c .v { font-weight: 600; color: var(--ink); font-size: .96rem; }
.foot-col h4 { font-size: .95rem; margin-bottom: 14px; color: var(--ink); }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { color: var(--text-soft); font-size: .95rem; transition: color .2s; }
.foot-col a:hover { color: var(--gold-700); }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-800); color: #fff; display: grid; place-items: center; transition: background .25s, transform .25s; }
.foot-social a:hover { background: var(--gold); transform: translateY(-2px); }
.foot-social svg { width: 18px; height: 18px; }
.foot-copy { color: var(--muted); font-size: .85rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--pill); overflow: hidden; }
.lang-switch button { padding: 7px 14px; font-size: .82rem; font-weight: 700; color: var(--text-soft); transition: background .2s, color .2s; }
.lang-switch button.active { background: var(--ink); color: #fff; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- 21. WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- 22. Misc / pills / value ---------- */
.pill-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; padding: 7px 14px; border-radius: var(--pill); background: var(--gold-100); color: var(--gold-700); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
@media (max-width: 820px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.value-card .ic { width: 50px; height: 50px; border-radius: var(--pill); background: rgba(255,255,255,.08); color: var(--gold-300); display: grid; place-items: center; margin-bottom: 16px; }
.value-card .ic svg { width: 24px; height: 24px; }
.value-card h4 { color: #fff; margin-bottom: 8px; }
.value-card p { color: var(--on-dark-soft); font-size: .94rem; }

.note-box { background: var(--teal-800); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.note-box h4 { color: #fff; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }

.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .fee-grid { grid-template-columns: 1fr; } }
.fee-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--paper); }
.fee-card .lab { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-600); }
.fee-card .amt { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin: 6px 0; }
.fee-card p { font-size: .9rem; color: var(--text-soft); }

/* ---------- 23. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- 24. Helpers ---------- */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.hide-m { } @media (max-width: 900px) { .hide-m { display: none !important; } }
@media (max-width: 900px) { .nav { display: none; } .burger { display: flex; } }

/* ---------- 25. Timeline (About) ---------- */
.tl-item { display: grid; grid-template-columns: 165px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: none; }
.tl-date { font-weight: 700; font-size: .86rem; color: var(--gold-600); }
.tl-item h4 { font-size: 1rem; }
.tl-item .sub { font-size: .92rem; color: var(--text-soft); margin-top: 3px; }
.tl-item .place { font-size: .84rem; color: var(--muted); margin-top: 3px; }
@media (max-width: 560px) { .tl-item { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   v2 ADDITIONS — CTA shine, partner logos, service carousel, detailed
   comparison table, legacy popup, scroll journey timeline, language bubble,
   founder photo. Appended; later rules win where they reference earlier ones.
   ========================================================================== */

/* ---- Brand logo (header/footer) ---- */
.brand-logo { height: 42px; width: auto; display: block; }
/* Over the transparent hero header the logo would blend in, so show it white;
   on the solid (scrolled / inner-page) header show the original colours. */
.site-header .brand-logo { filter: brightness(0) invert(1); transition: filter .25s var(--ease), height .25s var(--ease); }
.site-header.solid .brand-logo,
body.header-solid .site-header .brand-logo { filter: none; height: 38px; }
.brand-logo-foot { height: 80px; }   /* footer is dark -> white logo */
@media (max-width: 560px){ .brand-logo { height: 60px; } .site-header.solid .brand-logo, body.header-solid .site-header .brand-logo { height: 34px; } }

/* ---- CTA shine animation (attract sweep) ---- */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; left: -150%; width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.18) 40%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.18) 60%, transparent 100%);
  transform: skewX(-18deg); z-index: 2; pointer-events: none;
  animation: btnShine 4.6s ease-in-out infinite; animation-delay: 1.2s;
}
.btn-shine:hover::after { animation: btnShineHover .9s ease forwards; }
@keyframes btnShine {
  0% { left: -150%; } 18% { left: 150%; } 100% { left: 150%; }
}
@keyframes btnShineHover { 0% { left: -150%; } 100% { left: 150%; } }
@media (prefers-reduced-motion: reduce){ .btn-shine::after { animation: none; opacity: 0; } }

/* wide / no-wrap CTA */
.btn-wide { white-space: nowrap; min-width: 280px; justify-content: center; }
@media (max-width: 520px){ .btn-wide { min-width: 0; width: 100%; } }

/* ---- Partner logos with text fallback ---- */
.marquee .logo { display: inline-flex; align-items: center; height: 46px; }
.logo .logo-img { height: 34px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: opacity .3s, filter .3s; }
.marquee .logo:hover .logo-img { filter: grayscale(0); opacity: 1; }
.logo .logo-name { display: none; align-items: center; gap: 8px; }
.logo.logo-text .logo-img { display: none; }
.logo.logo-text .logo-name { display: inline-flex; }

/* ---- Defensive: keep heading icons small (root-fix for giant inpatient icon) ---- */
.note-box h4 svg, .mgmt-card h4 svg { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: -3px; margin-right: 8px; }

/* ==========================================================================
   PEACE-OF-MIND SERVICE CARDS
   ========================================================================== */
.dlgd { display: none; }
@media (min-width: 1024px){ .dlgd { display: block; } }
.dlgd-wrap { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 56px; }
.dlgd-track { display: flex; gap: 28px; align-items: stretch; overflow-x: auto; padding: 38px 4px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab; }
.dlgd-track::-webkit-scrollbar { display: none; }
.dlgd-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.dlgd-card { flex: 0 0 372px; width: 372px; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--sh); display: flex; flex-direction: column; scroll-snap-align: start; transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s ease; }
.dlgd-track:not(.dragging) .dlgd-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--sh-lg); }
.dlgd-card-header { position: relative; height: 196px; overflow: hidden; }
.dlgd-card-header img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.dlgd-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,38,36,.94), rgba(12,38,36,.62)); display: flex; align-items: center; justify-content: center; padding: 20px; }
.dlgd-card-title { font-size: 1.4rem; font-weight: 800; line-height: 1.2; text-align: center; color: #fff; letter-spacing: -.01em; }
.dlgd-card-content { padding: 24px; background: #fff; flex: 1; max-height: 322px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gold-300) #f1f1f1; }
.dlgd-card-content::-webkit-scrollbar { width: 6px; }
.dlgd-card-content::-webkit-scrollbar-track { background: #f4efe7; border-radius: 10px; }
.dlgd-card-content::-webkit-scrollbar-thumb { background: var(--gold-300); border-radius: 10px; }
.dlgd-list, .dlgm-list { list-style: none; margin: 0; padding: 0; }
.dlgd-list li, .dlgm-list li { padding: 11px 0 11px 28px; position: relative; color: var(--text-soft); font-size: .9rem; line-height: 1.55; border-bottom: 1px solid #f1ece3; }
.dlgd-list li:last-child, .dlgm-list li:last-child { border-bottom: none; }
.dlgd-list li::before, .dlgm-list li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--gold); font-weight: 800; font-size: .85rem; }
.dlgd-cat, .dlgm-cat { margin-bottom: 18px; }
.dlgd-cat:last-child, .dlgm-cat:last-child { margin-bottom: 0; }
.dlgd-cat-title, .dlgm-cat-title { font-size: .98rem; font-weight: 800; color: var(--teal-800); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--gold-300); }
.dlgd-badge, .dlgm-badge { display: inline-block; background: var(--gold-100); color: var(--gold-700); padding: 5px 13px; border-radius: var(--pill); font-size: .75rem; font-weight: 700; margin-top: 12px; }
.dlgd-nav { position: absolute; top: calc(50% - 9px); transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; color: var(--teal-800); transition: all .25s ease; z-index: 5; }
.dlgd-nav:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-50%) scale(1.08); }
.dlgd-nav.hidden { opacity: 0; pointer-events: none; }
.dlgd-nav-left { left: 0; } .dlgd-nav-right { right: 0; }
.dlgd-ind { text-align: center; margin-top: 16px; color: var(--muted); font-size: .82rem; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dlgd-dots { display: flex; gap: 8px; }
.dlgd-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all .3s ease; cursor: pointer; }
.dlgd-dots .dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

.dlgm { display: none; }
@media (max-width: 1023px){ .dlgm { display: block; } }
.dlgm-stack { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 480px; margin: 0 auto; padding: 8px 0; }
@media (min-width: 680px) and (max-width: 1023px){ .dlgm-stack { grid-template-columns: 1fr 1fr; max-width: 920px; align-items: start; } }
.dlgm-card { border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--sh); display: flex; flex-direction: column; opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.dlgm-card.in-view { opacity: 1; transform: none; }
.dlgm-card-header { position: relative; height: 186px; overflow: hidden; }
.dlgm-card-header img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.dlgm-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,38,36,.94), rgba(12,38,36,.62)); display: flex; align-items: center; justify-content: center; padding: 18px; }
.dlgm-card-title { font-size: 1.2rem; font-weight: 800; line-height: 1.2; text-align: center; color: #fff; }
.dlgm-card-content { padding: 20px; background: #fff; }

/* ==========================================================================
   DETAILED COMPARISON TABLE (desktop) + MOBILE TABS
   ========================================================================== */
.comparison-section { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); -webkit-overflow-scrolling: touch; }
@media (max-width: 1024px){ .comparison-section { display: none; } }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.comparison-table th, .comparison-table td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: middle; }
.comparison-table thead th { font-weight: 800; color: var(--ink); background: var(--bg-soft); position: sticky; top: 0; z-index: 1; }
.comparison-table thead th.featured { background: var(--gold-100); color: var(--gold-700); }
.comparison-table .badge { display: inline-block; margin-left: 6px; background: var(--gold); color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--pill); vertical-align: middle; }
.comparison-table .feature-col { text-align: left; width: 30%; font-weight: 600; color: var(--text); }
.comparison-table tbody td.featured-col { background: rgba(192,137,78,.06); }
.comparison-table tbody tr:hover td { background: rgba(12,38,36,.025); }
.comparison-table tbody tr:hover td.featured-col { background: rgba(192,137,78,.1); }
.icon-check { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); position: relative; vertical-align: middle; }
.icon-check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hl-text { color: var(--gold-700); font-weight: 700; font-size: .86rem; }
.cmp-dash { color: var(--muted); }
.cmp-cta-row td { padding-top: 22px; padding-bottom: 22px; }
.plan-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: var(--pill); font-weight: 700; font-size: .9rem; border: 1.5px solid var(--teal-800); color: var(--teal-800); background: transparent; cursor: pointer; transition: all .2s ease; white-space: nowrap; }
.plan-btn:hover { background: var(--teal-800); color: #fff; }
.plan-btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: var(--sh-gold); }
.plan-btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }

.mp-mobile { display: none; }
@media (max-width: 1024px){ .mp-mobile { display: block; } }
.mp-tabs { display: flex; gap: 8px; background: var(--bg-soft); padding: 6px; border-radius: var(--pill); border: 1px solid var(--line); }
.mp-tab { flex: 1; padding: 11px 8px; border: none; background: transparent; border-radius: var(--pill); font-weight: 700; font-size: .9rem; color: var(--text-soft); cursor: pointer; transition: all .2s ease; }
.mp-tab.active { background: #fff; color: var(--teal-800); box-shadow: var(--sh-sm); }
.mp-cards { margin-top: 18px; }
.mp-card { display: none; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--sh-sm); }
.mp-card.active { display: block; }
.mp-head { padding: 20px 22px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mp-head-featured { background: linear-gradient(135deg, var(--gold-100), #fff); }
.mp-head h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.mp-head p { color: var(--text-soft); font-size: .88rem; margin-top: 4px; }
.mp-badge { display: inline-block; margin-left: 6px; background: var(--gold); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--pill); vertical-align: middle; }
.mp-body { padding: 8px 22px; }
.mp-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mp-row:last-child { border-bottom: none; }
.mp-k { color: var(--text-soft); font-size: .86rem; flex: 1; }
.mp-v { text-align: right; font-size: .88rem; font-weight: 600; color: var(--text); max-width: 55%; }
.mp-yes { color: var(--gold-700); } .mp-yes::before { content: "✓ "; font-weight: 800; }
.mp-no { color: var(--muted); font-weight: 500; }
.mp-hi { color: var(--gold-700); font-weight: 700; }
.mp-foot { padding: 20px 22px; border-top: 1px solid var(--line); }
.mp-foot .plan-btn { width: 100%; }

/* shared scroll hint */
.cmp-hint { display: none; text-align: center; color: var(--muted); font-size: .8rem; margin-bottom: 10px; }
.cmp-logo { height: 26px; width: auto; display: inline-block; }
@media (max-width: 760px){ .cmp-hint { display: block; } }

/* ==========================================================================
   LEGACY POPUP
   ========================================================================== */
.legacy-overlay { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(12,38,36,.55); backdrop-filter: blur(4px); }
.legacy-overlay.open { display: flex; }
.legacy-modal { background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; max-width: 440px; padding: clamp(24px,4vw,36px); position: relative; max-height: 92vh; overflow-y: auto; animation: lgPop .3s cubic-bezier(.2,.8,.2,1); }
@keyframes lgPop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.legacy-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; background: var(--bg-soft); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--text-soft); cursor: pointer; transition: all .2s; }
.legacy-close:hover { background: var(--line); color: var(--ink); }
.legacy-modal h3 { font-size: 1.4rem; font-weight: 800; color: var(--ink); padding-right: 30px; }
.legacy-sub { color: var(--text-soft); font-size: .92rem; margin: 6px 0 18px; }
.legacy-modal .field { margin-bottom: 14px; }
.legacy-modal label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--text); }

/* ==========================================================================
   YOUR JOURNEY — scroll-animated timeline
   ========================================================================== */
.jtl { position: relative; max-width: 940px; margin: 0 auto; padding-left: 0; }
.jtl-rail { position: absolute; left: 27px; top: 14px; bottom: 14px; width: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.jtl-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: linear-gradient(180deg, var(--gold), var(--gold-600)); border-radius: 3px; transition: height .15s linear; }
.jtl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 0 0 40px; }
.jtl-step:last-child { padding-bottom: 0; }
.jtl-marker { position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: flex; align-items: center; justify-content: center; transition: border-color .4s ease, background .4s ease, transform .4s ease; }
.jtl-num { font-size: 1.3rem; font-weight: 800; color: var(--muted); transition: color .4s ease; }
.jtl-step.in .jtl-marker { border-color: var(--gold); background: var(--gold); transform: scale(1.04); box-shadow: var(--sh-gold); }
.jtl-step.in .jtl-num { color: #fff; }
.jtl-content { padding-top: 2px; }
.jtl-top { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.jtl-top h3 { font-size: 1.28rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.jtl-week { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-100); color: var(--gold-700); font-weight: 700; font-size: .78rem; padding: 5px 13px; border-radius: var(--pill); white-space: nowrap; }
.jtl-week svg { width: 15px; height: 15px; }
.jtl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.jtl-item { display: flex; gap: 12px; align-items: flex-start; }
.jtl-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-700); }
.jtl-ic svg { width: 19px; height: 19px; }
.jtl-item h4 { font-size: .96rem; font-weight: 700; color: var(--text); }
.jtl-item p { font-size: .86rem; color: var(--text-soft); margin-top: 2px; line-height: 1.45; }
@media (max-width: 720px){
  .jtl-rail { left: 22px; }
  .jtl-step { grid-template-columns: 46px 1fr; gap: 16px; padding-bottom: 32px; }
  .jtl-marker { width: 46px; height: 46px; }
  .jtl-num { font-size: 1.1rem; }
  .jtl-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ==========================================================================
   FLOATING LANGUAGE BUBBLE
   ========================================================================== */
.lang-fab { position: fixed; left: 22px; bottom: 24px; z-index: 900; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border: none; border-radius: var(--pill); background: var(--teal-800); color: #fff; box-shadow: var(--sh-lg); cursor: pointer; font-family: var(--font); font-weight: 700; font-size: .92rem; transition: transform .2s ease, background .2s ease; }
.lang-fab:hover { transform: translateY(-2px); background: var(--teal-700); }
.lang-fab svg { width: 20px; height: 20px; }
.lang-fab-label { letter-spacing: .03em; }
@media (max-width: 560px){ .lang-fab { left: 16px; bottom: 18px; height: 46px; padding: 0 15px 0 12px; font-size: .86rem; } }

/* ==========================================================================
   FOUNDER PHOTO
   ========================================================================== */
.founder-media { display: block; }
.founder-frame { position: relative; border-radius: var(--r-lg); overflow: visible; }
.founder-ph { aspect-ratio: 4/5; border-radius: var(--r-lg); background: var(--teal-700) center/cover no-repeat; box-shadow: var(--sh-lg); position: relative; }
.founder-frame::before { content: ""; position: absolute; inset: -10px -10px 16px 16px; border: 2px solid var(--gold-300); border-radius: var(--r-lg); z-index: -1; }
.founder-star { position: absolute; right: -14px; top: -14px; width: 64px; height: 64px; color: var(--gold); filter: drop-shadow(0 6px 14px rgba(192,137,78,.4)); }
.founder-cap { margin-top: 22px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.founder-cap strong { display: block; font-size: 1rem; color: var(--ink); font-weight: 800; }
.founder-cap span { display: block; font-size: .84rem; color: var(--gold-700); font-weight: 600; margin-top: 2px; }

/* ---- Apply attract-shine to ALL primary CTAs site-wide (gold + teal) ---- */
.btn-gold, .btn-teal { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after, .btn-teal::after {
  content: ""; position: absolute; top: 0; left: -150%; width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.16) 40%, rgba(255,255,255,.5) 50%, rgba(255,255,255,.16) 60%, transparent 100%);
  transform: skewX(-18deg); z-index: 2; pointer-events: none;
  animation: btnShine 4.8s ease-in-out infinite; animation-delay: 1.6s;
}
.btn-gold > *, .btn-teal > * { position: relative; z-index: 3; }
.btn-gold:hover::after, .btn-teal:hover::after { animation: btnShineHover .9s ease forwards; }
@media (prefers-reduced-motion: reduce){ .btn-gold::after, .btn-teal::after { animation: none; opacity: 0; } }

/* ==========================================================================
   v3 — Medical Tourism mega menu (desktop) + difference-table mobile cards
   ========================================================================== */

/* ---- Mega menu (shows on the desktop nav, ≥901px) ---- */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(720px, calc(100vw - 32px));
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 14px; display: grid; gap: 12px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 60;
}
.has-mega:hover .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 18px; }
.mega-feature { display: grid; grid-template-columns: 158px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--bg-soft); transition: background .2s; }
.mega-feature:hover { background: var(--gold-100); }
.mega-feature-img { height: 110px; border-radius: 12px; background: var(--teal-700) center/cover no-repeat; }
.mega-feature-cap { display: flex; flex-direction: column; gap: 4px; }
.mega-eyebrow { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.mega-feature-cap strong { font-size: 1.04rem; color: var(--ink); line-height: 1.25; }
.mega-sub { font-size: .82rem; color: var(--text-soft); line-height: 1.45; }
.mega-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; color: var(--gold-700); white-space: nowrap; margin-top: 2px; }
.mega-go svg { width: 16px; height: 16px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mega-card { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.mega-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--gold-300); }
.mega-card-img { display: block; position: relative; height: 96px; background: var(--teal-700) center/cover no-repeat; }
.mega-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,38,36,.35), transparent 55%); }
.mega-flag { position: absolute; left: 10px; top: 10px; z-index: 1; font-size: 1.35rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }
.mega-card-cap { display: block; padding: 11px 13px 14px; }
.mega-card-cap strong { display: block; font-size: .98rem; color: var(--ink); margin-bottom: 3px; }
.mega-card-cap span { display: block; font-size: .8rem; color: var(--text-soft); line-height: 1.4; }
@media (max-width: 900px){ .mega { display: none; } }

/* ---- Difference table: mobile card view (≤1024px) ---- */
.dcmp-mobile { display: none; }
@media (max-width: 1024px){
  .dcmp-desktop { display: none; }
  .dcmp-mobile { display: grid; gap: 16px; }
}
.dcmp-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--sh-sm); }
.dcmp-feature { padding: 14px 18px; font-weight: 800; color: var(--ink); background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 1rem; }
.dcmp-win { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px; background: rgba(192,137,78,.09); border-bottom: 1px solid var(--line); }
.dcmp-win .dcmp-co { flex: 0 0 auto; }
.dcmp-logo { height: 20px; width: auto; display: block; }
.dcmp-win .dcmp-val { color: var(--ink); font-weight: 600; text-align: right; font-size: .9rem; }
.dcmp-win .yes { color: var(--gold-600); font-weight: 800; }
.dcmp-others { padding: 6px 18px 10px; }
.dcmp-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.dcmp-row:last-child { border-bottom: none; }
.dcmp-co { color: var(--text-soft); font-size: .84rem; font-weight: 600; flex: 0 0 44%; }
.dcmp-val { color: var(--text); font-size: .86rem; text-align: right; flex: 1; }