/* Centre Symmetrîa. Brand colours and type from the client's logo file: ink on still water. */
:root {
  --water: #F9EBCD;
  --paper: #FDF6E6;
  --ink: #00344B;
  --spread: #40596A;
  --line: rgba(0, 52, 75, .18);
  --line-strong: rgba(0, 52, 75, .4);
  --sans: 'Be Vietnam Pro', 'Helvetica Neue', sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --head: 112px;
  --head-compact: 60px;
}
* { box-sizing: border-box; }
html { background: var(--water); color: var(--ink); scroll-behavior: smooth; scroll-padding-top: calc(var(--head-compact) + 8px); scrollbar-color: var(--spread) var(--water); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--water); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ─── Fixed header: big logo at the top of the page, small once scrolling ─── */
.head { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--head); background: rgba(249, 235, 205, .96); border-bottom: 1px solid var(--line); transition: height 220ms var(--ease-out); }
.head-in { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); height: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.head-space { height: var(--head); }
.head .brand { flex: none; }
.head .brand .imago { width: 60px; transition: width 220ms var(--ease-out); }
.head .brand .wordmark { width: 190px; transition: width 220ms var(--ease-out); }
.head.compact { height: var(--head-compact); }
.head.compact .brand .imago { width: 30px; }
.head.compact .brand .wordmark { width: 130px; }

/* ─── Hero: still margin + basin ─── */
.hero { display: grid; grid-template-columns: minmax(380px, 38%) 1fr; min-height: calc(100vh - var(--head)); min-height: calc(100svh - var(--head)); }
.margin { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 32px var(--gutter) 40px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .imago { width: 28px; height: auto; flex: none; }
.brand .wordmark { width: 130px; height: auto; flex: none; }
.top-end { display: flex; flex: none; align-items: center; gap: 6px; }
.lang { display: inline-flex; gap: 4px; }
.ig { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); transition: background-color 160ms ease; }
.ig svg { width: 22px; height: 22px; }
.lang button { all: unset; cursor: pointer; padding: 4px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--spread); transition: color 160ms ease, background-color 160ms ease; }
.lang button[aria-pressed="true"] { color: var(--ink); background: rgba(0, 52, 75, .08); }
.hook { margin: 0; font-weight: 400; font-size: clamp(2.1rem, 3.3vw, 3.3rem); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.hook span { display: block; }
.hook .l2 { font-weight: 700; }
.hook .kw { margin-bottom: 16px; font-size: 1rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--spread); }
.sub { margin: 20px 0 0; color: var(--spread); max-width: 44ch; }
.do { display: grid; gap: 14px; }
.btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; background: var(--ink); color: var(--water); font-weight: 600; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.next { display: flex; gap: 10px; align-items: baseline; color: var(--spread); font-size: .95rem; text-decoration: none; }
.next[hidden] { display: none; }
.next b { color: var(--ink); font-weight: 600; }
.next .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; transform: translateY(-1px); }

.basin { position: relative; margin: 14px 14px 14px 0; border-radius: 6px; overflow: hidden; background: var(--water); border: 1px solid var(--line); }
.basin canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: crosshair; }
.verbs { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 18px; font-size: .82rem; color: var(--spread); pointer-events: none; background: rgba(249, 235, 205, .82); padding: 6px 12px; border-radius: 999px; }
.verbs span::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; border: 1px solid currentColor; transform: translateY(-1px); }

/* ─── Calm sections ─── */
.nav { display: flex; flex: 1; min-width: 0; gap: clamp(12px, 1.6vw, 26px); align-items: center; overflow-x: auto; scrollbar-width: none; font-weight: 500; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; color: var(--spread); transition: color 160ms ease; }
.head .book { flex: none; display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 700; }
section.s { padding: clamp(72px, 10vw, 136px) 0; }
section.s + section.s { border-top: 1px solid var(--line); }
h2.h { margin: 0 0 28px; font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; text-wrap: balance; }
h2.h b { font-weight: 700; }
.lede { font-size: 1.2rem; max-width: 54ch; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.triplet { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 4px; }
.triplet li { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; letter-spacing: -0.015em; }
.triplet b { font-weight: 700; }
.triplet span { color: var(--spread); }

/* Treatments as dried sheets */
.sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.sheet img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.sheet h3 { margin: 22px 0 8px; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.sheet p { margin: 0; color: var(--spread); }
.sheet img.pos-mass { object-position: 38% 50%; }
.sheet img.pos-acu { object-position: 50% 56%; }
.sheet a { display: inline-block; margin-top: 14px; font-weight: 600; }

/* Where it hurts */
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 48px; }
.zone { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.zone h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; }
.zone p { margin: 0; color: var(--spread); }

/* Quim */
.quim { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.quim img { border-radius: 4px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 14%; }
.cred { margin: 0 0 14px; color: var(--spread); max-width: 54ch; }
.cred + .lede { margin-top: 28px; }
.role { margin: -16px 0 24px; color: var(--spread); font-weight: 600; }

/* Google reviews: a slow strip drifting to the right */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 40px; }
.reviews-head .h { margin: 0; }
.score { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--spread); font-weight: 500; }
.score b { color: var(--ink); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.stars { color: #A8741A; letter-spacing: .12em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; width: max-content; padding: 4px var(--gutter); }
.review { flex: none; width: min(360px, 78vw); margin: 0 20px 0 0; padding: 26px 26px 22px; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.review blockquote { margin: 12px 0 18px; font-size: 1.02rem; line-height: 1.55; flex: 1; }
.review figcaption { font-size: .9rem; color: var(--spread); }
.review figcaption b { color: var(--ink); font-weight: 600; }
.marquee.is-moving .track { padding: 4px 0; -webkit-animation: drift var(--dur, 90s) linear infinite; animation: drift var(--dur, 90s) linear infinite; }
.marquee.is-moving:hover .track, .marquee.is-moving:focus-within .track, .marquee.is-moving:active .track { -webkit-animation-play-state: paused; animation-play-state: paused; }
@-webkit-keyframes drift { from { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); } to { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } }
@keyframes drift { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.marquee:not(.is-moving) { overflow-x: auto; scroll-snap-type: x mandatory; }
.marquee:not(.is-moving) .review { scroll-snap-align: start; }
.reviews-foot { margin-top: 28px; }
.reviews-foot a { font-weight: 600; }

/* Questions: native disclosure, readable with no JS */
.faq-side { position: -webkit-sticky; position: sticky; top: calc(var(--head-compact) + 32px); }
.faq-side .h { margin-bottom: 24px; }
.faq-group { margin: 40px 0 8px; font-size: .9rem; font-weight: 600; color: var(--spread); }
.faq-group:first-child { margin-top: 0; }
.faq { border-top: 1px solid var(--line-strong); }
.faq:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { position: relative; padding: 18px 40px 18px 0; font-size: 1.15rem; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; top: 14px; right: 4px; font-size: 1.5rem; font-weight: 400; line-height: 1.3; transition: transform 200ms var(--ease-out); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 40px 22px 0; color: var(--spread); max-width: 62ch; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; }
.contact dt { font-size: .85rem; color: var(--spread); margin-bottom: 6px; }
.contact dd { margin: 0; font-weight: 600; }
.end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.end p { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.75rem); letter-spacing: -0.03em; font-weight: 700; }

footer { padding: 28px 0 148px; font-size: .85rem; color: var(--spread); border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.legal-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal-links a { min-height: 24px; }

/* Legal pages: both languages in the markup, the page shows the active one */
.legal { padding: clamp(40px, 6vw, 72px) 0 72px; }
.legal .wrap { max-width: 800px; }
.legal h1 { margin: 0; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.legal .updated { margin: 12px 0 36px; font-size: .9rem; color: var(--spread); }
.legal h2 { margin: 40px 0 10px; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal b { font-weight: 600; }
.legal table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-strong); text-align: left; vertical-align: top; }
.legal th { font-weight: 600; }
[data-only="es"] { display: none; }
html[lang="es"] [data-only="es"] { display: block; }
html[lang="es"] [data-only="ca"] { display: none; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--ink); color: var(--water); text-decoration: none; font-weight: 600; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .35); transition: transform 180ms var(--ease-out); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float:active { transform: scale(.96); }
/* Floating Instagram, stacked above WhatsApp: the client's videos live there */
.ig-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px); z-index: 50; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .35); transition: transform 180ms var(--ease-out); }
.ig-float svg { width: 24px; height: 24px; }
.wa-float, .ig-float { min-width: 172px; }
.ig-float:active { transform: scale(.96); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #00263A; }
  .btn-ghost:hover { background: rgba(0, 52, 75, .06); }
  .nav a:hover { color: var(--ink); }
  .wa-float:hover, .ig-float:hover { transform: translateY(-2px); }
  .lang button:hover { color: var(--ink); }
  .ig:hover { background: rgba(0, 52, 75, .08); }
}

/* Booking page */
.bk-top { position: -webkit-sticky; position: sticky; top: 0; z-index: 20; padding: 12px 0; background: rgba(249, 235, 205, .96); border-bottom: 1px solid var(--line); }
.bk-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.bk-page { padding: clamp(40px, 6vw, 80px) 0 110px; }
.bk-page h1 { margin: 0; font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1.02; letter-spacing: -0.035em; }
.bk-page h1 b { font-weight: 700; }
.bk-page .lede { margin: 16px 0 40px; color: var(--spread); }
.bk { --bk-ink: var(--ink); --bk-ground: var(--water); --bk-field: var(--paper); --bk-soft: var(--spread); --bk-line: var(--line); --bk-line-strong: var(--line-strong); --bk-radius: 10px; --bk-btn-radius: 999px; --bk-display: var(--sans); --bk-font: var(--sans); --bk-summary: var(--paper); --bk-step-font: 600 1.3rem/1.2 var(--sans); }

/* ─── Small screens ─── */
@media (max-width: 900px) {
  :root { --head: 124px; --head-compact: 56px; }
  .head-in { flex-wrap: wrap; align-content: center; gap: 0 12px; }
  .head .brand { flex: 1; }
  .head .brand .imago { width: 44px; }
  .head .brand .wordmark { width: 128px; }
  .nav { order: 3; flex: 1 1 calc(100% - 90px); }
  .head .book { order: 4; }
  .head.compact .head-in { flex-wrap: nowrap; }
  .head.compact .brand { flex: none; }
  .head.compact .brand .imago { width: 26px; }
  .head.compact .brand .wordmark, .head.compact .top-end { display: none; }
  .head.compact .nav { order: 2; flex: 1 1 0; }
  .head.compact .book { order: 3; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .basin { order: -1; margin: 10px; height: 48vh; height: 48svh; min-height: 320px; }
  .margin { gap: 28px; padding-top: 8px; }
  .split, .quim { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .sheets { grid-template-columns: 1fr; }
  .sheets { gap: 48px; }
  .sheet img { aspect-ratio: 4 / 3; }
  .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  footer { padding-bottom: 164px; }
  .bk-top .btn-ghost { display: none; }
  .legal table, .legal tbody, .legal tr, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { padding: 6px 0; border-bottom: 0; }
  .legal tr { padding: 6px 0; border-bottom: 1px solid var(--line-strong); }
  .contact { grid-template-columns: 1fr; }
  .verbs { left: 8px; right: 8px; bottom: 10px; gap: 8px; justify-content: center; padding: 5px 8px; font-size: .7rem; white-space: nowrap; }
  .verbs span::before { margin-right: 5px; }
  .wa-float, .ig-float { width: 56px; min-width: 0; padding: 0; justify-content: center; }
  .wa-float span, .ig-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
