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

:root {
  --verde-bosque: #0e5a4a;
  --crema: #f2e8d5;
  --hueso: #faf8f2;
  --rojo-tomate: #d93a3a;
  --verde-oscuro: #0e4032;
  --negro-fondo: #0c0c0c;
}

html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--hueso);
}

/* ── Grain overlay (shared) ─────────────────────────── */

.page-hero,
.page-menu {
  position: relative;
}

.page-hero::after,
.page-menu::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

/* ── Full-screen pages ─────────────────────────────── */

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 0.5rem;
  scroll-snap-align: start;
}

.page-hero {
  background-color: var(--verde-oscuro);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(14, 90, 74, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 62%, rgba(0, 0, 0, 0.28) 0%, transparent 44%),
    linear-gradient(
      180deg,
      var(--negro-fondo) 0%,
      #0a2e24 48%,
      var(--verde-oscuro) 78%,
      var(--verde-oscuro) 100%
    );
  padding-bottom: 0;
}

.page-menu {
  background-color: var(--verde-oscuro);
  background-image:
    radial-gradient(ellipse at 78% 48%, rgba(14, 90, 74, 0.15) 0%, transparent 58%),
    radial-gradient(ellipse at 82% 92%, rgba(0, 0, 0, 0.18) 0%, transparent 52%);
  margin-top: -1px;
  padding-top: 0;
  align-items: stretch;
  justify-content: flex-start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ── Hero entrance animation ─────────────────────────── */

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  opacity: 0;
  animation: hero-rise 0.65s ease forwards;
  animation-delay: calc(var(--d, 0) * 0.1s + 0.15s);
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate {
    opacity: 1;
    animation: none;
  }
}

/* ── Hero ──────────────────────────────────────────── */

.hero-brand {
  margin-bottom: 1.25rem;
}

.logo-img {
  max-width: 240px;
  width: 100%;
  height: auto;
  margin-bottom: 0.35rem;
}

.tagline {
  font-size: 1.2rem;
  color: var(--hueso);
  font-style: italic;
  letter-spacing: 0.06em;
  font-family: Georgia, serif;
  opacity: 0.9;
}

.info-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.75rem;
  align-items: start;
  width: 100%;
  max-width: 480px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  background: rgba(250, 248, 242, 0.05);
  border: 1px solid rgba(250, 248, 242, 0.14);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.info-block {
  text-align: center;
}

.info-label {
  display: block;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(217, 58, 58, 0.8);
  margin-bottom: 0.6rem;
}

.info-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--hueso);
}

.info-value--alt {
  margin-top: 0.85rem;
}

.info-detail {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  color: rgba(250, 248, 242, 0.65);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

.info-sep {
  width: 1px;
  align-self: stretch;
  min-height: 4rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(250, 248, 242, 0.18) 30%,
    rgba(250, 248, 242, 0.18) 70%,
    transparent 100%
  );
}

.info-tags {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--hueso);
  background: rgba(250, 248, 242, 0.07);
  border: 1px solid rgba(250, 248, 242, 0.22);
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-menu .container,
.menu-content {
  max-width: 960px;
  padding-top: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  color: rgba(250, 248, 242, 0.45);
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.scroll-hint svg {
  animation: hint-bob 2s ease-in-out infinite;
}

.scroll-hint:hover {
  color: rgba(250, 248, 242, 0.75);
}

@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint svg {
    animation: none;
  }
}

/* ── Actions ───────────────────────────────────────── */

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--hueso);
  color: var(--verde-bosque);
}

.btn-primary:hover {
  background: var(--crema);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1da851;
}

.btn-outline {
  background: transparent;
  color: var(--hueso);
  border: 1.5px solid var(--hueso);
}

.btn-outline:hover {
  background: var(--crema);
  color: var(--verde-bosque);
  border-color: var(--crema);
}

/* ── Menu section ──────────────────────────────────── */

.section-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.85;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.section-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: rgba(217, 58, 58, 0.5);
  margin: 0.75rem auto 0;
}

.menu-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
}

.menu-card {
  flex: 1;
  min-width: 0;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s ease;
  background: var(--crema);
  padding: 4px;
  border-radius: 12px;
}

.menu-card.visible {
  opacity: 1;
  transform: scale(1);
}

.menu-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  border: 1px solid rgba(250, 248, 242, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ── Footer (fin de placa menú) ─────────────────────── */

.footer {
  margin-top: auto;
  padding: 0.85rem 0 calc(0.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(250, 248, 242, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(250, 248, 242, 0.35);
  border-radius: 50%;
  transition: border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
  border-color: var(--hueso);
  background: rgba(250, 248, 242, 0.06);
}

.footer-copy {
  font-size: 0.65rem;
  color: rgba(250, 248, 242, 0.45);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Mobile ─────────────────────────────────────────── */

@media (max-width: 767px) {
  .page-hero {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.6rem 1.25rem 0;
  }

  .logo-img {
    max-width: min(260px, 78vw);
    margin-bottom: 0.35rem;
  }

  .info-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem 1.35rem;
    max-width: 100%;
  }

  .info-sep {
    width: 100%;
    height: 1px;
    min-height: unset;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(250, 248, 242, 0.18) 30%,
      rgba(250, 248, 242, 0.18) 70%,
      transparent 100%
    );
  }

  .info-value {
    font-size: 1.05rem;
  }

  .scroll-hint {
    margin-top: 1rem;
  }

  .page-menu {
    padding: 0 1.25rem 0.35rem;
  }

  .page-menu .container {
    max-width: 100%;
    padding-top: 0.75rem;
  }

  .menu-grid {
    flex-direction: column;
    gap: 0.35rem;
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }

  .section-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .menu-card {
    width: 100%;
    padding: 2px;
    border-radius: 4px;
  }

  .menu-img {
    border-radius: 2px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
}
