/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 50%; }

:root {
  --bg:       #0E0B09;
  --bg-2:     #15110E;
  --bg-3:     #1E1813;
  --cream:    #F2EBDA;
  --cream-2:  #DDD2BC;
  --cream-3:  #8B7E68;
  --accent:   #C17F3D;
  --accent-2: #A66A2E;
  --gold:     #C49A5B;
  --line:     rgba(242, 235, 218, .12);

  --serif: "Fraunces", "Georgia", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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.05; letter-spacing: -0.02em; font-family: var(--serif); }
em { font-style: italic; color: var(--gold); }
::selection { background: var(--accent); color: var(--bg); }

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

/* Fondo fijo de vídeo (secuencia de fotogramas atada al scroll) */
.bg-video-layer {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: var(--bg);
}
.bg-video-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bg-video-layer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,11,9,.55) 0%, rgba(14,11,9,.72) 55%, rgba(14,11,9,.94) 100%);
}

/* Legibilidad del texto suelto (fuera de tarjetas con fondo propio) sobre el vídeo */
:is(main, .footer) :is(h1, h2, h3, h4, p, a, span):not(.card *, .testi-card *, .booking-card *, .stats-grid *, .chat-mock-avatar *, .chat-panel *) {
  text-shadow: 0 1px 3px rgba(14,11,9,.85), 0 0 26px rgba(14,11,9,.7);
}

/* =============================================================
   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: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 960px) { .container { padding-inline: 2rem; } }

.kicker {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream-3);
}

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

section { position: relative; }
.section-pad { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* =============================================================
   4. Typography
   ============================================================= */
.eyebrow-line {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--cream-3); font-size: .85rem;
}
.eyebrow-line .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(193, 127, 61, .18);
}

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
  box-shadow: 0 4px 14px rgba(193,127,61,.25), 0 1px 3px rgba(0,0,0,.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(193,127,61,.32), 0 10px 20px rgba(0,0,0,.35);
  background: var(--gold);
}
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  border: 1px solid var(--line); color: var(--cream);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--gold); transform: translateY(-2px); }

.btn-whatsapp {
  background: #1E1813; color: var(--cream);
  border: 1px solid var(--line);
}
.btn-whatsapp:hover { border-color: #3fae5c; color: #6bd98a; transform: translateY(-2px); }

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14,11,9,.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.nav-brand { font-family: var(--serif); font-style: italic; font-size: 1.3rem; letter-spacing: .01em; }
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; padding: .25rem 0; font-size: .92rem; color: var(--cream-2); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; padding: .7rem 1.3rem; font-size: .88rem; } }

.nav-burger {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 10px;
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger svg { width: 22px; height: 22px; }

/* Mobile nav */
.nav-mobile {
  position: fixed; inset: 0; z-index: 150;
  background: var(--bg-2); color: var(--cream);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile-list { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.nav-mobile-list a { font-family: var(--serif); font-style: italic; font-size: 1.9rem; }
.nav-mobile-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 44px; height: 44px; display: grid; place-items: center;
}

/* Cards */
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  --rx: 0deg; --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), box-shadow .45s var(--ease-soft), border-color .45s;
  position: relative; isolation: isolate;
}
.card:hover { transition-duration: .15s; border-color: rgba(196,154,91,.35); }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(196,154,91,.22), transparent 60%);
  opacity: 0; transition: opacity .35s;
  mix-blend-mode: screen; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(196,154,91,.18);
}
.card-img-wrap { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .55s; }
.card:hover .card-img { transform: scale(1.08); filter: saturate(1.15) brightness(1.03); }
.card-body { padding: 1.5rem; transform: translateZ(30px); }
.card-body h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.card-body p { color: var(--cream-2); font-size: .95rem; margin-bottom: .9rem; }
.card-meta { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-3); }

/* Pillars */
.pillars { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.4rem; margin-bottom: .5rem; }
.pillar h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pillar p { color: var(--cream-2); font-size: .92rem; }

/* Stats bar */
.stats-bar { padding-block: clamp(2.4rem, 5vw, 3.6rem); border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; gap: 2rem; text-align: center; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.stat-value { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; }
.stat-label { color: var(--cream-3); font-size: .88rem; margin-top: .5rem; max-width: 26ch; }
@media (min-width: 720px) { .stat-label { margin-inline: 0; } }
.stats-grid .stat { margin-inline: auto; }
@media (min-width: 720px) { .stats-grid .stat { margin-inline: 0; } }

/* Steps ("cómo funciona") */
.steps-grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: .5rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.step p { color: var(--cream-2); font-size: .92rem; max-width: 32ch; }

/* Next slot indicator */
.next-slot {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem; font-size: .85rem; color: var(--gold);
  padding: .5rem 1rem; border: 1px solid rgba(196,154,91,.3); border-radius: 999px;
}
.next-slot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6bd98a; flex-shrink: 0; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 95;
  opacity: 0; transform: translateY(120%); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-soft);
}
.sticky-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta .btn { width: 100%; box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 4px 14px rgba(193,127,61,.3); }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* Testimonials */
.testi-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem;
}
.testi-stars { color: var(--gold); letter-spacing: .15em; font-size: .95rem; }
.testi-quote { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--cream); line-height: 1.5; }
.testi-quote::before { content: "\201C"; color: var(--gold); }
.testi-quote::after { content: "\201D"; color: var(--gold); }
.testi-author { font-size: .85rem; color: var(--cream-3); }
.testi-author strong { color: var(--cream-2); font-weight: 600; }

/* FAQ */
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0; font-family: var(--serif); font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; position: relative; transition: transform .35s var(--ease-out), border-color .3s;
}
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--cream-2);
}
.faq-item summary .plus::before { width: 10px; height: 1px; }
.faq-item summary .plus::after { width: 1px; height: 10px; }
.faq-item[open] summary .plus { transform: rotate(45deg); border-color: var(--accent); }
.faq-item p { padding-bottom: 1.3rem; color: var(--cream-2); max-width: 60ch; }

/* Form */
.field { position: relative; margin-bottom: 1.1rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 1.15rem 1rem .55rem; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.02); color: var(--cream); font-family: var(--sans); font-size: .95rem;
  transition: border-color .3s;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field label {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; transition: all .25s var(--ease-out); color: var(--cream-3); font-size: .95rem;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.has-value label {
  top: .55rem; transform: none; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.booking-card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.6rem, 4vw, 2.6rem); position: relative;
}
.cta-form { transition: opacity .55s var(--ease-out), transform .55s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-12px); pointer-events: none; position: absolute; inset: 0; }
.cta-submit { position: relative; width: 100%; margin-top: .4rem; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 18px; height: 18px; border: 1.5px solid rgba(14,11,9,.25); border-top-color: var(--bg);
  border-radius: 50%; animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cta-success {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%);
  opacity: 0; pointer-events: none; text-align: center; width: min(90%, 380px);
  transition: opacity .8s var(--ease-out) .25s, transform .9s var(--ease-soft) .25s;
}
.cta-success.is-visible { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.cta-success .check-circle {
  width: 56px; height: 56px; margin-inline: auto 1rem; border-radius: 50%;
  border: 1px solid var(--accent); display: grid; place-items: center; margin-bottom: 1rem;
}
.cta-success h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.cta-success p { color: var(--cream-2); font-size: .92rem; }

.booking-side { display: flex; flex-direction: column; gap: 1.5rem; }
.hours-list { display: flex; flex-direction: column; gap: .5rem; }
.hours-row { display: flex; justify-content: space-between; font-size: .92rem; padding-block: .3rem; border-bottom: 1px solid var(--line); }
.hours-row span:first-child { color: var(--cream-2); }
.hours-row span:last-child { color: var(--cream-3); }

/* =============================================================
   6. Sections
   ============================================================= */

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s, clip-path 1.1s;
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--gold); }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  isolation: isolate;
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(55% 45% at var(--mesh-x) var(--mesh-y), rgba(193,127,61,.32), transparent 62%),
    conic-gradient(from var(--mesh-angle), rgba(196,154,91,.16), rgba(122,90,58,.06), rgba(166,106,46,.18), rgba(196,154,91,.16));
  filter: blur(48px) saturate(120%);
  opacity: .8;
  animation: meshShift 24s linear infinite;
  mix-blend-mode: screen;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 30%; --mesh-y: 35%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 60%; }
  100% { --mesh-angle: 360deg; --mesh-x: 30%; --mesh-y: 35%; }
}
/* Fondo animado del hero es el mayor coste de GPU de la página — en móvil/táctil lo dejamos estático */
@media (hover: none), (max-width: 767px) {
  .hero-mesh { animation: none; filter: blur(34px) saturate(115%); }
}
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .12; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero-inner { max-width: 720px; }
.hero-glyph { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); display: block; margin-bottom: 1.1rem; letter-spacing: .04em; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); margin-bottom: 1.3rem; max-width: 14ch; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--cream-2); max-width: 46ch; margin-bottom: 1.8rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.hero-chip {
  font-size: .8rem; color: var(--cream-2); border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem; display: inline-flex; align-items: center; gap: .4rem;
}
.hero-chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =============================================================
   Live chat widget
   ============================================================= */
.chat-mock-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: grid; place-items: center; color: var(--bg);
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: .85rem;
  flex-shrink: 0;
}

.chat-bubble { max-width: 82%; padding: .7rem 1rem; border-radius: 16px; font-size: .88rem; line-height: 1.45; }
.chat-bubble.bot { background: var(--bg-2); border: 1px solid var(--line); color: var(--cream); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-bubble.user { background: var(--accent); color: var(--bg); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }

.chat-fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 200;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--accent); color: var(--bg); display: grid; place-items: center;
  box-shadow: 0 16px 36px rgba(0,0,0,.45), 0 4px 14px rgba(193,127,61,.3);
  transition: transform .4s var(--ease-bounce), background .3s var(--ease-out);
}
.chat-fab:hover { transform: scale(1.07); background: var(--gold); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab .chat-fab-dot {
  position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: #ff5a5f; border: 2px solid var(--bg); opacity: 0; transition: opacity .3s;
}
.chat-fab.has-hint .chat-fab-dot { opacity: 1; }

.chat-teaser {
  position: fixed; right: 1.4rem; bottom: 5.6rem; z-index: 199;
  max-width: 240px; padding: .8rem 1rem; border-radius: 16px; border-bottom-right-radius: 4px;
  font-size: .85rem; color: var(--cream-2);
  background: var(--bg-3); border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-soft);
}
.chat-teaser.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.chat-panel {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 210;
  width: min(370px, calc(100vw - 2rem)); height: min(560px, calc(100vh - 3rem));
  border-radius: 24px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .4s var(--ease-soft);
  background: rgba(21,17,14,.92); border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.chat-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat-panel-header {
  display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.chat-panel-header .chat-mock-avatar { width: 38px; height: 38px; }
.chat-panel-title { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1rem; }
.chat-panel-status { font-size: .76rem; color: var(--cream-3); display: flex; align-items: center; gap: .35rem; }
.chat-panel-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--cream-3); }
.chat-panel-close:hover { background: rgba(242,235,218,.08); color: var(--cream); }

.chat-panel-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; }

.chat-typing { display: inline-flex; gap: 4px; padding: .8rem 1rem; border-radius: 16px; border-bottom-left-radius: 4px; background: var(--bg-2); border: 1px solid var(--line); align-self: flex-start; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--cream-3); animation: typingBounce 1.1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.chat-quick-replies { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.2rem 1rem; flex-shrink: 0; }
.chat-quick-reply {
  font-size: .78rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--cream-2); transition: all .25s var(--ease-out);
}
.chat-quick-reply:hover { border-color: var(--accent); color: var(--gold); }

.chat-action-btn {
  font-size: .8rem; font-weight: 600; padding: .55rem 1rem; border-radius: 999px;
  background: var(--accent); color: var(--bg); align-self: flex-start; margin-top: -.3rem;
}
.chat-action-btn:hover { background: var(--gold); }

.chat-panel-input {
  display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem;
  border-top: 1px solid var(--line); flex-shrink: 0;
}
.chat-panel-input input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.1rem;
  background: var(--bg-2); font-family: var(--sans); font-size: .88rem; color: var(--cream);
}
.chat-panel-input input::placeholder { color: var(--cream-3); }
.chat-panel-input input:focus { border-color: var(--accent); }
.chat-panel-send { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; flex-shrink: 0; transition: background .25s; }
.chat-panel-send:hover { background: var(--gold); }
.chat-panel-send svg { width: 17px; height: 17px; }

@media (hover: none), (max-width: 767px) {
  .chat-panel { backdrop-filter: blur(10px) saturate(130%); -webkit-backdrop-filter: blur(10px) saturate(130%); }
}

/* Concept */
.concept-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .concept-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; } }
.concept-figure { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.concept-figure img { width: 100%; height: 100%; object-fit: cover; }
.concept-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-block: 1rem 1.2rem; }
.concept-text p { color: var(--cream-2); max-width: 52ch; }

/* Services */
.services-grid { display: grid; gap: 1.5rem; margin-top: 2.8rem; }
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* Reservar */
.reservar-grid { display: grid; gap: 2rem; margin-top: 2.8rem; }
@media (min-width: 960px) { .reservar-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.footer-brand { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin-bottom: .6rem; }
.footer-col h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .8rem; font-family: var(--sans); }
.footer-col a, .footer-col p { display: block; color: var(--cream-2); font-size: .9rem; margin-bottom: .4rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); 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(--gold); }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   7. Effects (misc keyframes already inline near their component)
   ============================================================= */

/* =============================================================
   8. Responsive helpers already inline via min-width media queries
   ============================================================= */

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .splash { animation-duration: .01s; }
}
