/* SHIELD-796-UNIFIED | Header, navigation and visual system across native Astro pages.
   All styles scoped to .shield-unified: React Emergent homepage and footer are untouched. */
:root {
  --header:rgba(9,20,37,.91);
  --menu:rgba(10,24,44,.985);
  --su-accent:#58a7ff;
  --su-panel:rgba(13,30,54,.79);
  --su-panel-line:rgba(107,159,226,.21);
  --su-blue:#2688dc;
}
html:not(.dark) {
  --header:rgba(255,255,255,.91);
  --menu:rgba(255,255,255,.985);
  --su-accent:#1769ce;
  --su-panel:rgba(255,255,255,.91);
  --su-panel-line:rgba(43,102,173,.19);
}
/* The new main navigation, dark glass instead of flat grey. */
body.shield-unified .su-header {padding-top:15px;isolation:isolate}
body.shield-unified .su-nav-shell {
  min-height:75px;
  max-width:1370px;
  background:var(--header);
  border:1px solid rgba(128,170,232,.18);
  border-radius:17px;
  box-shadow:0 18px 62px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.035);
  padding:7px 15px 7px 27px;
  backdrop-filter:blur(23px) saturate(145%);
  -webkit-backdrop-filter:blur(23px) saturate(145%);
}
html:not(.dark) body.shield-unified .su-nav-shell {
  border-color:rgba(40,98,167,.15);
  box-shadow:0 16px 46px rgba(35,71,110,.11),inset 0 1px #fff;
}
body.shield-unified .su-brand img {width:190px;max-height:58px}
body.shield-unified .su-desktop{gap:clamp(14px,1.75vw,29px)}
body.shield-unified .su-desktop>a,
body.shield-unified .su-desktop>details>summary{
  font:500 13px/1.35 'Geist',system-ui,sans-serif;
  color:var(--text);opacity:.90;
  padding:11px 6px;border-radius:9px;
  transition:background .18s,color .18s,opacity .18s;
}
body.shield-unified .su-desktop>a:hover,
body.shield-unified .su-desktop>details>summary:hover,
body.shield-unified .su-desktop>details[open]>summary {
  color:var(--su-accent);background:rgba(52,126,228,.08);opacity:1;
}
body.shield-unified .su-menu{
  top:calc(100% + 14px);
  border-radius:14px;border-color:rgba(122,167,228,.25);
  background:var(--menu);padding:10px;
  box-shadow:0 25px 65px rgba(0,0,0,.30);
  min-width:224px;
}
body.shield-unified .su-menu a,
body.shield-unified .su-mobile-list a{border-radius:9px;padding:11px 13px}
body.shield-unified .su-menu a:hover,
body.shield-unified .su-menu a:focus-visible,
body.shield-unified .su-mobile-list a:hover{background:rgba(38,136,220,.15);color:var(--su-accent)!important}
body.shield-unified .su-theme-switch{width:40px;height:40px;background:rgba(53,105,176,.08);color:var(--text)}
body.shield-unified .su-theme-switch:hover{border-color:var(--su-accent)}
body.shield-unified .su-client {
  min-height:45px;padding:0 23px;background:#f5f8ff;
  font-weight:700;border-radius:999px;box-shadow:0 6px 22px rgba(2,12,29,.17);
}
body.shield-unified .su-client:hover{background:#dbeaff;transform:translateY(-1px)}
body.shield-unified .su-dropdown>summary:focus-visible,
body.shield-unified .su-theme-switch:focus-visible,
body.shield-unified .su-client:focus-visible,
body.shield-unified .su-mobile>summary:focus-visible {outline:2px solid #78baff;outline-offset:4px}
/* Theme-aware, consistently spaced content; original copy, links and product data remain. */
body.shield-unified .su-main {padding-top:118px}
body.shield-unified .su-main h1 {font-size:clamp(43px,5.3vw,73px);line-height:1.07;letter-spacing:-.048em}
body.shield-unified .su-main h2 {line-height:1.13;letter-spacing:-.038em}
body.shield-unified .su-main :is(.service-container,.srv-container,.dc-wrap,.dd-container,.shc-container,.story-container,.infrastructure-container,.contact-container,.tos-shell) {
  width:min(1170px,calc(100% - 44px));max-width:1170px;margin-inline:auto;
}
/* Site sections use the same Emergent night-sky gradient, while canvas nodes remain behind them. */
body.shield-unified .su-main :is(.service-hero,.srv-hero,.dd-hero,.shc-hero,.dc-hero,.story-hero,.infrastructure-hero,.contact-hero,.tos-hero) {
  background:radial-gradient(ellipse at 86% 25%,rgba(30,103,209,.21),transparent 43%),linear-gradient(140deg,rgba(7,20,38,.91),rgba(9,30,57,.83))!important;
  border-bottom:1px solid rgba(107,158,220,.18);
  color:#f1f6ff;
}
html:not(.dark) body.shield-unified .su-main :is(.service-hero,.srv-hero,.dd-hero,.shc-hero,.dc-hero,.story-hero,.infrastructure-hero,.contact-hero,.tos-hero) {
  background:radial-gradient(ellipse at 85% 25%,rgba(64,140,232,.13),transparent 42%),linear-gradient(140deg,rgba(255,255,255,.88),rgba(231,242,255,.86))!important;
  color:#172c4a;
  border-color:rgba(49,108,176,.13);
}
/* Previously solid-colored sections now share the atmospheric, continuous background. */
body.shield-unified .su-main :is(.service-features,.service-plans,.srv-catalog-section,.dd-locations,.dd-principles,.dd-details,.dd-faq,.dc-locations,.dc-standards,.dc-transparency,.story-journey,.story-closing,.infrastructure-types,.infrastructure-final,.contact-guide,.contact-account,.tos-page) {
  background:transparent!important;color:var(--text);
}
body.shield-unified .su-main :is(.service-feature,.shield-plan-grid,.shield-server-row,.srv-panel,.srv-row,.dd-feature,.dd-location-card,.dd-faq-item,.dc-location,.dc-standard,.contact-guide .sh-contact-prep,.shc-other-card,.tos-summary-card,.tos-article,.story-chapter,.infrastructure-diagram,.infrastructure-final-panel) {
  background:var(--su-panel)!important;
  color:var(--text);
  border:1px solid var(--su-panel-line)!important;
  box-shadow:0 12px 48px rgba(1,12,31,.09);
  border-radius:20px;
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
body.shield-unified .su-main :is(.service-feature,.srv-row,.dd-feature,.dc-location,.shc-other-card,.sh-contact-prep,.infrastructure-category) {
  transition:border-color .24s ease,transform .24s ease,box-shadow .24s ease;
}
@media(hover:hover){
  body.shield-unified .su-main :is(.service-feature,.srv-row,.dd-feature,.dc-location,.shc-other-card,.sh-contact-prep):hover {
    transform:translateY(-3px);border-color:rgba(67,149,255,.45)!important;box-shadow:0 20px 50px rgba(1,15,38,.16);
  }
}
/* Preserve large editorial typography and true two-column illustrations. */
body.shield-unified .su-main :is(.service-hero-grid,.srv-hero-grid,.dd-hero-grid,.dc-hero-grid,.story-hero-grid,.infrastructure-hero-grid) {gap:clamp(30px,5vw,76px)}
body.shield-unified .su-main :is(.service-eyebrow,.srv-eyebrow,.dd-eyebrow,.dc-kicker,.story-eyebrow,.infrastructure-eyebrow,.tos-kicker,.shc-hero [class*='eyebrow']) {
  color:var(--su-accent)!important;letter-spacing:.16em;
}
body.shield-unified .su-main :is(.service-description,.srv-description,.dd-lead,.dc-lead,.story-lead,.infrastructure-lead,.contact-lead,.tos-lead) {
  max-width:690px;line-height:1.8;
}
/* Unified primary links, without changing targets/checkout configuration. */
body.shield-unified .su-main :is(a.service-primary,a.srv-btn-primary,a.dd-button-primary,a.dc-button,a.story-button,a.infrastructure-button,a.contact-account-button) {
  background:#176dff!important;color:#fff!important;border-radius:11px;
  box-shadow:0 10px 34px rgba(20,84,196,.24);
}
body.shield-unified .su-main :is(a.service-primary,a.srv-btn-primary,a.dd-button-primary,a.dc-button,a.story-button,a.infrastructure-button,a.contact-account-button):hover{background:#3b8cff!important}
/* Light-mode readability for older Astro components that hardcoded dark palette. */
html:not(.dark) body.shield-unified .su-main :is(.service-features,.service-plans,.srv-catalog-section,.dd-locations,.dd-principles,.dd-faq,.dc-locations,.dc-standards,.story-journey,.infrastructure-types,.contact-guide,.tos-page) :is(h1,h2,h3,h4) {color:#142642}
html:not(.dark) body.shield-unified .su-main :is(.service-feature,.shield-server-row,.srv-panel,.srv-row,.dd-feature,.dd-location-card,.dc-location,.dc-standard,.sh-contact-prep,.tos-article) :is(p,li,span) {color:#415976}
/* The original Emergent React navbar shares the same glass treatment.
   Keep React's mega-menu, animations, routes and theme switch intact. */
html.dark #root header.fixed > div:first-child {
  background:rgba(9,20,37,.90)!important;
  border:1px solid rgba(128,170,232,.19)!important;
  box-shadow:0 18px 62px rgba(0,0,0,.25)!important;
  backdrop-filter:blur(23px) saturate(145%)!important;
}
html:not(.dark) #root header.fixed > div:first-child {
  background:rgba(255,255,255,.91)!important;
  border:1px solid rgba(40,98,167,.15)!important;
  box-shadow:0 16px 46px rgba(35,71,110,.11)!important;
  backdrop-filter:blur(23px) saturate(145%)!important;
}
html.dark #root header.fixed nav,
html.dark #root header.fixed [data-testid="nav-servizi-toggle"],
html.dark #root header.fixed [data-testid^="nav-link-"] {
  color:#dbe8fa!important;
}
html.dark #root header.fixed [data-testid="nav-servizi-toggle"]:hover,
html.dark #root header.fixed [data-testid^="nav-link-"]:hover {color:#69b6ff!important}
html.dark #root header.fixed [data-testid="theme-toggle"] {
  color:#f2f6ff!important;border-color:rgba(130,167,226,.25)!important;
}
html.dark #root header.fixed [data-testid="nav-mobile-toggle"] {
  color:#f2f6ff!important;background:#102642!important;
}
html.dark #root header.fixed [data-testid="nav-mega-menu"] {
  color:#e8f2ff!important;
}
/* Site footer is intentionally untouched, retaining Emergent-style outlined SHIELD. */
@media(max-width:1160px){
  body.shield-unified .su-nav-shell{gap:13px;padding-left:18px}
  body.shield-unified .su-brand img{width:160px}
  body.shield-unified .su-desktop{gap:8px}
  body.shield-unified .su-desktop>a,body.shield-unified .su-desktop>details>summary{font-size:12px;padding-inline:4px}
}
@media(max-width:980px){
  body.shield-unified .su-nav-shell{min-height:65px}
  body.shield-unified .su-main{padding-top:107px}
  body.shield-unified .su-mobile-list{background:var(--menu);border:1px solid var(--su-panel-line)}
}
@media(max-width:560px){
  body.shield-unified .su-header{padding:10px 12px 0}
  body.shield-unified .su-nav-shell{padding:7px 11px;border-radius:14px;gap:6px}
  body.shield-unified .su-brand img{width:146px}
  body.shield-unified .su-client{display:none} /* Client area remains in mobile menu */
  body.shield-unified .su-main{padding-top:101px}
  body.shield-unified .su-main h1{font-size:clamp(35px,10vw,52px)}
  body.shield-unified .su-main :is(.service-container,.srv-container,.dc-wrap,.dd-container,.shc-container,.story-container,.infrastructure-container,.contact-container,.tos-shell){width:calc(100% - 34px)}
  body.shield-unified .su-main :is(.service-feature,.srv-panel,.dd-feature,.dc-location,.sh-contact-prep,.tos-article){border-radius:16px}
}
@media(prefers-reduced-motion:reduce){
  body.shield-unified .su-main :is(.service-feature,.srv-row,.dd-feature,.dc-location,.shc-other-card,.sh-contact-prep,.infrastructure-category),
  body.shield-unified .su-client {transition:none!important;transform:none!important}
}
