:root {
  --verde-principal: #046a38;
  --verde-secundario: #108813;
  --verde-oscuro: #023f25;
  --blanco: #ffffff;
  --gris-claro: #f5f7f5;
  --gris: #666666;
  --texto: #1f1f1f;
  --sombra: 0 15px 35px rgba(0, 0, 0, 0.08);
  --radio: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--blanco);
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  z-index: 1000;
}

.header-content {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 62px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--texto);
  font-weight: 600;
  font-size: 15px;
  transition: .3s;
}

.nav a:hover {
  color: var(--verde-principal);
}

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

    background: #25D366;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;

    box-shadow: 0 10px 30px rgba(0,0,0,.25);

    transition: .3s;
    z-index: 999;
}

.whatsapp-float:hover{
    transform: scale(1.1);
}

.whatsapp-float svg{
    width: 34px;
    height: 34px;
}

.btn-whatsapp-header{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25D366;
    color: white;

    display:flex;
    align-items:center;
    justify-content:center;
}

.btn-header,
.btn-primary {
  background: var(--verde-principal);
  color: var(--blanco);
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-block;
  transition: .3s;
}

.btn-header:hover,
.btn-primary:hover {
  background: var(--verde-secundario);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--verde-principal);
  color: var(--verde-principal);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  transition: .3s;
}

.btn-secondary:hover {
  background: var(--verde-principal);
  color: var(--blanco);
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--verde-principal);
  color: var(--blanco);
  font-size: 24px;
  padding: 8px 12px;
  border-radius: 8px;
}

.hero {
  min-height: 620px;
  padding-top: 86px;
  position: relative;
  overflow: hidden;
  background: var(--crema);
}

.hero-bg {
  position: absolute;
  inset: 86px 0 0 0;
  background-image:
    linear-gradient(90deg, rgba(248,242,230,.98) 0%, rgba(248,242,230,.92) 36%, rgba(248,242,230,.25) 58%, rgba(248,242,230,0) 100%),
    url("../img/hero-menestras.png");
  background-size: cover;
  background-position: center right;
}

.hero-content {
  position: relative;
  min-height: 534px;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 500px;
}

.hero h1 {
  text-transform: uppercase;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  color: var(--verde-oscuro);
  letter-spacing: -1px;
  margin-bottom: 14px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 900;
}

.hero h1 span {
  display: block;
  color: var(--marron);
}

.hero h2 {
  color: #b7630a;
  font-size: clamp(22px, 2.2vw, 30px);
  font-style: italic;
  margin-bottom: 20px;
  font-family:'Kaushan Script', cursive;
  font-weight: 400;
}

.hero p {
  font-size: 18px;
  line-height: 1.45;
  max-width: 460px;
}

.hero-icons {
  display: flex;
  gap: 38px;
  margin: 34px 0;
}

.hero-icons div {
  text-align: center;
  max-width: 140px;
}

.hero-icons span.icon-circle {
  width: 64px;
  height: 64px;
  border: 2px solid var(--verde-principal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--verde-principal);
  background: transparent;
}

.hero-icons svg {
  width: 33px;
  height: 33px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-icons span {
  width: 66px;
  height: 66px;
  border: 2px solid var(--verde);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--verde);
  font-size: 28px;
}

.hero-icons p {
  font-size: 15px;
  font-weight: 600;
}

.tag,
.section-label {
  color: var(--verde-principal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 14px;
}


.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-card {
  background: var(--blanco);
  padding: 36px;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  border-left: 8px solid var(--verde-principal);
}

.hero-card h3 {
  color: var(--verde-principal);
  margin-bottom: 18px;
  font-size: 26px;
}

.hero-card li {
  list-style: none;
  padding: 12px 0;
  font-size: 20px;
  font-weight: 700;
}

.section {
  padding: 90px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.image-box {
  min-height: 360px;
  border-radius: var(--radio);
  background:
    linear-gradient(rgba(4,106,56,.25), rgba(4,106,56,.25)),
    url("../img//nosotros.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--sombra);
}

.section-text h2,
.section-title h2 {
  color: var(--verde-oscuro);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 12px 0 20px;
}

.section-text p,
.section-title p {
  color: var(--gris);
  margin-bottom: 16px;
  font-size: 17px;
}

.nosotros {
  background: var(--gris-claro);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 28px 18px;
  text-align: center;
  box-shadow: var(--sombra);
  transition: .3s;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-icon {
  font-size: 42px;
  margin-bottom: 14px;
}

.product-card h3 {
  color: var(--verde-principal);
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: var(--gris);
}

.beneficios-sobrio {
  background: linear-gradient(180deg, #f7fbf8 0%, #eef7f1 100%);
  padding: 58px 0 64px;
}

.beneficios-header {
  text-align: center;
  margin-bottom: 28px;
}

.beneficios-header span {
  color: var(--verde-principal);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .8px;
}

.beneficios-linea {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.beneficio-item {
  text-align: center;
  padding: 20px 38px 10px;
  position: relative;
}

.beneficio-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22px;
  width: 1px;
  height: 120px;
  background: rgba(4, 106, 56, .22);
}

.beneficio-icono {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  color: var(--verde-principal);
}

.beneficio-icono svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.beneficio-item h3 {
  color: var(--verde-oscuro);
  font-size: 17px;
  margin-bottom: 10px;
}

.beneficio-item p {
  color: #333;
  font-size: 15px;
  line-height: 1.45;
}

.contacto {
  background: var(--blanco);
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item strong {
  color: var(--verde-principal);
}

.map-box iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

.footer {
  background: var(--verde-principal);
  color: var(--blanco);
  padding: 38px 0;
  text-align: center;
}

.footer img {
  height: 70px;
  margin: 0 auto 14px;
  background: var(--blanco);
  border-radius: 10px;
  padding: 6px;
}

.footer p {
  margin-bottom: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: var(--verde-secundario);
  color: var(--blanco);
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  z-index: 999;
}

.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: .8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 86px;
    right: 4%;
    width: 240px;
    background: var(--blanco);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--sombra);
    border-radius: 14px;
    overflow: hidden;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
  }

    .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(248,242,230,.98), rgba(248,242,230,.82)),
      url("../img/hero-menestras.png");
    background-position: center;
  }

  .hero-content,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-text{
    text-align: center;
    margin:auto;
  }

  .hero-icons{
    justify-content: center;
    flex-wrap: wrap;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .beneficios-linea {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }

  .beneficio-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-content {
    height: 76px;
  }

  .logo img {
    height: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content{
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 52px;
  }
  
  .hero h2 {
    font-size: 26px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-icons{
    gap: 18px;
  }  

  .products-grid{
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .map-box iframe {
    height: 330px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 13px 16px;
    font-size: 14px;
  }

    .beneficios-linea {
    grid-template-columns: 1fr;
  }

  .beneficio-item {
    padding: 24px 20px;
  }

  .beneficio-item::after {
    display: none;
  }

  .beneficio-item:not(:last-child) {
    border-bottom: 1px solid rgba(4, 106, 56, .16);
  }
  
}