/* =============================================================
   ROOFGARDEN — Fuego y Tradición
   styles.css — hoja única, organizada por secciones
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Paleta estricta del manual de identidad */
  --cream:        #FAF6EE;   /* Crema Tradicional — fondo principal */
  --cream-2:      #F1E9D8;   /* crema más oscura — tarjetas / franjas */
  --cream-3:      #E7DCC4;   /* crema aún más oscura — bordes sutiles */
  --carbon:       #1E251C;   /* Negro Carbón — líneas e hierro / texto */
  --carbon-soft:  #2B3327;
  --forest:       #3D4A34;   /* Verde Bosque — botánica y jardín */
  --forest-soft:  #556149;
  --brasa:        #8C2D19;   /* Rojo Brasa — fuego y proteínas */
  --brasa-soft:   #A8402A;
  --brasa-deep:   #6B2112;

  --ink:          var(--carbon);
  --ink-mute:     rgba(30,37,28,0.66);
  --ink-faint:    rgba(30,37,28,0.42);
  --line:         rgba(30,37,28,0.16);
  --line-soft:    rgba(30,37,28,0.09);
  --on-dark:      var(--cream);
  --on-dark-mute: rgba(250,246,238,0.74);
  --on-dark-line: rgba(250,246,238,0.18);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:    "Inter", -apple-system, "Segoe UI", sans-serif;
  --condensed: "Oswald", "Arial Narrow", sans-serif;
  --script:  "Alex Brush", "Segoe Script", cursive;

  --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);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
  --radius-lg: 14px;

  --nav-h: 76px;
}

@property --mesh-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal[data-split] { opacity: 1; transform: none; } /* defensive */
html.no-js .reveal { opacity: 1 !important; transform: none !important; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -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.05; font-family: var(--display); font-weight: 700; }
ul { list-style: none; padding: 0; }
::selection { background: var(--brasa); color: var(--cream); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.1rem; background: var(--carbon); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* subtle paper texture, applied as fixed overlay */
.paper-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 2;
  opacity: 0.05; mix-blend-mode: multiply;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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 { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section-dark { background: var(--carbon); color: var(--on-dark); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.kicker {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brasa);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 1.5px; background: currentColor; display: inline-block;
}
.section-dark .kicker { color: var(--cream-3); }

.eyebrow-script {
  font-family: var(--script);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--brasa);
  display: inline-block;
  transform: rotate(-2deg);
}

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: .9rem; }
.section-lead { font-size: 1.08rem; color: var(--ink-mute); max-width: 60ch; }
.section-dark .section-lead { color: var(--on-dark-mute); }

/* ornamental divider — woodcut-style flourish */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-block: 0; color: var(--forest); opacity: .8;
}
.ornament svg { width: 120px; height: 20px; }
.ornament .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brasa); flex: none; }

/* buttons */
.btn {
  font-family: var(--condensed);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brasa);
  color: var(--cream);
  box-shadow: 0 10px 24px -10px rgba(140,45,25,0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -12px rgba(140,45,25,0.65); background: var(--brasa-soft); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--on-dark-line);
}
.btn-ghost:hover { background: rgba(250,246,238,0.1); border-color: var(--cream); transform: translateY(-3px); }
.btn-outline-dark {
  background: transparent;
  color: var(--carbon);
  border: 1.5px solid var(--line);
}
.btn-outline-dark:hover { background: var(--carbon); color: var(--cream); transform: translateY(-3px); }
.btn-forest { background: var(--forest); color: var(--cream); box-shadow: 0 10px 24px -10px rgba(61,74,52,0.5); }
.btn-forest:hover { background: var(--forest-soft); transform: translateY(-3px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }

/* =============================================================
   4. TYPOGRAPHY HELPERS
   ============================================================= */
.text-brasa { color: var(--brasa); }
.text-forest { color: var(--forest); }
.italic { font-style: italic; }

/* =============================================================
   5. NAV
   ============================================================= */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(250,246,238,0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(30,37,28,0.4);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: .6rem; }
.nav-brand img { height: 40px; width: auto; }
.nav-brand-text { font-family: var(--condensed); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .95rem; color: var(--carbon); }
.nav.is-transparent-hero:not(.is-solid) .nav-brand-text { color: var(--cream); }
.nav.is-transparent-hero:not(.is-solid) .nav-brand img { filter: brightness(0) invert(1); }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--condensed); text-transform: uppercase; letter-spacing: .06em;
  font-size: .82rem; font-weight: 600; color: var(--carbon);
  position: relative; padding-block: .3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--brasa); transition: right .35s var(--ease-out);
}
.nav-links a:hover::after { right: 0; }
.nav.is-transparent-hero:not(.is-solid) .nav-links a { color: var(--cream); }

.nav-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; width: 30px; padding: 6px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--carbon); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav.is-transparent-hero:not(.is-solid) .nav-toggle span { background: var(--cream); }
.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); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 480;
  background: var(--cream);
  transform: translateX(100%);
  transition: transform .5s var(--ease-out);
  overflow-y: auto;
  padding: 2rem var(--gutter) 3rem;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
  display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 600;
  padding-block: .7rem; border-bottom: 1px solid var(--line-soft); color: var(--carbon);
}
.mobile-menu .btn { margin-top: 1.6rem; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}

/* =============================================================
   6. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  background: var(--carbon);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,12,8,0.55) 0%, rgba(14,12,8,0.35) 30%, rgba(14,12,8,0.65) 68%, rgba(10,9,6,0.92) 100%),
    linear-gradient(90deg, rgba(10,9,6,0.55) 0%, rgba(10,9,6,0) 45%, rgba(10,9,6,0) 55%, rgba(10,9,6,0.55) 100%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 18vw 2vw rgba(8,7,5,0.55);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: calc(var(--nav-h) + 2.5rem) clamp(3rem, 8vw, 5.5rem); }
.hero-kicker {
  font-family: var(--condensed); text-transform: uppercase; letter-spacing: .18em;
  font-size: .82rem; font-weight: 600; color: var(--cream-3);
  display: flex; align-items: center; gap: .6em; margin-bottom: 1.4rem;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brasa); box-shadow: 0 0 0 4px rgba(140,45,25,0.28); }
.hero-title {
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  font-weight: 700;
  max-width: 16ch;
}
.hero-title span { display: block; }
.hero-title .accent { font-family: var(--script); font-weight: 400; color: var(--brasa-soft); font-size: 1.05em; }
.hero-sub {
  margin-top: 1.6rem; max-width: 46ch; font-size: 1.12rem; color: var(--on-dark-mute); line-height: 1.65;
}
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; }
.hero-cta-note { font-family: var(--condensed); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream-3); }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: clamp(1.6rem, 4vw, 2.6rem); z-index: 2;
  display: none; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--on-dark-mute); font-family: var(--condensed); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero-scroll .line { width: 1px; height: 44px; background: linear-gradient(var(--on-dark-mute), transparent); position: relative; overflow: hidden; }
.hero-scroll .line::after { content:""; position:absolute; top:-44px; left:0; width:100%; height:44px; background: var(--cream); animation: scrollLine 2.2s var(--ease-soft) infinite; }
@keyframes scrollLine { to { top: 100%; } }

@media (min-width: 720px) { .hero-scroll { display: flex; } }

/* =============================================================
   7. PHILOSOPHY
   ============================================================= */
.philosophy-grid {
  display: grid; gap: 2.5rem;
}
.philosophy-copy { max-width: 62ch; }
.philosophy-copy .section-lead { margin-bottom: 1.1rem; font-size: 1.12rem; color: var(--ink); }
.philosophy-copy p + p { margin-top: 1.1rem; color: var(--ink-mute); }
.philosophy-quote {
  margin-top: 2.4rem; padding: 1.8rem 2rem; border-left: 3px solid var(--brasa);
  background: var(--cream-2); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.philosophy-quote p { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--carbon); }
.philosophy-quote footer { margin-top: .9rem; font-family: var(--condensed); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }

.pillars { display: grid; gap: 1.5rem; margin-top: 3rem; }
.pillar { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--cream); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -24px rgba(30,37,28,0.35); border-color: var(--forest); }
.pillar-num { font-family: var(--display); font-size: 1.1rem; color: var(--brasa); margin-bottom: .6rem; }
.pillar h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pillar p { color: var(--ink-mute); font-size: .96rem; }

.philosophy-figure { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/5; }
.philosophy-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.philosophy-figure:hover img { transform: scale(1.06); }

@media (min-width: 960px) {
  .philosophy-grid { grid-template-columns: 1.05fr 0.85fr; align-items: start; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   8. COURSES
   ============================================================= */
.courses-grid { display: grid; gap: 1.8rem; }
.course-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--carbon); color: var(--cream);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.course-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(30,37,28,0.5); }
.course-photo { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.course-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.course-card:hover .course-photo img { transform: scale(1.08); }
.course-photo::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(14,12,8,0) 40%, rgba(14,12,8,0.85) 100%); }
.course-level {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-family: var(--condensed); text-transform: uppercase; letter-spacing: .07em; font-size: .68rem; font-weight: 600;
  background: var(--brasa); color: var(--cream); padding: .35rem .7rem; border-radius: 999px;
}
.course-body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.course-meta { font-family: var(--condensed); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream-3); margin-bottom: .9rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.course-body > p { color: var(--on-dark-mute); font-size: .95rem; margin-bottom: 1.1rem; }
.course-topics { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.course-topics li { font-size: .88rem; color: var(--on-dark-mute); padding-left: 1.3rem; position: relative; }
.course-topics li::before { content: "—"; position: absolute; left: 0; color: var(--brasa-soft); }
.course-price { font-family: var(--display); font-size: 1.15rem; color: var(--cream); margin-bottom: 1.1rem; }
.course-card .btn { margin-top: auto; }

@media (min-width: 720px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .courses-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   9. ENROLL / FORM
   ============================================================= */
.enroll { background: var(--cream-2); }
.enroll-wrap { display: grid; gap: 3rem; }
.enroll-aside .section-lead { margin-bottom: 1.6rem; }
.enroll-points { display: grid; gap: 1rem; }
.enroll-points li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--ink-mute); }
.enroll-points .ico { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: var(--cream); display: grid; place-items: center; font-size: .8rem; }

.form-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: 0 30px 60px -36px rgba(30,37,28,0.35);
}
.form-grid { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--condensed); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: .85rem 1rem; border-radius: 8px;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brasa); box-shadow: 0 0 0 4px rgba(140,45,25,0.12);
}
.field textarea { resize: vertical; min-height: 90px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--brasa); }
.field-error { font-size: .78rem; color: var(--brasa); min-height: 1em; }
.field-row { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.field-check { display: flex; align-items: flex-start; gap: .7rem; font-size: .85rem; color: var(--ink-mute); }
.field-check input { margin-top: .2rem; }

.form-submit-row { margin-top: .4rem; }
.form-note { font-size: .8rem; color: var(--ink-faint); margin-top: .8rem; }

.payment-panel {
  margin-top: 1.6rem; padding: 1.6rem; border-radius: var(--radius-lg);
  background: var(--carbon); color: var(--cream);
  display: none;
}
.payment-panel.is-visible { display: block; animation: fadeUp .6s var(--ease-out); }
.payment-panel h4 { font-size: 1.2rem; margin-bottom: .5rem; }
.payment-panel p { color: var(--on-dark-mute); font-size: .92rem; margin-bottom: 1.2rem; }
.payment-summary { display: grid; gap: .35rem; margin-bottom: 1.3rem; padding: 1rem; background: rgba(250,246,238,0.06); border-radius: 10px; font-size: .88rem; }
.payment-summary strong { color: var(--cream); }
.payment-summary span { color: var(--on-dark-mute); }
.mp-badge { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--condensed); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream-3); margin-top: 1rem; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 960px) { .enroll-wrap { grid-template-columns: 0.85fr 1.15fr; } }

/* =============================================================
   10. SOCIAL PROOF
   ============================================================= */
.proof { background: var(--carbon); color: var(--cream); }
.proof-media { display: grid; gap: 1rem; margin-bottom: 3rem; }
.proof-media figure { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.proof-media img { width: 100%; height: 100%; object-fit: cover; }
.proof-media .fig-a { aspect-ratio: 4/3; }
.proof-media .fig-b { aspect-ratio: 5/4; }
.proof-media figcaption {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-family: var(--condensed); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem;
  background: rgba(14,12,8,0.6); backdrop-filter: blur(4px); padding: .4rem .8rem; border-radius: 999px; color: var(--cream);
}
@media (min-width: 800px) { .proof-media { grid-template-columns: 1.2fr 1fr; align-items: center; } }

.testimonials { display: grid; gap: 1.4rem; }
.testimonial { padding: 1.7rem; border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); background: rgba(250,246,238,0.04); }
.testimonial p.quote { font-family: var(--display); font-style: italic; font-size: 1.08rem; margin-bottom: 1.1rem; }
.testimonial-author { font-family: var(--condensed); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream-3); }
@media (min-width: 960px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   11. CLIPS
   ============================================================= */
.clips-grid { display: grid; gap: 1.5rem; }
.clip-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 9/16; background: var(--carbon); cursor: pointer;
  box-shadow: 0 20px 40px -26px rgba(30,37,28,0.4);
}
.clip-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out), filter .5s var(--ease-out); }
.clip-card:hover img { transform: scale(1.06); filter: brightness(0.85); }
.clip-card::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(14,12,8,0.05) 30%, rgba(14,12,8,0.85) 100%); z-index:1; }
.clip-play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
}
.clip-play span {
  width: 64px; height: 64px; border-radius: 50%; background: rgba(250,246,238,0.92);
  display: grid; place-items: center; transition: transform .4s var(--ease-bounce), background .3s var(--ease-out);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.5);
}
.clip-card:hover .clip-play span { transform: scale(1.1); background: var(--brasa); }
.clip-play svg { width: 22px; height: 22px; fill: var(--carbon); margin-left: 3px; transition: fill .3s; }
.clip-card:hover .clip-play svg { fill: var(--cream); }
.clip-info { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 2; color: var(--cream); }
.clip-info h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.clip-info p { font-size: .82rem; color: var(--on-dark-mute); }

@media (min-width: 720px) { .clips-grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   12. GALLERY
   ============================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 1/1; }
.gallery-item:nth-child(3n+1) { aspect-ratio: 4/5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), filter .4s; }
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.gallery-item::after { content:""; position:absolute; inset:0; border: 1px solid rgba(30,37,28,0.08); border-radius: inherit; pointer-events: none; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   13. BANNERS — menú ejecutivo / buffet
   ============================================================= */
.banner-strip {
  background: var(--forest); color: var(--cream);
  padding-block: 1.6rem;
}
.banner-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.banner-strip-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.banner-strip-title { font-family: var(--display); font-size: 1.3rem; }
.banner-strip-schedule { font-family: var(--condensed); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: rgba(250,246,238,0.78); }

.buffet {
  position: relative; overflow: hidden; color: var(--cream);
  background: var(--carbon);
}
.buffet-grid { display: grid; gap: 2rem; align-items: center; }
.buffet-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.buffet-photo img { width: 100%; height: 100%; object-fit: cover; }
.buffet-copy .section-lead { color: var(--on-dark-mute); }
.buffet-price { font-family: var(--condensed); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; color: var(--cream-3); margin: 1.1rem 0 1.6rem; }
@media (min-width: 900px) { .buffet-grid { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   14. EVENTS
   ============================================================= */
.events-grid { display: grid; gap: 1.8rem; }
.event-card {
  padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--radius-lg);
  background: var(--cream); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(30,37,28,0.4); }
.event-card .icon { width: 54px; height: 54px; border-radius: 50%; background: var(--brasa); color: var(--cream); display: grid; place-items: center; margin-bottom: 1.4rem; }
.event-card h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.event-card > p { color: var(--ink-mute); margin-bottom: 1.3rem; }
.event-bullets { display: grid; gap: .55rem; margin-bottom: 1.8rem; }
.event-bullets li { font-size: .92rem; color: var(--ink-mute); padding-left: 1.3rem; position: relative; }
.event-bullets li::before { content: "—"; position: absolute; left: 0; color: var(--forest); }
.event-card .btn { margin-top: auto; }
@media (min-width: 800px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }

/* =============================================================
   15. FINAL CTA
   ============================================================= */
.final-cta {
  position: relative; overflow: hidden;
  background: var(--brasa); color: var(--cream);
  text-align: center; padding-block: clamp(4.5rem, 10vw, 8rem);
}
.final-cta::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 20%, rgba(250,246,238,0.14), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(30,37,28,0.25), transparent 55%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.final-cta h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }
.final-cta p { font-size: 1.05rem; color: rgba(250,246,238,0.85); margin-bottom: 2.2rem; }
.final-cta .btn-primary { background: var(--cream); color: var(--brasa-deep); box-shadow: 0 16px 34px -14px rgba(14,12,8,0.4); }
.final-cta .btn-primary:hover { background: var(--carbon); color: var(--cream); }

/* =============================================================
   16. FOOTER
   ============================================================= */
.footer { background: var(--carbon); color: var(--on-dark-mute); padding-block: 4rem 2rem; }
.footer-top { display: grid; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--on-dark-line); }
.footer-brand img { height: 54px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 34ch; font-size: .92rem; }
.footer-script { font-family: var(--script); color: var(--brasa-soft); font-size: 1.6rem; margin-top: .8rem; display: inline-block; }
.footer-ctas { display: grid; gap: .9rem; align-content: start; }
.footer-ctas .btn { justify-content: flex-start; }
.footer-col h4 { font-family: var(--condensed); text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; color: var(--cream); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a, .footer-col address { font-size: .92rem; font-style: normal; color: var(--on-dark-mute); transition: color .3s; }
.footer-col a:hover { color: var(--cream); }
.footer-social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--on-dark-line);
  display: grid; place-items: center; transition: background .3s, border-color .3s;
}
.footer-social a:hover { background: var(--brasa); border-color: var(--brasa); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .8rem; color: rgba(250,246,238,0.5); }

@media (min-width: 720px) { .footer-top { grid-template-columns: 1.2fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.3fr 0.9fr 0.8fr 0.8fr; } }

/* =============================================================
   17. LIGHTBOX (galería + clips)
   ============================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,9,6,0.94);
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox-stage { position: relative; width: 100%; max-width: 1100px; max-height: 88vh; display: grid; place-items: center; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(250,246,238,0.1); color: var(--cream); display: grid; place-items: center;
  transition: background .3s, transform .3s;
  border: 1px solid var(--on-dark-line);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--brasa); border-color: var(--brasa); }
.lightbox-close { top: -4px; right: 0; }
.lightbox-prev { left: -4px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -4px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: -2.6rem; text-align: center; color: var(--on-dark-mute); font-size: .85rem; }
@media (max-width: 720px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-close { top: -46px; right: -4px; }
}

/* =============================================================
   18. TOAST / VALIDATION MESSAGES
   ============================================================= */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; transform: translate(-50%, 140%);
  background: var(--carbon); color: var(--cream); padding: .9rem 1.4rem; border-radius: 999px;
  font-size: .88rem; z-index: 900; box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5);
  transition: transform .5s var(--ease-bounce);
}
.toast.is-visible { transform: translate(-50%, 0); }

/* =============================================================
   19. REVEAL / MICRO-INTERACTIONS
   ============================================================= */
.reveal { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

[data-tilt] { will-change: transform; }

.marquee {
  overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line);
  background: var(--cream-2); padding-block: .9rem;
}
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--condensed); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--ink-mute); display: inline-flex; align-items: center; gap: .8rem; }
.marquee span::after { content: "◆"; color: var(--brasa); font-size: .6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================================
   20. RESPONSIVE — spacing & type scale refinements
   ============================================================= */
@media (min-width: 540px) {
  .gallery-item:nth-child(3n+1) { aspect-ratio: 4/5; }
}
@media (min-width: 1280px) {
  .container { padding-inline: var(--gutter); }
}

/* =============================================================
   21. REDUCED MOTION — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll .line::after { animation: none; }
  .marquee-track { animation: none; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   22. PRINT-safe fallback for no-js content spacing
   ============================================================= */
.no-js .nav-toggle, .no-js .mobile-menu { display: none; }
