/* ============================================================
   CEMITAS AMERICA — CINEMATIC STATIC SITE
   ============================================================ */

:root,
[data-theme="dark"] {
  --bg: #0a0908;
  --bg-2: #1a110d;
  --bg-3: #221610;
  --primary: #7c1b11;
  --primary-hover: #982418;
  --accent: #cd4b1b;
  --accent-2: #e07a3c;
  --salsa-verde: #465b33;
  --salsa-verde-2: #6b8a48;
  --sesame: #ddb88c;
  --beige: #f4efe6;
  --text: #f4efe6;
  --text-muted: #a89f91;
  --border: #2c1f18;
  --nav-bg: rgba(10, 9, 8, 0.6);
  --nav-border: rgba(244, 239, 230, 0.08);
  --nav-text: #f4efe6;
  --nav-fg: #f4efe6;
  --grain-blend: overlay;
  --grain-opacity: 0.18;
  --map-filter: grayscale(0.9) contrast(1.05) brightness(0.85) sepia(0.25)
    hue-rotate(-12deg);
  --map-filter-hover: grayscale(0.4) contrast(1.05) brightness(0.95)
    sepia(0.15) hue-rotate(-8deg);
}

[data-theme="light"] {
  --bg: #f6f1e7;
  --bg-2: #ece2cf;
  --bg-3: #1a110d;
  --primary: #7c1b11;
  --primary-hover: #982418;
  --accent: #b33a14;
  --accent-2: #c75a2a;
  --sesame: #8a5e2e;
  --text: #1a110d;
  --text-muted: #6f5c49;
  --border: #c9b79a;
  --nav-bg: rgba(246, 241, 231, 0.72);
  --nav-border: rgba(26, 17, 13, 0.1);
  --nav-text: #1a110d;
  --nav-fg: #1a110d;
  --grain-blend: multiply;
  --grain-opacity: 0.08;
  --map-filter: contrast(1.02) saturate(0.95);
  --map-filter-hover: contrast(1.05) saturate(1.05);
}

/* Nav has its own fg that flips on scroll */
.nav:not(.scrolled) {
  --nav-fg: #f4efe6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition:
    background 0.6s ease,
    color 0.6s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.font-display,
.h1,
.h2,
.hero-title,
.overline,
.btn-primary,
.btn-ghost,
.brand-name,
.brand-mark,
.lang-btn,
.nav-link,
.mobile-link,
.preview-name,
.menu-row .title,
.stat-val,
.footer-line,
.scroll-indicator span,
.testimonial-author,
.testimonial-origin,
.info-label {
  font-family: "Bebas Neue", "Oswald", sans-serif;
  letter-spacing: 0.005em;
}

.serif-italic,
.hero-sub,
.menu-row .desc,
.preview-price,
.quote-card .serif-italic,
.testimonial-quote,
.info-value,
.menu-sub {
  font-family: "Fraunces", "Playfair Display", serif;
  font-style: italic;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

.sesame {
  color: var(--sesame);
}
.accent {
  color: var(--accent-2);
}
.accent-warm {
  color: var(--accent-2);
}
.center {
  text-align: center;
}

.overline {
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.overline::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.overline.center {
  display: inline-flex;
}

.h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 1.25rem;
}
.h2.large {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
}
.h2.huge {
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.88;
  max-width: 5em;
  margin-left: auto;
  margin-right: auto;
}

.body-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 34rem;
  margin-top: 1.5rem;
}

.large-body {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.5;
  max-width: 40rem;
  margin-top: 2rem;
}

.culture-body {
  margin-top: 2.5rem;
  max-width: 36rem;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.5;
}

.footnote {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition:
    background 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.5s ease,
    border-color 0.35s ease,
    color 0.35s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #f4efe6;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px -8px rgba(205, 75, 27, 0.45);
}
.btn-ghost {
  color: var(--text);
  border-color: rgba(244, 239, 230, 0.25);
}
[data-theme="light"] .btn-ghost {
  border-color: rgba(26, 17, 13, 0.25);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  background: rgba(205, 75, 27, 0.06);
}

/* ============================================================
   ICONS — minimal SVG via mask
   ============================================================ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.icon[data-icon="sun"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4'/><path d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/></svg>");
}
.icon[data-icon="moon"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/></svg>");
}
.icon[data-icon="globe"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='2' y1='12' x2='22' y2='12'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>");
}
.icon[data-icon="menu"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><line x1='3' y1='6' x2='21' y2='6'/><line x1='3' y1='12' x2='21' y2='12'/><line x1='3' y1='18' x2='21' y2='18'/></svg>");
}
.icon[data-icon="x"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
}
.icon[data-icon="pin"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}
.icon[data-icon="phone"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
}
.icon[data-icon="clock"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>");
}
.icon[data-icon="arrow-down"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><line x1='12' y1='5' x2='12' y2='19'/><polyline points='19 12 12 19 5 12'/></svg>");
  animation: bounce 1.8s ease-in-out infinite;
}
.icon[data-icon="arrow-up-right"] {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><line x1='7' y1='17' x2='17' y2='7'/><polyline points='7 7 17 7 17 17'/></svg>");
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============================================================
   NAVBAR
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
  animation: navIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes navIn {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.nav.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--nav-bg);
  border-bottom-color: var(--nav-border);
}
.nav-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .nav-inner { padding: 0 3rem; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #f4efe6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  transition: background 0.3s ease;
}
.brand:hover .brand-mark {
  background: var(--primary-hover);
}
.brand-name {
  font-size: 1.25rem;
  letter-spacing: 0.22em;
  color: var(--nav-fg);
}
@media (max-width: 640px) {
  .brand-name { display: none; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-link {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: color-mix(in srgb, var(--nav-fg) 85%, transparent);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.nav-link:hover { color: var(--nav-fg); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.icon-btn,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--nav-border);
  color: color-mix(in srgb, var(--nav-fg) 85%, transparent);
  background: transparent;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}
.icon-btn {
  width: 2.5rem;
  padding: 0;
}
.icon-btn:hover,
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}
.icon-btn .icon,
.lang-btn .icon { font-size: 0.95rem; }
.theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: inline-block; }

.mobile-only { display: inline-flex; }
@media (min-width: 768px) {
  .mobile-only { display: none; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--bg-2) 95%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--nav-border);
}
.mobile-menu[hidden] { display: none; }
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}
.mobile-link {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--text);
  text-transform: uppercase;
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.86 0 0 0 0 0.7 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); }
  20% { transform: translate(-4%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-3%, 4%); }
  80% { transform: translate(3%, -2%); }
  100% { transform: translate(0,0); }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.hero-bg {
  position: absolute;
  inset: -5%;
  background-image: url("images/cemitadecabeza3.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
  will-change: transform;
}
@keyframes heroZoom {
  to { transform: scale(1.18); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.9) 100%);
}
.smoke {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(205,75,27,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(124,27,17,0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.85) 0%, transparent 75%);
  pointer-events: none;
}
.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ember {
  position: absolute;
  width: 4px;
  height: 4px;
  bottom: -10px;
  background: radial-gradient(circle, rgba(224,122,60,0.9), rgba(124,27,17,0));
  border-radius: 50%;
  filter: blur(0.5px);
  animation: emberRise 7s linear infinite;
}
@keyframes emberRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translateY(-90vh) translateX(20px); opacity: 0; }
}

.hero-inner {
  position: relative;
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 8rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
@media (min-width: 1024px) {
  .hero-inner { padding: 8rem 3rem 3rem; }
}

.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 64rem;
}
.reveal-mask { overflow: hidden; }
.hero-title {
  font-size: clamp(4.5rem, 13vw, 13rem);
  line-height: 0.85;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text);
}
.hero-title.accent { color: var(--accent-2); }

.hero-sub {
  margin-top: 2rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.25;
  color: var(--sesame);
  max-width: 32rem;
}
.hero-tagline {
  margin-top: 1rem;
  max-width: 30rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
}
.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
}
.hero-rating { display: flex; align-items: center; gap: 1rem; }
.stars { color: var(--accent-2); letter-spacing: 0.1em; font-size: 0.9rem; }
.stars .dim { opacity: 0.4; }
.rating-meta { line-height: 1.15; }
.rating-value { font-family: "Bebas Neue", sans-serif; font-size: 1.05rem; letter-spacing: 0.2em; }
.rating-count { font-size: 0.7rem; letter-spacing: 0.18em; color: var(--text-muted); text-transform: uppercase; }

.scroll-indicator {
  display: none;
  align-items: center;
  gap: 0.75rem;
  color: rgba(244,239,230,0.7);
  transition: color 0.3s ease;
}
@media (min-width: 768px) {
  .scroll-indicator { display: inline-flex; }
}
.scroll-indicator span { font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; }
.scroll-indicator .line { width: 3rem; height: 1px; background: rgba(244,239,230,0.3); transition: background 0.3s ease; }
.scroll-indicator:hover { color: var(--accent-2); }
.scroll-indicator:hover .line { background: var(--accent); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view,
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-mask .reveal-up {
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-mask .reveal-up.in-view { transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ============================================================
   STORY
   ============================================================ */

.story {
  padding: 8rem 0;
  background: var(--bg);
}
@media (min-width: 768px) {
  .story { padding: 11rem 0; }
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .story-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.story-text { position: relative; }
@media (min-width: 1024px) {
  .story-text { position: sticky; top: 8rem; align-self: start; }
}

.story-images {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .story-images { gap: 1.5rem; }
}
.story-img {
  position: relative;
  overflow: hidden;
}
.story-img::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(221,184,140,0.18);
  pointer-events: none;
}
[data-theme="light"] .story-img::after {
  border-color: rgba(26,17,13,0.12);
}
.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.05);
  transition:
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-img:hover img {
  filter: grayscale(0) contrast(1.1);
  transform: scale(1.06);
}
.story-img.tall { grid-column: span 7; grid-row: span 2; aspect-ratio: 3/4; }
.story-img.sqr { grid-column: span 5; aspect-ratio: 1/1; }
.story-img.offset { margin-top: 3rem; }
.story-img.quote-card {
  grid-column: span 5;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.story-img.quote-card .serif-italic {
  font-size: 1.5rem;
  line-height: 1.3;
}

.stats-grid {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
}
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); margin-top: 8rem; }
}
.stat-val {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--text);
}
.stat-label {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   MENU
   ============================================================ */

.menu {
  padding: 8rem 0;
  background: var(--bg-2);
}
@media (min-width: 768px) {
  .menu { padding: 11rem 0; }
}
.menu-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: end;
}
@media (min-width: 1024px) {
  .menu-head { grid-template-columns: 7fr 5fr; margin-bottom: 6rem; }
}
.menu-head .h2 { font-size: clamp(3rem, 7vw, 6rem); }
.menu-sub { font-size: 1.15rem; color: var(--sesame); max-width: 28rem; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: 7fr 5fr; gap: 4rem; }
}

.menu-category { margin-bottom: 4rem; }
.menu-category:last-child { margin-bottom: 0; }
.menu-cat-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}
.menu-cat-name { color: var(--accent-2); font-size: 1.15rem; font-family: "Fraunces", serif; font-style: italic; }
.menu-cat-line { flex: 1; height: 1px; background: var(--border); }

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
  cursor: pointer;
  transition:
    border-color 0.35s ease,
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-row:hover,
.menu-row:focus-visible { border-color: var(--accent); padding-left: 0.75rem; }
.menu-row .title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.35s ease, text-shadow 0.5s ease;
}
.menu-row:hover .title,
.menu-row:focus-visible .title {
  color: var(--accent-2);
  text-shadow: 0 0 24px rgba(224, 122, 60, 0.55);
}
.menu-row .desc {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 32rem;
}
.menu-row .price-block {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--sesame);
  font-size: 1.5rem;
}
.menu-row .price-curr {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  font-style: normal;
}

.menu-preview { position: relative; }
@media (min-width: 1024px) {
  .menu-preview { position: sticky; top: 7rem; align-self: start; }
}
.preview-frame {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-3);
}
.preview-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(221,184,140,0.18);
  pointer-events: none;
}
.preview-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: previewFade 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes previewFade {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.preview-meta {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  color: #fff;
}
.preview-name {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.preview-price {
  font-style: italic;
  color: #DDB88C;
  font-size: 1.25rem;
  font-family: "Fraunces", serif;
}

/* ============================================================
   EXPERIENCE (marquee + parallax)
   ============================================================ */

.experience { position: relative; overflow: hidden; }
.marquee-container {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 1.5rem 0;
}
.marquee {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}
.marquee .glyph { color: var(--accent-2); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.experience-hero {
  position: relative;
  height: 80vh;
  min-height: 520px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .experience-hero { height: 100vh; }
}
.experience-bg {
  position: absolute;
  inset: -12%;
  background-image: url("images/preparanodcemita1.png");
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.experience-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26,17,13,0.85) 0%, rgba(0,0,0,0.35) 45%, rgba(10,9,8,0.95) 100%);
}
.experience-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  padding: 8rem 0;
  background: var(--bg);
}
@media (min-width: 768px) {
  .testimonials { padding: 11rem 0; }
}
.testimonials-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 4rem;
}
@media (min-width: 1024px) {
  .testimonials-head { grid-template-columns: 8fr 4fr; }
  .testimonials-rating { justify-self: end; }
}
.testimonials-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 2rem 2.5rem;
  overflow: hidden;
  transition: border-color 0.5s ease;
}
.testimonial:hover { border-color: var(--accent); }
.testimonial::before {
  content: "“";
  position: absolute;
  top: -2.5rem;
  left: -0.5rem;
  font-family: "Fraunces", serif;
  font-size: 9rem;
  color: var(--accent);
  opacity: 0.15;
  transition: opacity 0.7s ease;
}
.testimonial:hover::before { opacity: 0.35; }
.testimonial-stars {
  color: var(--accent-2);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.testimonial-quote {
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.testimonial-cite {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #f4efe6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.05em;
}
.testimonial-author {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}
.testimonial-origin {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   CULTURE
   ============================================================ */

.culture {
  position: relative;
  padding: 8rem 0;
  background: var(--bg-2);
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) {
  .culture { padding: 11rem 0; }
}
.culture-bg {
  position: absolute;
  inset: -10%;
  background-image: url("https://static.prod-images.emergentagent.com/jobs/8b62080a-4d3d-44df-a79f-120a8d1fd94f/images/9e3761ca1efcc801acc760a46e26acdbf78e60010241a446d4f07a0ef3d88a8f.png");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  will-change: transform;
}
.culture-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-2) 0%, rgba(26,17,13,0.7) 50%, var(--bg) 100%);
}
.culture-content { position: relative; }
.vertical-line {
  margin: 4rem auto 0;
  width: 1px;
  height: 6rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery {
  padding: 8rem 0;
  background: var(--bg);
}
@media (min-width: 768px) {
  .gallery { padding: 11rem 0; }
}
.gallery-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (min-width: 1024px) {
  .gallery-head { grid-template-columns: 8fr 4fr; margin-bottom: 4rem; }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.05);
  transition:
    filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img {
  filter: grayscale(0) contrast(1.1);
  transform: scale(1.06);
}
.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
  color: #f4efe6;
}
.gallery-item .caption-label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.gallery-item .caption-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--accent-2);
}

/* ============================================================
   LOCATION
   ============================================================ */

.location {
  padding: 8rem 0;
  background: var(--bg-2);
}
@media (min-width: 768px) {
  .location { padding: 11rem 0; }
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .location-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.info-blocks {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.info-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.info-block .icon {
  font-size: 1.15rem;
  color: var(--accent-2);
  margin-top: 0.25rem;
  transition: color 0.3s ease;
}
.info-block.link { transition: opacity 0.3s ease; }
.info-block.link:hover .icon { color: var(--text); }
.info-block.link:hover .info-value { color: var(--accent-2); }
.info-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.info-value {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-style: italic;
  transition: color 0.3s ease;
}
.location-cta { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.map-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-3);
}
@media (min-width: 768px) {
  .map-card { aspect-ratio: 5/4; }
}
.map-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(221,184,140,0.18);
  pointer-events: none;
}
.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: var(--map-filter);
  transition: filter 0.6s ease;
}
.map-card:hover iframe { filter: var(--map-filter-hover); }
.map-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: #f4efe6;
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  position: relative;
  background: #000;
  overflow: hidden;
  padding-top: 7rem;
}
@media (min-width: 768px) {
  .footer { padding-top: 9rem; }
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(124,27,17,0.2), #000 60%, #000 100%);
}
.footer-inner {
  position: relative;
  text-align: center;
  padding-bottom: 2.5rem;
}
.footer-headline {
  display: flex;
  flex-direction: column;
}
.footer-line {
  font-size: clamp(3rem, 7vw, 8rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: #f4efe6;
}
.footer-line.accent { color: var(--accent-2); }
.footer-cta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.footer-bottom {
  margin-top: 6rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}
.footer-bottom .serif-italic { text-transform: none; letter-spacing: 0; font-size: 0.9rem; }

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.35s ease both;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  animation: zoomIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #f4efe6;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.lightbox-close:hover { color: var(--accent-2); }
.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--sesame);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-hover); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg-2); }

::selection { background: var(--accent); color: #f4efe6; }

/* ============================================================
   LENIS
   ============================================================ */

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
