/* ProjectMetrica v5.16.3 — image-led quote experience */

.pm-hero-photo {
    position: relative;
    min-height: 480px;
    margin: 0;
    overflow: hidden;
    border: 1px solid #d7e4db;
    border-radius: 28px;
    background: #dfe9e2;
    box-shadow: 0 28px 70px rgba(18, 58, 41, .16);
}

.pm-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(10, 32, 23, .72) 100%);
    pointer-events: none;
}

.pm-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
}

.pm-hero-photo figcaption {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
}

.pm-hero-photo figcaption span {
    color: #c4f1d4;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pm-hero-photo figcaption strong {
    max-width: 300px;
    font-size: 1.05rem;
    line-height: 1.35;
    text-align: right;
}

.pm-service-card {
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.pm-service-card__media {
    display: block;
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #dfe9e2;
}

.pm-service-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(13, 39, 28, .22));
    pointer-events: none;
}

.pm-service-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.pm-service-card:hover .pm-service-card__media img {
    transform: scale(1.035);
}

.pm-service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 24px 24px;
}

.pm-service-card__meta {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
}

.pm-service-card__meta small,
.pm-service-card small {
    margin: 0;
}

.pm-service-card__body h2,
.pm-service-card__body h3 {
    margin-top: 0;
}

.pm-service-card__body p {
    margin-bottom: 20px;
}

.pm-service-card__body > b {
    margin-top: auto;
}

.pm-quote-hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
}

.pm-quote-hero__visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid #dbe9df;
    border-radius: 24px;
    background: #dfe9e2;
    box-shadow: 0 24px 58px rgba(18, 58, 41, .14);
}

.pm-quote-hero__visual > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.pm-quote-hero__visual::after {
    content: "";
    position: absolute;
    inset: 38% 0 0;
    background: linear-gradient(180deg, transparent, rgba(8, 31, 21, .82));
    pointer-events: none;
}

.pm-quote-hero__visual .pm-quote-summary {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(17, 56, 39, .91);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
    backdrop-filter: blur(8px);
}

.pm-quote-hero__visual .pm-quote-summary h2 {
    margin: 10px 0 8px;
}

.pm-quote-hero__visual .pm-quote-summary li {
    padding-top: 7px;
    padding-bottom: 7px;
}

.pm-quote-explainer {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.pm-quote-explainer > header {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    padding: 0 2px 8px;
}

.pm-quote-explainer > header .pm-kicker {
    display: inline-block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #167047;
    white-space: nowrap;
}

.pm-quote-explainer > header h2 {
    max-width: 760px;
    margin: 8px 0 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.pm-quote-explainer > div {
    min-height: 205px;
}

.pm-quote-explainer h3 {
    margin: 15px 0 7px;
    font-size: 1.08rem;
}

.pm-form-confidence {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
    gap: 24px;
    align-items: center;
    margin: 16px 0 14px;
    padding: 26px 28px;
    border: 1px solid #cfe3d6;
    border-radius: 20px;
    background: linear-gradient(135deg, #eaf8ef 0%, #fff 72%);
}

.pm-form-confidence h2 {
    margin: 7px 0 7px;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.pm-form-confidence p {
    margin: 0;
    color: #526159;
    line-height: 1.6;
}

.pm-form-confidence ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pm-form-confidence li {
    position: relative;
    padding-left: 25px;
    color: #274438;
    font-weight: 750;
}

.pm-form-confidence li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #167047;
    font-weight: 900;
}

.pm-representative-photo-note {
    margin: 10px auto 0;
    color: #69756e;
    font-size: .78rem;
    line-height: 1.5;
    text-align: center;
}

.pm-mobile-quote-cta {
    display: none;
}

.pm-compare-note {
    display: grid;
    gap: 5px;
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
}

.pm-compare-note strong { color: #d9f36a; }
.pm-compare-note span { color: #c5d3cd; font-size: .88rem; line-height: 1.5; }

.pm-home-confidence {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr);
    gap: 32px;
    align-items: center;
    margin-top: clamp(40px,7vw,82px);
    margin-bottom: clamp(40px,7vw,82px);
    padding: clamp(28px,5vw,52px);
    border: 1px solid #cfe3d8;
    border-radius: 24px;
    background: linear-gradient(135deg,#eff9f5,#fff);
}

.pm-home-confidence h2 { margin: 8px 0 12px; font-size: clamp(1.7rem,3vw,2.5rem); }
.pm-home-confidence p { margin: 0; color: #526b63; line-height: 1.65; }
.pm-home-confidence ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pm-home-confidence li { position: relative; padding-left: 28px; color: #274438; font-weight: 750; }
.pm-home-confidence li::before { content: "✓"; position: absolute; left: 0; color: #087451; font-weight: 900; }

@media (max-width: 1020px) {
    .pm-quote-hero {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .pm-quote-hero__copy {
        padding: 34px;
    }

    .pm-quote-explainer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pm-hero-photo,
    .pm-hero-photo img {
        min-height: 390px;
    }

    .pm-quote-hero {
        grid-template-columns: 1fr;
    }

    .pm-quote-hero__visual,
    .pm-quote-hero__visual > img {
        min-height: 460px;
    }
}

@media (max-width: 680px) {
    .pm-hero-photo,
    .pm-hero-photo img {
        min-height: 330px;
    }

    .pm-hero-photo {
        border-radius: 20px;
    }

    .pm-hero-photo figcaption {
        right: 18px;
        bottom: 18px;
        left: 18px;
        display: block;
    }

    .pm-hero-photo figcaption strong {
        display: block;
        margin-top: 5px;
        text-align: left;
    }

    .pm-quote-hero__visual {
        min-height: 0;
        overflow: visible;
        border-radius: 18px;
    }

    .pm-quote-hero__visual > img {
        height: auto;
        min-height: 0;
        aspect-ratio: 3 / 2;
        border-radius: 18px 18px 0 0;
    }

    .pm-quote-hero__visual::after {
        display: none;
    }

    .pm-quote-hero__visual .pm-quote-summary {
        position: static;
        inset: auto;
        border-radius: 0 0 18px 18px;
        box-shadow: none;
        backdrop-filter: none;
    }

    .pm-quote-explainer {
        grid-template-columns: 1fr;
    }

    .pm-quote-explainer > div {
        min-height: 0;
    }

    .pm-form-confidence {
        grid-template-columns: 1fr;
        padding: 23px;
    }

    .pm-quote-page {
        padding-bottom: 76px;
    }

    .pm-mobile-quote-cta {
        position: fixed;
        z-index: 80;
        right: 14px;
        bottom: 14px;
        left: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 52px;
        padding: 12px 20px;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 14px;
        background: #146c43;
        box-shadow: 0 14px 34px rgba(8, 42, 27, .28);
        color: #fff;
        font-weight: 850;
        text-decoration: none;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .pm-mobile-quote-cta.is-hidden { opacity: 0; transform: translateY(18px); visibility: hidden; pointer-events: none; }

    .pm-home-confidence { grid-template-columns: 1fr; gap: 22px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .pm-service-card__media img {
        transition: none;
    }
}
