/**
 * Mejoras globales - Patiño Abogados Consultores
 * Stats, Testimonios, FAQ, Newsletter, Footer responsive
 */

/* ===== ESTADÍSTICAS / INDICADORES (alineado con hosting) ===== */
.stats-section {
    padding: 50px 0;
    background-color: #fafafa !important;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
    color: #28282a;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #9095A6;
}

/* ===== TESTIMONIOS ===== */
.testimonials-section {
    padding: 80px 0;
    background: #fafafa;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #9095A6;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: #2c3e50;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* ===== FAQ / PREGUNTAS FRECUENTES ===== */
.faq-section {
    padding: 80px 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #9095A6;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: #666;
    line-height: 1.7;
}

/* ===== NEWSLETTER FOOTER ===== */
.newsletter-footer {
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.newsletter-footer h5 {
    color: white;
    margin-bottom: 10px;
}

.newsletter-footer p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
}

.newsletter-form button {
    padding: 12px 24px;
    background-color: #28282a;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.newsletter-form button:hover {
    transform: scale(1.02);
}

/* ===== EQUIPO SECTION ===== */
.team-section {
    padding: 60px 0;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.team-card .team-info {
    padding: 24px;
}

.team-card .team-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 4px;
}

.team-card .team-role {
    color: #9095A6;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== FOOTER RESPONSIVE ===== */
.footer-pac {
    background-color: #3e4042 !important;
}

.footer-pac .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.footer-pac .footer-brand {
    flex: 1 1 100%;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .footer-pac .footer-brand {
        flex: 0 0 25%;
    }
}

.footer-pac .footer-contact {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .footer-pac .footer-contact {
        flex: 1 1 40%;
    }
}

.footer-pac .footer-social {
    flex: 0 0 auto;
}

.footer-pac .footer-links {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-pac .footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-pac .footer-links a:hover {
    opacity: 0.8;
}
