.service-hero {
    padding: 2rem;
    border: 1px solid #e8ecef;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8faf9 0%, #ffffff 100%);
    box-shadow: 0 18px 40px rgba(20, 32, 28, 0.06);
}

.services-page {
    max-width: 1380px;
    display: flex;
    flex-direction: column;
}

.services-heading {
    text-align: center;
}

.services-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: .85rem;
}

.services-intro {
    max-width: 860px;
    margin: 0 auto;
    color: #5e6772;
    line-height: 1.7;
    font-size: 1.03rem;
}

.services-list-section {
    margin-bottom: 2.5rem;
}

.services-block-title {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    color: #1d74f5;
    margin-bottom: 1rem;
}

.services-list-panel {
    border: 1px solid #d8e2db;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(17, 24, 39, .04);
    overflow: hidden;
}

.services-row,
.services-mini-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-top: 1px solid #e7ece8;
}

.services-row:first-child,
.services-mini-row:first-child {
    border-top: 0;
}

.services-row-main {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    min-width: 0;
    flex: 1;
}

.services-row-pin {
    font-size: 1.4rem;
    line-height: 1;
    flex: 0 0 auto;
    transform: translateY(.1rem);
}

.services-row-copy {
    min-width: 0;
    flex: 1;
}

.services-row-line {
    color: #19232d;
    line-height: 1.55;
    font-size: 1.1rem;
}

.services-row-title {
    font-weight: 700;
}

.services-row-text,
.services-mini-text {
    color: #2f3943;
}

.services-row-action {
    flex: 0 0 auto;
}

.services-row-action .btn {
    min-width: 140px;
    white-space: nowrap;
}

.services-subnote {
    margin-top: 1rem;
}

.services-subnote-title {
    font-size: 1.2rem;
    margin-bottom: .75rem;
    color: #1f2f3a;
}

.services-mini-row {
    justify-content: flex-start;
}

.service-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #2b6f3e;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.service-hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.service-hero-text,
.service-section-text {
    font-size: 1.05rem;
    color: #5e6772;
    line-height: 1.7;
}

.service-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-card,
.service-cta-box {
    padding: 1.75rem;
    border: 1px solid #e8ecef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 32, 28, 0.05);
}

.service-section-title {
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.service-cta-box--legacy {
    display: none;
}

.service-cta-box--centered {
    text-align: center;
}

.service-services-cta {
    order: 100;
}

.service-services-faq {
    order: 110;
}

.services-cta-box__text {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.services-inline-lead {
    max-width: 720px;
    margin: 0 auto;
}

.services-inline-lead--centered {
    max-width: 760px;
}

.services-inline-lead__group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: stretch;
}

.services-inline-lead__group--balanced {
    grid-template-columns: minmax(0, 1fr) 220px;
}

.services-inline-lead__field {
    display: flex;
    align-items: center;
    min-width: 0;
    border: 1px solid #d8e2db;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.02);
    overflow: hidden;
}

.services-inline-lead__phone {
    display: flex;
    align-items: center;
    min-width: 0;
    border: 1px solid #d8e2db;
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.02);
}

.services-inline-lead__prefix {
    flex: 0 0 auto;
    padding: 0 1rem;
    color: #1f2f3a;
    font-weight: 700;
    font-size: 1.02rem;
}

.services-inline-lead__input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 1rem 1rem 1rem 0;
    font-size: 1.05rem;
    color: #19232d;
    outline: none;
}

.services-inline-lead__input::placeholder {
    color: #7a8591;
}

.services-inline-lead__submit {
    min-width: 210px;
    border-radius: 14px;
    font-weight: 700;
    min-height: 62px;
}

.services-inline-lead__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1rem;
}

.services-inline-lead__actions .btn {
    min-width: 220px;
    border-radius: 14px;
    font-weight: 700;
}

.services-inline-lead__status {
    min-height: 1.5rem;
    margin-top: 0.85rem;
    color: #5e6772;
    font-size: 0.95rem;
    text-align: center;
}

.services-inline-lead__status.is-success {
    color: #146c43;
}

.services-inline-lead__status.is-error {
    color: #b42318;
}

.services-contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.6rem;
}

.services-contact-actions .btn {
    min-width: 220px;
    border-radius: 14px;
    font-weight: 700;
}

.service-check-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.6rem;
}

.service-step-card {
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px solid #e6ece7;
    background: #fbfdfb;
}

.service-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #2b6f3e;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.service-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-step-text {
    color: #5e6772;
    line-height: 1.65;
}

.service-related-label {
    font-weight: 700;
}

.spot-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
}

.spot-modal[hidden] {
    display: none !important;
}

.spot-modal__dialog {
    background: #fff;
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.spot-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.spot-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.spot-modal__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#leadModalClose {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.btn-form {
    background-color: #198754;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out;
}

.btn-form:hover,
.btn-form:focus {
    background-color: #157347;
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .services-list-section {
        margin-bottom: 2rem;
    }

    .services-block-title {
        font-size: 1.65rem;
        margin-bottom: .85rem;
    }

    .services-row {
        flex-direction: column;
        gap: .85rem;
    }

    .services-row-line {
        font-size: 1.03rem;
    }

    .services-row-separator {
        display: none;
    }

    .services-row-title,
    .services-row-text {
        display: block;
    }

    .services-row-action {
        width: 100%;
    }

    .services-row-action .btn {
        width: 100%;
    }

    .service-hero,
    .service-card,
    .service-cta-box {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .service-page-actions {
        flex-direction: column;
    }

    .service-page-actions .btn {
        width: 100%;
    }

    .services-inline-lead__group {
        grid-template-columns: 1fr;
    }

    .services-inline-lead__submit,
    .services-contact-actions .btn,
    .services-inline-lead__actions .btn {
        width: 100%;
        min-width: 0;
    }

    .services-contact-actions,
    .services-inline-lead__actions {
        flex-direction: column;
    }
}
