/* ========================================
   VOCES DE PADRES — Floating Testimonials
   ======================================== */

.voces-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d1117 50%, #0a0a0a 100%);
}

.voces-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(81, 155, 233, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(212, 74, 89, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.voces-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.voces-header h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.voces-header .voces-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

.voces-stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 3rem;
    position: relative;
    z-index: 2;
}

.voces-stat {
    text-align: center;
}

.voces-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10B981 0%, #519BE9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.voces-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* ── Testimonial Cloud Container ── */
.voces-cloud {
    position: relative;
    min-height: 520px;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 1;
}

/* ── Hero Quote (center, always visible) ── */
.voces-hero-quote {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    max-width: 500px;
    padding: 2.5rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    animation: heroGlow 4s ease-in-out infinite;
}

.voces-hero-quote .voces-quote-icon {
    font-size: 2rem;
    color: #10B981;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.voces-hero-quote .voces-quote-text {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.7;
    font-weight: 500;
    font-style: italic;
}

.voces-hero-quote .voces-quote-author {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(16, 185, 129, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.voces-hero-quote .voces-quote-votes {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.35rem 0.9rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    color: #10B981;
    font-size: 0.8rem;
    font-weight: 600;
}

@keyframes heroGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.08), 0 20px 60px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(16, 185, 129, 0.15), 0 20px 60px rgba(0, 0, 0, 0.3);
    }
}

/* ── Floating Quotes (orbit around hero) ── */
.voces-float-quote {
    position: absolute;
    max-width: 280px;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    opacity: 0;
    animation: floatQuote 12s ease-in-out infinite;
    z-index: 5;
    transition: opacity 0.6s ease;
}

.voces-float-quote .voces-float-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-style: italic;
}

.voces-float-quote .voces-float-meta {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Positions for floating quotes */
.voces-float-quote:nth-child(1) { top: 2%; left: 2%; animation-delay: 0s; }
.voces-float-quote:nth-child(2) { top: 5%; right: 3%; animation-delay: 2s; }
.voces-float-quote:nth-child(3) { top: 65%; left: 0%; animation-delay: 4s; }
.voces-float-quote:nth-child(4) { top: 70%; right: 1%; animation-delay: 6s; }
.voces-float-quote:nth-child(5) { top: 30%; left: -2%; animation-delay: 1s; }
.voces-float-quote:nth-child(6) { top: 35%; right: -1%; animation-delay: 3s; }
.voces-float-quote:nth-child(7) { bottom: 2%; left: 15%; animation-delay: 5s; }
.voces-float-quote:nth-child(8) { bottom: 5%; right: 12%; animation-delay: 7s; }

@keyframes floatQuote {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    8% {
        opacity: 0.85;
        transform: translateY(0) scale(1);
    }
    40% {
        opacity: 0.85;
        transform: translateY(-5px) scale(1);
    }
    50% {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    100% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
}

/* ── Encuesta badge ── */
.voces-survey-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.voces-survey-badge span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.voces-survey-badge i {
    color: rgba(16, 185, 129, 0.5);
    font-size: 0.7rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .voces-section {
        padding: 4rem 0;
    }

    .voces-header h2 {
        font-size: 2rem;
    }

    .voces-stats-row {
        gap: 1.5rem;
    }

    .voces-stat-number {
        font-size: 1.8rem;
    }

    .voces-cloud {
        min-height: 420px;
    }

    .voces-hero-quote {
        max-width: 85%;
        padding: 1.75rem;
    }

    .voces-hero-quote .voces-quote-text {
        font-size: 1.05rem;
    }

    .voces-float-quote {
        max-width: 200px;
        padding: 1rem;
    }

    .voces-float-quote .voces-float-text {
        font-size: 0.8rem;
    }

    .voces-float-quote:nth-child(5),
    .voces-float-quote:nth-child(6) {
        display: none;
    }
}

@media (max-width: 480px) {
    .voces-cloud {
        min-height: 360px;
    }

    .voces-hero-quote {
        max-width: 92%;
        padding: 1.5rem;
    }

    .voces-float-quote {
        max-width: 160px;
        font-size: 0.75rem;
    }

    .voces-float-quote:nth-child(7),
    .voces-float-quote:nth-child(8) {
        display: none;
    }

    .voces-stats-row {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
