/* ===================================================================
 *  electrificacion.css
 *  Estilos específicos y únicos para la página de Electrificación.
 * =================================================================== */

/* --- Estilos Generales de Sección --- */
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    display: block;
    color: #011954;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* --- Cabecera de Página --- */
#page-header {
    position: relative;
    height: 50vh;
    min-height: 350px;
    background-image: url('../imagenes/cabecera.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#page-header .page-title {
    position: relative;
    color: white;
    font-weight: 500;
    font-size: 3.5rem;
}

/* --- Sección de Contadores Estilo "Alert" --- */
.counters-alert-section {
    padding-top: 60px;
    padding-bottom: 20px;
}

.counters-alert-box {
    background-color: #011954;
    color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(1, 25, 84, 0.3);
}

.counters-alert-box .stat-item h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
}

.counters-alert-box .stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* --- Sección Showcase (Texto + Imagen con tarjetas flotantes) --- */
.text-content-block h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.image-showcase {
    position: relative;
}

.image-showcase>img {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.floating-card-1,
.floating-card-2 {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.floating-card-1 i,
.floating-card-2 i {
    margin-right: 10px;
    color: #011954;
}

.floating-card-1 {
    top: 20%;
    left: -15%;
}

.floating-card-2 {
    bottom: 20%;
    right: -15%;
}

@media (max-width: 991px) {

    .floating-card-1,
    .floating-card-2 {
        position: relative;
        left: 0;
        right: 0;
        top: auto;
        bottom: auto;
        margin-top: 20px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Sección de Introducción con Fondo --- */
.intro-section-background {
    position: relative;
    padding: 100px 0;
    background-image: url('../imagenes/general.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.intro-section-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(5px);
}

.intro-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.intro-card .section-title {
    font-size: 2.5rem;
}

/* --- Sección de Beneficios/Servicios --- */
.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #0119541a;
    color: #011954;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 25px;
}

.benefit-text h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-text p {
    color: #6c757d;
    line-height: 1.7;
}