/* =========================================================
   bwa-hero — Hero Section
   BEM scoped, no global resets
   ========================================================= */

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

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

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

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

.bwa-hero__card-wrap { transition-delay: 0.15s; }

/* --- Root --- */

.bwa-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* --- Background --- */

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

.bwa-hero__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__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        hsl(220 30% 8% / 0.95) 0%,
        hsl(220 28% 12% / 0.85) 50%,
        hsl(220 25% 18% / 0.70) 100%
    );
}

.bwa-hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
}

/* --- Layout container --- */

.bwa-hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    padding: 8rem 1rem 5rem;
}

.bwa-hero__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .bwa-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* --- Text content --- */

.bwa-hero__content {
    color: #fff;
}

/* Badge */

.bwa-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.bwa-hero__badge-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(600%) hue-rotate(330deg) brightness(95%);
}

/* Title */

.bwa-hero__title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
}

@media (min-width: 640px) {
    .bwa-hero__title { font-size: 2.75rem; }
}

@media (min-width: 768px) {
    .bwa-hero__title { font-size: 3.5rem; }
}

.bwa-hero__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__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 36rem;
}

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

/* Zones */

.bwa-hero__zones {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2rem;
}

/* CTAs */

.bwa-hero__ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .bwa-hero__ctas {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.bwa-hero__cta-primary,
.bwa-hero__cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.bwa-hero__cta-primary {
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
    color: #fff;
    box-shadow: 0 4px 16px hsla(15, 90%, 55%, 0.40);
}

.bwa-hero__cta-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px hsla(15, 90%, 55%, 0.55);
}

.bwa-hero__cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(8px);
}

.bwa-hero__cta-secondary:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

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

/* --- Card side (desktop only) --- */

.bwa-hero__card-wrap {
    display: none;
    position: relative;
}

@media (min-width: 1024px) {
    .bwa-hero__card-wrap {
        display: flex;
        justify-content: flex-end;
    }
}

.bwa-hero__card-deco-top {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 9999px;
    background: hsl(15 90% 55% / 0.20);
    filter: blur(48px);
    pointer-events: none;
}

.bwa-hero__card-deco-bottom {
    position: absolute;
    bottom: -2.5rem;
    left: -2.5rem;
    width: 8rem;
    height: 8rem;
    border-radius: 9999px;
    background: hsl(15 90% 55% / 0.10);
    filter: blur(32px);
    pointer-events: none;
}

.bwa-hero__card {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 22rem;
    width: 100%;
}

.bwa-hero__card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.bwa-hero__card-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* CTA Card */

.bwa-hero__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px hsla(15, 90%, 55%, 0.35);
}

.bwa-hero__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px hsla(15, 90%, 55%, 0.50);
}
.bwa-hero__card-note {
    text-align: center;
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* --- Scroll indicator --- */

.bwa-hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.bwa-hero__scroll-mouse {
    width: 1.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.30);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.375rem;
}

.bwa-hero__scroll-dot {
    width: 0.375rem;
    height: 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.50);
    animation: bwa-hero-bounce 1.4s ease-in-out infinite;
}

@keyframes bwa-hero-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
    .bwa-hero [data-anim] {
        transition: none;
        opacity: 1;
        transform: none;
    }
    .bwa-hero__scroll-dot {
        animation: none;
    }
}


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