/* East4Serv heritage treatment. Scoped to public pages and the search component. */
.public-v2{--heritage-blue:#0ea5e9;--heritage-ink:#071d34;--heritage-orange:#ee672f}
.public-v2 .e4s-site-header{box-shadow:0 8px 26px #071d3418}
.public-v2 .e4s-main-brand.e4s-original-public-logo .e4s-brand-symbol,
.public-v2 .e4s-footer-about .e4s-original-public-logo .e4s-brand-symbol{width:56px!important;height:56px!important;max-width:56px;object-fit:contain;filter:drop-shadow(0 5px 11px #0a92d63a)}
.public-v2 .e4s-main-brand.e4s-original-public-logo strong{color:#0e304c}
.public-v2 .e4s-mega-current{background:#e8f6fd!important;outline:2px solid #0b90cc;outline-offset:-2px}
.public-v2 .e4s-mega-current strong{color:#084e78!important}
.public-v2 .e4s-mega>summary:focus-visible,.public-v2 .e4s-mega-links a:focus-visible,
.public-v2 .e4s-nav-actions a:focus-visible,.public-v2 .e4s-legacy-search-trigger:focus-visible,
.e4s-legacy-search-dialog button:focus-visible,.e4s-legacy-search-dialog input:focus-visible,
.e4s-legacy-search-page input:focus-visible,.e4s-legacy-search-page button:focus-visible,
.e4s-legacy-search-result a:focus-visible{outline:3px solid #e87034;outline-offset:3px}
.public-v2 .e4s-legacy-search-trigger{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:42px;padding:.55rem .7rem;border:1px solid #bedfea;border-radius:10px;background:#f5fbff;color:#0b3856;font-weight:750;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.public-v2 .e4s-legacy-search-trigger:hover{background:#e8f7ff;border-color:#66c7e8;transform:translateY(-1px)}
.public-v2 .e4s-legacy-search-trigger svg{width:19px;height:19px;flex:none}
.e4s-legacy-search-dialog{width:min(650px,calc(100vw - 2rem));max-width:none;max-height:calc(100dvh - 2rem);margin:auto;padding:0;border:1px solid #b8dbe7;border-radius:22px;background:#f8fcff;color:#102b46;box-shadow:0 30px 100px #00122590;overflow:auto}
.e4s-legacy-search-dialog::backdrop{background:#061a2ccc;backdrop-filter:blur(6px)}
.e4s-legacy-search-dialog-inner{padding:clamp(1.25rem,4vw,2.2rem)}
.e4s-legacy-search-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.e4s-legacy-search-dialog-head h2{margin:.35rem 0 0;font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.15;color:#102b46}
.e4s-legacy-search-dialog-head button{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #c7dae5;border-radius:10px;background:#fff;color:#173851;font-size:1.6rem;cursor:pointer}
.e4s-legacy-eyebrow{font-size:.7rem;font-weight:850;letter-spacing:.16em;color:#087a9a}
.e4s-legacy-search-dialog form label,.e4s-legacy-search-form label{display:block;margin-bottom:.5rem;color:#17334a;font-weight:750}
.e4s-legacy-search-dialog-field,.e4s-legacy-search-form>div{display:flex;gap:.65rem}
.e4s-legacy-search-dialog input,.e4s-legacy-search-form input{flex:1;min-width:0;min-height:52px;padding:.85rem 1rem;border:1px solid #a9cbdc;border-radius:10px;background:#fff;color:#10263d;font:inherit}
.e4s-legacy-search-dialog input::placeholder,.e4s-legacy-search-form input::placeholder{color:#667f90;opacity:1}
.e4s-legacy-search-dialog form button,.e4s-legacy-search-form button{min-height:52px;padding:.75rem 1.25rem;border:0;border-radius:10px;background:linear-gradient(110deg,#087cb9,#10b7c6);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 10px 25px #087cb92f}
.e4s-legacy-search-dialog form button:hover,.e4s-legacy-search-form button:hover{background:linear-gradient(110deg,#066aa2,#0798a6)}
.e4s-legacy-search-quick{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1.2rem}
.e4s-legacy-search-quick a{padding:.5rem .7rem;border:1px solid #c9e3ed;border-radius:999px;background:#eef8fd;color:#0d4d70;font-size:.84rem;font-weight:700;text-decoration:none}
.e4s-legacy-search-quick a:hover{background:#daf3fb}
.e4s-legacy-search-page{padding:clamp(3rem,7vw,6rem) 1rem;background:radial-gradient(circle at 78% 16%,#0f789a75,transparent 32%),linear-gradient(125deg,#07182c,#103956 65%,#0b3656);color:#f7fbff}
.e4s-legacy-search-shell{width:min(100%,1020px);margin-inline:auto}
.e4s-legacy-search-page .e4s-legacy-eyebrow{color:#59e1ea}
.e4s-legacy-search-page h1{margin:.5rem 0;font-size:clamp(2.3rem,5vw,4.3rem);line-height:1.06;color:#f7fbff}
.e4s-legacy-search-page p{max-width:720px;color:#d2e4f1;font-size:1.05rem}
.e4s-legacy-search-form{margin-top:2rem;padding:1rem;border:1px solid #5bbecb55;border-radius:16px;background:#f7fbff12;box-shadow:0 20px 55px #00000020}
.e4s-legacy-search-form label{color:#f7fbff}
.e4s-legacy-search-note{margin-top:1rem!important;color:#f8d6be!important}
.e4s-legacy-search-results{padding:clamp(2rem,5vw,4rem) 1rem 5rem;background:#f5fafd;color:#10263d}
.e4s-legacy-search-results h2{display:flex;align-items:center;gap:.75rem;color:#10263d;font-size:1.8rem}
.e4s-legacy-search-results h2 small{display:inline-grid;place-items:center;min-width:2rem;padding:.2rem .5rem;border-radius:999px;background:#d8f3f7;color:#0d5269;font-size:.78rem}
.e4s-legacy-search-group{margin:2.3rem 0 .4rem;color:#284b61;font-size:.88rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.e4s-legacy-search-result{margin-top:.9rem;padding:1.35rem 1.55rem;border:1px solid #d4e7ef;border-radius:16px;background:#fff;box-shadow:0 9px 25px #0d40550b;transition:border-color .2s,transform .2s,box-shadow .2s}
.e4s-legacy-search-result:hover{transform:translateY(-2px);border-color:#83d1e2;box-shadow:0 16px 32px #0d40551b}
.e4s-legacy-search-result>span{color:#087c9a;font-size:.7rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.e4s-legacy-search-result h4{margin:.35rem 0;color:#10263d;font-size:1.2rem}
.e4s-legacy-search-result h4 a{color:inherit;text-decoration:none}
.e4s-legacy-search-result p{margin:.35rem 0 .65rem;color:#40586a;line-height:1.65}
.e4s-legacy-search-result-link{color:#0d6689;font-weight:750;text-decoration:none}
.e4s-legacy-search-empty{margin-top:1.4rem;padding:2rem;border:1px solid #c9e3ed;border-radius:18px;background:#fff;color:#304a60}
.e4s-legacy-search-empty h2,.e4s-legacy-search-empty h3{color:#10263d}
.e4s-legacy-search-empty a{color:#0a6a95;font-weight:800}
.e4s-legacy-home .e4s-x-slide-image{background-image:linear-gradient(90deg,#03182bea 0%,#073b63bb 50%,#07182c40 100%),var(--slide-image)!important}
.e4s-legacy-home .e4s-x-eyebrow{color:#69e5f1!important}
.e4s-legacy-home .e4s-x-slide-copy h1{color:#fff;letter-spacing:-.045em}
.e4s-legacy-home .e4s-x-slide-copy p{color:#dfedf7}
.e4s-legacy-home .e4s-x-button-primary{background:linear-gradient(110deg,#0082c9,#10b8c5)!important;border-color:#65dcec!important;box-shadow:0 15px 36px #00a8cf55!important;color:#fff!important}
.e4s-legacy-home .e4s-x-button-primary:hover{background:linear-gradient(110deg,#006ea8,#0799a7)!important;transform:translateY(-2px)}
.e4s-legacy-home .e4s-luxe-paths{background:#071d34}
.e4s-legacy-home .e4s-legacy-service-paths>.e4s-x-wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.e4s-legacy-home .e4s-legacy-service-paths a{min-width:0}
.e4s-legacy-home .e4s-legacy-service-paths a strong{color:#f7fbff}
.e4s-legacy-home .e4s-legacy-service-paths a small{color:#bdd9e7}
.e4s-legacy-home .e4s-luxe-paths a:hover{background:#123f5b}
.e4s-legacy-home .e4s-home-products,.e4s-legacy-home .e4s-x-company{background:linear-gradient(160deg,#f1faff,#fff 56%,#f4f8fb)}
.e4s-legacy-home .e4s-home-product{border:1px solid #d5e8f1;box-shadow:0 16px 36px #0b385713}
.e4s-legacy-home .e4s-home-product:hover{border-color:#58c9dd;box-shadow:0 22px 45px #0b72952c;transform:translateY(-4px)}
.e4s-legacy-home .e4s-x-label{color:#0c799c}
@media(min-width:1081px) and (max-width:1500px){.public-v2 .e4s-legacy-search-trigger span{display:none}}
@media(max-width:1080px){.public-v2 .e4s-legacy-search-trigger{width:100%;justify-content:flex-start;min-height:46px;padding:.65rem .8rem;background:#0e3047;color:#e6f9ff;border-color:#306784}.public-v2 .e4s-legacy-search-trigger:hover{background:#174662}}
@media(max-width:980px){.e4s-legacy-home .e4s-legacy-service-paths>.e4s-x-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.public-v2 .e4s-main-brand.e4s-original-public-logo .e4s-brand-symbol{width:43px!important;height:43px!important;max-width:43px}.public-v2 .e4s-legacy-search-trigger{justify-content:center}.e4s-legacy-search-dialog-field,.e4s-legacy-search-form>div{flex-direction:column}.e4s-legacy-search-dialog form button,.e4s-legacy-search-form button{width:100%}.e4s-legacy-search-page{padding-block:3.5rem}.e4s-legacy-home .e4s-legacy-service-paths>.e4s-x-wrap{grid-template-columns:1fr}.e4s-legacy-home .e4s-x-slide-image{background-image:linear-gradient(90deg,#03182bef,#073b63c9),var(--slide-mobile-image,var(--slide-image))!important}}
@media(prefers-reduced-motion:reduce){.public-v2 .e4s-legacy-search-trigger,.e4s-legacy-search-result,.e4s-legacy-home .e4s-x-button-primary{transition:none!important}}
