/* --- VARIABLES (Identidad Eléctrica: Amarillo Volt y Azul Industrial) --- */
:root {
    --color-volt: #ffc107; /* Amarillo intenso estándar */
    --color-volt-hover: #ffca2c;
    --color-dark-ind: #0d1013; /* Casi negro */
    --color-blue-eng: #0d47a1; /* Azul ingeniería */
    --color-text: #495057;
    --border-radius-card: 6px;
}

/* --- ESTILOS GENERALES --- */
.page-electricidad {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text);
}

/* --- LAYOUT & GRID SYSTEM --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Utilities */
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .ps-lg-5 { padding-left: 3rem !important; }
}

.section-padding { padding: 90px 0; }
.text-volt { color: var(--color-volt) !important; }
.text-dark-ind { color: var(--color-dark-ind); }
.bg-dark-ind { background-color: var(--color-dark-ind); }
.bg-volt { background-color: var(--color-volt); }

/* Botones Base */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

/* Botones estilo Volt */
.btn-volt {
    background-color: var(--color-volt);
    color: #000;
    border: none;
}
.btn-volt:hover {
    background-color: #ffdb6e;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6); /* Efecto resplandor */
    transform: translateY(-2px);
}

/* --- SECCIÓN HERO --- */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Degradado azul oscuro para contraste */
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.9) 0%, rgba(33, 37, 41, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center; /* Centrar contenido del hero */
}
.hero-tag {
    background: var(--color-volt);
    color: black;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: inline-block;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-lead { font-size: 1.2rem; max-width: 600px; margin-bottom: 40px; opacity: 0.9; }

/* --- SECCIÓN INTRO --- */
.image-frame-decor {
    position: absolute;
    top: -15px; left: -15px;
    width: 100px; height: 100px;
    border-top: 5px solid var(--color-volt);
    border-left: 5px solid var(--color-volt);
    z-index: 0;
}

/* Lista con checks */
.list-check {
    list-style: none;
    padding-left: 0;
}
.list-check li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}
.list-check li::before {
    content: '\f058'; /* check-circle icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Solid icon */
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-volt);
    font-size: 1.2rem;
}
.list-check li strong { color: var(--color-dark-ind); }

/* --- SECCIÓN SERVICIOS (Dark Cards) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card-dark {
    background: rgba(255, 255, 255, 0.05); /* Fondo semitransparente sobre oscuro */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: var(--border-radius-card);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-volt);
    transform: translateY(-5px);
}

/* El icono resplandece al hacer hover */
.icon-glow {
    font-size: 3rem;
    color: var(--color-volt);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.service-card-dark:hover .icon-glow {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.8); /* Brillo intenso */
}

.service-card-dark h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; }
.service-card-dark p { font-size: 0.95rem; color: #ced4da; }

.header-divider {
    height: 3px; width: 80px; margin-top: 20px;
}

/* --- BARRA EMERGENCIA --- */
.emergency-bar {
    background-color: var(--color-volt);
    padding: 40px 0;
    color: black;
    text-align: center;
}

.pulse-btn {
    animation: pulse-black 2s infinite;
}
@keyframes pulse-black {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content { text-align: left; }
    .image-frame-decor { display: none; } /* Ocultar decoración en móvil */
}