/* The header overlays the opening section without changing position on scroll. */
:root{
  --site-header-height:78px;
  --hero-full-height:calc(100svh - var(--wp-admin--admin-bar--height,0px));
  --hero-short-height:clamp(330px,54svh,410px);
  --hero-opening-gap:clamp(28px,5svh,64px);
}
.site-header{
  position:sticky;inset:0 0 auto;background:#fff;color:var(--navy);
  box-shadow:0 1px 0 #113c5b1a;transition:background-color .18s,color .18s,box-shadow .18s;
}
.site-header.is-over-hero,.site-header.is-over-hero.is-scrolled{position:fixed;background:transparent;color:#fff;box-shadow:none}
body.admin-bar .site-header{top:var(--admin-offset,32px)}
.site-header.is-over-hero.is-scrolled{background:#fff;color:var(--navy);box-shadow:0 1px 0 #113c5b1a,0 8px 24px #0c2e4710}
.header-inner,.home .header-inner{min-height:78px;gap:20px;border:0}
.header-inner>.custom-logo-link{flex:0 0 auto}
.site-header .header-inner .custom-logo,.home .header-inner .custom-logo{width:145px;filter:none;transform:none}
.site-header.is-over-hero:not(.is-scrolled) .custom-logo{filter:brightness(0) invert(1)}
.site-header.is-over-hero:not(.is-scrolled) :is(.header-search summary,.submenu-toggle,.menu-toggle)>img.icon{filter:brightness(0) invert(1)}
.site-header :is(.header-search summary,.submenu-toggle,.menu-toggle)>img.icon{filter:none}
.site-header .main-menu>li>a:hover,.site-header .main-menu>.current-menu-item>a{color:inherit;text-decoration:underline;text-underline-offset:5px}
.site-navigation{gap:18px;min-width:0}
.main-menu{gap:18px}
.main-menu>li{gap:0}
.main-menu>li>a{font-size:14px}
.submenu-toggle{min-width:26px;padding-inline:5px}
.header-search{flex:none}
.header-search summary{width:38px;height:44px}
.header-search-panel{background:#fff;color:var(--navy);border-color:var(--line);border-radius:24px}
.header-search[open]>summary>.icon{transform:none}
.navigation-actions{display:flex;align-items:center;gap:10px;flex:none}
.navigation-actions .button{min-height:46px;padding:11px 18px;font-size:14px;line-height:1.35;border-radius:24px;white-space:nowrap;gap:12px;margin:0}
.navigation-actions .button-pro{color:var(--navy);background:rgba(255,255,255,.85);border:1px solid rgba(255,255,255,.45)}
.navigation-actions .button-pro:hover{background:#fff}
.site-header:not(.is-over-hero) .button-pro,.site-header.is-scrolled .button-pro{background:#edf3f7;border-color:#d5e2eb}
.site-header:not(.is-over-hero) .button-pro:hover,.site-header.is-scrolled .button-pro:hover{background:#e0ebf2}
.site-header.is-over-hero:not(.is-scrolled) :focus-visible{outline-color:var(--lime)}
.site-header.is-over-hero:not(.is-scrolled) :is(.sub-menu,.header-search-panel) :focus-visible{outline-color:var(--steel)}
.site-header :focus-visible{outline-color:var(--steel)}
.site-header .button-lime{color:var(--navy)}

/* Only the requested routes receive a shared height; copy can always extend it. */
.hero-full-height .section-hero,.hero-full-height .section-page-intro,.hero-full-height .solution-page-hero,.hero-full-height .application-page>.hero{
  min-height:var(--hero-full-height);height:auto;max-height:none;
}
.hero-full-height .section-hero{justify-content:center}
.hero-full-height .hero-content{
  padding-top:calc(var(--site-header-height) + var(--hero-opening-gap));
  padding-bottom:clamp(76px,10svh,108px);
}
.hero-full-height .section-page-intro,.hero-full-height .solution-page-hero{
  padding-top:calc(var(--site-header-height) + var(--hero-opening-gap));
  padding-bottom:clamp(40px,7svh,80px);
}
.hero-full-height .section-page-intro{
  display:flex;align-items:center;
  padding-block:calc(var(--site-header-height) + var(--hero-opening-gap));
}
.hero-full-height .section-page-intro .button-row:empty{display:none}
.hero-full-height .application-page>.hero{display:flex;align-items:center}
.hero-full-height .application-page .hero-main{
  width:100%;min-height:0;
  padding-top:calc(var(--site-header-height) + var(--hero-opening-gap));
  padding-bottom:clamp(56px,8svh,96px);
}
.hero-short-height .section-page-intro,.hero-short-height .partner-page>.hero{
  min-height:var(--hero-short-height);height:auto;max-height:none;display:flex;align-items:center;
  padding-top:calc(var(--site-header-height) + clamp(24px,4svh,44px));
  padding-bottom:clamp(36px,6svh,60px);
}
.hero-short-height .partner-page .hero-in{padding-top:0}
.hero-short-height .section-page-intro h1,.hero-short-height .partner-page .hero h1{
  font-size:clamp(32px,3.8vw,53px);line-height:1.04;max-width:1050px;
}
.hero-short-height .section-page-intro .lead{font-size:clamp(17px,1.6vw,20px);margin-top:20px;max-width:780px;line-height:1.5}
.hero-short-height .section-page-intro .button-row:empty{display:none}
@media(min-width:1000px) and (max-height:700px){
 .hero-full-height .solution-hero-inner{gap:24px}
 .hero-full-height .solution-hero-content{padding-block:12px}
}
/* Preserve the existing intro composition on other pages under the overlay. */
.header-over-hero:not(.hero-full-height):not(.hero-short-height) .section-page-intro{
  padding-top:calc(82px + var(--site-header-height));
}

/* Remove only the decorative directory card frame, retaining keyboard focus. */
.partner-page .card,.partner-page .card.eu,.partner-page .card:hover{border:0}
.section-partner-directory .partner-card{border:0}
.section-partner-directory .partner-card.is-selected{border:0;outline:2px solid var(--blue);outline-offset:2px}
.partner-page .card:focus-within{outline:2px solid var(--steel);outline-offset:3px}

/* The closing call to action shares one centered composition across templates. */
.section-cta,.application-page .next,.solution-cta{
  padding:clamp(56px,7vw,82px) clamp(16px,4vw,48px);
  background:linear-gradient(120deg,#005a90,#008cd1);color:#fff;text-align:center;
}
.section-cta .cta-grid,.application-page .next .wrap,.solution-cta .solution-cta-grid{
  width:100%;max-width:1240px;margin-inline:auto;display:grid;
  grid-template-columns:minmax(0,1fr);gap:16px;align-items:start;justify-items:center;text-align:center;
}
.section-cta .cta-grid>div,.solution-cta .solution-cta-grid>div{
  width:100%;min-width:0;display:grid;gap:30px;justify-items:center;margin:0;
}
.section-cta .cta-grid h2,.application-page .next h2,.solution-cta h2{
  max-width:100%;margin:0;font-size:clamp(34px,4vw,48px);line-height:1.12;
  letter-spacing:-.02em;color:#fff;text-wrap:balance;
}
.section-cta .cta-grid h2 span,.application-page .next h2 span{color:inherit;font-weight:inherit}
.section-cta .cta-grid>div>p:not(.eyebrow),.application-page .next p,.solution-cta p{
  max-width:600px;margin:0 auto;font-size:17px;line-height:1.6;color:#dcecf6;
}
.section-cta .cta-grid .button-row,.application-page .next .btns,.solution-cta .button-row{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin:0;
}
.application-page .next .btns{margin-top:14px}
.section-cta .cta-grid .button,.application-page .next .btn,.solution-cta .button{
  min-height:50px;padding:16px 30px;font-size:14px;font-weight:700;line-height:1.2;gap:12px;border-radius:999px;
}
.section-cta .cta-grid .button-lime,.application-page .next .btn--cit,.solution-cta .button-lime{
  color:var(--navy);border:1.5px solid transparent;
}
.section-cta .cta-grid .button-outline,.application-page .next .btn--line,.solution-cta .button-outline{
  color:#fff;border:1.5px solid rgba(255,255,255,.6);
}
.section-cta .cta-grid .button .icon,.solution-cta .button .icon{width:16px;height:16px}
.section-cta :focus-visible,.application-page .next :focus-visible,.solution-cta :focus-visible{outline-color:var(--lime)}

/* The footer is independent of the closing call to action above it. */
.site-footer{padding-top:clamp(48px,6vw,76px);background:var(--navy);color:#fff}
.site-footer .footer-grid{
  display:grid;grid-template-columns:minmax(0,1.45fr) repeat(3,minmax(0,1fr));
  gap:clamp(30px,5vw,76px);padding-bottom:clamp(48px,6vw,72px);align-items:start;
}
.site-footer .footer-brand .custom-logo{width:146px;filter:brightness(0) invert(1);transform:none}
.site-footer .footer-brand p{font-size:14px;line-height:1.65;max-width:255px;margin-top:22px;color:#c3d3df}
.site-footer .footer-column h2{font-size:11px;line-height:1.5;letter-spacing:.13em;text-transform:uppercase;color:var(--lime);margin:0 0 17px}
.site-footer .footer-menu{columns:auto;list-style:none;margin:0;padding:0;display:grid;gap:9px}
.site-footer .footer-menu li{font-size:14px;line-height:1.5;margin:0}
.site-footer .footer-menu a{display:inline-block;padding-block:2px;color:#e4edf3}
.site-footer .footer-menu a:hover,.site-footer .footer-bottom a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.site-footer .footer-bottom{border-top:1px solid #ffffff24;padding-block:24px;color:#c3d3df;flex-wrap:wrap;font-size:12px;gap:16px 24px}
.site-footer .footer-bottom>div{width:auto;margin:0;display:flex;flex-wrap:wrap;gap:12px 24px}
.site-footer .preview-label{font-size:10px;margin:0}

@media(min-width:1200px){
  .site-header .site-navigation{display:flex;max-height:none;overflow:visible}
  .site-header .menu-toggle,.site-header .header-quote{display:none}
  .site-header .main-menu .sub-menu{background:#fff;color:var(--navy);border-color:var(--line);border-radius:24px;padding:12px 18px}
  .site-header .main-menu .sub-menu a:hover{color:var(--steel)}
}
@media(max-width:1199px){
  .header-inner>.header-quote{display:inline-flex;margin-left:auto;flex:none;min-height:44px;padding:10px 18px;font-size:13px;border-radius:24px}
  .site-header .menu-toggle{display:flex;color:inherit;width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;padding:10px;align-items:center;justify-content:center}
  .site-header .menu-toggle>.icon{width:24px;height:24px;min-width:24px;max-width:none;flex:0 0 24px}
  .site-header .site-navigation{display:none;position:absolute;inset:100% 0 auto;background:#fff;color:var(--navy);border-top:1px solid var(--line);padding:20px var(--gutter) 28px;max-height:calc(100svh - var(--site-header-height) - var(--admin-offset,0px));overflow:auto;overscroll-behavior:contain}
  .site-header .site-navigation.is-open{display:block}
  /* The opened panel has its own readable palette; the hero header stays clear. */
  .site-header.is-over-hero:not(.is-scrolled) .site-navigation :is(.header-search summary,.submenu-toggle)>img.icon{filter:none}
  .site-header.is-over-hero:not(.is-scrolled) .site-navigation :focus-visible{outline-color:var(--steel)}
  .site-header .site-navigation .button-pro{background:#edf3f7;border-color:#d5e2eb}
  .site-header .main-menu{display:block}
  .site-header .main-menu>li>a{font-size:18px;white-space:normal}
  .site-header .main-menu .sub-menu{background:#f4f7fa;color:var(--navy);border-color:var(--line);border-radius:24px}
  .site-header .navigation-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
  .site-header .site-navigation .nav-quote{display:inline-flex}
  .site-header .header-search{margin-top:12px}
  .site-header .header-search-panel{position:static;width:100%;max-width:460px;padding:16px;margin-top:8px;box-shadow:none}
  .site-header .header-search summary{width:auto;min-height:44px;justify-content:flex-start;gap:12px}
  .site-footer .footer-grid{grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(0,1fr));gap:32px}
}
@media(max-width:699px){
  :root{--site-header-height:70px;--hero-short-height:350px;--hero-opening-gap:32px}
  .header-inner,.home .header-inner{min-height:70px;gap:10px}
  .header-inner.wrap{width:calc(100% - 32px)}
  .site-header .header-inner .custom-logo,.home .header-inner .custom-logo{width:118px}
  .header-inner>.header-quote{padding:10px 13px;font-size:12px}
  .hero-full-height .hero-content{padding-bottom:92px}
  .hero-full-height .application-page .hero-main{padding-bottom:52px}
  .hero-short-height .section-page-intro,.hero-short-height .partner-page>.hero{padding-top:calc(var(--site-header-height) + 32px);padding-bottom:40px}
  .hero-short-height .section-page-intro h1,.hero-short-height .partner-page .hero h1{font-size:clamp(32px,8.5vw,42px);line-height:1.08}
  .header-over-hero:not(.hero-full-height):not(.hero-short-height) .section-page-intro{padding-top:calc(55px + var(--site-header-height))}
  .site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}
  .site-footer .footer-brand{grid-column:1/-1}
  .site-footer .footer-brand p{max-width:340px}
  .site-footer .footer-bottom{align-items:flex-start;flex-direction:column}
}
@media(max-width:359px){
  .header-inner,.home .header-inner{gap:6px}
  .site-header .header-inner .custom-logo,.home .header-inner .custom-logo{width:104px}
  .header-inner>.header-quote{padding-inline:10px}
  .navigation-actions .button{padding-inline:14px}
}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}
.site-header .main-menu .submenu-title {
  gap: 6px;
  padding: 12px 0;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
}
@media(max-width:1199px){
  .site-header .main-menu .submenu-title {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 18px;
  }
}
