/* ESTILOS BASE */
.about-section {
    padding: 80px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.divider {
    width: 80px;
    height: 4px;
    background: #2563eb;
    margin: 20px auto;
    border-radius: 2px;
}

/* GRID PRINCIPAL */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

/* IMAGEN */
.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(45deg, #2563eb, #1d4ed8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    z-index: 2;
    text-align: center;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

/* CONTENIDO */
.about-content {
    padding: 0 20px;
}

.about-subtitle {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text {
    color: #64748b;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.7;
}

/* MISIÓN/VISIÓN */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.mv-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mv-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.mv-card h4 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.mv-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* VALORES */
.values-section {
    margin-top: 40px;
}

.values-section h4 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 20px;
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.value-item {
    background: white;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.value-item i {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 10px;
    display: block;
}

.value-item span {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.95rem;
}

/* LOGROS */
.achievements-section {
    margin-top: 60px;
    text-align: center;
}

.achievements-title {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.achievements-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #2563eb;
    font-size: 1.8rem;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.achievement-text {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* CTA */
.about-cta {
    text-align: center;
    margin-top: 60px;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border-color: #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.5rem;
    }
    
    .achievements-title {
        font-size: 1.8rem;
    }
    
    .about-cta {
        padding: 40px 20px;
    }
    
    .about-cta h3 {
        font-size: 1.6rem;
    }
    .value-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .about-section {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow-x: hidden;
    }
    
    .experience-badge {
        right: 10px !important;
        bottom: -15px !important;
        transform: scale(0.9);
    }
    
    .image-wrapper {
        margin: 0 -15px;
        width: calc(100% + 30px);
        border-radius: 0;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-section::before {
        display: none;
    }
}