/**
 * Estilos para Hero Liderazgo
 * Componente hero configurable para páginas tipo Liderazgo
 * 
 * @package Grupo_Mexico
 */

/* Hero Liderazgo Section Base */
.hero-liderazgo {
    position: relative;
    height: 34vw;
    max-height: 424px;
    min-height: 260px;
    border-radius: 12px;
    box-shadow: 0px 1px 2px 0px var(--shadow-primary);
    overflow: hidden;
    /* margin-bottom: 40px; */
}

/* Background con imagen */
.hero-liderazgo__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background sólido cuando no hay imagen */
.hero-liderazgo__background--solid {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

/* Overlay con color configurable - Constante #1E293B */
.hero-liderazgo__overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #1E293B;
    opacity: 0.8;
}

/* Container del contenido */
.hero-liderazgo__container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 64px;
    position: relative;
    z-index: 3;
}

/* Contenido centrado */
.hero-liderazgo__content {
    color: #fff;
    text-align: center;
    max-width: 800px;
}

/* ALINEACIONES DEL CONTENIDO */

/* Alineación izquierda */
.hero-liderazgo--align-left .hero-liderazgo__container {
    justify-content: flex-start;
}

.hero-liderazgo--align-left .hero-liderazgo__content {
    text-align: left;
}

.hero-liderazgo--align-left .hero-liderazgo__icon {
    justify-content: flex-start;
}

/* Alineación centrada (default) */
.hero-liderazgo--align-center .hero-liderazgo__container {
    justify-content: center;
}

.hero-liderazgo--align-center .hero-liderazgo__content {
    text-align: center;
}

.hero-liderazgo--align-center .hero-liderazgo__icon {
    justify-content: center;
}

/* Alineación derecha */
.hero-liderazgo--align-right .hero-liderazgo__container {
    justify-content: flex-end;
}

.hero-liderazgo--align-right .hero-liderazgo__content {
    text-align: right;
}

.hero-liderazgo--align-right .hero-liderazgo__icon {
    justify-content: flex-end;
}

/* Icono opcional */
.hero-liderazgo__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.hero-liderazgo__icon img {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Título */
.hero-liderazgo__title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 16px;
    color: #fff;
}

/* Subtítulo */
.hero-liderazgo__subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .hero-liderazgo {
        height: 40vw;
        min-height: 280px;
    }

    .hero-liderazgo__container {
        padding: 40px 30px;
    }

    .hero-liderazgo__icon img {
        width: 64px;
        height: 64px;
        padding: 12px;
    }

    .hero-liderazgo__title {
        font-size: 36px;
    }

    .hero-liderazgo__subtitle {
        font-size: 18px;
    }
}

/* Responsive Mobile */
@media (max-width: 767px) {
    .hero-liderazgo {
        height: auto;
        min-height: 240px;
        border-radius: 8px;
    }

    .hero-liderazgo__container {
        padding: 32px 20px;
    }

    .hero-liderazgo__icon {
        margin-bottom: 16px;
    }

    .hero-liderazgo__icon img {
        width: 56px;
        height: 56px;
        padding: 10px;
        border-radius: 12px;
    }

    .hero-liderazgo__title {
        font-size: 28px;
        line-height: 1.3;
        margin: 0 0 12px;
    }

    .hero-liderazgo__subtitle {
        font-size: 16px;
        line-height: 1.4;
    }
}
