/* ─── Nexa Split Section ──────────────────────────────────────────────────── */

.nexa-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: bottom;
}

/* Imagen a la izquierda */
.nexa-split--image-left  { direction: rtl; }
.nexa-split--image-left > * { direction: ltr; }

/* ── Panel de texto ── */
.nexa-split__text-panel {
    display: flex;
    flex-direction: column;
    padding: 8rem;
    position: relative;
}

/* ── Contenido ── */
.nexa-split__body {
    flex: 1;
    font-size: 1.8rem;
    line-height: 1.75;
    color: #222;
}

.nexa-split__body p {
    margin: 0 0 2rem;
}

/* ── Lista de ítems ── */
.nexa-split__items {
    list-style: none;
    margin: 5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nexa-split__item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nexa-split__item-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
}

.nexa-split__item-text {
    font-weight: 700;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #111;
}

/* ── Panel de imagen ── */
.nexa-split__image-panel {
    min-height: 300px;
}

.nexa-split__image-bottom {
    height: 200px;
    background-color: var(--nexa-split-accent);
}

.nexa-split__text-panel-bottom {
    height: 200px;
    background-color: var(--nexa-split-accent);
}

/* ── Responsive ── */
@media ( max-width: 900px ) {
    .nexa-split__text-panel { padding: 4rem; }
    .nexa-split__body       { font-size: 1.4rem; }
    .nexa-split__item-text  { font-size: 1.4rem; }
    .nexa-split__item-icon  { width: 80px; height: 80px; }
}

@media ( max-width: 768px ) {
    .nexa-split {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .nexa-split--image-left .nexa-split__image-panel,
    .nexa-split__image-panel {
        order: -1;
        min-height: 260px;
    }

    .nexa-split__text-panel {
        padding: 2.5rem 1.5rem;
    }

    .nexa-split__accent-bar {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
    }

    .nexa-split__body      { font-size: 1.1rem; line-height: 1.7; }
    .nexa-split__items     { margin-top: 2rem; gap: 1.25rem; }
    .nexa-split__item      { gap: 1.25rem; }
    .nexa-split__item-icon { width: 60px; height: 60px; }
    .nexa-split__item-text { font-size: 1rem; }
}
