/* ==============================> "CARRUSEL DE TESTIMONIOS" */

.tc-seccion {
    overflow: hidden;
    position: relative;
}

/* -> T¨ªtulo */

.tc-titulo {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 40px;
    padding: 0 20px;
    color: #000;
}

/* -> Swiper */

.tc-swiper {
    padding: 10px 20px 20px !important;
    overflow: visible !important;
    width: 100%;
}

.tc-swiper .swiper-wrapper {
    align-items: stretch;
}

/* -> Slide */

.tc-slide {
    width: 320px !important;
    height: auto;
    opacity: 0;
    transform: translateY(14px);
    -webkit-transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    -webkit-transition: opacity 0.45s ease, -webkit-transform 0.45s ease;
}

.tc-slide.swiper-slide-visible,
.tc-slide.swiper-slide-active,
.tc-slide.swiper-slide-next,
.tc-slide.swiper-slide-prev {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

/* -> Tarjeta */

.tc-item__inner {
    background: #f0f4f8;
    border-radius: 16px;
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
    -webkit-transition: box-shadow 0.3s ease, -webkit-transform 0.3s ease, background 0.3s ease;
    cursor: grab;
    -webkit-tap-highlight-color: transparent;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.tc-item__inner:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.10);
    transform: translateY(-4px);
    -webkit-transform: translateY(-4px);
    background: #fff;
}

/* -> Cuerpo */

.tc-item__cuerpo {
    flex: 1;
    position: relative;
}

.tc-item__texto {
    font-size: 15px;
    line-height: 1.65;
    color: #2a2a2a;
    margin: 0 0 12px;
}

.tc-item__comillas {
    font-size: 52px;
    color: var(--e-global-color-primary);
    line-height: 1;
    display: block;
    margin-top: 8px;
    opacity: 0.75;
    transition: opacity 0.3s ease;
    font-family: Georgia, serif;
}

.tc-item__inner:hover .tc-item__comillas {
    opacity: 1;
}

/* -> Autor */

.tc-item__autor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.07);
}

.tc-item__icono {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    color: var(--e-global-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
}

.tc-item__inner:hover .tc-item__icono {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.tc-item__icono svg {
    width: 100%;
    height: 100%;
    display: block;
}

.tc-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tc-item__nombre {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.tc-item__etiqueta {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
}

/* -> Controles */

.tc-controles {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
    padding-right: 20px;
}

.tc-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.tc-btn:hover:not(.swiper-button-disabled) {
    background: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    color: #fff;
    transform: scale(1.08);
    -webkit-transform: scale(1.08);
}

.tc-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* -> Responsive Tablet */

@media (max-width: 1024px) {
    .tc-titulo {
        font-size: 22px;
    }

    .tc-slide {
        width: 280px !important;
    }
}

/* -> Responsive M¨®vil */

@media (max-width: 768px) {
    .tc-seccion {
        padding: 40px 0 30px;
    }

    .tc-titulo {
        font-size: 20px;
        margin-bottom: 28px;
    }

    .tc-item__texto {
        font-size: 14px;
    }

    .tc-slide {
        width: 80vw !important;
    }

    .tc-controles {
        justify-content: center;
        padding-right: 0;
    }
}