/* ================================
   MÓDULO: TESTIMONIALS
   Estilos para testimonios/reseñas
   ================================ */

/* Reset específico del módulo */
.testimonials,
.testimonials * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container principal */
.testimonials {
    width: 100%;
    padding: 5rem 0;
    background: #FAF8F5;
}

.testimonials__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Título */
.testimonials__title {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #3E2723;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Descripción */
.testimonials__description {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    color: #6B5B52;
    text-align: center;
    margin-bottom: 3.5rem;
    font-style: italic;
}

/* Grid de testimonios */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* ================================
   TESTIMONIAL CARD
   ================================ */

.testimonial-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(62, 39, 35, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border-top: 4px solid #A67B5B;
}

.testimonial-card:nth-child(2) {
    border-top-color: #E07856;
}

.testimonial-card:nth-child(3) {
    border-top-color: #91A68A;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(62, 39, 35, 0.12);
}

/* Estrellas */
.testimonial-card__stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-card__stars svg {
    width: 20px;
    height: 20px;
    fill: #FFB800;
}

/* Texto del testimonio */
.testimonial-card__text {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #6B5B52;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Comillas decorativas */
.testimonial-card__text::before {
    content: '"';
    font-family: 'Georgia', serif;
    font-size: 4rem;
    color: rgba(166, 123, 91, 0.15);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    line-height: 1;
}

/* Autor */
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Avatar */
.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A67B5B 0%, #E07856 100%);
    flex-shrink: 0;
}

/* Nombre */
.testimonial-card__name {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3E2723;
    margin-bottom: 0.2rem;
}

/* Rol */
.testimonial-card__role {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: #A67B5B;
}

/* ================================
   RESPONSIVE: TABLET
   ================================ */
@media screen and (max-width: 968px) {
    .testimonials {
        padding: 4rem 0;
    }

    .testimonials__title {
        font-size: 2.5rem;
    }

    .testimonials__description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

/* ================================
   RESPONSIVE: MÓVIL
   ================================ */
@media screen and (max-width: 768px) {
    .testimonials {
        padding: 3.5rem 0;
    }

    .testimonials__container {
        padding: 0 1.5rem;
    }

    .testimonials__title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .testimonials__description {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-card {
        padding: 2.5rem 2rem;
    }

    .testimonial-card__text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-card__name {
        font-size: 1rem;
    }

    .testimonial-card__role {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .testimonials {
        padding: 3rem 0;
    }

    .testimonials__container {
        padding: 0 1rem;
    }

    .testimonials__title {
        font-size: 1.8rem;
    }

    .testimonials__description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-card__text {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .testimonial-card__stars svg {
        width: 18px;
        height: 18px;
    }

    .testimonial-card__avatar {
        width: 45px;
        height: 45px;
    }
}