/* PIZZAS Y OTRAS MASAS - BADALONI */

.pizzas-hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
}

.pizzas-hero > img {
  width: 100%;
  height: 570px;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(20, 13, 6, .88) 0%,
      rgba(20, 13, 6, .65) 35%,
      rgba(20, 13, 6, .12) 70%,
      rgba(20, 13, 6, .04) 100%);
}

.pizzas-hero .hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(5vw, 44px);
  width: min(480px, 86vw);
  transform: translateY(-50%);
  color: #fff;
}

.pizzas-hero h1 {
  margin: 8px 0 20px;
  color: #fff;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: .94;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0,0,0,.36);
}

.pizzas-hero .lead {
  max-width: 470px;
  margin: 0;
  color: rgba(255,255,255,.94);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 14px 24px;
  border: 2px solid #d1ab4d;
  border-radius: 999px;
  background: #174d31;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  transition: .22s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  background: #1e6540;
  box-shadow: 0 17px 38px rgba(0,0,0,.33);
}

.section-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1050px;
  margin: 28px auto 0;
  padding: 0 18px;
}

.section-index a {
  padding: 11px 18px;
  border: 1px solid rgba(49,92,66,.35);
  border-radius: 999px;
  background: #fff8dc;
  color: #315c42;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 7px 19px rgba(67,45,14,.07);
  transition: .2s ease;
}

.section-index a:hover {
  transform: translateY(-2px);
  background: #315c42;
  color: #fff;
}

.pizzas-section {
  padding-top: 54px;
}

.product-family {
  scroll-margin-top: 100px;
  max-width: 1160px;
  margin: 0 auto 86px;
}

.family-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.family-heading .eyebrow {
  margin: 0 0 7px;
  color: #9e1d24;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.family-heading h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 12px;
  color: #173e2a;
  font-size: clamp(34px, 4.4vw, 55px);
  line-height: 1.04;
}

.family-heading h2::before,
.family-heading h2::after {
  content: "";
  position: absolute;
  top: 53%;
  width: 72px;
  height: 1px;
  background: #c59d3d;
}

.family-heading h2::before {
  right: calc(100% + 22px);
}

.family-heading h2::after {
  left: calc(100% + 22px);
}

.family-heading > p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: #6c604f;
  line-height: 1.6;
}

.pizzas-grid {
  display: grid;
  gap: 28px;
}

.pizzas-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pizzas-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 830px;
  margin: 0 auto;
}

.integral-family,
.other-family {
  padding: 52px clamp(18px, 4vw, 52px);
  border-radius: 32px;
}

.integral-family {
  background:
    radial-gradient(circle at 15% 20%, rgba(183,194,105,.25), transparent 24%),
    radial-gradient(circle at 88% 75%, rgba(183,194,105,.22), transparent 25%),
    linear-gradient(135deg, #fffdf0, #edf1cf);
  border: 1px solid rgba(116,127,56,.25);
}

.other-family {
  background: linear-gradient(145deg, #fffdf7, #f4efe4);
  border: 1px solid rgba(99,72,34,.12);
}

.pizza-card {
  --accent: #315c42;
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 4px solid #315c42;
  border-radius: 24px;
  box-shadow:
    0 12px 31px rgba(74,51,17,.12),
    0 0 26px color-mix(in srgb, var(--accent) 17%, transparent);
  transition: transform .24s ease, box-shadow .24s ease;
}

.pizza-card::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 7px;
  border: 2px solid #c9a24f;
  border-radius: 16px;
  pointer-events: none;
}

.pizza-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 22px 49px rgba(74,51,17,.18),
    0 0 37px color-mix(in srgb, var(--accent) 25%, transparent);
}

.pizza-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee9df;
}

.pizza-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.pizza-card:hover .pizza-image img {
  transform: scale(1.045);
}

.pizza-body {
  min-height: 176px;
  padding: 24px 25px 29px;
  background: #fffdf8;
}

.pizza-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, white);
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pizza-body h3 {
  margin: 0 0 9px;
  color: #292013;
  font-size: 25px;
  line-height: 1.08;
}

.pizza-body p {
  margin: 0;
  color: #685c4b;
  line-height: 1.55;
}

.accent-red   { --accent: #9e1d24; }
.accent-amber { --accent: #bf7429; }
.accent-gold  { --accent: #b18a35; }
.accent-olive { --accent: #778448; }
.accent-brown { --accent: #795a39; }
.accent-green { --accent: #4f7546; }

.quality-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto 48px;
  border: 1px solid rgba(49,92,66,.22);
  border-radius: 22px;
  background: rgba(49,92,66,.22);
}

.quality-strip div {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  background: #f5e6aa;
}

.quality-strip strong {
  color: #315c42;
  font-size: 15px;
}

.quality-strip span {
  margin-top: 5px;
  color: #6d5d42;
  font-size: 13px;
  line-height: 1.4;
}

.category-nav .current {
  border-color: #315c42;
  background: #315c42;
  color: #fff;
}

.pizzas-cta {
  margin-top: 42px;
}

@media (max-width: 1050px) {
  .pizzas-grid-four {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .pizzas-hero,
  .pizzas-hero > img {
    min-height: 520px;
    height: 520px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(20,13,6,.85),
      rgba(20,13,6,.60)
    );
  }

  .pizzas-grid-two,
  .pizzas-grid-four {
    grid-template-columns: 1fr;
    max-width: 570px;
    margin-inline: auto;
  }

  .integral-family,
  .other-family {
    padding: 38px 16px;
    border-radius: 23px;
  }

  .quality-strip {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .family-heading h2::before,
  .family-heading h2::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .pizzas-hero .hero-content {
    left: 24px;
    width: calc(100% - 48px);
  }

  .pizzas-hero h1 {
    font-size: 49px;
  }

  .pizzas-hero .lead {
    font-size: 17px;
  }

  .hero-btn {
    width: 100%;
    max-width: 290px;
  }

  .pizzas-section {
    padding-top: 38px;
  }

  .product-family {
    margin-bottom: 62px;
  }

  .pizza-body {
    min-height: 0;
  }

  .quality-strip {
    grid-template-columns: 1fr;
  }

  .quality-strip div {
    min-height: 86px;
  }
}
