/* Koosh Dental — shared styles
   Calm, warm and clinical-clean: cream paper, the olive green from the KD logo,
   a soft serif for headings. Both editions load this file; the Glow edition
   layers fx.css on top. */

:root {
  --bg: #f5f1e8;
  --bg-2: #ece6d8;
  --card: #ffffff;
  --ink: #1b241c;
  --ink-2: #435042;
  --muted: #6b7768;
  --line: rgba(27, 36, 28, .12);
  --line-2: rgba(27, 36, 28, .22);
  --brand: #4d5d49;
  --brand-2: #3a4836;
  --brand-ink: #ffffff;
  --sage: #b7c6ac;
  --mint: #dfeadb;
  --clay: #c4825a;
  --star: #d39b2a;
  --ok: #2f8a55;
  --plate: #ffffff;
  --shadow: 0 1px 2px rgba(27, 36, 28, .06), 0 12px 32px -12px rgba(27, 36, 28, .18);
  --shadow-lg: 0 2px 6px rgba(27, 36, 28, .06), 0 30px 60px -24px rgba(27, 36, 28, .32);
  --map-filter: saturate(.7) contrast(.95);

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --r: 22px;
  --r-sm: 14px;
  --head-h: 74px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0f1510;
  --bg-2: #151d16;
  --card: #19221a;
  --ink: #edf1e9;
  --ink-2: #c5cec1;
  --muted: #929e8e;
  --line: rgba(237, 241, 233, .1);
  --line-2: rgba(237, 241, 233, .2);
  --brand: #a9c39e;
  --brand-2: #c9dcbf;
  --brand-ink: #0f1510;
  --sage: #4b5d47;
  --mint: #1f2c1f;
  --clay: #e0a27c;
  --star: #e7b54a;
  --ok: #5fcf8c;
  --plate: #f3f1ec;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -14px rgba(0, 0, 0, .55);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 34px 70px -24px rgba(0, 0, 0, .7);
  --map-filter: invert(.88) hue-rotate(180deg) saturate(.6) brightness(.95);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .35s ease, color .35s ease;
}
img, svg, canvas, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: var(--brand-ink); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ── Type ─────────────────────────────────────────── */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -.025em;
  line-height: 1.02;
  text-wrap: balance;
}
.display em, .display i { font-style: italic; color: var(--brand); font-weight: 350; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.15; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .78rem/1 var(--f-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.prose { display: grid; gap: 1em; color: var(--ink-2); max-width: 64ch; }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--brand); }
.link .arr, .btn .arr { transition: transform .25s ease; }
a:hover .arr, .btn:hover .arr { transform: translateX(4px); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.45em;
  border-radius: 999px; border: 1.5px solid var(--b);
  background: transparent; color: var(--ink);
  font-weight: 600; font-size: .98rem; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { border-color: var(--ink); }
.btn--brand { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 24px -12px var(--brand); }
.btn--brand:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn--light { background: #fff; border-color: #fff; color: #1b241c; }
.btn--light:hover { background: #f1efe8; border-color: #f1efe8; }
.btn--sm { min-height: 42px; padding: .6em 1.1em; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Header ───────────────────────────────────────── */
.topbar { background: var(--brand-2); color: #eef2ea; font-size: .82rem; }
:root[data-theme="dark"] .topbar { background: #19231a; color: var(--ink-2); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar a { opacity: .9; } .topbar a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.topbar__links { display: flex; gap: 1.4rem; }
.status { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #e0a14a; box-shadow: 0 0 0 0 rgba(224, 161, 74, .6); }
.status.is-open i { background: #5fd38c; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 140, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(95, 211, 140, 0); } }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-head.is-scrolled { border-bottom-color: var(--line); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--brand); flex: none; }
.brand svg { width: 64px; height: auto; }
.brand__name { display: grid; font: 700 1.08rem/1 var(--f-body); letter-spacing: .14em; color: var(--brand); }
.brand__name small { font-size: .62rem; letter-spacing: .58em; font-weight: 600; margin-top: .4em; }
.nav { display: flex; align-items: center; gap: .35rem; }
.nav a:not(.btn) {
  position: relative; padding: .55em .85em; border-radius: 999px;
  font-weight: 500; font-size: .96rem; color: var(--ink-2);
  transition: color .2s ease, background-color .2s ease;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--line); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: .15em; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--brand); }
.nav .btn { margin-left: .6rem; }
.head__tools { display: flex; align-items: center; gap: .5rem; }
.edition {
  display: inline-flex; align-items: center; gap: .4em; padding: .5em .9em; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  border: 1px dashed var(--line-2); color: var(--ink-2);
  transition: border-color .2s ease, color .2s ease;
}
.edition:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer; color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
.nav-toggle { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .topbar__links .hide-md { display: none; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: calc(var(--head-h) + var(--top-h, 0px)) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem var(--gutter) 1.6rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .85em .4em; font-size: 1.15rem; border-radius: 10px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { left: auto; right: .6em; top: 50%; bottom: auto; margin-top: -2.5px; }
  .nav .btn { margin: 1rem 0 0; min-height: 52px; }
}
@media (max-width: 640px) {
  .topbar__links { display: none; }
  .topbar .wrap { justify-content: center; }
  .edition span { display: none; }
  .brand svg { width: 52px; }
  .brand__name { font-size: .95rem; }
}

/* ── Sections ─────────────────────────────────────── */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
.section--tint { background: var(--bg-2); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.sec-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); max-width: 760px; }
.sec-head--split { max-width: none; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 1.2rem 4rem; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
@media (max-width: 860px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ── Home hero ────────────────────────────────────── */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--mint), transparent 70%); opacity: .9; pointer-events: none; z-index: -1;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero__copy .h1 { max-width: 12ch; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 1.4rem 2rem; margin-top: .8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__facts li { display: grid; gap: .25rem; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.hero__facts b { font: 400 1.5rem/1 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.hero__media { position: relative; aspect-ratio: 1 / 1.02; }
.hero__photo { position: absolute; overflow: hidden; border-radius: 32px; box-shadow: var(--shadow-lg); background: var(--bg-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { inset: 0 0 14% 12%; }
.hero__photo--sm { left: 0; bottom: 0; width: 38%; aspect-ratio: 3 / 4; border: 6px solid var(--bg); }
.hero__badge {
  position: absolute; right: 6%; bottom: 4%; z-index: 2;
  display: grid; gap: .3rem; padding: 1rem 1.2rem; border-radius: 18px;
  background: var(--card); box-shadow: var(--shadow-lg); font-size: .85rem; color: var(--muted); min-width: 200px;
}
.hero__badge .status { color: var(--ink); font-size: .95rem; }
.hero__sparkle { position: absolute; top: -4%; left: 4%; width: 74px; color: var(--clay); z-index: 2; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.82) rotate(20deg); opacity: .7; } }
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 1 / .9; max-width: 640px; width: 100%; }
}
@media (max-width: 560px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts li:last-child { grid-column: 1 / -1; }
  .hero__badge { right: 0; min-width: 0; }
}

/* ── Trust strip / marquees ───────────────────────── */
.strip { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.strip__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.strip__track span { display: inline-flex; align-items: center; gap: 1.6rem; padding: 1.15rem 1.6rem 1.15rem 0; font: 400 1.25rem/1 var(--f-display); white-space: nowrap; color: var(--ink-2); }
.strip__track span::after { content: "✦"; color: var(--clay); font-size: .8em; }
@keyframes slide { to { transform: translateX(-50%); } }
.shout { display: none; }

/* ── Values (K O O S H) ───────────────────────────── */
.values__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: v; }
.value {
  position: relative; display: grid; align-content: start; gap: .9rem; padding: 1.6rem 1.4rem 1.8rem;
  border-radius: var(--r); background: var(--card); box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value__l { font: 300 clamp(3.4rem, 6vw, 5rem)/.9 var(--f-display); color: var(--brand); font-variation-settings: "opsz" 144; }
.value b { font-size: 1.08rem; display: block; margin-bottom: .3rem; }
.value p { font-size: .94rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 1080px) {
  .values__list { display: flex; flex-wrap: wrap; justify-content: center; }
  .value { flex: 0 1 calc((100% - 2rem) / 3); }
}
@media (max-width: 680px) {
  .values__list { display: grid; grid-template-columns: 1fr; }
  .value { grid-template-columns: 64px 1fr; align-items: start; padding: 1.3rem; }
  .value__l { font-size: 3.4rem; }
}

/* ── Service showcase (home) ──────────────────────── */
.hs__track { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.hs__intro { grid-column: 1 / -1; display: grid; gap: 1.1rem; margin-bottom: 1.6rem; max-width: 760px; }
.hs__panel {
  position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .65rem; padding: 1rem 1rem 1.5rem;
  background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.hs__panel:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hs__img { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--plate); margin-bottom: .6rem; }
.hs__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s ease; }
.hs__panel:hover .hs__img img { transform: scale(1.06); }
.hs__panel h3, .svc h3 { font: 450 1.45rem/1.15 var(--f-display); letter-spacing: -.01em; padding-inline: .4rem; }
.hs__panel p { color: var(--muted); font-size: .95rem; padding-inline: .4rem; }
.hs__panel .link { padding-inline: .4rem; margin-top: .4rem; }
.tag { justify-self: start; display: inline-block; padding: .38em .8em; border-radius: 999px; background: var(--mint); color: var(--brand); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-inline: .4rem; }
.hs__outro {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem;
  margin-top: 1rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--r); background: var(--brand); color: var(--brand-ink);
}
.hs__outro .h3 { font-family: var(--f-display); }
.hs__outro p { opacity: .85; margin-top: .3rem; }
.hs__outro .btn { border-color: currentColor; color: inherit; }
.hs__outro .btn--light { color: #1b241c; border-color: #fff; }
.hs__bar { display: none; }
@media (max-width: 980px) { .hs__track { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hs__track { grid-template-columns: 1fr; } }

/* ── Before / after ───────────────────────────────── */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.case { display: grid; gap: .9rem; }
.case figcaption { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--muted); padding-inline: .3rem; }
.case figcaption b { color: var(--ink); font-weight: 600; }
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 2; background: #2a2120;
  box-shadow: var(--shadow); user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 1rem; z-index: 2; padding: .4em .85em; border-radius: 999px;
  background: rgba(15, 20, 15, .55); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ba__tag--b { left: 1rem; } .ba__tag--a { right: 1rem; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.ba__handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d5d49' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range:focus-visible + .ba__handle::after { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* ── Statement ────────────────────────────────────── */
.say { position: relative; background: var(--brand-2); color: #f3f5ef; padding-block: clamp(5rem, 12vw, 10rem); overflow: hidden; text-align: center; }
:root[data-theme="dark"] .say { background: #182219; }
.say .wrap { display: grid; justify-items: center; gap: 2rem; }
.say p { font: 350 clamp(2rem, 5.2vw, 4.4rem)/1.08 var(--f-display); letter-spacing: -.02em; max-width: 18ch; text-wrap: balance; }
.say p .hot { font-style: italic; color: #cfe2c3; }
.say small { font-size: .95rem; letter-spacing: .08em; opacity: .75; }
.say__tooth { position: absolute; width: min(60vw, 640px); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .06; color: #fff; pointer-events: none; }

/* ── Clinic tour ──────────────────────────────────── */
.tour { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: clamp(520px, 62vw, 760px); }
.tour figure { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.tour figure:first-child { grid-row: 1 / 3; }
.tour figure:nth-child(4) { grid-column: 2 / 4; }
.tour img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tour figure:hover img { transform: scale(1.05); }
.tour figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .5em .95em; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: #1b241c; font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 760px) {
  .tour { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .tour figure { aspect-ratio: 3 / 4; }
  .tour figure:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .tour figure:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* ── Team ─────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.doc {
  position: relative; display: grid; align-content: start; gap: 1rem; padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); overflow: hidden;
}
.doc__mono {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--brand); font: 400 1.8rem/1 var(--f-display); font-style: italic;
  box-shadow: inset 0 0 0 1px var(--line);
}
.doc h3 { font: 450 1.75rem/1.1 var(--f-display); letter-spacing: -.01em; }
.doc__cred { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.doc p { color: var(--muted); font-size: .96rem; }
.doc__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.doc__tags span { padding: .35em .75em; border-radius: 999px; border: 1px solid var(--line-2); font-size: .78rem; color: var(--ink-2); }
.doc::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--mint); opacity: .6; z-index: 0; }
.doc > * { position: relative; z-index: 1; }
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.mate { position: relative; overflow: hidden; border-radius: var(--r); background: linear-gradient(180deg, var(--bg-2), var(--sage)); aspect-ratio: 4 / 5; }
.mate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s ease; }
.mate:hover img { transform: scale(1.04); }
.mate figcaption { position: absolute; inset: auto 0 0 0; padding: 3.4rem 1.3rem 1.2rem; background: linear-gradient(transparent, rgba(16, 22, 16, .78)); color: #fff; display: grid; gap: .15rem; }
.mate b { font: 450 1.5rem/1.1 var(--f-display); }
.mate span { font-size: .85rem; opacity: .85; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .crew { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .crew { grid-template-columns: 1fr; } }

/* ── Reviews ──────────────────────────────────────── */
.rv-grid { columns: 3 300px; column-gap: 1.2rem; }
.rv {
  break-inside: avoid; display: grid; gap: 1rem; margin-bottom: 1.2rem; padding: 1.5rem 1.5rem 1.4rem;
  border-radius: var(--r); background: var(--card); box-shadow: var(--shadow);
}
.rv__stars { color: var(--star); letter-spacing: .15em; font-size: .9rem; }
.rv blockquote { font-size: 1rem; color: var(--ink-2); line-height: 1.6; }
.rv h3 { font: 450 1.3rem/1.2 var(--f-display); }
.rv footer { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .92rem; }
.rv__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--brand); font-size: .85rem; font-weight: 700; flex: none; }
.rv footer small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.rv--feature { background: var(--brand); color: var(--brand-ink); }
.rv--feature blockquote, .rv--feature footer small { color: inherit; opacity: .88; }
.rv--feature .rv__av { background: rgba(255, 255, 255, .16); color: inherit; }
.rv--feature .rv__stars { color: #f3cf7a; }
:root[data-theme="dark"] .rv--feature .rv__stars { color: #6a4e10; }
.rv-rows { display: grid; gap: 1.2rem; }
.rv-row { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.rv-row__in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
.rv-row .rv { margin: 0; }
.rv-row + .rv-row { display: none; }
@media (max-width: 980px) { .rv-row__in { grid-template-columns: 1fr; } .rv-row .rv:nth-child(n+3) { display: none; } }

.score { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.score__big { font: 300 clamp(3.4rem, 7vw, 5.4rem)/1 var(--f-display); color: var(--brand); }
.score__stars { color: var(--star); font-size: 1.5rem; letter-spacing: .12em; }

/* ── Panel companies ──────────────────────────────── */
.panels { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: center; padding: clamp(1.8rem, 4vw, 3rem); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.panels__logos { display: flex; gap: 1rem; justify-content: flex-end; }
.panels__logos span { display: grid; place-items: center; width: 150px; height: 120px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.panels__logos img { max-height: 76px; width: auto; }
@media (max-width: 760px) { .panels { grid-template-columns: 1fr; } .panels__logos { justify-content: flex-start; } }

/* ── Visit (hours + map) ──────────────────────────── */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: stretch; }
.visit__card { display: grid; gap: 1.6rem; align-content: start; padding: clamp(1.6rem, 3.5vw, 2.6rem); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours td { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--brand); font-weight: 700; }
.hours tr.is-today td:first-child::after { content: "Today"; margin-left: .6rem; padding: .2em .6em; border-radius: 999px; background: var(--mint); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.hours-note { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.addr { display: grid; gap: .9rem; }
.addr a, .addr p { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-2); }
.addr a:hover { color: var(--brand); }
.addr svg { width: 20px; height: 20px; flex: none; margin-top: .2em; color: var(--brand); }
.map { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: var(--map-filter); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* ── CTA band ─────────────────────────────────────── */
.cta { position: relative; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); text-align: center; }
.cta .wrap { display: grid; justify-items: center; gap: 1.6rem; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.8rem, 8vw, 6.6rem); }
.cta__badge { position: relative; display: grid; place-items: center; width: 150px; height: 150px; margin-top: 1rem; border-radius: 50%; background: var(--brand); color: var(--brand-ink); box-shadow: 0 20px 40px -18px var(--brand); }
.cta__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.cta__badge text { font: 700 13.5px var(--f-body); letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.cta__badge b { font: 450 1.3rem/1 var(--f-display); font-style: italic; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta::before { content: ""; position: absolute; inset: auto 50% -60% auto; width: 120vw; height: 120vw; max-width: 1400px; max-height: 1400px; transform: translateX(50%); background: radial-gradient(closest-side, var(--mint), transparent 70%); z-index: 0; }

/* ── Inner page hero ──────────────────────────────── */
.page-hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); overflow: clip; }
.page-hero::before { content: ""; position: absolute; right: -15vw; top: -30vw; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(closest-side, var(--mint), transparent 72%); z-index: -1; }
.page-hero .wrap { display: grid; gap: 1.3rem; justify-items: start; }
.page-hero .h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; }
.crumbs { display: flex; gap: .5rem; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ── Services page ────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5em; padding: .62em 1.1em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line-2); background: transparent; font-size: .92rem; font-weight: 600; color: var(--ink-2);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip small { opacity: .7; font-weight: 500; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.svc {
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: .6rem; padding: 1rem 1rem 1.4rem; scroll-margin-top: 140px;
  border-radius: var(--r); background: var(--card); box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc:target { box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg); }
.svc .hs__img { margin-bottom: .5rem; }
.svc p { color: var(--muted); font-size: .95rem; padding-inline: .4rem; }
.svc .link { padding-inline: .4rem; margin-top: .3rem; font-size: .92rem; }
.svc[hidden] { display: none; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.note { font-size: .85rem; color: var(--muted); margin-top: 1.4rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: .6rem; padding: 1.5rem; border-radius: var(--r); border: 1px solid var(--line-2); }
.steps li::before { content: "0" counter(s); font: 300 2.4rem/1 var(--f-display); color: var(--brand); }
.steps b { font-size: 1.05rem; }
.steps p { font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ── About page ───────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split__img { border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__img { aspect-ratio: 4 / 3; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.stat { display: grid; gap: .3rem; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.stat b { font: 300 2.6rem/1 var(--f-display); color: var(--brand); }
.stat span { font-size: .88rem; color: var(--muted); }
.doc-long { display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.4rem, 4vw, 3.5rem); padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line-2); }
.doc-long:last-child { border-bottom: 1px solid var(--line-2); }
.doc-long__id { display: grid; gap: .8rem; align-content: start; }
.doc-long h3 { font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--f-display); letter-spacing: -.02em; }
@media (max-width: 760px) { .doc-long { grid-template-columns: 1fr; } }

/* ── Contact page ─────────────────────────────────── */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ccard {
  display: grid; gap: .9rem; align-content: start; padding: 1.7rem; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ccard__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mint); color: var(--brand); }
.ccard__ic svg { width: 24px; height: 24px; }
.ccard b { font: 450 1.4rem/1.1 var(--f-display); }
.ccard span { color: var(--muted); font-size: .94rem; }
.ccard--main { background: var(--brand); color: var(--brand-ink); }
.ccard--main span { color: inherit; opacity: .85; }
.ccard--main .ccard__ic { background: rgba(255, 255, 255, .16); color: inherit; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details { border-radius: 18px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.5rem; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d5d49' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.5rem 1.4rem; color: var(--ink-2); display: grid; gap: .6rem; }
.faq a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── Booking ──────────────────────────────────────── */
.book { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.book__form { display: grid; gap: 1.6rem; padding: clamp(1.4rem, 3.5vw, 2.6rem); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.progress { display: flex; gap: .5rem; }
.progress span { flex: 1; display: grid; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.progress span::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s ease; }
.progress span.is-on { color: var(--brand); }
.progress span.is-on::before { background: var(--brand); }
.step { display: grid; gap: 1.6rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step h2 { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--f-display); letter-spacing: -.015em; }
.field { display: grid; gap: .55rem; }
.field > label, .field > .lbl { font-weight: 600; font-size: .95rem; }
.field small { color: var(--muted); font-size: .84rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1rem; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg);
  font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field input[aria-invalid="true"] { border-color: #c4553a; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span {
  display: grid; gap: .2rem; height: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid var(--line-2);
  font-weight: 600; font-size: .94rem; transition: border-color .2s ease, background-color .2s ease;
}
.opt span small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.opt input:hover + span { border-color: var(--ink-2); }
.opt input:checked + span { border-color: var(--brand); background: var(--mint); color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.opt input:disabled { cursor: not-allowed; }
.opt input:disabled + span { opacity: .4; text-decoration: line-through; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 78px; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.days .opt { scroll-snap-align: start; }
.days .opt span { justify-items: center; text-align: center; padding: .75rem .4rem; }
.days .opt b { font: 400 1.6rem/1 var(--f-display); }
.days .opt small { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .7rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: .15em; accent-color: var(--brand); flex: none; }
.check a { color: var(--brand); text-decoration: underline; }
.form-nav { display: flex; justify-content: space-between; gap: 1rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.form-err { color: #c4553a; font-weight: 600; font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sum { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 1.2rem; padding: 1.8rem; border-radius: 28px; background: var(--brand); color: var(--brand-ink); }
.sum h3 { font: 400 1.6rem/1.1 var(--f-display); }
.sum dl { display: grid; gap: .9rem; }
.sum dl div { display: grid; gap: .15rem; padding-bottom: .9rem; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.sum dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; font-weight: 700; }
.sum dd { font-weight: 600; }
.sum p { font-size: .88rem; opacity: .8; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } .sum { position: static; order: -1; } }
.done { display: grid; gap: 1.4rem; justify-items: start; }
.done[hidden] { display: none; }
.done__ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--brand); }
.done__ic svg { width: 34px; height: 34px; }
.done__ref { font: 400 clamp(2.2rem, 5vw, 3.2rem)/1 var(--f-display); color: var(--brand); letter-spacing: .02em; }

/* ── Legal ────────────────────────────────────────── */
.legal { max-width: 760px; display: grid; gap: 1.1rem; color: var(--ink-2); }
.legal h2 { font: 400 1.7rem/1.2 var(--f-display); color: var(--ink); margin-top: 1.4rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; }
.legal a { color: var(--brand); text-decoration: underline; }

/* ── Footer ───────────────────────────────────────── */
.site-foot { background: var(--brand-2); color: #e8ede3; padding-block: clamp(3.5rem, 7vw, 5.5rem) 6rem; }
:root[data-theme="dark"] .site-foot { background: #0b100c; color: var(--ink-2); border-top: 1px solid var(--line); }
.site-foot .brand, .site-foot .brand__name { color: #e8ede3; }
.foot__big { font: 350 clamp(2.4rem, 6.4vw, 5.6rem)/1 var(--f-display); letter-spacing: -.03em; padding-bottom: clamp(2rem, 5vw, 3.6rem); margin-bottom: clamp(2rem, 5vw, 3.2rem); border-bottom: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.6rem; }
.foot__big em { font-style: italic; color: #cfe2c3; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.4rem; }
.foot__grid h4 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: 1rem; font-weight: 700; }
.foot__grid li { margin-bottom: .55rem; font-size: .95rem; }
.foot__grid a { opacity: .88; } .foot__grid a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.foot__about p { margin-top: 1.2rem; font-size: .94rem; opacity: .78; max-width: 36ch; }
.socials { display: flex; gap: .5rem; margin-top: 1.4rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); opacity: 1 !important; transition: background-color .2s ease; }
.socials a:hover { background: rgba(255, 255, 255, .1); text-decoration: none !important; }
.socials svg { width: 18px; height: 18px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; opacity: .7; }
.foot__base a:hover { text-decoration: underline; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp button */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .3s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
