/*
==================================================
INDUSTRIAL HERO MODULE - SIDV FRAMEWORK
==================================================
*/

:root {
    /* Base oficial según paleta (Azul Marino Corporativo) */
    --sidv-hero-bg: #0B1E36;
    --sidv-hero-surface: #132A46;
    --sidv-hero-border: rgba(255, 255, 255, 0.1);

    --sidv-hero-amber-primary: #F59E0B;
    --sidv-hero-amber-hover: #FBBF24;
    --sidv-hero-amber-light: rgba(245, 158, 11, 0.15);

    --sidv-hero-text-heading: #FFFFFF;
    --sidv-hero-text-body: rgba(255, 255, 255, 0.88);
    --sidv-hero-text-muted: #9CA3AF;
}

/*
==================================================
HERO CONTAINER & BACKGROUND OVERLAY
==================================================
*/

.sidv-industrial-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    background-color: var(--sidv-hero-bg);
    overflow: hidden;
}

/* Imagen de fondo abarcando el 100% del contenedor */
.sidv-industrial-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.sidv-industrial-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    will-change: transform;
    transition: transform 0.5s ease-out;
}

/* Oscurecimiento con degradado Azul Marino (#0B1E36) para lectura óptima */
.sidv-industrial-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #0B1E36 0%,
        rgba(11, 30, 54, 0.95) 45%,
        rgba(11, 30, 54, 0.65) 75%,
        rgba(11, 30, 54, 0.35) 100%
    );
    z-index: 2;
}

/*
==================================================
CONTENT WRAPPER
==================================================
*/

.sidv-industrial-hero .sidv-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.sidv-industrial-hero__wrapper {
    display: grid;
    grid-template-columns: minmax(0, 780px);
}

.sidv-industrial-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidv-industrial-hero.is-visible .sidv-industrial-hero__content {
    opacity: 1;
    transform: translateY(0);
}

/*
==================================================
EYEBROW & PULSE BADGE
==================================================
*/

.sidv-industrial-hero__eyebrow-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    align-self: flex-start;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: rgba(19, 42, 70, 0.85);
    border: 1px solid var(--sidv-hero-border);
    backdrop-filter: blur(8px);
}

.sidv-industrial-hero__badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--sidv-hero-amber-primary);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    animation: sidvPulse 2s infinite;
}

@keyframes sidvPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.sidv-industrial-hero__eyebrow {
    color: var(--sidv-hero-amber-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/*
==================================================
TYPOGRAPHY
==================================================
*/

.sidv-industrial-hero__title {
    margin: 0;
    color: var(--sidv-hero-text-heading);
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.sidv-industrial-hero__description {
    margin: 0;
    max-width: 680px;
    color: var(--sidv-hero-text-body);
    font-size: 1.05rem;
    line-height: 1.75;
}

/*
==================================================
FEATURES LIST
==================================================
*/

.sidv-industrial-hero__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1.5rem;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.sidv-industrial-hero__feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
}

.sidv-industrial-hero__feature-item .sidv-icon {
    color: var(--sidv-hero-amber-primary);
    flex-shrink: 0;
}

/*
==================================================
ACTIONS / BUTTONS
==================================================
*/

.sidv-industrial-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
}

.sidv-btn--lg {
    min-height: 54px;
    padding: 0.85rem 1.85rem;
    font-size: 0.95rem;
}

.sidv-industrial-hero__actions .sidv-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--sidv-hero-amber-primary);
    color: #0B1E36;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
    transition: all 0.3s ease;
}

.sidv-industrial-hero__actions .sidv-btn-primary:hover {
    background: var(--sidv-hero-amber-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.sidv-industrial-hero__actions .sidv-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: rgba(19, 42, 70, 0.6);
    color: #FFFFFF;
    border: 1px solid var(--sidv-hero-border);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.sidv-industrial-hero__actions .sidv-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/*
==================================================
TRUST METRICS BAR
==================================================
*/

.sidv-industrial-hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--sidv-hero-border);
    max-width: 650px;
}

.sidv-industrial-hero__metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidv-industrial-hero__metric-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sidv-hero-amber-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.sidv-industrial-hero__metric-label {
    font-size: 0.8rem;
    color: var(--sidv-hero-text-muted);
    font-weight: 500;
    line-height: 1.3;
}

/*
==================================================
RESPONSIVE DESIGN
==================================================
*/

@media (max-width: 992px) {
    .sidv-industrial-hero {
        min-height: auto;
        padding: 5rem 0;
    }

    .sidv-industrial-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(11, 30, 54, 0.92) 0%,
            rgba(11, 30, 54, 0.97) 100%
        );
    }

    .sidv-industrial-hero__wrapper {
        grid-template-columns: 1fr;
    }

    .sidv-industrial-hero__features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sidv-industrial-hero {
        padding: 3.5rem 0;
    }

    .sidv-industrial-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .sidv-industrial-hero__actions .sidv-btn-primary,
    .sidv-industrial-hero__actions .sidv-btn-secondary {
        width: 100%;
    }

    .sidv-industrial-hero__metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .sidv-industrial-hero__metric-value {
        font-size: 1.35rem;
    }

    .sidv-industrial-hero__metric-label {
        font-size: 0.72rem;
    }
}

/*
==================================================
ACCESSIBILITY (PREFERS REDUCED MOTION)
==================================================
*/

@media (prefers-reduced-motion: reduce) {
    .sidv-industrial-hero__content,
    .sidv-industrial-hero__bg img,
    .sidv-btn-primary,
    .sidv-btn-secondary {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .sidv-industrial-hero__badge-pulse {
        animation: none !important;
    }
}