/* =========================================================
   bwa-hero-banner — Hero Banner Section (Internal Pages)
   BEM scoped, no global resets
   ========================================================= */

/* --- Animations (data-anim standard BWA) --- */

.bwa-hero-banner [data-anim] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bwa-hero-banner [data-anim="left"]  { transform: translate3d(-32px, 0, 0); }
.bwa-hero-banner [data-anim="right"] { transform: translate3d(32px, 0, 0); }
.bwa-hero-banner [data-anim="up"]    { transform: translate3d(0, 24px, 0); }

.bwa-hero-banner.is-inview [data-anim] {
    opacity: 1;
    transform: none;
}

/* --- Root --- */

.bwa-hero-banner {
    position: relative;
    min-height: 60vh;
    padding-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}


/* --- Background --- */

.bwa-hero-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bwa-hero-banner__bg-img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.bwa-hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        hsl(220 25% 15% / 0.92),
        hsl(220 25% 15% / 0.75),
        hsl(220 25% 15% / 0.4)
    );
    z-index: 1;
}

/* --- Container & Content --- */

.bwa-hero-banner__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.bwa-hero-banner__content {
    text-align: center;
    color: #ffffff;
    max-width: 55rem;
    margin: 0 auto;
}

/* --- Badge --- */

.bwa-hero-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: hsl(15 90% 55% / 0.20);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid hsl(15 90% 55% / 0.30);
    letter-spacing: 0.05em;
}

.bwa-hero-banner__badge-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    color: hsl(15 90% 55%);
}

/* --- Title --- */

.bwa-hero-banner__title {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.bwa-hero-banner__title--h1 {
    font-size: 2.25rem;
}

@media (min-width: 640px) {
    .bwa-hero-banner__title--h1 {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .bwa-hero-banner__title--h1 {
        font-size: 3.75rem;
    }
}

.bwa-hero-banner__title--h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.bwa-hero-banner__title-accent {
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Subtitle --- */

.bwa-hero-banner__subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin: 0 auto 2rem;
}

@media (min-width: 640px) {
    .bwa-hero-banner__subtitle {
        font-size: 1.125rem;
    }
}

/* --- CTA Button --- */

.bwa-hero-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    letter-spacing: 0.02em;
}

.bwa-hero-banner__cta:hover {
    background: linear-gradient(135deg, hsl(0 80% 45%) 0%, hsl(25 95% 50%) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px hsl(15 90% 55% / 0.3);
}

.bwa-hero-banner__cta:active {
    transform: translateY(0);
}

/* --- CTA Group (primary + phone) --- */

.bwa-hero-banner__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* --- CTA Secondary (phone) --- */

.bwa-hero-banner__cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.bwa-hero-banner__cta-secondary:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 255, 255, 0.1);
}

.bwa-hero-banner__cta-secondary:active {
    transform: translateY(0);
}

.bwa-hero-banner__phone-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* --- Responsive --- */

@media (max-width: 640px) {
    .bwa-hero-banner {
        min-height: 50vh;
    }

    .bwa-hero-banner__title {
        font-size: 1.75rem;
    }

    .bwa-hero-banner__subtitle {
        font-size: 0.95rem;
    }

    .bwa-hero-banner__cta,
    .bwa-hero-banner__cta-secondary {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
    }

}
@media (min-width: 1024px) and (max-width: 1439px) {
    .bwa-hero-banner__container {
        padding-inline: 2rem;
    }
}