/* ============================================================
   RW Split Hero Widget
   BEM: .rw-split-hero
   ============================================================ */

.rw-split-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.rw-split-hero__inner {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .rw-split-hero__inner {
        flex-direction: row;
    }

    .rw-split-hero__inner--reversed {
        flex-direction: row-reverse;
    }
}

/* ── Columna de Imagen ────────────────────────────────────── */

.rw-split-hero__image-col {
    width: 100%;
    height: 400px;
}

@media (min-width: 768px) {
    .rw-split-hero__image-col {
        width: 50%;
        height: auto;
    }
}

.rw-split-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Columna de Contenido ───────────────────────────────────────── */

.rw-split-hero__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .rw-split-hero__content {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .rw-split-hero__content {
        padding: 80px;
    }
}

/* Eyebrow */
.rw-split-hero__eyebrow {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.025em;
    margin-bottom: 16px;
    display: block;
}

@media (min-width: 768px) {
    .rw-split-hero__eyebrow {
        font-size: 16px;
    }
}

/* Titular */
.rw-split-hero__heading {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 200;
    margin: 0 0 32px;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .rw-split-hero__heading {
        font-size: 48px;
    }
}

@media (min-width: 1024px) {
    .rw-split-hero__heading {
        font-size: 60px;
    }
}

/* Cuerpo */
.rw-split-hero__body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.625;
    margin: 0 0 40px;
    max-width: 32rem;
}

.rw-split-hero__body p {
    margin: 0 0 1em;
}
.rw-split-hero__body p:last-child {
    margin: 0;
}

@media (min-width: 768px) {
    .rw-split-hero__body {
        font-size: 18px;
    }
}

/* CTA */
.rw-split-hero__cta {
    display: flex;
}

.rw-split-hero__btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 16px 32px;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.rw-split-hero__btn-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
}

.rw-split-hero__btn-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.rw-split-hero__btn-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.rw-split-hero__btn:hover .rw-split-hero__btn-icon svg,
.rw-split-hero__btn:focus-visible .rw-split-hero__btn-icon svg {
    transform: translateX(4px) translateY(-4px);
}

/* ── Responsive Extras ──────────────────────────────────────────── */
@media (max-width: 480px) {
    .rw-split-hero__btn {
        width: 100%;
        justify-content: center;
    }
}
