/* Estilos generales */
/* Paleta global importada desde styles-products.css para unificar colores */
:root {
    --prod-blue-dark: #082034;
    --prod-blue: #0d47a1;
    --prod-blue-accent: #1565c0;
    --prod-blue-soft: #1e5fb8;
    --prod-gray: #95a5b3;
    --prod-gray-dark: #7a8a98;
    --prod-bg: #f5f7fa;
    --prod-panel: #ffffff;
    --prod-text: #1b2e40;
    --prod-text-mid: #4a5d70;
    --prod-text-light: #e6edf5;
    --prod-text-light-alt: #cfd9e4;
    --prod-border: #e0e6ed;
    --prod-gradient-side: linear-gradient(180deg, var(--prod-blue-dark) 0%, #103454 100%);
    --prod-gradient-btn-gray: linear-gradient(135deg, var(--prod-gray) 0%, var(--prod-gray-dark) 100%);
    --prod-gradient-btn-blue: linear-gradient(135deg, var(--prod-blue) 0%, var(--prod-blue-accent) 100%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ------------------------------------
------Header o menu de navegación------
------------------------------------ */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background: linear-gradient(135deg, var(--prod-blue-dark) 0%, var(--prod-blue-soft) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 90px;
}

/* Logo con imagen */
.logo {
    display: flex;
    align-items: center;
    height: 80px; /* aumentado */
}

.logo-img {
    height: 70px; /* aumentado */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}


/* Navegación */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 20px;
    transform: scale(1);
}

nav a:hover {
    color: var(--prod-blue-accent);
    background-color: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: #95a5a6;
    border-radius: 10px 10px 0 0;
    opacity: 0;
    transition: all 0.3s ease;
}

nav a:hover::after {
    opacity: 1;
    bottom: -2px;
}

/* Menú hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    transform: scale(1);
    transition: transform 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.hamburger:hover,
.hamburger:active,
.hamburger:focus {
    transform: scale(1.1);
    outline: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 3px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Ajustes responsive para el logo */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    header {
        padding: 0 1rem;
    }
    
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    nav ul {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 999;
        border-bottom: 3px solid #3498db;
        backdrop-filter: blur(10px);
    }

    nav.active ul {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav li {
        margin: 0.8rem 0;
        width: 80%;
        text-align: center;
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    nav.active li {
        transform: translateY(0);
        opacity: 1;
    }
    
    nav.active li:nth-child(1) { transition-delay: 0.1s; }
    nav.active li:nth-child(2) { transition-delay: 0.2s; }
    nav.active li:nth-child(3) { transition-delay: 0.3s; }
    nav.active li:nth-child(4) { transition-delay: 0.4s; }

    nav a {
        display: block;
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    }

    nav a::after {
        display: none;
    }

    nav a:hover {
        background-color: rgba(21,101,192,0.25);
        color: var(--prod-blue-accent);
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
}

/* ---------------------------------
---------- CARRUSEL ----------------
------------------------------------*/


.carousel-section {
    width: 100%;
    height: 90vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    padding: 0;
    background: linear-gradient(135deg, rgba(230, 233, 237, 0.1) 0%, rgba(165, 180, 201, 0.1) 100%); /* Fondo más transparente */
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Ocupa todo el ancho */
    height: 100%;
    z-index: 1;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: filter 0.5s ease;
}

.slide:hover .slide-image img {
    filter: brightness(0.75);
}

.slide-content {
    width: 50%;
    padding: 3rem 6rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85); /* Más transparente */
    backdrop-filter: blur(10px);
    margin-right: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.3); /* Borde sutil para separación */
}

.slide-content h2 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.3rem;
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--prod-gradient-btn-blue);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(13,71,161,0.35);
    transform: scale(1);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    align-self: flex-start;
}

.cta-button:hover,
.cta-button:active,
.cta-button:focus {
    background: var(--prod-blue-accent);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(21,101,192,0.45);
    color: white;
    text-decoration: none;
    outline: none;
}

/* Efecto de overlay para mejor legibilidad */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.4) 100%
    ); /* Gradiente horizontal para mejor contraste */
    z-index: 1;
    pointer-events: none;
}

/* Asegurar que la imagen sea completamente visible */
.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


/* Responsive para carrusel pantalla completa */
@media (max-width: 1200px) {
    .slide-content {
        padding: 3rem 4rem;
        width: 55%; /* Un poco más ancho en tablets */
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .carousel-section {
        height: 80vh;
    }
    
    .slide {
        flex-direction: column;
        justify-content: flex-end;
    }
    
    .slide-image {
        position: absolute;
        width: 100%;
    }
    
    .slide-content {
        width: 100%;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.85);
        height: auto;
        min-height: 60%;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.4); /* Borde superior en móvil */
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        align-self: center;
        width: auto; /* Ancho automático en móviles */
        min-width: 200px;
        text-align: center;
    }
    
    /* Ajustar overlay para móvil */
    .slide::before {
        background: linear-gradient(
            to bottom, 
            rgba(0, 0, 0, 0.2) 0%, 
            rgba(0, 0, 0, 0.4) 100%
        ); /* Gradiente vertical para móvil */
    }
}


@media (max-width: 480px) {
    .carousel-section {
        height: 70vh;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

.prev-btn {
    left: 3rem;
}

.next-btn {
    right: 3rem;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    transform: scale(1);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.indicator.active {
    background: #3498db;
    transform: scale(1.3);
    border-color: white;
}

.indicator:hover,
.indicator:active,
.indicator:focus {
    background: #3498db;
    transform: scale(1.2);
    outline: none;
}

/* Efecto de overlay para mejor legibilidad */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
}

.slide-image {
    position: relative;
    z-index: 2;
}

/* Animación de entrada para el contenido */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide.active .slide-content {
    animation: slideInUp 0.9s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.slide.active .slide-content h2 {
    animation: slideInUp 1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.1s both;
}

.slide.active .slide-content p {
    animation: slideInUp 1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.2s both;
}

.slide.active .slide-content .cta-button {
    animation: slideInUp 1s cubic-bezier(0.4, 0.0, 0.2, 1) 0.3s both;
}

/* Responsive para carrusel pantalla completa */
@media (max-width: 1200px) {
    .slide {
        padding: 0 4rem;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .carousel-section {
        height: 80vh;
    }
    
    .slide {
        flex-direction: column;
        justify-content: flex-end;
    }
    
    .slide-image {
        position: absolute;
    }
    
    .slide-content {
        width: 100%;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.95);
        height: auto;
        min-height: 60%;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
    }
    
    .carousel-btn:hover,
    .carousel-btn:active,
    .carousel-btn:focus {
        background: #3498db;
        color: white;
        transform: translateY(-50%) scale(1.1);
    }

    .prev-btn {
        left: 1rem;
    }

    .next-btn {
        right: 1rem;
    }
    
    .carousel-indicators {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .carousel-section {
        height: 70vh;
    }
    
    .slide {
        padding: 2rem 1rem;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-image {
        height: 35%;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* ---------------------------------
---------- SECCIÓN PRODUCTOS --------
------------------------------------*/

.productos-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.productos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.productos-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.productos-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #3a7bd5);
    border-radius: 2px;
}

.productos-header h2 {
    font-size: 2.8rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.productos-header h2 strong {
    font-weight: 600;
    color: #2c5aa0;
}

.productos-header .subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
}

.productos-divider {
    width: 60px;
    height: 2px;
    background: #e0e0e0;
    margin: 25px auto;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.categoria-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.categoria-imagen {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.categoria-contenido {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.categoria-nombre {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.categoria-descripcion {
    color: #7f8c8d;
    margin-bottom: 20px;
    text-align: center;
    flex-grow: 1;
    line-height: 1.6;
}

.btn-ver-productos {
    background: var(--prod-gradient-btn-blue);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.btn-ver-productos:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13,71,161,0.4);
}

/* Responsive para productos */
@media (max-width: 992px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .productos-header h2 {
        font-size: 2.2rem;
    }
    
    .productos-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .productos-header h2 {
        font-size: 1.8rem;
    }
    
    .categoria-contenido {
        padding: 20px 15px;
    }
    
    .categoria-nombre {
        font-size: 1.2rem;
    }
}

/* ---------------------------------
---------- SECCIÓN NOSOTROS --------
------------------------------------*/

.nosotros-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.nosotros-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.nosotros-section .container {
    position: relative;
    z-index: 2;
}

.nosotros-header {
    text-align: center;
    margin-bottom: 60px;
}

.nosotros-header h2 {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.nosotros-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--prod-gradient-btn-blue);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(13,71,161,0.35);
}

.nosotros-header .subtitle {
    font-size: 1.4rem;
    color: #6c757d;
    margin-top: 25px;
    font-style: italic;
    text-shadow: none;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nosotros-texto {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    max-width: 800px;
}

.nosotros-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: left;
    padding: 0 20px;
}

.nosotros-texto p:last-child {
    margin-bottom: 0;
}

.nosotros-texto p strong {
    color: #667eea;
    font-weight: 700;
}

.nosotros-imagen {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nosotros-imagen .imagen-nosotros {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.nosotros-imagen .imagen-nosotros:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .nosotros-section {
        padding: 60px 0;
    }
    
    .nosotros-header h2 {
        font-size: 2.5rem;
    }
    
    .nosotros-header .subtitle {
        font-size: 1.2rem;
    }
    
    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        margin: 0 20px;
    }
    
    .nosotros-texto {
        padding: 35px 30px;
        max-width: 100%;
        margin: 0;
    }
    
    .nosotros-texto p {
        font-size: 1rem;
        padding: 0 10px;
        text-align: left;
    }
}

/* ===============================================
   TIMELINE STYLES
   =============================================== */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--prod-gradient-btn-blue);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--prod-blue);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(13,71,161,0.3);
}

.timeline-year {
    display: inline-block;
    background: var(--prod-gradient-btn-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-content h3 i {
    color: #3498db;
}

.timeline-content p {
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

/* ===============================================
   VALORES SECTION
   =============================================== */
.valores h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.valores h3 i {
    color: #e74c3c;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.valor-item {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.valor-icon {
    width: 60px;
    height: 60px;
    background: var(--prod-gradient-btn-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.valor-icon i {
    color: white;
    font-size: 1.5rem;
}

.valor-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.valor-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ===============================================
   LOGO Y STATS SECTION
   =============================================== */
.nosotros-imagen {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.logo-container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.empresa-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.logo-info h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.slogan {
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
}

.stats-container {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-container h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.stats-container h4 i {
    color: #27ae60;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--prod-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #5a6c7d;
    font-weight: 500;
}

/* ===============================================
   CERTIFICATIONS SECTION
   =============================================== */
.certifications {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.certifications h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.certifications h4 i {
    color: #f39c12;
}

.cert-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.cert-badge i {
    color: #27ae60;
    font-size: 1.1rem;
}

.cert-badge span {
    color: #2c3e50;
    font-weight: 500;
}

.carrusel-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carrusel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
}

.carrusel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.control-btn.active {
    background-color: white;
    transform: scale(1.2);
}

.control-btn:hover {
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .nosotros-section {
        padding: 60px 0 40px;
    }
    
    .nosotros-header h2 {
        font-size: 2.2rem;
    }
    
    .nosotros-header .subtitle {
        font-size: 1.1rem;
    }
    
    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline {
        padding-left: 25px;
    }
    
    .timeline::before {
        left: 12px;
    }
    
    .timeline-item {
        padding-left: 35px;
    }
    
    .timeline-item::before {
        left: -6px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-badges {
        gap: 8px;
    }
    
    .empresa-logo {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .nosotros-header h2 {
        font-size: 1.8rem;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-year {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .valor-icon {
        width: 50px;
        height: 50px;
    }
    
    .valor-icon i {
        font-size: 1.3rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* ---------------------------------
---------- SECCIÓN MARCAS ----------
------------------------------------*/

.brands-section {
    padding: 4rem 2rem;
    background: white;
    overflow: hidden;
}

.brands-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 700;
}

.brands-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brands-track {
    display: flex;
    animation: scrollBrands 30s linear infinite;
    width: max-content;
}

.brand-item {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    transform: scale(1);
}

.brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%); /* ← ESTA LÍNEA QUITA EL EFECTO AL HACER HOVER */
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .brands-section {
        padding: 3rem 1rem;
    }
    
    .brands-section h2 {
        font-size: 1.5rem;
    }
    
    .brand-item {
        width: 120px;
        height: 60px;
        margin: 0 1rem;
    }
    
    @keyframes scrollBrands {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
}

/* ---------------------------------
---------- SECCIÓN CONTACTO --------
------------------------------------*/

.contact-section {
    padding: 5rem 2rem;
    background: #F2F2F2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    transform: scale(1);
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--prod-gradient-btn-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    transform: scale(1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-info {
    text-align: left;
}

.info-item {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s ease;
    transform: scale(1);
}

.info-item:hover {
    transform: scale(1.02);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item strong {
    display: block;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.info-item span, .info-item a {
    color: #555;
    font-size: 1rem;
}

.info-item a {
    color: var(--prod-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
}

.info-item a:hover {
    text-decoration: underline;
    transform: scale(1.05);
}

.whatsapp-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg,#2ecc71,#27ae60);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    transform: scale(1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: scale(1.05);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
}

/* ---------------------------------
------- FOOTER ELEGANTE ------------
------------------------------------*/

.elegant-footer {
    background: linear-gradient(135deg, var(--prod-blue-dark) 0%, var(--prod-blue-soft) 100%);
    color: #ecf0f1;
    padding: 3rem 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

.follow-section {
    text-align: center;
}

.footer-section h3 {
    color: var(--prod-text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.footer-section h4 {
    color: var(--prod-text-light-alt);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.footer-section p {
    color: var(--prod-text-light-alt);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.contact-info p, .schedule-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
    transform: scale(1);
}

.contact-info p:hover, .schedule-info p:hover {
    transform: scale(1.02);
}

.contact-info i {
    color: var(--prod-text-light);
    min-width: 20px;
    transition: transform 0.3s ease;
}

.contact-info p:hover i, .schedule-info p:hover i {
    transform: scale(1.2);
}

.schedule-info strong {
    color: var(--prod-gray);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(52, 73, 94, 0.7);
    border-radius: 10px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(1);
}

.social-link:hover {
    background: var(--prod-blue);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(13,71,161,0.35);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--prod-blue), transparent);
}

.footer-bottom p {
    color: var(--prod-text-light-alt);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .elegant-footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .contact-info p, .schedule-info p {
        justify-content: center;
    }
    
    .footer-bottom::before {
        width: 150px;
    }
}

/* Responsive para footer */
@media (max-width: 768px) {
    header {
        position: relative;
    }
}

/* ===========================================
   SECCIÓN MÉTODOS DE PAGO
   =========================================== */

.metodos-pago-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #e8eaf0 0%, #d4d7e0 100%);
    position: relative;
    overflow: hidden;
}

.metodos-pago-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.6;
}

.metodos-pago-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.metodos-pago-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--prod-blue-dark);
    margin-bottom: 1rem;
}

.subtitle-pago {
    font-size: 1.2rem;
    color: #546e7a;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.metodos-pago-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.pago-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.pago-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.pago-icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pago-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pago-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--prod-blue-dark);
    margin-bottom: 15px;
}

.pago-card p {
    font-size: 1rem;
    color: #546e7a;
    line-height: 1.6;
}

.pago-footer-info {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 71, 161, 0.1);
    position: relative;
    z-index: 1;
}

.pago-footer-info i {
    font-size: 2rem;
    color: #4caf50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pago-footer-info p {
    font-size: 1rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .metodos-pago-section {
        padding: 60px 20px;
    }
    
    .metodos-pago-header h2 {
        font-size: 2rem;
    }
    
    .subtitle-pago {
        font-size: 1rem;
    }
    
    .metodos-pago-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pago-icon-container {
        width: 100px;
        height: 100px;
    }
    
    .pago-card {
        padding: 30px 20px;
    }
    
    .pago-footer-info {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
    
    .pago-footer-info p {
        font-size: 0.9rem;
    }
}

/* ===========================================
   SECCIÓN BENEFICIOS DE SERVICIO
   =========================================== */

.beneficios-servicio-section {
    padding: 0;
    background: linear-gradient(135deg, #f4d03f 0%, #e5c33d 100%);
    position: relative;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 100%;
    margin: 0;
}

.beneficio-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f4d03f 0%, #e5c33d 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.beneficio-item:last-child {
    border-right: none;
}

.beneficio-item:hover {
    background: linear-gradient(135deg, #e5c33d 0%, #d4b02c 100%);
    transform: scale(1.02);
}

.beneficio-icon {
    font-size: 3.5rem;
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beneficio-icon i {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.beneficio-content {
    text-align: left;
    color: #ffffff;
}

.beneficio-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.beneficio-content p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 1200px) {
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .beneficio-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .beneficio-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .beneficio-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    .beneficio-item {
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .beneficio-item:last-child {
        border-bottom: none;
    }
    
    .beneficio-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .beneficio-content {
        text-align: center;
    }
    
    .beneficio-content h3 {
        font-size: 0.95rem;
    }
    
    .beneficio-content p {
        font-size: 0.85rem;
    }
}

/* ===========================================
   MEJORAS PARA SECCIÓN "¿POR QUÉ COMPRAR CON NOSOTROS?"
   =========================================== */

.servicios-info {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.titulo-servicio {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.subtitulo-servicio {
    font-size: 1.2rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start; /* Alinea todos los elementos al inicio */
}

.servicio-item {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%; /* Asegura que todos tengan la misma altura */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.servicio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.icono-servicio {
    font-size: 3.5rem;
    color: var(--prod-blue);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.servicio-item:hover .icono-servicio {
    color: var(--prod-blue-accent);
    transform: scale(1.1);
}

.servicio-item p {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .servicios-info {
        padding: 60px 20px;
    }
    
    .titulo-servicio {
        font-size: 2.2rem;
    }
    
    .subtitulo-servicio {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr; /* 1 columna en móviles */
        gap: 20px;
        max-width: 500px;
    }
    
    .servicio-item {
        padding: 30px 20px;
    }
    
    .icono-servicio {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .titulo-servicio {
        font-size: 1.8rem;
    }
    
    .servicio-item p {
        font-size: 1rem;
    }
    
    .icono-servicio {
        font-size: 2.5rem;
    }
}

/* =======================
   HERO CARRUSEL MODERNO
   ======================= */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background: var(--bg) center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
    opacity: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::before {
    content:"";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.80) 100%);
    /* Sin backdrop-filter para máxima nitidez */
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    color: white;
    animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.7);
}

.hero-btn {
    padding: 1rem 2.5rem;
    background: var(--prod-gradient-btn-blue);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: .3s ease;
}

.hero-btn:hover {
    background: var(--prod-blue-accent);
    transform: translateY(-2px);
}

/* Flechas */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(6px);
    font-size: 1.5rem;
    color: white;
    transition: .3s;
}

.hero-nav:hover {
    background: rgba(255,255,255,0.5);
}

.hero-nav.prev {
    left: 2rem;
}

.hero-nav.next {
    right: 2rem;
}

/* Indicadores tipo barra */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .6rem;
    z-index: 10;
}

.hero-indicators span {
    width: 50px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: block;
}

.hero-indicators span.active::before {
    content:"";
    position: absolute;
    inset: 0;
    background: var(--prod-blue);
    animation: fillBar 4s linear forwards;
}

@keyframes fillBar {
    from { width:0%; }
    to { width:100%; }
}

@keyframes fadeUp {
    from { opacity:0; transform: translateY(40px); }
    to { opacity:1; transform: translateY(0); }
}

/* Responsivo */
@media (max-width:768px){
    .hero-content h1{
        font-size:2rem;
    }
    .hero-content p{
        font-size:1rem;
    }
}

/* ===== OVERRIDES HERO CARRUSEL (Mejor contraste + botón dorado) ===== */
.hero-slide::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.7) 100%);
}
.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: .5px;
    text-shadow: 0 4px 18px rgba(0,0,0,0.85), 0 0 6px rgba(212,175,55,0.35);
}
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.2rem;
    opacity: .95;
    text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
