/**
 * Landing Page Sections - Services, Social Proof, Value Props.
 *
 * Estilos para las secciones principales de la landing page.
 * Separado de hero.css para mejor cache y mantenimiento.
 *
 * @version 1.0.0
 */

/* ============= COMMON SECTION STYLES ============= */
.landing-section {
    padding: 4rem 1rem;
}

.landing-section-alt {
    padding: 4rem 1rem;
    background-color: #f8f9fa;
}

.landing-section-title {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: #003366;
    font-weight: 700;
}

.landing-section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============= VALUE PROPOSITION ============= */
.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.value-prop-card {
    background: white;
    padding: 1.8rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-prop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.value-prop-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.value-prop-card h3 {
    color: #003366;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.value-prop-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ============= SERVICE CARDS ============= */
.landing-services {
    padding: 4rem 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.service-card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.service-card-header h3 {
    color: #003366;
    font-size: 1.15rem;
    margin: 0;
}

.service-card-body > p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    flex: 1;
}

.service-card-features li {
    padding: 0.3rem 0;
    color: #555;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.service-card-features li::before {
    content: '✓';
    color: #ff6b35;
    font-weight: 700;
    flex-shrink: 0;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.2s ease;
    margin-top: auto;
}

.service-card-link:hover {
    gap: 0.8rem;
}

.services-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============= SOCIAL PROOF / TESTIMONIALS ============= */
.landing-social-proof {
    padding: 4rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Stats counters */
.social-proof-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: #003366;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Testimonial cards */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    border-top: 4px solid #ff6b35;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.testimonial-text::before {
    content: '"';
    font-size: 2.5rem;
    color: #ff6b35;
    opacity: 0.3;
    line-height: 0;
    vertical-align: -0.5rem;
    margin-right: 0.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #004d99);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author-info strong {
    display: block;
    color: #333;
    font-size: 0.95rem;
}

.testimonial-author-info span {
    color: #999;
    font-size: 0.85rem;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .social-proof-stats {
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 90px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .landing-section,
    .landing-section-alt,
    .landing-services,
    .landing-social-proof {
        padding: 2.5rem 0.75rem;
    }

    .social-proof-stats {
        gap: 1rem;
    }
}
