:root {
    --installer-ink: #172621;
    --installer-green: #1d5146;
    --installer-cream: #f4efe3;
    --installer-paper: #fffdf7;
    --installer-red: #c84b31;
    --installer-line: #d8d0c1;
}

.installer-directory,
.installer-consent-page,
.installer-terms-page {
    color: var(--installer-ink);
    background:
        radial-gradient(circle at 12% 4%, rgba(200, 75, 49, .14), transparent 28rem),
        linear-gradient(180deg, var(--installer-cream), #f9f7f0 45%, #fff);
}

.installer-hero {
    padding: clamp(5rem, 9vw, 9rem) 0 4rem;
    background:
        linear-gradient(110deg, rgba(23, 38, 33, .96), rgba(29, 81, 70, .86)),
        repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, .04) 18px 19px);
    color: #fff;
}

.installer-hero h1 {
    max-width: 900px;
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: .95;
    letter-spacing: -.045em;
}

.installer-eyebrow,
.installer-kicker {
    margin-bottom: .75rem;
    color: #ef9c73;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.installer-intro {
    max-width: 760px;
    margin-top: 1.75rem;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.installer-disclaimer {
    max-width: 760px;
    padding-left: 1rem;
    border-left: 3px solid #ef9c73;
    color: rgba(255, 255, 255, .78);
}

.installer-browser {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.installer-section-heading,
.installer-cta-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}

.installer-count {
    display: grid;
    width: 4.25rem;
    height: 4.25rem;
    place-items: center;
    border-radius: 50%;
    background: var(--installer-red);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.installer-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
    margin: 2rem 0;
    padding: 1.25rem;
    border: 1px solid var(--installer-line);
    border-radius: 1.25rem;
    background: rgba(255, 253, 247, .9);
    box-shadow: 0 18px 50px rgba(23, 38, 33, .08);
}

.installer-filters label,
.installer-form label {
    display: grid;
    gap: .4rem;
    font-weight: 700;
}

.installer-filters select,
.installer-filters input,
.installer-form input,
.installer-form select,
.installer-form textarea {
    width: 100%;
    min-height: 3rem;
    padding: .72rem .85rem;
    border: 1px solid #bcb3a3;
    border-radius: .7rem;
    background: #fff;
    color: var(--installer-ink);
    font: inherit;
}

.installer-form textarea {
    resize: vertical;
}

.installer-filters input:focus,
.installer-filters select:focus,
.installer-form input:focus,
.installer-form select:focus,
.installer-form textarea:focus {
    outline: 3px solid rgba(200, 75, 49, .22);
    border-color: var(--installer-red);
}

.installer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
    min-height: 680px;
    overflow: hidden;
    border: 1px solid var(--installer-line);
    border-radius: 1.5rem;
    background: var(--installer-paper);
    box-shadow: 0 28px 75px rgba(23, 38, 33, .14);
}

.installer-map {
    min-height: 680px;
    background: #dbe5dc;
}

.installer-list-panel {
    max-height: 680px;
    overflow: auto;
    padding: 1.25rem;
    border-left: 1px solid var(--installer-line);
}

.installer-list {
    display: grid;
    gap: 1rem;
}

.installer-card {
    padding: 1.2rem;
    border: 1px solid var(--installer-line);
    border-radius: 1rem;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease;
}

.installer-card:hover {
    transform: translateY(-2px);
    border-color: var(--installer-red);
}

.installer-card[hidden] {
    display: none;
}

.installer-card-place {
    color: var(--installer-red);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.installer-card h3 {
    margin: .4rem 0 1rem;
    font-size: 1.25rem;
}

.installer-card dl,
.installer-card dd {
    margin: 0;
}

.installer-card dl > div + div {
    margin-top: .75rem;
}

.installer-card dt {
    font-size: .78rem;
    text-transform: uppercase;
    color: #5a665f;
}

.installer-card-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.installer-request,
.installer-submit,
.installer-cta-button {
    border: 0;
    background: var(--installer-red);
    color: #fff;
    font-weight: 800;
}

.installer-request:hover,
.installer-submit:hover,
.installer-cta-button:hover {
    background: #a93622;
    color: #fff;
}

.installer-lead-wrap {
    padding: 5rem 0;
    background: var(--installer-green);
}

.installer-lead-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    overflow: hidden;
    border-radius: 1.5rem;
    background: var(--installer-paper);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .2);
}

.installer-lead-copy {
    padding: clamp(2rem, 5vw, 4rem);
    background:
        linear-gradient(rgba(23, 38, 33, .93), rgba(23, 38, 33, .93)),
        repeating-linear-gradient(-35deg, transparent 0 24px, rgba(255, 255, 255, .05) 24px 25px);
    color: #fff;
}

.installer-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.installer-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.installer-form-row-three {
    grid-template-columns: .65fr 1.25fr .65fr;
}

.installer-check {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 500 !important;
}

.installer-check input {
    width: 1.2rem;
    min-height: 1.2rem;
    margin-top: .15rem;
}

.installer-submit {
    min-height: 3.25rem;
}

.installer-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.installer-privacy-note,
.installer-version {
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
}

.installer-photo-upload {
    padding: 1rem;
    border: 1px dashed rgba(31, 77, 65, .36);
    border-radius: .75rem;
    background: rgba(31, 77, 65, .045);
}

.installer-photo-upload label {
    margin: 0;
}

.installer-photo-help,
.installer-photo-privacy {
    display: block;
    margin-top: .35rem;
    color: #52645e;
    font-size: .88rem;
    line-height: 1.45;
}

.installer-photo-upload input[type="file"] {
    margin-top: .75rem;
    padding: .7rem;
    background: #fff;
}

.installer-photo-privacy {
    margin-bottom: 0;
}

.installer-lead-steps-title {
    margin: 1.75rem 0 .9rem;
    color: #fffaf2;
    font-size: 1rem;
    font-weight: 700;
}

.installer-lead-steps {
    counter-reset: installer-lead-step;
    display: grid;
    gap: 1rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.installer-lead-steps li {
    counter-increment: installer-lead-step;
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: .75rem;
    align-items: start;
    line-height: 1.5;
}

.installer-lead-steps li::before {
    content: counter(installer-lead-step);
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(255, 250, 242, .34);
    border-radius: 50%;
    color: #ff8b61;
    font-weight: 700;
}

.installer-consent-page,
.installer-terms-page {
    min-height: 75vh;
    padding: clamp(5rem, 9vw, 8rem) 0;
}

.installer-consent-card,
.installer-terms-card {
    max-width: 850px;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 4rem);
    border: 1px solid var(--installer-line);
    border-radius: 1.5rem;
    background: var(--installer-paper);
    box-shadow: 0 28px 80px rgba(23, 38, 33, .12);
}

.installer-consent-card .installer-version,
.installer-terms-card .installer-version {
    color: #657069;
}

.installer-withdraw {
    margin-top: 1.5rem;
    text-align: center;
}

.installer-terms-card h2 {
    margin-top: 2rem;
    font-size: 1.35rem;
}

.installer-cta {
    padding: 4rem 0;
    background: var(--installer-ink);
    color: #fff;
}

.installer-cta-inner p {
    max-width: 720px;
    margin-bottom: 0;
}

.leaflet-popup-content .installer-request {
    display: inline-block;
    margin-top: .75rem;
    padding: .55rem .8rem;
    border-radius: .45rem;
}

@media (max-width: 991.98px) {
    .installer-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .installer-grid,
    .installer-lead-card {
        grid-template-columns: 1fr;
    }

    .installer-map {
        min-height: 480px;
    }

    .installer-list-panel {
        max-height: none;
        border-top: 1px solid var(--installer-line);
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .installer-section-heading,
    .installer-cta-inner {
        align-items: start;
        flex-direction: column;
    }

    .installer-filters,
    .installer-form-row,
    .installer-form-row-three {
        grid-template-columns: 1fr;
    }

    .installer-hero h1 {
        font-size: 2.8rem;
    }

    .installer-map {
        min-height: 390px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .installer-card {
        transition: none;
    }
}
