/* ============================================
   voces.css
   ============================================ */

/* ── HEADER ── */
.sec-header-img {
    width: 100%;
    line-height: 0;
}

.sec-header-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── SECCIÓN VOCES ── */
.voces-section {
    position: relative;
    background: var(--color-fondo);
    overflow: hidden;
}

/* ── CARRUSEL ── */
.voces-carrusel {
    position: relative;
    width: 100%;
}

.voz-slide {
    display: none;
    width: 100%;
}

.voz-slide.activo {
    display: block;
}

/* ── FONDO CON IMAGEN ── */
.voz-fondo {
    position: relative;
    width: 100%;
    padding-bottom: 71%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.voz-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.0) 40%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 0;
}

/* ── CONTENIDO TEXTO ── */
.voz-contenido {
    position: absolute;
    top: 75%;
    transform: translateY(-50%);
    right: 0;
    z-index: 1;
    width: 45%;
    padding: 0 64px 0 32px;
    text-align: left;
}

.voz-nombre {
    font-family: var(--fuente-titulo);
    font-size: 28px;
    color: var(--color-blanco);
    letter-spacing: 6px;
    margin-bottom: 8px;
}

.voz-gracias {
    font-family: var(--fuente-titulo);
    font-size: 13px;
    letter-spacing: 6px;
    color: var(--color-rojo);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.voz-texto {
    font-family: var(--fuente-cuerpo);
    font-size: 15px;
    color: var(--color-blanco);
    line-height: 1.8;
    font-style: italic;
    border-left: 2px solid var(--color-rojo);
    padding-left: 20px;
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 20px 20px 24px;
    border-radius: 0 8px 8px 0;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* ── BOTONES ── */
.voces-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--color-rojo-suave);
    color: var(--color-blanco);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transicion);
    z-index: 2;
}

.voces-btn:hover {
    background: var(--color-rojo);
    border-color: var(--color-rojo);
}

.voces-prev {
    left: 24px;
}

.voces-next {
    right: 24px;
}

/* ── DOTS ── */
.voces-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.voces-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #333;
    cursor: pointer;
    transition: var(--transicion);
}

.voces-dot.activo {
    background: var(--color-rojo);
    box-shadow: 0 0 6px var(--color-rojo);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .voz-overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    .voz-contenido {
        right: auto;
        left: 0;
        width: 80%;
        padding: 0 32px;
    }
}

@media (max-width: 480px) {
    .voz-contenido {
        width: 100%;
        padding: 0 24px;
    }

    .voz-nombre {
        font-size: 22px;
    }

    .voz-texto {
        font-size: 13px;
    }
}