
:root{
  --azul:#061a31;
  --azul2:#0d6efd;
  --azul3:#03101f;
  --verde:#67e329;
  --verde2:#18b750;
  --cyan:#28d7ff;
  --blanco:#ffffff;
  --texto:#d8e8ff;
  --muted:#91a4bf;
  --glass:rgba(8,26,49,.68);
  --line:rgba(255,255,255,.16);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b2a4c 0%, #03101f 45%, #020814 100%);
  color:var(--blanco);
  overflow-x:hidden;
}
a{text-decoration:none}

.eco-navbar{
  background:rgba(2,12,23,.78);
  backdrop-filter: blur(18px);
  border-bottom:1px solid var(--line);
  padding:10px 0;
}
.nav-logo{
  width:62px;
  height:42px;
  object-fit:contain;
}
.navbar-brand span{
  color:#fff;
  font-weight:800;
  letter-spacing:.3px;
  font-size:1.3rem;
}
.navbar-toggler{border-color:rgba(255,255,255,.25)}
.navbar-toggler-icon{filter:invert(1)}
.nav-link{
  color:#fff !important;
  margin:0 14px;
  font-weight:600;
  opacity:.9;
  position:relative;
}
.nav-link.active::after,
.nav-link:hover::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:0;
  height:3px;
  border-radius:10px;
  background:var(--verde);
}
.btn-eco{
  background:linear-gradient(135deg, var(--verde2), var(--verde));
  color:#fff;
  border:none;
  border-radius:10px;
  padding:12px 24px;
  font-weight:800;
  box-shadow:0 12px 35px rgba(30,220,80,.28);
}
.btn-eco:hover{color:#fff; transform:translateY(-2px)}
.btn-blue{
  display:inline-block;
  background:linear-gradient(135deg, #084fb5, var(--azul2));
  color:#fff;
  border-radius:10px;
  padding:12px 24px;
  font-weight:800;
  border:none;
  box-shadow:0 12px 35px rgba(13,110,253,.25);
}
.btn-blue:hover{color:#fff; transform:translateY(-2px)}

.hero-premium{
  position:relative;
  min-height:760px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding-top:80px;
}
.hero-bg{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  transform:skewX(-8deg) scale(1.08);
  transform-origin:center;
}
.panel{
  min-height:760px;
  border-left:1px solid rgba(40,215,255,.18);
  border-right:1px solid rgba(40,215,255,.12);
  background-size:cover;
  background-position:center;
  filter:saturate(1.2) contrast(1.05);
}
.panel-solar{background:linear-gradient(rgba(0,40,70,.25),rgba(0,10,25,.85)), url("https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=1200&auto=format&fit=crop")}
.panel-cctv{background:linear-gradient(rgba(0,40,70,.25),rgba(0,10,25,.88)), url("https://images.unsplash.com/photo-1558002038-1055907df827?q=80&w=1200&auto=format&fit=crop")}
.panel-network{background:linear-gradient(rgba(0,40,70,.2),rgba(0,10,25,.9)), url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?q=80&w=1200&auto=format&fit=crop")}
.panel-access{background:linear-gradient(rgba(0,40,70,.25),rgba(0,10,25,.86)), url("https://images.unsplash.com/photo-1562408590-e32931084e23?q=80&w=1200&auto=format&fit=crop")}
.panel-clima{background:linear-gradient(rgba(0,40,70,.1),rgba(0,10,25,.84)), url("https://images.unsplash.com/photo-1621905251189-08b45d6a269e?q=80&w=1200&auto=format&fit=crop")}
.panel-software{background:linear-gradient(rgba(0,40,70,.1),rgba(0,10,25,.84)), url("https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=1200&auto=format&fit=crop")}
.hero-shade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(0,220,120,.18), transparent 28%),
    linear-gradient(90deg, rgba(2,8,18,.76), rgba(2,8,18,.18), rgba(2,8,18,.82)),
    linear-gradient(0deg, #020814 0%, rgba(2,8,18,.18) 42%, rgba(2,8,18,.7) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:940px;
}
.hero-logo{
  width:190px;
  max-width:42vw;
  height:auto;
  object-fit:contain;
  margin-bottom:16px;
  filter:drop-shadow(0 20px 45px rgba(0,0,0,.55));
}
.hero-content h1{
  font-size:clamp(3rem, 7vw, 6rem);
  font-weight:900;
  line-height:.95;
  text-shadow:0 12px 40px rgba(0,0,0,.45);
}
.hero-content h1 span{color:var(--verde)}
.hero-content h2{
  font-size:clamp(1.4rem, 3vw, 2.3rem);
  font-weight:800;
}
.hero-content h2 span{color:var(--verde)}
.hero-content p{
  color:#e9f5ff;
  font-size:1.15rem;
  max-width:760px;
  margin:18px auto 0;
}
.hero-actions{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:28px;
}

.service-strip{
  margin-top:-70px;
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:repeat(8,1fr);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:rgba(5,20,38,.78);
  backdrop-filter:blur(20px);
  box-shadow:0 20px 70px rgba(0,0,0,.32);
}
.strip-item{
  color:#fff;
  text-align:center;
  padding:24px 10px;
  border-right:1px solid var(--line);
  font-weight:800;
  text-transform:uppercase;
  font-size:.85rem;
}
.strip-item:last-child{border-right:0}
.strip-item span{
  display:block;
  font-size:2.1rem;
  margin-bottom:8px;
}
.strip-item:hover{
  background:rgba(40,215,255,.08);
  color:#fff;
}

.section{
  padding:90px 0;
}
.section-dark{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.04));
}
.section-title{
  text-align:center;
  margin-bottom:36px;
}
.section-title h2{
  font-size:clamp(2rem, 5vw, 3rem);
  font-weight:900;
}
.section-title h2 span{color:var(--verde)}
.section-title p{color:var(--muted); max-width:760px; margin:0 auto}

.grid-solutions{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}
.glass-card,
.service-card,
.product-card,
.glass-panel,
.contact-form,
.mini-card{
  border:1px solid var(--line);
  background:linear-gradient(145deg, rgba(12,38,68,.72), rgba(3,16,31,.74));
  backdrop-filter:blur(16px);
  border-radius:18px;
  box-shadow:0 18px 55px rgba(0,0,0,.25);
}
.glass-card{
  text-align:center;
  padding:34px 18px;
}
.glass-card span{font-size:3rem; display:block; margin-bottom:16px}
.glass-card h3{font-size:1.05rem; font-weight:800}

.service-card{
  padding:30px;
  height:100%;
  transition:.25s ease;
}
.service-card:hover,
.product-card:hover,
.glass-card:hover{
  transform:translateY(-6px);
  border-color:rgba(103,227,41,.55);
}
.service-card span{font-size:2.8rem}
.service-card h3{font-size:1.35rem; font-weight:900; margin-top:16px}
.service-card p{color:var(--muted)}

.product-card{
  padding:28px;
  height:100%;
}
.product-icon{font-size:2.4rem; margin-bottom:14px}
.product-card h3{font-size:1.15rem; font-weight:900}
.product-card p{color:var(--muted); min-height:72px}
.product-card strong{font-size:1.8rem; color:var(--verde); display:block; margin:10px 0}
.product-card a{color:#fff; font-weight:800}

.brands{
  padding-top:40px;
}
.brand-list{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
}
.brand-list span{
  padding:14px 22px;
  border:1px solid var(--line);
  border-radius:50px;
  background:rgba(255,255,255,.06);
  font-weight:800;
  color:#dff4ff;
}

.page-hero{
  padding:155px 0 70px;
  text-align:center;
  background:
    radial-gradient(circle at top, rgba(103,227,41,.18), transparent 28%),
    linear-gradient(180deg, #061a31, #020814);
}
.page-hero h1{
  font-size:clamp(2.5rem,6vw,4.8rem);
  font-weight:900;
}
.page-hero p{
  color:var(--texto);
  max-width:780px;
  margin:auto;
  font-size:1.15rem;
}
.glass-panel{
  padding:40px;
}
.glass-panel h2{font-weight:900}
.glass-panel p{color:var(--texto)}
.mini-card{padding:24px;height:100%}
.mini-card strong{color:var(--verde);font-size:1.2rem}
.contact-form{
  padding:34px;
}
.contact-form label{
  font-weight:800;
  margin:12px 0 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:13px 15px;
  outline:none;
}
.contact-form option{color:#000}

.footer-eco{
  padding:42px 0;
  background:#020814;
  border-top:1px solid var(--line);
}
.footer-logo{
  width:78px;
  height:60px;
  object-fit:contain;
}
.footer-eco h5{font-weight:900}
.footer-eco p{color:var(--muted);margin:0}

.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:99;
  background:#20d466;
  color:#fff;
  padding:14px 18px;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 16px 45px rgba(32,212,102,.4);
}
.whatsapp-float:hover{color:#fff; transform:scale(1.04)}

@media(max-width:1200px){
  .service-strip{grid-template-columns:repeat(4,1fr)}
  .grid-solutions{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
  .eco-navbar{
    background:rgba(2,12,23,.94);
  }
  .nav-logo{
    width:48px;
    height:36px;
  }
  .navbar-brand span{font-size:1rem}
  .hero-premium{
    min-height:680px;
    padding-top:96px;
  }
  .hero-bg{
    grid-template-columns:repeat(3,1fr);
    opacity:.8;
  }
  .panel{
    min-height:680px;
  }
  .hero-logo{
    width:120px;
    max-width:36vw;
  }
  .hero-content h1{
    font-size:3rem;
  }
  .hero-content h2{
    font-size:1.25rem;
  }
  .hero-content p{
    font-size:1rem;
    padding:0 10px;
  }
  .service-strip{
    margin-top:-35px;
    grid-template-columns:repeat(2,1fr);
    width:92%;
  }
  .strip-item{
    padding:18px 8px;
    font-size:.75rem;
  }
  .grid-solutions{
    grid-template-columns:repeat(2,1fr);
  }
  .section{
    padding:62px 0;
  }
  .glass-panel{
    padding:26px;
  }
  .whatsapp-float{
    right:14px;
    bottom:14px;
    padding:12px 15px;
    font-size:.9rem;
  }
}
@media(max-width:480px){
  .grid-solutions{grid-template-columns:1fr}
  .hero-actions .btn{width:100%}
}


/* =========================
   EcoNova Fase 2 Premium
   ========================= */

.fase2-hero .hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.42;
  z-index:0;
}

.hero-bg-animated .panel{animation: ecoPanelMove 18s ease-in-out infinite alternate;}
.hero-bg-animated .panel:nth-child(2){animation-delay:1.5s}
.hero-bg-animated .panel:nth-child(3){animation-delay:3s}
.hero-bg-animated .panel:nth-child(4){animation-delay:4.5s}
.hero-bg-animated .panel:nth-child(5){animation-delay:6s}
.hero-bg-animated .panel:nth-child(6){animation-delay:7.5s}

@keyframes ecoPanelMove{
  0%{background-position:center top; filter:saturate(1.05) contrast(1)}
  100%{background-position:center bottom; filter:saturate(1.35) contrast(1.1)}
}

.hero-content::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:760px;
  height:760px;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(103,227,41,.14), transparent 62%);
  z-index:-1;
  animation:pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow{
  0%,100%{opacity:.55; transform:translate(-50%,-50%) scale(.95)}
  50%{opacity:1; transform:translate(-50%,-50%) scale(1.05)}
}

.stats-section{position:relative; z-index:4; margin-top:40px;}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.stat-card{
  text-align:center;
  border:1px solid var(--line);
  background:linear-gradient(145deg, rgba(12,38,68,.78), rgba(3,16,31,.82));
  border-radius:22px;
  padding:30px 18px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.stat-card strong{
  display:block;
  font-size:clamp(2rem, 4vw, 3.4rem);
  font-weight:950;
  color:var(--verde);
  line-height:1;
}
.stat-card span{
  display:block;
  margin-top:10px;
  color:var(--texto);
  font-weight:800;
}

.why-section{
  background:
    radial-gradient(circle at left, rgba(13,110,253,.16), transparent 32%),
    radial-gradient(circle at right, rgba(103,227,41,.14), transparent 32%);
}
.why-card{
  height:100%;
  padding:30px;
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(18px);
  transition:.25s ease;
}
.why-card:hover{
  transform:translateY(-7px);
  border-color:rgba(103,227,41,.55);
  background:rgba(255,255,255,.08);
}
.why-card span{font-size:2.6rem; display:block; margin-bottom:14px;}
.why-card h3{font-weight:900; font-size:1.2rem;}
.why-card p{color:var(--muted); margin:0;}

.product-image-sim{
  width:100%;
  height:135px;
  border-radius:16px;
  margin-bottom:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:3rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(103,227,41,.25), transparent 30%),
    linear-gradient(135deg, rgba(13,110,253,.28), rgba(2,8,18,.82));
  border:1px solid rgba(255,255,255,.12);
}

.brand-list span{transition:.25s ease;}
.brand-list span:hover{
  transform:translateY(-4px);
  color:#fff;
  border-color:rgba(103,227,41,.6);
  box-shadow:0 16px 42px rgba(103,227,41,.13);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color:rgba(103,227,41,.75);
  box-shadow:0 0 0 4px rgba(103,227,41,.12);
}
.eco-navbar.scrolled{background:rgba(2,12,23,.94);}

@media(max-width:992px){
  .stats-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:576px){
  .stats-grid{grid-template-columns:1fr;}
  .stat-card{padding:24px 16px;}
  .product-image-sim{height:115px;}
}
