:root {
  --ink: #251f1b;
  --muted: #70645b;
  --paper: #fff8ec;
  --soft: #f2dfc4;
  --cream: #fffdf8;
  --red: #b62f24;
  --red-dark: #84251f;
  --leaf: #3f6f3f;
  --gold: #f0b740;
  --line: rgba(37, 31, 27, 0.12);
  --shadow: 0 22px 60px rgba(58, 28, 19, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--cream);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 248, 236, 0.95);
  box-shadow: 0 12px 36px rgba(58, 28, 19, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.92;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 144px clamp(20px, 5vw, 72px) 72px;
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 23, 18, 0.86), rgba(37, 23, 18, 0.46) 52%, rgba(37, 23, 18, 0.14)),
    url("assets/hero-polleria.png") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.promo .eyebrow,
.final-cta .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7.4vw, 7rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4.1rem);
  font-weight: 500;
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  width: min(620px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--cream);
  background: var(--red);
}

.button.secondary {
  color: var(--cream);
  border: 1px solid rgba(255, 253, 248, 0.75);
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (min-width: 861px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .section-heading p:not(.eyebrow) {
    max-width: 880px;
    text-align: left;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cooked-heading {
  margin-top: 58px;
}

.cooked-grid .product-card {
  background: #fffaf1;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card.image-failed::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 74% 20%, rgba(240, 183, 64, 0.35), transparent 28%),
    linear-gradient(135deg, rgba(182, 47, 36, 0.2), rgba(63, 111, 63, 0.18)),
    var(--soft);
}

.product-card img.is-hidden {
  display: none;
}

.product-card div {
  padding: 24px;
}

.product-category {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.benefit {
  min-height: 260px;
  padding: 34px;
  background: var(--soft);
}

.benefit span {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--red);
  font-weight: 950;
}

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

.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(20px, 5vw, 72px);
  padding: clamp(32px, 5vw, 58px);
  border-radius: var(--radius);
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(37, 31, 27, 0.9), rgba(37, 31, 27, 0.58)),
    url("assets/combo-parrilla.png") center / cover;
}

.promo h2 {
  max-width: 740px;
}

.promo p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.88);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 0.85fr;
  grid-template-areas:
    "cooked grill tall"
    "milanesas fresh tall";
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.gallery-fresh {
  grid-area: fresh;
}

.gallery-cooked {
  grid-area: cooked;
}

.gallery-tall {
  grid-area: tall;
}

.gallery-milanesas {
  grid-area: milanesas;
}

.gallery-grill {
  grid-area: grill;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  background: var(--cream);
}

.location p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.text-link {
  display: inline-flex;
  color: var(--red);
  font-weight: 850;
  border-bottom: 2px solid currentColor;
}

.info-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.info-card div {
  display: grid;
  gap: 6px;
  padding: 28px;
  background: var(--paper);
}

.info-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-card strong {
  font-size: clamp(1.22rem, 2.4vw, 1.7rem);
  line-height: 1.1;
}

.map-card {
  grid-column: 1 / -1;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.final-cta {
  padding: 100px clamp(20px, 5vw, 72px);
  text-align: center;
  color: var(--cream);
  background: var(--red-dark);
}

.final-cta h2,
.final-cta p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.84);
  font-size: 1.08rem;
}

.final-cta .button {
  margin-top: 16px;
  color: var(--ink);
  background: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 20;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--cream);
  background: #25d366;
  box-shadow: 0 14px 38px rgba(21, 94, 43, 0.34);
  transition: transform 160ms ease, background 160ms ease;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow);
    color: var(--ink);
    flex-direction: column;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 86vh;
  }

  .section-heading,
  .product-grid,
  .benefits,
  .promo,
  .location {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow {
    margin-bottom: -8px;
  }

  .benefits {
    gap: 12px;
  }

  .benefit {
    min-height: auto;
  }

  .benefit span {
    margin-bottom: 28px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "cooked grill"
      "milanesas tall"
      "fresh tall";
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    max-width: 150px;
    line-height: 1.05;
  }

  .hero {
    min-height: 82vh;
    padding: 116px 20px 44px;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(37, 23, 18, 0.88), rgba(37, 23, 18, 0.22)),
      url("assets/hero-polleria.png") center / cover;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .section {
    padding: 64px 20px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .promo {
    margin: 0 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cooked"
      "milanesas"
      "grill"
      "fresh"
      "tall";
    grid-auto-rows: 260px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}
