/* Slogans Section */
.slogans-section {
    background-color: #C5B7AA !important;
    padding: var(--spacing-3xl) 0;
    margin: 0 !important;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Efecto sutil de textura en el fondo */
.slogans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239C8B7A' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: -1;
}

/* Título de la sección */
.slogans-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.slogans-section .section-title {
    color: var(--color-dark-brown);
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.slogans-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-gold);
}

.slogans-section .section-subtitle {
    color: var(--color-medium-brown);
    font-size: var(--font-size-lg);
    font-family: var(--font-body);
    margin-top: var(--spacing-xl);
}

/* Contenedor del slider - SIN FONDO BLANCO */
.slogans-slider {
    position: relative;
    height: 180px; /* Altura suficiente para la animación */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
}

/* Esloganes individuales - DIRECTAMENTE SOBRE EL FONDO BEIGE */
.slogan-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 0 var(--spacing-xl);
}

.slogan-slide.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.slogan-slide:not(.active) {
    opacity: 0;
    pointer-events: none;
}

/* Texto del eslogan - SIN FONDO BLANCO */
.slogan-text {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    color: var(--color-dark-brown);
    text-align: center;
    font-style: italic;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Efecto especial para el texto activo */
.slogan-slide.active .slogan-text {
    font-size: var(--font-size-3xl);
    color: var(--color-dark-brown);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
}

/* Líneas decorativas a los lados del texto activo */
.slogan-slide.active .slogan-text::before,
.slogan-slide.active .slogan-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold));
    opacity: 0.6;
}

.slogan-slide.active .slogan-text::before {
    left: -100px;
    transform: translateY(-50%);
}

.slogan-slide.active .slogan-text::after {
    right: -100px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* Indicadores (dots) - ESTILIZADOS */
.slogans-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.slogan-dot {
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background-color: transparent;
    border: 2px solid var(--color-medium-brown);
    cursor: pointer;
    transition: all var(--transition-normal);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.slogan-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 8px;
    height: 8px;
    background-color: var(--color-dark-brown);
    border-radius: 50%;
    transition: transform var(--transition-normal);
}

.slogan-dot.active {
    border-color: var(--color-dark-brown);
    transform: scale(1.2);
}

.slogan-dot.active::before {
    transform: translate(-50%, -50%) scale(1);
}

.slogan-dot:hover {
    border-color: var(--color-gold);
    transform: scale(1.1);
}

.slogan-dot:hover::before {
    background-color: var(--color-gold);
    transform: translate(-50%, -50%) scale(1);
}

/* Animación para el eslogan activo */
@keyframes sloganFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slogan-slide.active .slogan-text {
    animation: sloganFadeIn 1s ease-out;
}

@keyframes subtleGlow {
    0%, 100% {
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
    }
    50% {
        text-shadow: 2px 2px 10px rgba(182, 151, 73, 0.3);
    }
}

.slogan-slide.active .slogan-text {
    animation: sloganFadeIn 1s ease-out, subtleGlow 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .slogans-slider {
        height: 160px;
    }
    
    .slogan-text {
        font-size: var(--font-size-xl);
    }
    
    .slogan-slide.active .slogan-text {
        font-size: var(--font-size-2xl);
    }
    
    .slogan-slide.active .slogan-text::before,
    .slogan-slide.active .slogan-text::after {
        width: 50px;
    }
    
    .slogan-slide.active .slogan-text::before {
        left: -70px;
    }
    
    .slogan-slide.active .slogan-text::after {
        right: -70px;
    }
}

@media (max-width: 768px) {
    .slogans-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .slogans-slider {
        height: 140px;
    }
    
    .slogan-slide {
        padding: 0 var(--spacing-lg);
    }
    
    .slogan-text {
        font-size: var(--font-size-lg);
    }
    
    .slogan-slide.active .slogan-text {
        font-size: var(--font-size-xl);
    }
    
    /* Ocultar líneas decorativas en móviles */
    .slogan-slide.active .slogan-text::before,
    .slogan-slide.active .slogan-text::after {
        display: none;
    }
    
    .slogans-section .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .slogans-section .section-subtitle {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .slogans-slider {
        height: 120px;
    }
    
    .slogan-text {
        font-size: var(--font-size-lg);
        line-height: 1.3;
    }
    
    .slogan-slide.active .slogan-text {
        font-size: var(--font-size-lg);
    }
    
    .slogans-dots {
        margin-top: var(--spacing-xl);
    }
    
    .slogan-dot {
        width: 12px;
        height: 12px;
    }
    
    .slogan-dot::before {
        width: 6px;
        height: 6px;
    }
}