/* aboutStyles.css - Versión limpia y responsive */

/* About Hero */
.about-hero-bg {
    background-color: #EAA639;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.about-hero-section .overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.about-hero-section .hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.about-hero-section .hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    color: white;
}

/* Our Story */
.our-story-section {
    padding: 4rem 1.5rem;
}

.our-story-section .section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #5f3b00;
}

.our-story-section p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

/* Botones: evita min-width en móvil */
.our-story-section .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.our-story-section .btn-primary,
.our-story-section .btn-outline {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 300px;
}

.our-story-section .btn-primary {
    background-color: #f6e428;
    color: #5f3b00;
}

.our-story-section .btn-primary:hover {
    background-color: #d97706;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(57, 125, 234, 0.3);
}

.our-story-section .btn-outline {
    border: 4px solid #f6e428;
    color: #5f3b00;
}

.our-story-section .btn-outline:hover {
    background-color: #d97706;
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(57, 125, 234, 0.3);
}

/* Stats Card */
.stats-card {
    background-color: #f9fafb;
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.stats-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(57, 125, 234, 0.2);
}

.stats-card .stat-item .stat-number {
    font-weight: 800;
    color: #5f3b00;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.stats-card .stat-item .stat-label {
    color: #1f2937;
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-choose-us-section {
    padding: 4rem 1.5rem;
}

.why-choose-us-section .section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #5f3b00;
    text-align: center;
}

.why-choose-us-section .subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
    text-align: center;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 2rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(57, 125, 234, 0.3);
}

.feature-card .icon-container {
    width: 3rem;
    height: 3rem;
    background-color: #d78521;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.feature-card:hover .icon-container {
    background-color:#987805
}

.feature-card i {
    color: #397DEA;
    font-size: 1.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #5F3B00;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: #987805;
}

.feature-card p {
    color: #6b7280;
    font-size: 1rem;
}

/* Mission */
.mission-section {
    background-color: #5f3b00;
    padding: 4rem 1rem;
    text-align: center;
}

.mission-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.mission-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

/* CTA */
.cta-section {
    padding: 4rem 1.5rem;
    background-color: #f9fafb;
}

.cta-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.cta-card:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.cta-card h3 {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #5f3b00;
}

.cta-card p {
    font-size: 1.25rem;
    color: #5f3b00;
    margin-bottom: 2rem;
}

.cta-card .btn-cta {
    background-color: #f6e428 !important;
    color: #5f3b00 !important;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-card .btn-cta:hover {
    background-color: #d97706 !important;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(57, 125, 234, 0.4);
}

/* --- Responsive: Correcciones clave --- */

@media (max-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .about-hero-section .hero-content h1 {
        font-size: 2rem;
    }
    .about-hero-section .hero-content p {
        font-size: 1rem;
    }

    /* Story */
    .our-story-section {
        padding: 3rem 1.5rem;
    }

    .our-story-section .section-title {
        font-size: 2rem;
    }

    /* Stats */
    .stats-card {
        padding: 1.5rem;
    }

    .stats-card .stat-number {
        font-size: 1.5rem;
    }

    /* Feature cards */
    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }

    /* Mission */
    .mission-section .section-title {
        font-size: 2rem;
    }
    .mission-section p {
        font-size: 1.1rem;
    }

    /* CTA */
    .cta-card {
        padding: 2rem 1.5rem;
    }
    .cta-card h3 {
        font-size: 1.5rem;
    }
    .cta-card p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .max-w-7xl, .max-w-4xl {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Hero */
    .about-hero-section .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    .about-hero-section .hero-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Story buttons: apilar en móvil pequeño */
    .our-story-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .our-story-section .btn-primary,
    .our-story-section .btn-outline {
        width: 100%;
        max-width: none;
    }

    /* Stats: una columna */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .stats-card .stat-number {
        font-size: 1.875rem;
    }

    /* Feature cards: una columna */
    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.125rem;
    }
    .feature-card p {
        font-size: 0.95rem;
    }

    /* Mission */
    .mission-section p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    /* CTA */
    .cta-card {
        padding: 1.5rem 1rem;
    }
    .cta-card .btn-cta {
        width: 100%;
        font-size: 1.125rem;
        padding: 0.875rem;
    }

    /* Prevenir overflow */
    .stats-card,
    .feature-card,
    .cta-card,
    .mission-section {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
}