/* Torete Beef v4 — La mesa prende */
:root {
  --verde: #1A2B22;
  --crema: #F3EEE4;
  --carbon: #141412;
  --terracota: #C45C2A;
  --tierra: #8A7A66;
  --white: #FFFFFF;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 5px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  color: var(--carbon);
  background: var(--crema);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 3px;
}

.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;
}

/* Type */
.display {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

.script {
  font-family: "Caveat", cursive;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tierra);
}

/* Layout helpers */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn:active { transform: translateY(1px); }

.btn-fill {
  background: var(--terracota);
  color: var(--white);
  border-color: var(--terracota);
}
.btn-fill:hover { background: #a84c22; border-color: #a84c22; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--crema);
  border-color: rgba(243,238,228,0.45);
}
.btn-outline-dark:hover {
  border-color: var(--crema);
  background: rgba(243,238,228,0.08);
}

.btn-fill-light {
  background: var(--crema);
  color: var(--verde);
  border-color: var(--crema);
}
.btn-fill-light:hover { background: var(--white); }

/* Icons */
.icon {
  width: 18px;
  height: 18px;
  max-width: 18px;
  flex-shrink: 0;
  display: block;
}
.icon-lg { width: 28px; height: 28px; max-width: 28px; }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.solid {
  background: rgba(26, 43, 34, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav a:hover { color: var(--white); }

.nav-ig {
  display: inline-flex;
  opacity: 0.9;
}
.nav-ig:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  place-items: center;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; width: 20px; height: 1.5px;
  background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 720px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(26, 43, 34, 0.97);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,18,0.45) 0%, rgba(20,20,18,0.15) 35%, rgba(20,20,18,0.72) 70%, rgba(20,20,18,0.92) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
}

.hero-title {
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  max-width: 12ch;
  margin-bottom: 0.85rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 500;
  color: rgba(243,238,228,0.88);
  max-width: 28ch;
  margin-bottom: 1.75rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  font-size: 0.78rem;
  color: rgba(243,238,228,0.65);
  letter-spacing: 0.04em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.hero-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ========== CREAM BAND / CONCEPT ========== */
.band-concept {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: var(--crema);
  overflow: hidden;
  text-align: center;
}

.band-concept .display {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  color: var(--carbon);
  max-width: 14ch;
  margin: 0 auto 1rem;
}

.band-concept .whisper {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--terracota);
  margin-bottom: 1.5rem;
}

.band-concept .brand-line {
  max-width: 38ch;
  margin: 0 auto;
  color: var(--tierra);
  font-size: 1.02rem;
  font-weight: 500;
}

.bull-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 420px);
  height: auto;
  opacity: 0.045;
  pointer-events: none;
  color: var(--carbon);
}

/* ========== MOMENT BLOCKS ========== */
.moment {
  display: grid;
  min-height: clamp(420px, 70vw, 640px);
}

.moment-photo {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.moment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.moment-label {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(20,20,18,0.75));
  color: var(--white);
}

.moment-label .display {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  display: block;
  margin-bottom: 0.35rem;
}

.moment-label a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--terracota);
  padding-bottom: 2px;
  display: inline-block;
}
.moment-label a:hover { color: var(--white); }

@media (min-width: 860px) {
  .moment {
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 70vh;
  }
  .moment.reverse { grid-template-columns: 0.85fr 1.15fr; }
  .moment.reverse .moment-photo { order: 2; }
  .moment-photo { min-height: 100%; }
}

.moment-panel {
  background: var(--verde);
  color: var(--crema);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
}

.moment-panel .display {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
  max-width: 10ch;
}

.moment-panel p {
  color: rgba(243,238,228,0.72);
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 24ch;
  margin-bottom: 1.5rem;
}

.underline-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--terracota);
  padding-bottom: 2px;
  align-self: flex-start;
  color: var(--crema);
}
.underline-link:hover { color: var(--white); }

/* Full-bleed photo moment */
.moment-bleed {
  position: relative;
  min-height: clamp(480px, 85vh, 780px);
  overflow: hidden;
  color: var(--white);
}

.moment-bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.moment-bleed .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,43,34,0.82) 0%, rgba(26,43,34,0.35) 55%, transparent 100%);
}

.moment-bleed .content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
}

.moment-bleed .display {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  max-width: 8ch;
  margin-bottom: 0.75rem;
}

.moment-bleed .tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(243,238,228,0.85);
  max-width: 22ch;
  margin-bottom: 1.25rem;
}

/* ========== PLANES ========== */
.planes {
  background: var(--verde);
  color: var(--crema);
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.planes-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.planes-head .display {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  max-width: 12ch;
}

.planes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
}

@media (min-width: 800px) {
  .planes-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.plan-item {
  border-top: 1px solid rgba(243,238,228,0.18);
  padding-top: 1.25rem;
}

.plan-item svg {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  stroke: var(--crema);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}

.plan-item h3 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.plan-item p {
  font-size: 0.88rem;
  color: rgba(243,238,228,0.62);
  font-weight: 500;
  max-width: 16ch;
}

/* ========== MÁS SABOR ========== */
.mas-sabor {
  background: var(--crema);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.mas-sabor .section-label {
  margin-bottom: 1.5rem;
}

.mas-sabor .section-label .display {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--carbon);
}

.tiles {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  background: var(--carbon);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}

.tile:hover img { transform: scale(1.04); }

.tile-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(20,20,18,0.8));
  color: var(--white);
}

.tile-cap .display {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.tile-cap span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

/* ========== FACHADA ========== */
.lugar {
  position: relative;
  min-height: clamp(320px, 55vw, 520px);
  overflow: hidden;
  color: var(--white);
}

.lugar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lugar .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(20,20,18,0.75));
}

.lugar .content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 0;
}

.lugar .display {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 0.25rem;
}

.lugar p {
  font-size: 0.95rem;
  color: rgba(243,238,228,0.8);
  font-weight: 500;
}

/* ========== RESERVA ========== */
.reserva {
  background: var(--carbon);
  color: var(--crema);
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  text-align: center;
}

.reserva .display {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  margin-bottom: 0.75rem;
}

.reserva .lead {
  color: rgba(243,238,228,0.7);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.reserva .facts {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(243,238,228,0.55);
}

.reserva .facts a {
  color: rgba(243,238,228,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--verde);
  color: rgba(243,238,228,0.7);
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand .wordmark {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-addr {
  font-size: 0.82rem;
  max-width: 28ch;
  line-height: 1.5;
}

.footer-script {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243,238,228,0.12);
  font-size: 1.45rem;
  color: rgba(243,238,228,0.55);
}

/* Floating WA */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg {
  width: 26px;
  height: 26px;
  max-width: 26px;
  fill: #fff;
}

/* ========== MENU PAGE ========== */
.page-hero {
  background: var(--verde);
  color: var(--crema);
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
}

.page-hero .display {
  font-size: clamp(3rem, 9vw, 5.5rem);
}

.page-hero .note {
  margin-top: 0.75rem;
  color: rgba(243,238,228,0.65);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 42ch;
}

.menu-page {
  background: var(--crema);
  padding: 2rem 0 4rem;
  min-height: 60vh;
}

.chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.25rem;
  margin-bottom: 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.chip {
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(20,20,18,0.15);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--carbon);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: transparent;
}
.chip:hover,
.chip.is-active {
  background: var(--verde);
  color: var(--crema);
  border-color: var(--verde);
}

.menu-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.menu-section h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--carbon);
  margin-bottom: 0.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(196,92,42,0.45);
  display: inline-block;
}

.menu-section .sec-note {
  font-size: 0.85rem;
  color: var(--tierra);
  margin: 0.5rem 0 1rem;
  font-weight: 500;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(20,20,18,0.08);
}

.menu-item .name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--carbon);
}

.menu-item .price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--carbon);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-item .desc {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--tierra);
  max-width: 52ch;
}

.menu-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
  margin: 1.25rem 0 0.35rem;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(243,238,228,0.8);
  border-bottom: 1px solid var(--terracota);
  padding-bottom: 2px;
}
.pdf-link:hover { color: var(--white); }

/* ========== RESERVAS PAGE ========== */
.reservas-page {
  background: var(--crema);
  padding: 2.5rem 0 4.5rem;
  min-height: 60vh;
}

.form-card {
  max-width: 480px;
  margin: 0 auto;
}

.form-card .lead {
  color: var(--tierra);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tierra);
  margin-bottom: 0.4rem;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(20,20,18,0.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--carbon);
  transition: border-color 0.2s;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--terracota);
}

.form-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-actions .btn { width: 100%; }

.form-hint {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--tierra);
  text-align: center;
}

/* Utilities */
.mt-1 { margin-top: 0.5rem; }
.text-center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
