/* SureTrack Express | Refresh phase 01
   This is intentionally separate from the legacy style.css.
   Image: /static/img/banner/banner.png (reuses the current hero asset).
*/

:root {
    --st-red: #f3342c;
    --st-red-deep: #df241e;
    --st-ink: #101a2c;
    --st-text: #243047;
    --st-font: 'Manrope', sans-serif;
    --st-display: 'Barlow Condensed', sans-serif;
}

/* Loading screen */
.st-loader { display: none; }
.st-has-js .st-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: #f6f7f9;
    opacity: 1;
    visibility: visible;
    transition: opacity .65s cubic-bezier(.22, 1, .36, 1), visibility .65s;
}
.st-has-js .st-loader.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.st-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(80vw, 290px);
    animation: st-loader-arrive .65s ease both;
}
.st-loader__logo-wrap {
    display: grid;
    place-items: center;
    width: 174px;
    min-height: 82px;
}
.st-loader__logo { width: 155px; height: auto; display: block; }
.st-loader__caption {
    margin: 17px 0 18px;
    color: #687184;
    font: 800 10px/1.5 var(--st-font);
    letter-spacing: .2em;
}
.st-loader__track {
    width: 100%;
    height: 3px;
    overflow: hidden;
    border-radius: 99px;
    background: #e3e7ec;
}
.st-loader__track span {
    display: block;
    width: 44%;
    height: 100%;
    background: var(--st-red);
    border-radius: inherit;
    animation: st-loader-track 1.15s ease-in-out infinite;
}
@keyframes st-loader-arrive {
    from { opacity: 0; transform: translateY(13px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes st-loader-track {
    0% { transform: translateX(-110%); }
    100% { transform: translateX(340%); }
}

/* Floating navigation */
.st-header,
.st-header * { box-sizing: border-box; }
.st-header {
    position: fixed;
    top: 18px;
    left: 0;
    width: 100%;
    padding: 0 24px;
    z-index: 1100;
    font-family: var(--st-font);
}
.st-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    max-width: 1312px;
    min-height: 82px;
    margin: 0 auto;
    padding: 12px 15px 12px 28px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 14px;
    box-shadow: 0 14px 46px rgba(7, 16, 31, .14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow .3s ease, min-height .3s ease, background .3s ease;
}
.st-header.is-scrolled .st-header__bar {
    min-height: 74px;
    box-shadow: 0 12px 44px rgba(7, 16, 31, .2);
    background: rgba(255, 255, 255, .985);
}
.st-brand { flex: 0 0 auto; display: flex; align-items: center; }
.st-brand img {
    display: block;
    width: 126px;
    height: auto;
    max-width: none;
}
.st-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 2.25vw, 32px);
    flex: 1;
}
.st-nav__link {
    color: #344057;
    font: 700 12px/1.4 var(--st-font);
    white-space: nowrap;
    position: relative;
    padding: 14px 0;
    transition: color .2s ease;
}
.st-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 7px;
    height: 2px;
    background: var(--st-red);
    transition: right .28s ease;
}
.st-nav__link:hover,
.st-nav__link.is-active,
.st-nav__link:focus-visible { color: var(--st-red-deep); }
.st-nav__link:hover::after,
.st-nav__link.is-active::after { right: 0; }
.st-header__actions { display: flex; align-items: center; gap: 12px; }
.st-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 8px;
    color: white !important;
    background: var(--st-red);
    font: 800 12px/1 var(--st-font);
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}
.st-header__cta svg { width: 17px; height: 17px; }
.st-header__cta:hover { color: #fff; background: var(--st-red-deep); transform: translateY(-2px); }
.st-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    background: white;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.st-menu-toggle span {
    width: 19px;
    height: 2px;
    background: var(--st-ink);
    border-radius: 99px;
    transition: transform .24s ease;
}
.st-menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.st-menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.st-mobile-nav[hidden] { display: none !important; }
.st-mobile-nav { display: none; }
.st-header a:focus-visible,
.st-header button:focus-visible,
.st-hero a:focus-visible,
.st-hero button:focus-visible,
.st-hero input:focus-visible { outline: 3px solid #ff9b80; outline-offset: 3px; }

/* Homepage hero */
.st-hero,
.st-hero * { box-sizing: border-box; }
.st-hero {
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
    width: 100%;
    min-height: min(940px, max(760px, 100svh));
    overflow: hidden;
    background: #101723;
    color: #fff;
    font-family: var(--st-font);
}
.st-hero__visual {
    position: absolute;
    inset: -12px;
    z-index: -3;
    transform: translate3d(0, var(--st-parallax, 0px), 0);
    will-change: transform;
}
.st-hero__photo {
    position: absolute;
    inset: -4%;
    background-position: center 47%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.07);
    will-change: transform, opacity;
    animation: st-image-drift 13s ease-in-out infinite alternate;
    transition: opacity 1.05s ease;
}
.st-hero__photo.is-active { opacity: 1; }
/* The two gradients preserve copy contrast without flattening the photograph. */
.st-hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 17, 29, .91) 0%, rgba(9, 17, 29, .77) 38%, rgba(9, 17, 29, .29) 78%, rgba(9, 17, 29, .37) 100%),
        linear-gradient(0deg, rgba(9, 17, 29, .87) 0%, transparent 35%, rgba(9, 17, 29, .1) 72%);
}
.st-hero__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .35;
    pointer-events: none;
    background: radial-gradient(circle at 80% 33%, rgba(255, 255, 255, .13), transparent 36%);
}
@keyframes st-image-drift {
    0% { transform: scale(1.07) translate3d(0, 0, 0); }
    100% { transform: scale(1.16) translate3d(-1.4%, -1.1%, 0); }
}
.st-hero__main {
    position: relative;
    width: min(100% - 96px, 1256px);
    margin: 0 auto;
    padding: 186px 0 230px;
}
.st-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;
    color: #edf1f6;
    font: 800 10px/1.5 var(--st-font);
    letter-spacing: .16em;
}
.st-hero__eyebrow-mark {
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff544e;
    box-shadow: 0 0 0 5px rgba(243, 52, 44, .18);
}
.st-hero h1 {
    max-width: 930px;
    margin: 0 0 21px;
    color: #fff;
    font: 800 clamp(78px, 8.2vw, 136px)/.86 var(--st-display);
    letter-spacing: -.018em;
    text-transform: uppercase;
    text-wrap: balance;
}
.st-hero h1 span { color: #ff5147; }
.st-hero__main > p {
    max-width: 540px;
    margin: 0;
    color: #e0e5eb;
    font: 500 15px/1.95 var(--st-font);
}
.st-hero__actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.st-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    min-height: 60px;
    padding: 0 24px;
    border-radius: 8px;
    font: 800 12px/1.2 var(--st-font);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.st-button svg { width: 18px; height: 18px; }
.st-button--red { color: #fff !important; background: var(--st-red); border: 1px solid var(--st-red); }
.st-button--red:hover { background: var(--st-red-deep); border-color: var(--st-red-deep); transform: translateY(-2px); }
.st-button--outline { color: #fff !important; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.46); }
.st-button--outline:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); }
.st-button--outline span { font-size: 18px; font-weight: 500; }
.st-hero__bottom {
    position: absolute;
    bottom: 33px;
    left: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    width: min(100% - 96px, 1256px);
    transform: translateX(-50%);
}
.st-hero__benefits {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(24px, 3vw, 48px);
    min-height: 76px;
}
.st-hero__benefits > div {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #f0f1f4;
    font: 700 11px/1.5 var(--st-font);
    white-space: nowrap;
}
.st-hero__benefit-number {
    color: #ff5b51;
    font: 700 13px/1 var(--st-display);
    letter-spacing: .04em;
}
.st-track {
    flex: 0 0 315px;
    padding: 19px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 70px rgba(0, 0, 0, .18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.st-track label {
    display: block;
    margin: 0 0 12px;
    color: var(--st-ink);
    font: 800 12px/1.3 var(--st-font);
    cursor: default;
}
.st-track__field { display: flex; align-items: stretch; gap: 5px; }
.st-track input {
    display: block;
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #e2e6ec;
    border-radius: 6px;
    background: #fff;
    color: var(--st-ink);
    font: 600 12px/1 var(--st-font);
}
.st-track input::placeholder { color: #84909f; opacity: 1; font-size: 11px; }
.st-track__field button {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: var(--st-red);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
}
.st-track__field button:hover { background: var(--st-red-deep); }
.st-track__field svg { width: 18px; height: 18px; }
/* Keep the existing cookie component above the redesigned header. */
.cookie-container { z-index: 1300; }

@media (max-width: 1150px) {
    .st-nav { gap: 17px; }
    .st-header__bar { gap: 18px; }
    .st-brand img { width: 112px; }
    .st-header__cta { padding: 0 14px; gap: 8px; }
    .st-hero__benefits { gap: 18px; }
}

@media (max-width: 980px) {
    .st-header { padding: 0 18px; top: 14px; }
    .st-header__bar { min-height: 74px; padding: 10px 12px 10px 19px; }
    .st-nav { display: none; }
    .st-header__cta { min-height: 48px; }
    .st-menu-toggle { display: flex; }
    .st-mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: min(100%, 1312px);
        max-height: calc(100dvh - 108px);
        overflow-y: auto;
        margin: 9px auto 0;
        padding: 12px 18px 18px;
        border: 1px solid #e7e9ef;
        border-radius: 12px;
        background: rgba(255,255,255,.99);
        box-shadow: 0 18px 50px rgba(10,20,35,.2);
        animation: st-menu-enter .24s ease both;
    }
    .st-mobile-nav > a:not(.st-mobile-nav__cta) {
        display: block;
        padding: 15px 6px;
        border-bottom: 1px solid #edf0f3;
        color: #27354b;
        font: 750 14px/1.4 var(--st-font);
    }
    .st-mobile-nav > a[aria-current='page'] { color: var(--st-red); }
    .st-mobile-nav__cta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 16px;
        padding: 15px;
        border-radius: 7px;
        background: var(--st-red);
        color: #fff !important;
        font: 800 13px/1.4 var(--st-font);
    }
    .st-mobile-nav__contact { display: flex; flex-direction: column; gap: 8px; padding: 18px 5px 0; }
    .st-mobile-nav__contact a { color: #687487; font: 600 12px/1.5 var(--st-font); }
    .st-hero__main { width: min(100% - 60px, 1256px); }
    .st-hero__bottom { width: min(100% - 60px, 1256px); }
    .st-hero__benefits > div { font-size: 10px; }
    .st-track { flex-basis: 280px; }
}
@keyframes st-menu-enter {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
    .st-hero {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 820px;
    }
    .st-hero__photo { background-position: 62% center; }
    .st-hero__visual::after {
        background: linear-gradient(90deg, rgba(9,17,29,.8), rgba(9,17,29,.48)),
                    linear-gradient(0deg, rgba(9,17,29,.91) 0%, rgba(9,17,29,.06) 75%);
    }
    .st-hero__main {
        width: calc(100% - 42px);
        padding: 162px 0 35px;
        margin: 0 auto;
    }
    .st-hero__eyebrow { font-size: 9px; letter-spacing: .11em; margin-bottom: 23px; }
    .st-hero h1 {
        max-width: 570px;
        font-size: clamp(65px, 11.5vw, 94px);
        line-height: .91;
        margin-bottom: 23px;
    }
    .st-hero__main > p { font-size: 14px; line-height: 1.8; max-width: 480px; }
    .st-hero__actions {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        margin-top: 26px;
        gap: 10px;
    }
    .st-hero__actions > .st-button {
        width: 100%;
        max-width: 100%;
    }
    .st-button { min-height: 53px; padding: 0 16px; gap: 9px; font-size: 11px; }
    .st-hero__bottom {
        position: relative;
        left: auto;
        bottom: auto;
        display: block;
        width: calc(100% - 42px);
        margin: auto auto 25px;
        transform: none;
    }
    .st-hero__benefits { display: none; }
    .st-track { width: 100%; max-width: 440px; padding: 17px; }
}

@media (max-width: 480px) {
    .st-header { top: 10px; padding: 0 10px; }
    .st-header__bar { min-height: 67px; border-radius: 10px; padding: 9px 10px 9px 15px; }
    .st-header.is-scrolled .st-header__bar { min-height: 65px; }
    .st-brand img { width: 103px; }
    .st-header__cta { display: none; }
    .st-menu-toggle { width: 43px; height: 43px; }
    .st-hero { min-height: 780px; }
    .st-hero__main { padding-top: 155px; }
    .st-hero h1 { font-size: clamp(61px, 13.7vw, 76px); }
    .st-hero__main > p { font-size: 13px; }
    .st-button--outline { background: rgba(255,255,255,.05); }
}

@media (prefers-reduced-motion: reduce) {
    .st-hero__photo, .st-loader__track span, .st-loader__inner { animation: none !important; }
    .st-hero__visual { transform: none !important; }
    .st-header *, .st-hero *, .st-loader { transition-duration: 0s !important; }
}
/* SureTrack Express / homepage and footer refresh
   All new page styles are namespaced to avoid fighting legacy global classes.
*/
:root {
    --st-red: #ef352f;
    --st-red-deep: #d82b25;
    --st-ink: #122035;
    --st-paper: #f7f7f4;
    --st-muted: #637080;
    --st-border: #e4e6e7;
}
html.st-scroll-reset { scroll-behavior: auto !important; }
html.st-scroll-reset body { scroll-behavior: auto !important; }
.st-hero__visual { background: #142234 url('../img/banner/banner.png') center / cover no-repeat; }
.st-hero__photo {
    background-image: none;
    animation-duration: 10.5s;
    animation-timing-function: ease-in-out;
    transition: opacity 1.25s ease;
}
.st-hero__photo:nth-child(2) { animation-delay: -3s; }
.st-hero__photo:nth-child(3) { animation-delay: -6s; }
@keyframes st-image-drift {
    from { transform: scale(1.07) translate3d(0, 0, 0); }
    to   { transform: scale(1.2) translate3d(-1.25%, -1.25%, 0); }
}

/* Consistent page typography, spacing and UI primitives */
.st-home, .st-footer { font-family: var(--st-font), sans-serif; }
.st-home *, .st-home *::before, .st-home *::after,
.st-footer *, .st-footer *::before, .st-footer *::after { box-sizing: border-box; }
.st-home { overflow: clip; background: #fff; }
.st-home h2, .st-home h3, .st-home h4, .st-footer h2,
.st-home p, .st-footer p { margin-top: 0; }
.st-home p, .st-footer p { font-family: var(--st-font); font-weight: 500; }
.st-home a:hover, .st-footer a:hover { text-decoration: none; }
.st-container { width: min(calc(100% - 96px), 1248px); margin-inline: auto; }
.st-section { padding-block: clamp(76px, 9vw, 136px); }
.st-section__heading { margin-bottom: clamp(36px, 5vw, 62px); }
.st-section__heading--split { display: flex; justify-content: space-between; align-items: end; gap: 38px; }
.st-section__heading--split > p,
.st-section__aside { max-width: 388px; margin-bottom: 5px; }
.st-section__heading p, .st-section__aside p {
    color: #647080; font-size: 14px; line-height: 1.85; margin: 0;
}
.st-section__aside .st-text-link { margin-top: 24px; }
.st-kicker { display: inline-flex; gap: 13px; align-items: center; color: var(--st-red); font: 800 10px/1.4 var(--st-font); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 25px; }
.st-kicker__line { width: 24px; height: 2px; flex: 0 0 24px; background: currentColor; }
.st-kicker--light { color: #ff6058; }
.st-home h2 { font: 800 clamp(53px, 6.15vw, 88px)/.96 var(--st-display); letter-spacing: -.018em; text-transform: uppercase; color: var(--st-ink); }
.st-home h2 em { font-weight: inherit; font-style: normal; color: var(--st-red); }
.st-text-link { display: inline-flex; align-items: center; gap: 25px; width: fit-content; color: var(--st-ink); font: 800 12px/1.4 var(--st-font); border-bottom: 1px solid #b6bdc5; padding-bottom: 9px; transition: color .2s, border-color .2s, gap .2s; }
.st-text-link:hover { gap: 32px; color: var(--st-red); border-color: var(--st-red); }
.st-text-link span { font-size: 18px; font-weight: 600; }
.st-text-link--light { color: #fff; border-color: #6a7585; }
.st-button--dark { color: #fff !important; background: var(--st-ink); border: 1px solid var(--st-ink); }
.st-button--dark:hover { background: #24364c; border-color: #24364c; color: #fff !important; transform: translateY(-2px); }
.st-home a:focus-visible, .st-home button:focus-visible, .st-home input:focus-visible, .st-home select:focus-visible,
.st-home textarea:focus-visible, .st-footer a:focus-visible { outline: 3px solid #ff978d; outline-offset: 3px; }

/* Three meaningful service capabilities */
.st-intro { background: #fff; }
.st-intro__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--st-border); border-bottom: 1px solid var(--st-border); }
.st-feature { position: relative; min-height: 290px; padding: 31px clamp(24px, 3vw, 45px) 35px 0; }
.st-feature + .st-feature { padding-left: clamp(24px, 3vw, 45px); border-left: 1px solid var(--st-border); }
.st-feature__number { color: #89939f; display: block; font: 800 10px/1.5 var(--st-font); letter-spacing: .11em; }
.st-feature__icon { color: var(--st-red); margin: 32px 0 20px; width: 43px; height: 43px; display: grid; place-items: center; }
.st-feature__icon svg { width: 40px; height: 40px; }
.st-feature h3 { color: var(--st-ink); font: 800 22px/1.35 var(--st-font); margin-bottom: 12px; letter-spacing: -.035em; }
.st-feature p { margin: 0; color: #657080; font: 500 13px/1.85 var(--st-font); max-width: 310px; }

/* Photo-led service portfolio */
.st-services { background: var(--st-paper); }
.st-services__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.st-service-card { background: #fff; min-width: 0; overflow: hidden; border: 1px solid #ececea; }
.st-service-card--wide { grid-column: span 2; }
.st-service-card__media { height: 260px; overflow: hidden; background: #c5d0d8; position: relative; }
.st-service-card--wide .st-service-card__media { height: 320px; }
.st-service-card__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,transparent 70%,rgba(0,0,0,.12)); }
.st-service-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.st-service-card:hover .st-service-card__media img { transform: scale(1.075); }
.st-service-card__content { display: flex; gap: 15px; justify-content: space-between; min-height: 165px; align-items: flex-end; padding: 26px 27px 29px; }
.st-service-card__number { display: block; font: 800 9px/1.3 var(--st-font); letter-spacing: .15em; color: var(--st-red); margin-bottom: 15px; }
.st-service-card h3 { color: var(--st-ink); font: 800 23px/1.25 var(--st-font); letter-spacing: -.035em; margin-bottom: 10px; }
.st-service-card p { color: #77818c; font: 500 12px/1.7 var(--st-font); margin: 0; max-width: 330px; }
.st-service-card__content > a { flex: 0 0 38px; height: 38px; width: 38px; color: var(--st-ink); border: 1px solid var(--st-border); display: grid; place-items: center; border-radius: 50%; font-size: 21px; transition: color .2s, background .2s, border-color .2s; }
.st-service-card__content > a:hover { color: #fff; background: var(--st-red); border-color: var(--st-red); }

/* Process steps: structured, no placeholder maps */
.st-process { color: #fff; background: #122033; position: relative; }
.st-process::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .3; background: radial-gradient(ellipse at 85% 0%, #264460 0%,transparent 56%); }
.st-process .st-container { position: relative; }
.st-process h2, .st-quote h2 { color: #fff; }
.st-process .st-section__heading--split > p { color: #afbac8; }
.st-process__steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-top: 1px solid #3c495a; }
.st-process__step { min-height: 250px; padding: 29px 29px 16px 0; position: relative; }
.st-process__step:not(:first-child) { border-left: 1px solid #3c495a; padding-left: 29px; }
.st-process__step > span { display: block; color: #ff635c; font: 700 32px/1 var(--st-display); margin-bottom: 46px; }
.st-process__step h3 { color: #fff; font: 800 18px/1.25 var(--st-font); letter-spacing: -.025em; margin-bottom: 12px; }
.st-process__step p { color: #aeb9c6; font: 500 12px/1.8 var(--st-font); max-width: 230px; }
.st-process__action { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: 26px; }

/* Image/text split sections */
.st-editorial { background: #fff; }
.st-editorial__grid { display: grid; grid-template-columns: 1fr .98fr; align-items: center; gap: clamp(46px,7vw,112px); }
.st-editorial__media { position: relative; min-height: 580px; background: #d5d7d5; }
.st-editorial__media > img { display: block; width: 100%; height: 600px; object-fit: cover; }
.st-editorial__media-tag { position: absolute; right: -24px; bottom: 24px; background: #f2f3f2; color: var(--st-ink); padding: 22px 31px; width: min(310px,85%); box-shadow: 0 15px 32px #00000012; }
.st-editorial__media-tag span { display: block; margin-bottom: 11px; color: var(--st-red); font: 800 9px/1.4 var(--st-font); letter-spacing: .1em; }
.st-editorial__media-tag strong { display: block; font: 800 25px/1.15 var(--st-display); text-transform: uppercase; }
.st-editorial__copy > p { max-width: 510px; color: #647180; font: 500 14px/1.95 var(--st-font); margin: 23px 0 28px; }
.st-checks { padding-block: 8px 26px; }
.st-checks > div { display: flex; align-items: flex-start; gap: 15px; border-top: 1px solid #e9e9e8; padding: 17px 0; }
.st-checks > div > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: var(--st-red); flex: 0 0 27px; font-size: 14px; }
.st-checks strong { font: 800 13px/1.35 var(--st-font); color: var(--st-ink); display: block; margin: 1px 0 5px; }
.st-checks p { margin: 0; color: #77818b; font: 500 12px/1.65 var(--st-font); }
.st-reach { background: #f2f4f3; }
.st-reach__grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: clamp(46px,7vw,110px); }
.st-reach__copy > p { color: #647180; font: 500 14px/1.9 var(--st-font); margin: 24px 0 0; max-width: 495px; }
.st-reach__copy .st-button { margin-top: 33px; }
.st-reach__media { position: relative; }
.st-reach__media img { height: 580px; width: 100%; object-fit: cover; display: block; }
.st-reach__caption { display: block; font: 800 9px/1.5 var(--st-font); letter-spacing: .1em; margin-top: 13px; color: #77808a; }

/* Testimonial content preserved from user's previous homepage */
.st-testimonials { background: #fff; }
.st-testimonials__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.st-review { margin: 0; background: #f7f8f7; min-height: 345px; padding: 34px; display: flex; flex-direction: column; border: 1px solid #eceeed; }
.st-review__quote { display: block; color: var(--st-red); font: 800 82px/.8 var(--st-display); height: 65px; }
.st-review > p { color: #243448; font: 600 15px/1.85 var(--st-font); margin: 0 0 36px; }
.st-review footer { margin-top: auto; padding-top: 20px; border-top: 1px solid #dfe2e2; }
.st-review footer strong { display: block; font: 800 13px/1.3 var(--st-font); color: var(--st-ink); }
.st-review footer span { display: block; margin-top: 5px; color: #77818b; font: 600 11px/1.4 var(--st-font); }

/* Functional Django estimate form, with existing field names preserved */
.st-quote { background: #16263a; color: #fff; }
.st-quote__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(34px,6vw,105px); align-items: start; }
.st-quote__intro { padding-top: 30px; }
.st-quote__intro > p { margin-top: 28px; color: #b1bdc9; font: 500 14px/1.95 var(--st-font); max-width: 380px; }
.st-quote__contact { margin-top: 66px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.st-quote__contact > span { margin-bottom: 5px; font: 800 10px/1.4 var(--st-font); color: #98aabb; letter-spacing: .15em; }
.st-quote__contact a { color: #fff; font: 800 17px/1.3 var(--st-font); }
.st-quote__contact a:hover { color: #ff6762; }
.st-quote__form-wrap { background: #fff; padding: clamp(26px,4vw,48px); color: var(--st-ink); }
.st-quote__form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid #e7ebec; padding-bottom: 23px; margin-bottom: 28px; }
.st-quote__form-head strong { font: 800 21px/1.3 var(--st-font); letter-spacing: -.035em; }
.st-quote__form-head span { font: 600 11px/1.4 var(--st-font); color: #748292; }
.st-quote__fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 18px; }
.st-field { display: flex; flex-direction: column; min-width: 0; }
.st-field--full { grid-column: 1/-1; }
.st-field label { font: 800 11px/1.4 var(--st-font); color: var(--st-ink); margin-bottom: 9px; cursor: default; }
.st-field input, .st-field select, .st-field textarea,
.st-field .nice-select { display: block; width: 100%; min-width: 0; height: 51px; padding: 0 14px; border: 1px solid #dce1e4; border-radius: 4px; background: #fafafa; color: var(--st-ink); font: 600 12px/1.5 var(--st-font); outline: none; transition: border-color .2s; }
.st-field textarea { height: 125px; resize: vertical; padding-block: 15px; }
.st-field input::placeholder, .st-field textarea::placeholder { color: #9da6ae; opacity: 1; font-size: 11px; }
.st-field input:focus, .st-field select:focus, .st-field textarea:focus { border-color: var(--st-red); background: #fff; }
.st-field .nice-select { line-height: 49px; float: none; }
.st-field .nice-select .list { width: 100%; max-height: 230px; overflow-y: auto; }
.st-field .nice-select .current { color: #465267; }
.st-quote__submit { width: 100%; margin-top: 24px; justify-content: space-between; cursor: pointer; }

/* Final CTA */
.st-final-cta { padding: clamp(65px,7vw,112px) 0; background: #efede9; }
.st-final-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.st-final-cta h2 { font-size: clamp(50px,5.2vw,74px); }

/* All-page footer */
.st-footer { background: #101c2c; color: #c5ced8; padding: 80px 0 0; }
.st-footer__top { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.15fr; gap: 45px; padding-bottom: 70px; }
.st-footer__logo { display: inline-flex; align-items: center; background: #fff; padding: 9px 14px; border-radius: 5px; }
.st-footer__logo img { width: 145px; max-width: 100%; height: auto; display: block; }
.st-footer__brand > p { font: 500 12px/1.95 var(--st-font); color: #aeb9c7; max-width: 310px; margin: 25px 0 24px; }
.st-footer__inline { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 7px; border-bottom: 1px solid #667286; color: #fff !important; font: 800 12px/1.5 var(--st-font); }
.st-footer__inline:hover { border-color: #ff554e; color: #ff554e !important; }
.st-footer__column h2 { color: #fff; font: 800 12px/1.5 var(--st-font); margin: 7px 0 28px; }
.st-footer__column ul { list-style: none; padding: 0; margin: 0; }
.st-footer__column li { margin: 0 0 13px; }
.st-footer__column a, .st-footer__column p { font: 500 12px/1.75 var(--st-font); color: #b3bdc9; }
.st-footer__column a:hover { color: #fff; }
.st-footer__contact > a:not(.st-footer__inline) { display: block; margin-bottom: 13px; overflow-wrap: anywhere; }
.st-footer__contact > p { margin: 0 0 20px; }
.st-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid #334053; padding: 25px 0 32px; font: 600 10px/1.6 var(--st-font); color: #8794a3; }
.st-footer__bottom > div { display: flex; gap: 22px; }
.st-footer__bottom a { color: #aeb9c7; font: inherit; }
.st-footer__bottom a:hover { color: #fff; }

/* IntersectionObserver opt-in ensures content remains visible without JS. */
.st-motion-ready [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity .82s cubic-bezier(.22,1,.36,1), transform .82s cubic-bezier(.22,1,.36,1);
    transition-delay: var(--st-reveal-delay, 0ms);
}
.st-motion-ready [data-reveal].is-visible { opacity: 1; transform: translate3d(0,0,0); }

@media (max-width: 1150px) {
    .st-editorial__grid, .st-reach__grid { gap: 48px; }
    .st-service-card__content { padding: 22px; }
    .st-footer__top { gap: 25px; }
}
@media (max-width: 980px) {
    .st-container { width: min(calc(100% - 56px), 1248px); }
    .st-section__heading--split { align-items: start; }
    .st-section__heading--split > p, .st-section__aside { max-width: 310px; }
    .st-services__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .st-service-card--wide { grid-column: span 1; }
    .st-service-card--wide .st-service-card__media { height: 260px; }
    .st-process__steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .st-process__step:nth-child(3) { border-left: none; padding-left: 0; border-top: 1px solid #3c495a; }
    .st-process__step:nth-child(4) { border-top: 1px solid #3c495a; }
    .st-editorial__grid, .st-reach__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .st-editorial__media { min-height: 460px; }
    .st-editorial__media > img, .st-reach__media img { height: 490px; }
    .st-editorial__media-tag { right: 0; }
    .st-quote__grid { grid-template-columns: .75fr 1.25fr; gap: 28px; }
    .st-footer__top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 45px; }
}
@media (max-width: 720px) {
    .st-container { width: min(calc(100% - 38px), 1248px); }
    .st-section { padding-block: 77px; }
    .st-section__heading { margin-bottom: 38px; }
    .st-section__heading--split { display: block; }
    .st-section__heading--split > p, .st-section__aside { max-width: 500px; margin-top: 24px; }
    .st-home h2 { font-size: clamp(48px, 11vw, 72px); }
    .st-kicker { margin-bottom: 17px; }
    .st-intro__grid { grid-template-columns: 1fr; }
    .st-feature, .st-feature + .st-feature { padding: 26px 0; min-height: auto; border-left: 0; }
    .st-feature + .st-feature { border-top: 1px solid var(--st-border); }
    .st-feature__icon { margin: 18px 0 13px; }
    .st-services__grid { gap: 14px; }
    .st-service-card__media, .st-service-card--wide .st-service-card__media { height: 210px; }
    .st-service-card__content { min-height: 196px; }
    .st-service-card h3 { font-size: 19px; }
    .st-service-card p { font-size: 11px; }
    .st-editorial__grid, .st-reach__grid, .st-quote__grid { grid-template-columns: 1fr; gap: 43px; }
    .st-editorial__media { min-height: auto; }
    .st-editorial__media > img, .st-reach__media img { height: min(110vw,570px); }
    .st-editorial__media-tag { bottom: 18px; }
    .st-reach__copy { order: 1; }
    .st-reach__media { order: 2; }
    .st-testimonials__grid { grid-template-columns: 1fr; }
    .st-review { min-height: 260px; }
    .st-quote__intro { padding: 0; }
    .st-quote__contact { margin-top: 28px; }
    .st-final-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .st-services__grid { grid-template-columns: 1fr; gap: 17px; }
    .st-service-card__media, .st-service-card--wide .st-service-card__media { height: 235px; }
    .st-service-card__content { min-height: 150px; }
    .st-process__steps { grid-template-columns: 1fr; }
    .st-process__step, .st-process__step:not(:first-child), .st-process__step:nth-child(3) { border-left: 0; padding: 25px 0; min-height: 0; }
    .st-process__step:not(:first-child) { border-top: 1px solid #3c495a; }
    .st-process__step > span { margin-bottom: 19px; }
    .st-quote__fields { grid-template-columns: 1fr; gap: 17px; }
    .st-quote__form-head { flex-direction: column; gap: 4px; }
    .st-quote__form-wrap { padding: 22px 18px; }
    .st-footer { padding-top: 62px; }
    .st-footer__top { grid-template-columns: 1fr 1fr; gap: 33px 20px; }
    .st-footer__brand { grid-column: 1/-1; }
    .st-footer__contact { grid-column: 1/-1; }
    .st-footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .st-motion-ready [data-reveal], .st-motion-ready [data-reveal].is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
    .st-service-card__media img, .st-button, .st-hero__photo { animation: none !important; transition: none !important; }
}

/* Preserved original homepage content: security, statistics, brand logos and contact */
.st-intro { padding-block: clamp(56px, 6vw, 90px); }
.st-feature__icon { width: 48px; height: 48px; }
.st-feature__icon img { width: 43px; height: 43px; object-fit: contain; }
.st-service-card h3 a { color: inherit; font: inherit; }
.st-service-card h3 a:hover { color: var(--st-red); }
.st-service-card__content > .st-service-card__arrow { text-decoration: none; }
.st-security { background: #122033; padding: clamp(58px, 7vw, 95px) 0; }
.st-security__inner { display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.st-security__inner > div { max-width: 730px; }
.st-security h2 { font-size: clamp(44px, 5.7vw, 78px); line-height: .97; color: #fff; margin: 0 0 18px; }
.st-security p { max-width: 640px; color: #b8c3cd; font: 500 14px/1.8 var(--st-font); margin: 0; }
.st-security .st-button { flex: 0 0 auto; }
.st-original-checks { list-style: none; margin: 14px 0 29px; padding: 0; }
.st-original-checks li { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid #e4e8ea; color: #344254; font: 600 13px/1.65 var(--st-font); }
.st-original-checks li:first-child { border-top: 1px solid #e4e8ea; }
.st-original-checks li span { flex: 0 0 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--st-red); color: #fff; font-size: 13px; }
.st-stats { background: #eeefee; padding: 48px 0 50px; }
.st-stats__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.st-stat { padding: 15px 25px; text-align: center; border-right: 1px solid #d5dada; }
.st-stat:last-child { border-right: 0; }
.st-stat strong { display: block; color: var(--st-ink); font: 800 clamp(44px, 5vw, 76px)/1 var(--st-display); }
.st-stat > span { display: block; color: #52606b; font: 700 12px/1.55 var(--st-font); margin-top: 8px; }
.st-editorial__copy h2, .st-reach__copy h2 { font-size: clamp(45px, 4.8vw, 70px); line-height: 1; }
.st-reliability { background: #fff; }
.st-reliability .st-editorial__copy > p + p { margin-top: 16px; }
.st-partners { background: #f7f7f4; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; padding: 35px 0; }
.st-partners__logos { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.st-partners__logo { display: flex; min-height: 108px; align-items: center; justify-content: center; padding: 20px 28px; background: #fff; }
.st-partners__logo img { display: block; max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; }
.st-review footer { display: flex; align-items: center; gap: 13px; }
.st-review footer > img { width: 45px; height: 45px; flex: 0 0 45px; border-radius: 50%; object-fit: cover; background: #eceef0; }
.st-review footer > div { flex: 1; min-width: 0; }
.st-quote__intro h2 { font-size: clamp(55px, 6vw, 86px); }
.st-quote__contact { margin-top: 35px; }
.st-quote__fields .st-field { min-width: 0; }
.st-quote__fields .st-field input, .st-quote__fields .st-field select, .st-quote__fields .st-field textarea { height: 54px; }
.st-quote__fields .st-field textarea { min-height: 125px; height: auto; }
.st-contact-details { padding: clamp(58px, 7vw, 95px) 0; background: #f6f7f5; }
.st-contact-details__grid { display: grid; grid-template-columns: 1.35fr .85fr .85fr; gap: clamp(25px, 5vw, 82px); }
.st-contact-details__brand img { width: 140px; height: auto; max-width: 100%; }
.st-contact-details__brand p { color: #5e6a78; font: 500 13px/1.8 var(--st-font); margin: 21px 0 0; max-width: 370px; }
.st-contact-details__item h3 { color: var(--st-ink); font: 800 17px/1.4 var(--st-font); margin: 4px 0 22px; }
.st-contact-details__item p, .st-contact-details__item a { color: #536170; font: 600 13px/2 var(--st-font); overflow-wrap: anywhere; }
.st-contact-details__item a:hover { color: var(--st-red); }
.st-footer__top--original { grid-template-columns: 1.18fr 1fr 1fr 1.55fr; }
.st-footer__subscribe { min-width: 0; }
.st-footer__newsletter { display: flex; gap: 7px; margin: 0 0 18px; }
.st-footer__newsletter input { min-width: 0; flex: 1; height: 46px; padding: 0 12px; border: 1px solid #465269; background: #fff; color: #18273b; font: 600 12px/1 var(--st-font); }
.st-footer__newsletter button { flex: 0 0 auto; padding: 0 13px; background: var(--st-red); border: 0; color: white; font: 800 11px/1 var(--st-font); cursor: pointer; }
.st-footer__newsletter button:hover { background: var(--st-red-deep); }
.st-footer__subscribe .newsletter_text { max-width: 300px; font: 500 12px/1.8 var(--st-font); color: #b3bdc9; }

@media (max-width: 980px) {
    .st-security__inner { gap: 25px; }
    .st-partners__logos { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .st-footer__top--original { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .st-footer__subscribe { grid-column: auto; }
}
@media (max-width: 720px) {
    .st-security__inner { align-items: flex-start; flex-direction: column; }
    .st-stats__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .st-stat:nth-child(2) { border-right: 0; }
    .st-stat:nth-child(-n+2) { border-bottom: 1px solid #d5dada; }
    .st-partners__logos { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .st-contact-details__grid { grid-template-columns: 1fr 1fr; }
    .st-contact-details__brand { grid-column: 1/-1; }
}
@media (max-width: 480px) {
    .st-contact-details__grid { grid-template-columns: 1fr; gap: 25px; }
    .st-contact-details__brand { grid-column: auto; }
    .st-partners__logo { padding: 15px; min-height: 86px; }
    .st-footer__top--original { grid-template-columns: 1fr 1fr; }
    .st-footer__subscribe { grid-column: 1/-1; }
    .st-footer__newsletter input { max-width: none; }
}

/* Homepage shipping-process actions: full-width stacked buttons on mobile. */
@media (max-width: 850px) {
    .st-home .st-process__action {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .st-home .st-process__action > a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-height: 58px;
        margin: 0;
        padding: 12px 16px;
        text-align: center;
    }

    .st-home .st-process__action > .st-text-link--light {
        border: 1px solid rgba(255, 255, 255, .46);
        border-radius: 8px;
        background: rgba(255, 255, 255, .05);
        color: #fff;
        text-decoration: none;
    }

    .st-home .st-process__action > .st-text-link--light:hover {
        background: rgba(255, 255, 255, .16);
        border-color: #fff;
        color: #fff;
    }
}

/* Estimate forms: keep native product dropdowns working.
   Legacy main.js initializes Nice Select globally, hiding the real <select>
   and inserting a replacement that can conflict with the redesigned forms.
   Scope the override to these forms; other site dropdowns stay unchanged. */
:is(.st-quote__form, .st-sv-form, .sd-form) select[name="product_type"],
:is(.st-quote__form, .st-sv-form, .sd-form) select[name="product_size"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: static !important;
    -webkit-appearance: menulist;
    appearance: auto;
    width: 100%;
    min-width: 0;
    cursor: pointer;
    color: #24354a;
    background-color: #fafafa;
}

:is(.st-quote__form, .st-sv-form, .sd-form) select[name="product_type"] + .nice-select,
:is(.st-quote__form, .st-sv-form, .sd-form) select[name="product_size"] + .nice-select {
    display: none !important;
}
