/* ═══════════════════════════════════════════════════════════
   Ultimate Protection Package — Page Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.upp-hero {
    padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 8vw, 100px);
    background: #fff;
    overflow: hidden;
}

.upp-hero-content {
    padding-right: 40px;
}

.upp-hero-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ls-color-light-green);
}

.upp-hero-title {
    margin: 0 0 24px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(36px, 4.4vw, 54px);
    font-weight: 700;
    line-height: 1.2;
    color: #182f22;
}

.upp-hero-highlight {
    margin: 0 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--ls-color-light-green);
}

.upp-hero-desc {
    margin: 0 0 28px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ls-color-text);
    max-width: 576px;
}

.upp-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.upp-hero-image {
    position: relative;
    text-align: center;
}

.upp-hero-image > img {
    max-width: 100%;
    height: auto;
}

.upp-hero-labels {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.upp-hero-label {
    position: absolute;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.35;
    color: #182f22;
}

.upp-hero-label strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--ls-color-dark-green);
}

.upp-hero-label-1 { top: 10%; right: 0; }
.upp-hero-label-2 { top: 42%; right: -10px; }
.upp-hero-label-3 { bottom: 18%; right: 0; }

/* ─── TRUST BAR ─── */
.upp-trust-bar {
    padding: 0;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.upp-trust-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 56px;
    background: #132717;
    border-radius: 48px;
    text-align: center;
}

.upp-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.upp-trust-stat {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--ls-color-light-green);
}

.upp-trust-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(60%) sepia(26%) saturate(720%) hue-rotate(79deg) brightness(98%) contrast(87%);
}

.upp-trust-item strong {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: #fff;
}

.upp-trust-sub {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
}

/* ─── WHAT'S INCLUDED CARDS ─── */
.upp-included {
    padding-top: clamp(60px, 8vw, 100px);
}

.upp-card {
    height: 100%;
    border: 1.5px solid rgba(0, 0, 0, 0.14);
    border-radius: 24px;
    background: #eef2f0;
    overflow: hidden;
    padding: 9px;
}

.upp-card-image {
    height: 230px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upp-card-bg-dark-green { background: #014b24; }
.upp-card-bg-green { background: #007236; }
.upp-card-bg-light-green { background: #6cb55f; }
.upp-card-bg-white { background: #ffffff; }

.upp-card-body {
    padding: 24px;
}

.upp-card-body h3 {
    margin: 0 0 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: #182f22;
}

.upp-card-body p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ls-color-text);
}

/* ─── HOW IT WORKS ─── */
.upp-how-it-works {
    background: #fff;
}

.upp-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.upp-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.upp-flow-thumb {
    width: 182px;
    height: 172px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upp-flow-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upp-flow-label {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--ls-color-text);
    text-align: center;
}

.upp-flow-arrow {
    flex-shrink: 0;
    align-self: center;
    margin-top: -40px;
}

/* Diagram */
.upp-diagram {
    background: #eef2f0;
    border: 1.5px solid rgba(0, 0, 0, 0.14);
    border-radius: 64px;
    padding: clamp(32px, 5vw, 56px);
    overflow: hidden;
}

.upp-diagram-inner {
    position: relative;
}

.upp-diagram-graphic {
    width: 100%;
    height: auto;
    border-radius: 24px;
    margin-bottom: 32px;
}

.upp-step {
    text-align: center;
    padding: 16px 8px;
}

.upp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ls-color-light-green);
    color: #eef2f0;
    font-family: "Montserrat", sans-serif;
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 12px;
}

.upp-step p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ls-color-text);
}

/* ─── WHO IT'S FOR ─── */
.upp-who {
    background: #fff;
}

/* ─── FEATURE PANELS ─── */
.upp-features {
    background: #fff;
}

.upp-feature-panel {
    margin-bottom: clamp(48px, 6vw, 80px);
}

.upp-feature-panel:last-child {
    margin-bottom: 0;
}

.upp-feature-image {
    border-radius: 42px;
    overflow: hidden;
    background: #b4b4b4;
    aspect-ratio: 466 / 489;
}

.upp-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── SPECIFICATIONS ─── */
.upp-specs {
    background: #fff;
}

.upp-specs-table-wrap {
    max-width: 670px;
    margin: 0 auto;
    background: #eef2f0;
    border-radius: 48px;
    padding: 12px;
}

.upp-specs-table {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.upp-specs-table th,
.upp-specs-table td {
    padding: 16px 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 20px;
    vertical-align: top;
}

.upp-specs-table th {
    width: 35%;
    font-weight: 700;
    color: #101828;
    background: rgba(250, 250, 250, 0.98);
}

.upp-specs-table td {
    font-weight: 400;
    color: #667085;
    background: rgba(250, 250, 250, 0.98);
}

.upp-specs-table tr:nth-child(even) th,
.upp-specs-table tr:nth-child(even) td {
    background: #eef2f0;
}

/* ─── CTA BANNER ─── */
.upp-cta-banner {
    background: #fff;
}

.upp-cta-card {
    display: flex;
    align-items: stretch;
    border-radius: 64px;
    overflow: hidden;
    background: linear-gradient(47deg, #9d2103 12%, #ca2c06 100%);
    padding: 12px;
    min-height: 608px;
}

.upp-cta-content {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: #fff;
}

.upp-cta-content .section-title {
    color: #fff;
}

.upp-cta-content p {
    margin: 0 0 32px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #fff;
    max-width: 390px;
}

.upp-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 296px;
}

.upp-cta-image {
    flex: 1;
    border-radius: 52px;
    overflow: hidden;
    background: #b1b1b1;
}

.upp-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── SECONDARY TRUST BAR ─── */
.upp-trust-bar-secondary {
    background: #fff;
}

.upp-trust-secondary-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 56px;
    background: #132717;
    border-radius: 48px;
    text-align: center;
}

.upp-trust-bar-secondary .upp-trust-stat {
    color: var(--ls-color-light-green);
}

.upp-trust-bar-secondary .upp-trust-item strong {
    color: #fff;
}

.upp-trust-bar-secondary .upp-trust-sub {
    color: rgba(255, 255, 255, 0.8);
}

/* ─── RELATED PRODUCTS ─── */
.upp-related {
    background: #fff;
}

.upp-related-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: #eef2f0;
    border: 1.5px solid rgba(0, 0, 0, 0.14);
    border-radius: 24px;
    height: 100%;
}

.upp-related-image {
    flex: 0 0 268px;
    width: 268px;
    height: 268px;
    border-radius: 18px;
    overflow: hidden;
}

.upp-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upp-related-image-green { background: #63aa5a; }
.upp-related-image-light { background: #8ec288; }

.upp-related-body {
    flex: 1;
}

.upp-related-body h3 {
    margin: 0 0 9px;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #182f22;
}

.upp-related-body p {
    margin: 0 0 18px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ls-color-text);
}

/* ─── FOOTER (shared) ─── */
.site-footer {
    background: #132717;
    padding: 63px 0 0;
    color: #fff;
}

.footer-top {
    padding-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 167px;
    height: auto;
}

.site-footer address {
    font-style: normal;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

.site-footer h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 8px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 4px;
}

.footer-links a {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #fff;
}

.social-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.social-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-row img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.social-row a:hover img { opacity: 1; }

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 3px solid var(--ls-color-dark-border);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.footer-phone img {
    width: 16px;
    height: 16px;
}

.footer-phone:hover,
.footer-phone:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus {
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 991.98px) {
    .upp-hero {
        padding: 110px 0 48px;
    }

    .upp-hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .upp-hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .upp-hero-labels {
        display: none;
    }

    .upp-trust-inner {
        flex-wrap: wrap;
        gap: 28px 16px;
        padding: 32px 28px;
        border-radius: 32px;
    }

    .upp-trust-item {
        flex: 0 0 calc(50% - 8px);
    }

    .upp-flow {
        gap: 16px;
    }

    .upp-flow-thumb {
        width: 140px;
        height: 132px;
    }

    .upp-flow-arrow {
        margin-top: 0;
    }

    .upp-diagram {
        border-radius: 36px;
        padding: 24px;
    }

    .upp-feature-image {
        aspect-ratio: 4 / 3;
        border-radius: 28px;
        margin-bottom: 28px;
    }

    .upp-cta-card {
        flex-direction: column;
        min-height: auto;
        border-radius: 36px;
    }

    .upp-cta-content {
        flex: none;
        padding: 40px 28px;
    }

    .upp-cta-actions {
        max-width: 100%;
    }

    .upp-cta-image {
        height: 320px;
        border-radius: 28px;
    }

    .upp-trust-secondary-inner {
        flex-wrap: wrap;
        gap: 24px;
    }

    .upp-trust-secondary-inner .upp-trust-item {
        flex: 0 0 calc(50% - 12px);
    }

    .upp-related-card {
        flex-direction: column;
    }

    .upp-related-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 767.98px) {
    .upp-hero {
        padding: 100px 0 36px;
    }

    .upp-hero-title {
        font-size: clamp(28px, 9vw, 40px);
    }

    .upp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .upp-trust-inner {
        border-radius: 24px;
        padding: 24px 20px;
    }

    .upp-trust-item {
        flex: 0 0 100%;
    }

    .upp-flow {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .upp-flow-arrow {
        margin-top: 0;
        transform: rotate(90deg);
    }

    .upp-flow-thumb {
        width: 160px;
        height: 150px;
    }

    .upp-diagram {
        border-radius: 24px;
        padding: 16px;
    }

    .upp-specs-table-wrap {
        border-radius: 24px;
        padding: 8px;
    }

    .upp-specs-table {
        border-radius: 16px;
    }

    .upp-specs-table th,
    .upp-specs-table td {
        padding: 12px 16px;
        font-size: 13px;
    }

    .upp-specs-table th {
        width: 40%;
    }

    .upp-cta-card {
        border-radius: 24px;
        padding: 8px;
    }

    .upp-cta-content {
        padding: 28px 20px;
    }

    .upp-cta-image {
        height: 240px;
        border-radius: 20px;
    }

    .upp-related-image {
        height: 180px;
    }

    .upp-trust-secondary-inner .upp-trust-item {
        flex: 0 0 100%;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

/* === HERO TOP-SPACING STANDARDIZATION (nav→hero gap matched to commercial Figma reference, 2026-06-16) === */
@media (min-width: 992px) { .upp-hero { padding-top: 190px !important; } }

/* === UPP HERO CALL CTA COLOR FIX (match other heroes' outline CTA = red text; was inline #014b24) 2026-06-17 === */
.upp-hero .btn-cta-outline { color: var(--ls-color-red, #ac442b) !important; }

/* QA 2026-07-03: CTA-banner phone button was 58px/16px next to the 52px/14px primary — match them */
.upp-cta-banner .btn-phone-light { min-height: 52px; height: 52px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
