/* components.css — botones, cards, UI reutilizable */

/* --- HERO --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--nav-height) 0 0;
  background-color: var(--black);
  position: relative;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Degradado inferior que disuelve el hero en la promo */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent 0%, rgba(13,13,13,0.85) 55%, #0d0d0d 100%);
  z-index: 8;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0d0d0d;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
}

/* Overlay: oscurece el video y añade el tono rojo/fuego en la base */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.88) 100%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(200,25,10,0.42) 0%, transparent 65%);
  pointer-events: none;
}

.hero-fire-glow {
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(195,20,8,0.35) 0%, rgba(235,55,0,0.1) 48%, transparent 70%);
  filter: blur(55px);
  animation: heroFirePulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-smokes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.hero-smokes .smoke {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215,208,200,0.055) 0%, transparent 68%);
  filter: blur(26px);
  animation: heroSmokeRise linear infinite;
}

.hero-smokes .smoke:nth-child(1) { width:220px; height:220px; left:10%;  bottom:0%; animation-duration:14s; }
.hero-smokes .smoke:nth-child(2) { width:250px; height:250px; left:40%;  bottom:0%; animation-duration:17s; animation-delay:-6s; }
.hero-smokes .smoke:nth-child(3) { width:175px; height:175px; left:66%;  bottom:0%; animation-duration:12s; animation-delay:-9s; }
.hero-smokes .smoke:nth-child(4) { width:200px; height:200px; left:82%;  bottom:0%; animation-duration:19s; animation-delay:-3s; }

#hero-embers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 6% 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - var(--nav-height));
}

.hero-content,
.hero-scroll {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 100%;
  width: 100%;
}

#hero.hero-visible {
  animation: heroReveal 0.8s ease-out forwards;
  pointer-events: auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 auto 1.5rem;
  opacity: 0;
}

.hero-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}

#hero.hero-visible .hero-label {
  animation: heroFadeUp 0.7s cubic-bezier(0.19,1,0.22,1) 0.1s forwards;
}

.hero-brand {
  font-size: clamp(3.5rem, 18vw, 16rem);
  font-weight: 900;
  color: var(--white);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 0;
  text-shadow:
    0 0 140px rgba(227,27,27,0.28),
    0 8px 60px rgba(0,0,0,0.95);
  opacity: 0;
  width: 100%;
}

.hero-brand .brand-I {
  color: var(--red);
  font-size: 0.62em;
  vertical-align: 0.08em;
}

#hero.hero-visible .hero-brand {
  animation: heroFadeUp 1.1s cubic-bezier(0.19,1,0.22,1) 0.2s forwards;
}

.hero-divider-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.8rem auto 0.5rem;
  max-width: 560px;
}

.hero-divider-line {
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #e84020);
  flex-shrink: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-divider-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  opacity: 0;
}

#hero.hero-visible .hero-divider-line {
  animation: heroLineGrow 0.55s cubic-bezier(0.19,1,0.22,1) 0.85s forwards;
}

#hero.hero-visible .hero-divider-text {
  animation: heroFadeIn 0.5s ease 0.95s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0;
}

#hero.hero-visible .hero-buttons {
  animation: heroFadeUp 0.7s cubic-bezier(0.19,1,0.22,1) 1.1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0;
  font-size: 1.75rem;
  line-height: 1;
  user-select: none;
  z-index: 10;
}

#hero.hero-visible .hero-scroll {
  animation: heroScrollReveal 0.8s ease 1.8s forwards, scrollBounce 2.2s ease-in-out 2.6s infinite;
}

/* ─── BURGER VISUAL ─── */
/* ─── PROMO DEL DÍA ─── */
.promo-dia {
  background: #0d0d0d;
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Línea de fuego centrada como separador sutil */
.promo-dia::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(227,27,27,0.45), transparent);
  pointer-events: none;
}

.promo-dia::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(227,27,27,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 50%, rgba(227,27,27,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.promo-dia-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82vh;
  padding: 7rem 8%;
  max-width: 1440px;
  margin: 0 auto;
  gap: 0 5rem;
}

/* Scroll reveal */
.promo-anim {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-anim.promo-anim-in {
  opacity: 1;
  transform: none;
}

/* ── Info col ── */
.promo-info-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.promo-top-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.promo-eyebrow-tag {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
}

.promo-day-tag {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* Precio */
.promo-precio-bloque {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 2.5rem;
}

.promo-precio-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.promo-precio {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.promo-precio small {
  font-size: 0.35em;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.5;
  vertical-align: 0.28em;
  color: var(--red);
}

/* Características */
.promo-caract-bloque {
  margin-bottom: 2.5rem;
}

.promo-caract-titulo {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.promo-caract-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.promo-caract-list li {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  padding-left: 1.25rem;
  position: relative;
}

.promo-caract-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 1.5px;
  background: var(--red);
}

/* CTA */
.promo-btn {
  display: inline-block;
  align-self: center;
  padding: 0.88rem 2rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-bottom: 1.5rem;
  touch-action: manipulation;
  cursor: pointer;
}

.promo-btn:hover {
  opacity: 0.9;
  box-shadow: 0 0 32px rgba(227,27,27,0.45);
  transform: translateY(-2px);
}

.promo-validez {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ── Divisor vertical ── */
.promo-vline {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* ── Phone mockup ── */
.promo-phone-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 540px;
}

/* Teléfonos — posición absoluta dentro del col */
.promo-phone {
  position: absolute;
}

.promo-phone--front {
  width: 320px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 2;
  filter:
    drop-shadow(0 48px 88px rgba(0,0,0,0.78))
    drop-shadow(0 0 48px rgba(227,27,27,0.12));
}

.promo-phone--back {
  width: 275px;
  height: 505px;
  top: 50%;
  left: 50%;
  transform: translate(-25%, -52%) rotate(7deg);
  opacity: 0.44;
  filter: drop-shadow(0 22px 48px rgba(0,0,0,0.6));
  z-index: 1;
}

@keyframes promoPhoneFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg) translateY(0); }
  50%       { transform: translate(-50%, -50%) rotate(-4deg) translateY(-14px); }
}

.promo-phone-col.promo-anim-in .promo-phone--front {
  animation: promoPhoneFloat 5s ease-in-out 0.9s infinite;
}

.promo-phone-body {
  position: absolute;
  inset: 0;
  background: #1c1c1c;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.promo-phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 22px;
  background: #0d0d0d;
  border-radius: 0 0 16px 16px;
  z-index: 20;
}

.promo-phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #111;
}

.promo-phone-img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.promo-phone-card {
  background: #0d0d0d;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.promo-phone-card-tag {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.48rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}

.promo-phone-card-name {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.promo-phone-card-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 820px) {
  .hero-inner {
    padding: 0 6% 3.5rem;
  }
  .hero-brand {
    font-size: clamp(3rem, 15vw, 16rem);
  }
  .promo-dia-grid {
    grid-template-columns: 1fr;
    padding: 3rem 6%;
    min-height: auto;
    gap: 2.5rem 0;
  }
  .promo-vline {
    height: 1px;
    width: 100%;
    align-self: auto;
  }
  .promo-phone-col { justify-content: flex-start; }
  .promo-btn { align-self: stretch; text-align: center; }
}

/* --- BOTONES --- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: none;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.82;
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}


#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  background-image: url('');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.intro-logo {
  width: clamp(140px, 30vw, 320px);
  animation: introZoomFade 2.5s ease-out forwards;
}

#intro-screen.intro-hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}


.section-header-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-rule {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 0.75rem auto 0;
}

.review-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.review-text {
  color: #444;
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.review-name {
  display: block;
  color: #111;
  font-weight: 600;
  font-size: 0.92rem;
}

.review-role {
  display: block;
  color: #888;
  font-size: 0.78rem;
}

.review-location {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 500;
}

.review-ratings {
  font-size: 0.78rem;
  color: #666;
  border-top: 1px solid #f0f0f0;
  padding-top: 0.5rem;
}

/* ============================================
   RESERVAS
   ============================================ */
.booking-info {
  background: var(--red);
  color: var(--white);
  padding: 4.5rem 3.5rem;
}

.booking-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.booking-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.booking-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.88;
  margin-bottom: 2rem;
  max-width: 340px;
}

.booking-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.booking-contacts li {
  font-size: 0.9rem;
  opacity: 0.92;
}

.booking-hours {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 1.5rem;
}

.booking-hours h3 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.9rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.87rem;
  padding: 0.28rem 0;
  opacity: 0.88;
}

.booking-form-wrap {
  background: var(--white);
  color: var(--black);
  padding: 4.5rem 3.5rem;
}

.form-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-rule {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-bottom: 1.75rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: var(--black);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 88px;
}

.btn-full {
  width: 100%;
  padding: 0.85rem;
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .footer-logo {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand .footer-logo span {
  color: var(--red);
}

.footer-brand > p {
  font-size: 0.83rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
  max-width: 220px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}

.footer-social a:hover {
  opacity: 1;
  border-color: var(--red);
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  cursor: default;
  transition: color 0.2s;
}

.footer-col ul li:hover {
  color: var(--white);
}


.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 8%;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ============================================
   PAGE HERO — banner para páginas interiores
   ============================================ */
.page-hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.page-hero-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.page-hero-sub {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 1.25rem auto 0;
  max-width: 460px;
}

.menu-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}

.menu-rating-star {
  color: #ffb020;
  font-size: 0.95rem;
}

/* nav-active */
.nav-active {
  opacity: 1 !important;
  color: var(--red) !important;
}

/* ============================================
   MENU PAGE — acordeón de categorías y productos
   ============================================ */

/* --- Categoría (nivel 1) --- */
.menu-category-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 1.15rem 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-category-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.menu-category-toggle[aria-expanded="true"] .menu-category-chevron {
  transform: rotate(225deg);
}

.menu-category-body {
  contain: content;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-category-body.is-visible {
  opacity: 1;
  transform: none;
}

.menu-subcategory-title {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 1.5rem 0 1rem;
}

.menu-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* --- Producto (nivel 2) --- */
.menu-item {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-item.is-open {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(227,27,27,0.5), 0 6px 24px rgba(227,27,27,0.12);
}

.menu-item-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s;
}

.menu-item-thumb {
  display: block;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #1f1f1f;
}

.menu-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-item-toggle:hover,
.menu-item-toggle:focus-visible {
  background-color: rgba(255,255,255,0.03);
}

.menu-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

.menu-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.menu-item-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #ff6a3d;
}

.menu-item-badge-icon {
  display: inline-block;
  animation: flameFlicker 1.4s ease-in-out infinite;
}

@keyframes flameFlicker {
  0%, 100% { transform: scale(1) rotate(-3deg); opacity: 1; }
  50%       { transform: scale(1.18) rotate(3deg); opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-item-badge-icon { animation: none; }
}

.menu-item-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.menu-item-price-alt {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}

.menu-item-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.menu-item-toggle[aria-expanded="true"] .menu-item-chevron {
  transform: rotate(225deg);
}

.menu-item-panel {
  contain: content;
  padding: 0 1rem 1.1rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-item-panel.is-visible {
  opacity: 1;
  transform: none;
}

.menu-item-panel-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 0.85rem;
  background: #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
}

.menu-item-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}

.menu-item-panel-tagline {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
}

.menu-item-panel-tagline:empty {
  display: none;
}

.menu-item-panel-desc,
.menu-item-panel-variants {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .menu-item-panel:not([hidden]) {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .menu-item-panel-img {
    flex: 0 0 260px;
    margin-bottom: 0;
  }

  .menu-item-panel-content {
    flex: 1;
    min-width: 0;
  }
}

.menu-item-panel-desc:empty,
.menu-item-panel-variants:empty {
  display: none;
}

.menu-item-panel-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.menu-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}

.menu-item-chip-icon {
  font-size: 0.9rem;
  line-height: 1;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-group h3 {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.contact-group p,
.contact-group li {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
  list-style: none;
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 1px solid #e8e8e8;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}

/* footer links */
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

/* ============================================
   HISTORIA PAGE — layout tipo revista
   ============================================ */

.historia-page {
  background: #fff;
  color: #111;
  padding-top: var(--nav-height);
}

/* Encabezado de sección */
.historia-header {
  text-align: center;
  padding: 5rem 8% 4rem;
  border-bottom: 1px solid #e8e8e8;
  animation: fadeSlideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.historia-eyebrow-page {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
}

.historia-title-page {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.historia-title-rule {
  width: 42px;
  height: 3px;
  background: var(--red);
  margin: 0 auto;
}

/* Filas alternadas imagen + texto */
.historia-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
  border-bottom: 1px solid #e8e8e8;
  padding: 3rem 8%;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.historia-row.row-visible {
  opacity: 1;
  transform: none;
}

/* Fila impar: imagen izq, texto der — Fila par: texto izq, imagen der */
.historia-row--reverse .historia-col-img { order: 2; }
.historia-row--reverse .historia-col-text { order: 1; }

.historia-col-img {
  background: #ebebeb;
  overflow: hidden;
  border-radius: 6px;
  min-height: 240px;
}

.historia-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.historia-col-text {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.historia-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.historia-num-rule {
  width: 26px;
  height: 2.5px;
  background: var(--red);
  margin-bottom: 1rem;
}

.historia-section-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.historia-section-body {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.72;
  max-width: 360px;
}

/* Responsive */
@media (max-width: 768px) {
  .historia-row                          { grid-template-columns: 1fr; }
  .historia-row--reverse .historia-col-img  { order: -1; }
  .historia-row--reverse .historia-col-text { order: 1; }
  .historia-col-img                      { min-height: 200px; }
  .historia-col-text                     { padding: 0; }
  .historia-row                          { padding: 2rem 5%; gap: 1.5rem; }
}
