/* ZYLO V9.6 — soft sculpted navigation and a connected brand endcap. */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;height:calc(var(--header-height) + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) max(clamp(20px,4.2vw,88px),env(safe-area-inset-right,0px)) 0 max(clamp(20px,4.2vw,88px),env(safe-area-inset-left,0px));display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;background:rgba(243,239,231,.96);border-bottom:1px solid #76658019;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 3px 18px #5a446405}
.site-header:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,#aa92b36b 30%,#aa92b36b 70%,transparent);pointer-events:none}
.brand{display:flex;align-items:center;justify-self:start;min-height:44px;padding:0;background:transparent;flex:none;border-radius:12px}
.brand .official-lockup{width:176px;height:58px;object-fit:contain;flex:none;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.brand:hover .official-lockup{transform:translateX(2px)}
.header-links{display:flex;align-items:center;gap:4px;padding:4px;border:1px solid #cabed0;background:#ebe4ef66;border-radius:22px;box-shadow:inset 0 1px 0 #ffffffaa;font-size:14px;font-weight:600}
.header-links a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 18px;border-radius:17px;transition:background .2s,color .2s,box-shadow .2s}
.header-links .icon{width:17px;height:17px;color:var(--action)}
.header-links a:hover,.header-links a:focus-visible{background:#fffaf4;color:var(--action);box-shadow:0 2px 6px #6246780a}
html:not([data-projects-current])[data-phase="1"] .header-links a:first-child,html:not([data-projects-current])[data-phase="2"] .header-links a:first-child,html:not([data-projects-current])[data-phase="3"] .header-links a:first-child,html:not([data-projects-current])[data-phase="4"] .header-links a:first-child,html[data-projects-current] .header-links a[href="#proyectos"]{background:#fffaf4;color:var(--action)}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;justify-self:end;min-width:0}
.header-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:50px;padding:7px 8px 7px 20px;background:var(--brand-cta-bg);color:var(--brand-cta-ink);border:1px solid #725487;border-radius:24px;box-shadow:inset 0 1px 0 #ffffff22,0 4px 9px #62467810;font-family:"Bricolage Grotesque",Manrope,sans-serif;font-weight:650;font-size:14px;letter-spacing:-.02em;transition:background .2s,box-shadow .2s;border-color:var(--brand-cta-border)}
.contact-orbit{display:flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--brand-cta-detail);border:1px solid #ffffff26;border-color:var(--brand-cta-detail-border);color:var(--brand-cta-ink)}
.contact-orbit .icon{width:18px;height:18px}
.header-cta:hover{background:var(--brand-cta-hover);box-shadow:inset 0 1px 0 #ffffff22,0 5px 15px #62467822}
@keyframes chrome-chat{50%{transform:rotate(-8deg) translateY(-1px)}}
.header-cta:hover .icon,.header-cta:focus-visible .icon{animation:chrome-chat .45s ease}
.header-menu{display:none;position:relative}
.header-menu>summary{list-style:none;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #cabed0;background:#ebe4ef;border-radius:16px;color:var(--action)}
.header-menu>summary::-webkit-details-marker{display:none}
.header-menu>summary .icon{width:21px;height:21px}
.header-menu[open]>summary{background:#dacfdf;border-color:#8a7199}
.mobile-navigation{position:absolute;right:0;top:calc(100% + 12px);width:min(310px,calc(100vw - 28px));max-height:calc(100vh - var(--header-height) - var(--safe-top) - var(--safe-bottom) - 24px);max-height:calc(100svh - var(--header-height) - var(--safe-top) - var(--safe-bottom) - 24px);overflow-y:auto;overscroll-behavior:contain;padding:10px;background:#fffaf4;border:1px solid #cdbed5;border-radius:24px;box-shadow:0 16px 40px #49315226;display:grid;gap:3px}
.mobile-navigation a{display:flex;align-items:center;gap:13px;min-height:48px;padding:10px 14px;border-radius:15px;font-family:"Bricolage Grotesque",Manrope,sans-serif;font-size:15px;font-weight:550}
.mobile-navigation a .icon{width:20px;height:20px;color:var(--action)}
.mobile-navigation a:hover,.mobile-navigation a:focus-visible{background:#eee5f1;color:var(--action)}
.mobile-navigation a:last-child{margin-top:5px;border-top:1px solid #e2d8e5;border-radius:0 0 14px 14px}
@media(max-width:1100px){
 .site-header{padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px));gap:16px}.brand .official-lockup{width:146px;height:48px}
 .header-links a{padding:0 13px;font-size:13px;gap:8px}.header-links .icon{width:16px;height:16px}
 .header-cta{font-size:13px;min-height:46px;padding-left:15px;gap:12px}.contact-orbit{width:30px;height:30px}
}
@media(max-width:1000px){
}
@media(max-width:800px){
 .site-header{display:flex;justify-content:space-between}.header-links{display:none}.header-menu{display:block}
 .site-header .label-wide{display:none}.site-header .label-phone{display:inline}
 .header-cta{font-size:13px;gap:9px;padding-left:14px;min-height:44px;border-radius:18px}.contact-orbit{width:28px;height:28px}
}
@media(max-width:600px){
 .site-header{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px));gap:10px}.brand .official-lockup{width:124px;height:44px}.header-actions{gap:8px}
 .mobile-navigation{position:fixed;top:calc(var(--header-height) + var(--safe-top) + 8px);right:max(14px,env(safe-area-inset-right,0px));width:calc(100% - max(14px,env(safe-area-inset-left,0px)) - max(14px,env(safe-area-inset-right,0px)));max-width:360px}
}
@media(max-width:350px){.brand .official-lockup{width:104px}.header-actions{gap:6px;flex:none}.header-cta{font-size:12px;padding-left:10px;gap:7px}.header-menu>summary{border-radius:14px}}
@media(prefers-reduced-motion:reduce){.site-header *{animation:none!important;transition:none!important}}
@media(forced-colors:active){.site-header{background:Canvas;border-color:CanvasText}.header-links,.header-menu>summary,.mobile-navigation{background:Canvas;border:1px solid CanvasText}.header-cta{background:ButtonFace;color:ButtonText;border-color:ButtonText}.contact-orbit{border-color:ButtonText}.header-links .icon,.header-menu>summary,.mobile-navigation .icon{color:CanvasText}.site-header:after{display:none}}

#scene-status{top:0;left:0;margin:0}
