:root {
  --green-dark: #173f35;
  --green: #2f6f5e;
  --green-soft: #dfece7;

  --cream: #f8f5ee;
  --white: #ffffff;

  --text: #222222;
  --text-soft: #656565;

  --border: #e4e4e4;

  --radius: 18px;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}


/* =========================
   BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;

  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  min-height: 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 135px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;

  color: #444;

  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--green);
}

.menu-btn {
  display: none;

  background: none;
  border: none;

  font-size: 28px;
  cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
  background:
    radial-gradient(circle at top right,
      rgba(47, 111, 94, 0.13),
      transparent 35%),
    var(--cream);

  padding: 70px 0 80px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;

  align-items: center;
}

.hero-tag,
.section-tag {
  display: inline-block;

  color: var(--green);
  font-size: 13px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 1.5px;

  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.04;

  color: var(--green-dark);

  max-width: 620px;

  letter-spacing: -1.2px;
}

.hero p {
  font-size: 18px;

  color: var(--text-soft);

  max-width: 600px;

  margin-top: 24px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 24px;

  border-radius: 12px;

  font-weight: 700;

  transition: 0.2s ease;
}

.btn-primary {
  background: var(--green-dark);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--green);
}

.btn-secondary {
  background: transparent;

  color: var(--green-dark);

  border: 1px solid rgba(23, 63, 53, 0.2);
}

.btn-secondary:hover {
  background: white;
}

/* =========================
   COMPOSICIÓN HERO PRODUCTOS
========================= */

/* =========================
   HERO PRODUCTOS PREMIUM
========================= */

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 500px;
}


/* BASE DE TODAS LAS FOTOS */

.hero-photo {
  position: absolute;
  overflow: hidden;

  border-radius: 26px;

  background: var(--cream);

  box-shadow:
    0 18px 45px rgba(23, 63, 53, 0.13);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


/* Eliminamos los bordes blancos gruesos */

.hero-photo:hover {
  transform: translateY(-4px);

  box-shadow:
    0 25px 55px rgba(23, 63, 53, 0.18);
}


.hero-photo img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  filter:
    saturate(0.92) contrast(0.98) brightness(1.04);
}


/* FOTO PRINCIPAL - TORTILLAS */

.hero-photo-main {
  width: 69%;
  height: 390px;

  left: 0;
  top: 55px;

  z-index: 1;

  border-radius: 30px;
}

.hero-photo-main img {
  object-position: center center;
}


/* NACHOS */

.hero-photo-top {
  width: 40%;
  height: 205px;

  right: 0;
  top: 0;

  z-index: 3;
}

.hero-photo-top img {
  object-position: center center;
}


/* TACO SHELL */

.hero-photo-bottom {
  width: 43%;
  height: 210px;

  right: 10px;
  bottom: 5px;

  z-index: 4;
}

.hero-photo-bottom img {
  object-position: center center;
}


/* SUAVIZAR LOS BORDES DE LAS FOTOS */

.hero-photo::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  border-radius: inherit;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 -30px 50px rgba(248, 245, 238, 0.10);
}


/* ETIQUETA */

.hero-product-label {
  position: absolute;

  left: 25px;
  bottom: 14px;

  z-index: 6;

  padding: 9px 17px;

  border-radius: 999px;

  background: rgba(248, 245, 238, 0.96);

  color: var(--green-dark);

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 0.3px;

  box-shadow:
    0 10px 28px rgba(23, 63, 53, 0.12);
}

/* =========================
   SECCIONES
========================= */

.section {
  padding: 90px 0;
}

.section-light {
  background: #fafafa;
}

.section-heading {
  max-width: 720px;

  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);

  line-height: 1.1;

  color: var(--green-dark);
}

.section-heading p {
  color: var(--text-soft);

  margin-top: 14px;

  font-size: 17px;
}


/* =========================
   PRODUCTOS
========================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}

.product-card {
  grid-column: span 2;
}

/* Centrar los dos últimos productos */
.product-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.product-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.product-card {
  overflow: hidden;

  background: white;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow);
}

.product-image {
  height: 240px;

  overflow: hidden;

  background: #f3f0e8;
}

.product-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.4s ease;
}


.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 23px;

  color: var(--green-dark);

  margin-bottom: 10px;
}

.product-info p {
  min-height: 78px;

  color: var(--text-soft);
}

.product-button {
  margin-top: 20px;

  border: none;
  background: none;

  color: var(--green);

  padding: 0;

  font-weight: 800;

  cursor: pointer;
}

.product-button:hover {
  text-decoration: underline;
}


/* =========================
   RECETAS
========================= */

.recipe-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 26px;
}

.recipe-card {
  overflow: hidden;

  background: white;

  border-radius: var(--radius);

  border: 1px solid var(--border);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.recipe-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow);
}

.recipe-image {
  height: 220px;

  overflow: hidden;

  background: #f1eadf;

  color: var(--green-dark);

  font-weight: 800;
}

.recipe-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transition: transform 0.35s ease;
}

.recipe-card:hover .recipe-image img {
  transform: scale(1.04);
}
.recipe-info {
  padding: 24px;
}

.recipe-info>span {
  color: var(--green);

  font-size: 13px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1px;
}

.recipe-info h3 {
  color: var(--green-dark);

  font-size: 23px;

  margin-top: 8px;
}

.recipe-info p {
  color: var(--text-soft);

  margin-top: 10px;
}

.recipe-button {
  margin-top: 18px;

  border: none;
  background: none;

  padding: 0;

  color: var(--green);

  font-weight: 800;

  cursor: pointer;
}

.recipe-button:hover {
  text-decoration: underline;
}


/* =========================
   NEGOCIOS
========================= */

.business-section {
  padding: 75px 0;

  background: var(--green-dark);

  color: white;
}

.business-content {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 50px;
}

.business-section .section-tag {
  color: #b9dccf;
}

.business-section h2 {
  max-width: 700px;

  font-size: clamp(30px, 4vw, 45px);

  line-height: 1.12;
}

.business-section p {
  max-width: 650px;

  margin-top: 15px;

  color: rgba(255, 255, 255, 0.78);
}

.business-section .btn-primary {
  background: white;

  color: var(--green-dark);

  flex-shrink: 0;
}

.business-section .btn-primary:hover {
  background: var(--cream);
}


/* =========================
   CONTACTO
========================= */

.contact-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.contact-card {
  display: flex;

  flex-direction: column;

  min-height: 145px;

  justify-content: center;

  padding: 25px;

  border: 1px solid var(--border);

  border-radius: var(--radius);

  background: white;

  transition: 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);

  border-color: var(--green);

  box-shadow: var(--shadow);
}

.contact-card strong {
  color: var(--green-dark);

  font-size: 20px;
}

.contact-card span {
  color: var(--text-soft);

  margin-top: 4px;
}


/* =========================
   FOOTER
========================= */

.footer {
  background: #102f28;

  color: rgba(255, 255, 255, 0.8);

  padding: 30px 0;

  text-align: center;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp-float {
  position: fixed;

  right: 22px;
  bottom: 22px;

  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 18px;

  border-radius: 999px;

  background: #1f8657;

  color: white;

  font-size: 14px;
  font-weight: 800;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);

  transition: 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

/* =========================
   FICHA INTERACTIVA DE PRODUCTO
========================= */

.product-modal {
  position: fixed;
  inset: 0;

  z-index: 2000;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 24px;
}

.product-modal.modal-open {
  display: flex;
}

.product-modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(15, 45, 36, 0.55);

  backdrop-filter: blur(4px);
}

.product-modal-content {
  position: relative;

  z-index: 1;

  width: min(920px, 100%);

  display: grid;

  grid-template-columns: 1fr 1.1fr;

  background: #ffffff;

  border-radius: 24px;

  overflow: hidden;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.22);
}

.product-modal-image {
  min-height: 500px;

  background: #f3f0e8;
}

.product-modal-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.product-modal-info {
  padding: 48px 42px;
}

.product-modal-tag {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--green);

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.product-modal-info h2 {
  margin: 0 0 18px;

  color: var(--green-dark);

  font-size: 38px;
  line-height: 1.1;
}

.product-modal-info > p {
  margin-bottom: 28px;

  color: var(--text-soft);

  line-height: 1.7;
}

.product-modal-section {
  margin-top: 24px;
}

.product-modal-section h3 {
  margin-bottom: 10px;

  color: var(--green-dark);
}

.product-modal-section ul {
  margin: 0;

  padding-left: 20px;
}

.product-modal-section li {
  margin-bottom: 6px;
}

.product-modal-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 32px;
}

.product-modal-close {
  position: absolute;

  top: 18px;
  right: 18px;

  z-index: 3;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: #ffffff;

  color: var(--green-dark);

  font-size: 20px;

  cursor: pointer;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.12);
}

body.modal-active {
  overflow: hidden;
}
/* =========================
   FICHA INTERACTIVA DE RECETA
========================= */

.recipe-modal {
  position: fixed;
  inset: 0;

  z-index: 2100;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 24px;
}

.recipe-modal.modal-open {
  display: flex;
}

.recipe-modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(15, 45, 36, 0.58);

  backdrop-filter: blur(4px);
}

.recipe-modal-content {
  position: relative;

  z-index: 1;

  width: min(760px, 100%);
  max-height: 90vh;

  overflow-y: auto;

  background: #ffffff;

  border-radius: 24px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.22);
}

.recipe-modal-info {
  padding: 48px 46px;
}

.recipe-modal-tag {
  display: inline-block;

  margin-bottom: 12px;

  color: var(--green);

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.recipe-modal-info h2 {
  margin: 0 0 18px;

  color: var(--green-dark);

  font-size: 38px;
  line-height: 1.1;
}

.recipe-modal-info > p {
  color: var(--text-soft);

  line-height: 1.7;

  margin-bottom: 26px;
}

.recipe-modal-section {
  margin-top: 28px;
}

.recipe-modal-section h3 {
  margin-bottom: 12px;

  color: var(--green-dark);

  font-size: 20px;
}

.recipe-modal-section p {
  color: var(--text-soft);
}

.recipe-modal-section ul,
.recipe-modal-section ol {
  padding-left: 22px;
}

.recipe-modal-section li {
  margin-bottom: 10px;

  line-height: 1.6;
}

.recipe-modal-close {
  position: absolute;

  top: 18px;
  right: 18px;

  z-index: 3;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: #ffffff;

  color: var(--green-dark);

  font-size: 20px;

  cursor: pointer;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.12);
}
/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding: 65px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-grid,
  .recipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card,
  .product-card:nth-child(4),
  .product-card:nth-child(5) {
    grid-column: auto;
  }

  .business-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero-photo-main {
    grid-column: 1 / -1;
    height: 360px;
  }

  .hero-photo-top,
  .hero-photo-bottom {
    height: 210px;
  }

  .hero-product-label {
    left: 18px;
    bottom: 18px;
  }


  /* FICHA DE PRODUCTO - TABLET Y CELULAR */

  .product-modal-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .product-modal-image {
    min-height: 280px;
    max-height: 320px;
  }

  .product-modal-info {
    padding: 32px 24px;
  }

  .product-modal-info h2 {
    font-size: 30px;
  }
  /* FICHA DE RECETA - CELULAR */

  .recipe-modal {
    padding: 12px;
  }

  .recipe-modal-content {
    border-radius: 18px;
  }

  .recipe-modal-info {
    padding: 30px 20px;
  }

  .recipe-modal-info h2 {
    font-size: 28px;
  }

  .recipe-modal-close {
    top: 12px;
    right: 12px;
  }

}


/* =========================
   CELULAR
========================= */

@media (max-width: 600px) {

  .container {
    width: min(92%, 520px);
  }

  .header {
    position: sticky;
  }

  .nav-container {
    min-height: 65px;
  }

  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 65px 0;
  }

  .product-grid,
  .recipe-grid {
    grid-template-columns: 1fr;
  }

  .product-info p {
    min-height: auto;
  }

  .business-section {
    padding: 60px 0;
  }

  .whatsapp-float {
    right: 8px;
    bottom: 8px;

    min-height: 40px;

    padding: 0 11px;

    font-size: 11px;
  }

  /* HERO EN CELULAR */

  .hero-photo-main {
    height: 290px;
  }

  .hero-photo-top,
  .hero-photo-bottom {
    height: 170px;
  }

  .hero-photo {
    border-radius: 18px;
    border-width: 3px;
  }

  .hero-product-label {
    font-size: 12px;
    padding: 8px 13px;
  }
  /* FICHA DE RECETA - CELULAR */

  .recipe-modal {
    padding: 12px;
  }

  .recipe-modal-content {
    border-radius: 18px;
  }

  .recipe-modal-info {
    padding: 30px 20px;
  }

  .recipe-modal-info h2 {
    font-size: 28px;
  }

  .recipe-modal-close {
    top: 12px;
    right: 12px;
  }

}

/* =========================
   MENU MÓVIL INTERACTIVO
========================= */

@media (max-width: 900px) {

  .nav-container {
    position: relative;
  }

  .nav.nav-open {
    display: flex;

    position: absolute;

    top: calc(100% + 1px);
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    background: white;

    padding: 14px;

    border: 1px solid var(--border);

    border-radius: 0 0 16px 16px;

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.10);
  }

  .nav.nav-open a {
    display: block;

    padding: 14px 12px;

    border-radius: 10px;

    font-size: 16px;
  }

  .nav.nav-open a:hover {
    background: var(--green-soft);
  }

  .menu-btn {
    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: var(--green-dark);
  }

}

@media (max-width: 600px) {

  .logo img {
    width: 96px;
  }

}