
/* Sitewide navigation and footer redesign */
.site-header{position:sticky;top:0;z-index:500;background:rgba(243,238,228,.96);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.shell-nav{height:76px;display:flex;align-items:center;gap:30px;justify-content:space-between}
.shell-logo{font-size:20px;white-space:nowrap}.shell-logo .logo-mark{width:30px;height:30px}
.shell-links{display:flex;align-items:center;gap:6px;margin-left:auto}
.shell-links>a,.shell-dropdown>summary{list-style:none;text-decoration:none;color:var(--ink-soft);font-size:14px;font-weight:600;padding:11px 12px;border-radius:8px;cursor:pointer;display:flex;align-items:center;gap:5px}
.shell-dropdown>summary::-webkit-details-marker{display:none}.shell-links>a:hover,.shell-dropdown>summary:hover,.shell-dropdown[open]>summary{color:var(--teal);background:rgba(18,32,58,.055)}
.nav-badge{background:var(--seal);color:var(--paper);font-size:9.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:2px 6px;border-radius:999px;line-height:1.3;}
.shell-dropdown{position:relative}.shell-mega{position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);background:var(--paper);border:1px solid var(--line);box-shadow:0 24px 70px rgba(18,32,58,.18);border-radius:16px;padding:20px;z-index:20}
.shell-mega:before{content:"";position:absolute;top:-10px;left:0;right:0;height:12px}.shell-mega-docs{width:min(840px,calc(100vw - 48px));display:grid;grid-template-columns:240px 1fr;gap:18px}.shell-mega-products{width:min(760px,calc(100vw - 48px))}
.shell-mega-intro{background:var(--teal);color:var(--paper);border-radius:12px;padding:24px}.shell-mega-intro strong{font-family:'Fraunces',serif;font-size:25px;line-height:1.12;display:block;margin:13px 0 10px}.shell-mega-intro p{font-size:13px;color:rgba(243,238,228,.66);margin:0 0 18px}.shell-mega-intro>a{font-size:12.5px;color:var(--amber);font-weight:600;text-decoration:none}
.shell-kicker{font-family:'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.08em;font-size:10.5px;color:var(--seal);font-weight:600}.shell-mega-intro .shell-kicker{color:var(--amber)}
.shell-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shell-service-link{display:flex;align-items:center;gap:12px;text-decoration:none;padding:14px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.44);transition:.16s ease}.shell-service-link:hover{transform:translateY(-2px);border-color:rgba(18,32,58,.28);background:var(--paper-dim)}.shell-service-link.featured{grid-column:1/-1}.shell-service-code{width:42px;height:42px;flex:0 0 42px;border-radius:10px;background:var(--teal-tint);color:var(--teal);font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:600;display:grid;place-items:center}.shell-service-link.featured .shell-service-code{background:var(--seal);color:#fff}.shell-service-link b{display:block;color:var(--teal);font-size:13.5px}.shell-service-link small{display:block;color:var(--ink-soft);font-size:11.5px;margin-top:2px;line-height:1.35}
.shell-product-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.shell-product-columns>div{display:flex;flex-direction:column;gap:4px;padding:8px}.shell-product-columns a{text-decoration:none;color:var(--teal);font-size:13.5px;padding:8px 0;border-bottom:1px dashed var(--line)}.shell-product-columns a:hover{color:var(--seal)}.shell-product-columns .shell-kicker{margin-bottom:7px}.shell-product-feature{background:var(--paper-dim);border-radius:12px;padding:18px!important}.shell-product-columns .shell-all-link{color:var(--seal);border-bottom:0;font-weight:600;margin-top:5px}
.shell-actions{display:flex;align-items:center;gap:16px}.shell-text-link{font-size:13px;color:var(--ink-soft);text-decoration:none;font-weight:600}.shell-actions .btn{padding:11px 17px;border-radius:8px}
.shell-mobile-menu{background:var(--paper);border-top:1px solid var(--line);max-height:calc(100vh - 60px);overflow:auto}.shell-mobile-menu .container{padding-top:12px}.shell-mobile-menu details{border-bottom:1px solid var(--line)}.shell-mobile-menu summary{padding:15px 4px;list-style:none;font-weight:600;color:var(--teal);cursor:pointer}.shell-mobile-menu summary::-webkit-details-marker{display:none}.shell-mobile-menu details div{padding:0 0 8px 14px}.shell-mobile-menu details a{font-size:14px;padding:11px 4px;color:var(--ink-soft)}
.site-footer{padding:68px 0 28px;background:var(--teal);color:rgba(243,238,228,.68)}.shell-footer-grid{grid-template-columns:1.7fr repeat(4,1fr);gap:34px}.shell-footer-brand p{max-width:310px;margin:13px 0 17px;color:rgba(243,238,228,.58)}.shell-footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.shell-footer-contact a{font-family:'IBM Plex Mono',monospace;font-size:12px;text-decoration:none}.shell-footer-email{color:var(--amber)!important}.shell-footer-phone{color:var(--paper)!important}.shell-footer-whatsapp-link{color:#bde9c9!important}.shell-footer-contact a:hover{text-decoration:underline}.site-footer .footer-bottom{margin-top:34px}
.whatsapp-float{position:fixed;right:24px;bottom:24px;z-index:450;display:inline-flex;align-items:center;gap:9px;min-height:50px;padding:0 18px;border-radius:999px;background:#1fa855;color:#fff!important;text-decoration:none;font-size:13px;font-weight:700;box-shadow:0 12px 30px rgba(18,32,58,.28);transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.whatsapp-float:hover{transform:translateY(-2px);background:#178b47;box-shadow:0 16px 36px rgba(18,32,58,.34)}.whatsapp-float:focus-visible{outline:3px solid var(--amber);outline-offset:3px}.whatsapp-float svg{width:23px;height:23px;flex:0 0 23px}
@media(max-width:1040px){.shell-links{display:none}.shell-actions{display:none}.shell-nav{height:64px}.shell-nav .hamburger{display:flex}.shell-footer-grid{grid-template-columns:repeat(3,1fr)} }
@media(max-width:700px){.shell-footer-grid{grid-template-columns:1fr 1fr}.shell-footer-brand{grid-column:1/-1}.site-footer{padding-top:52px}input,select,textarea{font-size:16px!important}}
@media(max-width:460px){.shell-footer-grid{grid-template-columns:1fr}.shell-footer-brand{grid-column:auto}}
@media(max-width:700px){.whatsapp-float{right:16px;bottom:16px;width:56px;height:56px;min-height:56px;padding:0;justify-content:center}.whatsapp-float span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.whatsapp-float svg{width:26px;height:26px;flex-basis:26px}}
@media(max-width:900px){body.has-sticky .whatsapp-float{bottom:calc(134px + env(safe-area-inset-bottom,0px))}}
@media(max-width:640px){body.has-sticky .whatsapp-float{bottom:calc(172px + env(safe-area-inset-bottom,0px))}}

/* Keep primary controls comfortably tappable on touch devices. */
@media(max-width:700px),(pointer:coarse){
  .btn,.hamburger,.shell-mobile-menu summary,.shell-mobile-menu a,.selector-option,.document-card-link,.faq-q{min-height:44px;touch-action:manipulation}
  .site-footer li a,.shell-footer-contact a{display:inline-flex;align-items:center;min-height:44px;padding-block:6px}
}
