:root{--pattern:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22190%22%20height%3D%22190%22%20viewBox%3D%220%200%20190%20190%22%20fill%3D%22none%22%20stroke%3D%22%235E3A5C%22%20stroke-opacity%3D%22.11%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cg%20transform%3D%22translate%2814%2016%29%20scale%280.9%29%22%3E%3Cpath%20d%3D%22M15%207C10%207%207%2011%207%2016c0%205%202%208%203%2013%201%206%202%2012%205.5%2012%203.8%200%203-9%208.5-9s4.7%209%208.5%209c3.5%200%204.5-6%205.5-12%201-5%203-8%203-13%200-5-3-9-8-9-4%200-6%202-9%202s-5-2-9-2z%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M120%2030l3%208%208%203-8%203-3%208-3-8-8-3%208-3z%22%2F%3E%3Cpath%20d%3D%22M104%20150l30-30M131%20115l9-9%208%208-9%209zM135%20111l7%207M139%20107l7%207%22%2F%3E%3Cpath%20d%3D%22M36%20128v20M26%20138h20%22%2F%3E%3Cg%20transform%3D%22translate%28128%20124%29%20scale%280.55%29%22%3E%3Cpath%20d%3D%22M15%207C10%207%207%2011%207%2016c0%205%202%208%203%2013%201%206%202%2012%205.5%2012%203.8%200%203-9%208.5-9s4.7%209%208.5%209c3.5%200%204.5-6%205.5-12%201-5%203-8%203-13%200-5-3-9-8-9-4%200-6%202-9%202s-5-2-9-2z%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%22160%22%20cy%3D%2270%22%20r%3D%225%22%2F%3E%3Ccircle%20cx%3D%2280%22%20cy%3D%2295%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M60%2060c6-5%2012-5%2018%200M150%20172c4-3%208-3%2012%200%22%2F%3E%3C%2Fsvg%3E")}
/* Layout concept: generous rounded "capsule" sections on a soft porcelain ground,
   the clinic's own plum for headings and pill buttons, champagne-gold sparkle for the aesthetic side. */
:root {
  --bg: #F7F5F8;          /* porcelain ground */
  --surface: #FFFFFF;
  --tint: #F2ECF2;        /* lilac wash */
  --tint-2: #E4D7E4;
  --brand: #5E3A5C;       /* clinic plum */
  --brand-deep: #432844;
  --brand-ink: #2B1B2D;
  --gold: #A97E45;        /* champagne accent */
  --gold-soft: #F3E8D8;
  --text: #3A3341;
  --muted: #6B6472;
  --line: #E3DAE4;
  --on-brand: #FFFFFF;
  --on-brand-soft: #E6D6E5;
  --wa: #1FA855;

  --f-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-naskh: "Noto Naskh Arabic", "Segoe UI", Tahoma, serif;

  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --pill: 999px;
  --shadow: 0 18px 50px -24px rgba(43, 27, 45, .35);
  --wrap: 100%;
  --gut: clamp(18px, 3.2vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--brand); margin: 0; line-height: 1.18; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
.prose { display: grid; gap: 1rem; max-width: 62ch; }
.prose strong { color: var(--brand-ink); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .prose { margin-inline: auto; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.tinted { background: var(--tint); }
.stack { display: grid; gap: 1.25rem; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: .55rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.05rem 1.9rem; border-radius: var(--pill);
  font: 700 .86rem/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 12px 28px -14px var(--brand); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--brand); border-color: var(--tint-2); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn-light { background: var(--surface); color: var(--brand); }
.btn-light:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem; color: var(--brand);
  font-weight: 700; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(43, 27, 45, .5); border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 86px; }
.logo {
  display: inline-flex; align-items: center; gap: .7rem; text-decoration: none;
  padding: .4rem 1.1rem .4rem .45rem; border: 1.5px solid var(--tint-2); border-radius: var(--pill);
  background: var(--surface); flex-shrink: 0;
}
.logo-mark { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.logo-mark svg { width: 30px; height: 30px; }
.logo-text { display: grid; line-height: 1.05; }
.logo-text b { font: 600 1.15rem/1.1 var(--f-serif); color: var(--brand-ink); letter-spacing: -.01em; }
.logo-text small { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.nav > nav { align-self: stretch; display: flex; margin-inline: auto; }
.menu { display: flex; align-items: stretch; gap: .25rem; list-style: none; padding: 0; margin: 0; }
.menu > li { position: relative; display: flex; }
.menu > li > a, .menu > li > button {
  display: flex; align-items: center; gap: .35rem; padding: 0 1.05rem; text-decoration: none;
  font: 600 .95rem/1 var(--f-sans); color: var(--brand-ink); background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu > li > a::before, .menu > li > button::before {
  content: ""; position: absolute; left: .8rem; right: .8rem; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--brand); transform: scaleX(0); transition: transform .3s ease;
}
.menu > li > a:hover::before, .menu > li > button:hover::before,
.menu > li > a[aria-current="page"]::before, .menu > li.current > button::before { transform: scaleX(1); }
.menu > li > a[aria-current="page"], .menu > li.current > button { color: var(--brand); }
.menu svg.chev { width: 14px; height: 14px; transition: transform .25s ease; }
.dropdown {
  position: absolute; top: calc(100% - 6px); left: 50%; translate: -50% 0; width: min(560px, 90vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: .9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover svg.chev, .has-drop.open svg.chev { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 12px; text-decoration: none;
  font-weight: 600; font-size: .9rem; color: var(--brand-ink);
}
.dropdown a:hover { background: var(--tint); color: var(--brand); }
.dropdown .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.dropdown .ico svg { width: 22px; height: 22px; }
.dropdown .all { grid-column: 1 / -1; justify-content: center; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: .3rem; padding-top: .8rem; }
.call-pill {
  display: grid; justify-items: center; text-decoration: none; padding: .55rem 1.35rem; border-radius: var(--pill);
  background: var(--tint); line-height: 1.25; flex-shrink: 0;
}
.call-pill b { color: var(--brand); font-size: 1rem; font-variant-numeric: tabular-nums; }
.call-pill small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--tint-2); background: var(--surface); color: var(--brand); cursor: pointer; }
.burger svg { width: 22px; height: 22px; margin: auto; }
.mobile-panel { display: none; }

/* ---------- Hero ---------- */
.pattern {
  background-color: var(--tint);
  background-image: var(--pattern);
  background-size: 190px 190px;
}
.hero { padding-top: clamp(12px, 2vw, 24px); }
.hero-card {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: end; gap: 2rem;
  padding: clamp(32px, 6vw, 80px) clamp(24px, 6vw, 80px) 0;
}
.hero-copy { display: grid; gap: 1.5rem; padding-bottom: clamp(32px, 5vw, 72px); align-self: center; }
.hero-copy h1 span { color: var(--brand-ink); }
.hero-copy .lead { font-size: 1.08rem; max-width: 46ch; }
.hero-copy .lead strong { color: var(--brand-ink); }
.trust { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rating-chip {
  display: inline-flex; align-items: center; gap: .8rem; text-decoration: none;
  background: var(--surface); padding: .55rem 1.1rem .55rem .6rem; border-radius: var(--pill); border: 1px solid var(--line);
}
.rating-chip .score { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.rating-chip .stars { display: flex; gap: 2px; color: var(--gold); }
.rating-chip .stars svg { width: 15px; height: 15px; }
.rating-chip small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.hero-visual { position: relative; align-self: end; min-height: 420px; display: grid; place-items: end center; }
.hero-visual .disc { display: none; }
.hero-visual .disc-2 { position: absolute; top: 4%; right: 2%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-soft); }
.hero-visual .outline { display: none; }
.hero-visual .photo { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: auto; border-radius: 28px; overflow: hidden; z-index: 1; box-shadow: 0 24px 60px rgba(15,23,42,.18); animation: heroPhotoIn 1.1s cubic-bezier(.2,.7,.2,1) both .45s; }
@keyframes heroPhotoIn { from { opacity: 0; transform: translateY(48px) scale(.94); } to { opacity: 1; transform: none; } }
.hero-visual .photo img, .hero-visual .photo .ph { width: 100%; height: auto; object-fit: contain; display: block; }
.float-card {
  position: absolute; z-index: 2; background: var(--surface); border-radius: 18px; padding: .8rem 1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .7rem; font-size: .84rem; font-weight: 600; color: var(--brand-ink); line-height: 1.3; text-decoration: none;
}
.float-card .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card small { display: block; color: var(--muted); font-weight: 500; }
.float-a { left: 0; bottom: 22%; animation: bob 6s ease-in-out infinite; }
.float-b { right: 0; top: 30%; animation: bob 7s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Welcome marquee ---------- */
.marquee {
  margin-top: 18px; border-radius: var(--r-xl); background: var(--brand); color: var(--on-brand);
  overflow: hidden; padding-block: 1.3rem; position: relative;
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 3.2rem; padding-right: 3.2rem; }
.marquee-item { font-size: clamp(1.6rem, 3vw, 2.3rem); white-space: nowrap; line-height: 1.2; }
.marquee-item.latin { font-family: var(--f-serif); font-weight: 600; font-style: italic; }
.marquee-item.naskh { font-family: var(--f-naskh); font-weight: 700; }
.marquee-dot { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.head { display: grid; gap: 1rem; max-width: 760px; }
.head.center { margin-inline: auto; justify-items: center; }
.head p { color: var(--muted); }

/* ---------- Services grid ---------- */
.services-band { position: relative; overflow: hidden; }
.watermark { position: absolute; width: min(900px, 120%); left: 50%; top: 50%; translate: -50% -50%; color: var(--tint-2); pointer-events: none; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); position: relative; }
.svc-card {
  display: grid; justify-items: center; text-align: center; gap: 1.1rem; align-content: start;
  padding: 2rem 1.8rem 1.8rem; border-radius: var(--r-xl); border: 1.5px solid var(--surface);
  background: rgba(255, 255, 255, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--surface); }
.svc-card .ico { width: 64px; height: 64px; color: var(--brand); }
.svc-card .media { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; }
.svc-card .media img, .svc-card .media .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .6s ease; }
.svc-card:hover .media img { transform: scale(1.05); }
.svc-card p { color: var(--muted); font-size: .96rem; }
.svc-card .link-arrow { margin-top: auto; }
.after-grid { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); position: relative; }

/* ---------- Reviews ---------- */
.review-card {
  border-radius: var(--r-xl); background: var(--brand); color: var(--on-brand);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(32px, 6vw, 72px); position: relative; overflow: hidden;
}
.review-card .big { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; }
.review-card .stars { display: flex; gap: 4px; color: var(--gold); margin-top: .6rem; }
.review-card .stars svg { width: 24px; height: 24px; }
.review-card h3 { color: var(--on-brand); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.3; }
.review-card p { color: var(--on-brand-soft); margin-top: .8rem; max-width: 52ch; }
.review-card .quote { width: 72px; height: 72px; color: var(--gold); align-self: start; }
.review-card .btn-row { margin-top: 1.6rem; }

/* ---------- Splits ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > * { min-width: 0; }
.split.flip > .split-media { order: -1; }
.split-media { position: relative; }
.split-media .frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; }
.split-media .frame.tall { aspect-ratio: 4 / 5; }
.split-media img, .split-media .ph { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--surface); border-radius: 20px; padding: 1rem 1.2rem;
  box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center; font-weight: 700; color: var(--brand-ink); line-height: 1.25;
}
.split-media .badge b { font-size: 2rem; color: var(--brand); }
.split-media .badge small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.checks { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .8rem; align-items: center; font-weight: 600; color: var(--brand-ink); }
.checks svg { width: 26px; height: 26px; color: var(--surface); background: var(--brand); border-radius: 50%; padding: 5px; flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-xl); background: var(--brand); color: var(--on-brand-soft);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
  padding: clamp(32px, 6vw, 80px); position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--on-brand); }
.cta-band h2 em { font-family: var(--f-serif); font-weight: 600; color: var(--gold-soft); }
.cta-band p strong { color: var(--on-brand); }
.cta-band .circle { width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; justify-self: center; border: 10px solid rgba(255, 255, 255, .14); }
.cta-band .circle img, .cta-band .circle .ph { width: 100%; height: 100%; object-fit: cover; }
.cta-band .rings { position: absolute; right: -120px; top: -120px; width: 420px; color: rgba(255, 255, 255, .08); pointer-events: none; }

/* ---------- Timings ---------- */
.timings { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.timings > * { min-width: 0; }
.timings .frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1; }
.timings .frame img, .timings .frame .ph { width: 100%; height: 100%; object-fit: cover; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .7rem 0; border-bottom: 1px dashed var(--tint-2); font-size: 1.08rem; }
.hours th { color: var(--brand-ink); font-weight: 700; }
.hours td { text-align: right; color: var(--text); }
.hours tr.today th, .hours tr.today td { color: var(--brand); }
.hours tr.today th::after { content: "Today"; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; background: var(--gold-soft); color: var(--gold); padding: .2rem .5rem; border-radius: var(--pill); margin-left: .6rem; vertical-align: middle; }
.emergency { margin-top: 1.4rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); font-size: clamp(1.05rem, 2vw, 1.35rem); display: flex; gap: .7rem; align-items: center; }
.emergency svg { width: 28px; height: 28px; color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-section { overflow: hidden; }
.faq-wrap { position: relative; }
.faq-wrap .waves { position: absolute; right: -10%; bottom: -30px; width: 70%; color: var(--tint-2); pointer-events: none; }
.faq { display: grid; gap: .7rem; position: relative; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s ease, box-shadow .25s ease; }
.faq details[open] { border-color: var(--tint-2); box-shadow: 0 14px 40px -28px rgba(43, 27, 45, .45); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; font-weight: 700; color: var(--brand-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--brand); color: var(--on-brand); }
.faq .ans { padding: 0 1.3rem 1.3rem calc(1.3rem + 32px + 1rem); color: var(--muted); }

/* ---------- Page header (inner pages) ---------- */
.page-head .hero-card { align-items: center; padding-bottom: clamp(32px, 6vw, 80px); }
.page-head .hero-copy { padding-bottom: 0; }
.crumbs { display: flex; gap: .55rem; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; flex-wrap: wrap; }
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs span { color: var(--muted); }
.duo { position: relative; width: min(440px, 100%); aspect-ratio: 1; justify-self: center; }
.duo .c1 { position: absolute; left: 0; top: 0; width: 66%; aspect-ratio: 1; border-radius: 50%; background: var(--brand); }
.duo .c2 { position: absolute; right: 0; bottom: 6%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-soft); }
.duo .pic { position: absolute; left: 14%; top: 14%; width: 76%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--surface); }
.duo .pic img, .duo .pic .ph { width: 100%; height: 100%; object-fit: cover; }

/* service detail */
.svc-visual { position: relative; width: min(420px, 100%); justify-self: center; padding: 6% 6% 0; }
.svc-visual .disc { position: absolute; inset: 0 0 18% 0; border-radius: 50%; background: var(--brand); }
.svc-visual .disc-2 { position: absolute; right: -4%; top: -2%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-soft); }
.svc-visual .arch { position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--r-xl) var(--r-xl); overflow: hidden; border: 8px solid var(--surface); box-shadow: var(--shadow); }
.svc-visual .arch img, .svc-visual .arch .ph { width: 100%; height: 100%; object-fit: cover; }
.svc-visual .float-card { left: -6%; bottom: 10%; }
.ico-badge { width: 60px; height: 60px; border-radius: 18px; background: var(--surface); color: var(--brand); display: grid; place-items: center; border: 1px solid var(--line); }
.ico-badge svg { width: 36px; height: 36px; }
.aspects .panel h3 { font-size: 1.2rem; }
.aspects .panel .ico { background: var(--gold-soft); color: var(--gold); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.panel { background: var(--surface); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); display: grid; gap: 1rem; align-content: start; border: 1px solid var(--line); }
.panel .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.panel .ico svg { width: 30px; height: 30px; }
.panel p { color: var(--muted); }

.related { display: flex; flex-wrap: wrap; gap: .6rem; }
.related a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--brand-ink); }
.related a:hover { border-color: var(--brand); color: var(--brand); }
.related svg { width: 20px; height: 20px; color: var(--brand); }

/* why list */
.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; counter-reset: why; }
.why li { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; counter-increment: why; }
.why li::before { content: counter(why); grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; }
.why b { color: var(--brand-ink); }
.why span { color: var(--muted); font-size: .95rem; }

/* questions band */
.ask { border-radius: var(--r-xl); border: 1.5px dashed var(--tint-2); background: var(--surface); padding: clamp(28px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.ask .stack { gap: .5rem; }
.ask .num { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; color: var(--brand-ink); font-variant-numeric: tabular-nums; user-select: all; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.stat { background: var(--surface); border-radius: var(--r-xl); padding: 2rem; text-align: center; border: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--brand); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-weight: 600; }

/* doctor */
.doctor .portrait { width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--gold-soft); overflow: hidden; justify-self: center; }
.doctor .portrait img, .doctor .portrait .ph { width: 100%; height: 100%; object-fit: cover; }
.doctor .role { color: var(--gold); font-weight: 700; letter-spacing: .02em; }

/* contact */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.info-card { background: var(--surface); border-radius: var(--r-xl); padding: 2rem; border: 1px solid var(--line); display: grid; gap: .7rem; align-content: start; }
.info-card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.info-card .ico svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 1.15rem; }
.info-card p, .info-card a { color: var(--text); text-decoration: none; }
.info-card .num { font-size: 1.15rem; font-weight: 700; color: var(--brand-ink); font-variant-numeric: tabular-nums; user-select: all; }
.map-card {
  border-radius: var(--r-xl); overflow: hidden; position: relative; min-height: 340px; display: grid; place-items: center; text-align: center;
  background: var(--tint); text-decoration: none;
}
.map-card .grid-lines { position: absolute; inset: 0; color: var(--tint-2); }
.map-card .pin { position: relative; display: grid; gap: .8rem; justify-items: center; padding: 2rem; }
.map-card .pin .dot { width: 72px; height: 72px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(94, 58, 92, .14), 0 0 0 30px rgba(94, 58, 92, .07); }
.map-card .pin .dot svg { width: 34px; height: 34px; }
.map-card .pin b { color: var(--brand-ink); font-size: 1.1rem; }
.map-card .pin span { color: var(--muted); max-width: 34ch; }
.form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); display: grid; gap: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--brand-ink); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--f-sans); color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 14px; padding: .85rem 1rem; transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); }
.field .err { color: #B3261E; font-size: .8rem; font-weight: 600; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-done { display: grid; gap: .8rem; padding: 1.2rem; border-radius: 18px; background: var(--tint); }
.booking-flow { min-width: 0; }
.booking-stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.2rem; }
.booking-step { display: flex; align-items: center; gap: .5rem; min-width: 0; padding: .65rem .75rem; border-radius: 14px; background: var(--bg); color: var(--muted); font-weight: 800; transition: background-color .25s ease, color .25s ease; }
.booking-step::before { content: ""; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--brand); font-size: .72rem; flex-shrink: 0; }
.booking-step small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.booking-step.active { background: var(--tint); color: var(--brand); }
.booking-step.active::before { background: var(--brand); color: var(--on-brand); }
.booking-panel[hidden] { display: none; }
.booking-review { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.booking-review > div { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); display: grid; gap: .25rem; }
.booking-review small { color: var(--gold); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.booking-review strong { overflow-wrap: anywhere; color: var(--brand-ink); font-size: .92rem; line-height: 1.4; }
.booking-review-message { grid-column: 1 / -1; }
.booking-whatsapp-card { display: flex; align-items: center; gap: 1rem; padding: 1.15rem; border-radius: 18px; background: #E8F8EE; border: 1px solid #BFE4CC; }
.booking-whatsapp-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: white; display: grid; place-items: center; flex-shrink: 0; }
.booking-whatsapp-icon svg { width: 28px; height: 28px; }
.booking-whatsapp-card h3 { color: #166534; font-size: 1.05rem; }
.booking-whatsapp-card p { color: #3F6350; font-size: .86rem; line-height: 1.5; }
.btn-whatsapp { background: var(--wa); color: white; box-shadow: 0 12px 28px -14px rgba(31, 168, 85, .8); }
.btn-whatsapp:hover { background: #168a49; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 104px); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 2.4rem; border-bottom: 1px solid var(--line); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.socials a:hover { background: var(--brand); color: var(--on-brand); }
.socials svg { width: 20px; height: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 2rem; padding-block: 3rem; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { font-size: .95rem; color: var(--brand); margin-bottom: .9rem; letter-spacing: .02em; }
.foot-grid p, .foot-grid li { color: var(--muted); font-size: .95rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--brand); }
.foot-grid .num { color: var(--brand-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.copyright { text-align: center; padding-block: 1.4rem 2rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.2rem .85rem .9rem; border-radius: var(--pill);
  background: var(--wa); color: #FFFFFF; text-decoration: none; font-weight: 700; font-size: .9rem; box-shadow: 0 14px 30px -12px rgba(31, 168, 85, .7);
}
.wa-float svg { width: 26px; height: 26px; }

/* Embedded WhatsApp booking assistant */
.booking-chat-launch {
  position: fixed; right: 18px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 61;
  display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border: 0; border-radius: var(--pill);
  background: var(--brand); color: var(--on-brand); text-align: left; box-shadow: 0 16px 32px -14px rgba(43, 27, 45, .65); cursor: pointer;
  transition: transform .25s ease, background-color .25s ease;
}
.booking-chat-launch:hover { transform: translateY(-2px); background: var(--brand-deep); }
.booking-chat-launch-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); color: var(--brand); display: grid; place-items: center; }
.booking-chat-launch-icon svg { width: 23px; height: 23px; }
.booking-chat-launch strong, .booking-chat-launch small { display: block; line-height: 1.25; }
.booking-chat-launch strong { font-size: .84rem; }
.booking-chat-launch small { color: var(--on-brand-soft); font-size: .68rem; margin-top: .18rem; }
.booking-chat-panel {
  position: fixed; right: 18px; bottom: calc(160px + env(safe-area-inset-bottom, 0px)); z-index: 62;
  width: min(390px, calc(100vw - 28px)); height: min(560px, calc(100vh - 190px)); display: grid; grid-template-rows: auto 1fr auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 70px -24px rgba(43, 27, 45, .7);
  overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(18px) scale(.97); transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.booking-chat-panel.open { opacity: 1; visibility: visible; transform: none; }
.booking-chat-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--brand); color: white; }
.booking-chat-header > div { display: flex; align-items: center; gap: .7rem; }
.booking-chat-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--surface); color: var(--brand); display: grid; place-items: center; }
.booking-chat-avatar svg { width: 25px; height: 25px; }
.booking-chat-header strong, .booking-chat-header small { display: block; }
.booking-chat-header strong { font-size: .92rem; }
.booking-chat-header small { display: flex; align-items: center; gap: .35rem; color: var(--on-brand-soft); font-size: .7rem; }
.booking-chat-header small i { width: 7px; height: 7px; border-radius: 50%; background: #54D98B; }
.booking-chat-header button { border: 0; background: transparent; color: white; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.booking-chat-messages { overflow-y: auto; padding: 1rem; background: var(--bg); display: flex; flex-direction: column; gap: .7rem; }
.chat-message { max-width: 90%; display: grid; gap: .24rem; }
.chat-message span { width: fit-content; padding: .7rem .85rem; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--line); color: var(--brand-ink); font-size: .84rem; line-height: 1.45; }
.chat-message.user { align-self: flex-end; }
.chat-message.user span { background: var(--brand); color: white; border-color: var(--brand); border-radius: 16px 16px 4px 16px; }
.chat-message small { color: var(--muted); font-size: .62rem; }
.chat-summary { display: grid; gap: .32rem; padding: .85rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.chat-summary strong { color: var(--brand); font-size: .83rem; }
.chat-summary span { color: var(--muted); font-size: .75rem; }
.chat-confirm { justify-self: start; border: 0; border-radius: var(--pill); padding: .65rem .9rem; background: var(--wa); color: white; font-size: .76rem; font-weight: 700; cursor: pointer; }
.chat-confirm:hover { background: var(--brand); }
.chat-quick-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.chat-quick-actions button { border: 1px solid var(--tint-2); border-radius: var(--pill); padding: .58rem .8rem; background: var(--surface); color: var(--brand); font-size: .74rem; font-weight: 700; cursor: pointer; }
.chat-quick-actions button:hover { background: var(--tint); }
.chat-treatment-list { display: grid; gap: .42rem; margin-top: .25rem; }
.chat-treatment-list button { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: .68rem .75rem; background: var(--surface); color: var(--brand-ink); text-align: left; font-size: .77rem; font-weight: 650; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.chat-treatment-list button:hover { border-color: var(--brand); background: var(--tint); transform: translateX(3px); }
.chat-options-list { display: grid; gap: .42rem; }
.chat-options-list button { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: .68rem .75rem; background: var(--surface); color: var(--brand); text-align: left; font-size: .76rem; font-weight: 700; cursor: pointer; }
.chat-options-list button:hover { background: var(--tint); border-color: var(--brand); }
.booking-chat-form { display: grid; grid-template-columns: 1fr 46px; gap: .55rem; padding: .75rem; background: var(--surface); border-top: 1px solid var(--line); }
.booking-chat-form input { min-width: 0; border: 1px solid var(--line); border-radius: var(--pill); padding: .75rem 1rem; background: var(--bg); color: var(--text); font: 500 .86rem/1.3 var(--f-sans); }
.booking-chat-form button { border: 0; border-radius: 50%; background: var(--wa); color: white; display: grid; place-items: center; cursor: pointer; }
.booking-chat-form button svg { width: 20px; height: 20px; }
.booking-chat-form input:focus { outline: 2px solid var(--tint-2); border-color: var(--brand); }
.booking-chat-link { color: var(--wa); font-weight: 700; text-decoration: none; }

/* ---------- Image placeholder ---------- */
.ph {
  display: grid; place-items: center; align-content: center; gap: .7rem; text-align: center; padding: 1rem;
  background: linear-gradient(140deg, var(--tint) 0%, var(--tint-2) 100%); color: var(--brand); position: relative; overflow: hidden;
}
.ph::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 150px 150px; opacity: .8; }
.ph svg { width: 54px; height: 54px; position: relative; opacity: .75; }
.ph span { position: relative; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-deep); background: rgba(255, 255, 255, .75); padding: .35rem .75rem; border-radius: var(--pill); }

/* ---------- Service page components ---------- */
.glance-wrap { padding-top: clamp(24px, 3vw, 36px); }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.g-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.3rem 1.4rem;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; align-items: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.g-item .ico { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.g-item .ico svg { width: 24px; height: 24px; }
.g-item small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.g-item b { color: var(--brand-ink); font-size: 1rem; line-height: 1.35; }
.glance-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); text-align: center; }
h3.sub { font-size: 1.15rem; color: var(--brand-ink); margin-top: .4rem; }
.split-media .badge .b-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.split-media .badge .b-ico svg { width: 26px; height: 26px; }

.rows-section { overflow: hidden; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-row > * { min-width: 0; }
.feature-row + .feature-row { margin-top: clamp(56px, 8vw, 110px); }
.feature-row.flip .feature-media { order: -1; }
.feature-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.feature-media img, .feature-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.feature-media:hover img { transform: scale(1.06); }
.row-tag { display: inline-flex; align-items: center; gap: .5rem; align-self: start; justify-self: start; padding: .4rem .9rem .4rem .5rem; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.row-tag svg { width: 22px; height: 22px; }
.row-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.feature-row .prose p { font-size: 1.04rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 28px); position: relative; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 31px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--tint-2) 0 10px, transparent 10px 18px);
}
.steps li { position: relative; display: grid; gap: .6rem; justify-items: center; align-content: start; text-align: center; padding: 0 .4rem; }
.steps .num {
  width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg); transition: background-color .35s ease, color .35s ease, transform .35s ease;
}
.steps li:hover .num { background: var(--brand); color: var(--on-brand); transform: scale(1.08); }
.steps h3 { font-size: 1.08rem; color: var(--brand-ink); }
.steps p { color: var(--muted); font-size: .94rem; }

.benefits-care { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.benefits-care > * { min-width: 0; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.benefit { background: var(--surface); border-radius: var(--r-lg); padding: 1.4rem; border: 1px solid var(--line); display: grid; gap: .45rem; transition: transform .35s ease, box-shadow .35s ease; }
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.benefit .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: .3rem; }
.benefit .ico svg { width: 26px; height: 26px; }
.benefit b { color: var(--brand-ink); font-size: 1.05rem; }
.benefit span { color: var(--muted); font-size: .94rem; }
.care-panel { background: var(--brand); color: var(--on-brand-soft); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); display: grid; gap: 1.1rem; position: relative; overflow: hidden; }
.care-panel h3 { color: var(--on-brand); font-size: 1.5rem; }
.care-panel .ico { width: 56px; height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .12); color: var(--gold-soft); display: grid; place-items: center; }
.care-panel .ico svg { width: 30px; height: 30px; }
.care-panel .checks li { color: var(--on-brand); font-weight: 500; align-items: flex-start; }
.care-panel .checks svg { background: var(--gold); color: var(--brand-ink); margin-top: 2px; }
.care-panel .btn-primary { background: var(--surface); color: var(--brand); box-shadow: none; }
.care-panel .btn-primary:hover { background: var(--gold-soft); }

.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.rel-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; transition: transform .35s ease, box-shadow .35s ease; }
.rel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.rel-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.rel-media img, .rel-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.rel-card:hover .rel-media img { transform: scale(1.07); }
.rel-body { display: grid; gap: .45rem; padding: 1.3rem 1.4rem 1.5rem; align-content: start; }
.rel-body b { color: var(--brand); font-size: 1.15rem; }
.rel-body small { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.rel-body .link-arrow { margin-top: .3rem; }

[data-parallax] { translate: var(--px, 0px) var(--py, 0px); }

/* video frames */
.hero-visual .photo video, .video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card .media { display: block; }
.svc-card .ico-wrap { display: grid; place-items: center; }
.wm-wrap { position: absolute; inset: 0; pointer-events: none; display: block; }
.wm-wrap .watermark { position: absolute; }

/* decorative spinning ring around hero media */
.ring { position: absolute; border-radius: 50%; border: 2px dashed var(--gold); opacity: .55; pointer-events: none; animation: spin 40s linear infinite; }
.hero-visual .ring { display: none; }
.svc-visual .ring { inset: -4% -4% 14% -4%; }
.duo .ring { width: 86%; aspect-ratio: 1; left: 9%; top: 9%; }

/* scroll progress + back to top */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.to-top {
  position: fixed; right: 26px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--brand); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.to-top svg { width: 20px; height: 20px; transform: rotate(180deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Motion ---------- */
/* Entrance animations mirror the reference: zoomIn, slideInUp, slideInLeft, bounceInRight.
   Only elements below the first screen are hidden, and only when JavaScript runs. */
.js [data-anim] {
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform 1.05s cubic-bezier(.2, .7, .2, 1), clip-path 1.2s cubic-bezier(.77, 0, .18, 1);
  transition-delay: var(--d, 0ms);
}
.js [data-anim].pre { opacity: 0; }
.js [data-anim="up"].pre { transform: translate3d(0, 70px, 0); }
.js [data-anim="zoom"].pre { transform: scale(.72); }
.js [data-anim="left"].pre { transform: translate3d(-120px, 0, 0); }
.js [data-anim="right"] { transition-timing-function: cubic-bezier(.2, .7, .2, 1), cubic-bezier(.34, 1.5, .5, 1), ease; }
.js [data-anim="right"].pre { transform: translate3d(160px, 0, 0); }
.js [data-anim="wipe"] { clip-path: inset(0 0 0 0); }
.js [data-anim="wipe"].pre { opacity: 1; clip-path: inset(0 0 0 100%); }
.js [data-anim="wipe"] img { transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js [data-anim="wipe"].pre img { transform: scale(1.3); }
.js .eyebrow::before { transition: width .8s cubic-bezier(.2, .7, .2, 1) .2s; }
.js .pre .eyebrow::before, .js .eyebrow.pre::before { width: 0; }
.js .steps::before { transform-origin: 0 50%; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1) .3s; }
.js .steps.pre-line::before { transform: scaleX(0); }

/* hero load sequence */
.js .site-header { animation: headerDown .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-copy > * { animation: riseUp .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-copy > h1 { animation-name: zoomIn; }
.js .hero-copy > :nth-child(1) { animation-delay: .15s; }
.js .hero-copy > :nth-child(2) { animation-delay: .3s; }
.js .hero-copy > :nth-child(3) { animation-delay: .45s; }
.js .hero-copy > :nth-child(4) { animation-delay: .6s; }
.js .hero-copy > :nth-child(5) { animation-delay: .75s; }
.js .hero-copy > :nth-child(6) { animation-delay: .9s; }
.js .hero-visual .photo, .js .svc-visual .arch, .js .duo .pic { animation: bounceInRight 1.3s both .35s; }
.js .hero-visual .disc, .js .svc-visual .disc, .js .duo .c1 { animation: zoomIn 1s cubic-bezier(.2, .7, .2, 1) both .2s; }
.js .hero-visual .disc-2, .js .svc-visual .disc-2, .js .duo .c2 { animation: zoomIn 1s cubic-bezier(.34, 1.5, .5, 1) both .8s; }
.js .hero-visual .outline { animation: fadeIn 1.4s ease both 1s; }
.js .float-a { animation: popIn .7s cubic-bezier(.34, 1.5, .5, 1) both 1.2s, bob 6s ease-in-out 2s infinite; }
.js .float-b { animation: popIn .7s cubic-bezier(.34, 1.5, .5, 1) both 1.4s, bob 7s ease-in-out 2.2s infinite; }
.js .svc-visual .float-card { animation: popIn .7s cubic-bezier(.34, 1.5, .5, 1) both 1.1s; }
.js .marquee { animation: riseUp 1s cubic-bezier(.2, .7, .2, 1) both .9s; }

/* hover micro-interactions */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); pointer-events: none;
}
.btn:hover::after { animation: shine .8s ease; }
.svc-card:hover .ico { animation: wiggle .7s ease; }
.panel, .info-card, .stat { transition: transform .35s ease, box-shadow .35s ease; }
.panel:hover, .info-card:hover, .stat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.faq details[open] .ans { animation: riseUp .45s cubic-bezier(.2, .7, .2, 1) both; }
.checks li svg { transition: transform .3s ease; }
.checks li:hover svg { transform: scale(1.15) rotate(-8deg); }

@keyframes riseUp { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.6); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.5) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes headerDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes bounceInRight {
  0% { opacity: 0; transform: translate3d(320px, 0, 0); animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  60% { opacity: 1; transform: translate3d(-24px, 0, 0); animation-timing-function: cubic-bezier(.215, .61, .355, 1); }
  75% { transform: translate3d(10px, 0, 0); }
  90% { transform: translate3d(-5px, 0, 0); }
  100% { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { to { left: 130%; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg) scale(1.08); } 50% { transform: rotate(8deg) scale(1.08); } 75% { transform: rotate(-4deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-anim].pre { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu, .call-pill { display: none; }
  .burger { display: grid; }
  .mobile-panel { display: block; border-top: 1px solid var(--line); background: var(--surface); }
  .mobile-panel[hidden] { display: none !important; }
  .mobile-panel ul { list-style: none; margin: 0; padding: .8rem 0 1.2rem; display: grid; gap: .1rem; }
  .mobile-panel a { display: flex; align-items: center; gap: .7rem; padding: .75rem .4rem; text-decoration: none; font-weight: 600; color: var(--brand-ink); border-radius: 12px; }
  .mobile-panel a[aria-current="page"] { color: var(--brand); }
  .mobile-panel .sub a { padding-left: 1.4rem; font-weight: 500; font-size: .93rem; color: var(--text); }
  .mobile-panel .sub svg { width: 20px; height: 20px; color: var(--brand); }
  .mobile-panel .btn-row { padding-bottom: 1.2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-card, .split, .cta-band, .timings, .two-col { grid-template-columns: 1fr; }
  .split.flip > .split-media { order: 0; }
  .hero-visual { min-height: 360px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-card { grid-template-columns: 1fr; }
  .review-card .quote { display: none; }
  .info-cards, .stats { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .split-media .badge { left: 12px; }
  .svc-visual .float-card { left: 0; }
  .feature-row, .benefits-care { grid-template-columns: 1fr; }
  .feature-row.flip .feature-media { order: 0; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .steps-4, .steps-5 { grid-template-columns: 1fr; gap: 1.2rem; }
  .steps::before { left: 31px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--tint-2) 0 10px, transparent 10px 18px); transform-origin: 50% 0; }
  .js .steps.pre-line::before { transform: scaleY(0); }
  .steps li { grid-template-columns: 64px 1fr; justify-items: start; text-align: left; column-gap: 1.1rem; row-gap: .2rem; padding: 0; }
  .steps .num { grid-row: span 2; }
}
@media (max-width: 620px) {
  .grid-3, .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .logo-text b { font-size: 1rem; }
  .logo-text small { font-size: .6rem; letter-spacing: .12em; }
  .logo-mark { width: 40px; height: 40px; }
  .btn { padding: .95rem 1.4rem; }
  .float-b { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
  .faq .ans { padding-left: 1.3rem; }
  .hours th, .hours td { font-size: .98rem; }
  .glance, .rel-grid { grid-template-columns: 1fr; }
  .benefit { padding: 1.1rem; }
  .to-top { right: 22px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* Demo chat: keep cards readable within the scrolling transcript. */
.booking-chat-messages { min-height: 0; }
.booking-chat-messages > * { flex-shrink: 0; }
.chat-message span, .chat-summary span { overflow-wrap: anywhere; }
.demo-chat-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-chat-options button { min-height: 44px; }
.demo-chat-options button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 620px) {
  .booking-chat-panel { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: min(640px, calc(100dvh - 24px)); }
}
