/* =========================================
   ESTILOS ESPECÍFICOS DE EMPRESA.JSP
   ========================================= */

/* Hero Section Corporativo */
.empresa-hero {
    /* Degradado SEYPRO más vibrante */
    background: linear-gradient(135deg, rgba(0, 114, 206, 0.85) 0%, rgba(14, 24, 40, 0.90) 100%), url('../images/fondo-empresa.jpg') center/cover no-repeat;
    height: 400px;
    margin-top: -85px; 
    padding-top: 85px;
}

.max-w-700 { max-width: 700px; }
.letter-spacing-1 { letter-spacing: 1px; }
.text-shadow { text-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* =========================================
   SISTEMA DE PESTAÑAS (TABS)
   ========================================= */
.custom-v-pills .nav-link {
    color: #64748b;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
}

.custom-v-pills .nav-link:hover {
    background-color: #f8fafc;
    color: #0072ce;
}

.custom-v-pills .nav-link.active {
    background-color: #0072ce;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 114, 206, 0.3);
}

.bg-watermark {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 15rem;
    color: #f1f5f9;
    z-index: 0;
    transform: rotate(-15deg);
}

.company-data-list li {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* =========================================
   TARJETAS DE VALORES (Efecto Hover Restaurado)
   ========================================= */
.valor-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden; /* Vital para que la línea de color superior no se salga de las esquinas */
}

/* Línea superior que aparece al hacer hover */
.valor-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: linear-gradient(90deg, #0072ce 0%, #ff6f00 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Efecto al pasar el mouse por la tarjeta */
.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 114, 206, 0.15);
}

.valor-card:hover::before {
    opacity: 1;
}

/* Contenedor del ícono */
.valor-card .icon-wrapper {
    width: 75px; 
    height: 75px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 1.5rem auto;
    transition: all 0.4s ease;
}

.valor-card .icon-wrapper i {
    font-size: 2rem;
    color: #0072ce;
    transition: color 0.4s ease;
}

/* El ícono invierte colores al hacer hover en la tarjeta */
.valor-card:hover .icon-wrapper {
    background-color: #0072ce;
    box-shadow: 0 10px 25px rgba(0, 114, 206, 0.3);
}

.valor-card:hover .icon-wrapper i {
    color: #ffffff;
}

/* =========================================
   SECCIÓN DE CONTACTO MEJORADA
   ========================================= */
.contact-wrapper {
    border: 1px solid #e2e8f0;
}

.transition-hover {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    background-color: #f1f5f9 !important;
}

/* Nuevo fondo azul VIBRANTE para el panel de Horarios (Ya no es casi negro) */
.contact-brand-panel {
    background: linear-gradient(135deg, #0072ce 0%, #004a99 100%);
    position: relative;
    overflow: hidden;
}

/* Resplandor Naranja de fondo para darle mucha vida */
.contact-brand-panel::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,111,0,0.6) 0%, rgba(255,111,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-brand-panel > * {
    position: relative;
    z-index: 1;
}

/* Fuerza el color del texto en las cajas de horario para que NUNCA sean blancas */
.badge-horario {
    color: #0072ce !important; 
    font-weight: 700 !important;
}

.badge-container:hover .badge-horario {
    background-color: #ff6f00 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

/* =========================================
   IMAGEN DE LA PESTAÑA "ACERCA DE"
   ========================================= */
.empresa-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    max-height: 350px; /* Limita la altura para no empujar el mensaje final muy abajo */
}

.empresa-img-wrapper img {
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

/* Efecto de zoom suave al pasar el mouse por la foto */
.empresa-img-wrapper:hover img {
    transform: scale(1.03);
}

/* =========================================
   SECCIÓN DE MÉTRICAS (BLUR DIFUMINADO A 2 COLORES)
   ========================================= */
.metrics-strip {
    background-color: #0e1828; /* Fondo base oscuro corporativo */
}

/* Esfera Azul Difuminada */
.glow-blue {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 114, 206, 0.4) 0%, rgba(0, 114, 206, 0) 70%);
    filter: blur(60px);
    z-index: 0;
    border-radius: 50%;
}

/* Esfera Naranja Difuminada */
.glow-orange {
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.3) 0%, rgba(255, 111, 0, 0) 70%);
    filter: blur(60px);
    z-index: 0;
    border-radius: 50%;
}

/* Panel tipo Cristal Flotante (Glassmorphism) */
.glass-metrics-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.border-light-opacity {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (min-width: 992px) {
    .border-end-lg { 
        border-right: 1px solid rgba(255, 255, 255, 0.1); 
    }
}