:root {
    /* Colores de Marca Festiclick */
    --fc-primary: #2ab29b;
    --fc-primary-hover: #229481;
    --fc-grad-top: #36c5b1;
    --fc-grad-bottom: #1e4b8b;
    --fc-text-dark: #333333;
    --fc-text-muted: #888888;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--fc-grad-top) 0%, var(--fc-grad-bottom) 100%);
    background-attachment: fixed;
    color: var(--fc-text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* --- ESTILOS NAVBAR Y WHATSAPP --- */
.navbar-festi {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.img-festi {
    max-height: 45px;
}

.nav-link {
    color: var(--fc-text-dark) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--fc-primary) !important;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulso-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.btn-festi {
    background: var(--fc-primary);
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(42, 178, 155, 0.3);
}

.btn-festi:hover,
.btn-festi:focus:not(:disabled) {
    background: var(--fc-primary-hover);
    color: white;
    transform: translateY(-2px);
}

/* --- ESTILOS DE LA RULETA --- */
.glass-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.ruleta-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.marcador {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 35px solid var(--fc-primary);
    z-index: 10;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
}

.ruleta {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow: hidden;
    background: #e9ecef;
}

.ruleta-vacia-icono {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: auto;
    pointer-events: none;
}

.etiqueta-nombre {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    transform-origin: 0% 50%;
    padding-left: 35px;
    margin-top: -12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-25px);
    }

    60% {
        transform: translateY(-12px);
    }
}

.efecto-bounce {
    display: inline-block;
    animation: bounce 2s infinite;
}

canvas.confetti-canvas {
    z-index: 2000 !important;
}

/* --- NUEVO: ESTILOS DEL CARRUSEL Y FOOTER --- */
.showcase-banner {
    background: rgba(0, 0, 0, 0.4);
    /* Fondo un poco más oscuro para resaltar más */
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 0;
    /* Mayor espacio vertical (antes 15px) */
    color: white;
}

.thumb-proyecto {
    height: 90px;
    /* Imagen más grande (antes 55px) */
    width: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    /* Sombra más pronunciada */
}

.enlace-proyecto {
    color: #ffd700;
    font-weight: 600;
    font-size: 1.1rem;
    /* Texto más grande (antes 0.95rem) */
    text-decoration: none;
    transition: color 0.3s;
}

.enlace-proyecto:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer de Festiclick */
.footer-creditos {
    text-align: center;
    padding: 15px;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-creditos a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-creditos a:hover {
    color: var(--fc-primary);
}

/* Animación del latido para el corazón */
@keyframes latido {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }
}

.heart-icon {
    color: #ff4757;
    display: inline-block;
    animation: latido 1.2s infinite ease-in-out;
    margin: 0 4px;
}

/* Botón festi personalizado y responsivo */
.btn-festi-cotiza {
    background: linear-gradient(90deg, #dc2626, #3b82f6, #eab308);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

/* Hover animado */
.btn-festi-cotiza:hover {
    filter: brightness(1.1);
    transform: scale(1.03);
    color: white;
}

/* Ajustes de responsividad */
@media (max-width: 576px) {
    .btn-festi-cotiza {
        width: 100%;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}

/* --- ESTILOS PREGUNTAS FRECUENTES (FAQ) --- */
.faq-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--fc-primary-hover);
    background-color: rgba(42, 178, 155, 0.1);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    border-color: var(--fc-primary);
    box-shadow: 0 0 0 0.25rem rgba(42, 178, 155, 0.25);
}

.accordion-button {
    font-size: 1.05rem;
}

/* --- NUEVO: ANIMACIÓN PULSANTE PARA WHATSAPP --- */
@keyframes pulso-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}