/* ===== Irisa — کلینیک تخصصی پروتز چشم ===== */
:root {
  /* ---- Palette: deep navy, muted sapphire, champagne gold, ivory ----
     Change colors here only; everything else references these tokens. */
  /* Neutrals */
  --ink: oklch(0.22 0.035 258);        /* headings, dark sections */
  --ink-2: oklch(0.34 0.03 258);       /* body copy on light */
  --ink-3: oklch(0.27 0.04 258);       /* raised surfaces on dark */
  --muted: oklch(0.52 0.018 258);      /* secondary text */
  --faint: oklch(0.68 0.012 80);       /* placeholders */
  --line: oklch(0.915 0.008 80);       /* hairlines */
  --line-2: oklch(0.83 0.012 80);      /* stronger lines, hover borders */
  --bg: oklch(0.982 0.005 85);         /* page background (ivory) */
  --surface: #FFFFFF;
  --white: #FFFFFF;
  /* Primary — muted sapphire */
  --blue: oklch(0.47 0.11 255);
  --blue-l: oklch(0.56 0.11 255);
  --blue-d: oklch(0.36 0.085 257);
  --tint: oklch(0.955 0.015 255);
  --tint-2: oklch(0.975 0.008 255);
  --tint-3: oklch(0.89 0.03 255);
  /* Accent — champagne gold */
  --gold: oklch(0.74 0.065 78);
  --gold-l: oklch(0.82 0.06 80);
  --gold-d: oklch(0.56 0.075 72);
  --gold-tint: oklch(0.96 0.025 82);
  /* On dark */
  --soft: oklch(0.76 0.02 258);
  --soft-2: oklch(0.62 0.025 258);
  --on-primary: oklch(0.9 0.025 255);
  /* Status */
  --success: oklch(0.5 0.09 165);
  --success-tint: oklch(0.95 0.035 165);
  --danger: oklch(0.58 0.14 25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 3vw, 40px);
  --sec-pad: clamp(64px, 7vw, 112px);
  --shadow-sm: 0 1px 2px rgba(14, 22, 48, 0.04), 0 2px 8px rgba(14, 22, 48, 0.04);
  --shadow-md: 0 2px 6px rgba(14, 22, 48, 0.04), 0 16px 40px rgba(14, 22, 48, 0.08);
  --shadow-lg: 0 4px 12px rgba(14, 22, 48, 0.05), 0 32px 80px rgba(14, 22, 48, 0.14);
  --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--blue);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-anchor: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: color-mix(in oklch, var(--blue) 18%, transparent); color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 999px; }
.field:focus-visible { border-radius: 14px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--faint); }
a { color: inherit; text-decoration: none; transition: color .2s, background .2s; }
a:hover { color: var(--blue); }
input, select, button { font-family: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }

.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: 300;
  font-style: normal;
  line-height: 1;
  font-size: 20px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  user-select: none;
}

@keyframes irisSpin { to { transform: rotate(360deg); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; border: none; cursor: pointer;
  transition: background .25s, color .25s, box-shadow .3s, transform .3s var(--ease), border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { font-size: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(-3px); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: 0 6px 18px rgba(14, 22, 48, 0.16); }
.btn-dark:hover { background: var(--blue); color: var(--white); box-shadow: 0 10px 26px color-mix(in oklch, var(--blue) 30%, transparent); }
.btn-blue {
  background: linear-gradient(180deg, var(--blue-l), var(--blue));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 34px color-mix(in oklch, var(--blue) 28%, transparent);
}
.btn-blue:hover { background: var(--blue-d); color: var(--white); box-shadow: 0 18px 40px color-mix(in oklch, var(--blue) 34%, transparent); }
.btn-outline { border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--line-2); color: var(--ink); }
.btn-outline .icon { color: var(--blue); font-size: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  border-bottom-color: color-mix(in oklch, var(--line) 90%, transparent);
  box-shadow: 0 8px 30px rgba(14, 22, 48, 0.05);
}
/* Height stays fixed when scrolled: changing it shifts the page mid-scroll and makes it jump */
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav a { position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ''; position: absolute; right: 0; left: 0; bottom: 0; height: 1.5px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--ink); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark span { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 4px var(--ink); }
.logo-text { font-weight: 800; font-size: 21px; }
.main-nav { display: flex; gap: 32px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.header-phone .icon { font-size: 19px; }
.header-cta { padding: 12px 22px; font-size: 14px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .header-phone { display: none; }
}
@media (max-width: 880px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 76px; right: 0; left: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: color-mix(in oklch, var(--bg) 97%, transparent);
    border-bottom: 1px solid var(--line);
    font-size: 16px; color: var(--ink);
    display: none;
  }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav a:last-child { border-bottom: none; }
  .site-header.nav-open .main-nav { display: flex; }
}
@media (max-width: 420px) {
  .header-cta { padding: 10px 16px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%; width: 55vw; height: 55vw; max-width: 760px; max-height: 760px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--tint-3) 55%, transparent), transparent);
}
.hero-inner {
  padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(32px, 3.5vw, 48px);
  display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; position: relative;
}
.hero-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero-copy > * { animation: heroIn 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 30px;
  padding: 7px 16px 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.hero-kicker .icon { font-size: 18px; color: var(--gold); }
.hero h1 { font-weight: 300; font-size: clamp(38px, 4vw, 60px); line-height: 1.25; margin: 0 0 26px; letter-spacing: -0.01em; }
.hero h1 b { font-weight: 800; color: var(--blue); }
.hero-lead { font-size: 18px; line-height: 2.05; color: var(--muted); margin: 0; max-width: 460px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* Primary hero CTA: dark pill with a two-line label and a blue arrow chip */
.btn-cta {
  display: inline-flex; align-items: center; gap: 18px; padding: 8px 26px 8px 8px; border-radius: 999px;
  background: var(--ink); color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 14px 34px rgba(14, 22, 48, 0.22);
  transition: background .3s, box-shadow .3s, transform .3s var(--ease);
}
.btn-cta:hover { color: #FFFFFF; background: var(--ink-3); transform: translateY(-2px); box-shadow: 0 20px 44px rgba(14, 22, 48, 0.28); }
.btn-cta:active { transform: translateY(0); }
.cta-text { display: grid; gap: 2px; line-height: 1.5; }
.cta-text b { font-weight: 700; font-size: 16px; }
.cta-text small { font-size: 12px; color: var(--soft); font-weight: 500; }
.cta-arrow {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, var(--blue-l), var(--blue));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform .4s var(--ease);
}
.cta-arrow .icon { font-size: 20px; transition: transform .4s var(--ease); }
.btn-cta:hover .cta-arrow { transform: scale(1.06); }
.btn-cta:hover .cta-arrow .icon { animation: arrowNudge .6s var(--ease); }
@keyframes arrowNudge { 0% { transform: none; } 45% { transform: translateX(-140%); } 46% { transform: translateX(140%); } 100% { transform: none; } }
.link-play { display: flex; align-items: center; gap: 8px; padding: 17px 10px; font-weight: 600; font-size: 15.5px; }
.link-play .icon { font-size: 22px; }
/* Stats: one white card, three columns with dividers */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.stat { padding: 20px 22px; display: grid; gap: 4px; justify-items: start; position: relative; }
.stat + .stat::before { content: ''; position: absolute; right: 0; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.stat-ic {
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px;
  background: var(--gold-tint); display: flex; align-items: center; justify-content: center;
}
.stat-ic .icon { font-size: 19px; color: var(--gold-d); }
.stat-v { display: flex; align-items: baseline; gap: 5px; font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-v i { font-style: normal; font-weight: 600; font-size: 14px; color: var(--blue); }
.stat-k { font-size: 12.5px; color: var(--muted); font-weight: 500; }

.hero-visual {
  flex: 1.35 1 520px; min-width: 0; position: relative;
  min-height: clamp(520px, 72vh, 700px);
  overflow: hidden; border-radius: 40px;
  background: radial-gradient(60% 55% at 50% 45%, #FFFFFF 0%, var(--tint) 65%, var(--tint-3) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), var(--shadow-md);
  animation: heroIn 1.2s .1s var(--ease) both;
}
.eye-stage { position: absolute; inset: 0; container-type: size; }
.ring { position: absolute; pointer-events: none; }
.ring-1 {
  left: 50%; top: 50%; width: 96cqmin; height: 96cqmin; margin: -48cqmin 0 0 -48cqmin;
  border-radius: 50%; border: 1px dashed color-mix(in oklch, var(--blue-l) 30%, transparent);
  animation: irisSpin 80s linear infinite;
}
.ring-2 {
  left: 50%; top: calc(50% + 24cqmin); width: 78cqmin; height: 15cqmin; transform: translateX(-50%);
  border-radius: 50%; border: 1px solid color-mix(in oklch, var(--blue-l) 35%, transparent);
}
.ring-3 {
  left: 50%; top: calc(50% + 33cqmin); width: 40cqmin; height: 6cqmin; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(14, 22, 48, 0.16), transparent);
}
/* pan-y: vertical swipes still scroll the page on touch screens; horizontal drags rotate the eye */
.eye-host { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.eye-host canvas { width: 100%; height: 100%; display: block; }
.eye-fallback {
  position: absolute; left: 50%; top: 50%; width: 62cqmin; height: 62cqmin; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #07070B 0 9%, var(--iris, #3F7FB8) 10% 26%, #1d2433 28%, #FBF7F2 30%, #EFE3DC 70%, #D9C3BC 100%);
  box-shadow: inset -20px -30px 60px rgba(0,0,0,.15), 0 30px 60px rgba(14,22,48,.12);
  transition: opacity .6s;
}
.eye-stage.ready .eye-fallback { opacity: 0; }

.hotspot {
  position: absolute; left: 0; top: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border-radius: 50%; border: 2px solid #FFFFFF; background: #FFFFFF; color: var(--ink);
  font-weight: 800; font-size: 13px; cursor: pointer;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.45), 0 6px 18px rgba(30, 60, 140, 0.22);
  transition: opacity .2s, background .2s; opacity: 0; pointer-events: none;
}
.hotspot.active { background: var(--ink); color: #FFFFFF; }

.viewer-tools { position: absolute; top: 22px; right: 22px; display: flex; gap: 6px; z-index: 2; }
.round-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.92);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: background .2s, transform .2s;
}
.round-btn:hover { background: #FFFFFF; transform: scale(1.06); }
.viewer-opts { position: absolute; top: 22px; left: 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; z-index: 2; }
.swatches { display: flex; gap: 6px; background: rgba(255, 255, 255, 0.92); padding: 6px; border-radius: 999px; }
.swatch {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid #FFFFFF; cursor: pointer; padding: 0;
  box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .2s;
}
.swatch.active { box-shadow: 0 0 0 1.5px var(--blue); }
.seg { display: flex; background: rgba(255, 255, 255, 0.92); border-radius: 999px; padding: 3px; }
.seg button {
  border: none; background: transparent; color: var(--ink); padding: 6px 14px; border-radius: 999px;
  cursor: pointer; font-size: 12.5px; font-weight: 600; transition: background .25s, color .25s;
}
.seg button.active { background: var(--ink); color: #FFFFFF; }
.drag-hint {
  position: absolute; bottom: 26px; left: 26px; display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--muted); animation: floatY 3s ease-in-out infinite; pointer-events: none;
}
.drag-hint .icon { font-size: 18px; }

.hs-panel {
  position: absolute; bottom: 22px; right: 22px; width: min(340px, calc(100% - 44px)); z-index: 2;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 26px; padding: 22px; box-shadow: 0 24px 60px rgba(14, 22, 48, 0.12);
  display: grid; gap: 10px;
}
.hs-head { display: flex; justify-content: space-between; align-items: center; }
.hs-kicker { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.hs-kicker .icon { font-size: 17px; color: var(--gold); }
.hs-count { font-size: 12.5px; font-weight: 700; color: var(--blue); }
.hs-title { font-weight: 800; font-size: 22px; }
.hs-sub { font-size: 14px; font-weight: 600; color: var(--blue); margin-top: -4px; }
.hs-body { font-size: 14px; line-height: 1.95; color: var(--muted); margin: 0; }
.hs-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; gap: 12px; }
.hs-facts { display: flex; gap: 18px; font-size: 13px; flex-wrap: wrap; color: var(--muted); }
.hs-facts b { color: var(--ink); font-weight: 700; }
.hs-next {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--ink); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.hs-next .icon { font-size: 18px; }
.hs-panel .fade { transition: opacity .25s; }

@media (max-width: 640px) {
  .hero-visual { display: flex; flex-direction: column; min-height: 0; border-radius: 28px; }
  .eye-stage { position: relative; inset: auto; height: 420px; }
  .hs-panel { position: relative; bottom: auto; right: auto; width: auto; margin: 0 12px 12px; }
  .drag-hint { bottom: 14px; left: 16px; }
  .viewer-tools { top: 14px; right: 14px; }
  .viewer-opts { top: 64px; left: 14px; right: 14px; flex-direction: row; justify-content: space-between; align-items: center; }
  .stat { padding: 16px 14px; }
  .stat-ic { width: 30px; height: 30px; margin-bottom: 6px; }
  .stat-v { font-size: 22px; }
  .stat-v i { font-size: 12px; }
  .stat-k { font-size: 11.5px; }
  .btn-cta { gap: 14px; padding-right: 22px; }
}

/* ---------- Features strip ---------- */
.features { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.features .container { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.feature { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.feature .icon {
  font-size: 22px; color: var(--blue); width: 42px; height: 42px; border-radius: 50%;
  background: var(--tint); display: flex; align-items: center; justify-content: center;
}

/* ---------- Section heads ---------- */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: clamp(24px, 2.6vw, 36px); }
.sec-head > div { flex: 1 1 460px; min-width: 0; }
.sec-head > p { flex: 0 1 400px; font-size: 16.5px; line-height: 2.05; color: var(--muted); margin: 0; }
/* Eyebrow: "۰۱ ── خدمات" */
.badge {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-size: 13.5px; font-weight: 700; color: var(--blue-d); letter-spacing: 0.01em;
}
.badge span { color: var(--gold); font-size: 13.5px; font-weight: 700; order: -2; }
.badge::before { content: ''; order: -1; width: 32px; height: 1px; background: currentColor; opacity: 0.35; }
.badge.on-dark { color: #FFFFFF; }
.stories .badge { justify-content: center; }
h2.title { font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.35; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
h2.title b { font-weight: 800; }
.text-gold { color: var(--gold); }

/* ---------- Cards grid ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }

.service-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 28px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(180deg, #FFFFFF, var(--bg));
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue)); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.icon-circle { width: 58px; height: 58px; border-radius: 18px; background: var(--tint); display: flex; align-items: center; justify-content: center; transition: background .35s, transform .45s var(--ease); }
.icon-circle .icon { font-size: 28px; color: var(--blue); transition: color .35s; }
.service-card:hover .icon-circle { background: var(--blue); transform: rotate(-6deg); }
.service-card:hover .icon-circle .icon { color: #FFFFFF; }
.service-n { font-weight: 200; font-size: 30px; color: var(--line-2); line-height: 1; }
.service-card h3 { font-weight: 700; font-size: 20px; margin: 18px 0 0; }
.service-card p { font-size: 14.5px; line-height: 2; color: var(--muted); margin: 0; flex: 1; }
.service-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue); border-top: 1px solid var(--line); padding-top: 14px; }
.service-meta .icon { font-size: 16px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 28px 20px; }
.step { display: flex; flex-direction: column; }
.step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.step-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--shadow-md);
  transition: transform .45s var(--ease), border-color .3s;
}
.step-icon .icon { font-size: 28px; color: var(--blue); }
.step:hover .step-icon { transform: translateY(-4px); border-color: var(--tint-3); }
.step-line { flex: 1; height: 1px; background: repeating-linear-gradient(to left, var(--line-2) 0 6px, transparent 6px 12px); }
.step:last-child .step-line { background: linear-gradient(to left, var(--line-2), transparent); }
.step-meta { font-size: 12.5px; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.step h3 { font-weight: 700; font-size: 19px; margin: 0 0 10px; }
.step p { font-size: 14.5px; line-height: 2; color: var(--muted); margin: 0; }

/* ---------- Gallery (before/after) ---------- */
.gallery { position: relative; overflow: hidden; }
.iris-deco {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.045) 0 1.5deg, transparent 1.5deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent 28%, #000 30%, #000 70%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 28%, #000 30%, #000 70%, transparent 100%);
}
.gallery .iris-deco { top: -30%; left: -12%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; animation: irisSpin 140s linear infinite; }
.gallery .container { position: relative; }
.gallery h2.title { color: #FFFFFF; }
.gallery .sec-head > p { color: var(--soft); }
.ba-wrap { display: flex; flex-wrap: wrap; gap: 28px 36px; }
.ba-cases { flex: 1 1 300px; min-width: 0; max-width: 400px; display: grid; gap: 8px; align-content: start; }
.ba-case {
  text-align: right; background: transparent; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px;
  padding: 20px 22px; cursor: pointer; color: #FFFFFF; display: grid; gap: 6px; transition: background .3s, border-color .3s;
}
.ba-case .tag { font-size: 12.5px; color: var(--soft-2); font-weight: 600; }
.ba-case .name { font-weight: 700; font-size: 17px; }
.ba-case.active { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); }
.ba-case.active .tag { color: var(--gold-l); }
.ba-desc { font-size: 14.5px; line-height: 2; color: var(--soft); margin: 14px 0 0; }
.ba-main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ba-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 30px; overflow: hidden; background: var(--ink-3); cursor: ew-resize; touch-action: pan-y; user-select: none; }
.ba-layer { position: absolute; inset: 0; }
.ba-after-clip { position: absolute; top: 0; left: 0; bottom: 0; width: 50%; overflow: hidden; pointer-events: none; }
.ba-after-inner { position: absolute; top: 0; bottom: 0; left: 0; width: 200%; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #FFFFFF; pointer-events: none; }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: #FFFFFF; display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.ba-handle .icon { font-size: 22px; }
.ba-label { position: absolute; top: 16px; font-size: 12px; color: var(--ink); background: rgba(255, 255, 255, 0.92); padding: 5px 12px; border-radius: 999px; pointer-events: none; }
.ba-label.l { left: 16px; }
.ba-label.r { right: 16px; }
.ba-range { width: 100%; accent-color: var(--gold); }
.ba-layer .img-slot { justify-content: flex-end; padding-right: 8%; }
.ba-after-inner .img-slot { justify-content: flex-start; padding-left: 8%; }
.ba-frame .img-slot::before { max-width: 38%; font-size: 12.5px; line-height: 1.7; border-radius: 16px; }
.seg button, .tabs button { white-space: nowrap; }

/* ---------- Image slots ---------- */
.img-slot {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(70% 60% at 70% 30%, rgba(255, 255, 255, 0.7), transparent 70%),
    linear-gradient(135deg, var(--tint), var(--tint-3));
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 20px;
}
.img-slot::before {
  content: attr(data-label);
  background: rgba(255, 255, 255, 0.8); padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.img-slot.filled { background-image: var(--img) !important; }
.img-slot.filled::before { display: none; }
.img-slot.dark {
  background:
    radial-gradient(70% 60% at 30% 30%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(135deg, var(--ink-3), var(--ink));
  color: var(--soft);
}
.img-slot.dark::before { background: color-mix(in oklch, var(--ink) 60%, transparent); box-shadow: none; }

/* ---------- Children ---------- */
.split { display: flex; flex-wrap: wrap; gap: 36px 48px; align-items: center; }
.kids-copy { flex: 1 1 400px; min-width: 0; }
.kids-copy h2.title { margin-bottom: 22px; }
.kids-copy > p { font-size: 16.5px; line-height: 2.05; color: var(--muted); margin: 0 0 36px; max-width: 480px; }
.kids-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 28px; }
.kids-item { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.8; }
.kids-item .ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-tint); display: flex; align-items: center; justify-content: center; }
.kids-item .icon { font-size: 22px; color: var(--gold-d); }
.kids-item > span:last-child { padding-top: 8px; }
.kids-photo { flex: 1.1 1 420px; min-width: 0; position: relative; }
.kids-photo .frame { position: relative; aspect-ratio: 5 / 4; border-radius: 36px; overflow: hidden; }
.float-card {
  position: absolute; bottom: -22px; right: 28px; background: #FFFFFF; border-radius: 22px; padding: 16px 20px;
  box-shadow: 0 20px 50px rgba(14, 22, 48, 0.12); display: flex; align-items: center; gap: 12px; animation: floatY 4s ease-in-out infinite;
}
.float-card .icon { font-size: 24px; color: var(--danger); }
.float-card b { display: block; font-weight: 800; font-size: 16px; }
.float-card small { font-size: 12.5px; color: var(--muted); }

/* ---------- Doctor ---------- */
.doc-photo { flex: 1 1 360px; min-width: 0; max-width: 500px; position: relative; }
.doc-photo .outline { position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); border-radius: 200px 200px 36px 36px; opacity: 0.6; }
.doc-photo .frame { position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px 36px 36px; overflow: hidden; }
.doc-copy { flex: 1.2 1 420px; min-width: 0; }
.doc-copy h2.title { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.3; margin-bottom: 10px; }
.doc-role { font-size: 16px; color: var(--blue); font-weight: 600; margin-bottom: 30px; }
.doc-bio { font-size: clamp(17px, 1.4vw, 19px); line-height: 2.15; margin: 0 0 24px; max-width: 580px; color: var(--ink-2); }
.doc-facts { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-bottom: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.doc-fact { display: flex; gap: 12px; align-items: center; }
.doc-fact .icon { font-size: 26px; color: var(--gold); }
.doc-fact b { display: block; font-weight: 700; font-size: 15px; }
.doc-fact small { font-size: 13px; color: var(--muted); }
.doc-copy .btn { padding: 16px 28px; font-size: 15px; }

/* ---------- Testimonials ---------- */
.stories { text-align: center; }
.story-card {
  max-width: 1040px; margin: 0 auto; padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 64px);
  border-radius: 36px; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background: radial-gradient(80% 60% at 50% 0%, var(--tint-2), #FFFFFF 70%);
}
.quote-mark { font-size: 90px; line-height: 0.6; color: var(--gold); font-weight: 200; margin: 8px 0 20px; }
.story-quote { font-weight: 300; font-size: clamp(20px, 2vw, 28px); line-height: 1.9; margin: 0 auto 28px; max-width: 940px; text-wrap: balance; min-height: 3.8em; }
.story-who { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.story-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FFFFFF; transition: background .4s; }
.story-avatar .icon { font-size: 26px; }
.story-who > div { text-align: right; }
.story-name { font-weight: 700; font-size: 16px; }
.story-detail { font-size: 13.5px; color: var(--muted); }
.story-nav { display: flex; gap: 18px; justify-content: center; align-items: center; }
.story-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background .25s, border-color .25s; }
.story-nav button:hover { transform: scale(1.06); border-color: var(--line-2); }
.story-nav button.dark:hover { background: var(--blue); }
.story-nav button.dark { border: none; background: var(--ink); color: #FFFFFF; }
.story-count { font-size: 14px; color: var(--muted); min-width: 60px; }
.swap { transition: opacity .3s, transform .3s; }
.swap.out { opacity: 0; transform: translateY(8px); }

/* ---------- Guide ---------- */
.tabs { display: flex; background: #FFFFFF; border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.tabs button { border: none; background: transparent; color: var(--muted); padding: 12px 24px; border-radius: 999px; cursor: pointer; font-size: 14.5px; font-weight: 600; transition: background .3s, color .3s; }
.tabs button.active { background: var(--ink); color: #FFFFFF; }
.guide-intro { font-size: 16.5px; line-height: 2; color: var(--muted); margin: 0 0 28px; max-width: 720px; }
.guide-card {
  background: #FFFFFF; border-radius: 26px; padding: 28px; border: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guide-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.guide-card .top .icon { font-size: 30px; color: var(--blue); }
.guide-card .when { font-size: 12.5px; font-weight: 700; color: var(--gold); }
.guide-card h3 { font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.guide-card p { font-size: 14.5px; line-height: 2; color: var(--muted); margin: 0; }
@media (max-width: 480px) { .tabs button { padding: 10px 14px; font-size: 13.5px; } }

/* ---------- FAQ ---------- */
.faq-side { flex: 1 1 320px; min-width: 0; max-width: 420px; }
.faq-side h2.title { margin-bottom: 22px; }
.faq-side > p { font-size: 16px; line-height: 2; color: var(--muted); margin: 0 0 28px; }
.faq-side .btn { padding: 14px 22px; font-size: 15px; }
.faq-list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none;
  padding: 22px 0; cursor: pointer; text-align: right; color: var(--ink); font-size: 17px; font-weight: 600;
  transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-q:hover .faq-ic { border-color: var(--blue); }
.faq-q:focus-visible { border-radius: 12px; }
.faq-ic {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink);
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.faq-item.open .faq-ic { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { font-size: 15.5px; line-height: 2.05; color: var(--muted); margin: 0; padding: 0 0 26px 56px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
@media (max-width: 560px) { .faq-a p { padding-left: 0; } .faq-q { font-size: 16px; } }

/* ---------- Booking ---------- */
.book { background: var(--blue-d); color: #FFFFFF; position: relative; overflow: hidden; }
.book .iris-deco {
  bottom: -40%; right: -10%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.06) 0 1.2deg, transparent 1.2deg 5deg);
  -webkit-mask: radial-gradient(closest-side, transparent 26%, #000 28%, #000 72%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 26%, #000 28%, #000 72%, transparent 100%);
  animation: irisSpin 160s linear infinite reverse;
}
.book .split { position: relative; }
.book-copy { flex: 1 1 380px; min-width: 0; }
.book-copy h2 { font-weight: 300; font-size: clamp(30px, 3vw, 44px); line-height: 1.3; margin: 0 0 24px; }
.book-copy h2 b { font-weight: 800; }
.book-copy > p { font-size: 17px; line-height: 2.05; margin: 0 0 32px; max-width: 440px; color: var(--on-primary); }
.checks { display: grid; gap: 14px; font-size: 15px; color: var(--on-primary); }
.checks div { display: flex; align-items: center; gap: 12px; }
.checks .icon { font-size: 22px; color: var(--gold); }
.book-card {
  flex: 1 1 420px; min-width: 0; background: #FFFFFF; color: var(--ink); border-radius: 32px;
  padding: clamp(26px, 3vw, 44px); box-shadow: 0 40px 90px rgba(5, 10, 30, 0.3);
}
.book-form { display: grid; gap: 16px; }
.book-form .form-title { font-weight: 800; font-size: 22px; }
.form-sub { font-size: 14px; color: var(--muted); margin: -10px 0 6px; }
.lbl { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lbl em { font-style: normal; color: var(--danger); }
.form-note { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 12.5px; color: var(--muted); }
.form-note .icon { font-size: 16px; color: var(--success); }
.field {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; background: var(--bg); color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s, background .2s; font-weight: 500;
}
.field::placeholder { color: var(--faint); font-weight: 400; }
.field:hover { border-color: var(--line-2); }
.field:focus { border-color: var(--blue); background: #FFFFFF; box-shadow: 0 0 0 4px color-mix(in oklch, var(--blue) 12%, transparent); }
select.field {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-left: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235E6575' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 18px center;
}
.field.invalid { border-color: var(--danger); box-shadow: 0 0 0 4px color-mix(in oklch, var(--danger) 10%, transparent); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.branch-seg { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.branch-seg button { flex: 1; border: none; padding: 12px; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.branch-seg button.active { background: var(--ink); color: #FFFFFF; }
.book-form .btn { margin-top: 6px; padding: 18px; font-size: 16px; }
.book-done { display: none; gap: 14px; padding: 20px 0; justify-items: start; }
.book-card.done .book-form { display: none; }
.book-card.done .book-done { display: grid; }
.done-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--success-tint); display: flex; align-items: center; justify-content: center; }
.done-ic .icon { font-size: 30px; color: var(--success); }
.book-done h3 { font-weight: 800; font-size: 26px; margin: 0; }
.book-done p { font-size: 15.5px; line-height: 2; margin: 0; color: var(--muted); }
.link-btn { background: none; border: none; padding: 0; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--blue); }

/* ---------- Journal ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px 20px; }
.post { display: flex; flex-direction: column; gap: 18px; }
.post .frame { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; }
.post .frame .img-slot { transition: transform .6s var(--ease); }
.post:hover .frame .img-slot { transform: scale(1.04); }
.post-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; align-items: center; }
.post-meta .tag { color: var(--blue); font-weight: 700; }
.post-meta span { display: flex; align-items: center; gap: 4px; }
.post-meta .icon { font-size: 15px; }
.post h3 { font-weight: 700; font-size: 19px; line-height: 1.75; margin: 0; }
.all-posts { padding: 13px 22px; font-size: 14.5px; }
.all-posts .icon { color: var(--ink) !important; font-size: 18px !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--soft); }
.footer-top { padding-top: clamp(48px, 5.5vw, 72px); padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 36px 48px; }
.footer-info { flex: 1 1 340px; min-width: 0; display: grid; gap: 36px; align-content: start; }
.footer-info h2.title { color: #FFFFFF; }
.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.branch { display: flex; gap: 14px; }
.branch .icon { font-size: 26px; color: var(--gold); }
.branch b { display: block; font-weight: 700; font-size: 17px; color: #FFFFFF; margin-bottom: 8px; }
.branch div div { font-size: 14.5px; line-height: 2; }
.contact-pills { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14.5px; font-weight: 600; color: #FFFFFF; }
.contact-pills a { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); }
.contact-pills a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }
.contact-pills .icon { font-size: 19px; color: var(--gold); }
.footer-map { flex: 1 1 440px; min-width: 0; position: relative; min-height: 360px; border-radius: 32px; overflow: hidden; }
.footer-bottom {
  padding-top: 26px; padding-bottom: 34px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px;
  padding-left: max(var(--gutter), 84px); /* keep clear of the back-to-top button */
}
.footer-bottom .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #FFFFFF; }
.footer-bottom .brand .logo-mark { border-color: #FFFFFF; width: 30px; height: 30px; }
.footer-bottom .brand .logo-mark span { width: 12px; height: 12px; box-shadow: inset 0 0 0 3.5px var(--ink); }
.footer-bottom a:hover { color: #FFFFFF; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; }
.footer-nav a:hover { color: #FFFFFF; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 40; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.92); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease), background .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #FFFFFF; }
@media (max-width: 560px) { .to-top { bottom: 16px; left: 16px; width: 44px; height: 44px; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
