@import url('https://fonts.googleapis.com/css?family=Roboto:400,300,500');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fefefe;
  color: #333;
  line-height: 1.6;
}

/* ===== Navbar FSI elegante ===== */
:root{
  --bar-h: 92px;
  --bg: #ffffff;
  --text: #0f172a;
  --muted:#475569;
  --line:#e2e8f0;

  /* Paleta FSI */
  --primary:#00c853;
  --primary-600:#00b24a;
  --primary-700:#009624;

  /* Accentos */
  --soft: #e8f5e9;
}

.topbar{
  position: sticky; top:0; left:0; right:0;
  z-index: 9999;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1faf4 100%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.topbar__container{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 28px;
}

/* Logo */
.topbar__brand{
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  padding-left: 4px;
}
.topbar__logo{
  height: 56px;
  width: auto; display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

/* Menú */
.topbar__nav{ display:flex; align-items:center; gap: 22px; }
.topbar__menu{
  list-style:none; display:flex; align-items:center; gap: 18px;
}
.topbar__menu > li > a{
  position: relative;
  display:inline-block;
  text-decoration:none;
  color: var(--text);
  font-weight: 700;
  padding: 14px 10px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.topbar__menu > li > a::after{
  content:"";
  position:absolute; left:10px; right:10px; bottom:8px;
  height: 3px; border-radius: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.topbar__menu > li > a:hover{ color:#064e3b; background: var(--soft); }
.topbar__menu > li > a:hover::after{ transform: scaleX(1); }
.topbar__menu > li > a.is-active::after{ transform: scaleX(1); }

/* Submenú */
.has-submenu{ position: relative; }
.topbar, .topbar__container, .topbar__nav { overflow: visible; }

/* puente anti-gap */
.has-submenu::after{
  content:"";
  position:absolute; left:0; right:0; top:100%; height:12px;
}

.has-submenu .submenu{
  position:absolute; top:100%; left:0;
  margin-top: 8px;
  display:none;
  z-index:10000;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1faf4 100%);
  border:1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  padding:8px;
  min-width:230px;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu{ display:block; }

.submenu li{ list-style:none; }
.submenu a{
  display:block; padding:10px 12px; border-radius:10px;
  color:#000; text-decoration:none; font-weight:600; white-space: nowrap;
}
.submenu a:hover{ background: rgba(30,241,58,0.677); }

/* Acciones */
.topbar__actions{ display:flex; align-items:center; gap: 12px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height: 46px; padding: 0 18px; border-radius: 12px;
  font-weight: 800; letter-spacing:.2px;
  text-decoration:none; border:1px solid transparent;
  transition: background .2s, border-color .2s, transform .04s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,200,83,.08);
}
.btn:active{ transform: translateY(1px); }
.btn--outline{ color: var(--primary); border-color: var(--primary); background: #fff; }
.btn--outline:hover{ background: rgba(0,200,83,.10); box-shadow: 0 6px 18px rgba(0,200,83,.14); }
.btn--primary{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  color:#fff; border: 1px solid var(--primary-600);
}
.btn--primary:hover{ filter: brightness(1.04); box-shadow: 0 10px 26px rgba(0,150,36,.22); }

/* Hamburguesa */
.topbar__hamburger{
  display:none; margin-left:auto;
  width: 46px; height: 46px;
  border:1px solid var(--line); border-radius: 12px; background:#fff;
  align-items:center; justify-content:center; cursor:pointer;
}
.topbar__hamburger span{ display:block; width:22px; height:2px; background:#111; }
.topbar__hamburger span + span{ margin-top:6px; }

/* Scroll */
.topbar.is-scrolled{
  background: rgba(255,255,255,0.86);
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Empuje de contenido */
body{ scroll-padding-top: var(--bar-h); }

/* Responsive */
@media (max-width: 1100px){
  .topbar__container{ column-gap: 18px; }
  .topbar__logo{ height: 52px; }
}
@media (max-width: 980px){
  .topbar__hamburger{ display:flex; position: relative; z-index: 10001; }
  .topbar__nav{
    position: fixed;
    top: var(--bar-h);
    left: 0; right: 0;
    background:#fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    z-index: 10000; /* debajo del botón, encima del resto */
  }
  .topbar__nav.is-open{ display:flex; }
}


/* ===== HERO ===== */
.hero {
  background: url('img/fondo.png') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 60px 20px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.contenido-hero { position: relative; z-index: 2; }
.contenido-hero h1 { font-size: 3rem; margin-bottom: 20px; }
.contenido-hero p { font-size: 1.2rem; margin-bottom: 30px; }
.btn-cta {
  margin-top: 20px; padding: 14px 28px;
  background: #00c853; color: white; border: none; border-radius: 30px;
  font-weight: bold; text-decoration: none; cursor: pointer; transition: background 0.3s;
}
.btn-cta:hover { background: #009624; }

.container { max-width: 1500px; margin: auto; padding: 40px 20px; }

/* ===== SERVICIOS ===== */
.titulo-servicios { text-align: center; font-size: 2.4rem; margin-bottom: 40px; font-weight: 700; }
.grid-servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; justify-items: center; }
.servicio-item {
  background: #f2f2f2; border-radius: 20px; padding: 30px 20px; text-align: center; width: 100%;
  transition: background-color 0.6s ease, color 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease;
}
.icono-grande { font-size: 75px; }
.servicio-item p { font-size: 1rem; font-weight: 700; color: #333; margin-top: 10px; }
.servicio-item:hover { background: #00c853; color: white; transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.servicio-item:hover p, .servicio-item:hover i { color: white; }

/* ===== PROYECTOS ===== */
.galeria { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.galeria img { width: 300px; height: 200px; object-fit: cover; border-radius: 10px; }

/* ===== CONTACTO ===== */
.contacto form { max-width: 600px; margin: auto; display: flex; flex-direction: column; gap: 15px; }
form input, form textarea {
  padding: 12px; border: 1px solid #ccc; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 1rem;
}

/* ===== FOOTER ===== */
footer { background: #111; color: white; padding: 20px 0; text-align: center; }
.footer-content { display: flex; flex-direction: column; gap: 10px; }
footer .redes a { color: #ccc; margin: 0 10px; text-decoration: none; }
footer .redes a:hover { color: #00c853; }

/* ===== MAPA Y CAPSULAS ===== */
.mapa-cobertura {
  background: linear-gradient(to bottom, #e8f5e9, #ffffff);
  padding: 60px 20px; text-align: center;
}
.mapa-cobertura h2 { font-size: 2.2rem; color: #00c853; margin-bottom: 10px; font-weight: 700; }
.mapa-cobertura p { font-size: 1.1rem; color: #555; margin-bottom: 30px; }
.mapa-capsulas { display: flex; gap: 30px; align-items: stretch; }
.mapa-box { flex: 1; }
.mapa-box #map {
  height: 400px; width: 100%; border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); overflow: hidden;
}
.capsulas-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 15px; }
.capsula {
  background: #4CAF50; color: white; padding: 15px 20px; border-radius: 40px; font-size: 1rem;
  text-align: left; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: background 0.3s, transform 0.2s;
}
.capsula:hover { background: #FFD600; color: #333; transform: translateY(-3px); }

/* ===== MODAL ===== */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); }
.modal-content { background-color: #333; color: #fff; margin: 5% auto; padding: 40px; border-radius: 15px; width: 90%; max-width: 900px; position: relative; text-align: left; }
.close { color: #aaa; position: absolute; top: 15px; right: 25px; font-size: 30px; cursor: pointer; }
.close:hover { color: #fff; }
.modal-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.icono-modal { font-size: 70px; color: #00c853; }
#modalTitulo { font-size: 2rem; font-weight: bold; margin: 0; }
#modalDescripcion { font-size: 1.2rem; line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .grid-servicios { grid-template-columns: repeat(2, 1fr); }
  .mapa-capsulas { flex-direction: column; }
  .capsulas-info, .mapa-box { width: 100%; }
}
@media (max-width: 600px) {
  .grid-servicios { grid-template-columns: 1fr; }
}

/* Saludo usuario */
.saludo-usuario {
  position: fixed; top: 10px; right: 10px;
  background-color: rgba(0, 200, 83, 0.9); color: white;
  padding: 6px 12px; border-radius: 20px; font-size: 14px; z-index: 9999;
}

/* Proyectos */
.proyectos { background-color: #e8f5e9; padding: 50px 20px; text-align: center; }
.proyectos h2 { color: #00c853; margin-bottom: 30px; font-size: 2em; }
.carousel-container { display: flex; align-items: center; justify-content: center; gap: 20px; }
.carousel {
  position: relative; width: 80%; max-width: 700px; overflow: hidden;
  border-radius: 20px; box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3); height: 400px;
}
.slides { display: flex; width: 100%; height: 100%; transition: transform 1s ease-in-out; }
.slides img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; border-radius: 20px; }
.carousel-btn {
  background-color: #00c853; color: white; border: none; padding: 15px; font-size: 22px;
  border-radius: 50%; box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4); cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}
.carousel-btn:hover { background-color: #009624; transform: scale(1.1); }
.carousel-btn i { pointer-events: none; }

/* ===== Formulario de contacto ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
* { box-sizing: border-box; }

/* (Este body afecta solo si lo cargas después; lo dejo como lo tenías) */
body { font-family: 'Montserrat', sans-serif; margin: 0; padding: 0; background: #f9f9f9; color: #333; }

.contacto-container {
  display: flex; min-height: 60vh; max-width: 1000px; margin: 20px auto;
  background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.form-section { flex: 1; padding: 25px; background: #ffffff; }
.form-section h2 { color: #00c853; margin-bottom: 6px; font-weight: 600; font-size: 1.2rem; }
.form-section p { color: #666; margin-bottom: 15px; font-size: 0.85rem; }
form { display: flex; flex-direction: column; }
form label { margin-bottom: 3px; font-size: 0.85rem; color: #333; }
form input[type="text"], form input[type="email"], form textarea {
  padding: 8px 10px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 0.9rem; transition: border-color 0.3s;
}
form input[type="text"]:focus, form input[type="email"]:focus, form textarea:focus { outline: none; border-color: #00c853; }
form textarea { resize: vertical; min-height: 70px; }
#button { background: #00c853; color: white; border: none; padding: 9px; border-radius: 5px; font-size: 0.95rem; cursor: pointer; transition: background 0.3s; }
#button:hover { background: #00b24a; }
.grafica-section { flex: 1; background: #e8f5e9; padding: 25px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.grafica-section h3 { color: #00c853; margin-bottom: 12px; font-size: 1rem; }
.grafica-placeholder {
  width: 80%; height: 180px; border: 2px dashed #00c853; border-radius: 6px;
  display: flex; justify-content: center; align-items: center; color: #00c853; font-size: 0.9rem;
}
@media (max-width: 768px){
  .contacto-container { flex-direction: column; }
  .grafica-placeholder { width: 100%; height: 150px; }
}

/* Opiniones */
.opiniones-section { text-align: center; }
.opiniones-section textarea {
  width: 90%; padding: 8px; margin: 8px 0; border: 1px solid #ccc; border-radius: 8px; font-family: 'Inter', sans-serif;
}
.opiniones-section select { padding: 6px; border: 1px solid #ccc; border-radius: 6px; font-family: 'Inter', sans-serif; }
.opiniones-list { margin-top: 15px; text-align: left; max-height: 300px; overflow-y: auto; }
.opinion-item { background: #fff; border: 1px solid #ddd; border-radius: 10px; margin: 8px auto; padding: 10px 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.opinion-header { display: flex; justify-content: space-between; align-items: center; }
.estrellas { color: #FFD600; }

/* ===== WhatsApp flotante (FA, icono siempre visible) ===== */
.wapp-float{
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0; /* sin huecos que muevan el icono */
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
  z-index: 99999;
  text-decoration: none;
  overflow: hidden; /* mantiene el pill limpio */
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, width .25s ease;
  animation: wappPulse 2.8s ease-out infinite;
}
.wapp-float i.fa-brands.fa-whatsapp{
  flex: 0 0 auto; /* no shrink */
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  color: #fff;
}
.wapp-label{
  max-width: 0;          /* no empuja al icono */
  opacity: 0;
  margin-left: 0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  transition: max-width .25s ease, opacity .18s ease, margin-left .18s ease;
}
@media (hover: hover){
  .wapp-float:hover{
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(0,0,0,.24);
    width: 220px;                 /* pill */
    border-radius: 999px;
  }
  .wapp-float:hover .wapp-label{
    max-width: 160px;             /* aparece el texto sin empujar el icono */
    opacity: 1;
    margin-left: 10px;
  }
}
/* Pulso suave */
@keyframes wappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.35); }
  70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
/* Responsive */
@media (max-width: 480px){
  .wapp-float{ right: 16px; bottom: 16px; width: 56px; height: 56px; font-size: 26px; }
}
/* Evita superponer con cookiebar si la tienes */
@media (min-width: 481px){
  .has-cookiebar .wapp-float{ bottom: 80px; }
}

/* --- Botón flotante Instagram --- */
.insta-float {
  position: fixed;
  bottom: 100px; /* un poco arriba del de WhatsApp */
  right: 20px;
  background-color: #E1306C; /* color Instagram */
  color: #fff;
  border-radius: 50px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  z-index: 9999;
}

.insta-float:hover {
  background-color: #C13584;
  padding: 10px 20px;
}

.insta-float i {
  font-size: 28px;
}

.insta-label {
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  margin-left: 0;
  transition: max-width .25s ease, opacity .18s ease, margin-left .18s ease;
}

.insta-float:hover .insta-label {
  max-width: 200px;
  opacity: 1;
  margin-left: 10px;
}

/* ===== Acerca de nosotros ===== */
.about{
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
  padding: 60px 20px;
}

.about .container{ max-width: 1200px; }

.pill{
  display: inline-flex; align-items:center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700; font-size: .9rem;
  color: var(--primary-700);
  background: rgba(0,200,83,.12);
  border: 1px solid rgba(0,200,83,.22);
}

.about__header{
  text-align: center;
  margin-bottom: 28px;
}
.about__header h2{
  font-size: 2.2rem;
  margin: 12px 0 8px;
  color: var(--text);
}
.about__lead{
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Grid */
.about__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.about__card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .24s ease, border-color .24s ease;
}
.about__card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,150,36,.12);
  border-color: rgba(0,200,83,.35);
}
.about__card h3{
  margin-top: 10px; margin-bottom: 10px;
  font-size: 1.2rem; color: #064e3b;
}
.about__card p{ color: #334155; }

.about__icon{
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--soft) 0%, #fff 100%);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.about__icon i{ color: var(--primary-700); font-size: 20px; }

/* Valores */
.about__values .values{
  list-style: none; padding-left: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
}
.values li{
  display: flex; align-items: center; gap: 10px;
  color: #1f2937; font-weight: 700;
}
.values li i{ color: var(--primary-600); }

/* CTA */
.about__cta{
  margin-top: 28px;
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
}

/* Responsive */
@media (max-width: 980px){
  .about__grid{ grid-template-columns: 1fr; }
}

/* ===== Cobertura Nacional ===== */
.coverage{
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
  padding: 60px 20px;
}
.coverage .container{
  max-width: 1200px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
  align-items: start;
}
.coverage__content h2{
  font-size: 2.2rem;
  margin: 12px 0 8px;
  color: var(--text);
}
.coverage__lead{
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
}
.coverage__bullets{
  margin: 18px 0 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.coverage__bullets > div{
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  color: #1f2937;
  box-shadow: 0 8px 26px rgba(0,0,0,.05);
}
.coverage__bullets i{ color: var(--primary-600); }

.coverage__actions{
  margin-top: 16px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.coverage__actions .btn{
  min-width: 200px;
}

/* Tarjeta lateral */
.coverage__card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.coverage__card i{
  font-size: 40px; color: var(--primary-700);
}
.coverage__card h3{
  margin: 10px 0 6px; color:#064e3b;
}
.coverage__card p{ color:#334155; }

/* Responsive */
@media (max-width: 980px){
  .coverage .container{ grid-template-columns: 1fr; }
  .coverage__bullets{ grid-template-columns: 1fr; }
}

@media (max-width: 980px){
  .topbar__hamburger{ display:flex; position: relative; z-index: 10001; } /* delante del nav */
  .topbar__nav{
    position: fixed;
    top: var(--bar-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;          /* oculto por defecto */
    z-index: 10000;         /* debajo del botón, encima del resto */
  }
  .topbar__nav.is-open{ display:flex; }
}

/* ===== Toast FSI ===== */
.toast{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0 auto;
  max-width: 560px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 6px solid #00c853;
  border-radius: 14px;
  padding: 12px 14px;
  display: none;               /* oculto por defecto */
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 50px rgba(2,8,23,.18);
  z-index: 100000;
  animation: toastIn .25s ease-out;
}
.toast.is-visible{ display: flex; }
@keyframes toastIn {
  from { transform: translateY(6px); opacity: .85; }
  to   { transform: translateY(0);   opacity: 1; }
}
.toast__icon{
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,200,83,.10);
  color: #00a44a;
  flex: 0 0 auto;
}
.toast__icon i{ font-size: 18px; }
.toast__content{
  display: grid; gap: 2px; line-height: 1.3; color: #0f172a;
}
.toast__content strong{ font-size: .98rem; }
.toast__content span{ color: #475569; font-size: .95rem; }
.toast__close{
  margin-left: auto;
  border: 0; background: transparent; cursor: pointer;
  font-size: 22px; line-height: 1; color: #64748b;
  padding: 6px; border-radius: 8px;
}
.toast--error{ border-left-color:#ef4444; }
.toast--error .toast__icon{ background: rgba(239,68,68,.10); color:#b91c1c; }

/* ===== BOTÓN FLOTANTE FACEBOOK ===== */
.fb-float {
  position: fixed;
  bottom: 140px;        /* <- lo pone arriba de Instagram (100px) y WhatsApp (60px) */
  right: 20px;
  background: #1877f2;  /* Azul Facebook */
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.fb-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.fb-label {
  display: none; /* opcional: mostrar texto como con insta/wa si quieres */
}
/* ===== ¿POR QUÉ ELEGIRNOS? ===== */
.why {
  padding: 56px 0;
  background: #f7faf9;
  font-family: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.why .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.why .pill {
  display: inline-block;
  background: #e8fff2;
  color: #0b7d3b;
  border: 1px solid #b9f3cf;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
}

.why__title {
  margin: 10px 0 26px;
  font-size: 2rem;
  line-height: 1.15;
  color: #0f172a;
  font-weight: 800;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why__item {
  background: #fff;
  border: 1px solid #e7eeea;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0 6px 20px rgba(2,8,23,.06);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.why__item:hover {
  transform: translateY(-3px);
  border-color: #dae6e0;
  box-shadow: 0 10px 26px rgba(2,8,23,.10);
}

.why__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ecfdf5;
  color: #00c853;
  font-size: 22px;
  margin-bottom: 10px;
}

.why__h3 {
  margin: 6px 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.why__p {
  color: #475569;
  font-size: .98rem;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 980px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why__grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp (abajo del todo) */
.wapp-float {
  bottom: 20px;   /* queda al fondo */
}

/* Instagram (encima de WhatsApp) */
.insta-float {
  bottom: 85px;   /* 65px más arriba */
}

/* Facebook (encima de Instagram) */
.fb-float {
  bottom: 150px;  /* 65px más arriba que Instagram */
}

/* ===================== */
/* HERO — Mejora visual  */
/* ===================== */

/* Fondo con capa de gradientes suaves, grano sutil y brillo radial */
.hero{
  position: relative;
  min-height: 92vh;                 /* un pelín más comprimido que 100vh */
  padding: 80px 24px;               /* más respiración en desktop */
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  isolation: isolate;               /* para que los pseudo no afecten hijos */
}

/* Oscurecido principal (ya tienes ::before, refinamos) */
.hero::before{
  content:"";
  position: absolute; inset:0;
  background:
    radial-gradient(1200px 600px at 70% 30%, rgba(0,200,83,.16), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.60) 70%, rgba(0,0,0,.70) 100%);
  z-index: 0;
}

/* Brillo diagonal muy tenue */
.hero::after{
  content:"";
  position:absolute; inset:-2px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  mix-blend-mode: overlay;
  pointer-events:none;
  z-index:0;
}

/* Chip/Pill más “glass” */
.contenido-hero .pill{
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.10));
  border: 1px solid rgba(255,255,255,.28);
  color: #eafff3;
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
}

/* Título grande con mejor legibilidad y sutil degradado */


/* Párrafo intro más claro y contenido */
.contenido-hero p{
  font-size: clamp(1.02rem, .96rem + .4vw, 1.25rem);
  color: #eaf4ee;
  opacity: .96;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* Badges debajo del párrafo — “chips” con glass y animación escalonada */
.hero-badges{
  margin: 18px auto 0;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  max-width: 880px;
}
.hero-badges span{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  color: #0f172a;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  transform: translateY(8px);
  opacity: 0;
  animation: chipIn .5s ease-out forwards;
}
.hero-badges span i{ color: #00d866; }

/* Stagger sin JS */
.hero-badges span:nth-child(1){ animation-delay: .06s; }
.hero-badges span:nth-child(2){ animation-delay: .16s; }
.hero-badges span:nth-child(3){ animation-delay: .26s; }

/* CTA verde pulida (tu .btn-cta) */
.btn-cta{
  margin-top: 22px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .2px;
  background: linear-gradient(135deg, #00c853, #009b49);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow:
    0 14px 35px rgba(0,150,36,.35),
    inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .06s ease, filter .18s ease, box-shadow .2s ease;
}
.btn-cta:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 18px 46px rgba(0,150,36,.45),
    inset 0 1px 0 rgba(255,255,255,.32);
}
.btn-cta:active{ transform: translateY(0); }

/* Pequeño “halo” detrás del bloque (sin tocar HTML) */
.contenido-hero::after{
  content:"";
  position:absolute; left:50%; top: -12%;
  width: 680px; height: 680px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,200,83,.18), rgba(0,200,83,0));
  filter: blur(6px);
  z-index:-1;
  pointer-events:none;
}

/* Animaciones */
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(8px); }
  to  { opacity:1; transform: translateY(0); }
}
@keyframes chipIn{
  from{ opacity:0; transform: translateY(8px) scale(.98); }
  to  { opacity:1; transform: translateY(0)   scale(1); }
}

/* ===================== */
/* HERO — Responsive     */
/* ===================== */
@media (max-width: 768px){
  .hero{ min-height: 70vh; padding: 54px 16px; text-align: left; }
  .contenido-hero{ max-width: 640px; margin: 0; }
  .contenido-hero h1{ font-size: clamp(1.8rem, 5.8vw, 2.4rem); }
  .contenido-hero p{ font-size: 1rem; }
  .hero-badges{ justify-content: flex-start; }
  .hero-badges span{ font-size: .9rem; padding: 7px 10px; }
  .btn-cta{ width: auto; border-radius: 10px; }
}

/* ===================== */
/* “¿Por qué elegirnos?” */
/* (solo retoques suaves)*/
/* ===================== */
.why{
  background: linear-gradient(180deg,#f8fbf9 0%, #ffffff 100%);
}
.why__item{
  border-color: #e6efe9;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfffd 100%);
  box-shadow: 0 8px 26px rgba(2,8,23,.06);
}
.why__icon{
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px rgba(0,200,83,.08);
}

