/* ============================================
   CARRUSEL DE VIDEOS CON AUTORREPRODUCCIÓN
   Fondo blanco
   ============================================ */

.video-carousel-section {
    padding: 5rem 2rem;
    background: #ffffff;  /* CAMBIADO: fondo blanco sólido */
    position: relative;
    overflow: hidden;
}

/* Efecto decorativo de fondo - más sutil para fondo blanco */
.video-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(187,68,51,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.video-carousel-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, #bb4433, #f5adab, #e0e0e0, transparent);
}

.video-carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sugerencias-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #bb4433 0%, #781006 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(187,68,51,0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.sugerencias-floating-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(187,68,51,0.5);
    background: linear-gradient(135deg, #a33020 0%, #bb4433 100%);
}

.sugerencias-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.sugerencias-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.sugerencias-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #bb4433;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Tooltip */
.sugerencias-tooltip {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: white;
    border-radius: 12px;
    padding: 12px 18px;
    max-width: 280px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid #bb4433;
}

.sugerencias-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.tooltip-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #333;
}

.tooltip-content svg {
    width: 24px;
    height: 24px;
    stroke: #bb4433;
    flex-shrink: 0;
}

.tooltip-content span {
    line-height: 1.4;
}

/* Flecha del tooltip */
.sugerencias-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

/* Animaciones */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Animación de entrada del botón */
@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sugerencias-floating-btn {
    animation: slideInRight 0.5s ease-out;
}

/* Responsive - móvil */
@media (max-width: 768px) {
    .sugerencias-floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
    }
    
    .sugerencias-text {
        display: none;
    }
    
    .sugerencias-floating-btn {
        border-radius: 50%;
        padding: 14px;
    }
    
    .sugerencias-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .sugerencias-tooltip {
        bottom: 80px;
        right: 20px;
        max-width: 250px;
    }
    
    .sugerencias-badge {
        top: -5px;
        right: -5px;
        padding: 2px 6px;
        font-size: 0.6rem;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .sugerencias-floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 12px;
    }
}

.contact-section {
    background: linear-gradient(135deg, #fef5f5 0%, #e9ecef 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #bb4433, #f5adab, #bb4433);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Encabezado */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #bb4433;
    background: rgba(187,68,51,0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    margin-bottom: 1rem;
}

.contact-title {
    font-family: 'Bebas Neue', 'Anton', Impact, Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de dos columnas */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Columna de información */
.contact-info {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-info-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-info-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Items de contacto */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(187,68,51,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    stroke: #bb4433;
}

.contact-item:hover .contact-icon {
    background: #bb4433;
    transform: scale(1.05);
}

.contact-item:hover .contact-icon svg {
    stroke: white;
}

.contact-text {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 0.25rem;
}

.contact-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-value:hover {
    color: #bb4433;
}

.contact-note {
    display: block;
    font-size: 0.7rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Redes sociales */
.contact-social {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.social-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    stroke: #555;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #bb4433;
    transform: translateY(-3px);
}

.social-link:hover svg {
    stroke: white;
}

/* Mapa */
.contact-map {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.map-container {
    height: 350px;
    width: 100%;
}

.map-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fef5f5;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid #e0e0e0;
}

.map-note svg {
    width: 18px;
    height: 18px;
    stroke: #bb4433;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-section {
        padding: 3rem 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .map-container {
        height: 250px;
    }
}

/* Encabezado de la sección - colores ajustados para fondo blanco */
.video-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.video-section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #bb4433;  /* CAMBIADO: verde en lugar de dorado */
    background: rgba(187,68,51,0.08);  /* CAMBIADO: fondo verde muy claro */
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    margin-bottom: 1rem;
}

.video-section-title {
    font-family: 'Bebas Neue', 'Anton', Impact, Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #1a1a1a;  /* CAMBIADO: texto oscuro */
    margin-bottom: 1rem;
}

.video-section-subtitle {
    font-size: 1rem;
    color: #666666;  /* CAMBIADO: gris en lugar de blanco */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenedor del carrusel */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botones de navegación - ajustados para fondo blanco */
.carousel-nav-btn {
    background: rgba(187,68,51,0.1);  /* CAMBIADO: verde claro */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(187,68,51,0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: #bb4433;
    border-color: #bb4433;
    transform: scale(1.05);
}

.carousel-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: #bb4433;  /* CAMBIADO: verde */
}

.carousel-nav-btn:hover svg {
    fill: white;
}

/* Contenedor de slides */
.carousel-track-container {
    overflow: hidden;
    flex: 1;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
}

/* Slide individual - ajustado para fondo blanco */
.video-slide {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;  /* CAMBIADO: blanco */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);  /* CAMBIADO: sombra sutil */
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid #eef2f6;  /* CAMBIADO: borde gris claro */
}

.video-slide:hover {
    transform: translateY(-8px);
    border-color: #bb4433;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Slide activo (centro) */
.video-slide.active {
    border-color: #bb4433;
    box-shadow: 0 0 0 2px rgba(187,68,51,0.2), 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Contenedor del video */
.video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-slide:hover .video-container video {
    transform: scale(1.05);
}

/* Badge de reproducción activa */
.live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(187,68,51,0.95);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    backdrop-filter: blur(4px);
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #bb4433;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Overlay de silencio/mute */
.mute-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mute-indicator:hover {
    background: #bb4433;
    transform: scale(1.1);
}

.mute-indicator svg {
    width: 18px;
    height: 18px;
    fill: white;
}

/* Información del video - ajustado para fondo blanco */
.video-info {
    padding: 1rem 1.2rem 1.2rem;
    background: #ffffff;  /* CAMBIADO: blanco */
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;  /* CAMBIADO: texto oscuro */
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.video-badge {
    font-size: 0.65rem;
    font-weight: 600;
    background: linear-gradient(135deg, #bb4433, #781006);  /* CAMBIADO: verde */
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

.video-description {
    font-size: 0.75rem;
    color: #888888;  /* CAMBIADO: gris */
    line-height: 1.4;
    margin-top: 0.25rem;
}

/* Indicadores de página (dots) - ajustados */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 40px;
    height: 3px;
    background: #dddddd;  /* CAMBIADO: gris claro */
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #bb4433;  /* CAMBIADO: verde */
    width: 60px;
}

.carousel-dot:hover {
    background: rgba(187,68,51,0.5);
}

/* Control de auto-play - ajustado */
.autoplay-control {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.autoplay-btn {
    background: rgba(187,68,51,0.08);  /* CAMBIADO: verde claro */
    border: 1px solid rgba(187,68,51,0.2);
    border-radius: 99px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: #bb4433;  /* CAMBIADO: verde */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.autoplay-btn:hover {
    background: rgba(0, 99, 65, 0.15);
    border-color: #bb4433;
    color: #781006;
}

.autoplay-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Modal de video en grande (sin cambios) */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    width: 100%;
    max-height: 90vh;
}

.modal-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #bb4433;
    transform: scale(1.1);
}

.close-modal svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.modal-info {
    margin-top: 1rem;
    text-align: center;
}

.modal-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .video-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .video-carousel-section {
        padding: 3rem 1rem;
    }
    
    .video-slide {
        flex: 0 0 calc(100% - 0rem);
    }
    
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        display: none;
    }
    
    .carousel-nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-dot {
        width: 30px;
    }
    
    .carousel-dot.active {
        width: 45px;
    }
    
    .video-info {
        padding: 0.8rem;
    }
    
    .video-title {
        font-size: 0.9rem;
    }
}

/* Soporte para touch swipe en móvil */
@media (max-width: 768px) {
    .carousel-track-container {
        touch-action: pan-y pinch-zoom;
    }
}