/* ACOTA V100 — TOP NAV / EDITORIAL INDUSTRIAL
   One deliberate navigation system, not another collection of card widgets.
   Scope exclusively to .ac-service and .ac-header, retaining existing content/routes.
   Overrides legacy navigation layers after V99. */
:root{--ac100-deep:#082f43;--ac100-blue:#087faa;--ac100-cyan:#2bb8c8;--ac100-line:#dce9ef;--ac100-ease:cubic-bezier(.19,.72,.19,1)}

/* Top information rail: precise, compact and consistent across interiors/legal/home. */
.ac-service,
body:has(main.ac56-page) .ac-service{
  position:relative;
  background:#0b2c3d!important;
  border:0!important;
  color:#eaf4f8!important;
}
.ac-service::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.33;
  background:linear-gradient(108deg,transparent 0 45%,rgba(58,180,203,.14) 45.05% 45.15%,transparent 45.2% 65%,rgba(58,180,203,.1) 65.05% 65.15%,transparent 65.2%)}
.ac-service .ac-service-inner{min-height:39px!important;position:relative;z-index:1;gap:18px}
.ac-service .ac-service-phone{color:#e6f4f9!important;font-size:12px!important;font-weight:560;letter-spacing:.018em;text-decoration:none!important}
.ac-service .ac-service-phone:hover{color:#fff!important}
.ac-service .ac-service-message{color:#bce7f1!important;font-size:11px!important;font-weight:780;letter-spacing:.11em;text-transform:uppercase;
  padding:5px 0 5px 16px;position:relative;text-decoration:none!important}
.ac-service .ac-service-message::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:5px;height:5px;border-radius:50%;background:var(--ac100-cyan);box-shadow:0 0 0 4px rgba(43,184,200,.13)}
.ac-service .ac-service-message:hover{color:#fff!important}

/* Floating architectural surface stays anchored to the existing sticky header. */
.ac-header,.ac-header.ac31-compact{
  isolation:isolate;
  background:linear-gradient(105deg,#fff 0%,#fcfeff 51%,#f2f8fa 100%)!important;
  border:0!important;
  border-bottom:1px solid rgba(14,88,120,.17)!important;
  box-shadow:0 20px 38px -34px rgba(5,41,62,.4)!important;
}
.ac-header::before{content:"";position:absolute;pointer-events:none;z-index:0;left:0;bottom:0;width:100%;height:2px;
  background:linear-gradient(90deg,#087caa 0%,#24b2c3 17%,rgba(34,180,191,.2) 42%,transparent 78%);opacity:.92}
.ac-header::after{content:"";position:absolute;pointer-events:none;z-index:0;top:0;right:7%;width:24%;height:100%;opacity:.16;
 background:repeating-linear-gradient(112deg,transparent 0 38px,rgba(38,122,149,.16) 39px,transparent 40px 76px)}
.ac-header .ac-header-inner{position:relative;z-index:2;min-height:96px!important;gap:clamp(24px,3.6vw,55px)!important;justify-content:space-between}
.ac-header.ac100-condensed .ac-header-inner,.ac-header.ac31-compact .ac-header-inner{min-height:74px!important}
.ac-header.ac100-condensed,.ac-header.ac31-compact{box-shadow:0 17px 38px -27px rgba(5,41,62,.44)!important}

/* Original logotype remains unaltered and near its native raster resolution. */
.ac-header .ac-logo{position:relative;isolation:isolate;flex:0 0 158px;width:158px!important;max-width:158px!important;
  padding:10px 13px 10px 14px;display:flex;align-items:center;min-height:70px;text-decoration:none}
.ac-header .ac-logo::before{content:"";position:absolute;top:12px;bottom:12px;left:0;width:3px;border-radius:1px;
  background:linear-gradient(180deg,#22b4c4,#09658d)}
.ac-header .ac-logo::after{content:"";position:absolute;left:14px;right:17px;bottom:5px;height:1px;
  background:linear-gradient(90deg,#94ccd8,rgba(148,204,216,0));opacity:.72}
.ac-header .ac-logo img,.ac-header.ac31-compact .ac-logo img{
  display:block;width:100%!important;max-width:136px!important;height:auto!important;max-height:60px!important;
  object-fit:contain;filter:none!important;transform:none!important}
.ac-header .ac-logo:is(:hover,:focus-visible)::before{background:linear-gradient(180deg,#11a4bb,#063f62)}

/* Navigation occupies one continuous editorial baseline. */
.ac-header .ac-nav{margin-left:auto;align-self:stretch;display:flex;align-items:center;min-width:0}
.ac-header .ac-nav-root{display:flex;align-items:center;gap:clamp(20px,2.4vw,36px);padding:0;margin:0}
.ac-header .ac-nav-root>li{position:relative;display:flex;align-items:center;min-width:0}
.ac-header .ac-nav-root>li>a:not(.ac-nav-budget),
.ac-header .ac-dropdown-toggle{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:55px;
  padding:0 1px!important;color:#15394b!important;
  font-family:"Segoe UI",Arial,sans-serif!important;font-size:clamp(14px,1.15vw,15px)!important;font-weight:725!important;
  letter-spacing:.007em!important;line-height:1.2;white-space:nowrap;
  text-decoration:none!important;background:none!important;border:0!important;border-radius:0!important;
  cursor:pointer;transition:color .23s ease!important}
.ac-header .ac-nav-root>li>a:not(.ac-nav-budget):is(:hover,:focus-visible,.is-current),
.ac-header .ac-dropdown-toggle:is(:hover,:focus-visible,.is-current),
.ac-header .ac-dropdown-toggle[aria-expanded="true"]{color:#006e99!important}
.ac-header .ac-nav-root>li>a:not(.ac-nav-budget)::after,
.ac-header .ac-dropdown-toggle::after{
  content:""!important;display:block!important;position:absolute!important;bottom:7px!important;left:0!important;right:0!important;
  width:auto;height:2px!important;border:0!important;border-radius:2px!important;
  background:linear-gradient(90deg,#087baf,#31bac6)!important;
  transform:scaleX(0);transform-origin:left center;transition:transform .36s var(--ac100-ease)!important;
}
.ac-header .ac-nav-root>li>a:not(.ac-nav-budget):is(:hover,:focus-visible,.is-current)::after,
.ac-header .ac-dropdown-toggle:is(:hover,:focus-visible,.is-current,[aria-expanded="true"])::after{transform:scaleX(1)}
.ac-header .ac-chevron{width:8px;height:8px;border-width:1.8px;margin:0 0 4px;transition:transform .26s var(--ac100-ease)!important}
.ac-header .ac-dropdown-toggle[aria-expanded="true"] .ac-chevron{transform:translateY(3px) rotate(225deg)}

/* Conversion link: the single deliberate high-contrast element. */
.ac-header .ac-nav-root .ac-nav-budget{
  isolation:isolate;position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;
  min-width:192px;min-height:54px;margin:0;padding:0 18px 0 22px!important;
  background:linear-gradient(113deg,#0a4763,#086f94)!important;color:#fff!important;
  border:1px solid #075f7e!important;border-radius:3px!important;
  font-family:"Segoe UI",Arial,sans-serif!important;font-size:14px!important;font-weight:780!important;letter-spacing:.02em!important;
  box-shadow:0 14px 22px -17px rgba(6,59,86,.5)!important;
  text-decoration:none!important;transform:none!important;overflow:hidden;
  transition:background .28s ease,box-shadow .28s ease,border-color .28s ease!important;
}
.ac-header .ac-nav-root .ac-nav-budget::before{content:"";position:absolute;inset:0;width:4px;z-index:1;pointer-events:none;
  background:#36c0d0;transform:none!important;transition:width .35s var(--ac100-ease)!important}
.ac-header .ac-nav-root .ac-nav-budget::after{display:none!important}
.ac-header .ac-nav-root .ac-nav-budget:hover,.ac-header .ac-nav-root .ac-nav-budget.is-current{
  background:linear-gradient(113deg,#07394e,#075e83)!important;border-color:#065875!important;
  box-shadow:0 19px 29px -17px rgba(3,42,65,.54)!important;transform:none!important}
.ac-header .ac-nav-root .ac-nav-budget:is(:hover,:focus-visible)::before{width:7px}
.ac100-budget-icon{display:block;flex:0 0 19px;width:19px;height:19px;color:#b7edf4;transition:transform .3s var(--ac100-ease)!important}
.ac-header .ac-nav-budget:is(:hover,:focus-visible) .ac100-budget-icon{transform:translateX(4px)}

/* Technology menu — one large coherent panel, not three isolated cards. */
.ac-header .ac-nav-parent .ac-submenu{
  top:calc(100% - 1px);left:auto;right:-140px;transform:none!important;
  width:min(740px,calc(100vw - 55px));min-width:0;
  margin:0;padding:26px 22px 24px!important;
  grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
  background:linear-gradient(145deg,#fff 0%,#f8fcfd 100%)!important;
  border:1px solid #d6e6ed!important;border-top:3px solid #1185aa!important;
  border-radius:0 0 15px 15px!important;
  box-shadow:0 28px 70px -36px rgba(3,39,60,.42)!important;
  overflow:hidden;
}
.ac-header .ac-nav-parent .ac-submenu::before{content:"";position:absolute;top:0;left:0;right:0;height:100%;z-index:0;pointer-events:none;
  background:radial-gradient(ellipse at 84% 0%,rgba(68,175,198,.095),transparent 43%);
}
.ac-header .ac-submenu-card{
  position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;
  min-height:164px;min-width:0;padding:21px 19px 14px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  text-decoration:none!important;transform:none!important;
  transition:background .26s ease!important;
}
.ac-header .ac-submenu-card:not(:last-child)::before{top:12px;bottom:12px;right:0;height:auto;width:1px;background:#d9e9ed}
.ac-header .ac-submenu-card::after{content:"";display:block;position:absolute;left:18%;right:18%;bottom:5px;height:3px;
  border-radius:2px;background:#b5a187;transform:scaleX(.34);opacity:.35;transition:opacity .3s ease,transform .3s var(--ac100-ease)}
.ac-header .ac-submenu-card:nth-child(2)::after{background:#21a16f}
.ac-header .ac-submenu-card:nth-child(3)::after{background:#ca3c5b}
.ac-header .ac-submenu-card:is(:hover,:focus-visible,.is-current){background:linear-gradient(180deg,rgba(225,242,247,.5),rgba(226,244,249,.25))!important}
.ac-header .ac-submenu-card:is(:hover,:focus-visible,.is-current)::after{opacity:1;transform:scaleX(1)}
.ac-header .ac-submenu-mark{display:flex;min-height:72px;width:100%;align-items:center;justify-content:center}
.ac-header .ac-submenu-mark img{display:block;max-width:170px;max-height:68px;width:auto;height:auto;object-fit:contain;
  filter:none!important;transition:transform .33s var(--ac100-ease)!important}
.ac-header .ac-submenu-card:hover .ac-submenu-mark img{transform:translateY(-3px) scale(1.03)}
.ac-header .ac-submenu-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;width:min(150px,100%);
  padding-top:11px;border-top:1px solid #d6e6eb;
  color:#34576b;font:730 12px/1.25 "Segoe UI",Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.ac-header .ac-submenu-caption svg{display:block;width:15px;height:15px;flex:0 0 15px;color:#137ca6;
  transition:transform .3s var(--ac100-ease)}
.ac-header .ac-submenu-card:is(:hover,:focus-visible) .ac-submenu-caption svg{transform:translateX(4px)}
/* Same click/touch/keyboard mechanics as V68. */
html.ac-nav-enhanced .ac-header .ac-nav-parent .ac-submenu{display:none}
html.ac-nav-enhanced .ac-header .ac-nav-parent.is-open .ac-submenu{display:grid;animation:ac100-mega-in .22s var(--ac100-ease) both}
@keyframes ac100-mega-in{from{opacity:0;clip-path:inset(0 0 9% 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}
.ac-header :is(a,button):focus-visible{outline:3px solid #008bb8!important;outline-offset:4px!important}

/* Mobile: a purposeful full-width editorial drawer with legible logo/product choices. */
@media(max-width:900px){
  .ac-service .ac-service-inner{min-height:34px!important}
  .ac-header .ac-header-inner,.ac-header.ac31-compact .ac-header-inner,.ac-header.ac100-condensed .ac-header-inner{
    min-height:76px!important;gap:12px!important;}
  .ac-header .ac-logo{flex-basis:147px;width:147px!important;max-width:147px!important;min-height:64px;padding-left:13px}
  .ac-header .ac-logo img{max-width:127px!important;max-height:57px!important}
  .ac-header .ac-menu-button{display:flex!important;flex:0 0 50px;width:50px;height:50px;margin-left:auto;
    border:1px solid #cae1e9!important;border-radius:3px!important;
    background:linear-gradient(180deg,#fbfeff,#edf7f9)!important;box-shadow:none!important;
    transition:border-color .2s ease,background .2s ease}
  .ac-header .ac-menu-button span{width:23px;height:2px;margin:0;border-radius:2px;background:#0b4b65;transform-origin:center;
    transition:transform .25s ease,opacity .2s ease}
  .ac-header .ac-menu-button[aria-expanded="true"]{border-color:#0d83a9!important;background:#e5f5f8!important}
  .ac-header .ac-menu-button[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
  .ac-header .ac-menu-button[aria-expanded="true"] span:nth-child(2){opacity:0}
  .ac-header .ac-menu-button[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}
  .ac-header .ac-nav{display:none!important;position:absolute;left:12px;right:12px;top:calc(100% - 1px);
    width:auto;max-height:calc(100dvh - 110px);margin:0;padding:12px 25px 24px!important;overflow:auto;
    background:#fff!important;border:1px solid #d8e8ed!important;border-top:3px solid #0b86b1!important;
    border-radius:0 0 12px 12px!important;box-shadow:0 28px 55px -36px rgba(5,46,69,.5)!important;z-index:200}
  .ac-header .ac-nav.is-open{display:block!important}
  .ac-header .ac-nav-root{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .ac-header .ac-nav-root>li{display:block}
  .ac-header .ac-nav-root>li>a:not(.ac-nav-budget),.ac-header .ac-dropdown-toggle{
    display:flex;width:100%;min-height:65px;justify-content:space-between;padding:0 2px!important;
    border:0!important;border-bottom:1px solid #dceaf0!important;border-radius:0!important;
    font-size:17px!important;letter-spacing:-.015em!important;}
  .ac-header .ac-nav-root>li>a:not(.ac-nav-budget)::after,.ac-header .ac-dropdown-toggle::after{display:none!important}
  .ac-header .ac-nav-root .ac-nav-budget{display:flex;min-width:0;width:100%;min-height:58px;margin-top:17px;padding:0 19px 0 23px!important;font-size:15px!important}
  .ac-header .ac-nav-parent .ac-submenu{
    position:static;display:none;transform:none!important;width:100%;margin:0 0 11px;padding:0!important;
    grid-template-columns:1fr;gap:0;border:0!important;border-radius:0!important;background:#f5fafb!important;
    box-shadow:none!important;overflow:visible}
  .ac-header .ac-nav-parent:is(:hover,:focus-within) .ac-submenu{display:none}
  .ac-header .ac-nav-parent.is-open .ac-submenu{display:grid}
  html.ac-nav-enhanced .ac-header .ac-nav-parent .ac-submenu{display:none}
  html.ac-nav-enhanced .ac-header .ac-nav-parent.is-open .ac-submenu{display:grid;animation:ac100-mega-in .2s ease both}
  .ac-header .ac-submenu-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:76px;justify-items:stretch;
    padding:12px 17px!important;background:transparent!important;}
  .ac-header .ac-submenu-card:not(:last-child)::before{left:17px;right:17px;top:auto;bottom:0;width:auto;height:1px;background:#e1ebef}
  .ac-header .ac-submenu-card::after{display:none!important}
  .ac-header .ac-submenu-mark{min-height:47px;justify-content:flex-start}
  .ac-header .ac-submenu-mark img{max-width:128px;max-height:53px}
  .ac-header .ac-submenu-caption{width:auto;border:0;padding:0;min-width:82px;align-items:center;justify-content:flex-end;gap:10px;
    font-size:10px;letter-spacing:.08em;text-align:right}
  .ac-header .ac-submenu-caption svg{width:14px;height:14px;flex-basis:14px}
}
@media(max-width:540px){
  .ac-service .ac-service-inner{min-height:32px!important;gap:10px}
  .ac-service .ac-service-phone,.ac-service .ac-service-message{font-size:10.5px!important}
  .ac-service .ac-service-message{letter-spacing:.06em;padding-left:10px}
  .ac-service .ac-service-message::before{width:4px;height:4px;box-shadow:none}
  .ac-header .ac-header-inner{min-height:71px!important}
  .ac-header .ac-logo{flex-basis:134px;width:134px!important;max-width:134px!important}
  .ac-header .ac-logo img{max-width:114px!important}
  .ac-header .ac-menu-button{width:46px;height:46px;flex-basis:46px}
  .ac-header .ac-nav{left:7px;right:7px;max-height:calc(100dvh - 104px);padding:11px 18px 21px!important}
}
@media(prefers-reduced-motion:reduce){
  .ac-header :is(a,button,img),.ac-header .ac-chevron,.ac-header .ac-submenu,
  .ac-header .ac-submenu-card::after,.ac-header .ac100-budget-icon,
  .ac-header .ac-menu-button span{transition:none!important;animation:none!important}
}
