
:root{
  --navy:#082e4b;
  --navy2:#041b2c;
  --deep:#052b43;
  --deep2:#073b59;
  --blue:#0a79bc;
  --cyan:#72d4ff;
  --sky:#eaf7fd;
  --green:#21a644;
  --text:#183d57;
  --muted:#526d7d;
  --line:#d7e8f2;
  --white:#fff;
  --shadow:0 18px 55px rgba(2,28,45,.18);
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--deep);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.shell{width:min(1180px,calc(100% - 40px));margin:auto}

/* ENCABEZADO */
.topbar{
  position:static;
  z-index:100;
  background:#fff;
  border-bottom:1px solid #dbe8ef;
}
.brand-banner{
  position:relative;
  width:100%;
  height:155px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#def5ff 0%,#fff 48%,#d9f4ff 78%,#4bbce8 100%);
}
.brand-banner::before{
  content:"";
  position:absolute;
  inset:-24px;
  background:url("assets/encabezado_marca.png") center/cover no-repeat;
  filter:blur(20px) saturate(.82) brightness(1.12);
  transform:scale(1.08);
  opacity:.32;
}
.brand-banner img{
  position:relative;
  z-index:1;
  width:auto;
  height:155px;
  max-width:100%;
  object-fit:contain;
}
.navwrap.nav-only{
  min-height:48px;
  height:48px;
  display:flex;
  align-items:center;
  gap:18px;
}
nav{
  display:flex;
  gap:18px;
  margin-left:auto;
  font-size:13px;
  font-weight:800;
  color:#244f67;
}
nav a:hover{color:var(--blue)}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 19px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-weight:800;
  box-shadow:0 9px 22px rgba(10,121,188,.20);
}
.btn.green{
  background:var(--green);
  box-shadow:0 9px 22px rgba(33,166,68,.20);
}
.btn.secondary{
  background:#fff;
  color:#075b86;
  border:1px solid #b8ddf0;
  box-shadow:none;
}

/* IMÁGENES */
.image-natural,.image-contain{
  position:relative;
  overflow:hidden;
}
.image-natural img{width:100%;height:100%;object-fit:cover}
.image-contain img{width:100%;height:100%;object-fit:contain}
.img-fallback{
  position:absolute;inset:0;display:grid;place-items:center;text-align:center;
  border:2px dashed #9bbaca;color:#59798d;background:#eef7fb;font-weight:800;padding:20px
}

/* PORTADA */
.hero{
  position:relative;
  background:#071c2c;
}
.hero-media{
  width:100%;
  min-height:0;
  height:calc(100vh - 203px);
  max-height:560px;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#071c2c;
}
.hero-panel{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:0;
  bottom:0;
  height:calc(100vh - 203px);
  max-height:560px;
  display:flex;
  align-items:center;
  pointer-events:none;
}
.hero-card{
  pointer-events:auto;
  max-width:620px;
  padding:34px 38px;
  color:#fff;
  background:transparent;
}
.hero h1{
  font-size:58px;line-height:.98;margin:5px 0 15px;letter-spacing:-.04em;
  color:#fff;text-shadow:0 3px 14px rgba(0,0,0,.75)
}
.hero-sub{
  font-size:26px;font-weight:700;margin:0 0 25px;color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.72)
}
.eyebrow{
  font-size:11px;letter-spacing:.18em;font-weight:900;color:var(--cyan);
  margin:0 0 9px;text-transform:uppercase
}
.eyebrow.light{color:#d9f3ff;text-shadow:0 2px 8px rgba(0,0,0,.65)}

/* ACCESOS RÁPIDOS */
.quick{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#173f56;
  border:1px solid rgba(255,255,255,.16);
  border-radius:22px;
  box-shadow:var(--shadow);
  margin-top:28px;
  overflow:hidden;
}
.quick-card{
  padding:22px;
  display:flex;
  gap:14px;
  align-items:center;
  border-right:1px solid rgba(255,255,255,.16);
  color:#fff;
  background:transparent;
}
.quick-card:last-child{border-right:0}
.quick-card:hover{background:rgba(255,255,255,.06)}
.quick-card>span{
  width:43px;height:43px;border-radius:13px;
  background:#eaf7fd;color:#087eb8;
  display:grid;place-items:center;font-size:20px;font-weight:900
}
.quick-card strong{
  display:block;
  font-size:14px;
  line-height:1.25;
  font-weight:800;
  color:#fff;
}
.quick-card small{
  display:block;
  margin-top:4px;
  font-size:13px;
  line-height:1.35;
  font-weight:500;
  color:#e8f6fc;
}

/* FONDO DE SECCIONES */
.section,
.product-wrap,
.lab-section,
.promo-section{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 8% 18%,rgba(114,212,255,.10) 0 8px,transparent 9px),
    radial-gradient(circle at 93% 30%,rgba(114,212,255,.08) 0 15px,transparent 16px),
    linear-gradient(145deg,var(--deep) 0%,var(--deep2) 58%,#04263b 100%);
}
.section::before,
.product-wrap::before,
.lab-section::before,
.promo-section::before{
  content:"";
  position:absolute;
  left:-5%;right:-5%;bottom:-34px;height:90px;
  background:
    radial-gradient(ellipse at 20% 100%,rgba(114,212,255,.12) 0 38%,transparent 39%),
    radial-gradient(ellipse at 55% 100%,rgba(255,255,255,.07) 0 35%,transparent 36%),
    radial-gradient(ellipse at 85% 100%,rgba(114,212,255,.10) 0 34%,transparent 35%);
  pointer-events:none;
}
.section > *,
.product-wrap > *,
.lab-section > *,
.promo-section > *{position:relative;z-index:1}

.section{padding:95px 0}
.section-title{max-width:790px}
.section-title.center{text-align:center;margin:0 auto 44px}
.section-title h2,
.product h2,.local h2,.delivery h2,.eco h2,.closing h2,.plant-copy h2{
  font-size:46px;line-height:1.05;letter-spacing:-.03em;color:#fff;margin:5px 0 16px
}
.section-title p,
.local-copy p,
.plant-copy p,
.lead{
  color:#e2f3fa;
  font-size:17px;
  line-height:1.55;
}

/* NUESTRA AGUA — TARJETAS BLANCAS = TEXTO OSCURO */
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}
.feature-grid article{
  border:1px solid #d8e8f0;
  border-radius:22px;
  padding:27px;
  background:#fff;
  color:#082e4b;
  box-shadow:0 8px 24px rgba(2,28,45,.12);
}
.feature-grid b{
  display:grid;place-items:center;width:42px;height:42px;border-radius:13px;
  background:#eaf7fd;color:#087eb8;font-size:12px
}
.feature-grid h3{
  color:#082e4b;
  font-size:20px;
  line-height:1.2;
  font-weight:800;
  margin:18px 0 10px;
}
.feature-grid p{
  color:#294f64;
  font-size:16px;
  line-height:1.55;
  font-weight:500;
  margin:0;
}
.statement{
  margin-top:34px;
  background:rgba(2,25,40,.58);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  padding:21px 25px;
  border-radius:18px;
  text-align:center;
  font-size:19px
}
.statement strong{margin-left:7px}

/* PRODUCTO */
.product-wrap{padding:85px 0}
.product{display:grid;grid-template-columns:1.08fr .92fr;gap:55px;align-items:center}
.product-copy{padding:32px 0}
.prices{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:27px 0}
.price{
  padding:20px;
  border-radius:18px;
  background:#fff;
  color:#082e4b;
  border:1px solid #d8e8f0;
}
.price.featured{
  background:linear-gradient(135deg,#041b2c,#0c537d);
  color:#fff;
  border:1px solid rgba(255,255,255,.15);
}
.price span{font-size:11px;font-weight:800;letter-spacing:.08em;color:inherit}
.price strong{display:block;font-size:38px;margin-top:7px;line-height:1;color:inherit}
.product-points{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 25px;
  color:#eef9fd;font-size:15px;font-weight:600
}
.product-image{
  min-height:490px;border-radius:26px;border:1px solid rgba(255,255,255,.20);
  background:#f4fbfe;padding:18px
}

/* PRODUCCIÓN LOCAL */
.local{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center}
.photo-panel{
  min-height:520px;border-radius:28px;box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.18);padding:6px;background:#f5fbfe
}
.pill-row{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}
.pill-row span{
  padding:9px 13px;border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.10);
  color:#fff;font-weight:800;font-size:13px
}
.signature{color:var(--cyan)!important;font-weight:800}

/* PLANTA */
.plant-section{padding-top:70px}
.plant-grid{
  display:grid;grid-template-columns:.8fr 1.2fr;gap:55px;align-items:center;
  background:rgba(3,30,47,.52);
  border:1px solid rgba(255,255,255,.16);
  border-radius:28px;padding:34px
}
.plant-photo{
  min-height:480px;border-radius:22px;background:#f4fbfe;
  border:1px solid rgba(255,255,255,.20);padding:6px
}

/* ANÁLISIS — TARJETAS BLANCAS = TEXTO OSCURO */
.lab-section{padding:95px 0}
.reports{display:grid;gap:30px}
.report-card{
  background:#fff;
  border:1px solid #d7e8f2;
  border-radius:28px;
  box-shadow:var(--shadow);
  overflow:hidden;
  color:#082e4b;
}
.report-head{
  padding:28px 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-bottom:1px solid #d7e8f2
}
.report-head h3{margin:0;color:#082e4b;font-size:23px}
.report-head p{margin:4px 0 0;color:#294f64;font-size:15px;line-height:1.45}
.report-pages{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:22px}
.report-page{
  border:1px solid #dfeaf1;border-radius:14px;overflow:hidden;
  background:#fff;box-shadow:0 8px 20px rgba(7,46,75,.05)
}
.report-page img{width:100%;height:auto}
.report-actions{padding:0 22px 24px;display:flex;gap:12px;flex-wrap:wrap}

/* PROMOCIONES — TARJETAS BLANCAS = TEXTO OSCURO */
.promo-section{padding:95px 0}
.promo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.promo-card{
  border-radius:24px;padding:27px;background:#fff;color:#082e4b;
  border:1px solid #d7e8f2;box-shadow:0 10px 28px rgba(2,28,45,.14);
  position:relative;overflow:hidden
}
.promo-card:before{
  content:"";position:absolute;top:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--blue),#73d3fb)
}
.promo-card.raffle:before{background:linear-gradient(90deg,#18a84b,#7edb77)}
.promo-type{font-size:10px;letter-spacing:.13em;font-weight:900;color:#087eb8}
.promo-card.raffle .promo-type{color:#168c3d}
.promo-card h3{color:#082e4b;margin:8px 0 7px;font-size:21px}
.promo-card p{color:#294f64;margin:0;font-size:15px;line-height:1.5}

/* REPARTO */
.delivery-section{
  padding:70px 0 90px;
  background:var(--deep);
}
.delivery{
  background:linear-gradient(135deg,#052b43,#073f60);
  color:#fff;border-radius:28px;padding:36px 42px;
  display:flex;justify-content:space-between;align-items:center;gap:30px;
  border:1px solid rgba(255,255,255,.12)
}
.delivery h2{color:#fff;margin-bottom:5px}
.delivery p{margin:0;color:#e2f3fa;font-size:16px}
.delivery-time{text-align:right}
.delivery-time span{display:block;font-size:11px;letter-spacing:.13em;color:#91dcff;font-weight:800}
.delivery-time strong{display:block;font-size:31px;color:#fff}
.delivery-time small{display:block;color:#dcecf4;margin-top:4px;font-size:13px}

/* REUTILIZACIÓN */
.eco{
  padding:90px 0;
  background:linear-gradient(135deg,#062a45,#031b2c);
  color:#fff
}
.eco-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center}
.eco-photo{min-height:440px;border-radius:28px;background:#051c2b}
.eco h2{color:#fff}
.eco-copy p{color:#e2f3fa;font-size:16px}
.eco-copy strong{color:#72d4ff;font-size:18px}

/* CONTACTO */
.closing{padding:90px 0;background:#051c2d;color:#fff}
.closing-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center}
.closing-photo{min-height:470px;border-radius:28px;background:#03131f}
.footer-logo{width:300px;height:190px;margin-bottom:18px}
.closing h2{color:#fff}
.closing-copy>p{color:#e2f3fa;font-size:16px}
.closing-phrase{font-size:18px;margin-top:28px;color:#fff}
.closing-phrase strong{color:#8ddcff}
footer{background:#020d16;color:#b8cbd8}
.footerline{
  min-height:68px;display:flex;justify-content:space-between;align-items:center;
  gap:15px;font-size:12px
}

/* RESPONSIVE */
@media(max-width:950px){
  .brand-banner{height:130px}
  .brand-banner img{height:130px}
  .navwrap.nav-only{height:48px;min-height:48px}
  nav{display:none}
  .hero-media,.hero-panel{height:calc(100vh - 178px)}
  .feature-grid{grid-template-columns:1fr 1fr}
  .product,.local,.eco-grid,.closing-grid,.plant-grid{grid-template-columns:1fr}
  .quick{grid-template-columns:1fr 1fr}
  .promo-grid{grid-template-columns:1fr 1fr}
  .report-pages{grid-template-columns:1fr}
  .hero-card{max-width:520px}
  .product-image,.photo-panel,.eco-photo,.closing-photo,.plant-photo{min-height:360px}
}
@media(max-width:620px){
  .shell{width:min(100% - 24px,1180px)}
  .brand-banner{height:100px}
  .brand-banner img{height:100px}
  .navwrap.nav-only{height:48px;min-height:48px}
  .topbar .btn{font-size:11px;padding:10px 12px}
  .hero-media{height:auto;max-height:none}
  .hero-media img{height:auto;object-fit:contain}
  .hero-panel{
    position:relative;left:auto;transform:none;
    height:auto;max-height:none;background:#082e4b
  }
  .hero-card{padding:30px 0}
  .hero h1{font-size:42px}
  .hero-sub{font-size:21px}
  .quick{grid-template-columns:1fr;margin-top:18px}
  .quick-card{border-right:0;border-bottom:1px solid rgba(255,255,255,.16)}
  .quick-card:last-child{border-bottom:0}
  .section,.lab-section,.promo-section{padding:70px 0}
  .section-title h2,.product h2,.local h2,.delivery h2,.eco h2,.closing h2,.plant-copy h2{font-size:34px}
  .feature-grid,.prices,.product-points,.promo-grid{grid-template-columns:1fr}
  .product-wrap{padding:65px 0}
  .delivery{align-items:flex-start;flex-direction:column}
  .delivery-time{text-align:left}
  .report-head{align-items:flex-start;flex-direction:column}
  .footerline{padding:18px 0;flex-direction:column;justify-content:center}
  .plant-grid{padding:20px}
  .plant-photo{min-height:280px}
}


/* V5.8 — sección Comunidad */
.community-section{
  position:relative;
  overflow:hidden;
  padding:95px 0;
  color:#fff;
  background:
    radial-gradient(circle at 8% 20%,rgba(114,212,255,.11) 0 9px,transparent 10px),
    radial-gradient(circle at 92% 72%,rgba(114,212,255,.08) 0 18px,transparent 19px),
    linear-gradient(145deg,#052b43 0%,#073b59 58%,#04263b 100%);
}
.community-section::before{
  content:"";
  position:absolute;
  left:-5%;right:-5%;bottom:-34px;height:90px;
  background:
    radial-gradient(ellipse at 20% 100%,rgba(114,212,255,.12) 0 38%,transparent 39%),
    radial-gradient(ellipse at 55% 100%,rgba(255,255,255,.07) 0 35%,transparent 36%),
    radial-gradient(ellipse at 85% 100%,rgba(114,212,255,.10) 0 34%,transparent 35%);
  pointer-events:none;
}
.community-section > *{position:relative;z-index:1}
.community-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin-top:40px;
}
.community-card{
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.17);
  background:rgba(255,255,255,.10);
  box-shadow:0 14px 34px rgba(1,22,36,.20);
  backdrop-filter:blur(3px);
}
.community-photo{
  height:230px;
  background:#061f31;
  overflow:hidden;
}
.community-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.community-card-body{
  padding:27px 29px 30px;
}
.community-type{
  display:inline-block;
  font-size:10px;
  letter-spacing:.14em;
  font-weight:900;
  color:#72d4ff;
  margin-bottom:8px;
}
.community-card h3{
  margin:0 0 10px;
  color:#fff;
  font-size:24px;
  line-height:1.15;
}
.community-card p{
  margin:0;
  color:#e4f4fb;
  font-size:16px;
  line-height:1.55;
}
.community-statement{
  margin-top:28px;
  padding:21px 25px;
  border-radius:18px;
  text-align:center;
  background:rgba(2,25,40,.56);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:18px;
}
@media(max-width:700px){
  .community-section{padding:70px 0}
  .community-grid{grid-template-columns:1fr}
  .community-card h3{font-size:21px}
}


/* V5.9 — resultados del análisis visibles antes del PDF */
.analysis-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin:8px 0 22px;
}
.analysis-stat{
  background:#fff;
  color:#082e4b;
  border:1px solid #d7e8f2;
  border-radius:20px;
  padding:22px;
  box-shadow:0 9px 24px rgba(2,28,45,.13);
}
.analysis-stat strong{
  display:block;
  color:#087eb8;
  font-size:27px;
  line-height:1.1;
  margin-bottom:9px;
}
.analysis-stat h3{
  margin:0 0 7px;
  color:#082e4b;
  font-size:17px;
  line-height:1.25;
}
.analysis-stat p{
  margin:0;
  color:#294f64;
  font-size:14px;
  line-height:1.45;
}
.analysis-conclusion{
  margin:0 0 28px;
}
.analysis-conclusion>div{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:22px 24px;
  border-radius:20px;
  background:rgba(2,25,40,.58);
  border:1px solid rgba(255,255,255,.17);
}
.analysis-check{
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#eaf7fd;
  color:#087eb8;
  font-size:22px;
  font-weight:900;
}
.analysis-conclusion strong{
  color:#fff;
  font-size:16px;
  line-height:1.45;
}
.analysis-conclusion p{
  margin:7px 0 0;
  color:#dceff8;
  font-size:14px;
  line-height:1.45;
}
@media(max-width:900px){
  .analysis-summary{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .analysis-summary{grid-template-columns:1fr}
}


/* V6.3 — acceso rápido para volver al inicio */
html{scroll-behavior:smooth}
.back-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:999;
  display:flex;
  align-items:center;
  gap:7px;
  padding:10px 15px;
  border-radius:999px;
  background:#ffffff;
  color:#073b59;
  border:1px solid rgba(7,59,89,.18);
  box-shadow:0 8px 24px rgba(0,25,42,.22);
  text-decoration:none;
  font-size:13px;
  font-weight:900;
  transition:transform .18s ease,box-shadow .18s ease;
}
.back-to-top:hover{
  transform:translateY(-2px);
  box-shadow:0 11px 28px rgba(0,25,42,.28);
}
.back-arrow{
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:50%;
  background:#087eb8;
  color:#fff;
  font-size:17px;
  line-height:1;
}
@media(max-width:620px){
  .back-to-top{
    right:14px;
    bottom:14px;
    padding:9px;
  }
  .back-label{display:none}
  .back-arrow{width:30px;height:30px}
}


/* V6.4 — promociones accesibles aunque no haya activas */
.promo-empty{
  display:none;
  margin:24px auto 0;
  max-width:760px;
  padding:22px 24px;
  border-radius:18px;
  background:#fff;
  color:#0a3854;
  text-align:center;
  font-weight:700;
  line-height:1.5;
  box-shadow:0 10px 26px rgba(0,30,48,.12);
}

/* Mejor lectura del bloque de reutilización */
.eco-copy p{
  line-height:1.6;
}
.eco-copy p + p{
  margin-top:12px;
}


/* V6.5 — mensaje claro sobre recepción de bidones de otras marcas */
.eco-copy .eco-lead{
  font-size:20px;
  margin-top:14px;
}
.eco-copy .eco-closing{
  display:block;
  margin-top:20px;
  font-size:17px;
  line-height:1.45;
}
