.sv-site-header,
.sv-site-footer {
    --sv-ink: #17283b;
    --sv-navy: #16283b;
    --sv-orange: #ff8928;
    --sv-light-orange: #ffb77f;
    --sv-border: #405168;
}

#header:has(.sv-site-header) {
    position: relative;
    z-index: 5;
    background: #fff;
    color: #17283b;
}

.sv-site-header a,
.sv-site-footer a {
    text-decoration: none;
}

.sv-site-header :focus-visible,
.sv-site-footer :focus-visible {
    outline: 2px solid #dd6917;
    outline-offset: 4px;
}

.sv-shell {
    width: min(1200px, calc(100% - 92px));
    margin-inline: auto;
}

.sv-utility {
    background: var(--sv-navy);
    color: #e5ebf3;
    font-size: 13px;
    font-weight: 600;
}

.sv-utility .sv-shell,
.sv-location,
.sv-utility-right {
    display: flex;
    align-items: center;
}

.sv-utility .sv-shell {
    justify-content: space-between;
    min-height: 34px;
}

.sv-location {
    gap: 10px;
}

.sv-pin {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1.5px solid #ff9d53;
    border-radius: 55% 55% 55% 0;
    transform: rotate(-45deg);
}

.sv-pin::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #ff9d53;
}

.sv-utility-right {
    gap: 18px;
}

.sv-utility-right span + span {
    border-left: 1px solid #617084;
    padding-left: 18px;
    color: var(--sv-light-orange);
}

.sv-nav-bar .sv-shell {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) auto minmax(168px, 1fr);
    align-items: center;
    min-height: 75px;
    gap: 23px;
}

.sv-site-header .sv-brand,
.sv-site-footer .sv-brand {
    display: block;
    width: fit-content;
    max-width: 100%;
    color: inherit;
    font-size: 24px;
    font-weight: 700;
}

.sv-brand img {
    display: block;
    width: 178px;
    height: auto;
}

.sv-site-header .sv-brand img {
    mix-blend-mode: multiply;
}

.sv-nav {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    gap: clamp(16px, 2vw, 29px);
}

.sv-nav > a,
.sv-products-menu > summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sv-ink);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.sv-nav > a:hover,
.sv-nav > a[aria-current],
.sv-products-menu > summary:hover,
.sv-products-menu.sv-current > summary {
    color: #a94005;
}

.sv-nav > a[aria-current]::after,
.sv-products-menu.sv-current > summary::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: #e56c16;
}

.sv-products-menu {
    position: relative;
}

.sv-products-menu > summary {
    min-height: 100%;
    padding: 0;
    list-style: none;
    cursor: pointer;
}

.sv-products-menu > summary::-webkit-details-marker {
    display: none;
}

.sv-chevron {
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg) translateY(-1px);
}

.sv-products-menu[open] .sv-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.sv-products-menu > ul {
    position: absolute;
    z-index: 1;
    top: 100%;
    left: -16px;
    min-width: 224px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid #d7e0e8;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 18px #1428401a;
}

.sv-products-menu li a {
    display: block;
    padding: 8px 10px;
    color: var(--sv-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.sv-products-menu li a:hover,
.sv-products-menu li a:focus-visible {
    color: #a94005;
    background: #fff3e8;
}

.sv-site-header .sv-quote {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 18px;
    min-height: 43px;
    padding: 0 15px;
    border: 1px solid #f38429;
    border-radius: 5px;
    background: var(--sv-orange);
    color: #25180f;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.sv-site-header .sv-quote:hover {
    background: #ffa454;
    color: #25180f;
}

.sv-menu-toggle {
    display: none;
}

.sv-site-footer {
    background: #16283d;
    color: #d0dbe6;
}

.sv-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr .85fr 1.18fr;
    gap: 30px;
    padding-block: 34px 30px;
}

.sv-site-footer .sv-brand {
    padding: 7px 9px;
    border-radius: 3px;
    margin-bottom: 13px;
    background: #fff;
    color: var(--sv-ink);
}

.sv-site-footer .sv-brand img {
    width: 153px;
}

.sv-site-footer h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.sv-site-footer p,
.sv-site-footer ul {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
}

.sv-site-footer ul {
    list-style: none;
}

.sv-footer-links {
    display: grid;
    justify-items: start;
    gap: 7px;
}

.sv-site-footer a {
    color: #d0dbe6;
}

.sv-site-footer a:hover {
    color: var(--sv-light-orange);
}

.sv-site-footer .sv-company {
    margin-bottom: 12px;
    color: #f1f5f8;
    font-weight: 600;
}

.sv-contact-list {
    display: grid;
    gap: 8px;
}

.sv-contact-list li:first-child,
.sv-inquiry-link {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sv-site-footer .sv-inquiry-link {
    width: fit-content;
    color: var(--sv-light-orange);
    font-weight: 700;
}

.sv-site-footer .sv-inquiry-link:hover {
    color: #ffdabf;
}

.sv-contact-icon {
    display: grid;
    flex: 0 0 25px;
    place-items: center;
    height: 25px;
    border: 1px solid #526176;
    border-radius: 4px;
    color: var(--sv-light-orange);
}

.sv-contact-icon .sv-pin {
    width: 11px;
    height: 11px;
}

.sv-envelope {
    position: relative;
    overflow: hidden;
    width: 13px;
    height: 10px;
    border: 1px solid currentColor;
    border-radius: 2px;
}

.sv-envelope::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 1px;
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

.sv-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 49px;
    border-top: 1px solid var(--sv-border);
    color: #bdcad9;
    font-size: 13px;
}

.sv-footer-bottom a {
    color: #e7eef6;
    white-space: nowrap;
}

@media (max-width: 1050px) {
    .sv-shell { width: calc(100% - 48px); }
    .sv-nav-bar .sv-shell { grid-template-columns: auto 1fr auto; gap: 16px; }
    .sv-nav { justify-content: center; gap: clamp(9px, 1.45vw, 16px); }
    .sv-site-header .sv-brand img { width: 145px; }
}

@media (max-width: 760px) {
    .sv-shell { width: calc(100% - 32px); }
    .sv-utility .sv-shell { min-height: 31px; }
    .sv-utility-right span:first-child { display: none; }
    .sv-utility-right span + span { border: 0; padding: 0; }
    .sv-nav-bar .sv-shell { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 66px; gap: 8px; }
    .sv-site-header .sv-brand img { width: clamp(100px, 34vw, 140px); }
    .sv-site-header .sv-quote { grid-area: 1 / 2; gap: 7px; min-height: 42px; padding-inline: 9px; font-size: 13px; }
    .sv-site-header[data-menu-ready] .sv-menu-toggle {
        grid-area: 1 / 3;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid #dae1e8;
        border-radius: 5px;
        background: #fff;
        color: var(--sv-ink);
    }
    .sv-menu-toggle span {
        width: 16px;
        height: 2px;
        border-radius: 1px;
        background: currentColor;
        box-shadow: 0 -5px currentColor, 0 5px currentColor;
    }
    .sv-site-header[data-menu-ready] .sv-menu-toggle[aria-expanded="false"] + .sv-nav { display: none; }
    .sv-nav { grid-column: 1 / -1; flex-direction: column; gap: 0; padding: 4px 0 12px; }
    .sv-nav > a,
    .sv-products-menu > summary { min-height: 43px; border-bottom: 1px solid #edf0f3; }
    .sv-nav > a[aria-current]::after,
    .sv-products-menu.sv-current > summary::after { display: none; }
    .sv-products-menu > ul { position: static; padding: 2px 6px 6px; border: 0; box-shadow: none; }
    .sv-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-block: 28px; }
    .sv-footer-bottom { min-height: 49px; padding-block: 9px; font-size: 12px; }
}

@media (max-width: 460px) {
    .sv-footer-brand,
    .sv-footer-contact { grid-column: 1 / -1; }
}
