/*
 * FILE: assets/css/components/section-que-es.css
 * COMPONENT: section-que-es.php
 * PURPOSE: Layout 2 columnas texto + imagen, con lista de features
 */

/* ============================================================
   SECCIÓN — Fondo degradado institucional
   ============================================================ */
.section--que-es {
    background: linear-gradient(160deg, #f0faf3 0%, #e8f5ec 45%, #f4f9f6 75%, #f8fafc 100%);
}

/* ============================================================
   GRID — Split Layout Hero-style
   ============================================================ */
.que-es__split-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0 3rem;
}

/* ============================================================
   CONTENT COL
   ============================================================ */
.que-es__content {
    display: flex;
    flex-direction: column;
}

.que-es__label {
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary, #1aa464);
    margin-bottom: 1rem;
}

.que-es__title {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-color, #1e293b);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.que-es__lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #475569;
    max-width: 95%;
    margin-bottom: 2.5rem;
}

/* ============================================================
   CARDS: Objetivos
   ============================================================ */
.que-es__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateX(4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(26, 164, 100, 0.1);
    color: var(--color-primary, #1aa464);
    border-radius: 10px;
}

.feature-card__text {
    font-weight: 600;
    color: #334155;
    font-size: 1rem;
}

/* ============================================================
   GRID: Impacto Esperado
   ============================================================ */
.que-es__expectations {
    margin-bottom: 2.5rem;
}

.expectations__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.expectations__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.expectation-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 600;
}

.check-icon {
    color: var(--color-primary, #1aa464);
    font-weight: 800;
}



/* ============================================================
   IMAGEN PROTAGONISTA
   ============================================================ */
.que-es__visual {
    position: relative;
    z-index: 1;
}

.que-es__figure {
    position: relative;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
}

.que-es__image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.que-es__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.que-es__image-wrapper:hover .que-es__image {
    transform: scale(1.06);
}

.que-es__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 164, 100, 0) 0%, rgba(26, 164, 100, 0.2) 100%);
    pointer-events: none;
}

/* Acento decorativo institucional */
.que-es__figure::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 164, 100, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .que-es__split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 0 2rem;
    }

    .que-es__visual {
        order: -1;
    }
    
    .que-es__image {
        aspect-ratio: 16/9;
    }

    .que-es__lead {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .expectations__grid {
        grid-template-columns: 1fr;
    }
}
