/*
 * Theme-scoped CSS variables for the module
 * Default (Blue Theme)
 */
.location-process-windshield-replacement-section {
    /* Theme Variables - Default (Blue) */
    --process-section-bg: var(--nv-blue);
    --process-section-text: var(--nv-white);
    --process-card-bg: var(--nv-blue-lighter);
    --process-card-text: var(--nv-white);
    --process-card-icon-color: var(--nv-white);
    --process-card-link-hover: var(--nv-green-light);
    --process-card-border-color: rgba(255 255 255 / 0.28);
    --process-card-shadow-color: rgba(0 0 0 / 0.18);

    /* Apply Variables */
    background-color: var(--process-section-bg);
    color: var(--process-section-text);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
    margin-bottom: 0;
}

/*
 * White Theme Overrides
 */
.location-process-windshield-replacement-section--white-theme {
    --process-section-bg: var(--nv-white);
    --process-section-text: var(--text-color);
    --process-card-bg: var(--nv-blue);
    --process-card-text: var(--nv-white);
    --process-card-icon-color: var(--nv-white);
    --process-card-link-hover: var(--nv-orange);
    --process-card-border-color: rgba(255 255 255 / 0.15);
    --process-card-shadow-color: rgba(0 0 0 / 0.05);

    color: var(--process-section-text);
}

/* --- Badge --- */
.location-process-windshield-replacement-badge {
    position: sticky;
    align-self: self-start;
    top: 130px;
    margin-bottom: var(--space-lg);
}

.location-process-windshield-replacement-badge h2 {
    color: var(--nv-white);
    margin-bottom: var(--space-lg);
}

.location-process-windshield-replacement-badge img {
    overflow: hidden;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    max-height: 350px;
    border-radius: var(--border-radius-lg);
}

/* --- Section Griding --- */
.windshield-replacement-process-row {
    display: grid;
    grid-template-columns: 660px 1fr;
    gap: 50px;
}

/* --- Title --- */
.location-process-windshield-replacement-title {
    font-size: clamp(2.2rem, 2vw + 0.8rem, 3.2rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--process-section-text);
    text-align: center;
    line-height: 1.25;
}

/* --- Cards Grid --- */
.location-process-windshield-replacement-cards {
    display: flex;
    flex-direction: column;
}

/* --- Single Card --- */
.location-process-windshield-replacement-card {
    --icon-box: 82px;
    position: relative;
    color: var(--process-card-text);


    /* Center all inner content */
    display: grid;
    grid-template-columns: var(--icon-box) 1fr;
    gap: 32px;
}

.location-process-windshield-replacement-card:not(:last-child) {
    padding-bottom: 60px;
}

.location-process-windshield-replacement-card:not(:last-child):before {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    left: calc(var(--icon-box) * .5);
    transform: translateX(-50%);
    top: 0;
    background-color: var(--nv-orange);
}

/* --- Card Icon --- */
.location-process-windshield-replacement-card-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--border-radius-lg);
    background: var(--nv-white);
    border: 2px solid var(--nv-orange);
    padding: 12px;
}

.location-process-windshield-replacement-card-icon img {
    flex: 1;
    filter: brightness(0) saturate(100%) invert(21%) sepia(95%) saturate(1539%) hue-rotate(182deg) brightness(92%) contrast(101%);
}

/* --- Card Title --- */
.location-process-windshield-replacement-card-title {
    font-size: clamp(1.9rem, 1.4vw + 0.6rem, 2.5rem);
    font-weight: 600;
    color: var(--process-card-text);
    margin-bottom: var(--space-xs);
}

/* --- Card Description --- */
.location-process-windshield-replacement-card-desc {
    font-size: 1.6rem;
    color: var(--process-card-text);
    margin-bottom: var(--space-sm);
    line-height: 1.45;
    min-height: 52px;
}

/* --- Learn More Link --- */
.location-process-windshield-replacement-learn-more {
    color: var(--process-card-icon-color);
    font-weight: 600;
    font-size: 1.6rem;
    margin-top: auto;
    text-decoration: none;
    padding-top: 6px;
    transition: color 0.2s;
}

.location-process-windshield-replacement-learn-more:hover {
    color: var(--process-card-link-hover);
    text-decoration: underline;
}

/* --- Explore Button --- */
.location-process-windshield-replacement-explore-btn {
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    padding: 14px 38px;
    cursor: pointer;
    background-color: var(--nv-orange);
    color: var(--nv-white);
    border: none;
    box-shadow: 0 2px 8px rgba(0 0 0 / 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.location-process-windshield-replacement-explore-btn:hover {
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0 0 0 / 0.2);
    outline: 2px solid var(--nv-white);
    outline-offset: 2px;
}

/* --- White Theme Layout --- */
.location-process-windshield-replacement-section--white-theme .location-process-windshield-replacement-badge h2,
.location-process-windshield-replacement-section--white-theme .location-process-windshield-replacement-card-title {
    color: var(--nv-blue);
}

.location-process-windshield-replacement-section--white-theme .location-process-windshield-replacement-card-desc {
    color: var(--text-color);
}

.location-process-windshield-replacement-section--white-theme .location-process-windshield-replacement-card-icon {
    background: var(--nv-blue);
}

.location-process-windshield-replacement-section--white-theme .location-process-windshield-replacement-card-icon img {
    filter: brightness(0) invert(1);
}

/* --- White Theme Layout --- */
/* --- Responsive Layout --- */

@media (max-width: 1360px) {
    .windshield-replacement-process-row {
        display: grid;
        grid-template-columns: calc(clamp(45rem, 21.739vw + 23.435rem, 53rem)) 1fr;
        gap: 40px;
    }

}

@media (max-width: 991px) {
    .windshield-replacement-process-row {
        display: block;
    }

    .location-process-windshield-replacement-badge {
        position: unset;
        max-width: 770px;
    }
}

@media (max-width: 575px) {
    .location-process-windshield-replacement-card:not(:last-child) {
        padding-bottom: 44px;
    }

    .location-process-windshield-replacement-card {
        --icon-box: 66px;
        gap: 22px;
    }

    .location-process-windshield-replacement-card-icon {
        padding: 8px;
    }

    .location-process-windshield-replacement-badge h2 {
        margin-bottom: var(--space-md);
    }
}