.panelquotes-homepage,
.panelquotes-homepage * {
    letter-spacing: 0;
}

.panelquotes-homepage {
    --panel-brand-orange: #e08510;
    overflow-x: clip;
}

/* Shared custom selectors keep browser rendering consistent. */
.hero-banner .panel-select {
    position: relative;
    min-width: 0;
}

.hero-banner .panel-select__trigger {
    display: flex;
    min-width: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: #777;
    background: transparent;
    border: 0;
    outline: 0;
    font-family: "Public Sans", sans-serif;
    font-size: 13px;
    text-align: left;
}

.hero-banner .panel-select.has-value .panel-select__trigger {
    color: #333;
}

.hero-banner .panel-select__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-banner .panel-select__trigger .dropdown-caret {
    margin-left: auto;
    transition: transform 160ms ease;
}

.hero-banner .panel-select__trigger[aria-expanded="true"] .dropdown-caret {
    transform: rotate(180deg);
}

.hero-banner .panel-select__list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 120;
    max-height: 260px;
    padding: 6px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(16, 33, 61, 0.16);
}

.hero-banner .panel-select__list[hidden] {
    display: none;
}

.hero-banner .panel-select__option {
    padding: 10px 12px;
    color: #10213d;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.35;
}

.hero-banner .panel-select__option:hover,
.hero-banner .panel-select__option.is-active,
.hero-banner .panel-select__option[aria-selected="true"] {
    background: #fff1dc;
}

.hero-banner .location-input:focus-within {
    outline: 2px solid rgba(55, 127, 254, 0.35);
    outline-offset: 0;
}

.hero-banner .panel-hero-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 430px;
    color: #fff;
}

.hero-banner .panel-hero-summary > i {
    flex: 0 0 auto;
    color: #7ecb67;
    font-size: 42px;
    line-height: 1;
}

.hero-banner .panel-hero-summary div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-banner .panel-hero-summary strong {
    color: #fff;
    font-size: 21px;
    line-height: 1.15;
}

.hero-banner .panel-hero-summary span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.35;
}

.panel-why-cta {
    width: auto !important;
    min-width: 220px;
    height: 62px;
    padding: 0 24px !important;
    white-space: nowrap;
}

/* How it works */
.panel-how-it-works {
    padding-bottom: 28px;
}

.panel-how-it-works .icon-box {
    background-color: #d2e8c7;
}

.panel-how-it-works .icon-box i {
    color: #012152;
    font-size: 31px;
    line-height: 1;
}

.panel-how-it-works .how-it-works-arrow {
    color: #d7edcc;
}

.panel-how-it-works .fs-16 p {
    margin-bottom: 0;
}

/* Upgrade options reuse the EV brand-link grid. */
.panel-upgrades-section {
    background: #f3f3f6;
}

.panel-guide-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.panel-guide-item {
    flex: 0 1 calc(25% - 12px);
    min-width: 0;
}

.panel-upgrades-section .brand-link-box {
    min-height: 76px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.panel-upgrades-section .brand-link-box:hover {
    border-color: #377ffe;
    box-shadow: 0 8px 22px rgba(1, 33, 82, 0.1);
    transform: translateY(-2px);
}

.panel-upgrades-section .brand-link {
    line-height: 1.35;
}

@media (max-width: 1199.98px) {
    .panel-guide-item {
        flex-basis: calc(33.333% - 11px);
    }
}

@media (max-width: 767.98px) {
    .panel-guide-item {
        flex-basis: calc(50% - 8px);
    }
}

/* Why Panel Quotes */
.panel-why-section {
    padding-top: 82px !important;
    padding-bottom: 82px !important;
}

.panel-feature-icon {
    display: grid;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    place-items: center;
    color: var(--panel-brand-orange);
    background: #fff1dc;
    border-radius: 50%;
}

.panel-feature-icon i {
    font-size: 25px;
    line-height: 1;
}

.panel-why-image img {
    display: block;
    width: min(100%, 640px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

/* Costs and permits reuse the EV information layout. */
.info-section {
    padding: 96px 0;
    background: #f3f3f6;
}

.section-title {
    max-width: 1040px;
    margin: 0 auto 44px;
    color: #012152;
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

.section-title .text-blue {
    color: #377ffe !important;
}

.info-articles {
    display: flex;
    max-width: 1040px;
    margin: 0 auto;
    flex-direction: column;
    gap: 60px;
}

.info-article {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
}

.info-article h3 {
    margin: 0;
    color: #012152;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.info-article p {
    max-width: 75ch;
    margin: 0;
    color: #40516d;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.read-more-dark,
.read-more-dark:hover {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #012152;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
}

.read-more-dark-text {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* Service area heading values mirror the existing section. */
.service-area-decoration {
    position: absolute;
    top: 12px;
    left: 0;
}

#service-areas-container {
    min-height: 600px;
    padding-left: 200px;
}

.service-area-heading-row {
    gap: 98px;
}

.service-area-heading-column {
    max-width: 527px;
}

.service-area-heading-column h2 {
    margin: 0;
    color: #012152;
    font-size: 46px;
    font-weight: 600;
    line-height: 55px;
}

.service-area-heading-column h2 span {
    color: #377ffe;
}

.service-area-copy-column {
    max-width: 560px;
}

.service-area-copy-column p {
    margin: 6px 0 0;
    color: #012152;
    font-size: 16px;
    font-weight: 500;
    line-height: 29px;
}

.service-area-link {
    text-decoration: none;
}

@media (max-width: 1199px) {
    #service-areas-container {
        padding-left: 100px;
    }
}

@media (max-width: 991px) {
    #service-areas-container {
        padding-right: 24px;
        padding-left: 24px;
    }

    .service-area-heading-row {
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .hero-banner .location-inputs {
        display: grid;
        gap: 10px;
        margin-bottom: 10px;
    }

    .hero-banner .location-input {
        display: flex;
        height: 50px;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        background: #fff;
        border-radius: 8px;
    }

    .hero-banner .location-input .loc-icon {
        flex: 0 0 auto;
        color: #377ffe;
        font-size: 19px;
    }

    .hero-banner .location-input .dropdown-caret {
        flex: 0 0 auto;
        margin-left: auto;
        color: #536076;
    }

    .hero-banner .panel-hero-summary {
        gap: 11px;
    }

    .hero-banner .panel-hero-summary > i {
        font-size: 30px;
    }

    .hero-banner .panel-hero-summary strong {
        font-size: 15px;
    }

    .hero-banner .panel-hero-summary span {
        font-size: 11px;
    }

    .panel-how-it-works {
        padding: 2px 0 20px;
    }

    .panel-how-it-works h2,
    .panel-upgrades-section h2 {
        font-size: 32px !important;
        line-height: 1.22;
    }

    .panel-how-it-works .icon-box {
        width: 58px;
        height: 58px;
    }

    .panel-upgrades-section .brand-link-box {
        min-height: 88px;
    }

    .panel-upgrades-section .brand-link {
        font-size: 14px;
    }

    .panel-why-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .panel-quotes-section h2,
    .panel-quotes-section h2 * {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }

    .panel-why-image img {
        width: 100%;
    }

    .info-section {
        padding: 64px 0;
    }

    .section-title {
        margin-bottom: 38px;
        font-size: 34px;
        line-height: 1.2;
    }

    .info-articles {
        gap: 42px;
    }

    .info-article h3 {
        font-size: 24px;
    }

    .service-area-decoration {
        display: none;
    }

    #service-areas-container {
        min-height: 0;
        padding-right: 12px;
        padding-left: 12px;
    }

    .service-area-heading-column h2 {
        padding-left: 12px;
        font-size: 32px;
        line-height: 40px;
    }

    .service-area-copy-column p {
        padding-left: 12px;
        font-size: 14px;
        line-height: 22px;
    }

}
