/* =========================================================
   Montha 2026 — masaje tailandés en Alcorcón
   Misma identidad (arena, oro, Playfair + Lato), más aire.
   ========================================================= */

:root {
  --cream: #f6f0e6;
  --paper: #fbf8f2;
  --sand: #efe5d6;
  --white: #fffdf9;
  --ink: #1c1610;
  --ink-soft: rgba(28, 22, 16, 0.74);
  --ink-mute: rgba(28, 22, 16, 0.55);
  --line: rgba(28, 22, 16, 0.12);
  --line-strong: rgba(28, 22, 16, 0.22);

  --gold: #caa56b;
  --gold-rgb: 202, 165, 107;
  --gold-light: #e2c493;
  --gold-ink: #85652f;

  --night: #14100b;
  --night-2: #1e1812;
  --on-dark: #f3ebdd;
  --on-dark-soft: rgba(243, 235, 221, 0.72);
  --on-dark-line: rgba(243, 235, 221, 0.14);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Grano orgánico, como en la web actual */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; }
::selection { background: rgba(var(--gold-rgb), 0.35); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(96px, 12vw, 168px); position: relative; }
.dark { background: var(--night); color: var(--on-dark); }
.center { text-align: center; }

/* ---------- Tipografía ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow-light { color: var(--gold-light); }

.display-lg {
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(36px, 4.7vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.display-md {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}
.display-lg em,
.display-md em { color: var(--gold-ink); }
.dark .display-lg em { color: var(--gold-light); }

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 26px;
}

.fine {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}
.fine a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn .ico { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -14px rgba(var(--gold-rgb), 0.9);
}
.btn-line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), 0.08); }
.btn-sm { height: 42px; padding: 0 22px; font-size: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; transform: none; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-text span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size 0.4s var(--ease);
}
.btn-text svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  transition: transform 0.4s var(--ease);
}
.btn-text:hover span { background-size: 0 1px; background-position: 100% 100%; }
.btn-text:hover svg { transform: translateX(5px); }
.btn-text-light { color: var(--on-dark); }

/* ---------- Loto ---------- */

.lotus { width: 34px; height: 24px; color: var(--gold); flex: none; }
.lotus-lg { width: 72px; height: 50px; }

/* ---------- Cabecera ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  color: var(--on-dark);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), backdrop-filter 0.5s;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  transition: height 0.5s var(--ease);
}
.site-header.is-scrolled,
.is-page .site-header {
  background: rgba(246, 240, 230, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .header-inner { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand-word {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  padding-left: 2px;
}

.nav { display: flex; gap: clamp(22px, 2.8vw, 40px); }
.nav a {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 0;
  opacity: 0.9;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after,
.nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 18px; justify-self: end; }
.lang { display: flex; gap: 2px; }
.lang button {
  border: 0;
  background: none;
  padding: 6px 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.lang button[aria-pressed="true"] { opacity: 1; }
.lang button:hover { opacity: 1; }
.site-header .btn-line { color: inherit; border-color: currentColor; border-color: rgba(var(--gold-rgb), 0.8); }
.site-header .btn-line:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none;
  position: relative;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--pad) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s 0.7s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-in-out); }
.menu-open .site-header { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-nav { display: flex; flex-direction: column; gap: 6px; }
.menu-nav a {
  font-family: var(--serif);
  font-size: clamp(36px, 9vw, 56px);
  line-height: 1.2;
}
.menu-nav .menu-book { color: var(--gold-ink); font-style: italic; }
.menu-foot { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-mute); }

/* ---------- Portada ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(140px, 17vh, 190px);
  padding-top: 140px;
  color: var(--on-dark);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture,
.hero-media img { width: 100%; height: 100%; }
.hero-media img {
  object-fit: cover;
  object-position: 50% 60%;
  transform: scale(1.14);
  animation: heroZoom 3.2s var(--ease) 0.1s forwards;
  will-change: transform;
}
@keyframes heroZoom { to { transform: scale(1.02); } }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 16, 11, 0.82) 0%, rgba(20, 16, 11, 0.55) 36%, rgba(20, 16, 11, 0.12) 68%, rgba(20, 16, 11, 0) 100%),
    linear-gradient(0deg, rgba(20, 16, 11, 0.78) 0%, rgba(20, 16, 11, 0) 42%),
    linear-gradient(180deg, rgba(20, 16, 11, 0.5) 0%, rgba(20, 16, 11, 0) 24%);
}

.hero-content { position: relative; }
.hero-kicker { margin-bottom: 26px; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(46px, 7.6vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 30px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line > * {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.3s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > * { animation-delay: 0.25s; }
.hero-title .line:nth-child(2) > * { animation-delay: 0.38s; }
.hero-title .line:nth-child(3) > * { animation-delay: 0.51s; }
.hero-title em { color: var(--gold-light); }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-kicker,
.hero-sub,
.hero-actions { opacity: 0; animation: fadeUp 1.2s var(--ease) forwards; }
.hero-kicker { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.75s; }
.hero-actions { animation-delay: 0.9s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-sub {
  max-width: 500px;
  font-size: clamp(16.5px, 1.35vw, 18.5px);
  color: var(--on-dark-soft);
  margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 32px; }

.hero-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--on-dark-line);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1.1s forwards;
}
.hero-meta-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--on-dark-soft);
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  border-left: 1px solid var(--on-dark-line);
}
.meta-item:first-child { padding-left: 0; border-left: 0; }
.meta-item strong { color: var(--on-dark); font-weight: 700; }
.stars svg { width: 15px; height: 15px; fill: var(--gold-light); }

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 110px;
  width: 1px;
  height: 64px;
  background: var(--on-dark-line);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 24px;
  background: var(--gold-light);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-24px); }
  100% { transform: translateY(64px); }
}

/* ---------- Manifiesto ---------- */

.manifesto { background: var(--cream); }
.manifesto-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}
.manifesto-copy p { font-size: 18px; color: var(--ink-soft); }
.manifesto-copy p:last-child { margin-bottom: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(72px, 9vw, 120px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 84px);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}
.stat-label { font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); max-width: 270px; }

/* ---------- Masajes ---------- */

.massages { background: var(--paper); }
.section-head { max-width: 820px; margin-bottom: clamp(56px, 7vw, 88px); }

.menu-board {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.board-media { position: sticky; top: 110px; }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--sand);
  outline: 1px solid rgba(var(--gold-rgb), 0.55);
  outline-offset: 12px;
}
.arch img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.9s var(--ease), transform 1.8s var(--ease);
}
.arch img.is-active { opacity: 1; transform: scale(1); }
.arch-tall { aspect-ratio: 3 / 4; }
.arch-tall img { opacity: 1; transform: none; }

.board-caption {
  margin: 34px 0 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
}
.board-caption-num {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
}

.board-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }

.svc {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "main prices"
    "toggle toggle"
    "more more";
  column-gap: 32px;
  padding: 36px 0 30px;
  border-bottom: 1px solid var(--line);
}
.svc::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.svc.is-active::before { transform: scaleX(1); }

.svc-thumb { display: none; grid-area: thumb; }
.svc-main { grid-area: main; }
.svc-num {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-ink);
}
.svc-name {
  font-family: var(--serif);
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.1;
  margin-bottom: 12px;
  transition: transform 0.6s var(--ease), color 0.4s;
}
.svc.is-active .svc-name { transform: translateX(8px); }
.svc-short { font-size: 16px; color: var(--ink-soft); max-width: 470px; margin-bottom: 18px; }

.svc-intensity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.intensity-bar { display: inline-flex; gap: 4px; }
.intensity-bar i { width: 20px; height: 3px; border-radius: 3px; background: var(--line); }
.svc-intensity[data-level="1"] i:nth-child(-n+1),
.svc-intensity[data-level="2"] i:nth-child(-n+2),
.svc-intensity[data-level="3"] i:nth-child(-n+3),
.svc-intensity[data-level="4"] i:nth-child(-n+4) { background: var(--gold); }
.intensity-word { color: var(--ink); letter-spacing: 0.14em; }

.svc-prices {
  grid-area: prices;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 26px;
}
.price { display: inline-flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.price-min { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.price-eur { font-family: var(--serif); font-size: 28px; line-height: 1; min-width: 70px; text-align: right; }

.svc-toggle {
  grid-area: toggle;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 6px 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.svc-toggle i { position: relative; width: 12px; height: 12px; }
.svc-toggle i::before,
.svc-toggle i::after {
  content: "";
  position: absolute;
  left: 0; top: 5.5px;
  width: 12px; height: 1.2px;
  background: var(--gold-ink);
  transition: transform 0.45s var(--ease);
}
.svc-toggle i::after { transform: rotate(90deg); }
.svc-toggle[aria-expanded="true"] i::after { transform: rotate(0deg); }

.svc-more { grid-area: more; }
.js .svc-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.js .svc.is-open .svc-more { grid-template-rows: 1fr; }
.svc-more > div { overflow: hidden; }
.svc-more-inner { font-size: 15.5px; color: var(--ink-soft); max-width: 620px; }
.svc-more-inner p:first-child { padding-top: 18px; }
.svc-more-inner p:last-child { margin-bottom: 0; }
.svc-more-inner strong { color: var(--ink); font-weight: 700; }

.massages .fine.center { margin-top: 56px; letter-spacing: 0.04em; }

/* ---------- Ritual ---------- */

.ritual {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(var(--gold-rgb), 0.12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(var(--gold-rgb), 0.07), transparent 60%),
    var(--night);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.4vw, 56px);
}
.step { padding-top: 30px; border-top: 1px solid var(--on-dark-line); position: relative; }
.step::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 48px; height: 1px;
  background: var(--gold);
}
.step-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  color: var(--gold-light);
  margin-bottom: 26px;
}
.step h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 14px; }
.step p { font-size: 15.5px; color: var(--on-dark-soft); margin: 0; }

/* ---------- Historia ---------- */

.story { background: var(--cream); }
.story-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}
.story-media { position: relative; padding: 14px; }
.story-badge {
  position: absolute;
  right: -28px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(60, 40, 15, 0.35);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.story-copy > p { color: var(--ink-soft); }
.story-copy .display-lg { margin-bottom: 34px; }
.quote {
  margin: 40px 0 38px;
  padding: 4px 0 4px 30px;
  border-left: 1px solid var(--gold);
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 14px;
}
.quote cite {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Poema ---------- */

.poem {
  position: relative;
  min-height: 86vh;
  display: grid;
  place-items: center;
  padding-block: clamp(110px, 14vw, 180px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.poem-media { position: absolute; inset: -8% 0; z-index: -2; }
.poem-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); }
.poem::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(20, 16, 11, 0.72) 0%, rgba(20, 16, 11, 0.9) 70%),
    rgba(20, 16, 11, 0.35);
}
.poem-inner { max-width: 900px; }
.poem .lotus-lg { margin: 0 auto 42px; }
.poem-text {
  text-wrap: balance;
  font-family: var(--serif);
  font-size: clamp(26px, 3.3vw, 46px);
  line-height: 1.38;
  margin: 0;
}
.poem-end {
  margin: 44px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--on-dark-soft);
}
.poem-end em {
  display: block;
  margin-top: 6px;
  font-size: clamp(32px, 4.4vw, 62px);
  color: var(--gold-light);
}

/* ---------- Reserva ---------- */

.booking-section { background: var(--paper); }
.booking-grid {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.booking-intro { position: sticky; top: 110px; }

.info-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.info-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-k {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 2;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.info-v { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.contact-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.booking-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 52px);
  box-shadow: 0 50px 90px -50px rgba(60, 40, 15, 0.3);
}

.bk-step { border: 0; padding: 0; margin: 0 0 38px; min-width: 0; }
.bk-step legend {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin-bottom: 18px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.bk-n {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--gold-ink);
}

.dur-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dur {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  text-align: left;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.dur:hover { border-color: var(--gold); }
.dur.is-active {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.09);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.dur-time { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.dur-time small { font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; color: var(--ink-mute); }
.dur-from { font-size: 13px; color: var(--ink-mute); }

.date-time {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.slots-title { font-size: 14px; line-height: 1.5; color: var(--ink-mute); margin: 6px 0 14px; min-height: 21px; }
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px;
}
.slot {
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s, transform 0.25s;
  opacity: 0;
  animation: fadeUp 0.5s var(--ease) forwards;
}
.slot:hover { border-color: var(--gold); }
.slot.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.slot-skel {
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sand) 0%, #f7f0e5 50%, var(--sand) 100%) 0 0 / 200% 100%;
  animation: skel 1.2s linear infinite;
}
@keyframes skel { to { background-position: -200% 0; } }

/* Calendario (flatpickr en línea) */
.cal-wrap .flatpickr-calendar.inline {
  width: 100% !important;
  max-width: 360px;
  box-shadow: none;
  background: transparent;
  border: 0;
  font-family: var(--sans);
  top: 0;
}
.cal-wrap .flatpickr-calendar::before,
.cal-wrap .flatpickr-calendar::after { display: none; }
.cal-wrap .flatpickr-innerContainer,
.cal-wrap .flatpickr-rContainer,
.cal-wrap .flatpickr-days { width: 100% !important; }
.cal-wrap .dayContainer { width: 100%; min-width: 0; max-width: none; }
.cal-wrap .flatpickr-months { align-items: center; margin-bottom: 8px; }
.cal-wrap .flatpickr-months .flatpickr-month { height: 40px; color: var(--ink); }
.cal-wrap .flatpickr-current-month {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  padding-top: 6px;
}
.cal-wrap .flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 400;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
  background: transparent;
}
.cal-wrap .flatpickr-current-month input.cur-year { font-weight: 400; }
.cal-wrap .numInputWrapper span { display: none; }
.cal-wrap .flatpickr-months .flatpickr-prev-month,
.cal-wrap .flatpickr-months .flatpickr-next-month {
  top: 4px;
  padding: 8px;
  border-radius: 50%;
  color: var(--ink);
  fill: var(--ink);
}
.cal-wrap .flatpickr-months .flatpickr-prev-month:hover svg,
.cal-wrap .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--gold-ink); }
.cal-wrap span.flatpickr-weekday {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cal-wrap .flatpickr-day {
  max-width: none;
  flex-basis: 14.2857%;
  height: 42px;
  line-height: 40px;
  border-radius: 50%;
  font-size: 14.5px;
  color: var(--ink);
  border: 1px solid transparent;
}
.cal-wrap .flatpickr-day:hover { background: rgba(var(--gold-rgb), 0.14); border-color: transparent; }
.cal-wrap .flatpickr-day.today { border-color: var(--gold); }
.cal-wrap .flatpickr-day.today:hover { background: rgba(var(--gold-rgb), 0.14); color: var(--ink); }
.cal-wrap .flatpickr-day.selected,
.cal-wrap .flatpickr-day.selected:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.cal-wrap .flatpickr-day.flatpickr-disabled,
.cal-wrap .flatpickr-day.flatpickr-disabled:hover { color: rgba(28, 22, 16, 0.22); background: none; }
.cal-wrap .flatpickr-day.prevMonthDay,
.cal-wrap .flatpickr-day.nextMonthDay { color: rgba(28, 22, 16, 0.25); }
.cal-fallback {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: transparent;
  font: inherit;
}

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; display: block; }
.field-wide { grid-column: 1 / -1; }
.field input {
  width: 100%;
  height: 60px;
  padding: 24px 18px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.18); }
.field span {
  position: absolute;
  left: 19px;
  top: 18px;
  font-size: 15.5px;
  color: var(--ink-mute);
  pointer-events: none;
  transition: top 0.25s var(--ease), font-size 0.25s var(--ease), letter-spacing 0.25s, color 0.25s;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span {
  top: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.field input[aria-invalid="true"],
.slots.is-invalid .slot,
.cal-wrap.is-invalid .flatpickr-calendar { border-color: #b4533c; }
.cal-wrap.is-invalid .flatpickr-calendar { border: 1px solid #b4533c; border-radius: 16px; }

.bk-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--cream);
}
.bk-summary-k { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); }
.bk-summary-v { font-family: var(--serif); font-size: 18px; text-align: right; }
.bk-summary-v::first-letter { text-transform: uppercase; }

.bk-status { min-height: 24px; margin: 14px 0 6px; font-size: 14.5px; line-height: 1.5; text-align: center; }
.bk-status.is-error { color: #a2432f; }
.bk-status.is-ok { color: #4f6b3a; }
.booking-form > .fine { text-align: center; }

.bk-done { text-align: center; padding: clamp(40px, 6vw, 80px) 12px; }
.bk-done .lotus-lg { margin: 0 auto 26px; }
.bk-done h3 { margin-bottom: 16px; }
.bk-done p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 26px; }
.bk-done.is-in { animation: fadeUp 0.8s var(--ease); }

/* ---------- Visita y preguntas ---------- */

.visit { background: var(--cream); }
.visit-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.visit-map iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: 28px;
  filter: grayscale(0.4) sepia(0.2) contrast(0.95);
  background: var(--sand);
}
.visit-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.visit-facts > div { display: flex; flex-direction: column; gap: 4px; }

.faq-title { font-family: var(--serif); font-size: 28px; margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.35;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-ink); }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px; height: 1.2px;
  background: var(--gold-ink);
  transition: transform 0.45s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: -4px 0 24px; font-size: 15.5px; color: var(--ink-soft); max-width: 520px; }
.faq details[open] p { animation: fadeUp 0.5s var(--ease); }

/* ---------- Pie ---------- */

.footer { padding: clamp(80px, 10vw, 120px) 0 calc(28px + env(safe-area-inset-bottom)); color: var(--on-dark-soft); overflow: hidden; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--on-dark-line);
}
.brand-light { color: var(--on-dark); }
.footer-claim { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0 56px;
  font-size: 15px;
  line-height: 1.8;
}
.footer-cols .info-k { color: var(--gold-light); margin-bottom: 10px; }
.footer-cols p { margin: 0; }
.footer-cols a { transition: color 0.3s; }
.footer-cols a:hover { color: var(--gold-light); }
.footer-word {
  font-family: var(--serif);
  font-size: clamp(80px, 19vw, 300px);
  line-height: 0.8;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(243, 235, 221, 0.045);
  user-select: none;
  margin: 0 0 32px;
  white-space: nowrap;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 12.5px;
  color: rgba(243, 235, 221, 0.5);
}

/* ---------- Flotantes ---------- */

.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-light);
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  box-shadow: 0 18px 40px -16px rgba(20, 16, 11, 0.6);
  transform: translateY(120px);
  transition: transform 0.6s var(--ease), background-color 0.3s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: var(--night-2); }
.show-float .wa-float { transform: none; }

.mobile-bar { display: none; }

/* ---------- Animación de entrada ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Páginas interiores ---------- */

.page-hero { padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(40px, 5vw, 64px); background: var(--cream); }
.page-hero .display-lg { max-width: 860px; }
.page-body { background: var(--cream); padding-bottom: clamp(96px, 12vw, 160px); }
.prose { max-width: 720px; font-size: 17.5px; color: var(--ink-soft); }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--ink);
  margin: 2.2em 0 0.7em;
}
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--ink); }
.prose .about-quote,
.prose blockquote {
  margin: 1.6em 0;
  padding-left: 28px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3em;
  line-height: 1.45;
  color: var(--ink);
}
.page-cta { margin-top: 56px; display: flex; gap: 14px; flex-wrap: wrap; }
.booking-page { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .header-actions { gap: 12px; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .burger { display: block; margin-right: -10px; }

  .menu-board { grid-template-columns: 1fr; }
  .board-media { display: none; }
  .svc {
    grid-template-columns: 1fr;
    grid-template-areas: "thumb" "main" "prices" "toggle" "more";
    padding: 28px 0 26px;
  }
  .svc::before { display: none; }
  .svc-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--sand);
  }
  .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc.is-active .svc-name { transform: none; }
  .svc-prices { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 28px; padding-top: 20px; }
  .price-eur { min-width: 0; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 440px; margin-inline: auto; width: 100%; }
  .story-badge { right: -8px; }

  .booking-grid { grid-template-columns: 1fr; }
  .booking-intro { position: static; }
  .visit-grid { grid-template-columns: 1fr; }

  .wa-float { display: none; }
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    display: flex;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(246, 240, 230, 0.92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%);
    transition: transform 0.5s var(--ease);
  }
  .show-float .mobile-bar { transform: none; }
  .hide-bar .mobile-bar { transform: translateY(110%); }
  .mobile-bar .btn { flex: 1; height: 50px; }
  .mobile-bar-wa {
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--ink);
  }
  .mobile-bar-wa svg { width: 22px; height: 22px; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .header-cta { display: none; }
  .brand-word { font-size: 18px; letter-spacing: 0.3em; }
  .lotus { width: 30px; height: 21px; }
  .lotus-lg { width: 64px; height: 44px; }

  .hero { padding-bottom: 150px; }
  .hero-media img { object-position: 50% 50%; }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(20, 16, 11, 0.9) 0%, rgba(20, 16, 11, 0.55) 45%, rgba(20, 16, 11, 0.25) 75%, rgba(20, 16, 11, 0.5) 100%);
  }
  .hero-title { font-size: clamp(44px, 13vw, 64px); }
  .hero-meta-inner { flex-wrap: wrap; gap: 6px 0; padding-block: 16px; font-size: 12.5px; }
  .meta-item { padding: 0 18px 0 0; border-left: 0; }
  .meta-item:last-child { display: none; }
  .scroll-cue { display: none; }

  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat { flex-direction: row; align-items: center; gap: 22px; padding: 22px 0; }
  .stat-num { min-width: 92px; font-size: 54px; }

  .date-time { grid-template-columns: 1fr; }
  .cal-wrap .flatpickr-calendar.inline { max-width: none; }
  .info-list li { grid-template-columns: 1fr; gap: 2px; }
  .visit-map iframe { height: 340px; }
  .visit-facts { grid-template-columns: 1fr; gap: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .story-badge { position: relative; right: auto; bottom: auto; margin: 28px auto 0; max-width: none; justify-content: center; }
  .poem { min-height: 0; }
  .booking-card { border-radius: 24px; }
}

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step-num { margin-bottom: 16px; }
}

@media (max-width: 480px) {
  .fields { grid-template-columns: 1fr; }
  .dur { padding: 16px 18px; }
  .dur-time { font-size: 28px; }
  .footer-cols { grid-template-columns: 1fr; }
  .contact-row .btn { flex: 1; }
  .bk-summary { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bk-summary-v { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-media img { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
