
:root{
  --bg:#edf6e6;
  --bg2:#f9fcf6;
  --ink:#132013;
  --muted:#60705f;
  --line:rgba(54,84,48,.14);
  --green:#75b718;
  --lime:#a8ee36;
  --dark:#103d24;
  --dark2:#1d5a32;
  --orange:#f59b25;
  --surface:rgba(255,255,255,.92);
  --shadow:0 18px 50px rgba(41,67,36,.11);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);line-height:1.58;
  background:
    radial-gradient(circle at 13% 7%,rgba(255,255,255,.96),transparent 24%),
    radial-gradient(circle at 86% 12%,rgba(201,230,175,.42),transparent 28%),
    linear-gradient(135deg,#edf6e5,#e5f0da 48%,#fbfdf9);
}
a{text-decoration:none;color:inherit}
img,video{display:block;max-width:100%}
.container{width:min(1180px,calc(100% - 38px));margin:auto}
.eyebrow{font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;font-weight:900;color:#466917}
h1,h2,h3{margin:0 0 15px;line-height:1.08}
h1{font-size:clamp(2.55rem,5.8vw,5.7rem);letter-spacing:-.045em}
h2{font-size:clamp(1.95rem,3.8vw,3.25rem);letter-spacing:-.035em}
h3{font-size:1.18rem}
p{margin:0 0 17px;color:var(--muted)}

.header{position:sticky;top:0;z-index:80;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 26px rgba(36,60,31,.05)}
.nav{height:94px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;min-width:250px}
.brand img{width:250px;height:74px;object-fit:contain;object-position:left center}
.menu{display:flex;align-items:center;gap:21px}
.menu>a,.dropbtn{font-weight:800;font-size:.92rem;color:#314631}
.menu>a:hover,.dropbtn:hover{color:var(--green)}
.dropdown{position:relative}
.dropdown-menu{
  position:absolute;top:calc(100% + 22px);left:50%;transform:translateX(-50%) translateY(8px);
  width:760px;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:18px;
  background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);
  opacity:0;visibility:hidden;transition:.2s
}
.dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.dropdown-menu a{padding:10px 12px;border-radius:11px;color:#526151;font-size:.86rem}
.dropdown-menu a:hover{background:#eef7e7;color:#3d6612}
.btn,.nav-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 19px;
  border-radius:13px;font-weight:900;border:1px solid transparent;transition:.2s;cursor:pointer
}
.btn-primary,.nav-cta{background:linear-gradient(135deg,#95d82b,#69ad10);color:#fff;box-shadow:0 11px 28px rgba(94,151,29,.20)}
.btn-primary:hover,.nav-cta:hover{transform:translateY(-2px) scale(1.025)}
.btn-secondary{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.32);color:#fff}
.menu-btn{display:none;border:0;background:none;font-size:1.5rem;color:#31502b}

/* moving service ribbon */
.marquee{overflow:hidden;background:linear-gradient(90deg,#0e3821,#1b5c31,#103d24);border-block:1px solid rgba(180,239,89,.18)}
.marquee-track{display:flex;width:max-content;gap:35px;padding:12px 0;color:#e7ffc6;font-size:.79rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase;animation:run 26s linear infinite}
.marquee-track span{white-space:nowrap;display:flex;gap:10px;align-items:center}
.marquee-track i{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 12px rgba(168,238,54,.85)}
@keyframes run{to{transform:translateX(-50%)}}

/* hero video */
.hero{position:relative;min-height:72vh;display:grid;align-items:center;overflow:hidden;background:#102f1d}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.98) contrast(1.03) brightness(.73)}
.hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(9,42,24,.95) 0%,rgba(14,61,32,.86) 38%,rgba(12,51,29,.42) 64%,rgba(9,31,18,.18) 100%)}
.hero::after{content:"";position:absolute;z-index:2;width:680px;height:680px;right:-150px;top:-190px;border-radius:50%;background:conic-gradient(from 0deg,transparent,rgba(171,236,66,.12),transparent 24%,rgba(246,162,38,.10),transparent 50%);animation:spin 18s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.hero-content{position:relative;z-index:5;padding:78px 0;max-width:830px}
.hero .eyebrow,.hero h1,.hero p{color:#fff}
.hero p{font-size:1.08rem;color:rgba(255,255,255,.84);max-width:700px}
.hero .accent{color:#b5ef5a}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.rotator{margin-top:24px;display:flex;align-items:center;gap:10px;color:#eaffcb;font-weight:900}
.rotator .word{min-width:190px;color:#b6ee58}
.energy-dots{position:absolute;inset:0;z-index:4;pointer-events:none}
.energy-dots b{position:absolute;width:6px;height:6px;border-radius:50%;background:#aff249;box-shadow:0 0 13px rgba(175,242,73,.9);opacity:0;animation:float 7s ease-in-out infinite}
.energy-dots b:nth-child(1){left:61%;top:73%}.energy-dots b:nth-child(2){left:70%;top:62%;animation-delay:1.1s}.energy-dots b:nth-child(3){left:79%;top:68%;animation-delay:2.4s}.energy-dots b:nth-child(4){left:86%;top:55%;animation-delay:3.2s}
@keyframes float{0%{transform:translateY(20px);opacity:0}25%{opacity:.9}100%{transform:translateY(-85px);opacity:0}}

.section{padding:62px 0}
.section-tight{padding:42px 0}
.section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:28px}
.section-head p{max-width:620px;margin:0}
.grid{display:grid;gap:18px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:.24s}
.card:hover{transform:translateY(-5px);border-color:rgba(117,183,24,.33)}
.card img{width:100%;height:170px;object-fit:cover;object-position:center}
.card-body{padding:18px}
.card p{font-size:.93rem}
.mini-link{font-weight:900;color:#3f6912}
.service-no{display:inline-grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#edf6e4;color:#446b18;font-weight:900;font-size:.75rem;margin-bottom:10px}

.dark-panel{position:relative;overflow:hidden;border-radius:28px;padding:34px;background:radial-gradient(circle at 84% 20%,rgba(174,238,72,.18),transparent 20%),linear-gradient(135deg,#103b23,#1b5c31);color:#fff;box-shadow:0 20px 48px rgba(22,62,34,.18)}
.dark-panel h2,.dark-panel p,.dark-panel .eyebrow{color:#fff}
.dark-panel::after{content:"∞";position:absolute;right:22px;bottom:-96px;font-size:17rem;line-height:1;font-weight:900;color:rgba(205,246,134,.07)}
.energy-line{height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,#a7ec3a,#ffd05a,#a7ec3a,transparent);background-size:220% 100%;animation:line 4s linear infinite;margin:18px 0}
@keyframes line{to{background-position:-220% 0}}

.page-hero{padding:62px 0 38px}
.page-hero .container{display:grid;grid-template-columns:1fr .9fr;gap:34px;align-items:center}
.page-hero img{width:100%;height:260px;object-fit:cover;border-radius:22px;border:1px solid var(--line);box-shadow:var(--shadow)}
.breadcrumb{font-size:.83rem;color:#70806f;margin-bottom:14px}.breadcrumb a{color:#416b13;font-weight:800}
.service-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.fact{padding:17px;border-radius:15px;background:rgba(255,255,255,.82);border:1px solid var(--line)}
.fact b{display:block;color:#395b17;margin-bottom:5px}
.process{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.step{padding:17px;border-radius:15px;background:rgba(255,255,255,.84);border:1px solid var(--line)}
.step b{display:block;color:#3d6215;margin-bottom:5px}

/* compact solar lab */
.lab{display:grid;grid-template-columns:.72fr 1.28fr;gap:18px}
.lab-card{background:rgba(255,255,255,.90);border:1px solid var(--line);border-radius:22px;padding:21px;box-shadow:var(--shadow)}
.solar-ring{width:185px;aspect-ratio:1;border-radius:50%;margin:10px auto;display:grid;place-items:center;position:relative;background:conic-gradient(from -90deg,#f5a024 0deg,#f2ca58 var(--solar-progress,0deg),#e6eddc var(--solar-progress,0deg),#e6eddc 360deg);box-shadow:inset 0 0 0 10px #fff}
.solar-ring::after{content:"";position:absolute;inset:24px;border-radius:50%;background:#f8fcf5}
.ring-core{position:relative;z-index:2;text-align:center}.ring-core strong{display:block;font-size:1.8rem;color:#355d12}.ring-core span{font-size:.78rem;color:#687668}
.sim-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sim-field{padding:14px;border-radius:14px;background:#f6faf2;border:1px solid var(--line)}
.sim-field label{display:flex;justify-content:space-between;font-weight:800;font-size:.86rem;margin-bottom:8px}.sim-field input{width:100%;accent-color:var(--green)}
.sim-results{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.sim-result{padding:13px;border-radius:13px;background:#eef6e7;border:1px solid var(--line)}
.sim-result span{display:block;font-size:.72rem;color:#748070}.sim-result strong{color:#3d6314}
.disclaimer{font-size:.73rem;color:#7d887b;margin-top:10px}

/* finder */
.finder-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}
.finder-buttons button{padding:10px 13px;border-radius:11px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.finder-buttons button:hover,.finder-buttons button.active{background:#b0ed56;color:#17371c;border-color:#b0ed56}
.finder-result{max-width:760px;padding:15px;border-radius:13px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.15)}

.form{background:rgba(255,255,255,.91);border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
input,textarea{width:100%;padding:12px 13px;border:1px solid rgba(56,86,50,.2);border-radius:11px;font:inherit;background:#fff;outline:none}
input:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(117,183,24,.10)}
textarea{min-height:115px}.field small{display:block;min-height:16px;color:#c65353}.field.valid input,.field.valid textarea{border-color:#57ad5a}.field.invalid input,.field.invalid textarea{border-color:#d65d5d}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:28px}

.footer{padding:34px 0 24px;background:#fff;border-top:1px solid var(--line)}
.footer-grid{display:grid;grid-template-columns:1.25fr .75fr .75fr;gap:26px}.footer img{width:210px}.footer a{display:block;color:#697568;margin:4px 0}.footer-bottom{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line);margin-top:24px;padding-top:18px;color:#7c887a;font-size:.83rem}
.whatsapp{position:fixed;right:20px;bottom:20px;z-index:90;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;font-size:1.55rem;box-shadow:0 14px 34px rgba(35,90,42,.25)}
.reveal{opacity:0;transform:translateY(18px);transition:.65s}.reveal.visible{opacity:1;transform:none}

@media(max-width:980px){
  .brand{min-width:200px}.brand img{width:205px;height:66px}.nav{height:84px}
  .menu{display:none;position:fixed;inset:84px 0 auto 0;background:#fff;padding:20px;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line)}
  .menu.open{display:flex}.menu-btn{display:block}.nav-cta{display:none}
  .dropdown-menu{position:static;transform:none!important;width:auto;opacity:1;visibility:visible;display:none;margin-top:8px}.dropdown.open .dropdown-menu{display:grid;grid-template-columns:1fr}
  .grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}.page-hero .container,.contact-grid,.lab{grid-template-columns:1fr}.process{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .container{width:min(100% - 26px,1180px)}.nav{height:74px}.brand{min-width:150px}.brand img{width:165px;height:56px}.menu{inset:74px 0 auto 0}
  .hero{min-height:66vh}.hero-content{padding:58px 0}.rotator{align-items:flex-start;flex-direction:column}
  .grid-4,.grid-3,.service-facts,.process,.form-grid,.sim-controls,.sim-results,.footer-grid{grid-template-columns:1fr}
  .page-hero{padding:52px 0 32px}.page-hero img{height:205px}.section{padding:52px 0}.section-head{align-items:start;flex-direction:column}
  .footer-bottom{flex-direction:column}
}

/* ===== V7 AJUSTE HERO Y TARJETAS ===== */
.hero{
  min-height:58vh !important;
  display:block !important;
  background:linear-gradient(90deg,#eef6e7 0%,#eef6e7 43%,#103d24 43%,#103d24 100%) !important;
}
.hero::before,.hero::after{display:none!important}
.hero-video{
  position:absolute!important;
  top:0!important;right:0!important;left:auto!important;bottom:0!important;
  width:57%!important;height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
  filter:saturate(.98) contrast(1.03) brightness(.85)!important;
}
.hero-content{
  position:relative!important;
  z-index:5!important;
  max-width:43%!important;
  padding:58px 34px 54px 0!important;
  margin-left:0!important;
}
.hero .eyebrow{color:#4d7117!important}
.hero h1{color:#172117!important;font-size:clamp(2.15rem,4.5vw,4.4rem)!important}
.hero .accent{color:#78b81d!important}
.hero p{color:#566654!important;font-size:1rem!important}
.hero .btn-secondary{background:#fff!important;color:#365a14!important;border-color:rgba(65,100,35,.22)!important}
.hero .rotator{color:#334531!important}
.hero .rotator .word{color:#6cab16!important}
.energy-dots{display:none!important}

/* softer left composition */
@media(min-width:981px){
  .hero .container{width:min(1180px,calc(100% - 38px));margin:auto}
}
@media(max-width:980px){
  .hero{background:#edf6e6!important;display:grid!important}
  .hero-video{position:relative!important;width:100%!important;height:280px!important;order:2!important}
  .hero-content{max-width:100%!important;padding:46px 0!important}
}

/* tighter cards and clearer images */
.card img{
  height:190px!important;
  object-fit:cover!important;
  object-position:center!important;
}
.grid-4{gap:20px!important}


/* ===== V8 HERO COMPLETAMENTE REDISEÑADO ===== */
.hero-v8{
  min-height:0 !important;
  display:block !important;
  padding:38px 0 46px !important;
  background:
    radial-gradient(circle at 12% 12%,rgba(255,255,255,.96),transparent 22%),
    radial-gradient(circle at 92% 18%,rgba(191,225,158,.24),transparent 25%),
    linear-gradient(135deg,#f8fbf5 0%,#edf5e6 52%,#e7f1dc 100%) !important;
  overflow:visible !important;
}
.hero-v8::before,.hero-v8::after{display:none!important}
.hero-v8-shell{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:42px;
  align-items:center;
  padding:34px 36px;
  border:1px solid rgba(62,94,52,.11);
  border-radius:30px;
  background:rgba(255,255,255,.72);
  box-shadow:0 24px 64px rgba(51,77,44,.10);
  backdrop-filter:blur(12px);
}
.hero-v8-copy{min-width:0;padding:6px 0}
.hero-v8-copy .eyebrow{color:#52751d;font-size:.72rem;letter-spacing:.16em}
.hero-v8-copy h1{
  margin-top:13px;
  max-width:700px;
  color:#182318 !important;
  font-size:clamp(2.45rem,4.8vw,4.9rem) !important;
  line-height:.99;
  letter-spacing:-.052em;
}
.hero-v8-copy h1 .accent{
  color:#4d7b17 !important;
  background:linear-gradient(90deg,#3e6f16,#83bd26);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.hero-v8-copy p{max-width:680px;color:#586757 !important;font-size:1.02rem !important;line-height:1.7}
.hero-v8-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.hero-btn-primary{
  background:linear-gradient(135deg,#f6a326,#e88617) !important;
  color:#fff !important;
  box-shadow:0 12px 28px rgba(226,132,21,.22) !important;
}
.hero-btn-primary:hover{box-shadow:0 16px 34px rgba(226,132,21,.29)!important}
.hero-btn-secondary{
  background:#153f55 !important;
  color:#fff !important;
  border-color:#153f55 !important;
  box-shadow:0 11px 26px rgba(21,63,85,.16)!important;
}
.hero-btn-secondary:hover{background:#0d3347!important}
.hero-v8-proof{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:26px;padding-top:21px;border-top:1px solid rgba(61,91,55,.12)}
.hero-v8-proof span{display:flex;align-items:center;gap:8px;color:#526151;font-size:.83rem;font-weight:750}
.hero-v8-proof b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eef5e8;color:#4c741a;font-size:.67rem}
.hero-v8-media{
  position:relative;
  min-width:0;
  border-radius:25px;
  overflow:hidden;
  background:#153c27;
  box-shadow:0 22px 48px rgba(29,67,38,.20);
  aspect-ratio:4/3;
  border:1px solid rgba(255,255,255,.65);
}
.hero-v8-media img{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.92) contrast(1.03)}
.hero-v8-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(7,33,18,.70) 100%);pointer-events:none}
.hero-v8-media-badge{position:absolute;z-index:3;top:16px;left:16px;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.88);backdrop-filter:blur(9px);color:#345b18;font-size:.75rem;font-weight:900;box-shadow:0 8px 22px rgba(0,0,0,.10)}
.hero-v8-media-badge .pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#78b820;margin-right:6px;box-shadow:0 0 0 0 rgba(120,184,32,.45);animation:v8pulse 1.8s infinite}
@keyframes v8pulse{70%{box-shadow:0 0 0 9px rgba(120,184,32,0)}100%{box-shadow:0 0 0 0 rgba(120,184,32,0)}}
.hero-v8-media-caption{position:absolute;z-index:3;left:20px;right:20px;bottom:18px;color:#fff;display:flex;justify-content:space-between;align-items:end;gap:16px}
.hero-v8-media-caption strong{font-size:1.12rem}.hero-v8-media-caption span{font-size:.76rem;color:rgba(255,255,255,.77);text-align:right}
@media(max-width:980px){
  .hero-v8-shell{grid-template-columns:1fr;padding:28px;gap:28px}
  .hero-v8-media{max-width:650px;width:100%;aspect-ratio:16/9}
}
@media(max-width:680px){
  .hero-v8{padding:20px 0 30px!important}
  .hero-v8-shell{padding:22px 18px;border-radius:23px}
  .hero-v8-copy h1{font-size:clamp(2.2rem,11vw,3.4rem)!important}
  .hero-v8-actions{flex-direction:column}.hero-v8-actions .btn{width:100%}
  .hero-v8-proof{flex-direction:column;align-items:flex-start}
  .hero-v8-media-caption{flex-direction:column;align-items:flex-start}.hero-v8-media-caption span{text-align:left}
}
@media(prefers-reduced-motion:reduce){.hero-v8-media-badge .pulse{animation:none}}

/* ===== V9: video atmosférico + footer compacto ===== */
.hero-v8{padding:34px 0 42px!important}
.hero-v8-shell{grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);gap:34px;padding:30px 32px;border-radius:26px}
.hero-v8-copy h1{font-size:clamp(2.35rem,4.25vw,4.35rem)!important;line-height:1.02;max-width:650px}
.hero-v8-media{aspect-ratio:16/10;border-radius:22px;box-shadow:0 18px 42px rgba(29,67,38,.16)}
.hero-v9-video{width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:saturate(.82) contrast(.96) brightness(.93)}
.hero-v8-media::before{content:"";position:absolute;z-index:2;inset:0;background:radial-gradient(ellipse at 58% 48%,rgba(255,255,255,.03) 0 26%,rgba(239,247,235,.13) 68%,rgba(235,244,230,.26) 100%),linear-gradient(90deg,rgba(239,247,235,.13),transparent 32%,rgba(236,245,232,.10));backdrop-filter:blur(.35px);pointer-events:none}
.hero-v8-media::after{z-index:2;background:linear-gradient(180deg,rgba(239,247,235,.05) 0%,transparent 52%,rgba(7,33,18,.54) 100%)}
.footer{padding:30px 0 12px!important}
.footer-grid{gap:32px!important;margin-bottom:18px!important}
.footer-grid img{max-width:165px!important;height:auto!important}
.footer-grid p{margin-top:6px!important}
.footer-grid h3{margin:0 0 10px!important}
.footer-grid a,.footer-grid span{margin-bottom:6px!important}
.footer-bottom{padding-top:14px!important;margin-top:8px!important}
@media(max-width:980px){.hero-v8-shell{grid-template-columns:1fr}.hero-v8-media{aspect-ratio:16/9}.footer{padding-top:24px!important}}
/* V10: botones principales uniformes en azul corporativo oscuro */
.hero-btn-primary,.hero-btn-secondary{
  background:#123f56!important;
  color:#fff!important;
  border:1px solid #123f56!important;
  box-shadow:0 10px 24px rgba(18,63,86,.18)!important;
}
.hero-btn-primary:hover,.hero-btn-secondary:hover{
  background:#0b3043!important;
  color:#fff!important;
  border-color:#0b3043!important;
  box-shadow:0 14px 30px rgba(18,63,86,.26)!important;
}

/* ===== V11: ajustes aprobados por cliente ===== */
.brand{min-width:280px}.brand img{width:280px;height:80px;object-fit:contain;object-position:left center}
.footer-grid img{width:205px!important;max-width:205px!important}.footer-grid>div:first-child{display:flex;align-items:flex-start}.footer{padding:24px 0 10px!important}.footer-bottom{margin-top:4px!important;padding-top:10px!important}
.dropdown-menu a{font-size:.86rem}.compact-service{padding:58px 0}.solution-cards .card img{height:210px;object-fit:cover}.feature-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 12px 34px rgba(40,70,40,.06)}.feature-card h3{margin:7px 0 10px}.lead{font-size:1.1rem;line-height:1.6}.investment{background:linear-gradient(145deg,#fff,#eef7e7)}.investment-grid{grid-template-columns:1fr 1fr}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.maintenance-list .feature-card{padding:20px}.maintenance-list h3{font-size:1.02rem}.split-highlight{display:grid;grid-template-columns:1fr .9fr;gap:34px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.split-highlight img{width:100%;height:310px;object-fit:cover;border-radius:18px}.premium-quote{margin-top:20px;padding:18px 20px;border-left:4px solid #76bd19;background:#eef6e7;border-radius:0 14px 14px 0;font-weight:800;color:#244514}.hero-v9-video{filter:saturate(.92) contrast(.98)}
@media(max-width:980px){.grid-5{grid-template-columns:repeat(2,1fr)}.split-highlight{grid-template-columns:1fr}.brand{min-width:205px}.brand img{width:215px;height:68px}}
@media(max-width:640px){.grid-2,.grid-5{grid-template-columns:1fr}.solution-cards .card img{height:190px}.brand{min-width:165px}.brand img{width:175px;height:58px}.compact-service{padding:44px 0}.split-highlight{padding:18px}.split-highlight img{height:220px}}

/* ===== V11: ajustes aprobados por cliente ===== */
.brand{min-width:280px}.brand img{width:280px;height:80px;object-fit:contain;object-position:left center}
.footer-grid img{width:205px!important;max-width:205px!important}.footer-grid>div:first-child{display:flex;align-items:flex-start}.footer{padding:24px 0 10px!important}.footer-bottom{margin-top:4px!important;padding-top:10px!important}
.dropdown-menu a{font-size:.86rem}.compact-service{padding:58px 0}.solution-cards .card img{height:210px;object-fit:cover}.feature-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:25px;box-shadow:0 12px 34px rgba(40,70,40,.06)}.feature-card h3{margin:7px 0 10px}.lead{font-size:1.1rem;line-height:1.6}.investment{background:linear-gradient(145deg,#fff,#eef7e7)}.investment-grid{grid-template-columns:1fr 1fr}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.maintenance-list .feature-card{padding:20px}.maintenance-list h3{font-size:1.02rem}.split-highlight{display:grid;grid-template-columns:1fr .9fr;gap:34px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}.split-highlight img{width:100%;height:310px;object-fit:cover;border-radius:18px}.premium-quote{margin-top:20px;padding:18px 20px;border-left:4px solid #76bd19;background:#eef6e7;border-radius:0 14px 14px 0;font-weight:800;color:#244514}.hero-v9-video{filter:saturate(.92) contrast(.98)}
@media(max-width:980px){.grid-5{grid-template-columns:repeat(2,1fr)}.split-highlight{grid-template-columns:1fr}.brand{min-width:205px}.brand img{width:215px;height:68px}}
@media(max-width:640px){.grid-2,.grid-5{grid-template-columns:1fr}.solution-cards .card img{height:190px}.brand{min-width:165px}.brand img{width:175px;height:58px}.compact-service{padding:44px 0}.split-highlight{padding:18px}.split-highlight img{height:220px}}

/* V12 — ajustes visuales unificados */
.brand img{width:205px!important;height:auto!important;max-height:82px!important;object-fit:contain!important}.nav{min-height:92px!important}.footer img{width:220px!important;height:auto!important;object-fit:contain!important}.footer{padding-top:28px!important}.footer-grid{padding-bottom:22px!important}.footer-bottom{padding:14px 0!important}.page-hero> .container>img{height:255px!important;object-fit:cover!important;object-position:center!important}.card>img{height:178px!important;object-fit:cover!important;object-position:center!important}.compact-apps .fact{min-height:190px}.solar-modes .card>img{height:220px!important}.solar-modes .card-body{min-height:210px}.solar-modes strong{color:#173f56}.btn-primary,.hero-actions .btn{background:#173f56!important;color:#fff!important;border-color:#173f56!important}.btn-primary:hover,.hero-actions .btn:hover{background:#0e3044!important}.footer-grid>div:first-child p{display:none!important}@media(max-width:800px){.brand img{width:165px!important}.nav{min-height:78px!important}.page-hero> .container>img{height:210px!important}.card>img{height:190px!important}}

/* V13: bloques de Termografía y Asesoría sin imagen duplicada */
.compact-service .split-highlight:has(> div:only-child){grid-template-columns:1fr;max-width:980px;margin-inline:auto}.compact-service .split-highlight:has(> div:only-child)>div{max-width:900px}

/* V14 — legibilidad de marca e imágenes suministradas por cliente */
.brand{min-width:300px!important}
.brand img{width:285px!important;height:78px!important;object-fit:contain!important;object-position:left center!important}
.footer-grid img{width:235px!important;max-width:235px!important;height:auto!important;object-fit:contain!important}
.solution-cards .card img{height:205px!important;object-fit:cover!important;object-position:center!important}
.contact-hero{padding:48px 0 28px!important}
.contact-hero .container{grid-template-columns:1.05fr .95fr!important;gap:42px!important}
.contact-hero .container>img{height:150px!important;object-fit:cover!important;border-radius:20px!important;box-shadow:0 14px 34px rgba(29,58,30,.10)!important}
@media(max-width:980px){.brand{min-width:215px!important}.brand img{width:215px!important;height:66px!important}.contact-hero .container{grid-template-columns:1fr!important}.contact-hero .container>img{height:145px!important}}
@media(max-width:640px){.brand{min-width:170px!important}.brand img{width:175px!important;height:56px!important}.footer-grid img{width:190px!important;max-width:190px!important}.solution-cards .card img{height:180px!important}.contact-hero .container>img{height:125px!important}}


/* ===== V15 CORREGIDA: PANORÁMICAS EN LA PARTE INFERIOR =====
   Se conserva SIN CAMBIOS la imagen superior de cada servicio.
*/
.service-panorama{
  margin-top:28px;
  width:100%;
}
.service-panorama .panorama-shell{
  width:100%;
  border-radius:20px;
  overflow:hidden;
  background:#0d1711;
  border:1px solid var(--line);
  box-shadow:0 14px 34px rgba(42,68,37,.10);
}
.service-panorama img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
}
.service-panorama .panorama-caption{
  margin-top:9px;
  font-size:.78rem;
  color:#748071;
}
@media(max-width:680px){
  .service-panorama{margin-top:20px}
  .service-panorama .panorama-shell{border-radius:15px}
}

/* V16: Termografía, Mantenimiento y Asesoría sin imagen lateral superior.
   Se conserva únicamente la panorámica inferior aprobada. */
.page-hero .container:has(> .hero-copy:only-child),
.page-hero .container:has(> div:first-child:last-child){
  grid-template-columns:1fr;
}


/* ===== V17: IMAGEN PANORÁMICA SUPERIOR MÁS PEQUEÑA =====
   Solo Termografía, Mantenimiento y Asesoría eléctrica.
*/
.upper-service-visual{
  padding:0 0 26px;
}
.upper-service-visual .container{
  display:flex;
  justify-content:center;
}
.upper-service-visual-frame{
  width:min(100%, 860px);
  border-radius:18px;
  overflow:hidden;
  background:#0d1711;
  border:1px solid var(--line);
  box-shadow:0 12px 28px rgba(42,68,37,.10);
}
.upper-service-visual-frame img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  object-position:center;
}
@media(max-width:980px){
  .upper-service-visual-frame{width:min(94%, 760px);}
}
@media(max-width:680px){
  .upper-service-visual{padding-bottom:20px;}
  .upper-service-visual-frame{
    width:100%;
    border-radius:14px;
  }
}

/* ===== V18: simplificación solicitada por cliente ===== */
.hero-v8-copy h1{font-size:clamp(2rem,3.7vw,4.15rem);line-height:1.04}
.lab:has(.lab-card:only-child){grid-template-columns:minmax(0,760px)!important;justify-content:center}
.lab:has(.lab-card:only-child) .lab-card{width:100%}
@media(max-width:680px){.hero-v8-copy h1{font-size:clamp(1.8rem,9vw,2.65rem)}}


/* ===== V19: TÍTULO PRINCIPAL MÁS ELEGANTE ===== */
.hero h1{
  font-size:clamp(2rem, 3.35vw, 3.65rem)!important;
  line-height:1.08!important;
  letter-spacing:-0.035em!important;
  max-width:980px!important;
  text-wrap:balance;
}
.hero-title-black{
  color:#101510;
  font-weight:750;
}
.hero-title-gradient{
  display:inline;
  font-weight:750;
  color:#198b43;
  background:linear-gradient(100deg,#151915 0%,#263126 12%,#176b39 42%,#35a853 70%,#79c85c 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
@media(max-width:680px){
  .hero h1{
    font-size:clamp(1.8rem, 8vw, 2.45rem)!important;
    line-height:1.12!important;
    letter-spacing:-0.025em!important;
  }
}


/* ===== V20: TÍTULO PRINCIPAL PREMIUM / DOS NIVELES ===== */
.hero h1{
  max-width:1000px!important;
  margin-bottom:18px!important;
  letter-spacing:-0.04em!important;
  line-height:1.02!important;
}
.hero-title-premium{
  display:block;
  font-size:clamp(2.35rem,4.15vw,4.55rem);
  line-height:1.01;
  font-weight:780;
  letter-spacing:-0.045em;
  color:#111512;
  text-wrap:balance;
}
.hero-title-energy{
  background:linear-gradient(105deg,#151915 0%,#202a22 22%,#176b3a 62%,#4cae59 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero-title-sub{
  display:block;
  max-width:880px;
  margin-top:20px;
  font-size:clamp(1.02rem,1.45vw,1.34rem);
  line-height:1.45;
  font-weight:520;
  letter-spacing:-0.012em;
  color:#6d746f;
  text-wrap:balance;
}
@media(max-width:680px){
  .hero-title-premium{
    font-size:clamp(2rem,9vw,2.8rem);
    line-height:1.04;
    letter-spacing:-0.035em;
  }
  .hero-title-sub{
    margin-top:15px;
    font-size:.98rem;
    line-height:1.48;
  }
}


/* ===== V21: imágenes de subpáginas suministradas por el cliente ===== */
.page-hero > .container > img{
  image-rendering:auto;
}
.electro-option-card{
  overflow:hidden;
}
.electro-option-image{
  display:block;
  width:calc(100% + 48px);
  max-width:none;
  height:230px;
  margin:-24px -24px 22px;
  object-fit:cover;
  object-position:center;
  border-radius:18px 18px 0 0;
}
@media(max-width:680px){
  .electro-option-image{
    width:calc(100% + 36px);
    height:205px;
    margin:-18px -18px 18px;
  }
}


/* ===== V22 · Electrolineras: imágenes completas sin recorte ===== */
.electrolineras-hero > .container{
  grid-template-columns:minmax(380px,.82fr) minmax(520px,1.18fr)!important;
  align-items:center!important;
  gap:38px!important;
}
.electrolineras-hero > .container > img{
  width:100%!important;
  height:auto!important;
  max-height:440px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
  padding:10px!important;
  border-radius:22px!important;
}
.electro-option-card{
  display:flex!important;
  flex-direction:column!important;
}
.electro-option-card .electro-option-image{
  width:100%!important;
  height:330px!important;
  max-width:100%!important;
  margin:0 0 22px 0!important;
  padding:8px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
  border-radius:18px!important;
  box-sizing:border-box!important;
}

/* ===== V22 · Nosotros: título más sofisticado ===== */
.nosotros-title-premium{
  display:inline;
  background:linear-gradient(100deg,#17231b 0%,#17231b 34%,#2f6f42 68%,#67b948 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1.04;
  text-wrap:balance;
}
@media(max-width:980px){
  .electrolineras-hero > .container{grid-template-columns:1fr!important}
  .electrolineras-hero > .container > img{max-height:380px!important}
}
@media(max-width:680px){
  .electro-option-card .electro-option-image{height:270px!important}
}


/* ===== V23 FINAL: Diseños eléctricos completos + nueva imagen Mantenimiento ===== */
.page-hero.disenos-electricos-v23 > .container{
  grid-template-columns:minmax(360px,.76fr) minmax(620px,1.24fr)!important;
  gap:42px!important;
  align-items:center!important;
}
.page-hero.disenos-electricos-v23 > .container > img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:0!important;
  background:#101913!important;
  border-radius:22px!important;
}
.upper-service-visual-frame img[src*="mantenimiento-v23.jpg"]{
  width:100%!important;
  height:auto!important;
  max-height:440px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}
@media(max-width:980px){
  .page-hero.disenos-electricos-v23 > .container{grid-template-columns:1fr!important}
}


/* ===== V24 · CORRECCIÓN VISUAL EXCLUSIVA DE MANTENIMIENTO =====
   Mantiene la imagen suministrada en V23, pero cambia su presentación:
   - cuadro más pequeño y proporcionado
   - sin fondo/franjas blancas laterales
   - la foto ocupa completamente el marco
   - recorte controlado para evitar ampliarla de forma exagerada
*/
.upper-service-visual-frame:has(img[src*="mantenimiento-v23.jpg"]){
  width:min(92%, 700px)!important;
  height:360px!important;
  background:transparent!important;
  border:0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 14px 34px rgba(22,45,27,.16)!important;
}
.upper-service-visual-frame img[src*="mantenimiento-v23.jpg"]{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center 42%!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
}

@media(max-width:760px){
  .upper-service-visual-frame:has(img[src*="mantenimiento-v23.jpg"]){
    width:min(94%, 560px)!important;
    height:300px!important;
  }
}
@media(max-width:520px){
  .upper-service-visual-frame:has(img[src*="mantenimiento-v23.jpg"]){
    width:100%!important;
    height:250px!important;
    border-radius:16px!important;
  }
}


/* ===== V25 · MANTENIMIENTO: fotografía compacta lateral ===== */
.upper-service-visual-frame:has(img[src*="mantenimiento-v25.jpg"]){
  width:min(100%, 430px)!important;
  height:auto!important;
  min-height:0!important;
  margin:18px 0 18px auto!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 12px 28px rgba(20,40,25,.14)!important;
}
.upper-service-visual-frame img[src*="mantenimiento-v25.jpg"]{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
@media(max-width:760px){
  .upper-service-visual-frame:has(img[src*="mantenimiento-v25.jpg"]){
    width:min(88%, 390px)!important;
    margin:16px auto!important;
  }
}


/* ===== V26 · MANTENIMIENTO HORIZONTAL CENTRADO ===== */
.upper-service-visual-frame:has(img[src*="mantenimiento-horizontal-v26.png"]){
  width:min(100%, 820px)!important;
  height:auto!important;
  min-height:0!important;
  margin:24px auto 18px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 12px 30px rgba(20,40,25,.13)!important;
}
.upper-service-visual-frame img[src*="mantenimiento-horizontal-v26.png"]{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
@media(max-width:760px){
  .upper-service-visual-frame:has(img[src*="mantenimiento-horizontal-v26.png"]){
    width:min(96%, 680px)!important;
    margin:18px auto 14px!important;
    border-radius:14px!important;
  }
}
