/* Estilos para la sección Nosotros */
.about-us {
    padding: 80px 0;
    background: #fff;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

/* Contenedor con márgenes */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Márgenes laterales */
}

/* Encabezado */
.header-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.header-section h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.header-section h1 span {
    color: #d4af37;
    font-weight: 800;
}

.years-experience {
    font-size: 1.3rem;
    color: #7f8c8d;
    position: relative;
    display: inline-block;
    font-weight: 400;
}

.years-experience strong {
    color: #d4af37;
    font-weight: 600;
}

.years-experience:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #d4af37;
    margin: 20px auto 0;
    opacity: 0.7;
}

/* Fila Misión + Slider + Visión */
.mission-vision-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

/* Slider Compacto */
.office-slider {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    height: 320px;
}

.office-slider .swiper {
    height: 100%;
}

.office-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-slider .swiper-pagination {
    bottom: 20px;
}

.office-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
    width: 10px;
    height: 10px;
    margin: 0 6px;
}

.office-slider .swiper-pagination-bullet-active {
    background: #d4af37;
    opacity: 1;
}

/* Tarjetas */
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-card.mission {
    border-top: 4px solid #3498db;
}

.info-card.vision {
    border-top: 4px solid #e74c3c;
}

.info-card.values {
    border-top: 4px solid #2ecc71;
}

.card-icon {
    font-size: 2.8rem;
    color: #d4af37;
    margin-bottom: 25px;
    opacity: 0.9;
}

.info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.info-card p {
    line-height: 1.7;
    color: #555;
    font-size: 1.05rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.info-card ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #555;
}

.info-card ul li i {
    color: #d4af37;
    margin-right: 12px;
    font-size: 1.3rem;
    margin-top: 3px;
}

/* Fila de Valores */
.values-row {
    margin-bottom: 60px;
}

/* Fila de Historia */
.history-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 30px;
}

.history-content h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.history-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: #d4af37;
    border-radius: 2px;
}

.history-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
    font-size: 1.1rem;
}

.achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.achievement {
    text-align: center;
    padding: 25px 15px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.achievement:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.achievement .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 8px;
    line-height: 1;
}

.achievement .label {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 500;
}

.history-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.history-image:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 1200px) {
    .about-container {
        padding: 0 30px;
    }
    
    .mission-vision-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .office-slider {
        grid-column: span 2;
        height: 350px;
        margin-bottom: 30px;
    }
}

@media (max-width: 992px) {
    .about-container {
        padding: 0 25px;
    }
    
    .header-section h1 {
        font-size: 2.4rem;
    }
    
    .mission-vision-row {
        grid-template-columns: 1fr;
    }
    
    .office-slider {
        grid-column: span 1;
        height: 300px;
        order: 2;
    }
    
    .history-row {
        grid-template-columns: 1fr;
    }
    
    .history-image {
        order: -1;
        margin-bottom: 40px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 60px 0;
    }
    
    .about-container {
        padding: 0 20px;
    }
    
    .header-section h1 {
        font-size: 2rem;
    }
    
    .office-slider {
        height: 250px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .achievements {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-container {
        padding: 0 15px;
    }
    
    .header-section h1 {
        font-size: 1.8rem;
    }
    
    .years-experience {
        font-size: 1.1rem;
    }
    
    .office-slider {
        height: 220px;
    }
    
    .history-image {
        height: 350px;
    }
}