/**
 * About Us Section - Styles
 * Sección "Quiénes somos" con estadísticas e imágenes
 */

/* ===================================
   SECTION BASE
   =================================== */
.about-us-section {
    padding: 100px 0;
    background: #fff;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.about-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ===================================
   CONTENT COLUMN (LEFT)
   =================================== */
.about-us-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Título */
.about-us-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.2;
    margin: 0;
    max-width: 500px;
}

/* Descripción */
.about-us-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-us-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: #636e72;
    margin: 0;
    max-width: 540px;
}

/* Botón CTA */
.about-us-cta {
    margin: 8px 0;
}

.btn-about-cta {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #bfb37b 0%, #c9a22b 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-about-cta:hover {
    background: linear-gradient(135deg, #c9a22b 0%, #b89320 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    color: #fff;
}

/* ===================================
   ESTADÍSTICAS
   =================================== */
.about-us-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 24px;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Icono */
.stat-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfb37b;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

/* Contenido de estadística */
.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #636e72;
    line-height: 1.3;
}

/* ===================================
   IMAGES COLUMN (RIGHT)
   =================================== */
.about-us-images {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.images-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Imagen Principal (Grande) */
.image-main {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-main:hover img {
    transform: scale(1.05);
}

/* Imagen Secundaria (Pequeña, superpuesta) */
.image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 8px solid #fff;
    z-index: 2;
}

.image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-secondary:hover img {
    transform: scale(1.05);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet Grande */
@media (max-width: 1200px) {
    .about-us-wrapper {
        gap: 60px;
    }
    
    .about-us-title {
        font-size: 2.25rem;
    }
    
    .about-us-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .about-us-section {
        padding: 80px 0;
    }
    
    .about-us-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-us-title {
        font-size: 2rem;
        max-width: 100%;
    }
    
    .about-us-description p {
        max-width: 100%;
    }
    
    .about-us-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-us-images {
        min-height: 400px;
    }
    
    .image-main {
        height: 380px;
    }
    
    .image-secondary {
        width: 50%;
        height: 240px;
        bottom: -30px;
        right: -30px;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .about-us-section {
        padding: 60px 0;
    }
    
    .about-us-title {
        font-size: 1.75rem;
    }
    
    .about-us-description p {
        font-size: 0.95rem;
    }
    
    .about-us-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 16px;
        background: #f8f9fa;
        border-radius: 12px;
    }
    
    .btn-about-cta {
        width: 100%;
        text-align: center;
    }
    
    .about-us-images {
        min-height: 350px;
    }
    
    .image-main {
        height: 320px;
    }
    
    .image-secondary {
        width: 60%;
        height: 200px;
        bottom: -20px;
        right: -20px;
        border: 6px solid #fff;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .about-us-section {
        padding: 40px 0;
    }
    
    .about-us-wrapper {
        gap: 40px;
    }
    
    .about-us-title {
        font-size: 1.5rem;
    }
    
    .about-us-description p {
        font-size: 0.9rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .about-us-images {
        min-height: 300px;
    }
    
    .image-main {
        height: 280px;
    }
    
    .image-secondary {
        width: 65%;
        height: 180px;
        bottom: -15px;
        right: -15px;
        border: 4px solid #fff;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-us-content {
    animation: fadeInUp 0.8s ease-out;
}

.about-us-images {
    animation: fadeInRight 0.8s ease-out 0.2s;
    animation-fill-mode: both;
}

.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
