:root {
  --bg: #000000;
  --surface: #ffffff;
  --surface-soft: #f6f6f6;
  --ink: #111111;
  --muted: #5e5e5e;
  --accent: #ff0000;
  --line: #e3e3e3;
  --max: 1200px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Avenir Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

a {
  color: inherit;
}

.site-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--bg);
}

.site-header,
.site-footer {
  background: #000000;
}

.header-stripe,
.footer-stripe {
  height: 20px;
  background: var(--accent);
}

.header-inner,
.footer-inner,
.hero-banner,
.about-section,
.cta-section,
.platillos-grid,
.contact-section {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 0 12px;
}

.brand-logo {
  width: min(408px, 92vw);
}

.brand-logo img {
  width: 100%;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a,
.footer-inner a,
.footer-inner p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.home-main {
  background: #000000;
}

.hero-banner {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}

.hero-slide {
  position: relative;
  min-height: 220px;
  border-radius: 10px;
  overflow: hidden;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-slide-a::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18)),
    url("/gallery_gen/e3b20a90cf8008f3720ed5ce9636c0ab_1632x680.png") center center / cover no-repeat;
}

.hero-slide-b::before,
.hero-slide-c::before {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 35%),
    linear-gradient(135deg, #111111, #2d0000);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  align-content: end;
  height: 100%;
  padding: 22px;
  color: #ffffff;
}

.hero-kicker,
.contact-section > h2,
.about-panel h2,
.cta-center h2,
.platillo-card h3,
.contact-form label span,
.contact-item strong,
.pill-button,
.panel-title {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.hero-kicker {
  margin: 0;
  color: #ffb7b7;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.02;
}

.about-section {
  display: grid;
  gap: 24px;
  padding: 30px 0 20px;
  background: #ffffff;
}

.about-panel {
  padding: 18px 18px 0;
}

.about-panel h2,
.contact-section > h2 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  text-align: center;
}

.about-panel p {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1rem;
  text-align: justify;
}

.about-gallery {
  display: grid;
  gap: 14px;
  padding: 0 10px 16px;
}

.gallery-card {
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: var(--shadow);
}

.gallery-card img,
.gallery-card-large img,
.contact-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-large {
  min-height: 260px;
}

.gallery-card-dark {
  background: #050505;
  padding: 20px;
}

.gallery-thumbs {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-section {
  display: grid;
  gap: 22px;
  align-items: center;
  justify-items: center;
  padding: 18px 0 34px;
  background: #ffffff;
}

.pill-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 190px;
  min-height: 40px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.pill-button:hover {
  background: #ffffff;
  color: #000000;
  text-decoration: underline;
}

.cta-center {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.cta-figure {
  width: min(290px, 78vw);
  height: min(209px, 52vw);
  overflow: hidden;
}

.cta-center h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
}

.platillos-grid {
  display: grid;
  gap: 28px;
  padding: 20px 0 40px;
  background: #ffffff;
}

.platillo-card {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.platillo-visual {
  width: min(310px, 82vw);
  height: min(230px, 58vw);
  overflow: hidden;
}

.platillo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.platillo-card h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111111;
  text-align: center;
}

.parallax-band {
  width: 100%;
  min-height: 280px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.12)),
    #111111;
}

.parallax-logo {
  display: grid;
  place-items: center;
  min-height: 280px;
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
}

.parallax-logo img {
  width: min(520px, 85vw);
}

.contact-section {
  padding: 38px 0 40px;
  background: #ffffff;
}

.contact-layout {
  display: grid;
  gap: 24px;
}

.contact-details,
.contact-gallery,
.contact-map,
.contact-form,
.product-card,
.menu-card,
.menu-hero {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-details,
.contact-form {
  padding: 20px;
}

.contact-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-item strong,
.contact-form label span {
  display: block;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
}

.contact-item p {
  margin: 4px 0 0;
}

.contact-item a {
  text-decoration: none;
}

.contact-icon {
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 1;
  text-align: center;
}

.contact-gallery {
  padding: 14px;
}

.contact-gallery-main {
  min-height: 240px;
  margin-bottom: 14px;
}

.contact-gallery-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  background: #ffffff;
  padding: 10px 12px;
  font: inherit;
}

.site-footer {
  padding-bottom: 18px;
}

.footer-inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 18px 0 0;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.subpage-main {
  background: #ffffff;
  padding: 18px 0 34px;
}

.menu-header {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 0 18px;
  background: #000000;
}

.brand {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-actions a,
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-actions a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.menu-hero,
.menu-card,
.product-card {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
}

.menu-hero {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
}

.menu-hero-copy h1,
.product-card h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-hero .lede,
.menu-hero .pill {
  color: #f0f0f0;
}

.store-hero {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(55, 0, 0, 0.72)),
    #111111;
}

.panel {
  padding: 22px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 12px;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.panel-dark {
  background:
    linear-gradient(180deg, rgba(255, 0, 0, 0.08), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 14px 0 0;
}

.contact-list dt {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list dd {
  margin: 4px 0 0;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent);
}

.product-page-layout {
  align-items: start;
}

.legal-layout {
  align-items: start;
}

.menu-hero-art,
.product-photo {
  display: grid;
  place-items: center;
  min-height: 180px;
  background: #050505;
}

.menu-layout,
.story-grid,
.product-layout {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
  display: grid;
  gap: 20px;
  padding: 22px 0;
}

.menu-card,
.product-card {
  padding: 22px;
  border-radius: 12px;
}

.menu-card h2,
.menu-card h3,
.product-card h1 {
  font-family: Georgia, "Times New Roman", serif;
}

.menu-card-art {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-bottom: 18px;
  background: var(--surface-soft);
}

.menu-utility {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.pill,
.price-tag,
.product-price {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f1f1;
  font-weight: 700;
}

.price-tag,
.product-price {
  background: var(--accent);
  color: #ffffff;
}

.menu-list,
.product-facts {
  margin: 18px 0 0;
  padding-left: 18px;
}

.footer {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 10px 0 16px;
  }

  .hero-banner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .hero-slide {
    min-height: 500px;
  }

  .hero-slide-b,
  .hero-slide-c {
    min-height: 500px;
  }

  .about-section {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
    padding: 40px 0 28px;
  }

  .cta-section {
    grid-template-columns: 230px 1fr 230px;
    padding: 10px 0 40px;
  }

  .platillos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "left center right"
      ". bottom-left ."
      ". bottom-right .";
    align-items: start;
  }

  .platillo-card-left { grid-area: left; }
  .platillo-card-center { grid-area: center; }
  .platillo-card-right { grid-area: right; }
  .platillo-card-bottom-left { grid-area: bottom-left; }
  .platillo-card-bottom-right { grid-area: bottom-right; }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "details gallery"
      "map form";
  }

  .contact-details { grid-area: details; }
  .contact-gallery { grid-area: gallery; }
  .contact-map { grid-area: map; }
  .contact-form { grid-area: form; }

  .menu-header {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-hero,
  .menu-layout,
  .story-grid,
  .product-layout,
  .footer {
    width: min(calc(100% - 48px), var(--max));
  }

  .menu-hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .menu-layout,
  .product-layout,
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .footer-facebook {
    justify-self: start;
  }

  .footer-privacy {
    justify-self: end;
  }
}

@media (min-width: 1200px) {
  .hero-slide {
    min-height: 600px;
  }

  .hero-copy {
    padding: 42px;
  }

  .hero-copy h1 {
    font-size: 4.2rem;
  }

  .contact-gallery-main {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
