/* Proposal 3 — Tinta en aigua. Ink on still water; quiet humanist type in a still margin. */
:root {
  --water: #F1ECE0;
  --paper: #F8F5EE;
  --ink: #12385A;
  --spread: #4F6476;
  --line: rgba(18, 56, 90, .18);
  --line-strong: rgba(18, 56, 90, .4);
  --sans: 'Hanken Grotesk', 'Helvetica Neue', sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
}
* { box-sizing: border-box; }
html { background: var(--water); color: var(--ink); scroll-behavior: smooth; 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%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ─── Hero: still margin + basin ─── */
.hero { display: grid; grid-template-columns: minmax(380px, 38%) 1fr; min-height: 100svh; }
.margin { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 32px var(--gutter) 40px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 28px; height: auto; }
.brand b { font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; }
.lang { display: inline-flex; gap: 4px; }
.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(18, 56, 90, .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 span + span { font-weight: 700; }
.sub { margin: 20px 0 0; color: var(--spread); max-width: 36ch; }
.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 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; inset: 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(241, 236, 224, .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 { position: sticky; top: 0; z-index: 20; background: rgba(241, 236, 224, .94); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; min-height: 56px; overflow-x: auto; scrollbar-width: none; font-weight: 500; }
.nav a { text-decoration: none; white-space: nowrap; color: var(--spread); transition: color 160ms ease; }
.nav a.book { margin-left: auto; 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 .for { margin-top: 12px; font-size: .92rem; color: var(--ink); }
.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; }
.role { margin: -16px 0 24px; color: var(--spread); font-weight: 600; }
blockquote { margin: 32px 0 0; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; letter-spacing: -0.015em; max-width: 30ch; }

/* 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 104px; 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; }

/* 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); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #0B2A45; }
  .btn-ghost:hover { background: rgba(18, 56, 90, .06); }
  .nav a:hover { color: var(--ink); }
  .wa-float:hover { transform: translateY(-2px); }
  .lang button:hover { color: var(--ink); }
}

/* Booking page */
.bk-top { padding: 24px 0; 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) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .basin { order: -1; margin: 10px; height: 48svh; min-height: 320px; }
  .margin { gap: 28px; padding-top: 8px; }
  .top { position: absolute; top: 22px; left: 26px; right: 26px; z-index: 3; }
  .split, .quim { grid-template-columns: 1fr; }
  .sheets { grid-template-columns: 1fr; }
  .sheet { display: grid; grid-template-columns: 120px 1fr; gap: 0 18px; align-items: start; }
  .sheet img { grid-row: span 5; }
  .sheet h3 { margin-top: 0; }
  .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .contact { grid-template-columns: 1fr; }
  .verbs { left: 12px; bottom: 12px; gap: 12px; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-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; }
}
