:root{color-scheme:dark;--accent:#6cf3c2}
#header-endoval{height:104px;flex-wrap:wrap;padding:0 28px;width:100%;align-content:center;gap:8px;background:rgba(6,20,14,.94)}
#header-endoval img{width:32px;height:32px;object-fit:contain;margin-right:4px}
#language-switch{display:flex;margin-left:auto;border:1px solid #6cf3c250;border-radius:6px;padding:3px;gap:3px}
#language-switch button{min-width:44px;min-height:34px;border:0;border-radius:3px;background:transparent;color:#d1e9df;font:600 12px Montserrat,sans-serif;cursor:pointer}
#language-switch button[aria-pressed=true]{background:var(--accent);color:#071b13}
#servicios-header{flex-basis:100%;justify-content:flex-start!important;margin:0!important;padding:0!important;gap:3px!important;scrollbar-width:thin}
.servicio-header{border:0;min-height:36px;font-size:11px!important;padding:6px 10px!important;flex-shrink:0}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent)!important;outline-offset:4px}
#scrollProgress{top:104px}
#intro-copy{position:fixed;z-index:6;left:7vw;top:30vh;width:min(520px,43vw);color:#f2faf6;transition:opacity .3s,visibility .3s;text-shadow:0 2px 18px #06140e}
#intro-copy .eyebrow{font:500 11px 'IBM Plex Mono',monospace;letter-spacing:.15em;color:var(--accent);margin-bottom:22px}
#intro-copy h1{font:600 clamp(28px,3.7vw,56px)/1.12 Montserrat,sans-serif;letter-spacing:-.045em;margin:0 0 24px}
#intro-copy>p:not(.eyebrow){font-size:17px;line-height:1.65;max-width:410px;color:#c5dad0}
#intro-copy button{display:block;margin-top:24px;padding:14px 20px;border:1px solid var(--accent);border-radius:5px;background:var(--accent);color:#06140e;font:600 13px Montserrat,sans-serif;cursor:pointer;min-height:44px}
#intro-copy #explore-cta{background:#06140ecc;color:#d7ede2;border-color:#547466;margin-top:10px}
body.scrolled-any #intro-copy{opacity:0;visibility:hidden;pointer-events:none}
body:not(.scrolled-any) #hudCanvas,body:not(.scrolled-any) #infoPanel{visibility:hidden!important;pointer-events:none!important}
.info-panel{max-height:calc(100dvh - 140px);top:120px;background:rgba(5,20,14,.94)}
@media(min-width:821px){
 .info-panel{transform:translateX(18px)}
 .info-panel.active{transform:translateX(0)}
}
.info-panel p{font-size:16px;line-height:1.75;color:#d2e3da}
.info-panel p,.contact-form{font-family:Montserrat,Arial,sans-serif}
.contact-phone a{white-space:nowrap;display:inline-block}
#loadingBar{max-width:100%}
.panel-title{text-transform:none;letter-spacing:-.03em;line-height:1.15}
.panel-kicker{line-height:1.6!important}
#loadingScreen{pointer-events:none;inset:auto 22px 22px auto;width:220px;height:auto;padding:16px;background:#06140eee;border:1px solid #6cf3c240;border-radius:6px}
#loadingScreen img{display:none}
#loadingBrand{font-size:11px}
#loadingScreen.hidden{visibility:hidden}
.contact-form input,.contact-form textarea,.contact-form select{font-size:16px;min-height:44px}
@media(max-width:820px){
#header-endoval{height:102px;padding:8px 12px;gap:5px}
#header-endoval #logo-endoval{font-size:12px!important;letter-spacing:.1em!important}
#header-endoval img{width:26px;height:26px}
#language-switch button{min-width:40px;min-height:34px}
#servicios-header{display:flex!important}
#scrollProgress{top:102px}
#intro-copy{left:6vw;top:21vh;width:88vw;padding:20px;background:linear-gradient(90deg,#06140eed,#06140e88);border-left:2px solid #6cf3c2}
#intro-copy h1{font-size:32px;max-width:390px;margin-bottom:16px}
#intro-copy .eyebrow{font-size:9px;margin-bottom:14px}
#intro-copy>p:not(.eyebrow){font-size:15px}
#intro-copy button{margin-top:16px;padding:12px 15px}
.info-panel{top:auto;bottom:0;max-height:58dvh;padding:20px 22px}
.info-panel p{font-size:15px;line-height:1.65}
#scrollHint{bottom:22px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}#equationsCanvas,#hudCanvas{display:none}}
