/* HIE global footer + contact/demo form. Namespaced to avoid collisions with Residential. */
:root{
  --hie-shell-navy:#06162f;--hie-shell-ink:#08264d;--hie-shell-text:#344f69;
  --hie-shell-blue:#168ff5;--hie-shell-violet:#6257f6;--hie-shell-line:#d7e4f0;
  --hie-shell-soft:#f4f8fd;--hie-shell-white:#fff;--hie-shell-green:#138a5c;
}
.hie-contact-launcher{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:1200;border:0;border-radius:999px;min-height:52px;padding:0 20px;display:flex;align-items:center;gap:10px;background:linear-gradient(120deg,#0d82ef,#5d58f4);color:#fff;font:800 15px/1 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 15px 38px rgba(25,88,190,.32);cursor:pointer}.hie-contact-launcher svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}.hie-contact-launcher:hover{transform:translateY(-1px)}
.hie-contact-backdrop{position:fixed;inset:0;z-index:1300;background:rgba(3,17,37,.55);backdrop-filter:blur(7px);display:none;padding:24px;overflow:auto}.hie-contact-backdrop.is-open{display:flex;align-items:center;justify-content:center}.hie-contact-dialog{width:min(720px,100%);max-height:min(900px,calc(100dvh - 48px));overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #dbe6f1;border-radius:26px;box-shadow:0 35px 100px rgba(0,20,52,.28);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--hie-shell-ink)}.hie-contact-head{padding:26px 28px 19px;border-bottom:1px solid #e3ecf5;display:flex;gap:18px;align-items:flex-start}.hie-contact-head-copy{flex:1;min-width:0}.hie-contact-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:850;color:#386486;text-transform:uppercase;margin:0 0 7px}.hie-contact-head h2{font-size:clamp(28px,4vw,38px);letter-spacing:-.04em;line-height:1.04;margin:0}.hie-contact-head p{font-size:15px;line-height:1.55;color:#526b84;margin:10px 0 0}.hie-contact-close{flex:0 0 42px;width:42px;height:42px;border:1px solid #d6e3ef;border-radius:13px;background:#fff;color:#163d65;font-size:24px;cursor:pointer}.hie-contact-form{padding:24px 28px 28px}.hie-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hie-field{display:grid;gap:7px}.hie-field.full{grid-column:1/-1}.hie-field label{font-size:14px;font-weight:800;color:#173c62}.hie-field label small{font-weight:600;color:#657d94}.hie-field input,.hie-field select,.hie-field textarea{width:100%;min-height:48px;border:1px solid #cbdbea;border-radius:12px;background:#fff;color:#102f50;padding:11px 13px;font-size:16px;line-height:1.35;outline:none}.hie-field textarea{min-height:92px;resize:vertical}.hie-field input:focus,.hie-field select:focus,.hie-field textarea:focus{border-color:#2c83eb;box-shadow:0 0 0 3px rgba(44,131,235,.12)}.hie-form-privacy{display:flex;gap:10px;align-items:flex-start;margin:18px 0 14px;font-size:13px;line-height:1.5;color:#4d657d}.hie-form-privacy input{width:19px;height:19px;flex:0 0 auto;margin-top:1px}.hie-form-privacy a{color:#096bd8;text-decoration:underline;text-underline-offset:2px}.hie-privacy-summary{border-radius:12px;background:#f3f7fc;padding:12px 14px;font-size:12px;line-height:1.55;color:#526b84;margin-bottom:16px}.hie-contact-submit{width:100%;min-height:50px;border:0;border-radius:13px;background:linear-gradient(120deg,#168ff5,#5f58f5);color:#fff;font-weight:850;font-size:15px;cursor:pointer;box-shadow:0 11px 26px rgba(42,99,226,.18)}.hie-contact-submit:disabled{opacity:.6;cursor:wait}.hie-form-status{min-height:22px;margin:11px 0 0;font-size:14px;line-height:1.45}.hie-form-status.ok{color:#08704a}.hie-form-status.error{color:#b42318}.hie-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.hie-inline-contact{width:min(940px,100%);margin:0 auto}.hie-inline-contact .hie-contact-form{padding:0}.hie-inline-contact .hie-contact-head{padding:0 0 26px;border:0}.hie-inline-contact .hie-contact-dialog{width:100%;max-height:none;overflow:visible;border:0;box-shadow:none;background:transparent}.hie-inline-contact .hie-contact-close{display:none}.hie-inline-contact .hie-contact-form{background:#fff;border:1px solid #dbe6f1;border-radius:24px;padding:28px;box-shadow:0 16px 46px rgba(10,35,69,.08)}
.hie-global-footer{background:#06162f!important;color:#d7e5f4!important;padding:58px 0 26px!important;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}.hie-global-footer *{box-sizing:border-box}.hie-footer-wrap{width:min(1320px,calc(100% - clamp(28px,5vw,64px)));margin:0 auto}.hie-footer-top{display:grid;grid-template-columns:minmax(250px,1.4fr) repeat(4,minmax(125px,.7fr));gap:clamp(22px,3vw,42px)}.hie-footer-brand img{width:min(310px,100%);background:#fff;border-radius:15px;padding:9px}.hie-footer-brand p{max-width:430px;margin:17px 0 0;color:#b9cde1!important;font-size:15px!important;line-height:1.68!important}.hie-footer-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.hie-footer-badges span{border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:7px 10px;color:#b8cee2;font-size:12px;font-weight:700}.hie-footer-col h3{margin:4px 0 14px!important;color:#fff!important;font-size:14px!important;letter-spacing:.08em;text-transform:uppercase}.hie-footer-col nav{display:grid!important;gap:9px!important}.hie-footer-col a{color:#bad0e4!important;font-size:14px!important;line-height:1.45!important;text-decoration:none!important}.hie-footer-col a:hover{color:#fff!important}.hie-footer-rule{height:1px;background:rgba(255,255,255,.12);margin:36px 0 20px}.hie-footer-bottom{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;color:#91abc4;font-size:13px}.hie-footer-bottom nav{display:flex;gap:18px;flex-wrap:wrap}.hie-footer-bottom a{color:#a9bfd5!important;text-decoration:none!important}.hie-footer-contact{display:inline-flex!important;align-items:center;gap:8px;color:#fff!important;font-weight:800!important}.hie-footer-contact:before{content:"";width:9px;height:9px;border-radius:50%;background:#25bd7d;box-shadow:0 0 0 4px rgba(37,189,125,.12)}
body.hie-modal-open{overflow:hidden}
@media(max-width:900px){.hie-footer-top{grid-template-columns:1fr 1fr;gap:34px}.hie-footer-brand{grid-column:1/-1}.hie-form-grid{grid-template-columns:1fr}.hie-field.full{grid-column:auto}}
@media(max-width:620px){.hie-contact-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));min-height:48px;padding:0 15px;font-size:14px}.hie-contact-backdrop{padding:0;align-items:flex-end!important}.hie-contact-dialog{width:100%;max-height:92dvh;border-radius:24px 24px 0 0;border-bottom:0}.hie-contact-head{padding:22px 20px 16px}.hie-contact-form{padding:18px 20px max(24px,env(safe-area-inset-bottom))}.hie-contact-head h2{font-size:29px}.hie-contact-head p{font-size:14px}.hie-field input,.hie-field select,.hie-field textarea{font-size:16px}.hie-footer-top{grid-template-columns:1fr;gap:28px}.hie-footer-brand{grid-column:auto}.hie-footer-wrap{width:calc(100% - 28px)}.hie-global-footer{padding-top:44px!important}.hie-footer-bottom{align-items:flex-start;flex-direction:column}.hie-footer-bottom nav{gap:11px 16px}.hie-inline-contact .hie-contact-form{padding:20px;border-radius:20px}}
@media(max-width:380px){.hie-contact-launcher span{display:none}.hie-contact-launcher{width:50px;padding:0;justify-content:center}.hie-contact-head{padding-right:14px}.hie-contact-form{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.hie-contact-launcher{transition:none!important}}
/* Legal / privacy pages */
.legal-page{background:#f7faff;color:#0a2345}.legal-hero{padding:clamp(54px,7vw,88px) 0 34px;background:linear-gradient(180deg,#eef6ff,#f7faff)}.legal-hero-inner{max-width:900px}.legal-hero h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-.05em;margin:0 0 18px}.legal-hero p{font-size:clamp(17px,1.2vw,20px);line-height:1.65;color:#506982;max-width:820px;margin:0}.legal-main{padding:22px 0 clamp(72px,9vw,110px)}.legal-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:46px;align-items:start}.legal-content{background:#fff;border:1px solid #dbe6f1;border-radius:24px;padding:clamp(24px,4vw,44px);box-shadow:0 14px 45px rgba(10,35,69,.07)}.legal-content section+section{margin-top:42px;padding-top:38px;border-top:1px solid #e1eaf3}.legal-content h2{font-size:clamp(25px,3vw,34px);line-height:1.15;letter-spacing:-.035em;margin:0 0 15px}.legal-content h3{font-size:19px;line-height:1.3;margin:25px 0 9px}.legal-content p,.legal-content li{font-size:16px;line-height:1.72;color:#405b75}.legal-content ul{padding-left:21px}.legal-content a{color:#086fdc;text-decoration:underline;text-underline-offset:3px}.legal-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.legal-fact{border:1px solid #dbe6f1;border-radius:15px;padding:14px 16px;background:#f9fbfe}.legal-fact small{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#71869b;font-weight:800}.legal-fact strong{display:block;margin-top:5px;font-size:15px;line-height:1.45;color:#0b2e54}.legal-side{position:sticky;top:105px;border:1px solid #dce7f1;border-radius:20px;background:#fff;padding:20px;box-shadow:0 10px 30px rgba(10,35,69,.06)}.legal-side strong{display:block;font-size:14px;margin-bottom:10px}.legal-side nav{display:grid;gap:7px}.legal-side a{padding:8px 10px;border-radius:9px;font-size:14px;color:#36516c}.legal-side a:hover{background:#eff6fd;color:#076fdc}.legal-callout{border-left:4px solid #168ff5;background:#edf6ff;border-radius:0 13px 13px 0;padding:16px 18px;margin:20px 0;color:#36536d;font-size:14px;line-height:1.6}.legal-warning{border:1px solid #f0bb62;background:#fff7e7;color:#6e4800;border-radius:14px;padding:15px 17px;margin:0 0 22px;font-size:14px;line-height:1.55}.legal-missing{color:#a61b1b!important;background:#fff0f0;border-radius:4px;padding:1px 3px}.cookie-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px}.cookie-table th,.cookie-table td{border-bottom:1px solid #dfe8f1;padding:12px 10px;text-align:left;vertical-align:top}.cookie-table th{color:#173f67;background:#f4f8fd}.contact-page{background:linear-gradient(180deg,#eef6ff 0,#f8fbff 36%,#fff 100%)}.contact-page-hero{padding:clamp(56px,8vw,90px) 0 30px}.contact-page-copy{max-width:850px;margin:0 auto 38px;text-align:center}.contact-page-copy h1{font-size:clamp(44px,6vw,74px);line-height:.97;letter-spacing:-.055em;margin:0 0 18px}.contact-page-copy p{font-size:clamp(17px,1vw + 14px,21px);line-height:1.65;color:#526b84;margin:0}.contact-promises{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;max-width:940px;margin:22px auto 0}.contact-promises div{background:#fff;border:1px solid #dbe6f1;border-radius:16px;padding:16px;text-align:left}.contact-promises strong{display:block;font-size:14px}.contact-promises span{display:block;font-size:13px;line-height:1.5;color:#607890;margin-top:5px}
@media(max-width:880px){.legal-layout{grid-template-columns:1fr}.legal-side{position:static;order:-1}.legal-side nav{display:flex;flex-wrap:wrap}.legal-facts{grid-template-columns:1fr}.contact-promises{grid-template-columns:1fr}}
@media(max-width:620px){.legal-hero{padding-top:42px}.legal-content{border-radius:19px;padding:22px 18px}.legal-content p,.legal-content li{font-size:15px}.legal-side{padding:14px}.cookie-table{display:block;overflow-x:auto;white-space:nowrap}.contact-page-hero{padding-top:44px}.contact-page-copy{text-align:left;margin-bottom:25px}}

/* V4 · Footer de marca y conversión */
.hie-footer-cta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;margin:0 0 46px;padding:28px 30px;border:1px solid rgba(255,255,255,.14);border-radius:24px;background:linear-gradient(110deg,rgba(39,118,237,.17),rgba(106,83,245,.12) 55%,rgba(255,255,255,.035));box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.hie-footer-kicker{display:block;margin-bottom:7px;color:#75bfff;font-size:11px;letter-spacing:.16em;font-weight:850}.hie-footer-cta strong{display:block;color:#fff;font-size:clamp(22px,3vw,31px);line-height:1.08;letter-spacing:-.03em}.hie-footer-cta p{margin:8px 0 0;color:#b9cde1;font-size:14px;line-height:1.6;max-width:720px}.hie-footer-demo{min-height:50px;padding:0 19px;border:0;border-radius:14px;background:linear-gradient(115deg,#168ef5,#6259f5);color:#fff;font:850 14px/1 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 12px 28px rgba(31,101,219,.24)}.hie-footer-demo:hover{transform:translateY(-1px)}
.hie-footer-product{display:grid!important;grid-template-columns:34px 1fr;gap:10px!important;align-items:center;padding:8px 9px;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025)}.hie-footer-product:hover{background:rgba(255,255,255,.055)}.hie-footer-product-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:rgba(70,136,255,.12);color:#75bfff}.hie-footer-product.solar .hie-footer-product-icon{background:rgba(255,196,71,.10);color:#ffd15c}.hie-footer-product-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hie-footer-product b{display:block;color:#edf6ff;font-size:13px;line-height:1.2}.hie-footer-product small{display:block;margin-top:3px;color:#8faac3;font-size:11px;line-height:1.3}
@media(max-width:900px){.hie-footer-cta{grid-template-columns:1fr}.hie-footer-demo{justify-self:start}.hie-footer-top{grid-template-columns:1fr 1fr!important}.hie-footer-brand{grid-column:1/-1!important}}
@media(max-width:620px){.hie-footer-cta{margin-bottom:36px;padding:23px 20px;border-radius:20px}.hie-footer-cta strong{font-size:24px}.hie-footer-cta p{font-size:14px}.hie-footer-demo{width:100%;justify-content:center}.hie-footer-top{grid-template-columns:1fr!important}.hie-footer-brand{grid-column:auto!important}.hie-footer-col{padding-top:2px}.hie-footer-brand img{width:min(270px,100%)}}

.hie-turnstile{margin:14px 0 4px;display:grid;gap:7px;min-height:32px}.hie-turnstile>div{max-width:100%;overflow:hidden}.hie-turnstile small{font-size:12px;line-height:1.45;color:#51677d}.hie-turnstile iframe{max-width:100%}
/* V6 · Mayor legibilidad en la primera capa de privacidad */
.hie-privacy-summary{background:#eef4fa;border:1px solid #d6e2ee;color:#314b63;font-size:13px;line-height:1.58;padding:13px 15px}
.hie-privacy-summary strong{color:#153956}.hie-privacy-summary a{color:#075fbd;font-weight:750}
.hie-form-fallback{margin:10px 0 0;color:#405a72;font-size:13px;line-height:1.5;text-align:center}.hie-form-fallback a{color:#075fbd;font-weight:750;text-decoration:underline;text-underline-offset:2px}
.legal-layout,.legal-content{min-width:0}
.cookie-table caption{text-align:left;font-weight:750;color:#173f67;padding:0 0 8px}.cookie-scroll-note{display:none}
@media(max-width:620px){.legal-content .cookie-scroll-note{display:block;margin:10px 0 0;font-size:13px;color:#4b6680}}
@media(max-width:560px){.hie-privacy-summary{font-size:12.5px;line-height:1.55;padding:12px 13px}}
.hie-success-card{position:relative;overflow:hidden;padding:clamp(24px,5vw,42px);border:1px solid #a4dcc9;border-radius:22px;background:linear-gradient(145deg,#eafaf2 0%,#fff 74%);box-shadow:0 20px 48px rgba(12,91,63,.12);color:#103e32;text-align:center;outline:none}
.hie-success-card[hidden]{display:none!important}.hie-success-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 18px;border-radius:50%;background:#087b53;color:#fff;font-size:38px;font-weight:800;box-shadow:0 10px 24px rgba(8,123,83,.22)}
.hie-success-kicker{margin:0 0 8px;color:#087b53;font-size:12px;font-weight:850;letter-spacing:.16em}.hie-success-card h3{margin:0 0 12px;font-size:clamp(24px,4vw,34px);line-height:1.1;letter-spacing:-.035em}.hie-success-card p:not(.hie-success-kicker){margin:0 auto 22px;max-width:42ch;font-size:16px;line-height:1.6}.hie-success-again{min-height:46px;padding:10px 18px;border:1px solid #087b53;border-radius:12px;background:#fff;color:#075b40;font:inherit;font-weight:800;cursor:pointer}.hie-success-again:focus-visible{outline:3px solid #168ff5;outline-offset:3px}
.hie-contact-form.is-sent>:not(.hie-success-card){display:none!important}.hie-contact-form.is-sent{padding:24px}.hie-contact-form.is-sent .hie-success-card{display:block}
.form-status.is-success{display:block!important;margin:18px 0!important;padding:20px 24px!important;border:1px solid #a4dcc9!important;border-radius:18px!important;background:linear-gradient(145deg,#eafaf2,#fff)!important;color:#075b40!important;font-size:17px!important;font-weight:750!important;line-height:1.55!important;box-shadow:0 14px 34px rgba(12,91,63,.1)}
