/* ==========================================================================
   Molecule Skin Clinic — site stylesheet
   ========================================================================== */

:root {
  --linen: #f7f4ef;
  --sand: #efe8df;
  --stone: #e2d9cd;
  --line: #d9cfc2;
  --clay: #7d6857;
  --clay-dark: #65533f;
  --ink: #26211d;
  --ink-soft: #5b524a;
  --ink-mute: #857a70;
  --espresso: #2c2724;
  --espresso-2: #39332f;
  --white: #ffffff;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--linen); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); line-height: 1.04; font-weight: 300; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; font-weight: 300; }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.2; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}
.lead { font-size: 1.125rem; color: var(--ink-soft); line-height: 1.7; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.875rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border-radius: 999px;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--espresso); color: var(--linen); }
.btn--primary:hover { background: var(--clay); }
.btn--secondary { background: transparent; color: var(--ink); border-color: rgba(38,33,29,.28); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--light { background: var(--linen); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--ghost-light { color: var(--linen); border-color: rgba(247,244,239,.4); }
.btn--ghost-light:hover { border-color: var(--linen); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link .arrow { transition: transform .2s ease; }
.text-link:hover .arrow { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.topbar {
  background: var(--espresso); color: var(--linen);
  font-size: 0.8125rem; letter-spacing: 0.01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__meta { display: flex; gap: 22px; color: rgba(247,244,239,.75); }
.topbar__short { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,239,.96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; color: var(--ink); }
.brand .logo-svg { height: 56px; width: auto; display: block; overflow: visible; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ink);
  padding: 8px 0; background: none; border: 0; font-family: inherit; cursor: pointer;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__chev { width: 10px; height: 10px; transition: transform .2s ease; }

.nav__item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -24px;
  min-width: 300px; padding: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 40px rgba(38,33,29,.08);
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item:hover .dropdown, .nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover .nav__chev, .nav__item.is-open .nav__chev { transform: rotate(180deg); }
.dropdown a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 10px 12px; border-radius: 6px; text-decoration: none; font-size: 0.9375rem;
}
.dropdown a:hover { background: var(--sand); }
.dropdown a span { color: var(--ink-mute); font-size: 0.8125rem; white-space: nowrap; }
.dropdown .dropdown__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.dropdown .dropdown__all a { font-weight: 600; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s ease, background .2s ease;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--espresso); color: var(--linen); }
.section--dark h2, .section--dark h3 { color: var(--linen); }
.section--dark .muted, .section--dark .lead { color: rgba(247,244,239,.72); }
.section--dark .eyebrow { color: #c9b5a0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 + p { margin-top: 18px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }

/* ---------- Hero (split) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(calc(100vh - var(--header-h) - 38px), 860px); }
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero__content h1 { margin-bottom: 24px; max-width: 13ch; }
.hero__content .lead { max-width: 34rem; margin-bottom: 34px; }
.hero__media { position: relative; overflow: hidden; background: var(--stone); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 24px; bottom: 24px; right: 24px; max-width: 340px;
  background: rgba(247,244,239,.94); border-radius: var(--radius); padding: 16px 20px;
  font-size: 0.875rem; line-height: 1.5; display: flex; gap: 14px; align-items: center;
}
.hero__badge strong { display: block; font-size: 0.9375rem; }
.hero__badge-dot { position: relative; flex: 0 0 10px; height: 10px; border-radius: 50%; background: #7f9c70; }
.hero__badge-dot::before, .hero__badge-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #7f9c70; animation: pulse-ring 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
.hero__badge-dot::after { animation-delay: 1.2s; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(3.4); opacity: 0; } }
.hero__brands { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-mute); }
.hero__brands ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 6px; color: var(--ink-soft); font-weight: 500; }

/* Page hero for treatments */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-hero h1 { margin-bottom: 22px; }
.page-hero .lead { margin-bottom: 30px; }
.page-hero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; list-style: none; }
.facts li {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  font-size: 0.875rem; color: var(--ink-soft); background: rgba(255,255,255,.5);
}
.facts li strong { color: var(--ink); font-weight: 600; }

.breadcrumb { font-size: 0.8125rem; color: var(--ink-mute); padding-top: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Category panels (home) ---------- */
.categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.category { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.category__media { display: block; position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.category__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.category:hover .category__media img { transform: scale(1.03); }
.category__body { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; }
.category__body h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 300; margin-bottom: 10px; }
.category__body > p { color: var(--ink-soft); margin-bottom: 22px; }
.category__links { list-style: none; border-top: 1px solid var(--line); margin-bottom: 26px; }
.category__links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500;
}
.category__links a:hover { color: var(--clay); }
.category__links a span { color: var(--ink-mute); font-weight: 400; font-size: 0.875rem; }
.category__body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Statement ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.statement p.statement__text { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.35rem); line-height: 1.3; font-weight: 300; color: var(--ink); margin-bottom: 28px; }

/* ---------- Treatment cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.card { display: flex; flex-direction: column; text-decoration: none; }
.card__media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--stone); margin-bottom: 18px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__meta { font-size: 0.8125rem; color: var(--ink-mute); margin-bottom: 6px; font-weight: 500; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 0.9375rem; margin-bottom: 14px; }
.card .text-link { align-self: flex-start; font-size: 0.875rem; margin-top: auto; }

/* ---------- Feature split (image + text) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--landscape { aspect-ratio: 3 / 2; }
.split__body h2 { margin-bottom: 22px; }
.split__body .btn-row, .split__body .text-link { margin-top: 30px; }

.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 1px solid rgba(247,244,239,.18); }
.spec { padding: 22px 22px 22px 0; border-bottom: 1px solid rgba(247,244,239,.18); }
.spec:nth-child(odd) { border-right: 1px solid rgba(247,244,239,.18); }
.spec:nth-child(even) { padding-left: 22px; }
.spec strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; color: var(--linen); margin-bottom: 4px; }
.spec span { font-size: 0.9rem; color: rgba(247,244,239,.7); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-size: 1.5rem; color: var(--clay); line-height: 1.2; }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.975rem; }

.steps--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); border-top: 0; }
.steps--row .step { display: block; border-bottom: 0; border-top: 1px solid var(--ink); padding: 22px 0 0; }
.steps--row .step__num { display: block; margin-bottom: 26px; }

/* ---------- Check lists ---------- */
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; border-top: 1px solid var(--line); }
.checklist--single { grid-template-columns: 1fr; }
.checklist li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--clay); border-bottom: 1.5px solid var(--clay); transform: rotate(-45deg);
}

.indications { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.indication { background: var(--white); border-radius: var(--radius); padding: 26px 24px; }
.indication h3 { font-size: 1.25rem; margin-bottom: 14px; }
.indication ul { list-style: none; }
.indication li { padding: 7px 0; border-top: 1px solid var(--sand); font-size: 0.9375rem; color: var(--ink-soft); }

.note {
  margin-top: 28px; padding: 18px 22px; border-left: 2px solid var(--clay);
  background: rgba(255,255,255,.55); font-size: 0.9375rem; color: var(--ink-soft); border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Prose ---------- */
.prose h2 { margin-bottom: 20px; }
.prose h3 { margin: 32px 0 10px; }
.prose p { color: var(--ink-soft); }
.prose p.lead { color: var(--ink-soft); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .acc-sub { display: block; font-family: var(--sans); font-size: 0.8125rem; color: var(--ink-mute); margin-top: 4px; letter-spacing: .01em; }
.accordion summary::after {
  content: ""; flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.accordion details[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat; transform: rotate(180deg);
}
.accordion summary:hover::after { border-color: var(--ink); }
.accordion__body { padding: 0 56px 26px 0; color: var(--ink-soft); }
.accordion__body p { margin-bottom: .9em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; list-style: none; }
.tags li { font-size: 0.8125rem; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-soft); }
.section--sand .tags li { background: var(--linen); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--espresso); color: var(--linen); border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.cta-band__body { padding: clamp(36px, 5vw, 72px); }
.cta-band h2 { color: var(--linen); margin-bottom: 18px; }
.cta-band p { color: rgba(247,244,239,.75); max-width: 36rem; margin-bottom: 30px; }
.cta-band__media { position: relative; min-height: 280px; }
.cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Brands strip ---------- */
.brands { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__label { font-size: 0.8125rem; color: var(--ink-mute); margin-bottom: 18px; }
.brands ul { list-style: none; display: flex; gap: 64px; }
.brands li { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 300; color: var(--ink-soft); white-space: nowrap; }
.brands li::after { content: "\2726"; font-size: .45em; color: var(--clay); margin-left: 64px; vertical-align: middle; }

/* ---------- Price tables ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  text-align: left; font-size: 0.75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); padding: 0 16px 14px 0; border-bottom: 1px solid var(--ink);
}
.price-table td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.price-table .pt-name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.price-table .pt-name a { text-decoration: none; }
.price-table .pt-name a:hover { text-decoration: underline; }
.price-table .pt-desc { color: var(--ink-soft); font-size: 0.9rem; max-width: 34rem; }
.price-table .pt-dur { color: var(--ink-soft); white-space: nowrap; font-size: 0.9375rem; }
.price-table .pt-price { font-weight: 600; font-size: 1rem; }

.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.zone { margin-bottom: 40px; }
.zone h3 { font-size: 1.3rem; padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.zone dl { margin: 0; }
.zone .row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.zone dt { color: var(--ink); }
.zone dd { margin: 0; font-weight: 600; white-space: nowrap; }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.booking__frame { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.booking__frame iframe { display: block; width: 100%; min-height: 760px; border: 0; }
.booking__fallback { font-size: 0.875rem; color: var(--ink-mute); margin-top: 14px; }
.contact-card { background: var(--white); border-radius: 10px; padding: clamp(24px, 3vw, 36px); }
.contact-card + .contact-card { margin-top: 18px; }
.contact-card h3 { margin-bottom: 14px; }
.contact-card dl { margin: 0; }
.contact-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--sand); font-size: 0.9375rem; }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card dt { color: var(--ink-soft); }
.contact-card dd { margin: 0; font-weight: 500; text-align: right; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--white); border-radius: 10px; overflow: hidden; }
.visit__media { position: relative; min-height: 360px; }
.visit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit__body { padding: clamp(32px, 5vw, 64px); }
.visit__body h2 { margin-bottom: 26px; }
.visit__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; margin-bottom: 34px; }
.visit__grid h4 { margin-bottom: 6px; font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.visit__grid p { color: var(--ink); font-size: 0.975rem; }
.visit__grid a { text-decoration: none; }
.visit__grid a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(247,244,239,.78); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 0.9375rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; border-bottom: 1px solid rgba(247,244,239,.14); }
.footer-brand > img { height: 64px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 22rem; }
.site-footer h4 { color: var(--linen); font-size: 0.8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--linen); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 0.8125rem; color: rgba(247,244,239,.55); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px;
  box-shadow: 0 10px 30px rgba(38,33,29,.12); font-size: 0.875rem; font-weight: 600;
}
.wa-float__icon { width: 38px; height: 38px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; }
.wa-float__icon svg { width: 20px; height: 20px; }
.wa-float:hover { border-color: var(--ink); }

/* ---------- Test banner ---------- */
.test-banner { background: #f3e3b5; color: #4a3b12; text-align: center; font-size: 0.8125rem; padding: 6px 12px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-s { margin-bottom: 14px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__list { gap: 22px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .brand .logo-svg { height: 46px; }
  .menu-toggle { display: inline-flex; }
  /* backdrop-filter maakt van de header een containing block voor het fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--linen); }
  .topbar__long { display: none; }
  .topbar__short { display: inline; }
  .test-banner { font-size: 0.75rem; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99;
    background: var(--linen); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item, .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; font-family: var(--serif); font-size: 1.6rem; font-weight: 300; padding: 16px 0; }
  .nav__link::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent;
    padding: 0 0 14px; min-width: 0; display: none;
  }
  .nav__item.is-open .dropdown { display: block; }
  .nav__item:hover .dropdown { opacity: 1; }
  .dropdown a { padding: 10px 0; }
  .dropdown a:hover { background: transparent; color: var(--clay); }
  .nav > .btn { margin-top: 28px; }

  .topbar__meta { display: none; }
  .topbar .wrap { justify-content: center; text-align: center; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 3.4; }
  .hero__content { padding: 40px var(--gutter) 56px; }
  .hero__content h1 { max-width: none; }
  .page-hero__grid, .split, .two-col, .statement, .booking, .visit, .cta-band { grid-template-columns: 1fr; }
  .page-hero__media { aspect-ratio: 4 / 3.6; order: -1; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3.6; }
  .categories { grid-template-columns: 1fr; }
  .steps--row { grid-template-columns: 1fr; }
  .cta-band__media { min-height: 240px; order: -1; }
  .visit__media { min-height: 260px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .zones { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec:nth-child(odd) { border-right: 0; }
  .spec:nth-child(even) { padding-left: 0; }
  .visit__grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .accordion__body { padding-right: 0; }
  .btn-row .btn { width: 100%; }
  .hero__badge { left: 14px; right: 14px; bottom: 14px; }
  .wa-float__label { display: none; }
  .wa-float { padding: 8px; }

  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
  .price-table td { padding: 0; border: 0; text-align: left !important; }
  .price-table td.pt-cell-name { grid-column: 1; }
  .price-table td.pt-cell-price { grid-column: 2; grid-row: 1; text-align: right !important; }
  .price-table td.pt-cell-desc { grid-column: 1 / -1; }
  .price-table td.pt-cell-dur { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ==========================================================================
   Keurmerk
   ========================================================================== */
.keurmerk { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; text-decoration: none !important; }
.keurmerk__badge { flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.keurmerk__badge img { width: 46px; height: auto; }
.keurmerk:hover .keurmerk__badge { transform: rotate(-8deg) scale(1.04); }
.keurmerk__text { font-size: 0.8125rem; line-height: 1.45; color: rgba(247,244,239,.7); }

/* ==========================================================================
   Motion
   ========================================================================== */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }
html { scroll-behavior: smooth; }

/* zachte pagina-entree */
.js body { animation: page-in .9s var(--ease-out) both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* header verbergt bij naar beneden scrollen, verschijnt bij omhoog scrollen */
.site-header { transition: transform .6s var(--ease-out), border-color .3s ease, background-color .3s ease; }
.site-header.is-hidden { transform: translateY(-100%); }

/* logo: molecuul tekent zichzelf bij het eerste bezoek */
.logo-intro .logo-svg .lg-bond, .logo-intro .logo-svg .lg-atom { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease-io) .25s forwards; }
.logo-intro .logo-svg .lg-atom { animation-delay: .7s; }
.logo-intro .logo-svg .lg-label { opacity: 0; animation: fade 1s ease 1.5s forwards; }
.logo-intro .logo-svg .lg-word, .logo-intro .logo-svg .lg-sub, .logo-intro .logo-svg .lg-rule { opacity: 0; animation: fade 1.2s ease .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.brand:hover .logo-svg .lg-atom { animation: atom-pop .9s var(--ease-out); }
@keyframes atom-pop { 40% { stroke-width: 7; } }

/* koppen pas tonen als ze in woorden gesplitst zijn (voorkomt flits) */
.js:not(.motion-ready) h1, .js:not(.motion-ready) h2, .js:not(.motion-ready) .statement__text { opacity: 0; }

/* woorden schuiven omhoog uit een masker */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + var(--base-delay, 0ms)); }
.split-words.is-in .w > span { transform: none; }

/* algemene reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* beeld-reveal: gordijn van onder naar boven + zachte zoom */
.js .img-reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.5s var(--ease-io), transform 2.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .img-reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(var(--img-scale, 1)); }

/* parallax-ruimte */
.parallax img { --img-scale: 1.12; translate: 0 var(--py, 0px); will-change: transform, translate; }
.js .parallax:not(.img-reveal) img { transform: scale(1.12); }

/* hero: langzame ken-burns */
.hero__media img { animation: kenburns 14s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.js .hero__badge { opacity: 0; transform: translateY(16px); animation: badge-in 1s var(--ease-out) 1.3s forwards; }
@keyframes badge-in { to { opacity: 1; transform: none; } }

/* knoppen: vulling schuift omhoog */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease-out), border-color .45s var(--ease-out), background-color .45s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); border-radius: inherit; transition: transform .55s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn--primary:hover { background: var(--espresso); }
.btn--primary::before { background: var(--clay); }
.btn--secondary::before { background: var(--ink); }
.btn--secondary:hover { color: var(--linen); border-color: var(--ink); }
.btn--light::before { background: var(--clay); }
.btn--light:hover { color: var(--linen); background: var(--linen); }
.btn--ghost-light::before { background: var(--linen); }
.btn--ghost-light:hover { color: var(--ink); }

/* tekstlinks: lijn tekent opnieuw */
.text-link { border-bottom: 0; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease-out); }
.text-link:hover { animation: underline 0.8s var(--ease-out); }
@keyframes underline { 0% { background-size: 100% 1px; background-position: right bottom; } 45% { background-size: 0 1px; background-position: right bottom; } 46% { background-position: left bottom; } 100% { background-size: 100% 1px; background-position: left bottom; } }

/* kaarten */
.card__media, .category__media { position: relative; }
.card__media img, .category__media img { transition: transform 1.4s var(--ease-out), filter 1s ease; }
.card:hover .card__media img, .category:hover .category__media img { transform: scale(1.05); }
.card h3 { transition: color .4s ease; }
.card:hover h3 { color: var(--clay); }

/* merken als langzame marquee */
.brands { overflow: hidden; }
.brands__track { display: flex; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.brands__track ul { flex: none; }
.brands:hover .brands__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* accordion: vloeiend openen */
.accordion__body { overflow: hidden; }
.accordion summary { transition: color .3s ease; }
.accordion summary:hover { color: var(--clay); }

/* stappen: nummer schuift mee */
.step__num { transition: transform .6s var(--ease-out); }
.step:hover .step__num { transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .img-reveal img, .split-words .w > span, .js .hero__badge { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__media img, .brands__track, .hero__badge-dot::before, .hero__badge-dot::after, .js body { animation: none !important; }
  .logo-intro .logo-svg * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
}


/* ==========================================================================
   Cookietoestemming
   ========================================================================== */
.consent {
  position: fixed; left: 20px; bottom: 20px; z-index: 200;
  width: min(440px, calc(100vw - 40px));
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 24px 60px rgba(38,33,29,.16);
  padding: 24px 24px 22px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .45s var(--ease-out, ease), transform .45s var(--ease-out, ease);
}
.consent.is-visible { opacity: 1; transform: none; }
.consent__title { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 8px; }
.consent__text { font-size: 0.875rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 18px; }
.consent__text a { color: var(--ink); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent__actions .btn { min-height: 44px; padding: 0 16px; font-size: 0.875rem; width: 100%; }
.consent-open .wa-float { opacity: 0; pointer-events: none; }
.wa-float { transition: opacity .3s ease; }

.footer-legal { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.footer-link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.footer-link-btn:hover { color: var(--linen); text-decoration: underline; }

@media (max-width: 640px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px 18px 18px; }
  .consent__actions { grid-template-columns: 1fr; }
}
