:root{
  --mint: #bfe9d2;
  --mint-deep: #8fd4b3;
  --pink: #f8cede;
  --pink-deep: #f3aec9;
  --cream: #fffaf5;
  --gold: #c9a227;
  --gold-light: #e6cd7f;
  --brown: #4a3226;
  --green-btn: #2f6b4f;
  --green-btn-dark: #234f39;
}

*{ box-sizing: border-box; }

body{
  font-family: 'Nunito', sans-serif;
  color: var(--brown);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(143,212,179,.35) 1.5px, transparent 0),
    radial-gradient(circle at 1px 1px, rgba(243,174,201,.3) 1.5px, transparent 0),
    linear-gradient(180deg, var(--cream) 0%, #f2f9f4 45%, #e9f5ee 100%);
  background-size: 42px 42px, 64px 64px, 100% 100%;
  background-position: 0 0, 21px 32px, 0 0;
  background-attachment: fixed, fixed, fixed;
  padding-bottom: 110px; /* espacio para la barra flotante */
}

h1, h2, h3, .display-font{
  font-family: 'Baloo 2', sans-serif;
}

/* ---------- HERO ---------- */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--mint) 0%, var(--mint) 45%, var(--pink) 100%);
  padding: 2.2rem 1rem;
  text-align: center;
}
.hero::before, .hero::after{
  content:"";
  position: absolute;
  border-radius: 50%;
  opacity: .55;
  filter: blur(2px);
  z-index: 0;
}
.hero::before{
  width: 220px; height: 220px;
  background: var(--pink-deep);
  top: -80px; left: -60px;
}
.hero::after{
  width: 260px; height: 260px;
  background: var(--mint-deep);
  bottom: -110px; right: -70px;
}
.logo-marca-agua{
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.logo-agua{
  position: absolute;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(74,50,38,.1));
}
.hero-content{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.hero-left{
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.hero h1{
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--brown);
  letter-spacing: .5px;
  margin-bottom: .5rem;
  text-shadow: 0 2px 0 rgba(255,255,255,.4);
}
.logo-hero{
  width: 110px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 14px rgba(74,50,38,.18));
}

.hero-nav{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
  flex-shrink: 0;
}
.hero-nav a{
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brown);
  text-decoration: none;
  line-height: 1.15;
  transition: color .2s ease, transform .15s ease;
}
.hero-nav a:hover{
  color: var(--green-btn-dark);
  transform: translateX(-4px);
}

.hero-info{
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: .7rem;
  font-size: .82rem;
  font-weight: 700;
  color: #5c4436;
}
.hero-info span{ white-space: nowrap; }
.hero p.lead{
  font-family: 'Nunito', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: #5c4436;
  max-width: 320px;
  margin: 0;
}

/* ---------- BANNER DE PROMOCIÓN ---------- */
.promo-banner{
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  color: #3a2a10;
  text-align: center;
  font-weight: 800;
  font-size: .95rem;
  padding: .55rem 1rem;
}

/* ---------- CÓMO PEDIR (4 PASOS) ---------- */
.pasos-pedido{ margin-top: 1rem; }
.paso-card{
  background: #fff;
  border-radius: 20px;
  padding: 1.4rem 1.1rem;
  height: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(74,50,38,.08);
}
.paso-numero{
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}
.paso-icono{ font-size: 2rem; margin: .6rem 0 .4rem; }
.paso-titulo{
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .3rem;
}
.paso-desc{ font-size: .85rem; color: #7a6155; }
.paso-pago{ border: 2px solid var(--gold-light); }
.metodos-pago{
  list-style: none;
  padding: 0;
  margin: .6rem 0 0;
  font-size: .78rem;
  text-align: left;
}
.metodos-pago li{
  background: var(--cream);
  border-radius: 10px;
  padding: .4rem .6rem;
  margin-bottom: .35rem;
}
.metodos-pago li b{ color: var(--green-btn-dark); }
.section-title{
  text-align: center;
  margin: 3.5rem 0 2rem;
}
.section-title h2{
  font-weight: 700;
  font-size: 2.1rem;
  display: inline-block;
  padding: .2rem 1rem;
}
.section-title .badge-day{
  display:block;
  font-family:'Nunito',sans-serif;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}

.section-hoy .section-title h2{ background: var(--mint); border-radius: 40px; }
.section-manana .section-title h2{ background: var(--pink); border-radius: 40px; }

/* ---------- DIVIDER DORADO ---------- */
.gold-divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 3rem auto;
  max-width: 700px;
  padding: 0 1rem;
}
.gold-divider .line{
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent);
}
.gold-divider .diamond{
  width: 12px; height: 12px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--gold-light);
}

/* ---------- PRODUCT CARDS ---------- */
.producto-card{
  background: #fff;
  border-radius: 22px;
  border: 2px solid transparent;
  padding: 1.2rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 6px 18px rgba(74,50,38,.08);
}
.producto-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(74,50,38,.14);
}
.section-hoy .producto-card.activo{ border-color: var(--mint-deep); }
.section-manana .producto-card.activo{ border-color: var(--pink-deep); }

.producto-imagen{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  margin-bottom: .8rem;
  overflow: hidden;
}
.producto-imagen img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* recorta la foto para llenar el cuadro sin deformarla, sea cual sea su tamaño */
  object-position: center;
  border-radius: 16px;
}
.section-hoy .producto-imagen{ background: linear-gradient(160deg,var(--mint),#e8f8ef); }
.section-manana .producto-imagen{ background: linear-gradient(160deg,var(--pink),#fdeef4); }

.producto-nombre{
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .15rem;
}
.producto-desc{
  font-size: .85rem;
  color: #7a6155;
  min-height: 2.2em;
}
.producto-precio{
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--green-btn-dark);
  margin: .5rem 0 .8rem;
}

.stepper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background: var(--cream);
  border-radius: 14px;
  padding: .3rem;
  border: 1px solid #eadfce;
}
.stepper button{
  width: 36px; height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--brown);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}
.stepper button:active{ transform: scale(.92); }
.stepper .cantidad{
  font-weight: 800;
  font-size: 1.1rem;
  min-width: 30px;
  text-align: center;
}
.subtotal-linea{
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-top: .5rem;
  min-height: 1.2em;
}

/* ---------- BARRA FLOTANTE DE PEDIDO ---------- */
.barra-pedido{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: var(--brown);
  color: #fff;
  padding: .9rem 1rem;
  box-shadow: 0 -6px 20px rgba(0,0,0,.18);
  transform: translateY(100%);
  transition: transform .3s ease;
}
.barra-pedido.visible{ transform: translateY(0); }
.barra-pedido .info b{ color: var(--gold-light); }
.barra-pedido .btn-enviar{
  background: var(--green-btn);
  border: none;
  color: #fff;
  font-weight: 800;
  border-radius: 40px;
  padding: .6rem 1.5rem;
  white-space: nowrap;
}
.barra-pedido .btn-enviar:hover{ background: var(--green-btn-dark); color:#fff; }
.barra-pedido .btn-limpiar{
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  border-radius: 40px;
  font-size: .8rem;
  padding: .35rem .8rem;
}

/* ---------- CTA CONSULTAS ---------- */
.cta-consultas{
  max-width: 720px;
  margin: 4rem auto 3rem;
  padding: 0 1rem;
  text-align: center;
}
.cta-consultas .caja{
  background: linear-gradient(135deg, var(--pink) 0%, var(--mint) 100%);
  border-radius: 28px;
  padding: 2.4rem 1.5rem;
}
.cta-consultas h3{
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: .4rem;
}
.cta-consultas p{ font-weight: 600; color: #5c4436; margin-bottom: 1.3rem; }
.btn-whatsapp-grande{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--green-btn-dark);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50px;
  padding: 1rem 2.4rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  transition: transform .15s ease;
}
.btn-whatsapp-grande:hover{ transform: translateY(-3px); color: var(--green-btn-dark); }

footer{
  text-align:center;
  font-size:.85rem;
  color:#9a8577;
  padding: 1rem 1rem 2rem;
}
