/* =============================================================
   ELITE SUPERCARS · v2 "Maison cinematográfica"
   Base: arquetipo 02 Dark Warm · influencias: Aman (aire, marcos,
   corner-labels), Y.CO (capítulos oscuro↔claro), Le Collectionist
   (kicker+display, buscador en hero), Bugatti (mono espaciado,
   píldoras fantasma), Burgess (marcos de galería).
   1. Tokens
   ============================================================= */
:root {
  --bg:       #0E0B09;
  --bg-2:     #15110E;
  --bg-3:     #1E1813;
  --cream:    #F2EBDA;
  --cream-2:  #DDD2BC;
  --cream-3:  #8B7E68;
  --accent:   #C8A265;   /* champán */
  --accent-2: #9A7B4F;   /* bronce */
  --line:     rgba(242, 235, 218, .14);

  --paper:      #F2EBDD;  /* capítulos claros (Aman) */
  --paper-2:    #E9DFCE;
  --paper-ink:  #1B1510;
  --paper-mute: #6E6252;
  --paper-line: rgba(27, 21, 16, .16);

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(5rem, 12vw, 10rem);
  --nav-h: 76px;
  --bar-h: 52px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.015em; font-family: var(--serif); font-weight: 440; }
em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Kicker editorial: sans small-caps muy espaciado (Aman/LC) */
.kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: .9rem;
}
.kicker::before { content: ""; width: 30px; height: 1px; background: var(--accent-2); }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 30px; height: 1px; background: var(--accent-2); }
.kicker--bare::before, .kicker--bare::after { display: none; }

.section { padding-block: var(--section-pad); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-top: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Enlace subrayado editorial (Aman) */
.link-line {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 500;
  padding-bottom: .35rem;
  position: relative;
  color: inherit;
  transition: color .35s;
}
.link-line::before {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; opacity: .45;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease-out);
}
.link-line:hover { color: var(--accent); }
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* Marco de galería (Aman/Burgess) */
.frame {
  border: 1px solid var(--line);
  padding: clamp(.5rem, 1.2vw, .9rem);
  position: relative;
}
.fig-meta {
  position: absolute; z-index: 3;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--cream-2);
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(14, 11, 9, .8);
}
.fig-meta--tl { top: clamp(1.1rem, 2.4vw, 1.8rem); left: clamp(1.1rem, 2.4vw, 1.8rem); }
.fig-meta--br { bottom: clamp(1.1rem, 2.4vw, 1.8rem); right: clamp(1.1rem, 2.4vw, 1.8rem); }

/* Reveals */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .35s; }
}

/* =============================================================
   4. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease-soft), visibility .7s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash img { width: clamp(130px, 22vw, 210px); opacity: 0; animation: splashLogo 1.1s var(--ease-out) .15s forwards; }
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splashLogo { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease-soft), border-color .45s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(14, 11, 9, .9); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 2rem; width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 56px; width: auto; max-width: none; }
@media (max-width: 719px) { .nav-logo img { height: 48px; } }
.nav-links { display: none; gap: 1.9rem; list-style: none; padding: 0; margin-inline: auto; }
.nav-links a {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-2);
  font-weight: 500;
  position: relative; padding-block: .35rem; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: none;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .72rem 1.5rem; border: 1px solid var(--accent-2); color: var(--accent);
  border-radius: 999px; transition: background .35s, color .35s, border-color .35s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.lang-switch { position: relative; font-family: var(--mono); font-size: .72rem; margin-inline-start: auto; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .7rem; color: var(--cream-2); letter-spacing: .12em;
  border: 1px solid transparent; border-radius: 999px;
  transition: color .3s, border-color .3s;
}
.lang-btn:hover { color: var(--cream); border-color: var(--line); }
.lang-menu {
  position: absolute; top: calc(100% + .6rem); inset-inline-end: 0;
  min-width: 175px; max-height: min(60vh, 430px); overflow-y: auto;
  list-style: none; padding: .45rem; margin: 0;
  background: rgba(14, 11, 9, .96); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 10px;
  display: grid; gap: .1rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
  scrollbar-width: thin; scrollbar-color: var(--accent-2) transparent;
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .42rem .7rem; border-radius: 6px;
  color: var(--cream-2); font-size: .74rem;
  transition: background .25s, color .25s;
}
.lang-menu a b { font-weight: 600; letter-spacing: .1em; min-width: 2ch; color: var(--cream-3); }
.lang-menu a:hover { background: rgba(242, 235, 218, .06); color: var(--cream); }
.lang-menu a[aria-current="true"] { color: var(--accent); }
.lang-menu a[aria-current="true"] b { color: var(--accent); }

.nav-burger { display: grid; place-items: center; width: 44px; height: 44px; margin-left: .25rem; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 22px; height: 1.5px; background: var(--cream); position: relative;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after { position: absolute; top: 7px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil editorial (filas con numeral, dato y miniatura) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 890;
  background: rgba(12, 9, 7, .985);
  backdrop-filter: blur(18px);
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--nav-h) + 1.2rem) var(--gutter) 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-soft), visibility .4s;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mm-inner { display: grid; gap: 2rem; max-width: 560px; margin-inline: auto; }

.mm-rows { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.mm-row {
  background: var(--bg);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 1.1rem .2rem;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}
body.menu-open .mm-row { opacity: 1; transform: none; }
body.menu-open .mm-row:nth-child(1) { transition-delay: .08s; }
body.menu-open .mm-row:nth-child(2) { transition-delay: .14s; }
body.menu-open .mm-row:nth-child(3) { transition-delay: .2s; }
body.menu-open .mm-row:nth-child(4) { transition-delay: .26s; }
body.menu-open .mm-row:nth-child(5) { transition-delay: .32s; }
.mm-num { font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; color: var(--accent); }
.mm-text { display: grid; gap: .15rem; min-width: 0; }
.mm-text b { font-family: var(--serif); font-weight: 460; font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.05; }
.mm-text i {
  font-style: normal; font-family: var(--mono); font-size: .6rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3);
}
.mm-thumb { width: 66px; height: 48px; overflow: clip; border-radius: 2px; flex-shrink: 0; }
.mm-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85) saturate(1.05); transition: filter .4s, transform .5s var(--ease-out); }
.mm-row:hover .mm-thumb img, .mm-row:focus-visible .mm-thumb img { filter: brightness(1) saturate(1.15); transform: scale(1.06); }
.mm-row:hover .mm-text b { color: var(--accent); }

.mm-label { font-family: var(--mono); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .9rem; }
.mm-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mm-chips a {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em;
  padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--cream-2);
  transition: border-color .3s, color .3s;
}
.mm-chips a:hover { border-color: var(--accent); color: var(--accent); }
.mm-dest, .mm-foot { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out) .3s, transform .5s var(--ease-out) .3s; }
body.menu-open .mm-dest, body.menu-open .mm-foot { opacity: 1; transform: none; }
.mm-foot { display: grid; gap: 1rem; justify-items: start; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.mm-foot .btn { width: 100%; justify-content: center; }
.mm-phone { display: grid; gap: .25rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; }
.mm-phone span { color: var(--cream-3); text-transform: uppercase; font-size: .58rem; letter-spacing: .24em; }
.mm-phone a { color: var(--cream); }
.mm-phone a:hover { color: var(--accent); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-block; }
  .nav-burger, .mobile-menu { display: none; }
  .lang-switch { margin-left: 0; }
}

/* =============================================================
   6. Hero cinematográfico
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: calc(var(--nav-h) + 3rem) clamp(3rem, 8vh, 5.5rem);
  overflow: clip;
}
.hero--sub { min-height: 78svh; }

/* Apertura letterbox (CSS-only, sin dependencia de JS) */
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  clip-path: inset(0);
  animation: heroLetterbox 1.5s var(--ease-out) .25s both;
}
@keyframes heroLetterbox {
  from { clip-path: inset(16% 0 16% 0); }
  to   { clip-path: inset(0 0 0 0); }
}
/* Zoom ambiental de asentamiento (una vez, lento, cinemático) */
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.04) contrast(1.07);
  animation: heroSettle 16s var(--ease-soft) both;
}
@keyframes heroSettle {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation-duration: .8s; }
  .hero-bg img { animation: none; }   /* zoom = intrusivo, fuera */
}

/* Vídeo hero secuencial (doble búfer con crossfade) */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease-soft);
  filter: saturate(1.04) contrast(1.06);
}
.hero-video.is-front { opacity: 1; }

.hero-bg-tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(14,11,9,.66) 0%, rgba(14,11,9,.22) 42%, rgba(14,11,9,.95) 100%),
    radial-gradient(130% 80% at 50% 108%, rgba(14,11,9,.6), transparent 62%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(14, 11, 9, .38) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.92 0 0 0 0 0.85 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Titular: línea caps serif espaciada + línea itálica grande (TTT/LC) */
.hero-title { margin-block: 1.3rem 1.1rem; max-width: none; }
.hero-title .kicker { margin-bottom: 1rem; }
.hero-title .t-caps {
  display: block;
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 420;
}
.hero-title .t-italic {
  display: block;
  font-style: italic;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 430;
  margin-top: .1em;
  color: var(--cream);
}
.hero-title .t-italic em { color: var(--accent); }

/* Sub en mono espaciado (Bugatti) */
.hero-sub {
  font-family: var(--mono);
  font-size: clamp(.72rem, 1.2vw, .82rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream-2);
  max-width: none;
}

/* Buscador de reserva funcional (Le Collectionist) */
.hero-search {
  margin-top: 2.4rem;
  display: flex; flex-wrap: wrap; align-items: stretch;
  border: 1px solid var(--line);
  background: rgba(14, 11, 9, .66);
  backdrop-filter: blur(12px);
  border-radius: 999px;   /* sin overflow:clip — los desplegables deben salir */
  max-width: 720px;
  position: relative;
}
.hero-search-seg {
  flex: 1 1 0; min-width: 0;
  position: relative;
  border-inline-end: 1px solid var(--line);
}
.seg-btn {
  width: 100%; height: 100%;
  display: grid; align-content: center; justify-items: start; gap: .1rem;
  padding: .85rem 1.6rem;
  text-align: start;
  transition: background .35s;
}
.hero-search-seg:first-child .seg-btn { border-start-start-radius: 999px; border-end-start-radius: 999px; }
.seg-btn:hover, .hero-search-seg.is-open .seg-btn { background: rgba(242, 235, 218, .06); }
.seg-btn small {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--cream-3);
}
.seg-btn strong { font-family: var(--serif); font-weight: 460; font-size: .98rem; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-search-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 2rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  background: var(--accent); color: var(--bg);
  border-start-end-radius: 999px; border-end-end-radius: 999px;
  transition: background .35s;
  white-space: nowrap;
}
.hero-search-cta:hover { background: var(--cream); }

/* Desplegables: abren hacia ARRIBA (la barra vive abajo del hero) */
.seg-pop {
  position: absolute; bottom: calc(100% + 12px); inset-inline-start: 0;
  min-width: max(100%, 210px);
  background: rgba(14, 11, 9, .96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 14px;
  padding: .5rem;
  display: grid; gap: .15rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
  z-index: 5;
}
.hero-search-seg.is-open .seg-pop { opacity: 1; visibility: visible; transform: none; }
.seg-pop [data-exp-opt] {
  padding: .55rem .9rem; border-radius: 8px;
  font-family: var(--serif); font-size: .95rem; text-align: start;
  color: var(--cream-2);
  transition: background .25s, color .25s;
}
.seg-pop [data-exp-opt]:hover { background: rgba(242, 235, 218, .07); color: var(--accent); }
.seg-pop--dates { padding: 1rem 1.1rem; gap: .8rem; min-width: 230px; }
.seg-pop--dates label { display: grid; gap: .3rem; }
.seg-pop--dates label span {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--cream-3);
}
.seg-pop--dates input[type="date"] {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--cream); font-family: var(--sans); font-size: .9rem;
  padding: .35rem .1rem; outline: none;
  color-scheme: dark;
  transition: border-color .3s;
}
.seg-pop--dates input[type="date"]:focus { border-color: var(--accent); }
.seg-pop--guests {
  grid-auto-flow: column; align-items: center; justify-content: center;
  gap: 1rem; padding: .9rem 1.1rem; min-width: 180px;
}
.step-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--cream-2);
  display: grid; place-items: center; font-size: 1.05rem; line-height: 1;
  transition: border-color .3s, color .3s;
}
.step-btn:hover { border-color: var(--accent); color: var(--accent); }
.step-num { font-family: var(--serif); font-size: 1.25rem; min-width: 2ch; text-align: center; }

@media (max-width: 719px) {
  .hero-search { border-radius: 18px; margin-top: 1.8rem; }
  .hero-search-seg { flex: 1 1 100%; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .hero-search-seg:first-child .seg-btn { border-radius: 18px 18px 0 0; }
  /* Fechas + Invitados comparten fila: la barra pasa de 3 filas a 2, menos peso visual */
  .hero-search-seg:nth-child(2) { flex: 1 1 50%; border-inline-end: 1px solid var(--line); }
  .hero-search-seg:nth-child(3) { flex: 1 1 calc(50% - 1px); }
  .hero-search-seg:nth-child(3) .seg-pop { inset-inline-start: auto; inset-inline-end: 0; }
  .seg-btn { padding: .75rem 1.3rem; }
  .hero-search-cta { flex: 1 1 100%; padding-block: .95rem; border-radius: 0 0 18px 18px; }
}

/* Botones píldora */
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .95rem 2rem; border-radius: 999px;
  transition: background .35s var(--ease-soft), color .35s, border-color .35s, transform .35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--cream); }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Badges de confianza bajo el buscador */
.trust-bar {
  list-style: none; padding: 0; margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .55rem 1.6rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cream-2);
}
.trust-bar li { display: inline-flex; align-items: center; gap: .6rem; }
.trust-bar li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
@media (max-width: 719px) { .trust-bar { padding-inline-end: 76px; } }

/* Corner label del hero (Aman) */
.hero-corner {
  position: absolute; bottom: 1.6rem; left: var(--gutter); z-index: 1;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--cream-3);
  display: none;
}
@media (min-width: 720px) { .hero-corner { display: block; } }

.hero-scroll {
  position: absolute; bottom: 2rem; right: var(--gutter); z-index: 1;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cream-3); writing-mode: vertical-rl;
  display: none; align-items: center; gap: .7rem;
}
.hero-scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: scrollPulse 2.2s var(--ease-soft) infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (min-width: 720px) { .hero-scroll { display: flex; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll::after { animation: none; } }

/* =============================================================
   7. Capítulos de colección (editorial asimétrico)
   ============================================================= */
.chapters { display: grid; gap: clamp(4.5rem, 9vw, 8rem); }
.chapter {
  display: grid; gap: 2.2rem; align-items: center;
}
.chapter-figure { position: relative; transform-style: preserve-3d; will-change: transform; display: block; }
.chapter-figure figure { overflow: clip; aspect-ratio: 16 / 10; }
.chapter-figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.02) brightness(.94);
  transition: transform .9s var(--ease-out), filter .9s;
}
.chapter-figure:hover img { transform: scale(1.05); filter: saturate(1.12) brightness(1); }
.pillar-halo {
  position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--hx, 50%) var(--hy, 50%), rgba(200,162,101,.18), transparent 65%);
  transition: opacity .4s;
}
.chapter-figure:hover .pillar-halo { opacity: 1; }

.chapter-copy { max-width: 480px; }
.chapter-num {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .3em;
  color: var(--accent); text-transform: uppercase;
  display: flex; align-items: center; gap: .8rem;
}
.chapter-num::after { content: ""; width: 34px; height: 1px; background: var(--accent-2); }
.chapter-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-block: .8rem .4rem; }
.chapter-tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cream-3); margin-bottom: 1rem;
}
.chapter-desc { color: var(--cream-2); font-size: 1.02rem; }
.chapter-copy .link-line { margin-top: 1.8rem; color: var(--cream); }

@media (min-width: 960px) {
  .chapter { grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 6vw, 5.5rem); }
  .chapter:nth-child(even) .chapter-figure { order: 2; }
  .chapter:nth-child(even) .chapter-copy { justify-self: end; }
}

/* =============================================================
   8. Panel de instrumentos (signature — se conserva)
   ============================================================= */
.panel { background: var(--bg-2); border-block: 1px solid var(--line); }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1rem; }
.gauge { text-align: center; }
.gauge-dial { position: relative; width: min(150px, 38vw); margin-inline: auto; }
.gauge-dial svg { width: 100%; height: auto; transform: rotate(135deg); }
.gauge-dial .track { fill: none; stroke: var(--bg-3); stroke-width: 6; }
.gauge-dial .arc {
  fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 212 283;
  stroke-dashoffset: 212;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.gauge.is-live .arc { stroke-dashoffset: var(--target, 0); }
.gauge-value {
  position: absolute; inset: 0; display: grid; place-content: center;
  font-family: var(--mono); font-size: clamp(1.3rem, 3vw, 1.75rem); color: var(--cream);
}
.gauge-value small { font-size: .62em; color: var(--cream-3); text-align: center; }
.gauge-label { margin-top: .8rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-3); }
@media (min-width: 960px) { .panel-grid { grid-template-columns: repeat(6, 1fr); } }

/* =============================================================
   9. Fleet carousel
   ============================================================= */
.fleet-track {
  display: flex; gap: 1.1rem;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding-block: 1.2rem 2rem;
  padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--accent-2) transparent;
}
.fleet-card {
  flex: 0 0 min(320px, 82vw); scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: 2px; overflow: clip;
  background: transparent;
  transition: transform .5s var(--ease-out), border-color .5s;
}
.fleet-card:hover { transform: translateY(-6px); border-color: var(--accent-2); }
.fleet-card figure { aspect-ratio: 16 / 10; overflow: clip; }
.fleet-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), filter .7s; }
.fleet-card:hover figure img { transform: scale(1.06); filter: saturate(1.12); }
.fleet-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.fleet-card-cat { font-family: var(--mono); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.fleet-card-name { font-family: var(--serif); font-size: 1.34rem; margin-block: .35rem .25rem; }
.fleet-card-meta { font-family: var(--mono); font-size: .7rem; color: var(--cream-3); }
.fleet-card-price { margin-top: .75rem; font-size: .85rem; color: var(--cream-2); }
.fleet-card-price strong { color: var(--accent); font-weight: 600; }

/* =============================================================
   10. Capítulo claro (Aman paper)
   ============================================================= */
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper h2, .section--paper h3 { color: var(--paper-ink); }
.section--paper .kicker { color: var(--accent-2); }
.section--paper em { color: var(--accent-2); }   /* champán no da AA sobre crema */
.section--paper .kicker::before, .section--paper .kicker::after { background: var(--accent-2); }
.section--paper p { color: var(--paper-mute); }
.section--paper .link-line { color: var(--paper-ink); }
.section--paper .link-line:hover { color: var(--accent-2); }
.section--paper .frame { border-color: var(--paper-line); }
.section--paper .btn-ghost { border-color: var(--paper-line); color: var(--paper-ink); }
.section--paper .btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* Trust en papel */
.trust-grid { display: grid; gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
.trust-item { background: var(--paper); padding: 2.2rem 1.8rem; }
.trust-item h3 { font-size: 1.18rem; margin-bottom: .55rem; display: flex; align-items: baseline; gap: .6rem; }
.trust-item h3::before { content: "—"; color: var(--accent-2); }
.trust-item p { font-size: .92rem; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* Experiencias en papel, figura enmarcada */
.exp-grid { display: grid; gap: 2.6rem; align-items: center; }
.exp-figure { aspect-ratio: 4 / 3; overflow: clip; }
.exp-figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.exp-copy h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-block: 1.1rem 1.2rem; }
.exp-copy p { max-width: 50ch; }
.exp-copy .btn { margin-top: 1.9rem; }
@media (min-width: 960px) { .exp-grid { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; } }

/* =============================================================
   10a-bis. Cómo funciona (5 pasos, transparencia)
   ============================================================= */
.hiw-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.hiw-step { background: var(--bg); padding: 2rem 1.8rem; display: grid; gap: .35rem; align-content: start; }
.hiw-num {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em;
  color: var(--accent); margin-bottom: .4rem;
}
.hiw-time {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--cream-3);
}
.hiw-step h3 { font-size: 1.18rem; }
.hiw-desc { font-size: .9rem; color: var(--cream-2); }
@media (min-width: 720px) { .hiw-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .hiw-steps { grid-template-columns: repeat(5, 1fr); } }

/* Anclas de precio en colección */
.anchors {
  list-style: none; padding: 0 0 2.2rem; margin: 0 0 2.4rem;
  border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1.6rem 3.2rem;
}
.anchors li { display: grid; gap: .2rem; }
.anchors b { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 460; color: var(--accent); }
.anchors span { font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-3); }
.chips--paper li { border-color: var(--paper-line); color: var(--paper-ink); }

/* =============================================================
   10b. Reseñas Google (carrusel con auto-avance)
   ============================================================= */
.rev { background: var(--bg-2); border-block: 1px solid var(--line); }
.rev-agg { margin-top: 1.2rem; font-family: var(--mono); font-size: .85rem; color: var(--cream-2); }
.rev-agg strong { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); font-weight: 480; vertical-align: middle; margin-inline-end: .3rem; }
.stars, .rev-stars { color: var(--accent); letter-spacing: .18em; }
.rev-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.rev-link:hover { color: var(--cream); }
.rev-track {
  display: flex; gap: 1.1rem;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem var(--gutter) 2rem;
  scrollbar-width: thin; scrollbar-color: var(--accent-2) transparent;
}
.rev-card {
  flex: 0 0 min(380px, 84vw); scroll-snap-align: center;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px;
  padding: 1.8rem 1.9rem;
  display: grid; gap: .9rem; align-content: start;
}
.rev-stars { font-size: .85rem; }
.rev-card blockquote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.55; color: var(--cream); }
.rev-card figcaption { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); }

/* =============================================================
   10c. Social (Instagram + Facebook)
   ============================================================= */
.social-handles { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.social-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}
.social-card {
  display: grid; grid-template-rows: 1fr auto;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px;
  overflow: clip;
  transition: transform .5s var(--ease-out), border-color .5s;
}
.social-card:hover { transform: translateY(-5px); border-color: var(--accent-2); }
.social-card figure { aspect-ratio: 4 / 5; overflow: clip; }
.social-card figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.02) brightness(.94);
  transition: transform .7s var(--ease-out), filter .7s;
}
.social-card:hover figure img { transform: scale(1.05); filter: saturate(1.1) brightness(1); }
.social-card-meta {
  display: flex; align-items: baseline; gap: .5rem;
  padding: .9rem 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-3);
  white-space: nowrap; overflow: hidden;
}
.social-card-meta b { color: var(--accent); font-weight: 600; }
.social-card-meta i { margin-inline-start: auto; font-style: normal; color: var(--cream-2); transition: transform .3s var(--ease-out); }
.social-card:hover .social-card-meta i { transform: translate(3px, -3px); }
.social-card--fb .fb-emblem {
  display: grid; place-items: center;
  background: radial-gradient(80% 60% at 50% 45%, rgba(200, 162, 101, .12), transparent 75%), var(--bg-2);
}
.social-card--fb .fb-emblem img { width: 45%; height: auto; object-fit: contain; filter: none; }
@media (min-width: 960px) { .social-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   11. CTA final + footer + barra concierge
   ============================================================= */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); margin-block: 1.2rem 2.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; background: var(--bg-2); }
.footer-grid { display: grid; gap: 2.4rem; }
.footer-brand img { height: 58px; width: auto; max-width: none; margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; color: var(--cream-3); }
.footer h4 { font-family: var(--mono); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1rem; font-weight: 500; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer ul a { font-size: .9rem; color: var(--cream-2); transition: color .3s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  font-size: .78rem; color: var(--cream-3);
}
.footer-bottom a { color: var(--cream-3); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--accent); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* =============================================================
   11b. Sello concierge flotante (FAB) + desplegable + cajones
   ============================================================= */
.fab-root { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 950; }

.fab {
  position: relative;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(14, 11, 9, .82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 162, 101, .55);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
  transition: border-color .4s, transform .4s var(--ease-out), background .4s;
}
.fab:hover { border-color: var(--accent); transform: translateY(-2px); }

/* Anillo champán que gira lentamente (sello vivo) */
.fab::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(200,162,101,.8) 12%, transparent 30%, transparent 55%, rgba(200,162,101,.35) 68%, transparent 85%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: fabRing 14s linear infinite;
  pointer-events: none;
}
@keyframes fabRing { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fab::before { animation-duration: 40s; } }

/* Alas del emblema en champán */
.fab-wings {
  width: 42px; height: auto;
  transition: opacity .3s, transform .35s var(--ease-out);
}
.fab-x {
  position: absolute; width: 18px; height: 18px;
  opacity: 0; transform: rotate(-45deg) scale(.6);
  transition: opacity .3s, transform .35s var(--ease-out);
  pointer-events: none;
}
.fab-x::before, .fab-x::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px;
  background: var(--cream); transform: translateX(-50%);
}
.fab-x::after { transform: translateX(-50%) rotate(90deg); }
.fab-root.is-open .fab-wings { opacity: 0; transform: scale(.6); }
.fab-root.is-open .fab-x { opacity: 1; transform: rotate(45deg) scale(1); }

/* Desplegable escalonado (simétrico: todas las píldoras al mismo ancho) */
.fab-menu {
  position: absolute; bottom: 80px; right: 0;
  display: grid; gap: .65rem; justify-items: stretch;
  min-width: 235px;
  pointer-events: none;
}
.fab-item {
  display: flex; align-items: center; gap: .75rem;
  width: 100%;
  padding: .78rem 1.35rem; border-radius: 999px;
  background: rgba(14, 11, 9, .92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream-2);
  white-space: nowrap;
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), border-color .3s, color .3s;
}
.fab-item svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.fab-item:hover { border-color: var(--accent-2); color: var(--accent); }
.fab-root.is-open .fab-menu { pointer-events: auto; }
.fab-root.is-open .fab-item { opacity: 1; transform: none; }
.fab-root.is-open .fab-item:nth-child(1) { transition-delay: .15s; }
.fab-root.is-open .fab-item:nth-child(2) { transition-delay: .1s; }
.fab-root.is-open .fab-item:nth-child(3) { transition-delay: .05s; }
.fab-root.is-open .fab-item:nth-child(4) { transition-delay: 0s; }

/* Cajones laterales (chat + propuesta) */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 970;
  width: min(410px, 100vw);
  display: flex; flex-direction: column;
  background: rgba(14, 11, 9, .97);
  backdrop-filter: blur(16px);
  border-left: 1px solid var(--line);
  transform: translateX(103%);
  transition: transform .55s var(--ease-out);
}
.drawer.is-open { transform: none; }
.drawer-head {
  display: flex; align-items: baseline; gap: .9rem;
  padding: 1.5rem 1.6rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 1.5rem; }
.drawer-head p { font-family: var(--mono); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-3); }
.drawer-close {
  margin-left: auto; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 1rem; color: var(--cream-2); line-height: 1;
  transition: border-color .3s, color .3s;
}
.drawer-close:hover { border-color: var(--accent); color: var(--accent); }

/* Chat */
.chat-log {
  flex: 1; overflow-y: auto; padding: 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: .9rem;
  scrollbar-width: thin; scrollbar-color: var(--accent-2) transparent;
}
.msg {
  max-width: 85%; padding: .85rem 1.1rem; font-size: .9rem; line-height: 1.55;
  border-radius: 14px;
}
.msg--ai { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); color: var(--cream); border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--accent); color: var(--bg); border-bottom-right-radius: 4px; }
.msg--typing { display: inline-flex; gap: .35rem; align-items: center; }
.msg--typing i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--cream-3);
  animation: typingDot 1.2s ease-in-out infinite;
}
.msg--typing i:nth-child(2) { animation-delay: .18s; }
.msg--typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typingDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.msg--ai a { color: var(--accent); }

.chat-input {
  display: flex; gap: .7rem; align-items: center;
  padding: 1.1rem 1.6rem calc(1.1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--cream); font-family: var(--sans); font-size: .92rem;
  padding: .5rem .1rem; outline: none;
  transition: border-color .3s;
}
.chat-input input:focus { border-color: var(--accent); }
.chat-input input::placeholder { color: var(--cream-3); }
.chat-send {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--accent-2); color: var(--accent);
  display: grid; place-items: center; font-size: 1rem;
  transition: background .3s, color .3s, border-color .3s;
}
.chat-send:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* Formulario propuesta */
.lead-body { padding: 1.6rem; display: grid; gap: 1.4rem; overflow-y: auto; }
.lead-body p.lead-sub { font-size: .9rem; color: var(--cream-2); }
.lead-field { display: grid; gap: .4rem; }
.lead-field label { font-family: var(--mono); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-3); }
.lead-field input, .lead-field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--cream); font-family: var(--sans); font-size: .95rem;
  padding: .55rem .1rem; outline: none; resize: none;
  transition: border-color .3s;
}
.lead-field input:focus, .lead-field textarea:focus { border-color: var(--accent); }
.lead-note { font-size: .74rem; color: var(--cream-3); }

/* Velo bajo cajones */
.veil {
  position: fixed; inset: 0; z-index: 940;
  background: rgba(8, 6, 4, .55);
  opacity: 0; visibility: hidden;
  transition: opacity .45s, visibility .45s;
}
.veil.is-on { opacity: 1; visibility: visible; }

/* =============================================================
   12. Collection pages
   ============================================================= */
.coll-grid { display: grid; gap: 1.6rem; }
.coll-card {
  display: grid;
  border: 1px solid var(--line); border-radius: 2px; overflow: clip;
  background: transparent;
  transition: transform .5s var(--ease-out), border-color .5s;
  transform-style: preserve-3d;
}
.coll-card:hover { transform: translateY(-5px); border-color: var(--accent-2); }
.coll-card figure { position: relative; aspect-ratio: 16 / 10; overflow: clip; }
.coll-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), filter .7s; }
.coll-card:hover figure img { transform: scale(1.05); filter: saturate(1.12); }
.coll-card-body { padding: 1.6rem 1.6rem 1.8rem; }
.coll-card-body h3 { font-size: 1.6rem; }
.coll-card-sub { font-family: var(--mono); font-size: .66rem; color: var(--cream-3); letter-spacing: .2em; text-transform: uppercase; margin-top: .4rem; }
.coll-specs { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-block: 1.1rem; padding-block: 1rem; border-block: 1px solid var(--line); }
.coll-specs span { font-family: var(--mono); font-size: .74rem; color: var(--cream-2); }
.coll-specs b { color: var(--accent); font-weight: 600; }
.coll-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.coll-price { font-size: .9rem; color: var(--cream-2); }
.coll-price strong { color: var(--accent); font-size: 1.05rem; }
.coll-link { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: .45rem; }
.coll-link::after { content: "→"; transition: transform .3s var(--ease-out); }
.coll-card:hover .coll-link::after { transform: translateX(5px); }
@media (min-width: 720px) { .coll-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .coll-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   13. Detail (ficha)
   ============================================================= */
.breadcrumb { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; color: var(--cream-3); display: flex; flex-wrap: wrap; gap: .5rem; padding-top: calc(var(--nav-h) + 1.6rem); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { color: var(--accent-2); }

.detail-head { padding-block: 1.7rem 2.2rem; }
.detail-head h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.detail-head .detail-sub { font-family: var(--mono); font-size: .74rem; color: var(--cream-3); letter-spacing: .2em; text-transform: uppercase; margin-top: .7rem; }

.gallery { display: grid; gap: 1rem; }
.gallery .frame { overflow: clip; }
.gallery figure { overflow: clip; aspect-ratio: 4 / 5; cursor: zoom-in; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.04); transition: transform .7s var(--ease-out); }
.gallery .frame:hover img { transform: scale(1.03); }
@media (min-width: 720px) {
  .gallery { grid-template-columns: 2fr 1fr; }
  .gallery .frame:first-child { grid-row: span 2; }
  .gallery .frame:first-child figure { aspect-ratio: auto; height: 100%; }
  .gallery .frame:not(:first-child) figure { aspect-ratio: 4 / 5; }
  .gallery .frame:nth-child(2):last-child { grid-row: span 2; }
  .gallery .frame:nth-child(2):last-child figure { aspect-ratio: auto; height: 100%; }
  .gallery .frame:only-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery .frame:only-child figure { aspect-ratio: 16 / 10; height: auto; }
}

.detail-grid { display: grid; gap: 3rem; padding-block: 2.8rem var(--section-pad); }
@media (min-width: 960px) { .detail-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.spec-panel { background: var(--bg-2); border: 1px solid var(--line); padding: 1.8rem; }
.spec-panel h2 { font-size: 1.32rem; margin-bottom: 1.3rem; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.4rem; }
.spec-item { border-left: 2px solid var(--accent-2); padding-left: .85rem; }
.spec-item b { display: block; font-family: var(--mono); font-size: 1.15rem; font-weight: 600; color: var(--cream); }
.spec-item span { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-3); }
.spec-bar { height: 3px; background: var(--bg-3); margin-top: .5rem; overflow: clip; }
.spec-bar i { display: block; height: 100%; width: var(--w, 60%); background: linear-gradient(90deg, var(--accent-2), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); }
.is-live .spec-bar i { transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chips li {
  list-style: none; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--cream-2);
}

.book-box { background: var(--bg-2); border: 1px solid var(--accent-2); padding: 1.8rem; position: sticky; top: calc(var(--nav-h) + 1.2rem); }
.book-price { display: flex; align-items: baseline; gap: .5rem; }
.book-price strong { font-family: var(--serif); font-size: 2.2rem; color: var(--accent); font-weight: 460; }
.book-price span { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--cream-3); }
.book-meta { font-size: .82rem; color: var(--cream-3); margin-block: 1rem 1.3rem; display: grid; gap: .35rem; }
.book-box .btn { width: 100%; justify-content: center; }
.book-box .btn + .btn { margin-top: .7rem; }
.book-note { font-size: .72rem; color: var(--cream-3); margin-top: 1rem; text-align: center; }

/* =============================================================
   13b. Tipografías por alfabeto (Playfair Display cubre latín + cirílico)
   ============================================================= */
html[lang="zh"] { --serif: "Noto Serif SC", serif; --sans: "Noto Serif SC", "Inter", sans-serif; }
html[lang="ja"] { --serif: "Noto Serif JP", serif; --sans: "Noto Serif JP", "Inter", sans-serif; }
html[lang="ko"] { --serif: "Noto Serif KR", serif; --sans: "Noto Serif KR", "Inter", sans-serif; }
html[lang="hi"] { --serif: "Noto Serif Devanagari", serif; --sans: "Noto Serif Devanagari", "Inter", sans-serif; }
html[lang="ar"] { --serif: "Amiri", serif; --sans: "Noto Naskh Arabic", "Inter", sans-serif; }
html[lang="zh"] em, html[lang="ja"] em, html[lang="ko"] em, html[lang="ar"] em, html[lang="hi"] em { font-style: normal; }
html[lang="zh"] .hero-title .t-caps, html[lang="ja"] .hero-title .t-caps, html[lang="ko"] .hero-title .t-caps,
html[lang="ar"] .hero-title .t-caps, html[lang="hi"] .hero-title .t-caps { letter-spacing: .02em; }
html[lang="ar"] .kicker, html[lang="ar"] .hero-sub, html[lang="ar"] .link-line { letter-spacing: 0; }
/* el espaciado (incl. negativo) rompe las ligaduras árabes */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .hero-title .t-caps, html[lang="ar"] .hero-title .t-italic,
html[lang="ar"] .nav-links a, html[lang="ar"] .btn, html[lang="ar"] .fab-item,
html[lang="ar"] .chapter-tag, html[lang="ar"] .gauge-label, html[lang="ar"] .coll-card-sub,
html[lang="ar"] .detail-sub, html[lang="ar"] .hero-search-seg small { letter-spacing: 0; }

/* =============================================================
   13c. RTL (árabe) — flex/grid se espejan solos; fijamos lo físico
   ============================================================= */
html[dir="rtl"] .kicker::before { order: 2; }
html[dir="rtl"] .hero-corner { left: auto; right: var(--gutter); }
html[dir="rtl"] .hero-scroll { right: auto; left: var(--gutter); }
html[dir="rtl"] .drawer { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--line); transform: translateX(-103%); }
html[dir="rtl"] .drawer.is-open { transform: none; }
html[dir="rtl"] .fab-root { right: auto; left: clamp(1rem, 3vw, 2rem); }
html[dir="rtl"] .fab-menu { right: auto; left: 0; }
html[dir="rtl"] .spec-item { border-left: 0; border-right: 2px solid var(--accent-2); padding-left: 0; padding-right: .85rem; }
html[dir="rtl"] .msg--ai { border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
html[dir="rtl"] .msg--user { border-bottom-right-radius: 14px; border-bottom-left-radius: 4px; }

/* =============================================================
   13d. Destinos (strip) y páginas de ciudad
   ============================================================= */
.dest-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); }
.dest-item {
  background: var(--bg); padding: 1.5rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  font-family: var(--serif); font-size: 1.2rem;
  transition: background .35s, color .35s;
}
.dest-item::after { content: "→"; font-family: var(--mono); font-size: .85rem; color: var(--accent); transition: transform .3s var(--ease-out); }
.dest-item:hover { background: var(--bg-3); color: var(--accent); }
.dest-item:hover::after { transform: translateX(5px); }
@media (min-width: 720px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .dest-grid { grid-template-columns: repeat(6, 1fr); } }

.city-grid { display: grid; gap: 3rem; }
.city-lede { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--cream); margin-bottom: 1.6rem; }
.city-body p { color: var(--cream-2); margin-bottom: 1.2rem; max-width: 62ch; }
.city-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.city-side { background: var(--bg-2); border: 1px solid var(--line); padding: 1.8rem; align-self: start; }
.city-side h2 { font-family: var(--mono); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 1.2rem; font-weight: 500; }
.city-points { list-style: none; padding: 0; display: grid; gap: .8rem; }
.city-points li { display: flex; gap: .7rem; font-size: .92rem; color: var(--cream-2); }
.city-points li::before { content: "—"; color: var(--accent); flex-shrink: 0; }
@media (min-width: 960px) { .city-grid { grid-template-columns: 1.6fr .9fr; gap: 4rem; } }

/* FAQ (acordeón nativo) */
.faq-list { display: grid; gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); }
.faq-item { background: var(--paper); padding: 1.3rem 1.6rem; }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.1rem; color: var(--paper-ink);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); color: var(--accent-2); flex-shrink: 0; transition: transform .3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: .9rem; font-size: .95rem; color: var(--paper-mute); max-width: 70ch; }

/* =============================================================
   14. Página créditos / util
   ============================================================= */
.page-simple { padding-block: calc(var(--nav-h) + 3rem) var(--section-pad); }
.page-simple h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.6rem; }
.credits-list { margin-top: 1.5rem; display: grid; gap: .7rem; padding: 0; list-style: none; font-size: .88rem; color: var(--cream-2); }
.credits-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   15. Galería (mosaico + visor)
   ============================================================= */
.page-gallery { padding-block: calc(var(--nav-h) + 4rem) var(--section-pad); }
.gal-sub { margin-top: 1rem; color: var(--cream-2); max-width: 56ch; }
.gal-grid {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(.5rem, 1.2vw, 1rem);
}
.gal-item {
  position: relative; overflow: clip;
  border: 1px solid var(--line); border-radius: 2px;
  aspect-ratio: 3 / 4;
  padding: 0; background: var(--bg-3);
  cursor: zoom-in;
}
.gal-item--wide { aspect-ratio: 4 / 3; }
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.92) saturate(1.02);
  transition: transform .8s var(--ease-out), filter .6s;
}
.gal-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,11,9,.35));
  opacity: 0; transition: opacity .5s;
}
.gal-item:hover img, .gal-item:focus-visible img { transform: scale(1.05); filter: brightness(1) saturate(1.12); }
.gal-item:hover::after { opacity: 1; }
.gal-item:hover { border-color: var(--accent-2); }
@media (min-width: 720px)  { .gal-grid { grid-template-columns: repeat(3, 1fr); } .gal-item--wide { grid-column: span 2; } }
@media (min-width: 1280px) { .gal-grid { grid-template-columns: repeat(4, 1fr); } }

/* Visor */
.gal-viewer {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center;
  background: rgba(8, 6, 4, .96);
  backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-soft), visibility .35s;
  padding: clamp(1rem, 4vw, 3rem);
}
.gal-viewer.is-open { opacity: 1; visibility: visible; }
.gal-viewer img {
  max-width: min(1400px, 94vw); max-height: 86vh;
  width: auto; height: auto; object-fit: contain;
  border: 1px solid var(--line);
  opacity: 0; transition: opacity .3s;
}
.gal-viewer img.is-in { opacity: 1; }
.gal-close, .gal-nav {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(14, 11, 9, .7);
  color: var(--cream); font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center;
  transition: border-color .3s, color .3s, background .3s;
}
.gal-close:hover, .gal-nav:hover { border-color: var(--accent); color: var(--accent); }
.gal-close { top: clamp(1rem, 3vw, 2rem); inset-inline-end: clamp(1rem, 3vw, 2rem); }
.gal-prev { inset-inline-start: clamp(.5rem, 2vw, 2rem); }
.gal-next { inset-inline-end: clamp(.5rem, 2vw, 2rem); }
html[dir="rtl"] .gal-prev, html[dir="rtl"] .gal-next { transform: scaleX(-1); }
.gal-count {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; color: var(--cream-3);
}
@media (max-width: 719px) { .gal-nav { top: auto; bottom: clamp(1rem, 3vw, 2rem); } }

/* Precio pendiente de confirmar */
.book-price--ask strong { font-size: 1.25rem; line-height: 1.3; color: var(--cream); }
.coll-price strong { display: inline-block; }

/* ---------------------------------------------------------------
   SEO: bloques de contenido (hub, ciudades, marcas, intenciones, fichas)
---------------------------------------------------------------- */
.seo-block { padding-block: clamp(3rem, 7vw, 6rem); }
.seo-prose { max-width: 62rem; }
.seo-prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 3rem 0 1.1rem; }
.seo-prose h2:first-child { margin-top: 0; }
.seo-prose h3 { font-size: 1.15rem; margin: 2rem 0 .9rem; }
.seo-prose p { color: var(--cream-2); margin-bottom: 1.1rem; max-width: 66ch; }
.seo-prose p strong { color: var(--cream); font-weight: 500; }
.seo-prose a:not(.btn):not(.dest-item):not(.coll-card) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(200, 162, 101, .4); }
.seo-prose a:not(.btn):not(.dest-item):not(.coll-card):hover { text-decoration-color: var(--accent); }
.seo-prose .dest-grid { margin-bottom: 1rem; }
.seo-prose .city-actions, .city-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 2rem; }
.seo-prose .coll-grid { margin-block: 1.4rem 2rem; }
.price-line { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; color: var(--accent) !important; border-inline-start: 2px solid var(--accent-2); padding-inline-start: 1rem; margin-block: 1.4rem !important; }
.small-note { font-size: .82rem !important; color: var(--cream-3) !important; margin-top: .8rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); margin-block: 1.2rem .6rem; }
.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 30rem; }
.price-table th, .price-table td { padding: .8rem 1rem; text-align: start; border-bottom: 1px solid var(--line); }
.price-table th { font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-3); font-weight: 500; background: var(--bg-2); }
.price-table td:first-child { color: var(--cream); }
.price-table tr:last-child td { border-bottom: 0; }
.related-h { font-size: 1.05rem; margin: 2.6rem 0 1rem; }
.hiw-inline { margin-block: 1.2rem 2rem; }
.hiw-inline .hiw-step { padding: 1.5rem 1.3rem; }
@media (min-width: 1280px) { .hiw-inline { grid-template-columns: repeat(5, 1fr); } }
.detail-seo { max-width: 62rem; margin: 3.5rem auto 4rem; }
.detail-seo h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1.1rem; }
.detail-seo h3 { margin: 2rem 0 1rem; font-size: 1.1rem; }
.detail-seo p { color: var(--cream-2); margin-bottom: 1.1rem; max-width: 66ch; }
.detail-seo p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.detail-seo .faq-list { margin-top: 1rem; }
.detail-related { margin-top: 2rem; }

/* Footer con columnas de ciudades y marcas + NAP */
.footer-nap { margin-top: .9rem; line-height: 1.7; }
.footer-nap a { color: var(--cream-2); }
.footer-nap a:hover { color: var(--accent); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); } }
.seo-prose .faq-item p, .detail-seo .faq-item p { color: var(--paper-mute); max-width: 70ch; }
.seo-prose .faq-item summary, .detail-seo .faq-item summary { color: var(--paper-ink); }

/* Rendimiento: lo que queda fuera de pantalla no se maqueta ni se pinta hasta que se acerca */
main > section:not(.hero):not(:first-child), .footer { content-visibility: auto; contain-intrinsic-size: auto 720px; }
