/* Calima Zero — hoja compartida por las tres versiones de idioma
   (/index.html ES, /en/index.html EN, /de/index.html DE).
   Un solo sitio donde tocar el diseño. */

:root{
  --azul:#0d3b66;
  --azul-claro:#14548f;
  --teja:#c1502e;
  --arena:#faf6f0;
  --texto:#1c2531;
  --gris:#5b6773;
  --linea:#e4ddd3;
  --wa:#25d366;
  --wa-oscuro:#128c46;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:17px;
  line-height:1.55;
  color:var(--texto);
  background:#fff;
  overflow-wrap:break-word;
}
img{max-width:100%;display:block}
a{color:var(--azul-claro)}

.wrap{max-width:640px;margin:0 auto;padding:0 20px}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  background:var(--azul);
  color:#fff;
  overflow:hidden;
}
.hero-img{
  width:100%;
  height:210px;
  object-fit:cover;
  opacity:.55;
}
.hero-txt{
  padding:22px 20px 30px;
  max-width:640px;
  margin:0 auto;
}
.kicker{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.035em;
  text-transform:uppercase;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.28);
  padding:5px 11px;
  border-radius:999px;
  margin:0 0 14px;
}
h1{
  font-size:30px;
  line-height:1.18;
  margin:0 0 14px;
  letter-spacing:-.015em;
  font-weight:800;
}
h1 em{font-style:normal;color:#ffd166}
.hero p{
  font-size:17px;
  margin:0 0 20px;
  color:#dbe6f2;
}

/* ---------- SELECTOR DE IDIOMA ---------- */
.langs{
  position:absolute;
  top:12px;right:14px;
  display:flex;
  gap:4px;
  z-index:5;
  background:rgba(13,59,102,.55);
  backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  padding:3px;
}
.langs a,.langs span{
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  padding:5px 10px;
  border-radius:999px;
  text-decoration:none;
  color:#dbe6f2;
  line-height:1;
}
.langs a:hover{background:rgba(255,255,255,.16);color:#fff}
.langs [aria-current]{background:#fff;color:var(--azul)}

/* ---------- BOTÓN WHATSAPP ---------- */
.wa{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  background:var(--wa);
  color:#06301a;
  font-size:19px;
  font-weight:800;
  text-decoration:none;
  padding:17px 18px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
  text-align:center;
  line-height:1.25;
}
.wa:active{transform:translateY(1px)}
.wa svg{flex:0 0 auto}
.wa-nota{
  font-size:14px;
  color:#c3d3e4;
  margin:11px 0 0;
  text-align:center;
}

/* ---------- SECCIONES ---------- */
section{padding:38px 0}
section.arena{background:var(--arena);border-top:1px solid var(--linea);border-bottom:1px solid var(--linea)}
h2{
  font-size:24px;
  line-height:1.25;
  margin:0 0 14px;
  letter-spacing:-.01em;
  font-weight:800;
}
h3{font-size:18px;margin:0 0 6px;font-weight:700}
h3.sub{font-size:19px;margin:26px 0 9px}
p{margin:0 0 15px}
.lead{font-size:18px}

.causas{list-style:none;margin:0 0 18px;padding:0}
.causas li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:13px 0;
  border-bottom:1px solid var(--linea);
}
.causas li:last-child{border-bottom:0}
.causas b{display:block;font-size:17px}
.causas span.ico{
  flex:0 0 34px;
  font-size:22px;
  line-height:1.2;
  text-align:center;
}
.causas small{color:var(--gris);font-size:15px;line-height:1.45;display:block}

.dato{
  background:#fff;
  border:1px solid var(--linea);
  border-left:4px solid var(--teja);
  border-radius:10px;
  padding:16px 16px 14px;
  margin:0 0 16px;
}
.dato p{margin:0 0 10px;font-size:16px}
.dato p:last-child{margin:0}
.fuente{font-size:14px;color:var(--gris)}

.aviso{
  font-size:15px;
  color:var(--gris);
  background:#fff;
  border:1px dashed var(--linea);
  border-radius:10px;
  padding:13px 15px;
  margin:0;
}

/* ---------- PASOS ---------- */
ol.pasos{list-style:none;counter-reset:p;margin:0;padding:0}
ol.pasos li{
  counter-increment:p;
  position:relative;
  padding:0 0 22px 52px;
  margin:0;
}
ol.pasos li::before{
  content:counter(p);
  position:absolute;
  left:0;top:0;
  width:36px;height:36px;
  background:var(--azul);
  color:#fff;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:18px;
}
ol.pasos li::after{
  content:"";
  position:absolute;
  left:17px;top:40px;bottom:6px;
  width:2px;
  background:var(--linea);
}
ol.pasos li:last-child{padding-bottom:0}
ol.pasos li:last-child::after{display:none}
ol.pasos p{margin:0;color:var(--gris);font-size:16px}

figure{margin:0 0 22px}
figure img{border-radius:12px;width:100%;height:200px;object-fit:cover}
figcaption{font-size:13px;color:var(--gris);margin-top:7px}

/* ---------- FAQ ---------- */
details{
  border-bottom:1px solid var(--linea);
  padding:4px 0;
}
details summary{
  cursor:pointer;
  list-style:none;
  font-weight:700;
  font-size:17px;
  padding:14px 30px 14px 0;
  position:relative;
}
details summary::-webkit-details-marker{display:none}
details summary::after{
  content:"+";
  position:absolute;right:4px;top:11px;
  font-size:23px;font-weight:600;color:var(--teja);
  line-height:1;
}
details[open] summary::after{content:"–"}
details .resp{padding:0 0 14px;color:var(--gris);font-size:16px}
details .resp p{margin:0 0 10px}
details .resp p:last-child{margin:0}

/* ---------- CIERRE ---------- */
.cierre{background:var(--azul);color:#fff;padding:40px 0 44px}
.cierre h2{color:#fff}
.cierre p{color:#dbe6f2}

footer{
  padding:26px 0 40px;
  font-size:13px;
  color:var(--gris);
  line-height:1.5;
}
footer p{margin:0 0 9px}
footer a{color:var(--gris)}

/* ---------- BARRA FIJA MÓVIL ---------- */
.barra{
  position:fixed;
  left:0;right:0;bottom:0;
  padding:9px 14px calc(9px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-top:1px solid var(--linea);
  transform:translateY(120%);
  transition:transform .25s ease;
  z-index:40;
}
.barra.visible{transform:translateY(0)}
.barra .wa{font-size:17px;padding:14px;box-shadow:none}
body.con-barra{padding-bottom:80px}

@media (min-width:760px){
  body{font-size:18px}
  .hero-img{height:300px}
  h1{font-size:40px}
  h2{font-size:28px}
  .wa{width:auto;display:inline-flex;padding:18px 34px}
  .wa-nota{text-align:left}
  figure img{height:280px}
  .barra{display:none}
  body.con-barra{padding-bottom:0}
}

@media (prefers-reduced-motion:reduce){
  .barra{transition:none}
}

.lead-hero{font-size:1.15rem;font-weight:600;margin:.2rem 0 1rem;opacity:.95}
