/* ============================================================
   Home Banner (Hero)
   ============================================================ */

.home-banner {
    position: relative;
    background-color: #012b43;
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
}

.home-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(1 43 67), rgb(1 43 67 / 33%));
    pointer-events: none;
    z-index: 0;
}

/* ---- Content area ---- */
.home-banner__inner {
    position: relative;
    z-index: 1;
    /* 78px fixed header + generous breathing room */
    padding-top: 120px;
    padding-bottom: 60px;
}

/* Title */
.home-banner__title {
    font-family: 'RobotoSlab', 'Roboto Slab', serif !important;
    font-size: clamp(2.2rem, 4.8vw, 4.6rem) !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    letter-spacing: 1.5px;
    text-transform: capitalize;
    margin: 0 0 16px !important;
    line-height: 1.12 !important;
}

/* Subtitle */
.home-banner__subtitle {
    font-family: 'RobotoSlab', 'Roboto Slab', serif;
    font-size: 12px;
    font-weight: 600;
    color: #e6ecef;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 28px;
    line-height: 1.6;
}

/* Bullets */
.home-banner__bullets {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 36px !important;
}

.home-banner__bullets li {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: 'RobotoSlab', 'Roboto Slab', serif;
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 13px;
    line-height: 1.5;
}

.home-banner__bullets li i {
    font-size: 17px;
    color: #ffffff;
    flex-shrink: 0;
    opacity: 0.9;
}

.home-banner__bullet-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}

/* CTA row */
.home-banner__ctas {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

/* Outlined white button */
.home-banner__btn-primary {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    font-family: 'RobotoSlab', 'Roboto Slab', serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 30px;
    border: 2px solid #ffffff;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.home-banner__btn-primary:hover,
.home-banner__btn-primary:focus {
    background: rgba(255,255,255,0.15);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Phone link */
.home-banner__btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'RobotoSlab', 'Roboto Slab', serif;
    font-size: 17px;
    color: #ffffff !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.home-banner__btn-phone i {
    font-size: 18px;
}

.home-banner__btn-phone:hover,
.home-banner__btn-phone:focus {
    color: #e6ecef !important;
    text-decoration: none !important;
}

/* ---- Stats bar ---- */
.home-banner__stats-bar {
    position: relative;
    z-index: 1;
    padding: 0 0 44px;
    background: linear-gradient(to bottom, rgb(1 43 67 / 0%), rgb(1 43 67));
}

.home-banner__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 0 44px;
}

/* Slider container — flex fallback so items are side-by-side
   before Slick initializes */
.home-banner__stats-slider {
    display: flex;
    gap: 0;
    overflow: hidden;
    margin-bottom: 28px;
}

/* Slick overrides */
.home-banner__stats-slider.slick-initialized {
    display: block;
    overflow: visible;
}

.home-banner__stats-slider .slick-track {
    display: flex;
    align-items: flex-start;
}

.home-banner__stats-slider .slick-list {
    overflow: hidden;
}

/* Individual stat */
.home-banner__stat {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    /* flex fallback: equal thirds */
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding-right: 30px;
    box-sizing: border-box;
}

/* When Slick is active, let Slick control width */
.slick-initialized .home-banner__stat {
    flex: none;
    max-width: none;
    padding-right: 40px;
}

.home-banner__stat-value {
    font-family: 'RobotoSlab', 'Roboto Slab', serif;
    font-size: clamp(2.8rem, 5.2vw, 5.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1;
    display: block;
}

.home-banner__stat-label {
    font-family: 'opensans_regular', 'Open Sans', sans-serif;
    font-size: 17px;
    color: #ffffff;
    text-transform: capitalize;
    display: block;
    line-height: 1.4;
}

/* Footer row: arrows + view more */
.home-banner__stats-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.home-banner__stats-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-banner__stat-prev,
.home-banner__stat-next {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: opacity 0.2s;
    font-family: inherit;
}

.home-banner__stat-prev:hover,
.home-banner__stat-next:hover {
    opacity: 0.7;
}

/* "View More Results" pill button */
.home-banner__results-btn {
    display: inline-block;
    background: #ffffff;
    color: #012b43 !important;
    font-family: 'RobotoSlab', 'Roboto Slab', serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 38px;
    border-radius: 50px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.home-banner__results-btn:hover,
.home-banner__results-btn:focus {
    background: #e6ecef;
    color: #012b43 !important;
    text-decoration: none !important;
}

.home-banner__results-btn--placeholder {
    opacity: 0.5;
    cursor: default;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1199px) {
    .home-banner__stat {
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .home-banner__inner {
        padding-top: 90px;
        padding-bottom: 50px;
    }
    .home-banner__stat {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .home-banner__inner {
        padding-top: 70px;
        padding-bottom: 40px;
    }
    .home-banner__content {
        max-width: 100%;
    }
    .home-banner__ctas {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .home-banner__stats-bar {
        padding-bottom: 30px;
    }
    .home-banner__stat {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
}

/* Override: stat value size + title color from staging Customizer */
.home-banner__stat-value {
    font-size: 19px;
}
.home-banner__stats-title {
    color: white;
    padding-bottom: 19px;
}
