/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#07183b;background:#f5f8fb;line-height:1.5;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:3px solid #ff9d00;outline-offset:3px}
h1,h2,h3{margin:0}

/* ===== HERO ===== */
.hero{
  display:grid;
  grid-template-columns:42% 36% 22%;
  background:#05294a;
  color:white;
  overflow:hidden;
  min-height:360px;
}
.intro{
  padding:0 5% 28px;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.intro header{
  background:white;
  border-radius:0 0 80% 0;
  margin:0 -6% 20px;
  padding:10px 20px 14px;
}
.intro header img{
  width:min(100%,320px);
  height:auto;
}
.eyebrow{
  font-size:clamp(11px,1.1vw,16px);
  font-weight:700;
  letter-spacing:.08em;
  margin:0 0 10px;
  color:#a6ed22;
}
h1{
  font-size:clamp(28px,3.8vw,62px);
  line-height:1.03;
  font-style:italic;
  letter-spacing:-1px;
  margin-bottom:14px;
}
h1 em{
  display:block;
  font-style:normal;
  color:#a6ed22;
}
.hero-badges{
  display:flex;
  gap:20px;
  margin:0 0 20px;
  flex-wrap:wrap;
}
.hero-badges span{
  font-size:13px;
  line-height:1.3;
  opacity:.9;
  border-left:3px solid #a6ed22;
  padding-left:10px;
}
.hero-badges strong{
  display:block;
  font-size:14px;
  color:#a6ed22;
}
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.actions a{
  padding:14px 22px;
  border-radius:40px;
  font-weight:700;
  font-size:clamp(14px,1.1vw,17px);
  min-height:48px;
  display:flex;
  align-items:center;
  transition:opacity .15s;
}
.actions a:hover{opacity:.88}
.call{background:white;color:#07183b}
.wa{background:#078b28;color:white}
.local{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:0;
}
.tech{
  width:100%;
  height:100%;
  object-fit:cover;
  min-height:0;
  border-left:6px solid #a6ed22;
  border-radius:45% 0 0 0;
}

/* ===== SERVICIOS ===== */
.services{
  padding:28px clamp(14px,3vw,32px);
  background:white;
}
.section-title{
  font-size:clamp(20px,2.4vw,32px);
  margin-bottom:18px;
  color:#05294a;
  padding-left:4px;
  border-left:5px solid #a6ed22;
  padding-left:14px;
}
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.service{
  display:flex;
  align-items:center;
  gap:14px;
  border:1px solid #dce8f0;
  border-radius:18px;
  padding:14px;
  background:#fff;
  transition:box-shadow .15s, transform .12s;
  cursor:pointer;
}
.service:hover{
  box-shadow:0 4px 16px #05294a18;
  transform:translateY(-2px);
}
.service img{
  width:80px;
  min-width:80px;
  border-radius:12px;
  aspect-ratio:1.1;
  object-fit:cover;
}
.service h3{
  font-size:clamp(15px,1.4vw,20px);
  margin-bottom:4px;
  color:#05294a;
}
.service p{
  font-size:13px;
  margin:0;
  color:#3a5068;
}
.arrow{
  color:#1a8c2a;
  font-size:28px;
  margin-left:auto;
  flex-shrink:0;
}
.urgency-icon{
  font-size:40px;
  color:#05294a;
  flex-shrink:0;
  min-width:50px;
  text-align:center;
}
.service--urgency{
  background:linear-gradient(135deg,#05294a,#073d6e);
  color:white;
  border-color:#073d6e;
}
.service--urgency h3,.service--urgency p{color:white}
.service--urgency .arrow{color:#a6ed22}

/* ===== TABLERO DE COBERTURA ===== */
.coverage{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:24px;
  background:#07335c;
  color:white;
  border-radius:0 70px 70px 0;
  margin:28px 2% 28px 0;
  padding:28px 32px;
}
.cover-header{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:200px;
}
.cover-header img{
  width:80px;
  border-radius:14px;
  flex-shrink:0;
}
.cover-header .eyebrow{margin-bottom:6px}
.cover-header h2{
  font-size:clamp(20px,2.6vw,36px);
  font-style:italic;
}
.zones{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:11px;
}
.zone{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-height:46px;
  padding:9px 6px;
  background:linear-gradient(white,#dde7f0,#b3c3cf);
  color:#07183b;
  border-radius:24px;
  box-shadow:0 5px 0 #5c7a90, 0 7px 10px #001a2e55;
  font-weight:700;
  font-size:13px;
  transition:transform .12s, box-shadow .12s;
}
.zone:hover{
  transform:translateY(-2px);
  box-shadow:0 7px 0 #5c7a90, 0 10px 14px #001a2e55;
}
.zone:active{
  transform:translateY(3px);
  box-shadow:0 2px 0 #5c7a90;
}
.zone.primary{
  background:linear-gradient(#c9f03e,#5a9b00);
  color:#102800;
  box-shadow:0 5px 0 #3d6d00, 0 7px 10px #0a1e0055;
}
.zone.primary:hover{
  box-shadow:0 7px 0 #3d6d00, 0 10px 14px #0a1e0055;
}

/* ===== BENEFICIOS ===== */
.benefits{
  display:flex;
  justify-content:space-around;
  gap:16px;
  padding:28px 20px;
  flex-wrap:wrap;
  background:white;
  border-top:3px solid #a6ed22;
}
.benefit{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:clamp(14px,1.4vw,20px);
  color:#05294a;
}
.benefit-icon{
  font-size:2em;
  color:#078b28;
  line-height:1;
}
.benefit-icon--24{
  font-size:1.5em;
  font-weight:900;
  color:#078b28;
  font-style:italic;
}

/* ===== SEO TEXT ===== */
.seo-text{
  max-width:860px;
  margin:0 auto;
  padding:36px clamp(18px,4vw,48px);
  color:#1a2f46;
}
.seo-text h2{
  font-size:clamp(18px,2vw,26px);
  color:#05294a;
  margin:28px 0 10px;
  border-bottom:2px solid #d6e7f4;
  padding-bottom:8px;
}
.seo-text h2:first-child{margin-top:0}
.seo-text h3{
  font-size:clamp(16px,1.6vw,21px);
  color:#073d6e;
  margin:22px 0 8px;
}
.seo-text p{
  margin:0 0 14px;
  font-size:clamp(14px,1.1vw,17px);
  line-height:1.65;
}
.seo-text a{color:#0870b5;text-decoration:underline}

/* ===== FOOTER ===== */
footer{
  background:#05294a;
  color:white;
  padding:24px clamp(18px,4vw,80px);
  font-size:14px;
  line-height:1.9;
}
footer p{margin:0}
footer a{color:#a6ed22}
.ecosystem{opacity:.7;font-size:12px;margin-top:4px}

/* ===== WHATSAPP FLOTANTE ===== */
.floating-wa{
  position:fixed;
  bottom:24px;
  right:20px;
  background:#078b28;
  color:white;
  border:3px solid white;
  border-radius:50px;
  padding:12px 20px 12px 14px;
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:700;
  font-size:15px;
  box-shadow:0 4px 20px #0006;
  z-index:9999;
  transition:transform .15s, box-shadow .15s;
  /* Garantiza que nunca quede detrás de nada */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.floating-wa:hover{
  transform:scale(1.07);
  box-shadow:0 6px 26px #0008;
}

/* ===== RESPONSIVE TABLET ===== */
@media(max-width:900px){
  .hero{grid-template-columns:65% 35%}
  .intro{grid-column:1/-1;padding:0 20px 24px}
  .intro header{margin:0 -20px 16px}
  .local,.tech{height:220px}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .coverage{
    display:block;
    border-radius:0 28px 28px 0;
    margin-right:3%;
  }
  .cover-header{margin-bottom:18px}
  .zones{grid-template-columns:repeat(4,1fr)}
}

/* ===== RESPONSIVE MOBILE ===== */
@media(max-width:540px){
  .hero{grid-template-columns:1fr}
  .tech{display:none}
  .local{height:200px}
  .services-grid{grid-template-columns:1fr}
  .service img{width:70px;min-width:70px}
  .coverage{
    margin:16px 0;
    border-radius:0;
    padding:20px 16px;
  }
  .zones{grid-template-columns:repeat(2,1fr)}
  .cover-header{flex-wrap:wrap}
  .benefits{justify-content:flex-start;gap:12px}
  /* En mobile el botón flotante se reduce a ícono redondo */
  .floating-wa span{display:none}
  .floating-wa{
    border-radius:50%;
    padding:0;
    width:62px;
    height:62px;
    justify-content:center;
    bottom:20px;
    right:16px;
  }
  .floating-wa svg{width:38px;height:38px}
  .actions a{flex:1;text-align:center;padding:14px 10px}
  /* Espacio extra al final para que el botón flotante no tape contenido */
  footer{padding-bottom:88px}
}
