/* ==========================================================================
   UPL site chrome: header, mobile menu, footer
   Figma: VJ6N8rjlEpXLL6lGydMLw6 — nodes 118:177, 214:8269, 197:3219
   ========================================================================== */

:root {
    --upl-red: #e32c2a;
    --upl-red-hover: #f7403e;
    --upl-red-active: #cf1816;
    --upl-main: #282f36;
    --upl-bg: #f5f6f7;
    --upl-black: #131313;
}

html {
    scroll-behavior: smooth;
    /* Keep anchor targets visible below the sticky header */
    scroll-padding-top: 70px;
}

[id].site-anchor { scroll-margin-top: 70px; }

/* When tracking result is displayed, keep only header + tracking + footer.
   Hide marketing sections that live between them on the homepage. */
body.tracking-result-shown .site-how,
body.tracking-result-shown .site-policy,
body.tracking-result-shown .site-damage,
body.tracking-result-shown .site-partner,
body.tracking-result-shown .site-faq {
    display: none;
}

/* ===== SITE HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #f0f1f3;
    font-family: 'Inter', system-ui, sans-serif;
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 130px;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 55px;
}

.site-header__logo {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}
.site-header__logo img {
    display: block;
    width: 111px;
    height: 35px;
}

.site-header__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.site-header__link {
    color: var(--upl-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}
.site-header__link:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.site-header__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 8px 16px 10px;
    background: var(--upl-red);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.site-header__phone:hover { background: var(--upl-red-hover); }
.site-header__phone:active { background: var(--upl-red-active); }
.site-header__phone svg { width: 16px; height: 16px; flex-shrink: 0; }

/* mobile-only pieces, hidden on desktop */
.site-header__track-mobile,
.site-header__mobile-actions { display: none; }

/* Intermediate breakpoint: menu condenses */
@media (max-width: 1200px) {
    .site-header__inner { padding: 10px 40px; }
    .site-header__nav { gap: 24px; }
}

/* ===== MOBILE HEADER (<= 768px) ===== */
@media (max-width: 768px) {
    .site-header__inner {
        padding: 10px 20px;
        gap: 8px;
        min-height: 45px;
    }
    .site-header__logo img { width: 80px; height: 25px; }

    .site-header__nav,
    .site-header__phone { display: none; }

    .site-header__track-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--upl-main);
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        margin: 0 auto;
    }
    .site-header__track-mobile svg { width: 20px; height: 20px; }

    .site-header__mobile-actions {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }
    .site-header__phone-icon,
    .site-header__burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 10px;
        cursor: pointer;
        padding: 0;
    }
    .site-header__phone-icon {
        background: var(--upl-red);
        color: #fff;
        text-decoration: none;
    }
    .site-header__phone-icon:active { background: var(--upl-red-active); }
    .site-header__phone-icon svg { width: 16px; height: 16px; }

    .site-header__burger {
        background: var(--upl-main);
        color: #fff;
    }
    .site-header__burger svg { width: 20px; height: 20px; }
}

/* ===== MOBILE MENU OVERLAY ===== */
.site-mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--upl-bg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, sans-serif;
    transform: translateX(100%);
    transition: transform .28s ease;
    visibility: hidden;
}
.site-mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
}

.site-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #fff;
    min-height: 45px;
}
.site-mobile-menu__logo { display: block; line-height: 0; }
.site-mobile-menu__logo img { display: block; width: 80px; height: 25px; }

.site-mobile-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    color: var(--upl-main);
}
.site-mobile-menu__close svg { width: 16px; height: 16px; }

.site-mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 30px 20px;
    flex: 1 0 auto;
}
.site-mobile-menu__link {
    color: var(--upl-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.site-mobile-menu__cta {
    display: flex;
    gap: 4px;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    background: transparent;
}
.site-mobile-menu__cta-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 16px 2px;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}
.site-mobile-menu__cta-btn--phone { background: var(--upl-red); }
.site-mobile-menu__cta-btn--phone:active { background: var(--upl-red-active); }
.site-mobile-menu__cta-btn--track { background: var(--upl-main); }
.site-mobile-menu__cta-btn--phone svg { width: 16px; height: 16px; }
.site-mobile-menu__cta-btn--track svg { width: 20px; height: 20px; }

/* Lock body scroll when menu is open */
body.site-mobile-menu-open { overflow: hidden; }

/* On desktop the mobile menu should never be shown, even if class toggled */
@media (min-width: 769px) {
    .site-mobile-menu { display: none !important; }
}

/* ===== HERO (Track your delivery) =====
   Figma nodes 125:723, 149:1462, 149:1770, 151:2136, 151:2468, 170:2737
   ========================================================================== */
.site-hero {
    position: relative;
    background-image: url('/images/hero-delivery-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
}
.site-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}
.site-hero__content {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
    padding: 110px 245px 50px;
    display: flex;
    flex-direction: column;
    gap: 175px;
}
.site-hero__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}
.site-hero__title {
    margin: 0;
    font-family: 'Lexend Deca', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 100px;
    line-height: 1;
}
.site-hero__lead {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
}

/* White tracking card */
.site-hero__card {
    background: #fff;
    color: var(--upl-main);
    border-radius: 30px;
    padding: 50px 80px 60px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-hero__form-col {
    flex: 0 1 705px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.site-hero__form-h {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.site-hero__form-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--upl-main);
}
.site-hero__form-sublead {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: rgba(40, 47, 54, 0.5);
}

.site-hero__form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0;
}
.site-hero__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 64px;
    box-sizing: border-box;
    border: 1px solid #e1e2e3;
    border-radius: 10px;
    background: #fff;
    padding: 0 30px 0 20px;
    font: 300 20px/1 'Inter', sans-serif;
    color: var(--upl-main);
    outline: none;
}
.site-hero__input::placeholder { color: rgba(40, 47, 54, 0.3); }
.site-hero__input:focus { border-color: var(--upl-main); }

.site-hero__submit {
    flex-shrink: 0;
    width: 200px;
    height: 64px;
    background: var(--upl-red);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 0 20px;
    font: 700 20px/1 'Inter', sans-serif;
    cursor: pointer;
    transition: background .15s;
}
.site-hero__submit:hover { background: var(--upl-red-hover); }
.site-hero__submit:active { background: var(--upl-red-active); }

.site-hero__help-col {
    flex: 0 1 480px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.site-hero__help {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: var(--upl-main);
}
.site-hero__help-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: block;
}
.site-hero__help-icon svg,
.site-hero__help-icon img { width: 100%; height: 100%; display: block; }
.site-hero__help-txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}
.site-hero__help-primary { color: var(--upl-main); }
.site-hero__help-link {
    color: #2a8ae3;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-hero__help:hover .site-hero__help-link { text-decoration: none; }

/* Error message inside the hero card */
.site-hero .tracking-error-message {
    color: var(--upl-red);
    font-size: 14px;
    font-weight: 500;
}

/* 1680 and below: tighter horizontal padding */
@media (max-width: 1780px) {
    .site-hero__content { padding: 110px 130px 50px; }
}

/* 1280 and below: card stacks, help items become row */
@media (max-width: 1440px) {
    .site-hero__content { padding: 110px 140px 50px; gap: 140px; }
    .site-hero__card {
        flex-direction: column;
        align-items: stretch;
        padding: 50px 60px 30px;
        gap: 30px;
    }
    .site-hero__form-col { flex: 1 1 auto; gap: 20px; }
    .site-hero__help-col {
        flex: 1 1 auto;
        justify-content: flex-start;
        gap: 80px;
    }
    .site-hero__help {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
}

/* 1024 */
@media (max-width: 1200px) {
    .site-hero__content { padding: 50px 24px; gap: 90px; }
    .site-hero__title { font-size: 80px; }
    .site-hero__lead { font-size: 20px; }
    .site-hero__card { padding: 30px 40px; gap: 24px; }
    .site-hero__form-sublead { font-size: 14px; }
    .site-hero__help-txt { font-size: 14px; }
}

/* 768 */
@media (max-width: 900px) {
    .site-hero__content { gap: 70px; }
    .site-hero__title { font-size: 60px; }
    .site-hero__lead { font-size: 18px; }
    .site-hero__help-col { gap: 20px; }
}

/* 414 / phone */
@media (max-width: 600px) {
    .site-hero__content { padding: 30px 20px; gap: 55px; }
    .site-hero__title { font-size: 50px; line-height: 1.2; }
    .site-hero__lead { font-size: 16px; }
    .site-hero__card { padding: 20px; }
    .site-hero__form-col { gap: 20px; }
    .site-hero__form-title { font-size: 20px; }
    .site-hero__form-sublead { font-size: 13px; }
    .site-hero__form {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .site-hero__input {
        width: 100%;
        height: 50px;
        padding: 0 20px 0 16px;
        font-size: 15px;
    }
    .site-hero__submit {
        width: 100%;
        height: 50px;
        font-size: 15px;
    }
    .site-hero__help-col {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .site-hero__help-icon { width: 28px; height: 28px; }
    .site-hero__help-txt { font-size: 13px; }
}

/* ===== HOW IT WORKS =====
   Figma nodes 63:26, 149:1513, 149:1821, 151:2281, 151:2519, 188:3011
   ========================================================================== */
.site-how {
    background: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--upl-main);
}
.site-how__inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 50px 100px 70px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}
.site-how__title {
    margin: 0;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}
.site-how__cards {
    position: relative;
    width: 100%;
    max-width: 1420px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.site-how__card {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.site-how__label {
    background: var(--upl-main);
    color: #f5f6f7;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    height: 35px;
    padding: 0 16px 2px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.site-how__pic {
    display: block;
    width: 100%;
    max-width: 327px;
    height: 158px;
    object-fit: contain;
}

/* 1440 */
@media (max-width: 1600px) {
    .site-how__inner { padding: 50px 130px 70px; }
}

/* 1280 */
@media (max-width: 1440px) {
    .site-how__inner { padding: 50px 24px 70px; }
}

/* 1024 */
@media (max-width: 1200px) {
    .site-how__inner { padding: 40px 24px 60px; gap: 30px; }
    .site-how__title { font-size: 36px; }
    .site-how__label {
        font-size: 14px;
        height: 33px;
    }
    .site-how__pic { height: 110px; }
}

/* 768 */
@media (max-width: 900px) {
    .site-how__cards { gap: 10px; }
}

/* 414 / mobile: 2x2 grid, hide lines */
@media (max-width: 600px) {
    .site-how__inner { padding: 30px 20px 40px; }
    .site-how__title { font-size: 28px; }
    .site-how__cards {
        flex-wrap: wrap;
        gap: 30px 10px;
    }
    .site-how__card {
        flex: 0 0 calc(50% - 5px);
        gap: 10px;
    }
    .site-how__label {
        font-size: 13px;
        height: 33px;
        padding: 0 12px 2px;
    }
    .site-how__pic { height: 87px; }
}

/* ===== DELIVERY POLICY =====
   Figma nodes 66:115, 149:1582, 149:1845, 151:2306, 151:2543, 188:3035
   ========================================================================== */
.site-policy {
    background: #f5f6f7;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--upl-main);
}
.site-policy__inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 50px 245px 70px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* --- Header with title + download link (right-aligned on desktop) --- */
.site-policy__h {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.site-policy__title {
    margin: 0;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}
.site-policy__download {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 40px;
    color: var(--upl-main);
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.site-policy__download:hover { text-decoration: none; }
.site-policy__download-icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* --- 3 photo cards --- */
.site-policy__cards {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: stretch;
}
.site-policy__card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 400px;
    padding: 30px;
    border: 1px solid #e1e2e3;
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
}
.site-policy__card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-policy__card-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.8) 23%,
        rgba(255, 255, 255, 0) 76.5%
    );
    pointer-events: none;
}
.site-policy__card-txt {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--upl-main);
}
.site-policy__card-title {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}
.site-policy__card-text {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    opacity: 0.8;
}

/* --- "What to do" section --- */
.site-policy__steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}
.site-policy__steps-title {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--upl-main);
}
.site-policy__steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.site-policy__step {
    background: var(--upl-main);
    color: #f5f6f7;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(38, 45, 51, 0.08);
    /* Default (≥1280): equal flex in a single row */
    flex: 1 1 0;
    min-width: 0;
}
.site-policy__step-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: block;
    color: #f5f6f7;
}
.site-policy__step-icon { display: inline-flex; align-items: center; justify-content: center; }
.site-policy__step-icon img,
.site-policy__step-icon svg { max-width: 100%; max-height: 100%; }
.site-policy__step p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #f5f6f7;
}

/* 1680 */
@media (max-width: 1780px) {
    .site-policy__inner { padding: 50px 130px 70px; }
}
/* 1280 and below: shrink horizontal padding */
@media (max-width: 1440px) {
    .site-policy__inner { padding: 50px 24px 70px; }
    /* steps-list: first 3 full width, last 2 wider on the second row */
    .site-policy__step { flex: 1 1 calc(33.333% - 7px); }
    .site-policy__step:nth-child(4),
    .site-policy__step:nth-child(5) { flex: 1 1 calc(50% - 5px); }
}

/* 1024 */
@media (max-width: 1200px) {
    .site-policy__inner { padding: 40px 24px 60px; gap: 30px; }
    .site-policy__title { font-size: 36px; }
    .site-policy__card { padding: 30px; }
    .site-policy__card-title { font-size: 24px; }
    .site-policy__card-text { font-size: 14px; line-height: 22px; }
    .site-policy__steps-title { font-size: 28px; }
    .site-policy__steps { gap: 20px; }
    .site-policy__step p { font-size: 14px; line-height: 22px; }
}

/* 900: download moves below title; photo cards scroll horizontally */
@media (max-width: 900px) {
    .site-policy__card-text br.lg-br { display: none; }
    .site-policy__h {
        flex-direction: column;
        gap: 16px;
    }
    .site-policy__download {
        position: static;
        transform: none;
        padding: 0;
    }
    .site-policy__cards {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding: 20px;
        margin: 0 -24px;
        padding: 4px 24px;
        gap: 10px;
    }
    .site-policy__card {
        flex: 0 0 300px;
        padding: 20px;
        scroll-snap-align: start;
    }
    .site-policy__card-title { font-size: 20px; }
    .site-policy__card-text { font-size: 13px; line-height: 21px; }
    .site-policy__card-txt { gap: 10px; }
}

/* 414 / mobile */
@media (max-width: 600px) {
    .site-policy__inner { padding: 30px 20px 40px; gap: 20px; }
    .site-policy__title { font-size: 28px; }
    .site-policy__download {
        font-size: 13px;
        gap: 4px;
    }
    .site-policy__download-icon { width: 20px; height: 20px; }
    .site-policy__cards {
        margin: 0 -20px;
        padding: 4px 20px;
        scroll-padding: 20px;
    }
    .site-policy__card { height: 350px; }
    .site-policy__steps-title { font-size: 24px; }
    .site-policy__steps { gap: 16px; }
    .site-policy__steps-list {
        flex-direction: column;
        gap: 4px;
    }
    .site-policy__step,
    .site-policy__step:nth-child(4),
    .site-policy__step:nth-child(5) {
        flex: 1 1 auto;
        width: 100%;
        padding: 10px 12px;
    }
    .site-policy__step p { font-size: 13px; line-height: 21px; }
}

/* ===== HOW TO REPORT DAMAGE =====
   Figma nodes 92:162, 149:1627, 149:1975, 151:2351, 151:2615, 188:3095
   ========================================================================== */
.site-damage {
    display: flex;
    align-items: stretch;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--upl-main);
}
.site-damage__pic {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 551px;
    overflow: hidden;
}
.site-damage__pic img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.site-damage__info {
    position: relative;
    flex: 0 0 auto;
    width: 460px;
    height: 551px;
    padding: 24px 50px;
    background: #e8ebf0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.site-damage__dots {
    position: absolute;
    top: -30px;
    right: -10px;
    width: 160px;
    height: 170px;
    background: url('/images/damage-dots.png') no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
}
.site-damage__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}
.site-damage__icon {
    display: block;
    width: 30px;
    height: 30px;
}
.site-damage__title {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--upl-main);
}
.site-damage__text {
    color: var(--upl-main);
    font-size: 16px;
    line-height: 24px;
    opacity: 0.8;
}
.site-damage__text p { margin: 0 0 10px; font-size: inherit; }
.site-damage__text p:last-child { margin-bottom: 0; }
.site-damage__link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-damage__link:hover { text-decoration: none; }

/* Wide desktop (≥1600): info stretches with content + wider padding */
@media (min-width: 1601px) {
    .site-damage__info {
        width: auto;
        padding: 24px 100px;
        max-width: 700px;
    }
}

/* 1024 */
@media (max-width: 1200px) {
    .site-damage__pic { height: 400px; }
    .site-damage__info {
        height: 400px;
        width: 460px;
    }
    .site-damage__title { font-size: 28px; }
    .site-damage__text { font-size: 14px; line-height: 22px; }
}

/* 768: narrower info */
@media (max-width: 900px) {
    .site-damage__info {
        width: 340px;
        padding: 24px 40px;
    }
}

/* 414: stacked layout (pic-info-pic vertical) */
@media (max-width: 600px) {
    .site-damage { flex-direction: column; }
    .site-damage__pic {
        width: 100%;
        height: 400px;
        flex: 0 0 400px;
    }
    .site-damage__info {
        width: 100%;
        flex: 0 0 auto;
        height: auto;
        padding: 24px 50px;
    }
    .site-damage__inner { gap: 16px; }
    .site-damage__title { font-size: 24px; }
    .site-damage__text { font-size: 13px; line-height: 21px; }
    .site-damage__dots {
        top: -20px;
        right: -10px;
        width: 110px;
        height: 90px;
    }
}

/* ===== PARTNER WITH US =====
   Figma nodes 110:270, 149:1636, 149:1984, 151:2360, 151:2624, 188:3105
   ========================================================================== */
.site-partner {
    background: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--upl-main);
}
.site-partner__inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 50px 245px 70px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.site-partner__h {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}
.site-partner__title {
    margin: 0;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
}
.site-partner__subtitle {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    opacity: 0.8;
}

.site-partner__content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

/* --- Form (dark card) --- */
.site-partner__form {
    flex: 0 0 500px;
    background: var(--upl-main);
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-self: flex-start;
}
.site-partner__tabs {
    display: flex;
    border-bottom: 1.5px solid #5a6168;
}
.site-partner__tab {
    flex: 1 1 0;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    height: 40px;
    padding: 0 16px 10px;
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity .15s, border-color .15s;
    margin-bottom: -1.5px;
}
.site-partner__tab.is-active {
    border-bottom-color: var(--upl-red);
    font-weight: 600;
    opacity: 1;
}
.site-partner__tab:hover { opacity: 1; }

.site-partner__fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.site-partner__row {
    display: flex;
    gap: 10px;
}
.site-partner__row .site-partner__input { flex: 1 1 0; min-width: 0; }

.site-partner__input {
    box-sizing: border-box;
    height: 50px;
    padding: 10px 30px 10px 20px;
    border: 1px solid #e1e2e3;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 300;
    color: var(--upl-main);
    width: 100%;
    outline: none;
    transition: border-color .15s;
}
.site-partner__input::placeholder { color: rgba(40, 47, 54, 0.3); }
.site-partner__input:focus { border-color: var(--upl-main); }
.site-partner__textarea {
    height: 150px;
    padding: 16px 30px 10px 20px;
    resize: vertical;
    font-family: inherit;
    line-height: 22px;
}

.site-partner__submit {
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--upl-red);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    padding: 0 24px;
}
.site-partner__submit:hover { background: var(--upl-red-hover); }
.site-partner__submit:active { background: var(--upl-red-active); }
.site-partner__submit:disabled { opacity: 0.6; cursor: progress; }

/* Panel switching (Business / Careers) */
.site-partner__panel {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}
@media (max-width: 600px) {
    .site-partner__panel {
        gap: 10px;
    }
}
.site-partner__panel.is-active { display: flex; }

/* Invalid state */
.site-partner__input.is-invalid {
    border-color: var(--upl-red);
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(227, 44, 42, 0.15);
}

/* Status line */
.site-partner__status {
    margin: 0;
    min-height: 1.4em;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}
.site-partner__status.is-error   { color: #ffb4b3; }
.site-partner__status.is-success { color: #b7e7c1; }
.site-partner__status:empty { display: none; }

/* Resume dropzone (Careers) */
.site-partner__dropzone {
    background: #fff;
    border: 1px solid #f5f6f7;
    border-radius: 10px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    padding: 16px 20px 10px;
    transition: border-color .15s, background .15s;
    outline: none;
}
.site-partner__dropzone:hover,
.site-partner__dropzone:focus-visible { border-color: var(--upl-red); }
.site-partner__dropzone.is-dragover {
    border-color: var(--upl-red);
    background: #fff0ef;
}
.site-partner__dropzone.has-file {
    border-color: var(--upl-red);
    background: #fff5f5;
}
.site-partner__dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.site-partner__dropzone-icon {
    width: 24px; height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--upl-main);
}
.site-partner__dropzone-icon svg { width: 100%; height: 100%; }
.site-partner__dropzone-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--upl-main);
}
.site-partner__dropzone-hint {
    margin: 0;
    font-size: 14px;
    color: var(--upl-main);
    opacity: 0.5;
}
.site-partner__dropzone-btn {
    pointer-events: auto;
    margin-top: 6px;
    background: transparent;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    height: 30px;
    padding: 0 12px 2px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--upl-main);
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.site-partner__dropzone-btn:hover {
    border-color: var(--upl-red);
    color: var(--upl-red);
}

/* --- Info grid (photos + text cards) ---
   12-col grid keeps Figma proportions per row:
     row 1: hero (8 cols) + txt1 (4 cols)  ≈ 560:270
     row 2: txt2 (6 cols) + pics (6 cols)  =  415:415  */
.site-partner__info {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "hero hero hero hero hero hero hero hero txt1 txt1 txt1 txt1"
        "txt2 txt2 txt2 txt2 txt2 txt2 pics pics pics pics pics pics";
    gap: 20px;
    min-height: 531px;
    max-width: 850px;
}
.site-partner__pic {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #e8ebf0;
}
.site-partner__pic img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.site-partner__pic--hero { grid-area: hero; }

.site-partner__txt {
    position: relative;
    border: 1px solid #e1e2e3;
    border-radius: 30px;
    padding: 30px;
    background: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.site-partner__txt--1 { grid-area: txt1; }
.site-partner__txt--2 { grid-area: txt2; }

.site-partner__txt p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--upl-main);
    opacity: 0.8;
    position: relative;
    z-index: 1;
}
.site-partner__dots {
    position: absolute;
    top: -20px;
    right: -10px;
    width: 140px;
    height: 100px;
    background: url('/images/damage-dots.png') no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
}
.site-partner__dots--left {
    top: -20px;
    left: -20px;
    right: auto;
    width: 120px;
    height: 90px;
}

.site-partner__pics {
    grid-area: pics;
    display: flex;
    gap: 7px;
    min-width: 0;
}
.site-partner__pic--small {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 20px;
}

/* 1440-1780: tighter outer padding so info has room */
@media (max-width: 1780px) {
    .site-partner__inner { padding: 50px 130px 70px; }
}

/* 1280-1440: full-bleed padding */
@media (max-width: 1440px) {
    .site-partner__inner { padding: 50px 24px 70px; }
    .site-partner__txt { padding: 24px; }
}

/* 1100-1280: shrink form so info isn't squeezed; tighter cards */
@media (max-width: 1280px) {
    .site-partner__form { flex: 0 0 440px; gap: 24px; padding: 24px; }
    .site-partner__tab { font-size: 18px; }
    .site-partner__info { min-height: 480px; }
    .site-partner__txt { padding: 20px; }
    .site-partner__txt p { font-size: 14px; line-height: 22px; }
}

/* Stack form above info on small laptops / tablets — info would be < ~500 otherwise */
@media (max-width: 1100px) {
    .site-partner__inner { padding: 40px 24px 60px; gap: 30px; }
    .site-partner__title { font-size: 36px; }
    .site-partner__subtitle { font-size: 14px; line-height: 22px; }
    .site-partner__content { flex-direction: column; gap: 20px; align-items: stretch; }
    .site-partner__form {
        flex: 0 0 auto;
        width: 100%;
        max-width: 600px;
        align-self: center;
        padding: 30px;
        gap: 30px;
    }
    .site-partner__tab { font-size: 20px; }
    .site-partner__info {
        max-width: none;
        min-height: 0;
    }
    .site-partner__input { font-size: 14px; }
}

/* 414 */
@media (max-width: 600px) {
    .site-partner__inner { padding: 30px 20px 40px; gap: 20px; }
    .site-partner__title { font-size: 28px; }
    .site-partner__subtitle { font-size: 13px; line-height: 21px; }
    .site-partner__form {
        padding: 12px 20px 20px;
        gap: 20px;
        border-radius: 30px;
    }
    .site-partner__tab { font-size: 16px; padding: 0 16px 4px; }
    .site-partner__row { flex-direction: column; }
    .site-partner__input {
        padding: 10px 20px 10px 16px;
        font-size: 13px;
    }
    .site-partner__textarea {
        padding: 16px 20px 10px 16px;
    }
    .site-partner__submit { font-size: 13px; }

    /* info: single column, stacked */
    .site-partner__info {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: none;
        gap: 10px;
        min-height: 0;
    }
    .site-partner__pic--hero,
    .site-partner__txt--1,
    .site-partner__txt--2,
    .site-partner__pics {
        grid-area: auto;
    }
    .site-partner__pic--hero { height: 200px; }
    .site-partner__txt { padding: 20px; }
    .site-partner__txt p { font-size: 14px; line-height: 22px; }
    .site-partner__pics { gap: 10px; }
    .site-partner__pic--small { height: 200px; }
}

/* ===== DAMAGE REPORT MODAL =====
   Figma nodes 197:4296 / 218:8799 (form), 204:4799 / 218:9435 (success)
   ========================================================================== */
.damage-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--upl-main);
}
.damage-modal.hidden { display: none; }

/* Ensure [hidden] always wins over display rules below */
.damage-modal__form[hidden],
.damage-modal__success[hidden] { display: none !important; }

body.damage-modal-open {
    overflow: hidden;
}

.damage-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

.damage-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 690px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    margin: auto 0;
}

/* ─────────── HEAD (dark) ─────────── */
.damage-modal__head {
    background: var(--upl-main);
    color: #fff;
    padding: 30px 40px 30px;
    position: relative;
}

.damage-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity .15s;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.damage-modal__close:hover { opacity: 1; }
.damage-modal__close svg { width: 16px; height: 16px; }

.damage-modal__title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.damage-modal__lead {
    margin: 0 0 24px;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    opacity: 0.8;
}

.damage-modal__field { display: block; }
.damage-modal__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}
.damage-modal__required { color: var(--upl-red); }
.damage-modal__input {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    border: 1px solid #e1e2e3;
    border-radius: 10px;
    background: #fff;
    color: var(--upl-main);
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.damage-modal__input::placeholder { color: rgba(40, 47, 54, 0.3); }
.damage-modal__input:focus { border-color: var(--upl-red); box-shadow: 0 0 0 3px rgba(227, 44, 42, 0.15); }
.damage-modal__input.is-invalid {
    border-color: var(--upl-red);
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(227, 44, 42, 0.15);
}

.damage-modal__hint {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 18px;
    opacity: 0.7;
}

/* ─────────── BODY (white) ─────────── */
.damage-modal__body {
    padding: 30px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.damage-modal__sub {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

/* ── ISSUES (radios) ── */
.damage-modal__issues-h {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.damage-modal__issues-h .damage-modal__sub { margin: 0; }
.damage-modal__issues-hint {
    font-size: 13px;
    color: rgba(40, 47, 54, 0.5);
}
.damage-modal__radios {
    margin: 0;
    padding: 0 0 24px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid #e9ecef;
}
.damage-modal__radio {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    line-height: 22px;
}
.damage-modal__radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.damage-modal__radio-mark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #c0c4ca;
    background: #fff;
    box-sizing: border-box;
    position: relative;
    transition: border-color .15s, background .15s;
}
.damage-modal__radio:hover .damage-modal__radio-mark { border-color: #6b7280; }
.damage-modal__radio input:checked + .damage-modal__radio-mark {
    border-color: var(--upl-main);
    background: var(--upl-main);
}
.damage-modal__radio input:checked + .damage-modal__radio-mark::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fff;
}
.damage-modal__radio input:focus-visible + .damage-modal__radio-mark {
    box-shadow: 0 0 0 3px rgba(227, 44, 42, 0.2);
}
.damage-modal__radio-txt strong { font-weight: 700; }

/* ── PHOTOS uploader ── */
.damage-modal__photos-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.damage-modal__dropzone {
    flex: 1 1 0;
    min-width: 0;
    height: 70px;
    border: 1px dashed #d9dce0;
    border-radius: 10px;
    background: #fff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    outline: none;
    transition: border-color .15s, background .15s;
}
.damage-modal__dropzone:hover,
.damage-modal__dropzone:focus-visible { border-color: var(--upl-red); }
.damage-modal__dropzone.is-dragover {
    border-color: var(--upl-red);
    background: #fff0ef;
}
.damage-modal__dropzone-icon {
    flex-shrink: 0;
    color: var(--upl-main);
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
}
.damage-modal__dropzone-icon svg { width: 100%; height: 100%; }
.damage-modal__dropzone-txt { display: flex; flex-direction: column; gap: 2px; }
.damage-modal__dropzone-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--upl-main);
}
.damage-modal__dropzone-hint {
    margin: 0;
    font-size: 12px;
    color: rgba(40, 47, 54, 0.5);
}

.damage-modal__or {
    flex-shrink: 0;
    font-size: 14px;
    color: rgba(40, 47, 54, 0.5);
}

.damage-modal__camera {
    flex-shrink: 0;
    height: 70px;
    border: 0;
    border-radius: 10px;
    background: var(--upl-main);
    color: #fff;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.damage-modal__camera:hover { background: #1f262d; }
.damage-modal__camera-icon { width: 18px; height: 18px; display: inline-flex; }
.damage-modal__camera-icon svg { width: 100%; height: 100%; }

.damage-modal__thumbs {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.damage-modal__thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #efeff0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.damage-modal__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.damage-modal__thumb-remove {
    position: absolute;
    top: 4px; left: 4px;
    width: 22px; height: 22px;
    border: 0;
    border-radius: 50%;
    background: rgba(40, 47, 54, 0.85);
    color: #fff;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.damage-modal__thumb-remove:hover { background: var(--upl-red); }
.damage-modal__thumb-remove svg { width: 10px; height: 10px; }

/* ── COMMENT ── */
.damage-modal__textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 120px;
    padding: 14px 20px;
    border: 1px solid #e1e2e3;
    border-radius: 10px;
    background: #fff;
    color: var(--upl-main);
    font-family: inherit;
    font-size: 15px;
    line-height: 22px;
    resize: vertical;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.damage-modal__textarea::placeholder { color: rgba(40, 47, 54, 0.3); }
.damage-modal__textarea:focus { border-color: var(--upl-red); box-shadow: 0 0 0 3px rgba(227, 44, 42, 0.15); }

/* ── SUBMIT ── */
.damage-modal__submit {
    align-self: flex-start;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--upl-red);
    color: #fff;
    padding: 0 36px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .05s;
}
.damage-modal__submit:hover { background: var(--upl-red-hover); }
.damage-modal__submit:active { background: var(--upl-red-active); transform: translateY(1px); }
.damage-modal__submit:disabled { opacity: 0.6; cursor: progress; }

.damage-modal__status {
    margin: 0;
    min-height: 1.4em;
    font-size: 14px;
    line-height: 1.4;
    color: var(--upl-main);
}
.damage-modal__status.is-error   { color: var(--upl-red); }
.damage-modal__status.is-success { color: #1a7e39; }

/* ── SUCCESS view ── */
.damage-modal__success {
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.damage-modal__success-logo { display: block; }
.damage-modal__success-title {
    margin: 8px 0 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--upl-main);
}
.damage-modal__success-lead {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(40, 47, 54, 0.7);
}
.damage-modal__success-btn {
    margin-top: 16px;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--upl-red);
    color: #fff;
    padding: 0 48px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.damage-modal__success-btn:hover { background: var(--upl-red-hover); }

/* Mobile */
@media (max-width: 600px) {
    .damage-modal { padding: 0; align-items: stretch; }
    .damage-modal__dialog {
        max-width: none;
        width: 100%;
        border-radius: 30px 30px 0 0;
        margin-top: 60px;
    }
    .damage-modal__head { padding: 24px 20px 20px; }
    .damage-modal__title { font-size: 22px; text-align: left; }
    .damage-modal__lead { text-align: left; margin-bottom: 18px; }
    .damage-modal__close { top: 14px; right: 14px; }

    .damage-modal__body { padding: 20px 20px 28px; gap: 20px; }
    .damage-modal__sub { font-size: 16px; }
    .damage-modal__issues-h { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 12px; }

    .damage-modal__photos-row { flex-wrap: wrap; }
    .damage-modal__camera-label { display: none; }
    .damage-modal__camera { width: 70px; height: 70px; padding: 0; justify-content: center; }

    .damage-modal__submit { align-self: stretch; }

    .damage-modal__success { padding: 30px 24px 36px; }
    .damage-modal__success-title { font-size: 20px; }
}

/* ===== reCAPTCHA badge — bottom-left =====
   Tawk.to widget sits at bottom-right, so we shift Google's badge to the
   opposite side and lower it slightly so the two don't overlap. */
.grecaptcha-badge {
    left: 4px !important;
    right: auto !important;
    width: 70px !important;
    overflow: hidden !important;
    transition: width 0.3s ease 0s !important;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15) !important;
}
.grecaptcha-badge:hover,
.grecaptcha-badge:focus-within {
    width: 256px !important;
}

/* Hide Tawk.to widget + recaptcha badge while mobile menu is open */
body.site-mobile-menu-open iframe[src*="tawk.to"],
body.site-mobile-menu-open iframe[title*="chat" i],
body.site-mobile-menu-open .grecaptcha-badge {
    display: none !important;
}

/* ===== UPDATE DELIVERY DETAILS MODAL =====
   Figma nodes 197:4096 (desktop), 218:9145 (mobile)
   Reuses dark-head + white-body pattern from damage-modal.
   ========================================================================== */
.help-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--upl-main);
}
.help-modal.hidden { display: none; }

.help-modal__form[hidden],
.help-modal__success[hidden] { display: none !important; }

.help-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}
.help-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 850px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    margin: auto 0;
    transition: max-width .2s ease;
}
.help-modal__dialog--success { max-width: 560px; }

/* Head (dark) */
.help-modal__head {
    background: var(--upl-main);
    color: #fff;
    padding: 30px 50px 30px;
    position: relative;
}
.help-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity .15s;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.help-modal__close:hover { opacity: 1; }
.help-modal__close svg { width: 16px; height: 16px; }

.help-modal__title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.help-modal__lead {
    margin: 0 0 24px;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    opacity: 0.8;
}
.help-modal__field { display: block; }
.help-modal__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}
.help-modal__required { color: var(--upl-red); }
.help-modal__input {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    border: 1px solid #e1e2e3;
    border-radius: 10px;
    background: #fff;
    color: var(--upl-main);
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.help-modal__input::placeholder { color: rgba(40, 47, 54, 0.3); }
.help-modal__input:focus {
    border-color: var(--upl-red);
    box-shadow: 0 0 0 3px rgba(227, 44, 42, 0.15);
}
.help-modal__input.is-invalid {
    border-color: var(--upl-red);
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(227, 44, 42, 0.15);
}
.help-modal__hint {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 18px;
    opacity: 0.7;
}

/* Body (white) */
.help-modal__body {
    padding: 30px 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.help-modal__section { display: flex; flex-direction: column; gap: 12px; }
.help-modal__sub {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

/* Segmented (Morning / Afternoon / Evening) */
.help-modal__segmented {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.help-modal__seg {
    box-sizing: border-box;
    height: 64px;
    padding: 8px 12px;
    border: 1px solid #e1e2e3;
    border-radius: 10px;
    background: #fff;
    color: var(--upl-main);
    font-family: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: background .15s, border-color .15s, color .15s;
}
.help-modal__seg:hover { border-color: #c0c4ca; }
.help-modal__seg.is-active {
    background: var(--upl-main);
    color: #fff;
    border-color: var(--upl-main);
}
.help-modal__seg-label { font-size: 15px; font-weight: 600; }
.help-modal__seg-hint  { font-size: 12px; opacity: 0.7; }
.help-modal__seg.is-active .help-modal__seg-hint { opacity: 0.85; }

/* Textarea */
.help-modal__textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 120px;
    padding: 14px 20px;
    border: 1px solid #e1e2e3;
    border-radius: 10px;
    background: #fff;
    color: var(--upl-main);
    font-family: inherit;
    font-size: 15px;
    line-height: 22px;
    resize: vertical;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.help-modal__textarea::placeholder { color: rgba(40, 47, 54, 0.3); }
.help-modal__textarea:focus {
    border-color: var(--upl-red);
    box-shadow: 0 0 0 3px rgba(227, 44, 42, 0.15);
}

/* Chips */
.help-modal__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.help-modal__chip {
    height: 32px;
    padding: 0 14px;
    border: 1px solid #d9dce0;
    border-radius: 999px;
    background: #fff;
    color: var(--upl-main);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.help-modal__chip:hover { border-color: var(--upl-main); }
.help-modal__chip.is-active {
    background: var(--upl-main);
    color: #fff;
    border-color: var(--upl-main);
}
.help-modal__chip.is-active::after {
    content: '';
    width: 9px;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 2l8 8M10 2 2 10'/%3E%3C/svg%3E") no-repeat center / contain;
    display: inline-block;
}

/* Submit */
.help-modal__submit {
    align-self: flex-start;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--upl-red);
    color: #fff;
    padding: 0 36px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .05s;
}
.help-modal__submit:hover  { background: var(--upl-red-hover); }
.help-modal__submit:active { background: var(--upl-red-active); transform: translateY(1px); }
.help-modal__submit:disabled { opacity: 0.6; cursor: progress; }

.help-modal__status {
    margin: 0;
    min-height: 1.4em;
    font-size: 14px;
    line-height: 1.4;
    color: var(--upl-main);
}
.help-modal__status.is-error   { color: var(--upl-red); }
.help-modal__status.is-success { color: #1a7e39; }

.help-modal__foot {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
    color: rgba(40, 47, 54, 0.5);
}

/* Success view */
.help-modal__success {
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.help-modal__success-logo { display: block; }
.help-modal__success-title {
    margin: 8px 0 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--upl-main);
}
.help-modal__success-lead {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(40, 47, 54, 0.7);
}
.help-modal__success-btn {
    margin-top: 8px;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--upl-red);
    color: #fff;
    padding: 0 48px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.help-modal__success-btn:hover { background: var(--upl-red-hover); }

.help-modal__success-foot {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 20px;
    color: rgba(40, 47, 54, 0.5);
}

/* Mobile */
@media (max-width: 600px) {
    .help-modal { padding: 0; align-items: stretch; }
    .help-modal__dialog {
        max-width: none;
        border-radius: 30px 30px 0 0;
        margin-top: 60px;
    }
    .help-modal__head { padding: 24px 20px 20px; }
    .help-modal__title { font-size: 22px; text-align: left; }
    .help-modal__lead  { text-align: left; margin-bottom: 18px; }
    .help-modal__close { top: 14px; right: 14px; }

    .help-modal__body { padding: 20px 20px 28px; gap: 20px; }
    .help-modal__sub { font-size: 15px; }

    .help-modal__chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin: 0 -20px;
        padding: 4px 20px;
    }
    .help-modal__chip { flex-shrink: 0; scroll-snap-align: start; }

    .help-modal__submit { align-self: stretch; }

    .help-modal__success { padding: 30px 24px 36px; }
    .help-modal__success-title { font-size: 20px; }
}

/* ===== TRACKING-NOT-FOUND MODAL =====
   Figma node 204:4926
   ========================================================================== */
.track-error-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--upl-main);
}
.track-error-modal.hidden { display: none; }

.track-error-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

.track-error-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 30px;
    padding: 36px 40px 32px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: auto;
}

.track-error-modal__logo { display: block; }

.track-error-modal__title {
    margin: 8px 0 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--upl-main);
}

.track-error-modal__lead {
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(40, 47, 54, 0.85);
    font-weight: 600;
}

.track-error-modal__btn {
    margin: 8px 0 0;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: var(--upl-red);
    color: #fff;
    padding: 0 56px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.track-error-modal__btn:hover  { background: var(--upl-red-hover); }
.track-error-modal__btn:active { background: var(--upl-red-active); }

.track-error-modal__help {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 20px;
    color: rgba(40, 47, 54, 0.5);
}
.track-error-modal__help a {
    color: rgba(40, 47, 54, 0.7);
    text-decoration: underline;
    font-weight: 600;
}
.track-error-modal__help a:hover { color: var(--upl-main); }

@media (max-width: 600px) {
    .track-error-modal__dialog { padding: 28px 24px; border-radius: 24px; gap: 12px; }
    .track-error-modal__title  { font-size: 22px; }
    .track-error-modal__btn    { padding: 0 40px; font-size: 15px; }
}

/* ===== FAQ =====
   Figma nodes 118:83, 149:1725, 149:2023, 151:2399, 151:2664, 188:3144
   ========================================================================== */
.site-faq {
    background: #f5f6f7;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--upl-main);
}
.site-faq__inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 50px 390px 70px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}
.site-faq__title {
    margin: 0;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.site-faq__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-faq__item {
    background: #e8ebf0;
    border-radius: 30px;
    overflow: hidden;
    transition: background .2s;
}
.site-faq__item.is-open { background: #fff; }
.site-faq__item:not(.is-open):hover { background: #d7dde6; }
.site-faq__item:not(.is-open):hover .site-faq__q-icon { background: #fff; }

.site-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px 20px 20px 30px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--upl-main);
}
.site-faq__q-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--upl-main);
}

/* Plus / minus icon */
.site-faq__q-icon {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    transition: background .2s;
}
.site-faq__item.is-open .site-faq__q-icon { background: #d7dde6; }

.site-faq__q-icon::before,
.site-faq__q-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--upl-main);
    transform: translate(-50%, -50%);
    transition: opacity .2s;
}
.site-faq__q-icon::before { width: 12px; height: 2px; }
.site-faq__q-icon::after { width: 2px; height: 12px; }
.site-faq__item.is-open .site-faq__q-icon::after { opacity: 0; }

/* Answer (collapsible) */
.site-faq__a {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height .3s ease, padding-bottom .3s ease;
}
.site-faq__item.is-open .site-faq__a {
    max-height: 500px;
    padding-bottom: 30px;
}
.site-faq__a p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--upl-main);
    opacity: 0.8;
}

/* 1440 */
@media (max-width: 1780px) {
    .site-faq__inner { padding: 50px 370px 70px; }
}
/* 1280 */
@media (max-width: 1440px) {
    .site-faq__inner { padding: 50px 200px 70px; }
}
/* 1024 */
@media (max-width: 1200px) {
    .site-faq__inner { padding: 40px 24px 60px; }
    .site-faq__title { font-size: 36px; }
    .site-faq__a p { font-size: 14px; line-height: 22px; }
}
/* 900 */
@media (max-width: 900px) {
    .site-faq__q-text { font-size: 18px; }
}
/* 414 */
@media (max-width: 600px) {
    .site-faq__inner { padding: 30px 20px 40px; gap: 20px; }
    .site-faq__title { font-size: 28px; }
    .site-faq__q {
        padding: 20px;
    }
    .site-faq__q-text { font-size: 17px; }
    .site-faq__a { padding: 0 20px; }
    .site-faq__item.is-open .site-faq__a { padding-bottom: 20px; }
    .site-faq__a p { font-size: 13px; line-height: 21px; }
}

/* ===== SITE FOOTER =====
   Figma nodes 118:178, 149:1726, 214:6552, 214:8403, 214:8362, 214:8293
   ========================================================================== */
.site-footer {
    font-family: 'Inter', system-ui, sans-serif;
    color: #fff;
    position: relative;
    z-index: 10;
}

.site-footer__main {
    background: var(--upl-main);
}
.site-footer__main-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 50px 100px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-footer__intro {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 635px;
}
.site-footer__title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}
.site-footer__lead {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.site-footer__contacts {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}
.site-footer__contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.site-footer__contact:last-child {
    padding-right: 0;
    border-right: 0;
}
.site-footer__contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #fff;
    line-height: 0;
}
.site-footer__contact-icon svg { width: 100%; height: 100%; }

.site-footer__contact-txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    white-space: nowrap;
}
.site-footer__contact-primary {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    text-align: left;
}
.site-footer__contact-primary:hover { text-decoration: underline; }
.site-footer__contact-caption {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.5;
}

.site-footer__bottom {
    background: #0a1118;
}
.site-footer__bottom-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 10px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-footer__bottom-logo {
    display: block;
    line-height: 0;
}
.site-footer__bottom-logo img {
    display: block;
    width: 111px;
    height: 35px;
}
.site-footer__copyright {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #808080;
}

/* 1440: adjust padding to match Figma */
@media (max-width: 1600px) {
    .site-footer__main-inner { padding: 50px 130px 60px; }
    .site-footer__bottom-inner { padding: 10px 130px; }
}

/* 1280 and below: edge-padding shrinks to 24px */
@media (max-width: 1440px) {
    .site-footer__main-inner { padding: 50px 24px 60px; }
    .site-footer__bottom-inner { padding: 10px 24px; }
}

/* 1024: smaller typography + tighter gaps */
@media (max-width: 1100px) {
    .site-footer__title { font-size: 28px; }
    .site-footer__lead { font-size: 14px; line-height: 22px; }
    .site-footer__contacts { gap: 20px; }
    .site-footer__contact { padding-right: 20px; }
    .site-footer__contact-primary { font-size: 16px; }
    .site-footer__contact-caption { font-size: 14px; }
}

/* 768: stacked — intro on top (centered), contacts below in a row */
@media (max-width: 900px) {
    .site-footer__main-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
        padding: 40px 24px;
    }
    .site-footer__intro {
        max-width: none;
        text-align: center;
    }
    .site-footer__contacts {
        justify-content: center;
        gap: 40px;
    }
    .site-footer__contact { padding-right: 40px; }
    .site-footer__bottom-logo img { width: 65px; height: 21px; }
    .site-footer__copyright { font-size: 10px; }
}

/* 414 / phone: intro left-aligned, contacts wrap to 2-col grid, no separators */
@media (max-width: 600px) {
    .site-footer__main-inner {
        gap: 30px;
        padding: 30px 20px 40px;
    }
    .site-footer__intro { text-align: left; }
    .site-footer__title { font-size: 24px; }
    .site-footer__lead { font-size: 13px; line-height: 21px; }
    .site-footer__contacts {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px;
        width: 100%;
    }
    .site-footer__contact {
        flex: 0 0 calc(50% - 10px);
        padding-right: 0;
        border-right: 0;
        min-width: 0;
    }
    .site-footer__contact:last-child {
        flex: 0 0 100%;
    }
    .site-footer__bottom-inner { padding: 10px 20px; }
}
