/* ========================================
   COMPANY PROFILE SECTION
======================================== */
.company-profile-section {
    position: relative;
    overflow: hidden;
}

.company-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Columna Izquierda - Imagen */
.company-profile-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.company-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Columna Derecha - Contenido */
.company-profile-content {
    position: relative;
    background: linear-gradient(135deg, var(--color-dark) 0%, #2a3446 100%);
    display: flex;
    align-items: center;
    padding: 80px;
}

.company-profile-text {
    max-width: 600px;
    color: var(--color-white);
}

.company-profile-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
}

.company-profile-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-green);
    border-radius: 2px;
}

.company-profile-description {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
}

.company-profile-description p {
    margin-bottom: 20px;
}

.company-profile-description p:last-child {
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE COMPANY PROFILE
======================================== */
@media (max-width: 1200px) {
    .company-profile-content {
        padding: 60px;
    }
    
    .company-profile-title {
        font-size: 32px;
    }
}

@media (max-width: 1024px) {
    .company-profile-grid {
        min-height: 500px;
    }
    
    .company-profile-content {
        padding: 50px;
    }
    
    .company-profile-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .company-profile-description {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .company-profile-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: auto;
    }
    
    /* En móvil: arriba imagen, abajo texto */
    .company-profile-image {
        order: 1;
        height: 400px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }
    
    .company-profile-content {
        order: 2;
        padding: 50px 30px;
        background: linear-gradient(135deg, var(--color-dark) 0%, #2a3446 100%);
    }
    
    .company-profile-text {
        max-width: 100%;
        text-align: center;
    }
    
    .company-profile-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .company-profile-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .company-profile-description {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .company-profile-image {
        height: 350px;
    }
    
    .company-profile-content {
        padding: 40px 25px;
    }
    
    .company-profile-title {
        font-size: 26px;
    }
    
    .company-profile-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .company-profile-image {
        height: 300px;
    }
    
    .company-profile-content {
        padding: 35px 20px;
    }
    
    .company-profile-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .company-profile-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .company-profile-description p {
        margin-bottom: 15px;
    }
}

@media (max-width: 360px) {
    .company-profile-image {
        height: 250px;
    }
    
    .company-profile-content {
        padding: 30px 15px;
    }
    
    .company-profile-title {
        font-size: 22px;
    }
    
    .company-profile-description {
        font-size: 13px;
    }
}

/* Animaciones para mejor UX */
.company-profile-image {
    animation: fadeInLeft 0.8s ease 0.2s both;
}

.company-profile-content {
    animation: fadeInRight 0.8s ease 0.4s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Efectos hover para imagen */
.company-profile-image img {
    transition: transform 0.5s ease;
}

.company-profile-image:hover img {
    transform: scale(1.05);
}