/*
Theme Name: IGELEC
Theme URI: https://igelec.cl/
Author: IGELEC
Description: Tema landing page personalizado para IGELEC Generadores Eléctricos.
Version: 1.18.0
Text Domain: igelec
*/
:root{--blue:#0873be;--navy:#071d33;--yellow:#f7c52b;--ink:#102033;--muted:#5e6b78;--light:#f4f7fa;--white:#fff;--line:#dce4eb;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #edf1f4}.header-inner{height:86px;display:flex;align-items:center;gap:30px}.logo{display:flex;align-items:center;height:100%;flex:0 0 auto}.logo img{width:180px;height:64px;object-fit:contain}.nav{margin-left:auto;display:flex;gap:26px;font-weight:700;font-size:14px}.header-phone{font-weight:800;color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:6px;font-weight:900;font-size:14px;border:2px solid transparent;transition:.2s}.btn-yellow{background:var(--yellow);color:#07192b}.btn-outline{border-color:#fff;color:#fff}.btn-blue{background:var(--blue);color:#fff}.hero{min-height:560px;position:relative;display:flex;align-items:center;background-size:cover;background-position:center}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,18,34,.94) 0%,rgba(3,18,34,.78) 43%,rgba(3,18,34,.12) 72%)}.hero-content{position:relative;z-index:1;color:#fff;max-width:720px;padding:58px 0}.eyebrow{display:flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;font-size:13px}.eyebrow:before{content:"";width:28px;height:5px;background:var(--yellow);border-radius:5px}.hero h1{font-size:clamp(40px,5vw,62px);line-height:.98;margin:22px 0}.hero h1 span{color:var(--yellow)}.hero p{font-size:18px;max-width:620px}.hero-actions{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap}.trustbar{background:var(--navy);color:#fff}.trust-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.trust-item{padding:20px;text-align:center;font-weight:800;border-right:1px solid rgba(255,255,255,.12)}section{padding:84px 0}.section-head{text-align:center;max-width:760px;margin:0 auto 40px}.section-head h2{font-size:40px;line-height:1.1;margin:10px 0}.section-head p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 12px 30px rgba(10,32,50,.07)}.card img{height:230px;width:100%;object-fit:cover}.card-body{padding:26px}.card h3{font-size:24px;line-height:1.05;margin:0 0 12px}.card p{color:var(--muted)}.text-link{font-weight:900;color:var(--blue)}.special{background:var(--light)}.special-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.special-item{background:#fff;border:1px solid var(--line);border-radius:9px;padding:28px 18px;text-align:center}.special-icon{width:54px;height:54px;border-radius:12px;margin:0 auto 18px;background:#e8f4fc;color:var(--blue);display:grid;place-items:center;font-size:25px;font-weight:900}.special-item h3{font-size:17px;line-height:1.2}.special-item p{font-size:14px;color:var(--muted)}.terrain{background:var(--navy);color:#fff}.terrain .section-head{text-align:left;margin-left:0}.terrain .section-head p{color:#c6d1dc}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gallery img{height:260px;width:100%;object-fit:cover;border-radius:8px;border:1px solid rgba(255,255,255,.2)}.about-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:55px}.about-grid img{border-radius:10px;min-height:430px;object-fit:cover}.about-copy h2{font-size:44px;line-height:1.05;margin:14px 0}.about-copy p{color:var(--muted);font-size:18px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px}.check{font-weight:800}.check:before{content:"✓";color:var(--blue);margin-right:8px}.quote{background:linear-gradient(135deg,#06294a,#075f9b);color:#fff}.quote-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;align-items:center}.quote h2{font-size:44px;line-height:1.05}.contact-lines{margin-top:25px;font-size:18px}.contact-lines a{display:block;margin:8px 0;font-weight:800}.quote-form{background:#fff;color:var(--ink);padding:30px;border-radius:10px;box-shadow:0 18px 50px rgba(0,0,0,.22)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.quote-form input,.quote-form select,.quote-form textarea{width:100%;padding:14px;border:1px solid var(--line);border-radius:5px;font:inherit}.quote-form textarea{min-height:130px;resize:vertical}.full{grid-column:1/-1}.form-message{padding:10px 0;font-weight:800}.site-footer{background:#061728;color:#d9e3ec;padding:36px 0}.footer-inner{display:flex;align-items:center;gap:30px;justify-content:space-between}.footer-inner img{width:180px;height:72px;object-fit:contain;filter:none}.footer-nav{display:flex;gap:20px;font-size:14px}.whatsapp{position:fixed;right:24px;bottom:24px;z-index:60;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:#fff;font-size:28px;font-weight:900;box-shadow:0 8px 24px rgba(0,0,0,.25)}.mobile-toggle{display:none}.anchor{scroll-margin-top:82px}@media(max-width:900px){.nav,.header-phone{display:none}.mobile-toggle{display:block;margin-left:auto;border:0;background:none;font-size:28px}.nav.open{display:flex;position:absolute;top:82px;left:0;right:0;background:#fff;padding:24px;flex-direction:column;border-bottom:1px solid var(--line)}.hero{min-height:580px}.trust-inner{grid-template-columns:1fr 1fr}.cards,.special-grid,.gallery{grid-template-columns:1fr 1fr}.about-grid,.quote-grid{grid-template-columns:1fr}.special-grid{gap:12px}}@media(max-width:600px){.wrap{width:min(100% - 28px,var(--max))}.header-inner{height:72px}.logo img{width:145px;height:54px}.hero{min-height:610px;background-position:62% center}.hero-content{padding:70px 0}.hero h1{font-size:43px}.hero p{font-size:17px}.trust-inner,.cards,.special-grid,.gallery,.form-grid,.checks{grid-template-columns:1fr}.trust-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}section{padding:64px 0}.section-head h2,.about-copy h2,.quote h2{font-size:34px}.gallery img{height:220px}.footer-inner{flex-direction:column;align-items:flex-start}.footer-nav{flex-wrap:wrap}.whatsapp{right:16px;bottom:16px}}

/* v1.3 logo and phone icon refinements */
.logo img{width:180px;height:58px;object-fit:contain;object-position:center}.footer-inner img{width:180px;height:68px;object-fit:contain;background:transparent}.phone-icon{font-family:Arial,sans-serif;display:inline-block;color:#fff;font-size:0}.phone-icon:before{content:"\260E";font-size:20px;display:inline-block;transform:rotate(-20deg);font-weight:400}@media(max-width:600px){.logo img{width:145px;height:50px}.footer-inner img{width:160px;height:62px}}

/* v1.4 requested refinements */
.logo img{width:205px;height:64px;object-fit:contain}
.footer-inner img{width:190px;height:74px;object-fit:contain;background:transparent}
.phone-icon{display:inline-flex;align-items:center;vertical-align:middle;margin-right:7px;font-size:inherit}
.phone-icon:before{content:none!important}
.phone-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.logo img{width:165px;height:56px}.footer-inner img{width:175px;height:68px}}


/* v1.5 contacto, confirmación y marca */
.logo img{width:235px;height:68px;object-fit:contain}
.contact-lines a{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%}
.form-message{padding:0;font-weight:400}
.form-message-success,.form-message-error{border-radius:10px;padding:30px;text-align:center}
.form-message-success{background:#eef9f1;border:2px solid #2f9e58;color:#123b22}
.form-message-error{background:#fff1f1;border:2px solid #c93b3b;color:#651c1c}
.form-message h3{font-size:25px;line-height:1.2;margin:8px 0 10px}
.form-message p{font-size:17px;line-height:1.55;margin:0 auto 18px;max-width:560px}
.success-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 12px;border-radius:50%;background:#2f9e58;color:#fff;font-size:34px;font-weight:900}
.new-quote-link{display:inline-flex;padding:10px 16px;border-radius:6px;background:#123b22;color:#fff;font-weight:800}
@media(max-width:900px){.logo img{width:215px;height:64px}}
@media(max-width:600px){.logo img{width:175px;height:56px}.contact-lines{font-size:16px}.form-message-success,.form-message-error{padding:24px 18px}.form-message h3{font-size:22px}}


/* v1.6 — identidad IGELEC, confirmación limpia, responsive y footer */
:root{--igelec-blue:#075f9b;--igelec-blue-deep:#064a79;--igelec-yellow:#f7c52b}
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{position:relative}
.wrap{max-width:100%}
.quote{background:var(--igelec-blue);color:#fff}
.terrain,.trustbar{background:var(--igelec-blue-deep)}

/* Confirmación: sin caja verde ni bloque adicional */
.quote-form:has(.form-message-success){background:transparent;box-shadow:none;padding:0;color:#fff}
.form-message-success{background:transparent!important;border:0!important;color:#fff!important;border-radius:0!important;padding:18px 0!important;text-align:left!important}
.form-message-success p{max-width:560px;margin:0 0 20px!important;color:#fff;font-size:20px;line-height:1.5}
.form-message-success p strong{font-size:26px}
.form-message-success .success-icon,.form-message-success h3{display:none!important}
.new-quote-link{background:transparent!important;color:#fff!important;border:2px solid #fff;padding:11px 18px;border-radius:6px;font-weight:800}
.new-quote-link:hover{background:#fff!important;color:var(--igelec-blue)!important}

/* Footer más completo y ordenado */
.site-footer{background:var(--igelec-blue-deep);color:#fff;padding:54px 0 30px}
.footer-inner{display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:start;gap:40px}
.footer-brand img{width:190px;height:auto;object-fit:contain}
.footer-inner h3{margin:0 0 12px;font-size:19px;color:#fff}
.footer-inner p{margin:0;line-height:1.8;color:#eaf4fb}
.footer-inner a{color:inherit}
.footer-nav{grid-column:1/-1;display:flex;justify-content:center;gap:30px;padding-top:26px;border-top:1px solid rgba(255,255,255,.18);font-size:15px}
.footer-inner small{grid-column:1/-1;display:block;text-align:center;color:#dcecf6}

@media(max-width:900px){
  .quote-grid{width:100%;grid-template-columns:1fr;overflow:hidden}
  .quote-grid>*{min-width:0}
  .quote-form,.form-grid,.form-grid>*{min-width:0;max-width:100%}
  .footer-inner{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:600px){
  .wrap{width:calc(100% - 32px);margin-left:auto;margin-right:auto}
  .hero h1{font-size:34px;line-height:1.04;overflow-wrap:anywhere}
  .hero h1 span{font-size:.72em;line-height:1.18;display:block;margin-top:8px}
  .quote h2{font-size:31px;line-height:1.1}
  .quote p{max-width:100%}
  .quote-grid{gap:34px}
  .quote-form{width:100%;padding:22px 18px}
  .quote-form:has(.form-message-success){padding:0}
  .quote-form input,.quote-form select,.quote-form textarea,.quote-form button{width:100%;max-width:100%;min-width:0}
  .contact-lines a{width:100%;overflow-wrap:anywhere}
  .form-message-success{text-align:center!important;padding:8px 0 12px!important}
  .form-message-success p{font-size:17px;text-align:center;margin:0 auto 18px!important}
  .form-message-success p strong{font-size:21px}
  .site-footer{padding:52px 0 32px}
  .footer-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:28px}
  .footer-brand img{width:150px;height:auto;margin:auto}
  .footer-inner h3{font-size:22px;margin-bottom:8px}
  .footer-inner p{font-size:16px;line-height:1.75}
  .footer-nav{width:100%;display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding-top:26px}
  .footer-inner small{width:100%;font-size:14px;text-align:center}
  .whatsapp{right:14px;bottom:18px}
}

/* v1.9 — corrección estructural: header, hero natural, CTA, footer blanco */
:root{--igelec-blue:#0873be;--igelec-yellow:#f7c52b;--igelec-ink:#102033}
html,body{width:100%;max-width:100%;overflow-x:hidden}
img,video,iframe{max-width:100%}
.wrap{width:min(1180px,calc(100% - 40px));max-width:1180px;margin-inline:auto}

/* Cabecera: logo con presencia real y distribución horizontal tipo corporativa */
.site-header{background:#fff;border-top:3px solid var(--igelec-blue);border-bottom:1px solid #e5ebf0;box-shadow:0 2px 12px rgba(16,32,51,.05)}
.header-inner{height:98px;gap:28px;overflow:visible}
.logo{width:225px;height:76px;display:flex;align-items:center;justify-content:flex-start;flex:0 0 225px}
.logo img{width:220px!important;height:72px!important;max-width:none;object-fit:contain;object-position:left center}
.nav{gap:28px;font-size:15px;white-space:nowrap}
.header-phone{font-size:16px;white-space:nowrap;color:var(--igelec-blue)}
.site-header .btn-yellow{padding:13px 24px;min-width:116px}

/* Hero: fotografía natural; sólo degradado neutro para legibilidad */
.hero{background-color:#243443;background-position:center;background-size:cover}
.hero:before{background:linear-gradient(90deg,rgba(7,18,29,.78) 0%,rgba(7,18,29,.58) 37%,rgba(7,18,29,.20) 62%,rgba(7,18,29,.04) 100%)!important}

/* Eliminar azul oscuro de las franjas de marca */
.trustbar,.terrain{background:var(--igelec-blue)!important}
.quote{background:var(--igelec-blue)!important}

/* CTA de servicios: botones inequívocos en azul IGELEC */
.service-cta{margin-top:18px;display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-width:230px;padding:13px 18px;background:var(--igelec-blue);border:2px solid var(--igelec-blue);border-radius:7px;color:#fff!important;font-weight:900;font-size:14px;letter-spacing:.01em;transition:transform .18s ease,filter .18s ease}
.service-cta:hover{filter:brightness(.92);transform:translateY(-1px)}
.service-cta span{font-size:20px;line-height:1}

/* Confirmación aprobada */
.form-message-success{border-top:1px solid rgba(255,255,255,.4)!important;padding-top:22px!important}
.success-kicker{display:flex;align-items:center;gap:10px;color:#fff;font-size:14px;font-weight:900;letter-spacing:.08em;margin-bottom:15px}
.success-check{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--igelec-yellow);color:var(--igelec-ink);font-size:19px;letter-spacing:0}

/* Footer blanco claramente separado de contacto */
.site-footer{background:#fff!important;color:var(--igelec-ink)!important;padding:58px 0 30px!important;border-top:1px solid #dce4eb}
.footer-inner{display:grid!important;grid-template-columns:1.1fr 1fr 1fr!important;align-items:start!important;gap:50px!important;text-align:left!important}
.footer-brand{display:flex;align-items:flex-start}
.footer-brand img{width:245px!important;height:auto!important;max-height:92px;object-fit:contain;filter:none!important;margin:0!important}
.footer-inner h3{color:var(--igelec-blue)!important;font-size:20px!important;margin:0 0 14px!important}
.footer-inner p{color:#425466!important;line-height:1.85!important;margin:0!important}
.footer-inner a{color:inherit!important}
.footer-inner a:hover{color:var(--igelec-blue)!important}
.footer-nav{grid-column:1/-1!important;display:flex!important;justify-content:center!important;gap:30px!important;padding-top:25px!important;border-top:1px solid #dce4eb!important;color:var(--igelec-blue)!important;font-weight:700}
.footer-inner small{grid-column:1/-1!important;color:#667788!important;text-align:center!important}

@media(max-width:1100px){
  .header-inner{gap:18px}.logo{width:190px;flex-basis:190px}.logo img{width:188px!important}.nav{gap:18px;font-size:14px}.header-phone{font-size:14px}
}
@media(max-width:900px){
  .header-inner{height:86px;position:relative}.logo{width:205px;height:68px;flex:0 0 205px}.logo img{width:200px!important;height:64px!important}
  .site-header .btn-yellow{margin-left:auto;padding:11px 18px;min-width:104px}
  .mobile-toggle{margin-left:0;color:var(--igelec-blue)}
  .nav.open{top:85px;z-index:70}
  .footer-inner{grid-template-columns:1fr 1fr!important}.footer-brand{grid-column:1/-1}.footer-brand img{width:220px!important}
}
@media(max-width:600px){
  .wrap{width:calc(100% - 30px);max-width:100%}
  .header-inner{height:78px;gap:10px}
  .logo{width:150px;height:60px;flex:0 0 150px}.logo img{width:148px!important;height:56px!important}
  .site-header .btn-yellow{font-size:13px;padding:10px 13px;min-width:88px;border-radius:6px}
  .mobile-toggle{font-size:27px;padding:5px;flex:0 0 auto}
  .hero{background-position:58% center}
  .hero:before{background:linear-gradient(90deg,rgba(7,18,29,.78) 0%,rgba(7,18,29,.58) 58%,rgba(7,18,29,.22) 100%)!important}
  .service-cta{width:100%;min-width:0;padding:14px 18px}
  .site-footer{padding:46px 0 28px!important}
  .footer-inner{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:26px!important}
  .footer-brand img{width:205px!important;margin:auto!important}
  .footer-nav{width:100%;gap:16px!important;flex-wrap:wrap!important}
  .footer-inner small{width:100%}
}

/* v1.10 — logo original IGELEC + iconos de correo SVG */
.mail-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-right:8px;flex:0 0 auto}
.mail-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.contact-lines a{display:flex;align-items:center}
.footer-brand img{opacity:1!important;filter:none!important}

/* v1.11 — ajustes solicitados: header con logo protagonista + footer tipo corporativo Gensa */
.site-header .header-inner{height:104px!important;gap:26px!important}
.site-header .logo{width:270px!important;flex:0 0 270px!important;height:88px!important}
.site-header .logo img{width:265px!important;height:84px!important;max-width:none!important;object-fit:contain!important;object-position:left center!important}

.site-footer{background:#fff!important;border-top:7px solid var(--igelec-blue)!important;padding:52px 0 26px!important}
.site-footer .footer-inner{display:grid!important;grid-template-columns:1.15fr 1fr 1fr!important;gap:56px!important;align-items:start!important;text-align:left!important}
.site-footer .footer-brand{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;min-height:120px}
.site-footer .footer-brand img{display:block!important;width:285px!important;height:auto!important;max-height:none!important;opacity:1!important;filter:none!important;visibility:visible!important;object-fit:contain!important;margin:0!important}
.site-footer h3{color:var(--igelec-blue)!important;font-size:21px!important;font-weight:800!important;margin:4px 0 14px!important}
.site-footer p{color:#425466!important;font-size:16px!important;line-height:1.8!important;margin:0!important}
.site-footer .footer-nav{grid-column:1/-1!important;display:flex!important;justify-content:center!important;gap:30px!important;padding-top:24px!important;border-top:1px solid #d8e1e8!important;color:var(--igelec-blue)!important;font-weight:800!important}
.site-footer small{grid-column:1/-1!important;text-align:center!important;color:#667788!important;font-size:14px!important}

@media(max-width:900px){
 .site-header .header-inner{height:96px!important;gap:14px!important}
 .site-header .logo{width:230px!important;flex-basis:230px!important;height:78px!important}
 .site-header .logo img{width:225px!important;height:74px!important}
 .site-footer .footer-inner{grid-template-columns:1fr 1fr!important;gap:34px!important}
 .site-footer .footer-brand{grid-column:1/-1!important;justify-content:center!important;min-height:0}
 .site-footer .footer-brand img{width:270px!important}
}
@media(max-width:600px){
 .site-header .header-inner{height:92px!important;gap:8px!important}
 .site-header .logo{width:190px!important;flex:0 0 190px!important;height:72px!important}
 .site-header .logo img{width:188px!important;height:68px!important}
 .site-header .btn-yellow{padding:10px 12px!important;min-width:88px!important;font-size:13px!important}
 .site-header .mobile-toggle{font-size:30px!important;padding:4px!important;margin-left:2px!important}
 .site-footer{padding:38px 0 24px!important}
 .site-footer .footer-inner{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:22px!important}
 .site-footer .footer-brand{width:100%!important;justify-content:center!important}
 .site-footer .footer-brand img{width:255px!important;max-width:82vw!important;margin:0 auto!important}
 .site-footer h3{font-size:20px!important;margin-bottom:8px!important}
 .site-footer p{font-size:16px!important;line-height:1.7!important}
 .site-footer .footer-nav{width:100%!important;display:flex!important;justify-content:center!important;gap:14px 20px!important;flex-wrap:wrap!important;padding-top:22px!important}
 .site-footer small{width:100%!important;white-space:normal!important;padding:0 12px!important}
}
@media(max-width:390px){
 .site-header .logo{width:165px!important;flex-basis:165px!important}.site-header .logo img{width:163px!important}
}

/* v1.12 — cabecera móvil tipo Gensa + footer IGELEC original + CTA hero alineados */
.site-header .header-inner{height:96px!important;display:flex!important;align-items:center!important;gap:22px!important;overflow:visible!important}
.site-header .logo{width:245px!important;flex:0 0 245px!important;height:78px!important;display:flex!important;align-items:center!important}
.site-header .logo img{width:240px!important;height:74px!important;max-width:100%!important;object-fit:contain!important;object-position:left center!important}
.site-header .nav{margin-left:auto!important}
.site-header .header-phone{display:inline-flex!important;align-items:center!important;gap:8px!important;color:var(--igelec-blue)!important;font-weight:900!important;white-space:nowrap!important}
.header-phone-icon{display:inline-flex;width:25px;height:25px;flex:0 0 25px}
.header-phone-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.site-header .header-quote{flex:0 0 auto!important}
.hamburger-lines{width:30px;height:24px;display:flex;flex-direction:column;justify-content:space-between}
.hamburger-lines i{height:4px;width:100%;display:block;background:var(--igelec-blue);border-radius:2px}

/* El logo original se usa también en el footer, sin filtros ni opacidad. */
.site-footer .footer-brand img{content:none!important;width:285px!important;height:auto!important;max-height:none!important;opacity:1!important;filter:none!important;object-fit:contain!important}

@media(max-width:900px){
 .site-header .header-inner{height:112px!important;gap:14px!important;flex-wrap:nowrap!important}
 .site-header .logo{order:1;width:170px!important;flex:0 0 170px!important;height:76px!important}
 .site-header .logo img{width:168px!important;height:72px!important}
 .site-header .mobile-toggle{order:2!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:6px!important;border:0!important;background:transparent!important;flex:0 0 auto!important}
 .site-header .header-phone{order:3!important;display:inline-flex!important;margin:0!important;font-size:15px!important;flex:0 1 auto!important;min-width:0!important}
 .site-header .header-quote{order:4!important;margin-left:auto!important;min-width:100px!important;padding:12px 16px!important;font-size:14px!important}
 .site-header .nav.open{top:112px!important;z-index:100!important}
}
@media(max-width:700px){
 .site-header .wrap{width:calc(100% - 28px)!important}
 .site-header .header-inner{height:104px!important;gap:10px!important}
 .site-header .logo{width:142px!important;flex-basis:142px!important;height:68px!important}
 .site-header .logo img{width:140px!important;height:64px!important}
 .hamburger-lines{width:28px;height:22px}
 .site-header .header-phone{font-size:13px!important;gap:5px!important}
 .header-phone-icon{width:23px;height:23px;flex-basis:23px}
 .site-header .header-quote{min-width:88px!important;padding:11px 12px!important;font-size:13px!important}
 .site-header .nav.open{top:104px!important}
 .hero-actions{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important}
 .hero-actions .btn{width:360px!important;max-width:100%!important;height:74px!important;padding:0 22px!important;justify-content:center!important}
 .site-footer .footer-brand img{width:260px!important;max-width:82vw!important}
}
@media(max-width:520px){
 .site-header .header-inner{height:94px!important;gap:7px!important}
 .site-header .logo{width:126px!important;flex-basis:126px!important;height:62px!important}
 .site-header .logo img{width:124px!important;height:58px!important}
 .hamburger-lines{width:26px;height:21px}
 .site-header .header-phone-text{display:none!important}
 .header-phone-icon{width:27px;height:27px;flex-basis:27px}
 .site-header .header-quote{min-width:84px!important;padding:10px 10px!important;font-size:12px!important}
 .site-header .nav.open{top:94px!important}
}
@media(max-width:380px){
 .site-header .wrap{width:calc(100% - 20px)!important}
 .site-header .logo{width:112px!important;flex-basis:112px!important}.site-header .logo img{width:110px!important}
 .site-header .header-quote{min-width:76px!important;padding:9px 8px!important;font-size:11px!important}
}

/* v1.13 — ajustes aprobados: cabecera tipo Gensa, CTAs hero iguales, especializados con identidad IGELEC */
@media (max-width:700px){
  .site-header .wrap{width:calc(100% - 20px)!important;max-width:none!important}
  .site-header .header-inner{height:76px!important;gap:7px!important;justify-content:flex-start!important}
  .site-header .logo{order:1!important;width:92px!important;flex:0 0 92px!important;height:54px!important}
  .site-header .logo img{width:92px!important;height:50px!important;object-fit:contain!important;object-position:left center!important}
  .site-header .mobile-toggle{order:2!important;width:32px!important;height:40px!important;flex:0 0 32px!important;padding:4px!important;margin:0!important}
  .hamburger-lines{width:25px!important;height:20px!important}
  .hamburger-lines i{height:3px!important}
  .site-header .header-phone{order:3!important;display:inline-flex!important;flex:0 1 auto!important;min-width:0!important;gap:4px!important;font-size:11px!important;line-height:1!important;margin:0!important}
  .site-header .header-phone-text{display:inline!important;font-size:11px!important;letter-spacing:-.35px!important}
  .header-phone-icon{width:20px!important;height:20px!important;flex:0 0 20px!important}
  .site-header .header-quote{order:4!important;margin-left:auto!important;min-width:72px!important;padding:9px 8px!important;font-size:11px!important;line-height:1!important;border-radius:4px!important}
  .site-header .nav.open{top:76px!important}
  .hero-actions{width:min(100%,360px)!important;align-items:stretch!important}
  .hero-actions .btn{box-sizing:border-box!important;width:100%!important;max-width:none!important;height:64px!important;min-height:64px!important;padding:0 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important}
}
@media (max-width:390px){
  .site-header .header-inner{gap:5px!important}
  .site-header .logo{width:80px!important;flex-basis:80px!important}.site-header .logo img{width:80px!important}
  .site-header .mobile-toggle{width:29px!important;flex-basis:29px!important}.hamburger-lines{width:23px!important}
  .site-header .header-phone{font-size:10px!important}.site-header .header-phone-text{font-size:10px!important;letter-spacing:-.5px!important}
  .header-phone-icon{width:18px!important;height:18px!important;flex-basis:18px!important}
  .site-header .header-quote{min-width:66px!important;padding:9px 6px!important;font-size:10px!important}
}

.special{background:linear-gradient(180deg,#f7f9fb 0%,#eef4f8 100%)!important}
.special .section-head{margin-bottom:34px!important}
.special-grid{gap:16px!important;align-items:stretch!important}
.special-item{position:relative!important;overflow:hidden!important;padding:28px 22px 24px!important;border:1px solid #dce7ee!important;border-radius:10px!important;background:#fff!important;box-shadow:0 8px 24px rgba(0,89,145,.07)!important;transition:transform .2s ease,box-shadow .2s ease!important}
.special-item:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--yellow)!important}
.special-item:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,89,145,.11)!important}
.special-icon{width:54px!important;height:54px!important;display:grid!important;place-items:center!important;margin:0 auto 16px!important;border-radius:50%!important;background:rgba(0,120,190,.10)!important;color:var(--igelec-blue)!important;font-size:27px!important;font-weight:800!important;line-height:1!important;border:1px solid rgba(0,120,190,.16)!important}
.special-item h3{color:var(--igelec-blue)!important;font-size:17px!important;line-height:1.25!important;margin:0 0 9px!important;font-weight:900!important}
.special-item p{margin:0!important;color:#526476!important;font-size:14px!important;line-height:1.55!important}
@media(max-width:600px){
 .special{padding-top:56px!important;padding-bottom:56px!important}
 .special .section-head{margin-bottom:26px!important}
 .special .section-head h2{font-size:32px!important;line-height:1.08!important}
 .special-grid{gap:12px!important}
 .special-item{padding:22px 18px 20px!important}
 .special-icon{width:48px!important;height:48px!important;margin-bottom:13px!important;font-size:24px!important}
}


/* v1.14 — cabecera compacta, CTAs proporcionados y accesos por WhatsApp */
/* Escritorio: una sola línea y auricular controlado por SVG */
.site-header .header-inner{height:88px!important;gap:20px!important;flex-wrap:nowrap!important}
.site-header .logo{width:190px!important;flex:0 0 190px!important;height:66px!important}
.site-header .logo img{width:188px!important;height:62px!important;object-fit:contain!important;object-position:left center!important}
.site-header .nav{margin-left:auto!important;gap:22px!important}
.site-header .header-phone{display:inline-flex!important;align-items:center!important;gap:7px!important;font-size:15px!important;line-height:1!important;white-space:nowrap!important;flex:0 0 auto!important}
.site-header .header-phone-icon{display:inline-flex!important;width:22px!important;height:22px!important;flex:0 0 22px!important;font-size:0!important}
.site-header .header-phone-icon svg{display:block!important;width:22px!important;height:22px!important;max-width:22px!important;max-height:22px!important}
.site-header .header-quote{flex:0 0 auto!important;padding:12px 19px!important}
.mobile-toggle{display:none!important}

/* Portada: dos CTAs iguales, pero sin tamaño excesivo */
.hero-actions{align-items:stretch!important}
.hero-actions .btn{width:205px!important;height:54px!important;min-height:54px!important;padding:0 16px!important}

/* Los cuatro accesos completos son clickeables */
.trust-item{display:flex!important;align-items:center!important;justify-content:center!important;transition:background .18s ease!important}
a.trust-item:hover{background:rgba(255,255,255,.08)!important}

/* Servicios especializados: más sobrios, sin franja amarilla y tarjeta completa clickeable */
.special{background:#f4f8fb!important}
.special-item{display:block!important;padding:25px 20px!important;border:1px solid #dbe6ed!important;border-radius:12px!important;background:#fff!important;box-shadow:0 6px 18px rgba(10,67,104,.055)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;cursor:pointer!important}
.special-item:before{display:none!important;content:none!important}
.special-item:hover{transform:translateY(-2px)!important;border-color:rgba(0,120,190,.32)!important;box-shadow:0 10px 24px rgba(10,67,104,.09)!important}
.special-icon{width:48px!important;height:48px!important;margin:0 auto 14px!important;border-radius:12px!important;background:#eaf5fb!important;border:0!important;font-size:22px!important;font-weight:600!important}
.special-item h3{font-size:17px!important;line-height:1.3!important;margin:0 0 8px!important;font-weight:700!important;color:#0873be!important}
.special-item p{font-size:14px!important;line-height:1.5!important;color:#5e6b78!important}

@media(max-width:900px){
 .site-header .nav{display:none!important}
 .site-header .header-inner{height:78px!important;gap:10px!important}
 .site-header .logo{order:1!important;width:122px!important;flex:0 0 122px!important;height:58px!important}
 .site-header .logo img{width:120px!important;height:54px!important}
 .site-header .header-phone{order:2!important;margin-left:auto!important;font-size:12px!important;gap:5px!important}
 .site-header .header-phone-icon{width:21px!important;height:21px!important;flex-basis:21px!important}
 .site-header .header-phone-icon svg{width:21px!important;height:21px!important}
 .site-header .header-quote{order:3!important;margin-left:0!important;min-width:88px!important;padding:11px 12px!important;font-size:12px!important}
}
@media(max-width:600px){
 .site-header .wrap{width:calc(100% - 24px)!important}
 .site-header .header-inner{height:76px!important;gap:7px!important}
 .site-header .logo{width:112px!important;flex-basis:112px!important;height:54px!important}
 .site-header .logo img{width:110px!important;height:50px!important}
 .site-header .header-phone{font-size:11px!important;gap:4px!important}
 .site-header .header-phone-text{display:inline!important;font-size:11px!important;letter-spacing:-.3px!important}
 .site-header .header-phone-icon{width:20px!important;height:20px!important;flex-basis:20px!important}
 .site-header .header-phone-icon svg{width:20px!important;height:20px!important}
 .site-header .header-quote{min-width:78px!important;padding:10px 9px!important;font-size:11px!important;border-radius:5px!important}
 .hero-actions{width:100%!important;max-width:305px!important;gap:12px!important}
 .hero-actions .btn{width:100%!important;height:56px!important;min-height:56px!important;font-size:14px!important}
 .site-footer .footer-brand img{width:185px!important;max-width:68vw!important;height:auto!important}
 .special{padding-top:52px!important;padding-bottom:52px!important}
 .special .section-head h2{font-size:30px!important}
 .special-item{padding:22px 18px!important}
 .special-item h3{font-size:16px!important;font-weight:700!important}
 .special-item p{font-size:14px!important}
}
@media(max-width:420px){
 .site-header .logo{width:96px!important;flex-basis:96px!important}.site-header .logo img{width:94px!important}
 .site-header .header-phone-text{font-size:10px!important;letter-spacing:-.5px!important}
 .site-header .header-phone-icon{width:18px!important;height:18px!important;flex-basis:18px!important}.site-header .header-phone-icon svg{width:18px!important;height:18px!important}
 .site-header .header-quote{min-width:72px!important;padding:9px 7px!important;font-size:10px!important}
}

/* v1.15 — correcciones definitivas de proporción y especificidad */
@media(min-width:901px){
 .site-header .header-inner{height:86px!important;gap:18px!important}
 .site-header .logo{width:188px!important;flex:0 0 188px!important;height:62px!important}
 .site-header .logo img{width:184px!important;height:58px!important}
 .site-header .nav{margin-left:auto!important;gap:19px!important;flex:0 1 auto!important}
 .site-header .nav a{font-weight:600!important}
 .site-header .header-phone{margin-left:10px!important;gap:7px!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;align-self:center!important}
 .site-header .header-phone-icon{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;flex:0 0 20px!important;overflow:hidden!important}
 .site-header .header-phone-icon svg{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important;transform:none!important}
 .site-header .header-phone-icon svg path{fill:none!important;stroke:currentColor!important;stroke-width:2!important}
 .site-header .header-quote{margin-left:8px!important;padding:11px 18px!important;font-size:14px!important}
}
/* Hero CTAs más contenidos */
.hero-actions{gap:12px!important}
.hero-actions .btn{width:190px!important;height:48px!important;min-height:48px!important;padding:0 14px!important;font-size:14px!important}
/* Especializados sin amarillo, menor peso visual */
.special-grid .special-item{border:1px solid #dce6ec!important;border-top:1px solid #dce6ec!important;box-shadow:0 4px 14px rgba(10,67,104,.045)!important;background:#fff!important}
.special-grid .special-item::before,.special-grid .special-item:before,.special-grid .special-item::after{display:none!important;content:none!important;background:none!important;height:0!important;border:0!important}
.special-grid .special-item h3{font-weight:600!important;color:#147fba!important}
.special-grid .special-icon{font-weight:500!important;background:#edf6fa!important;color:#147fba!important}
@media(max-width:900px){
 .site-header .header-phone{font-weight:600!important}
}
@media(max-width:600px){
 .hero-actions{max-width:270px!important;gap:10px!important}
 .hero-actions .btn{width:100%!important;height:50px!important;min-height:50px!important;font-size:13px!important;padding:0 14px!important}
 .site-footer .footer-brand img{width:145px!important;max-width:52vw!important;height:auto!important}
 .special-grid .special-item{padding:20px 17px!important}
 .special-grid .special-item h3{font-size:16px!important;font-weight:600!important}
}


/* v1.16 — corrección de cabecera de escritorio + cache bust por versión */
@media (min-width:901px){
  .site-header{overflow:visible!important}
  .site-header .header-inner{display:grid!important;grid-template-columns:190px minmax(480px,1fr) auto 132px!important;column-gap:24px!important;align-items:center!important;height:86px!important}
  .site-header .logo{width:190px!important;height:62px!important;min-width:0!important}
  .site-header .logo img{display:block!important;width:188px!important;height:58px!important;max-width:188px!important;object-fit:contain!important}
  .site-header .nav{display:flex!important;margin:0!important;gap:28px!important;align-items:center!important;justify-content:center!important;min-width:0!important;white-space:nowrap!important}
  .site-header .header-phone{position:static!important;inset:auto!important;transform:none!important;margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:auto!important;height:auto!important;min-width:172px!important;max-width:none!important;overflow:visible!important;color:#0873be!important;font-size:14px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important}
  .site-header .header-phone-icon{position:static!important;display:block!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;flex:0 0 22px!important;margin:0!important;padding:0!important;overflow:hidden!important;line-height:0!important}
  .site-header .header-phone-icon svg{position:static!important;display:block!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;margin:0!important;padding:0!important;transform:none!important;overflow:hidden!important}
  .site-header .header-phone-icon svg path{fill:none!important;stroke:#0873be!important;stroke-width:2!important}
  .site-header .header-phone-text{position:static!important;display:inline!important;margin:0!important;padding:0!important;font-size:14px!important;font-weight:600!important;line-height:1!important;color:#0873be!important;white-space:nowrap!important}
  .site-header .header-quote{position:static!important;margin:0!important;width:132px!important;min-width:132px!important;height:48px!important;padding:0 18px!important;justify-self:end!important;align-self:center!important}
}
@media (min-width:901px) and (max-width:1180px){
  .site-header .header-inner{grid-template-columns:170px minmax(420px,1fr) auto 116px!important;column-gap:15px!important}
  .site-header .logo{width:170px!important}.site-header .logo img{width:168px!important}
  .site-header .nav{gap:16px!important;font-size:13px!important}
  .site-header .header-phone{min-width:158px!important;font-size:13px!important;gap:6px!important}
  .site-header .header-phone-text{font-size:13px!important}
  .site-header .header-quote{width:116px!important;min-width:116px!important}
}


/* v1.17 — SOLO móvil/tablet: cabecera en tres zonas independientes.
   Escritorio (>=901px) permanece exactamente con las reglas de v1.16. */
@media (max-width:900px){
  .site-header .wrap{width:calc(100% - 32px)!important;max-width:none!important}
  .site-header .header-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    column-gap:18px!important;
    align-items:center!important;
    height:86px!important;
  }
  .site-header .nav,.site-header .mobile-toggle{display:none!important}
  .site-header .logo{
    grid-column:1!important;order:initial!important;justify-self:start!important;
    width:150px!important;max-width:100%!important;height:60px!important;min-width:0!important;
    flex:none!important;margin:0!important;
  }
  .site-header .logo img{width:148px!important;max-width:100%!important;height:56px!important;object-fit:contain!important;object-position:left center!important}
  .site-header .header-phone{
    grid-column:2!important;order:initial!important;justify-self:center!important;
    position:static!important;inset:auto!important;transform:none!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;
    margin:0!important;padding:0!important;gap:7px!important;white-space:nowrap!important;
    color:#0873be!important;font-size:13px!important;font-weight:600!important;line-height:1!important;
  }
  .site-header .header-phone-icon{display:block!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;flex:none!important;margin:0!important;padding:0!important;line-height:0!important;overflow:hidden!important}
  .site-header .header-phone-icon svg{display:block!important;width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;transform:none!important}
  .site-header .header-phone-icon svg path{fill:none!important;stroke:#0873be!important;stroke-width:2!important}
  .site-header .header-phone-text{display:inline!important;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;line-height:1!important;white-space:nowrap!important}
  .site-header .header-quote{
    grid-column:3!important;order:initial!important;justify-self:end!important;
    position:static!important;margin:0!important;width:112px!important;min-width:112px!important;height:48px!important;
    padding:0 14px!important;font-size:13px!important;border-radius:6px!important;
  }
}
@media (max-width:520px){
  .site-header .wrap{width:calc(100% - 20px)!important}
  .site-header .header-inner{grid-template-columns:minmax(78px,1fr) auto minmax(72px,1fr)!important;column-gap:8px!important;height:78px!important}
  .site-header .logo{width:108px!important;height:54px!important}.site-header .logo img{width:106px!important;height:50px!important}
  .site-header .header-phone{gap:4px!important;font-size:11px!important}
  .site-header .header-phone-text{font-size:11px!important;letter-spacing:-.25px!important}
  .site-header .header-phone-icon,.site-header .header-phone-icon svg{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important}
  .site-header .header-quote{width:82px!important;min-width:82px!important;height:44px!important;padding:0 8px!important;font-size:11px!important}
}
@media (max-width:380px){
  .site-header .header-inner{grid-template-columns:minmax(70px,1fr) auto minmax(66px,1fr)!important;column-gap:5px!important}
  .site-header .logo{width:94px!important}.site-header .logo img{width:92px!important}
  .site-header .header-phone{gap:3px!important}.site-header .header-phone-text{font-size:10px!important;letter-spacing:-.45px!important}
  .site-header .header-phone-icon,.site-header .header-phone-icon svg{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important}
  .site-header .header-quote{width:72px!important;min-width:72px!important;height:42px!important;padding:0 6px!important;font-size:10px!important}
}

/* v1.18 — refinamiento visual SOLO móvil/tablet: cabecera más compacta y equilibrada */
@media (max-width:900px){
  .site-header .wrap{width:calc(100% - 28px)!important}
  .site-header .header-inner{
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    column-gap:16px!important;
    height:76px!important;
  }
  .site-header .logo{width:132px!important;height:52px!important}
  .site-header .logo img{width:130px!important;height:50px!important}
  .site-header .header-phone{gap:6px!important;font-size:12px!important;font-weight:600!important}
  .site-header .header-phone-text{font-size:12px!important;font-weight:600!important;letter-spacing:-.15px!important}
  .site-header .header-phone-icon,.site-header .header-phone-icon svg{width:20px!important;height:20px!important;min-width:20px!important;max-width:20px!important}
  .site-header .header-quote{width:100px!important;min-width:100px!important;height:42px!important;padding:0 11px!important;font-size:12px!important;border-radius:6px!important}
}
@media (max-width:520px){
  .site-header .wrap{width:calc(100% - 20px)!important}
  .site-header .header-inner{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;column-gap:9px!important;height:70px!important}
  .site-header .logo{width:108px!important;height:48px!important}.site-header .logo img{width:106px!important;height:46px!important}
  .site-header .header-phone{gap:4px!important;font-size:10.5px!important}
  .site-header .header-phone-text{font-size:10.5px!important;letter-spacing:-.3px!important}
  .site-header .header-phone-icon,.site-header .header-phone-icon svg{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important}
  .site-header .header-quote{width:78px!important;min-width:78px!important;height:40px!important;padding:0 7px!important;font-size:10.5px!important}
}
@media (max-width:380px){
  .site-header .header-inner{column-gap:5px!important;height:68px!important}
  .site-header .logo{width:94px!important}.site-header .logo img{width:92px!important}
  .site-header .header-phone{gap:3px!important}.site-header .header-phone-text{font-size:9.5px!important;letter-spacing:-.45px!important}
  .site-header .header-phone-icon,.site-header .header-phone-icon svg{width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important}
  .site-header .header-quote{width:70px!important;min-width:70px!important;height:38px!important;padding:0 5px!important;font-size:9.5px!important}
}
