:root {
  --barro: #c75f35;
  --nopal: #3f6f58;
  --xoconostle: #6d0c2e;
  --chile: #9e3f2f;
  --maiz: #f2dfc0;
  --background: #fbf6ec;
  --surface: #ffffff;
  --ink: #2a1f18;
  --ink-soft: rgba(42, 31, 24, 0.66);
  --ink-faint: rgba(42, 31, 24, 0.46);
  --radius: 20px;
  --shadow: 0 24px 50px -28px rgba(42, 31, 24, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 0.5em;
  color: var(--xoconostle);
  line-height: 1.15;
}

p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nopal);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.eyebrow-light { color: rgba(255, 255, 255, 0.9); }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-title.center { text-align: center; }
.section-sub { color: var(--ink-soft); }
.section-sub.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--barro); color: #fff; }
.btn-primary:hover { background: var(--chile); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--xoconostle); border-color: rgba(109, 12, 46, 0.25); }
.btn-ghost:hover { border-color: var(--xoconostle); background: rgba(109, 12, 46, 0.06); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 31, 24, 0.08);
}
.header-row { display: flex; align-items: center; gap: 20px; padding: 12px 24px; }
.brand { background: none; border: none; padding: 0; cursor: pointer; line-height: 0; }
.brand-logo { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.main-nav button, .main-nav a {
  background: none; border: none; font: inherit; font-weight: 500;
  color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  letter-spacing: 0.02em;
}
.main-nav button:hover, .main-nav a:hover { color: var(--ink); background: rgba(42, 31, 24, 0.06); }
.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; }

/* Hero — full-bleed photo, Del Bosque-style */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 20, 14, 0.35) 0%, rgba(30, 15, 10, 0.35) 45%, rgba(20, 10, 8, 0.85) 100%);
}
.hero-content { position: relative; padding: 0 24px 76px; color: #fff; }
.hero-title {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  max-width: 16ch;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 40ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Section rhythm — same top/bottom padding everywhere for uniform gaps */
.temporada, .buffets, .nosotros, .reservacion, .contacto { padding: 88px 0; }

/* Temporada */
.temporada-body {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.temporada-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.temporada-copy p { font-size: 1.1rem; }
.temporada-note { color: var(--ink-faint); font-size: 0.94rem; }

/* Buffets */
.buffets { background: var(--surface); }
.buffet-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 44px;
}
.buffet-card {
  background: var(--background);
  border-radius: var(--radius);
  padding: 36px 32px;
  border-top: 4px solid var(--barro);
}
.buffet-time {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nopal);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.buffet-price { margin-top: 18px; font-size: 1.1rem; color: var(--ink-soft); }
.buffet-price span {
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  color: var(--xoconostle);
  margin-right: 6px;
}
.buffet-footnote { text-align: center; margin-top: 24px; margin-bottom: 0; color: var(--ink-faint); font-size: 0.9rem; }

/* Nosotros */
.nosotros-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.nosotros-mark { width: 150px; opacity: 0.92; }
.nosotros-copy { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }

/* Reservación */
.reservacion { background: var(--maiz); }
.reserva-form {
  max-width: 740px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid rgba(42, 31, 24, 0.15); background: var(--background); color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--barro); box-shadow: 0 0 0 3px rgba(199, 95, 53, 0.15);
}
.reserva-submit { grid-column: 1 / -1; margin-top: 4px; }

/* Contacto */
.contacto { background: var(--surface); }
.contacto-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contacto-list { list-style: none; margin: 22px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contacto-list a { color: var(--ink); text-decoration: none; }
.contacto-list a:hover { color: var(--barro); }
.contacto-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--xoconostle); color: rgba(255, 255, 255, 0.85); padding: 48px 0; }
.footer-row { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-logo { height: 46px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-address { font-size: 0.9rem; margin: 0; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.04em; }
.footer-social a:hover { color: #fff; }
.footer-copy { font-size: 0.8rem; opacity: 0.7; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .temporada-body { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .nosotros-grid { grid-template-columns: 1fr; text-align: center; }
  .nosotros-mark { margin: 0 auto; width: 110px; }
}

@media (max-width: 760px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--surface); padding: 10px 24px 18px;
    border-bottom: 1px solid rgba(42, 31, 24, 0.08); box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav button, .main-nav a { text-align: left; padding: 12px 10px; }
  .header-cta { display: none; }
  .reserva-form { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}
