/* ============================================================
   SERVICE PAGES — page hero, benefits, lead form card
   Shared across: auto-insurance, home-insurance, bundling,
   final-expense, auto-warranty, mva, services (all-services hub)
   ============================================================ */

.page-hero {
    --hero-photo: none;
    background-color: var(--primary-dark);
    background-image:
        linear-gradient(135deg, rgb(13 59 59 / 79%) 0%, rgb(20 90 90 / 70%) 100%), var(--hero-photo);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* .page-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(200, 255, 0, 0.08);
    top: -220px;
    right: -150px;
} */

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb-row {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.page-hero .breadcrumb-row a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.page-hero .breadcrumb-row a:hover {
    color: var(--accent-lime);
}

.page-hero-icon {
    width: 64px;
    height: 64px;
    background: rgba(200,255,0,0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--accent-lime);
}

.page-hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 620px;
}

.page-hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 0;
}

.page-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

.page-hero-badges span {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
}

.page-hero-badges span i {
    color: var(--accent-lime);
    margin-right: 0.4rem;
}

/* ---------------------------------------------------------
   MAIN SECTION LAYOUT (benefits + form side by side)
--------------------------------------------------------- */
.service-main-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.benefits-heading {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.benefits-copy {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.benefit-list li .b-icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e0f9f1;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.benefit-list li h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 1.02rem;
}

.benefit-list li p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.trust-strip span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.trust-strip span i {
    color: var(--accent-teal);
    margin-right: 0.4rem;
}

/* ---------------------------------------------------------
   LEAD FORM CARD
--------------------------------------------------------- */
.lead-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.75rem 2.25rem;
    box-shadow: 0 20px 60px rgba(13,59,59,0.12);
    border: 1px solid #eef1f0;
}

.lead-form-card .lf-eyebrow {
    color: var(--accent-teal);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.lead-form-card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.lead-form-card .lf-sub {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
}

.lead-form-card label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
    display: block;
}

.lead-form-card .mb-field {
    margin-bottom: 1.15rem;
}

.lead-form-card .form-control.is-invalid,
.lead-form-card .form-check-input.is-invalid ~ label {
    border-color: #dc3545;
}

.lf-consent {
    background: #f6f8f7;
    border: 1px solid #e5e9e8;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin: 1.25rem 0 1.5rem;
}

.lf-consent .form-check-input {
    margin-top: 0.3rem;
}

.lf-consent-text {
    font-size: 0.76rem;
    line-height: 1.6;
    color: #6b7280;
    max-height: 110px;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.lf-consent-text::-webkit-scrollbar { width: 5px; }
.lf-consent-text::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

.lf-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-teal));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(20,90,90,0.25);
}

.lf-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(20,90,90,0.35);
}

.lf-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.lf-alt-call {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lf-alt-call a {
    color: var(--primary-teal);
    font-weight: 700;
    text-decoration: none;
}

.lf-alt-call a:hover { color: var(--accent-teal); }

.lf-error-msg {
    display: none;
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #a12622;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.84rem;
    margin-bottom: 1rem;
}

.lf-error-msg.show { display: block; }

/* Success state */
.lf-success {
    display: none;
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.lf-success.show { display: block; }

.lf-success-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #52b788, #2d6a4f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.9rem;
    color: #fff;
}

.lf-success h4 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.6rem;
}

.lf-success p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ---------------------------------------------------------
   SERVICE VISUAL PANEL (right column of service-main-section)
--------------------------------------------------------- */
.service-visual {
    position: relative;
    min-height: 420px;
    height: 100%;
    border-radius: 28px;
    /* background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-teal) 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* box-shadow: 0 20px 60px rgba(13,59,59,0.18); */
}
 
.service-visual-photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* .service-visual::before,
.service-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.service-visual::before {
    width: 260px;
    height: 260px;
    background: rgba(200,255,0,0.12);
    top: -90px;
    right: -70px;
}

.service-visual::after {
    width: 200px;
    height: 200px;
    background: rgba(0,217,181,0.18);
    bottom: -70px;
    left: -60px;
} */

/* .service-visual-icon {
    position: relative;
    z-index: 1;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--accent-lime);
}

.service-visual-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.65rem 1.1rem;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
} */

.service-visual-badge i {
    color: var(--accent-teal);
}

.service-visual-badge.sv-badge-1 {
    top: 12%;
    left: 8%;
}

.service-visual-badge.sv-badge-2 {
    bottom: 14%;
    right: 6%;
}

@media (max-width: 991px) {
    .service-visual { min-height: 280px; margin-top: 2.5rem; }
}

@media (max-width: 480px) {
    .service-visual-badge { font-size: 0.72rem; padding: 0.5rem 0.85rem; }
    .service-visual-icon { width: 130px; height: 130px; font-size: 3.4rem; }
}

/* ---------------------------------------------------------
   LEAD FORM SECTION (its own standalone section, below the
   benefits/visual section)
--------------------------------------------------------- */
.lead-form-section {
    padding: 5rem 0 6rem;
    background: #eef4f2;
    border-top: 1px solid #e2e9e7;
}

.lead-form-section .lf-section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.lead-form-section .lf-section-head .lf-eyebrow {
    justify-content: center;
}

.lead-form-section .lead-form-card {
    max-width: 640px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   ALL-SERVICES GRID (services hub page)
--------------------------------------------------------- */
.services-grid-section {
    padding: 5rem 0;
}

.service-hub-card {
    display: block;
    background: #fff;
    border: 2px solid #eef1f0;
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    text-align: left;
    height: 100%;
    text-decoration: none;
    transition: all 0.25s ease;
}

.service-hub-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(13,59,59,0.1);
}

.service-hub-card .shc-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #e0f9f1;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.service-hub-card h5 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.service-hub-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-hub-card .shc-link {
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 0.88rem;
}

.service-hub-card:hover .shc-link { color: var(--accent-teal); }
