/* ============================================
   GIBRA - CSS Testimonios Completo
   ============================================ */

/* ====== Hero Testimonios ====== */
.hero-testimonios {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2a2828 100%);
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-testimonios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(207, 192, 192, 0.1) 0%, transparent 70%);
}

.hero-testimonios .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.hero-testimonios .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

/* ====== Stats Grid ====== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--color-white);
}

/* ====== Testimonios Principales ====== */
.testimonios-principales {
    padding: 80px 0;
    background: var(--color-light);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonio-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonio-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(207, 192, 192, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.testimonio-header {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonio-foto {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    flex-shrink: 0;
}

.testimonio-info {
    flex: 1;
}

.testimonio-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.testimonio-rating {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonio-texto {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.testimonio-proyecto {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.testimonio-fecha {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin-top: 8px;
}

/* ====== Video Testimonios ====== */
.video-testimonios {
    padding: 80px 0;
    background: var(--color-white);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.video-card {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-card:hover {
    transform: translateY(-8px);
}

.video-thumbnail {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
}

.video-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--color-primary);
}

.play-button svg {
    width: 28px;
    height: 28px;
    color: var(--color-secondary);
    margin-left: 4px;
}

.video-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 4px;
}

.video-info p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.video-nota {
    text-align: center;
    margin-top: 48px;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.video-nota a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

.video-nota a:hover {
    color: var(--color-secondary);
}

/* ====== Reconocimientos ====== */
.reconocimientos {
    padding: 80px 0;
    background: var(--color-light);
}

.reconocimientos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.reconocimiento-card {
    background: var(--color-white);
    padding: 32px;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
}

.reconocimiento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.reconocimiento-card svg {
    width: 56px;
    height: 56px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.reconocimiento-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.reconocimiento-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ====== CTA Testimonio ====== */
.cta-testimonio {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2a2828 100%);
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-testimonio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(207, 192, 192, 0.1) 0%, transparent 70%);
}

.cta-testimonio h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-testimonio p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.2rem;
}

/* ====== Responsive ====== */
@media (max-width: 968px) {
    .hero-testimonios .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .reconocimientos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-testimonio h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-testimonios {
        padding: 120px 0 60px;
    }

    .hero-testimonios .hero-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .testimonio-card {
        padding: 24px;
    }

    .testimonio-foto {
        width: 56px;
        height: 56px;
    }

    .testimonio-info h3 {
        font-size: 1.1rem;
    }

    .testimonio-texto {
        font-size: 1rem;
    }

    .video-thumbnail img {
        height: 200px;
    }

    .reconocimientos-grid {
        grid-template-columns: 1fr;
    }

    .cta-testimonio h2 {
        font-size: 1.75rem;
    }

    .cta-testimonio p {
        font-size: 1rem;
    }
}