/* ============================================
   ESTILOS ESPECÃFICOS DE INDEX.HTML
   ============================================ */

/* Fuente moderna */
body {
    font-family: 'Inter', sans-serif;
}

/* Hero Section con Carrusel de Fondo */
.hero {
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

/* Carrusel de fondo que cubre toda la pantalla */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel .carousel-inner {
    height: 100%;
}

.hero-carousel .carousel-item {
    height: 100%;
    position: relative;
}

.hero-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay mejorado para mejor contraste */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.85) 0%, 
        rgba(0, 77, 153, 0.75) 35%, 
        rgba(0, 51, 102, 0.65) 100%);
    z-index: 2;
}

/* Patrón decorativo sutil */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.08"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    z-index: 1;
}

/* Contenido del hero encima del carrusel */
.hero-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

/* Logo MUY GRANDE con resplandor blanco - MEJOR CENTRADO */
.logo-hero {
    width: 380px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) 
           drop-shadow(0 0 40px rgba(255, 255, 255, 0.6)) 
           drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
    margin-bottom: 1.5rem;
    margin-top: 0;
    display: block;
    margin-left: 0;
}

.logo-hero:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 1)) 
           drop-shadow(0 0 50px rgba(255, 255, 255, 0.8)) 
           drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

/* Contenedor del contenido del hero para mejor centrado */
.hero-content-wrapper {
    text-align: center;
    width: 100%;
}

/* CONTROL DE TAMAÑOS - TEXTO MEJORADO PARA NO CORTAR */
.hero-title {
    font-size: 2rem !important;
    font-weight: 500 !important;
    color: white !important;
    line-height: 1.4 !important;
    margin-left: 0rem;
    margin-right: 0rem;
    text-align: center;
    white-space: nowrap;
    word-wrap: break-word;
    hyphens: none;
    margin-bottom: 1.5rem;
}

/* CONTENEDOR DE BOTONES MEJORADO */
.btn-hero-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Botones mejorados */
.btn-hero {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0rem;
    margin-right: 0rem;
    letter-spacing: 0.1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    color: #0066cc;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: #004499;
}

.btn-outline-hero {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    color: white;
}

/* Controles del carrusel muy pequeños */
.carousel-control-prev,
.carousel-control-next {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
    z-index: 4;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.8;
    background: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 10px;
    height: 10px;
    background-size: 10px 10px;
    filter: invert(1);
}

/* Indicadores muy pequeños */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
    z-index: 4;
}

.carousel-indicators button {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 1px 5px rgba(255, 255, 255, 0.3);
}

/* Elementos flotantes decorativos */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0.12;
    animation: float 10s ease-in-out infinite;
    color: white;
}

.floating-element:nth-child(1) {
    top: 12%;
    left: 5%;
    animation-delay: 0s;
    font-size: 4rem;
}

.floating-element:nth-child(2) {
    top: 25%;
    right: 8%;
    animation-delay: 3s;
    font-size: 3.5rem;
}

.floating-element:nth-child(3) {
    bottom: 25%;
    left: 8%;
    animation-delay: 6s;
    font-size: 3.8rem;
}

.floating-element:nth-child(4) {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
    font-size: 3.2rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(90deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
    75% { transform: translateY(-15px) rotate(270deg); }
}

/* Animaciones de entrada */
.slide-in-left {
    animation: slideInLeft 1.5s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-150px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Estilos del resto de la página */
.feature-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 30px;
    color: #0066cc;
}

.product-highlight {
    background-color: #f0f5ff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-section {
    background: linear-gradient(135deg, #0056b3, #0088ff);
    border-radius: 10px;
    overflow: hidden;
}

.hover-link:hover {
    color: #fff !important;
    transition: color 0.3s ease;
}

.contact-info {
    font-size: 0.95rem;
}

/* RESPONSIVE DESIGN MEJORADO PARA INDEX.HTML */
@media (max-width: 992px) {
    .hero-title {
        font-size: 1.8rem !important;
        white-space: normal;
    }
    
    .logo-hero {
        width: 280px;
    }
    
    .btn-hero {
        min-width: auto;
        padding: 0.35rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        white-space: normal;
        text-align: center;
    }
    
    .logo-hero {
        width: 240px;
        margin-bottom: 0.8rem;
    }
    
    .btn-hero-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .btn-hero {
        min-width: auto;
        width: 100%;
        font-size: 0.7rem;
        justify-content: center;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 25px;
        height: 25px;
    }

    .carousel-control-prev {
        left: 8px;
    }

    .carousel-control-next {
        right: 8px;
    }

    .carousel-indicators {
        bottom: 12px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.3rem !important;
    }
    
    .logo-hero {
        width: 200px;
    }

    .btn-hero {
        padding: 0.3rem 0.8rem;
        font-size: 0.65rem;
    }

    .carousel-indicators {
        bottom: 8px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 20px;
        height: 20px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 8px;
        height: 8px;
        background-size: 8px 8px;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .btn-hero {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }
}

/* ============================================
   FIN ESTILOS INDEX.HTML
   ============================================ */

/* ============================================
   ESTILOS ESPECÍFICOS DE TRABAJE-AQUÍ.HTML
   ============================================ */

/* Hero section mejorado - más espacioso y menos cargado */
.careers-hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 76, 153, 0.9)), url('../imagenes/slide1b1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: float 20s infinite linear;
}

.careers-hero h1, .careers-hero p, .careers-hero .btn {
    position: relative;
    z-index: 2;
}

/* Estilos para la página de carreras */
/* Hero y animaciones principales */
.careers-hero h1 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
    font-size: 4rem;
}

.careers-hero p {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.25rem;
}

.careers-hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estadísticas separadas - con espacio del hero */
.stats-section {
    background: white;
    position: relative;
    z-index: 2;
    padding: 80px 0;
    margin-top: 80px;
}

.stats-highlight {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 50%, #0088ff 100%);
    color: white !important;
    border-radius: 30px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.25);
    position: relative;
    overflow: hidden;
}

.stats-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Floating particles effect */
.stats-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
}

@keyframes float-particles {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-5px); }
    75% { transform: translateY(-15px) translateX(3px); }
    100% { transform: translateY(0px) translateX(0px); }
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    display: block;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-number.animate {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-item .h5 {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.1rem;
    color: white;
}

/* Cultura empresarial mejorada */
.culture-section {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 80px 0;
}

.culture-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0,102,204,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.culture-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,102,204,0.15);
}

.culture-item:hover::before {
    transform: scaleX(1);
}

.culture-item h4 {
    color: #0066cc;
    position: relative;
    z-index: 2;
}

.culture-item p {
    position: relative;
    z-index: 2;
}

/* Pulse effect para iconos */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.culture-item:hover i {
    animation: pulse 1s ease-in-out;
}

/* Formulario mejorado */
.application-form {
    background: white;
    border-radius: 25px;
    border: none;
    box-shadow: 0 15px 50px rgba(0,102,204,0.1);
    overflow: hidden;
}

.application-form .card-header {
    background: linear-gradient(135deg, #0066cc, #00aaff) !important;
    border: none;
    padding: 30px !important;
}

.application-form .card-header h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Campos del formulario de carreras */
.careers-form .form-control, 
.careers-form .form-select,
.application-form .form-control,
.application-form .form-select {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 15px 20px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255,255,255,0.9);
}

/* Estilo especial para los select (campos desplegables) */
.careers-form .form-select,
.application-form .form-select {
    /* Ocultar la flecha predeterminada del navegador */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* Agregar nuestra propia flecha personalizada */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230066cc' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    background-color: rgba(255,255,255,0.9);
    padding-right: 45px;
    cursor: pointer;
}

.careers-form .form-control:focus, 
.careers-form .form-select:focus,
.application-form .form-control:focus,
.application-form .form-select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
    background-color: white;
}

/* Mantener el ícono en focus */
.careers-form .form-select:focus,
.application-form .form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230066cc' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

/* Estilos para las opciones del select cuando está abierto */
.careers-form .form-select option,
.application-form .form-select option {
    padding: 10px;
    background-color: white;
    color: #333;
}

.careers-form .form-select option:hover,
.application-form .form-select option:hover {
    background-color: #f0f5ff;
}

.careers-form .form-label,
.application-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* File upload mejorado */
.file-upload-area {
    border: 3px dashed #0066cc;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0f5ff, #e0eaff);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,102,204,0.1), transparent);
    transition: left 0.5s ease;
}

.file-upload-area:hover {
    background: linear-gradient(135deg, #e0eaff, #d4edda);
    border-color: #004c99;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,102,204,0.1);
}

.file-upload-area:hover::before {
    left: 100%;
}

.file-upload-area.dragover {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
    transform: scale(1.02);
}

/* Botón submit mejorado */
.btn-submit {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    border: none;
    border-radius: 50px;
    padding: 18px 45px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0,102,204,0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,102,204,0.4);
    background: linear-gradient(135deg, #004c99, #0066cc);
}

.btn-submit:hover::before {
    left: 100%;
}

/* Animaciones de entrada */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-up-delay-1 { animation-delay: 0.2s; animation-fill-mode: both; }
.fade-in-up-delay-2 { animation-delay: 0.4s; animation-fill-mode: both; }
.fade-in-up-delay-3 { animation-delay: 0.6s; animation-fill-mode: both; }
.fade-in-up-delay-4 { animation-delay: 0.8s; animation-fill-mode: both; }

/* Secciones con títulos mejorados */
.section-title {
    position: relative;
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    border-radius: 2px;
}

/* Checkbox personalizado */
.form-check-input:checked {
    background-color: #0066cc;
    border-color: #0066cc;
}

.form-check-input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

/* RESPONSIVE PARA TRABAJE-AQUÍ */
@media (max-width: 768px) {
    .careers-hero {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .careers-hero h1 {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .culture-item {
        padding: 2rem;
    }

    .stats-section {
        margin-top: 40px;
        padding: 40px 0;
    }
}

/* ============================================
   FIN ESTILOS TRABAJE-AQUÍ.HTML
   ============================================ */

/* ============================================
   ESTILOS ESPECÍFICOS DE CONTACTO.HTML
   ============================================ */

/* Hero section mejorado */
.contact-hero {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 50%, #0088ff 100%);
    color: white;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.08"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: float 20s infinite linear;
}

.contact-hero h1, .contact-hero p {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero h1 {
    animation: fadeInUp 1s ease-out;
}

.contact-hero p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Tarjetas de información mejoradas */
.contact-info-item {
    background: white;
    border-radius: 20px;
    border: none;
    box-shadow: 0 8px 25px rgba(0,102,204,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #00aaff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,102,204,0.15);
}

.contact-info-item:hover::before {
    transform: scaleX(1);
}

/* Iconos circulares mejorados */
.circle-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066CC, #00aaff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(0,102,204,0.3);
    position: relative;
    overflow: hidden;
}

.circle-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.contact-info-item:hover .circle-icon::before {
    animation: shine 1s ease-in-out;
}

.contact-info-item:hover .circle-icon {
    animation: pulse 1s ease-in-out;
}

/* Formulario mejorado */
.contact-form-card {
    background: white;
    border-radius: 25px;
    border: none;
    box-shadow: 0 15px 50px rgba(0,102,204,0.1);
    overflow: hidden;
    position: relative;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0066CC, #00aaff);
}

/* Botón mejorado para contacto */
.btn-send {
    background: linear-gradient(135deg, #0066CC, #00aaff);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0,102,204,0.3);
    position: relative;
    overflow: hidden;
}

.btn-send::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,102,204,0.4);
    background: linear-gradient(135deg, #004C99, #0066CC);
    color: white;
}

.btn-send:hover::before {
    left: 100%;
}

/* Títulos de sección mejorados para contacto */
.contact-section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    color: #0066CC;
    font-weight: 700;
    font-size: 2rem;
}

.contact-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #00aaff);
    border-radius: 2px;
}

/* Mapa mejorado */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,102,204,0.1);
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,102,204,0.15);
}

/* Efectos adicionales para contacto */
.contact-info-content h4 {
    color: #0066CC;
    font-weight: 700;
}

.contact-info-content p {
    color: #6c757d;
    margin-bottom: 5px;
}

/* RESPONSIVE PARA CONTACTO */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-section-title {
        font-size: 1.5rem;
    }
    
    .circle-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
}

/* ============================================
   FIN ESTILOS CONTACTO.HTML
   ============================================ */

/* ============================================
   ESTILOS ESPECÍFICOS DE FARMACOVIGILANCIA.HTML
   ============================================ */

/* Banner principal mejorado */
.main-banner {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 50%, #0088ff 100%);
    color: white;
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: float 20s infinite linear;
}

.main-banner h1, .main-banner p {
    position: relative;
    z-index: 2;
}

.main-banner h1 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.main-banner p {
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Tarjetas informativas mejoradas - COMENTADO PARA EVITAR CONFLICTO CON SINGLE-PRODUCTO.PHP */
/*
.info-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    border: none;
    box-shadow: 0 8px 25px rgba(0,102,204,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #00aaff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,102,204,0.15);
}

.info-card:hover::before {
    transform: scaleX(1);
}
*/

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066CC, #00aaff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0,102,204,0.3);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.info-card:hover .card-icon::before {
    animation: shine 1s ease-in-out;
}

.card-icon i {
    color: white;
    font-size: 2.2rem;
    z-index: 2;
    position: relative;
}

/* Sección de experiencia mejorada */
.experience-section {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 170, 255, 0.12) 100%);
    border: none;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,102,204,0.1);
}

.experience-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #0066CC, #00aaff);
    border-radius: 0 3px 3px 0;
}

.experience-section h3 {
    color: #0066CC;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.experience-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #00aaff);
    border-radius: 2px;
}

/* Opciones de notificación mejoradas */
.notification-options {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.notification-option {
    flex: 1;
    min-width: 200px;
}

.notification-option .form-check {
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.notification-option .form-check::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,102,204,0.1), transparent);
    transition: left 0.5s ease;
}

.notification-option .form-check:hover {
    border-color: #0066CC;
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,102,204,0.1);
}

.notification-option .form-check:hover::before {
    left: 100%;
}

.notification-option .form-check-input:checked + .form-check-label {
    color: #0066CC;
    font-weight: 700;
}

.notification-option .form-check-input:checked ~ * {
    border-color: #0066CC;
    background: rgba(0, 102, 204, 0.08);
}

/* Sección de contacto mejorada para farmacovigilancia */
.contact-card {
    background: white;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,102,204,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066CC, #00aaff);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,102,204,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066CC, #00aaff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0,102,204,0.3);
}

/* RESPONSIVE PARA FARMACOVIGILANCIA */
@media (max-width: 768px) {
    .main-banner {
        padding: 80px 0 60px 0;
    }
    
    .main-banner h1 {
        font-size: 2.5rem;
    }
    
    .notification-options {
        flex-direction: column;
    }
    
    .notification-option {
        min-width: 100%;
    }
    
    .experience-section {
        padding: 30px 20px;
    }
}

/* ============================================
   FIN ESTILOS FARMACOVIGILANCIA.HTML
   ============================================ */

/* ============================================
   ESTILOS ESPECÍFICOS DE NOSOTROS.HTML - CORREGIDOS
   ============================================ */

/* Variables */
:root {
    --primary-blue: #1976D2;
    --secondary-blue: #2196F3;
    --light-gray: #F5F5F5;
    --text-gray: #757575;
    --border-gray: #E0E0E0;
}

/* Hero Section - Fondo azul sólido */
.about-hero {
    background: #1976D2;
    color: white;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: white !important;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
    color: white !important;
    line-height: 1.8;
}

/* Sección de Estadísticas - Fondo blanco con caja azul */
.stats-section {
    background: white;
    padding: 80px 0;
}

.stats-highlight {
    background: #1976D2;
    color: white !important;
    border-radius: 30px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-item {
    position: relative;
    z-index: 2;
    padding: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    color: white !important;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: white !important;
}

.stat-sublabel {
    font-size: 0.9rem;
    opacity: 0.85;
    color: white !important;
}

/* Sección Timeline - Fondo gris claro */
.timeline-section {
    background: #F5F5F5;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1976D2;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1976D2;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #757575;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

/* Timeline mejorado */
.timeline {
    position: relative;
    padding-left: 80px;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #1976D2;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #E0E0E0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -62px;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    border: 4px solid #1976D2;
    box-shadow: 0 0 0 4px white;
}

.timeline-year {
    color: #1976D2;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 2px solid #1976D2;
    border-radius: 25px;
    background: white;
}

.timeline-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #424242;
}

/* Sección Misión-Visión - Fondo blanco */
.mission-vision {
    padding: 80px 0;
    background: white;
}

.mission-vision-card {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #1976D2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.3);
}

.card-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.card-title {
    color: #1976D2;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-text {
    color: #616161;
    font-size: 1rem;
    line-height: 1.7;
}

/* Valores - Diseño simple */
.values-container {
    margin-top: 2rem;
}

.value-card {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #E0E0E0;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #1976D2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.value-icon i {
    color: white;
    font-size: 1.8rem;
}

.value-title {
    color: #1976D2;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* CTA - Fondo azul */
.cta {
    background: #1976D2;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white !important;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 300;
    color: white !important;
}

.cta-button {
    background: white;
    color: #1976D2;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #1976D2;
}

/* Animaciones */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0 40px;
        padding-top: 120px;
        min-height: 280px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .timeline {
        padding-left: 50px;
    }
    
    .timeline-item::before {
        left: -42px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }

    .stats-section {
        padding: 40px 0;
    }

    .timeline-section {
        padding: 40px 0;
    }

    .mission-vision {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .timeline {
        padding-left: 35px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: -28px;
    }
}

.about-hero {
    background: linear-gradient(180deg, #1976d2 0%, #2196f3 100%);
    color: white;
    padding: 80px 0 60px 0;
    padding-top: 140px;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
}

/* Título principal de la página Sobre Nosotros */
.about-hero .hero-title {
    font-weight: 700;
    font-size: 5rem !important;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.about-hero .hero-subtitle {
    font-size: 1.25rem !important;
    max-width: 950px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}


/* ============================================
   FIN ESTILOS NOSOTROS.HTML
   ============================================ */

/*
/* ============================================
   INICIO ESTILOS NAVBAR FIJO
   ============================================ */

body {
    padding-top: 110px; /* ajusta si tu navbar es más alto o más bajo */
}

/* ============================================
   FIN ESTILOS NAVBAR FIJO
   ============================================ */
/* ============================================
   PRODUCTOS.CSS - ESTILOS COMBINADOS (ARCHIVO Y SINGLE)
   ============================================ */

/*
 * NOTA: Los colores dinámicos (como el fondo del hero y el badge) 
 * ahora se manejan con estilos in-line en archive-producto.php
 * y con variables CSS en single-producto.php.
 */

/* ============================================
   ESTILOS GENERALES Y HERO (APLICAN AL ARCHIVO)
   ============================================ */

.products-hero {
    /* La URL y los colores de background se manejan en PHP para el archivo */
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(61, 79, 162, 0.9) 100%), 
                url('../imagenes/slide21.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    min-height: 35vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Partículas flotantes y overlay (Del demo) */
.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 10% 20%, white, transparent),
        radial-gradient(4px 4px at 25% 10%, white, transparent),
        radial-gradient(3px 3px at 40% 30%, white, transparent),
        radial-gradient(2px 2px at 15% 50%, white, transparent),
        radial-gradient(4px 4px at 60% 15%, white, transparent),
        radial-gradient(3px 3px at 75% 35%, white, transparent),
        radial-gradient(2px 2px at 50% 55%, white, transparent),
        radial-gradient(3px 3px at 85% 25%, white, transparent),
        radial-gradient(4px 4px at 30% 65%, white, transparent),
        radial-gradient(2px 2px at 70% 70%, white, transparent),
        radial-gradient(3px 3px at 90% 50%, white, transparent),
        radial-gradient(4px 4px at 20% 80%, white, transparent);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    animation: float-particles 25s ease-in-out infinite;
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

@keyframes float-particles {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    25% { transform: translate(-15px, -15px) scale(1.1); opacity: 0.9; }
    50% { transform: translate(-8px, -25px) scale(0.95); opacity: 0.8; }
    75% { transform: translate(-20px, -12px) scale(1.05); opacity: 0.85; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
}

.products-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.products-hero .container { position: relative; z-index: 3; }

.products-hero h1 { color: #ffffff !important; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }

.products-hero .lead { color: #ffffff !important; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); }

/* Fondo del contenido */
.products-content {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 90px);
}

/* Título de sección */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: #0066cc;
    font-weight: 700;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, rgba(0, 102, 204, 0.3));
    border-radius: 2px;
}

/* Botones de categoría (El color dinámico está en PHP, esto es el layout) */
.category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* ESTILOS DE LA TARJETA DE PRODUCTO (ARCHIVO) */
.product-card {
    border: none !important;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.product-img-container {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect */
.product-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.product-card:hover .product-img-container::before {
    left: 100%;
}

.product-img-container img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-container img {
    transform: scale(1.05);
}

/* Sidebar */
.sidebar-widget {
    border-radius: 20px;
    overflow: hidden;
    border: none !important;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-box {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: white;
}

.search-button {
    background: linear-gradient(135deg, #0066cc, #4d94ff);
    color: white;
    padding: 15px 25px;
    border: none;
    transition: all 0.3s ease;
}

/* ============================================
   ESTILOS DE DETALLE DE PRODUCTO (SINGLE-PRODUCTO.PHP)
   ============================================ */

/* Hero Section */
.product-detail-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    /* Color de fondo viene de la variable CSS --category-primary-color */
    position: relative;
    overflow: hidden;
}

.product-image-large {
    min-height: 300px; /* Asegura que la caja blanca sea visible */
    max-height: 400px;
    /* Sombra y esquinas para la imagen */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    /* Ajustes para el Flex en la plantilla */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-large img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Pestañas de detalle (Tabs) */
.tabs-container {
    border: 1px solid #e9ecef;
    padding: 20px;
}

.tabs-container .nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.tabs-container .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
    margin-right: 20px;
}

.tabs-container .nav-link.active {
    /* Color de borde inferior y texto vienen de la variable CSS --category-primary-color */
    border-bottom-color: var(--category-primary-color) !important;
    color: var(--category-primary-color) !important;
}

.tabs-container .nav-link:hover {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.product-content-html {
    /* Estilos para el contenido de los ACF fields */
    font-size: 1rem;
    line-height: 1.8;
}

.product-content-html h4 {
    color: #333;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.product-content-html ul {
    padding-left: 20px;
    list-style: disc;
}

.product-content-html p, .product-content-html li {
    margin-bottom: 0.8rem;
}

/* Sidebar Info Box */
.info-box-title {
    color: #333; /* El color dinámico está en la plantilla PHP */
    font-size: 1.1rem;
}

/* Estilos de alerta para Contraindicaciones / Advertencias */
.alert-danger { background-color: #fce4e4; border-color: #e74c3c; }
.alert-warning { background-color: #fff3e0; border-color: #f39c12; }
.alert-info { background-color: #e3f2fd; border-color: #3498db; }

.alert-heading { font-size: 1.1rem; }

/* ============================================
   ESTILOS ESPECÍFICOS PARA PRODUCTOS (SINGLE Y ARCHIVE)
   ============================================ */

/* Estilos para single-producto.php */
.product-hero {
    background-color: #17a2b8;
    min-height: 300px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    animation: float 20s infinite linear;
}

.product-hero h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-detail-page {
    background-color: #f8f9fa;
    min-height: 60vh;
}

.product-detail-container {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.product-detail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--producto-color, #17a2b8), rgba(23, 162, 184, 0.3));
}

/* Contenedor de imagen mejorado */
.product-image-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.product-image-container:hover::before {
    left: 100%;
}

.product-image-container img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.product-image-container:hover img {
    transform: scale(1.03);
}

/* Títulos de sección mejorados */
.product-detail-container h3 {
    color: var(--producto-color, #17a2b8);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.product-detail-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--producto-color, #17a2b8);
    border-radius: 2px;
}

/* Botón de volver mejorado */
.btn-outline-primary {
    border: 2px solid var(--producto-color, #17a2b8);
    color: var(--producto-color, #17a2b8);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: var(--producto-color, #17a2b8);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contenido del producto */
.text-muted {
    line-height: 1.7;
    color: #6c757d;
}

.text-muted p {
    margin-bottom: 1rem;
}

.text-muted ul {
    padding-left: 1.5rem;
}

.text-muted li {
    margin-bottom: 0.5rem;
}

/* Responsive para productos */
@media (max-width: 768px) {
    .product-hero {
        padding: 2rem 0;
    }
    
    .product-detail-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .product-image-container {
        padding: 1.5rem;
    }
}

/* ============================================
   FIN ESTILOS PRODUCTOS
   ============================================ */

/* Responsive */
@media (max-width: 992px) {
    .product-detail-hero .row {
        flex-direction: column;
    }
    .col-lg-7, .col-lg-5 {
        order: 1 !important;
    }
    .product-image-large {
        min-height: 250px;
        max-height: 350px;
    }
}

@media (max-width: 768px) {
    .products-hero {
        min-height: 25vh;
    }
    
    .product-detail-hero {
        min-height: 200px;
    }
    
    .product-image-large {
        min-height: 200px;
        max-height: 300px;
    }
}

/* Asegurar que las tarjetas mantengan el layout Bootstrap */
.row > .col-lg-4 {
    display: flex;
    margin-bottom: 30px;
}

.product-card {
    width: 100%;
}

/* ============================================
   ESTILOS GLOBALES PARA ICONOS
   ============================================ */

/* Iconos blancos en hero sections y headers con fondo de color */
.hero .bi,
.product-hero .bi,
.products-hero .bi,
.bg-primary .bi {
    color: white !important;
}

/* Iconos en tarjetas con fondo claro - color primario */
.card-title .bi,
.info-card-title .bi,
.feature-icon .bi {
    color: var(--bs-primary, #0066cc) !important;
}

/* Iconos en alertas - heredan color de alerta */
.alert-warning .bi {
    color: #856404 !important;
}

.alert-danger .bi {
    color: #721c24 !important;
}

.alert-info .bi {
    color: #0c5460 !important;
}

.alert-success .bi {
    color: #155724 !important;
}

/* Iconos en badges */
.badge .bi {
    color: white !important;
}

/* Asegurar contraste en breadcrumbs */
.breadcrumb .bi {
    color: inherit;
}

        margin-top: 20px;
    }
}