/* ===== ABOUT SECTION - QUIÉNES SOMOS ===== */

.about-section {
    background: linear-gradient(135deg, #89a5d5 0%, #496eac 50%, #224b94 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

/* ===== ELEMENTOS DECORATIVOS DE FONDO  ===== */
.about-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 40%, 
        transparent 70%);
    border-radius: 50%;
    animation: floatSlow 15s ease-in-out infinite;
    filter: blur(1px);
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -8%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle at center, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.05) 45%, 
        transparent 70%);
    border-radius: 50%;
    animation: floatSlow 15s ease-in-out infinite reverse;
    filter: blur(0.5px);
}

/* ===== CONTENEDOR PRINCIPAL MEJORADO ===== */
.about-section .container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 120px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ===== CONTENEDOR DE IMAGEN MEJORADO ===== */
.image-container {
    position: relative;
    animation: slideInLeft 1s ease-out;
}



.image-container:hover::before {
    opacity: 0.8;
}

.person-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
}

/* ===== PLACEHOLDER PARA IMAGEN MEJORADO ===== */
.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #91c87a 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo interior */
.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

.image-container:hover .image-placeholder,
.image-container:hover .person-image {
    transform: translateY(-15px) scale(1.03) rotateY(2deg);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ===== CONTENEDOR DE CONTENIDO MEJORADO ===== */
.content-container {
    animation: slideInRight 1s ease-out;
    position: relative;
}

.title-quienes-somos {
    font-size: 4rem;
    font-weight: 900;
    color: #121212;
    margin-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, #121212 0%, #1d1d1d 50%, #27272a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-family: var(--font-secondary);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Línea decorativa mejorada */
.title-quienes-somos::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #fde47f 0%, #facd1b 50%, #f39c12 100%);
    border-radius: 3px;
    animation: expandWidth 1.5s ease-out 0.5s both;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

/* Efecto de brillo en el título */
.title-quienes-somos::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: titleShine 3s ease-in-out infinite;
    z-index: 1;
}

.description {
    font-size: 1.4rem;
    line-height: 1.9;
    color: #1a1a1a;
    margin-bottom: var(--spacing-xxl);
    animation: fadeInUp 1s ease-out 0.3s both;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
    font-weight: 400;
    position: relative;
    padding-left: 25px;
}

/* Línea vertical decorativa para la descripción */
.description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #fde47f 0%, #facd1b 50%, #f39c12 100%);
    border-radius: 2px;
    animation: growHeight 1s ease-out 0.8s both;
}

/* ===== BOTÓN CTA MEJORADO ===== */
.cta-button {
    background: linear-gradient(135deg, #fde47f 0%, #facd1b 60%, #f39c12 100%);
    color: #044d97;
    padding: 20px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 
        0 15px 35px rgba(243, 156, 18, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

/* Efecto de onda en el botón */
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(243, 156, 18, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ffd016 0%, #ffcc00 60%, #ffd000 100%);
    color: #000000;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

/* ===== ANIMACIONES MEJORADAS ===== */
@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes titleShine {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
}

@keyframes growHeight {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

/* ===== RESPONSIVE DESIGN MEJORADO ===== */
@media (max-width: 1024px) {
    .about-section {
        padding: 80px var(--spacing-md);
    }
    
    .about-section .container {
        gap: 80px;
    }
    
    .title-quienes-somos {
        font-size: 3.5rem;
    }
    
    .description {
        font-size: 1.3rem;
        padding-left: 20px;
    }
    
    .image-placeholder {
        max-width: 350px;
        height: 450px;
    }

    .cta-button {
        padding: 18px 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px var(--spacing-sm);
        min-height: auto;
    }
    
    .about-section .container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .title-quienes-somos {
        font-size: 3rem;
    }

    .title-quienes-somos::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }

    .description {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-lg);
        padding-left: 0;
    }

    .description::before {
        display: none;
    }
    
    .image-placeholder {
        max-width: 320px;
        height: 400px;
        margin: 0 auto;
    }
    
    .cta-button {
        padding: 16px 35px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 50px var(--spacing-sm);
    }
    
    .title-quienes-somos {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .image-placeholder {
        max-width: 280px;
        height: 350px;
        font-size: 1rem;
    }
    
    .about-section::before {
        width: 300px;
        height: 300px;
        top: -20%;
        right: -20%;
    }
    
    .about-section::after {
        width: 200px;
        height: 200px;
        bottom: -15%;
        left: -15%;
    }
}

/* ===== EFECTOS ADICIONALES PARA ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    .about-section::before,
    .about-section::after,
    .image-container::before,
    .image-placeholder::before,
    .title-quienes-somos::before,
    .cta-button::before,
    .cta-button::after {
        animation: none;
    }
    
    .image-container:hover .image-placeholder,
    .image-container:hover .person-image,
    .cta-button:hover {
        transform: none;
    }
}

/* ===== MEJORAS DE CONTRASTE Y LEGIBILIDAD ===== */
@media (prefers-contrast: high) {
    .title-quienes-somos {
        background: #000;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .description {
        color: #000;
        font-weight: 500;
    }
    
    .cta-button {
        border: 3px solid #000;
        font-weight: 800;
    }
}