/* ==========================================================================
   ESTILOS COMPLEMENTARIOS PARA PÁGINAS INTERNAS
   ========================================================================== */

   /* ==========================================================================
   BANNER SUPERIOR CON CARRUSEL DE FONDO Y CAPA AZUL
   ========================================================================== */
.internal-banner {
    position: relative;
    height: 75vh; /* Altura ideal en pantalla de computadora */
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: 80px;
}

/* Contenedor principal de capas */
.banner-carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Diapositivas individuales con desvanecimiento suave */
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Transición muy suave */
}

.banner-slide.active {
    opacity: 1;
}

/* Capa de degradado con tonalidad azul traslúcida industrial (Menos oscura) */
.banner-overlay-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(14, 34, 61, 0.75) 0%, rgba(20, 55, 99, 0.4) 100%);
    z-index: 2;
}

/* Contenido de texto y botones */
.banner-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
}

.banner-badge {
    display: inline-block;
    background-color: #d32f2f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-radius: 2px;
}

.banner-content h1 {
    font-size: 44px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 18px;
    color: #f0f4f8;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Botón de contacto destacado */
.banner-actions {
    display: block;
}

.btn-banner-contact {
    display: inline-block;
    background-color: #ffffff;
    color: #0e223d; /* Azul oscuro a juego */
    padding: 14px 35px;
    font-weight: 700;
    font-size: 14.5px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-banner-contact:hover {
    background-color: #d32f2f; /* Cambio a color de acento al pasar el cursor */
    color: #ffffff;
    transform: translateY(-2px);
}

/* Botones de Control (Flechas adelante/atrás) */
.banner-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 12px 16px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.banner-carousel-btn:hover {
    background: #ffffff;
    color: #0e223d;
}

.banner-prev-btn { left: 25px; }
.banner-next-btn { right: 25px; }

/* Adaptabilidad para pantallas móviles */
@media (max-width: 768px) {
    .internal-banner { height: 60vh; min-height: 420px; }
    .banner-content h1 { font-size: 28px; }
    .banner-content p { font-size: 15px; }
    .banner-carousel-btn { padding: 8px 12px; font-size: 15px; }
    .banner-prev-btn { left: 10px; }
    .banner-next-btn { right: 10px; }
    .btn-banner-contact { width: 100%; text-align: center; }
}

}

/* Grilla de Detalles de Servicio */
.services-detail-section {
    background-color: #1a1a1a; /* Fondo oscuro industrial continuo */
    padding: 80px 0;
    color: #ffffff;
}

.section-header-internal {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-internal h2 {
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 700;
}

.divider-line {
    width: 50px;
    height: 4px;
    background-color: #d32f2f;
    margin: 15px auto 0 auto;
}

/* --- Grilla de Detalles de Servicio con Imágenes --- */
.services-detail-section {
    background-color: #1a1a1a; 
    padding: 80px 0;
    color: #ffffff;
}

.section-header-internal {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-internal h2 {
    font-size: 32px;
    text-transform: uppercase;
    font-weight: 700;
}

.divider-line {
    width: 50px;
    height: 4px;
    background-color: #d32f2f;
    margin: 15px auto 0 auto;
}

.services-internal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Tarjeta estructurada para albergar imagen superior */
.service-internal-card {
    background-color: #222222;
    border-radius: 6px;
    overflow: hidden; /* Evita que la imagen se salga de las esquinas redondeadas */
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-internal-card:hover {
    border-bottom-color: #d32f2f;
    transform: translateY(-5px);
}

/* Contenedor de la Imagen */
.service-img-box {
    width: 100%;
    height: 220px; /* Altura de la fotografía */
    overflow: hidden;
    position: relative;
}

.service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta y adapta la imagen sin deformarla */
    object-position: center;
    transition: transform 0.5s ease;
}

/* Efecto de zoom sutil en la imagen al hacer hover en la tarjeta */
.service-internal-card:hover .service-img-box img {
    transform: scale(1.06);
}

/* Cuerpo de texto con márgenes internos adecuados */
.service-card-body {
    padding: 30px 25px;
}

.service-internal-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff;
}

.service-internal-card p {
    font-size: 14.5px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}


/* Sección de Capacidades */
.capabilities-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.capabilities-text h2 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* --- Corrección de Viñetas en Proyectos Integrales --- */
.specs-list {
    list-style: none !important;      /* Elimina por completo los recuadros o puntos del navegador */
    list-style-type: none !important; /* Refuerza la eliminación de marcadores */
    padding: 0 !important;
    margin: 25px 0 35px 0;
    background: none !important;      /* Evita cualquier fondo heredado */
}

.specs-list li {
    font-size: 16px;
    margin-bottom: 12px;
    color: #444444;
    display: flex;
    align-items: center;
    gap: 12px;
    background: none !important;      /* Elimina los recuadros rosa de fondo en la línea */
    padding: 0 !important;            /* Resetea espacios que causen distorsión */
}

.specs-list li i {
    color: #d32f2f;                   /* Tu rojo industrial de acento */
    background: transparent !important; /* Garantiza que el icono no tenga fondo de color */
    font-size: 16px;
    flex-shrink: 0;                   /* Evita que el icono se deforme si el texto es largo */
}


.capabilities-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.internal-stat-box {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    border-left: 4px solid #1a1a1a;
}

.internal-stat-box h4 {
    font-size: 36px;
    color: #d32f2f;
    font-weight: 800;
    margin-bottom: 5px;
}

.internal-stat-box p {
    font-size: 14px;
    color: #666666;
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
}

/* Responsivo */
@media (max-width: 768px) {
    .banner-content h1 { font-size: 30px; }
    .capabilities-grid { grid-template-columns: 1fr; gap: 40px; }
    .capabilities-stats { grid-template-columns: 1fr; }
}


/* ==========================================================================
   SECCIÓN PANTALLA COMPLETA: 5 ACTIVIDADES INDUSTRIALES
   ========================================================================== */
.fullscreen-activities {
    width: 100%;
    min-height: 100vh; /* Ocupa el 100% de la altura de la pantalla */
    background-color: #ffffff;
    display: flex;
    overflow: hidden;
}

.activities-split-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Divide la pantalla en dos bloques */
    width: 100%;
}

/* --- BLOQUE IZQUIERDO: TEXTOS --- */
.activities-text-side {
    display: flex;
    align-items: center; /* Centra el contenido verticalmente */
    justify-content: center;
    padding: 80px 60px;
    background-color: #ffffff;
}

.activities-inner-content {
    max-width: 580px; /* Mantiene una longitud de lectura cómoda */
    width: 100%;
}

.activities-badge {
    display: inline-block;
    color: var(--accent-color, #d32f2f);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.activities-inner-content h2 {
    font-size: 36px;
    color: var(--primary-color, #1a1a1a);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 15px;
}

.activities-lead {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Listado Industrial Minimalista */
.industrial-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Separación uniforme entre actividades */
}

.industrial-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.list-icon {
    font-size: 20px;
    color: var(--accent-color, #d32f2f);
    background-color: rgba(211, 47, 47, 0.06); /* Círculo de fondo muy tenue */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0; /* Evita que el icono se deforme */
}

.list-text strong {
    display: block;
    font-size: 16px;
    color: var(--primary-color, #1a1a1a);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.list-text span {
    display: block;
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

/* Botón de Acción */
.btn-activities {
    display: inline-block;
    background-color: var(--primary-color, #1a1a1a);
    color: #ffffff;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-activities:hover {
    background-color: var(--accent-color, #d32f2f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.2);
}

/* --- BLOQUE DERECHO: IMAGEN --- */
.activities-image-side {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

/* Filtro traslúcido para dar sobriedad industrial a la fotografía */
.image-side-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26,26,26,0.2) 0%, rgba(26,26,26,0.4) 100%);
}

/* --- OPTIMIZACIÓN RESPONSIVA (MÓVILES Y TABLETAS) --- */
@media (max-width: 992px) {
    .fullscreen-activities {
        min-height: auto; /* Libera los 100vh rígidos para evitar desbordes en móviles */
    }
    
    .activities-split-container {
        grid-template-columns: 1fr; /* Cambia a una sola columna vertical */
    }

    .activities-image-side {
        height: 350px; /* Altura fija para la imagen decorativa en pantallas pequeñas */
        order: -1; /* Muestra la imagen primero en teléfonos antes del listado */
    }

    .activities-text-side {
        padding: 50px 25px; /* Reduce los márgenes laterales */
    }

    .activities-inner-content h2 {
        font-size: 28px;
    }
}
