.testimonials-section {
    padding: 100px 0;
    background: radial-gradient(circle at center, var(--bg-04) 0%, var(--bg-06) 70%);
    position: relative;
    overflow: hidden;
}

/* --- ENCABEZADO --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.title {
    font-size: 3.2rem;
    color: var(--text-01);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 500;
}

.title .highlight {
    color: var(--tq-01);
    text-shadow: 0 0 15px var(--tr-tq-25);
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-line {
    width: 140px;
    height: 1px;
    background-color: var(--az-02);
    position: relative;
}

/* Puntos sutiles en los extremos exteriores de las líneas */
.divider-line:first-child::after { content: ''; position: absolute; right: 0; top: -1px; width: 3px; height: 3px; border-radius: 50%; background-color: var(--tq-01); }
.divider-line:last-child::before { content: ''; position: absolute; left: 0; top: -1px; width: 3px; height: 3px; border-radius: 50%; background-color: var(--tq-01); }

.divider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--tq-01);
    background-color: var(--bg-01);
    margin: 0 12px;
    position: relative;
    box-shadow: 0 0 8px var(--tr-tq-35);
}

.divider-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background-color: var(--tq-01);
    border-radius: 50%;
}

/* --- CONTENEDOR CARRUSEL --- */
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

/* Flechas Laterales Matemáticas */
.nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-02);
    border: 1px solid var(--az-02);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px var(--tr-dark-55);
}

.nav-btn:hover {
    border-color: var(--tq-01);
    box-shadow: 0 0 15px var(--tr-tq-35), 0 10px 20px var(--tr-dark-55);
    background-color: var(--bg-04);
}

.arrow {
    width: 14px;
    height: 14px;
    border-top: 2px solid var(--tq-01);
    border-right: 2px solid var(--tq-01);
    transition: border-color 0.3s ease;
}

.arrow.left {
    transform: rotate(-135deg);
    margin-left: 6px;
}

.arrow.right {
    transform: rotate(45deg);
    margin-right: 6px;
}

.nav-btn:hover .arrow {
    border-color: var(--text-01);
}

/* --- TARJETA DE TESTIMONIO --- */
.testimonial-card {
    flex: 1;
    max-width: 1050px;
    background-color: var(--tr-bg-78);
    border: 1px solid var(--az-01);
    border-radius: 20px;
    padding: 60px 70px;
    display: flex;
    align-items: stretch;
    gap: 60px;
    position: relative;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px var(--tr-dark-55);
    overflow: hidden;
}

/* Línea de brillo turquesa superior */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tq-01), transparent);
    box-shadow: 0 0 15px var(--tq-01);
}

/* Columna Izquierda (Texto) */
.quote-col {
    flex: 1.5;
    display: flex;
    flex-direction: column;
}

.quote-mark {
    font-family: Arial, sans-serif;
    font-size: 6rem;
    color: var(--az-02);
    line-height: 0.5;
    height: 40px;
    font-weight: 900;
    user-select: none;
}

.quote-mark.open {
    align-self: flex-start;
    margin-bottom: 25px;
}

.quote-mark.close {
    align-self: flex-end;
    margin-top: 25px;
    color: var(--tq-04);
}

.quote-text {
    font-size: 1.15rem;
    color: var(--text-02);
    line-height: 1.8;
}

.highlight-text {
    color: var(--tq-01);
    font-weight: 500;
}

/* Columna Derecha (Autor y Avatar) */
.author-col {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid var(--az-02);
    padding-left: 50px;
}

.avatar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid var(--tq-01);
    padding: 6px;
    margin-bottom: 25px;
    box-shadow: 0 0 25px var(--tr-tq-35), inset 0 0 15px var(--tr-tq-25);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--bg-05);
    border: 1px solid var(--az-01);
}

/* Punto Orbital Cyan */
.orbit-dot {
    position: absolute;
    top: 50%;
    right: -7px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: var(--tq-01);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--tq-01);
}

.author-name {
    font-size: 1.25rem;
    color: var(--text-01);
    margin-bottom: 5px;
    font-weight: 500;
}

.author-role {
    font-size: 0.95rem;
    color: var(--tq-01);
    margin-bottom: 2px;
}

.author-company {
    font-size: 0.85rem;
    color: var(--text-03);
}

/* --- INDICADORES (PUNTOS DE PAGINACIÓN) --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--az-02);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: var(--tq-04);
}

.dot.active {
    background-color: transparent;
    border: 2px solid var(--tq-01);
    width: 16px;
    height: 16px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 8px var(--tr-tq-35);
}

.dot.active::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--tq-01);
    border-radius: 50%;
}
