/* ============================================================
   Casa Quilla — Mesa de autor peruana en Barranco
   Design DNA: bg #FBF6F2 · surface #F1E4DA · ink #2C1E22
               accent #7A2B4E · accent-2 #D98032
   heading: DM Serif Display · body: Nunito Sans
   ============================================================ */

:root {
  --bg: #FBF6F2;
  --surface: #F1E4DA;
  --surface-2: #EAD8CB;
  --ink: #2C1E22;
  --ink-soft: #5C4A4E;
  --accent: #7A2B4E;
  --accent-2: #D98032;
  --line: rgba(44, 30, 34, 0.14);
  --line-strong: rgba(44, 30, 34, 0.28);
  --header-h: 76px;
  --maxw: 1180px;
  --pad: clamp(20px, 6vw, 80px);
  --measure: 68ch;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Consolas", monospace;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { padding-top: var(--header-h); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.006em;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
a { color: var(--accent); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section { position: relative; }

.section {
  padding-block: clamp(64px, 10vw, 128px);
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1em;
  display: inline-block;
}

.lead { font-size: clamp(1.1rem, 2.2vw, 1.34rem); color: var(--ink-soft); line-height: 1.6; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.word-safe { word-break: break-word; overflow-wrap: anywhere; }

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* focus ring */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   Decorative filete ondulado (thin wavy rule)
   ============================================================ */
.filete {
  width: 100%;
  height: 14px;
  color: var(--accent);
  opacity: 0.55;
  display: block;
}
.filete svg { width: 100%; height: 100%; display: block; }

/* margin time-numbers (01-07) */
.tiempo-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--accent-2);
  line-height: 1;
  opacity: 0.85;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  background: rgba(251, 246, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1);
  transition: background 240ms ease, box-shadow 240ms ease, height 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(251, 246, 242, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,.24);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 30px; height: 30px; flex: 0 0 auto;
  color: var(--accent);
}
.brand .mark svg { width: 100%; height: 100%; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 26px; }
  .nav-desktop a {
    position: relative;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
    padding: 6px 0;
  }
  .nav-desktop a::after {
    content: "";
    position: absolute; left: 0; right: 100%; bottom: -2px;
    height: 2px; background: var(--accent);
    transition: right 240ms cubic-bezier(.4,0,.2,1);
  }
  .nav-desktop a:hover { color: var(--accent); }
  .nav-desktop a:hover::after,
  .nav-desktop a.is-active::after { right: 0; }
  .nav-desktop .nav-cta::after { display: none; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  line-height: 1;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #FBF6F2;
  box-shadow: 0 12px 26px -14px rgba(122,43,78,.7);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--ink);
  color: #FBF6F2;
  transform: translateY(-2px);
  /* warm candle glow — kitchen/hearth theme */
  box-shadow: 0 16px 30px -14px rgba(122,43,78,.7), 0 6px 26px -6px rgba(217,128,50,.4);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-2px);
}
.btn .arr { transition: transform 220ms ease; }
.btn:hover .arr { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease; }
  .btn:hover, .btn:focus-visible { transform: none; }
  .btn:hover .arr { transform: none; }
}

.nav-cta {
  background: var(--accent);
  color: #FBF6F2 !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--ink);
  color: #FBF6F2 !important;
  transform: translateY(-1px);
}

/* hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
/* On desktop the mobile drawer must not linger in the DOM: hidden but present it
   left a permanently off-screen .btn-primary (drawer-cta) that trapped hover/focus. */
@media (min-width: 1024px) { .drawer, .drawer-backdrop { display: none; } }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* drawer */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line-strong);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), visibility 320ms linear;
  z-index: 1050;
  padding: calc(var(--header-h) + 20px) 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer a {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.drawer a:hover, .drawer a.is-active { color: var(--accent); }
.drawer .drawer-cta {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 0.95rem;
  border: 0;
}

/* ============================================================
   Hero — vertical stack (eyebrow, h1 centrado, foto full-width)
   ============================================================ */
.hero {
  text-align: center;
  padding-top: clamp(40px, 8vw, 84px);
  overflow: hidden;
}
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: -0.014em;
  max-width: 16ch;
  margin-inline: auto;
  margin-bottom: 0.4em;
}
.hero-sub {
  max-width: 56ch;
  margin: 0 auto 1.9em;
  font-size: clamp(1.06rem, 2.1vw, 1.28rem);
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 2.4em;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin-bottom: 3em;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.86rem;
}
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-badges svg { width: 17px; height: 17px; color: var(--accent-2); }

.hero-figure {
  position: relative;
  width: 100%;
  margin-inline: auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 40px 80px -50px rgba(44,30,34,.6);
}
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,30,34,0) 40%, rgba(44,30,34,.5) 100%);
}
.hero-figure img {
  width: 100%; height: 118%;
  object-fit: cover;
  will-change: transform;
}
.hero-figure figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  color: #FBF6F2;
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 44px);
}
.hero-stats .stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--accent);
  line-height: 1;
}
.hero-stats .stat span { font-size: 0.86rem; color: var(--ink-soft); font-weight: 600; }

/* ============================================================
   Section headers
   ============================================================ */
.sec-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.sec-head p { color: var(--ink-soft); font-size: 1.1rem; }

.bg-surface { background: var(--surface); }
.bg-ink { background: var(--ink); color: var(--bg); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--bg); }
.bg-ink .eyebrow { color: var(--accent-2); }
.bg-ink p { color: rgba(251,246,242,.82); }

/* ============================================================
   Apertura — chef story (asymmetric split)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 0.92fr 1.08fr; }
  .split.reverse { grid-template-columns: 1.08fr 0.92fr; }
  .split.reverse .split-media { order: -1; }
}
.split-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -44px rgba(44,30,34,.7);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/6; }
.split-media.wide img { aspect-ratio: 7/5; }
.split-body .signature {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  margin-top: 0.6em;
}
.split-body .signature small { display:block; font-family: var(--sans); font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-soft); font-weight:600; }

/* pull quote / manifesto */
.manifesto {
  text-align: center;
  padding-block: clamp(64px, 9vw, 120px);
}
.manifesto blockquote {
  margin: 0 auto;
  max-width: 20ch;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5.5vw, 3.6rem);
  line-height: 1.14;
  color: var(--bg);
}
.manifesto cite { display:block; margin-top: 1.2em; font-style: normal; font-family: var(--sans); font-size: .84rem; letter-spacing:.2em; text-transform:uppercase; color: var(--accent-2); font-weight:700; }

/* ============================================================
   Recorrido — vertical narrative map (theme signature)
   ============================================================ */
.recorrido { position: relative; }
.ruta {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 3vw, 32px);
  position: relative;
}
@media (min-width: 780px) {
  .ruta { grid-template-columns: 120px 1fr; }
}
.ruta-map {
  position: relative;
}
.ruta-map .map-svg {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  width: 100%;
  height: auto;
}
.ruta-map .map-svg svg { width: 100%; height: auto; display: block; }

.region-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .72rem; letter-spacing:.16em; text-transform:uppercase;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  margin-bottom: 14px;
}
.region-tag .dot { width:8px; height:8px; border-radius:50%; background: var(--accent-2); }
.region-costa .dot { background:#D98032; }
.region-sierra .dot { background:#7A2B4E; }
.region-selva .dot { background:#5b7a3a; }

.tiempo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-block: clamp(30px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .tiempo { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(28px,4vw,48px); }
  .tiempo:nth-child(even) .tiempo-media { order: -1; }
}
.tiempo-head { display:flex; align-items:baseline; gap: 16px; margin-bottom: 10px; }
.tiempo-head .tiempo-num { flex: 0 0 auto; }
.tiempo h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.tiempo p { color: var(--ink-soft); }
.tiempo-media {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 48px -40px rgba(44,30,34,.7);
}
.tiempo-media img { width:100%; height:100%; object-fit: cover; aspect-ratio: 4/3; }
.tiempo .maridaje {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.82rem; font-weight:700; color: var(--accent-2);
  margin-top: 6px;
}
.tiempo .maridaje svg { width:16px; height:16px; }

/* ============================================================
   Ingrediente del mes
   ============================================================ */
.ingrediente-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
}
@media (min-width: 860px) {
  .ingrediente-card { grid-template-columns: 0.9fr 1.1fr; }
}
.ingrediente-card .ing-media img { width:100%; height:100%; object-fit: cover; aspect-ratio: 4/3; min-height: 260px; }
.ingrediente-card .ing-body { padding: clamp(26px, 4vw, 48px); }
.ing-facts { display:grid; grid-template-columns: repeat(2,1fr); gap: 14px 20px; margin-top: 22px; }
.ing-facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.ing-facts b { display:block; font-family: var(--serif); font-size: 1.2rem; color: var(--accent); }
.ing-facts span { font-size:.8rem; color: var(--ink-soft); font-weight:600; }

/* ============================================================
   Reserva — pricing cards
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 820px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms ease, border-color 240ms ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 56px -40px rgba(122,43,78,.55);
  border-color: var(--accent);
}
.price-card.is-featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.price-card.is-featured h3, .price-card.is-featured .price { color: var(--bg); }
.price-card.is-featured p, .price-card.is-featured li { color: rgba(251,246,242,.82); }
.price-card .tier { font-size:.74rem; letter-spacing:.18em; text-transform:uppercase; font-weight:700; color: var(--accent-2); }
.price-card h3 { font-size: 1.5rem; margin: .3em 0 .1em; }
.price-card .price {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  margin: .3em 0;
  letter-spacing: -0.02em;
}
.price-card.is-featured .price { color: var(--accent-2); }
.price-card .per { font-size:.82rem; color: var(--ink-soft); font-weight:600; }
.price-card.is-featured .per { color: rgba(251,246,242,.7); }
.price-list { list-style:none; padding:0; margin: 18px 0 22px; display:grid; gap:10px; }
.price-list li { position:relative; padding-left: 26px; font-size:.94rem; }
.price-list li::before {
  content:""; position:absolute; left:0; top:7px; width:14px; height:8px;
  border-left:2px solid var(--accent-2); border-bottom:2px solid var(--accent-2);
  transform: rotate(-45deg);
}
.price-list li.no::before {
  border:0; content:"—"; color: var(--ink-soft); top:0; transform:none;
}
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note { font-size:.82rem; color: var(--ink-soft); margin-top: 18px; text-align:center; }

.badge-row { display:flex; flex-wrap:wrap; gap:10px; margin-top: 22px; }
.badge {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:700; color: var(--ink);
  border:1px solid var(--line); border-radius:999px; padding:7px 14px; background: var(--bg);
}
.badge svg { width:15px; height:15px; color: var(--accent); }

/* ============================================================
   FAQ (pure CSS accordion)
   ============================================================ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px clamp(18px, 3vw, 26px);
  font-family: var(--serif);
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  flex: 0 0 auto; width: 22px; height: 22px;
  position: relative;
  transition: transform 300ms cubic-bezier(.4,0,.2,1);
}
.faq summary .ic::before, .faq summary .ic::after {
  content:""; position:absolute; background: var(--accent); border-radius:2px;
  top:50%; left:50%; transform: translate(-50%,-50%);
}
.faq summary .ic::before { width:14px; height:2px; }
.faq summary .ic::after { width:2px; height:14px; transition: transform 300ms ease, opacity 300ms ease; }
.faq details[open] summary .ic::after { transform: translate(-50%,-50%) rotate(90deg); opacity:0; }
.faq .answer {
  height: 0;
  padding: 0 clamp(18px, 3vw, 26px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1),
              padding-block-end 360ms cubic-bezier(.4,0,.2,1);
  color: var(--ink-soft);
}
.faq details[open] .answer { height: auto; padding-block-end: 22px; }
@media (prefers-reduced-motion: reduce) { .faq .answer { transition: none; } }

/* ============================================================
   Testimonials — editorial grid
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 760px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
.testi {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--bg);
}
.testi:nth-child(3) { grid-column: 1 / -1; }
@media (min-width: 760px) { .testi:nth-child(3) { grid-column: auto; } }
.testi p { font-family: var(--serif); font-size: 1.16rem; line-height: 1.4; color: var(--ink); max-width: none; }
.testi .who { margin-top: 16px; font-size: .84rem; color: var(--ink-soft); font-weight: 700; }
.testi .who span { color: var(--accent); }
.testi .stars { color: var(--accent-2); letter-spacing: 2px; font-size: .8rem; margin-bottom: 12px; }

/* process steps — vertical timeline */
.steps { display: grid; gap: 4px; max-width: 900px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px,3vw,28px);
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step .step-n {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--accent);
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  flex: 0 0 auto;
}
.step .when { font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; color: var(--accent-2); font-weight:700; }
.step h4 { font-size: 1.24rem; margin: 4px 0 6px; }
.step p { margin: 0; color: var(--ink-soft); }

/* notas / news block */
.notas { display:grid; gap: 14px; }
.nota { display:grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-bottom:1px solid var(--line); }
.nota time { font-size:.78rem; font-weight:700; color: var(--accent); white-space:nowrap; font-family: var(--mono); }
.nota p { margin:0; }

/* feature/values icon cards */
.icon-grid { display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:680px){ .icon-grid { grid-template-columns: repeat(2,1fr);} }
@media (min-width:980px){ .icon-grid { grid-template-columns: repeat(3,1fr);} }
.icard {
  border:1px solid var(--line); border-radius:14px; padding: clamp(22px,3vw,28px); background: var(--bg);
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms ease;
}
.icard:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -38px rgba(122,43,78,.5); }
.icard .ic-wrap {
  width:50px; height:50px; border-radius:14px;
  display:grid; place-items:center;
  background: var(--surface); color: var(--accent);
  margin-bottom: 16px;
  transition: background 300ms ease, color 300ms ease, box-shadow 300ms ease;
}
.icard .ic-wrap svg { width:26px; height:26px; }
/* warm glow — the icon "heats up" on hover (cooking theme) */
.icard:hover .ic-wrap,
.channel:hover .cic {
  background: var(--accent-2);
  color: #FBF6F2;
  box-shadow: 0 0 0 5px rgba(217,128,50,.16), 0 8px 20px -8px rgba(217,128,50,.55);
}
.channel .cic { transition: background 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.icard h4 { font-size:1.22rem; }
.icard p { margin:0; color: var(--ink-soft); font-size:.96rem; }

/* ============================================================
   Contact page
   ============================================================ */
.contact-hero { text-align:center; padding-top: clamp(40px,7vw,72px); }
.channels {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px;
}
.channel {
  border:1px solid var(--line); border-radius:14px; padding: 22px; background: var(--bg);
  display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:start;
  transition: transform 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms ease, border-color 240ms;
}
.channel:hover { transform: translateY(-3px); box-shadow:0 22px 42px -36px rgba(122,43,78,.5); border-color: var(--accent); }
.channel .cic {
  width:48px; height:48px; border-radius:50%; grid-row: 1 / span 2;
  display:grid; place-items:center; background: var(--surface); color: var(--accent);
}
.channel .cic svg { width:22px; height:22px; }
.channel h4 { margin:0 0 2px; font-size:1.08rem; }
.channel a, .channel .val { color: var(--ink); font-weight:700; word-break: break-word; }
.channel a:hover { color: var(--accent); }
.channel small { color: var(--ink-soft); font-weight:600; display:block; margin-top:4px; }

.hours-grid { display:grid; gap:8px; max-width: 460px; }
.hours-grid .row {
  display:flex; justify-content:space-between; gap:16px;
  padding:10px 14px; border:1px solid var(--line); border-radius:10px; background: var(--bg);
  font-variant-numeric: tabular-nums;
}
.hours-grid .row.today { border-color: var(--accent); background: var(--surface); }
.hours-grid .row b { font-weight:700; }
.hours-grid .row span { color: var(--ink-soft); font-family: var(--mono); font-size:.9rem; }

/* ============================================================
   Forms
   ============================================================ */
.form-card {
  border:1px solid var(--line); border-radius:16px; padding: clamp(24px,4vw,40px); background: var(--bg);
}
.form-grid { display:grid; grid-template-columns:1fr; gap:18px; }
@media (min-width:640px){ .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display:flex; flex-direction:column; gap:6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight:700; font-size:.86rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size:1rem; color: var(--ink);
  background: var(--bg);
  border:0; border-bottom:2px solid var(--line-strong);
  padding: 10px 2px; border-radius: 2px;
  transition: border-color 200ms ease, background 200ms ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: var(--surface); outline: none;
}
.field.consent { flex-direction: row; align-items:flex-start; gap:10px; }
.field input[type="checkbox"] {
  appearance: auto; -webkit-appearance: auto;
  width:18px; height:18px; min-width:18px; min-height:18px;
  padding:0; border:0; margin:3px 0 0;
  accent-color: var(--accent);
}
.field.consent label { font-weight:600; font-size:.86rem; color: var(--ink-soft); }
.field.consent a { color: var(--accent); text-decoration: underline; }
.form-card .btn { margin-top: 6px; width:100%; justify-content:center; }
@media (min-width:640px){ .form-card .btn { width:auto; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(251,246,242,.8);
  padding-block: clamp(48px, 7vw, 80px) 28px;
}
.footer-grid {
  display:grid; grid-template-columns:1fr; gap: 34px;
}
@media (min-width:760px){ .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: var(--bg); font-family: var(--serif); font-size:1.1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(251,246,242,.8); }
.site-footer a:hover { color: var(--accent-2); }
.footer-brand .brand { color: var(--bg); margin-bottom: 14px; }
.footer-brand .brand small { color: rgba(251,246,242,.6); }
.footer-brand p { color: rgba(251,246,242,.7); font-size:.94rem; max-width: 42ch; }
.footer-links { list-style:none; padding:0; margin:0; display:grid; gap:10px; font-size:.94rem; }
.footer-meta {
  margin-top: 40px; padding-top: 22px; border-top:1px solid rgba(251,246,242,.16);
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px;
  font-size:.8rem; color: rgba(251,246,242,.6);
}
.footer-meta .est { color: var(--accent-2); font-weight:700; }

/* ============================================================
   Doc pages (policies)
   ============================================================ */
.doc { max-width: 760px; }
.doc h2 { font-size: clamp(1.5rem,3.4vw,2.1rem); margin-top: 1.6em; }
.doc h3 { font-size: 1.2rem; margin-top: 1.3em; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 22px; }
.doc .updated { font-size:.84rem; color: var(--ink-soft); font-weight:600; }
.page-hero {
  padding-top: clamp(40px, 7vw, 72px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.page-hero p { color: var(--ink-soft); }

/* breadcrumb */
.crumb { font-size:.8rem; color: var(--ink-soft); margin-bottom: 10px; }
.crumb a { color: var(--accent); }

/* 404 */
.notfound { text-align:center; padding-block: clamp(80px,14vw,180px); }
.notfound .big { font-family: var(--serif); font-size: clamp(5rem, 20vw, 12rem); color: var(--accent); line-height:1; }

/* thank you */
.thanks { text-align:center; padding-block: clamp(70px,12vw,160px); }
.thanks .check {
  width:84px; height:84px; margin: 0 auto 24px;
  border-radius:50%; background: var(--surface); color: var(--accent);
  display:grid; place-items:center;
}
.thanks .check svg { width:42px; height:42px; }

/* ============================================================
   Tables
   ============================================================ */
.table-scroll {
  display:block; width:100%; max-width:100%; min-width:0;
  overflow-x:auto; -webkit-overflow-scrolling:touch;
  margin: 18px 0;
  border:1px solid var(--line); border-radius:8px;
}
.table-scroll > table { margin:0 !important; min-width:480px; width:100%; border-collapse:collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width:0; }
table th, table td { text-align:left; padding:12px 16px; border-bottom:1px solid var(--line); font-size:.94rem; }
table th { font-weight:700; background: var(--surface); font-family: var(--sans); }

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px; margin: 0 auto;
  background: var(--bg);
  border:1px solid var(--line-strong);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 30px 70px -30px rgba(44,30,34,.6);
  transform: translateY(140%); opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms ease;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
@media (min-width:720px){ .cookie-banner { left:24px; right:auto; max-width:420px; } }
.cookie-banner h3 { font-size:1.16rem; margin-bottom:6px; }
.cookie-banner p { font-size:.88rem; color: var(--ink-soft); margin-bottom:14px; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display:flex; flex-wrap:wrap; gap:10px; }
.cookie-actions .btn { padding:11px 18px; font-size:.86rem; flex:1 1 auto; min-height:44px; }
.cookie-actions .btn-ghost { flex:1 1 auto; }

/* cookie settings modal */
.cookie-modal {
  position: fixed; inset:0; z-index:10001;
  display:none; place-items:center;
  background: rgba(0,0,0,.55); padding: 20px;
}
.cookie-modal.is-open { display:grid; }
.cookie-modal .panel {
  background: var(--bg); border-radius:16px; max-width:460px; width:100%;
  padding: clamp(24px,4vw,34px); max-height: 88vh; overflow-y:auto;
}
.toggle-row {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 0; border-bottom:1px solid var(--line);
}
.toggle-row small { display:block; color: var(--ink-soft); font-weight:400; font-size:.82rem; }
.switch { position:relative; width:46px; height:26px; flex:0 0 auto; }
.switch input { position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.switch .track { position:absolute; inset:0; background: var(--line-strong); border-radius:999px; transition: background 200ms; }
.switch .track::before { content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; background: var(--bg); border-radius:50%; transition: transform 200ms; }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { opacity:.55; }

/* ============================================================
   Reveal & animations
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 640ms cubic-bezier(.2,.7,.2,1), transform 640ms cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ambient: steam rising (niche: hot dishes) */
@keyframes steam {
  0%   { opacity:0; transform: translateY(6px) scaleX(1); }
  30%  { opacity:.6; }
  100% { opacity:0; transform: translateY(-26px) scaleX(1.5); }
}
.steam { position:absolute; pointer-events:none; display:flex; align-items:flex-end; }
.steam span {
  display:block; width:4px; height:22px; margin:0 5px;
  background: linear-gradient(180deg, rgba(217,128,50,.5), transparent);
  border-radius:999px;
  transform-origin: bottom center;
  animation: steam 4.5s ease-in-out infinite;
}
.steam span:nth-child(2){ animation-delay:1.2s; height:28px; }
.steam span:nth-child(3){ animation-delay:2.4s; }
/* atmospheric steam above the manifesto quote (cooking theme) */
.manifesto-steam { left:50%; top: clamp(22px, 5vw, 46px); transform: translateX(-50%); opacity:.85; }

/* ambient: spice particles drift */
@keyframes drift {
  0%   { transform: translate(0,0); opacity:0; }
  15%  { opacity:.7; }
  100% { transform: translate(var(--dx,20px), 46px); opacity:0; }
}
.particles { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.particles i {
  position:absolute; width:5px; height:5px; border-radius:50%;
  background: var(--accent-2);
  animation: drift 9s linear infinite;
}

/* filete wave gentle sway */
@keyframes sway { 0%,100%{ transform: translateX(0); } 50% { transform: translateX(-14px); } }
.filete svg { animation: sway 12s ease-in-out infinite; }

/* map route draw (theme signature) */
@keyframes dash { to { stroke-dashoffset: 0; } }
.map-route {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: dash 2.6s ease forwards;
}
.map-node { transform-box: fill-box; transform-origin: center; }
.map-node.active { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ r:5; opacity:1; } 50% { r:8; opacity:.7; } }

@media (prefers-reduced-motion: reduce) {
  .steam span, .particles i, .filete svg, .map-route, .map-node.active { animation: none !important; }
  .map-route { stroke-dashoffset: 0; }
}

/* hero slow zoom */
@keyframes slowzoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero-figure img { animation: slowzoom 14s ease-out forwards; }
@media (prefers-reduced-motion: reduce) { .hero-figure img { animation: none; } }

/* utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}

/* --- fix: header CTA "Reservar la velada" adaptive on mobile (drawer+hero keep CTA) --- */
@media (max-width: 640px){
  .site-header .nav-cta, header .nav-cta, .nav-desktop a.nav-cta { display: none !important; }
}

/* ============================================================
   CINEMATIC HERO  (award-level, full-screen candlelight)
   ============================================================ */
body.has-hero main { padding-top: 0; }

/* transparent, immersive header over the photo hero */
body.has-hero .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
body.has-hero .site-header:not(.is-scrolled) .brand,
body.has-hero .site-header:not(.is-scrolled) .brand small,
body.has-hero .site-header:not(.is-scrolled) .nav-desktop a {
  color: #FBF6F2;
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}
body.has-hero .site-header:not(.is-scrolled) .brand .mark { color: var(--accent-2); }
body.has-hero .site-header:not(.is-scrolled) .nav-desktop a::after { background: var(--accent-2); }
body.has-hero .site-header:not(.is-scrolled) .nav-desktop a:hover { color: #fff; }
body.has-hero .site-header:not(.is-scrolled) .nav-toggle { border-color: rgba(251,246,242,.5); background: rgba(20,12,14,.18); }
body.has-hero .site-header:not(.is-scrolled) .nav-toggle span { background: #FBF6F2; }

.hero-cinema {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  color: #FBF6F2;
}

/* --- background photo layer --- */
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo {
  position: absolute;
  top: -8%; left: -8%;
  width: 116%; height: 116%;
  object-fit: cover;
  object-position: 62% 55%;
  will-change: transform;
  animation: heroKen 22s ease-out both;
}
@keyframes heroKen {
  from { transform: scale(1.16) translate(1.5%, 1%); }
  to   { transform: scale(1.0) translate(0, 0); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(102deg, rgba(18,10,12,.92) 0%, rgba(18,10,12,.66) 34%, rgba(18,10,12,.2) 60%, rgba(18,10,12,.02) 100%),
    linear-gradient(0deg, rgba(12,7,9,.9) 0%, rgba(12,7,9,.25) 26%, rgba(12,7,9,0) 46%);
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 60% 42%, transparent 46%, rgba(8,4,6,.55) 100%);
}
.hero-glow {
  position: absolute; left: 6%; top: 8%;
  width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle, rgba(217,128,50,.28), rgba(217,128,50,0) 66%);
  filter: blur(6px);
  animation: heroFlicker 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroFlicker {
  0%,100% { opacity:.85; transform: scale(1); }
  40% { opacity:1; transform: scale(1.04); }
  70% { opacity:.7; transform: scale(.98); }
}
.hero-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }

/* --- hero content --- */
.hero-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: calc(var(--header-h) + 3vh);
  padding-bottom: 2vh;
}
.hero-eyebrow {
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 1.1em;
  display: inline-flex; align-items: center;
  padding-left: 46px; position: relative;
}
.hero-eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 34px; height: 1px; background: var(--accent-2);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  color: #FBF6F2;
  font-size: clamp(2.15rem, 8.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0 0 .5em;
  max-width: 16ch;
  text-shadow: 0 4px 40px rgba(0,0,0,.45);
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .ln > span { display: block; transform: translateY(0); }
.hero-title em {
  font-style: italic;
  color: var(--accent-2);
}

.hero-sub {
  max-width: 44ch;
  font-size: clamp(1.02rem, 2.1vw, 1.32rem);
  line-height: 1.55;
  color: rgba(251,246,242,.9);
  margin: 0 0 2em;
}
.hero-cinema .hero-actions {
  justify-content: flex-start;
  margin: 0 0 2.4em;
}
.btn-hero-ghost {
  background: rgba(251,246,242,.06);
  color: #FBF6F2;
  border: 1px solid rgba(251,246,242,.45);
  backdrop-filter: blur(2px);
}
.btn-hero-ghost:hover, .btn-hero-ghost:focus-visible {
  background: rgba(251,246,242,.14);
  color: #fff;
  border-color: #FBF6F2;
  transform: translateY(-2px);
}
.hero-badges {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px 26px;
  font-weight: 600; font-size: .86rem; color: rgba(251,246,242,.82);
}
.hero-badges li { display: inline-flex; align-items: center; gap: 9px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--accent-2); flex: 0 0 auto; }

/* --- hero foot: stats + scroll cue --- */
.hero-foot {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: clamp(22px, 4vh, 40px);
}
.hero-foot .hero-stats {
  display: flex; gap: clamp(20px, 4vw, 52px);
  margin: 0; border: 0; padding: 0;
  grid-template-columns: none;
}
.hero-foot .stat b {
  display: block; font-family: var(--serif);
  font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1;
  color: #FBF6F2;
}
.hero-foot .stat span { font-size: .78rem; color: rgba(251,246,242,.72); font-weight: 600; letter-spacing: .02em; }
.hero-scroll {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(251,246,242,.8); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-line { position: relative; width: 1px; height: 46px; background: rgba(251,246,242,.3); overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; left: 0; top: -60%; width: 100%; height: 60%;
  background: linear-gradient(180deg, transparent, var(--accent-2));
  animation: scrollDrop 1.9s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes scrollDrop { 0% { top: -60%; } 60%,100% { top: 100%; } }

@media (max-width: 560px) {
  .hero-foot { justify-content: center; }
  .hero-foot .hero-stats { width: 100%; justify-content: space-between; gap: 12px; }
  .hero-scroll { display: none; }
}
@media (max-width: 400px) {
  .hero-eyebrow { letter-spacing: .18em; font-size: .68rem; padding-left: 38px; }
  .hero-eyebrow::before { width: 26px; }
}

/* --- Entrance orchestration (JS-gated, always-visible resting state) ---
   Resting state = fully visible. The hidden state applies ONLY while JS is
   active and the hero is not yet ready; JS adds .is-ready (rAF + 1800ms safety)
   and the content transitions in. Uses CSS transitions (not @keyframes) so the
   final visible style is a plain computed value that can never stay stuck. */
.hero-eyebrow, .hero-sub, .hero-cinema .hero-actions, .hero-badges, .hero-foot {
  transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1);
}
.hero-title .ln > span { transition: transform 1s cubic-bezier(.16,.84,.28,1); }
.hero-eyebrow { transition-delay: .12s; }
.hero-title .ln:nth-child(1) > span { transition-delay: .2s; }
.hero-title .ln:nth-child(2) > span { transition-delay: .32s; }
.hero-title .ln:nth-child(3) > span { transition-delay: .44s; }
.hero-sub { transition-delay: .56s; }
.hero-cinema .hero-actions { transition-delay: .68s; }
.hero-badges { transition-delay: .8s; }
.hero-foot { transition-delay: .95s; }

html:not(.no-js) .hero-cinema:not(.is-ready) .hero-eyebrow,
html:not(.no-js) .hero-cinema:not(.is-ready) .hero-sub,
html:not(.no-js) .hero-cinema:not(.is-ready) .hero-actions,
html:not(.no-js) .hero-cinema:not(.is-ready) .hero-badges,
html:not(.no-js) .hero-cinema:not(.is-ready) .hero-foot { opacity: 0; transform: translateY(16px); }
html:not(.no-js) .hero-cinema:not(.is-ready) .hero-title .ln > span { transform: translateY(112%); }

@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; transform: scale(1.04); }
  .hero-glow, .hero-scroll-line::after { animation: none; }
  .hero-eyebrow, .hero-sub, .hero-cinema .hero-actions,
  .hero-badges, .hero-foot, .hero-title .ln > span { transition: none !important; }
  html:not(.no-js) .hero-cinema:not(.is-ready) .hero-eyebrow,
  html:not(.no-js) .hero-cinema:not(.is-ready) .hero-sub,
  html:not(.no-js) .hero-cinema:not(.is-ready) .hero-actions,
  html:not(.no-js) .hero-cinema:not(.is-ready) .hero-badges,
  html:not(.no-js) .hero-cinema:not(.is-ready) .hero-foot { opacity: 1; transform: none; }
  html:not(.no-js) .hero-cinema:not(.is-ready) .hero-title .ln > span { transform: none; }
}

/* ============================================================
   3D tilt + glare on dish cards (gastronomy: hover-tilt con brillo)
   ============================================================ */
[data-tilt] {
  position: relative;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), box-shadow 400ms ease;
}
[data-tilt].is-tilting { transition: transform 90ms linear, box-shadow 400ms ease; }
[data-tilt].is-tilting { box-shadow: 0 40px 70px -44px rgba(0,0,0,.7); }
[data-tilt] img { transform: translateZ(0); }
[data-tilt]::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--gx,50%) var(--gy,50%), rgba(255,236,205,.4), rgba(255,236,205,0) 60%);
  opacity: 0; transition: opacity 300ms ease;
  mix-blend-mode: screen;
}
[data-tilt].is-tilting::after { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  [data-tilt] { transform: none !important; }
  [data-tilt]::after { display: none; }
}

/* --- fix: nav-cta "Reservar la velada" — no wrap + never merges with header bg --- */
.nav-cta{ white-space:nowrap; box-shadow:0 0 0 1.6px rgba(251,246,242,.30), 0 10px 24px -12px rgba(0,0,0,.5); }
/* над тёмным hero (прозрачная шапка) — яркий accent-2 + тёмный текст = высокий контраст, не сливается */
body.has-hero .site-header:not(.is-scrolled) .nav-cta{ background:var(--accent-2) !important; color:#201013 !important; box-shadow:0 8px 22px -8px rgba(0,0,0,.55); }
body.has-hero .site-header:not(.is-scrolled) .nav-cta:hover{ background:#c26e22 !important; color:#201013 !important; }

/* --- fix: все CTA-кнопки "Reservar la velada" — текст в одну строку (no crooked wrap) --- */
.btn, .btn-primary, .drawer-cta, .nav-cta{ white-space:nowrap; }

/* --- fix: drawer CTA "Reservar la velada" text merges with button bg (drawer link color override) --- */
.drawer a.drawer-cta, .drawer .drawer-cta, #drawer a.drawer-cta,
.drawer a.btn-primary, #drawer a.btn-primary{
  background: var(--accent) !important;
  color: #FBF6F2 !important;
}
.drawer a.drawer-cta:hover, #drawer a.drawer-cta:hover{ background: var(--ink) !important; color:#FBF6F2 !important; }

/* --- fix: drawer-cta text left-jammed (justify-content:normal + 0 horiz padding) -> center it --- */
.drawer a.drawer-cta, .drawer .drawer-cta, #drawer a.drawer-cta, .drawer a.btn-primary{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  gap:8px;
  padding:14px 24px !important;
}
