/* =========================================================
   BANNER FINAL DE INICIO
   ========================================================= */

.home-cta {
    padding-block: clamp(70px, 8vw, 115px);
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            var(--white),
            var(--paper)
        );
}

.home-cta__banner {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 570px;
    overflow: hidden;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(390px, 0.85fr);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-xl);
    color: var(--white);
    background:
        radial-gradient(
            circle at 5% 100%,
            rgba(0, 212, 255, 0.28),
            transparent 32%
        ),
        linear-gradient(
            125deg,
            var(--blue) 0%,
            #4e3dff 43%,
            var(--violet) 72%,
            #aa24ef 100%
        );
    box-shadow:
        0 30px 70px rgba(59, 53, 190, 0.22);
}

.home-cta__content {
    position: relative;
    z-index: 3;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding:
        clamp(45px, 6vw, 78px)
        clamp(38px, 5vw, 72px);
}

.home-cta__eyebrow {
    margin: 0 0 18px;
}

.home-cta__content h2 {
    max-width: 720px;
    margin: 0;
    color: var(--white);
    font-size: clamp(43px, 4.4vw, 68px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1;
}

.home-cta__subtitle {
    max-width: 670px;
    margin: 23px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.55;
}

.home-cta__dates {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.home-cta__date {
    display: grid;
    min-width: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 88px;
    padding: 15px 17px;
    border-radius: var(--radius-md);
}

.home-cta__date-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    font-size: 22px;
    font-weight: 700;
}

.home-cta__date > span:last-child {
    display: block;
    min-width: 0;
    font-size: 13px;
    line-height: 1.35;
}

.home-cta__date strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.home-cta__date--sale {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    background:
        linear-gradient(
            125deg,
            var(--magenta),
            var(--violet)
        );
    box-shadow:
        0 12px 28px rgba(255, 47, 163, 0.24);
}

.home-cta__date--sale .home-cta__date-icon {
    background: rgba(255, 255, 255, 0.15);
}

.home-cta__date--start {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 12px 28px rgba(11, 23, 56, 0.12);
}

.home-cta__date--start .home-cta__date-icon {
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.12);
}

.home-cta__button {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    min-height: 58px;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 8px 9px 8px 24px;
    border-radius: 15px;
    color: var(--ink);
    background: var(--white);
    box-shadow:
        0 14px 32px rgba(11, 23, 56, 0.2);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.home-cta__button:hover {
    color: var(--ink);
    text-decoration: none;
    box-shadow:
        0 18px 38px rgba(11, 23, 56, 0.26);
    transform: translateY(-2px);
}

/*
 * Refuerzo de especificidad: evita que estilos globales externos
 * (ej. reglas "a" de Elementor/Eduma) sobrescriban este color.
 * No cambia el diseño: se mantiene el mismo color en todos los
 * estados, igual que hoy en Local.
 */
.home-cta a.home-cta__button,
.home-cta a.home-cta__button:link,
.home-cta a.home-cta__button:visited,
.home-cta a.home-cta__button:hover,
.home-cta a.home-cta__button:focus,
.home-cta a.home-cta__button:active {
    color: var(--ink);
}

.home-cta__button-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--violet),
            var(--magenta)
        );
    font-size: 20px;
}

.home-cta__visual {
    position: relative;
    z-index: 2;
    min-width: 0;
    overflow: hidden;
    border-radius:
        48% var(--radius-xl)
        var(--radius-xl) 48%;
    background: rgba(255, 255, 255, 0.12);
}

.home-cta__visual::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(91, 56, 255, 0.72),
            transparent 34%
        );
    content: "";
    pointer-events: none;
}

.home-cta__image,
.home-cta__placeholder {
    width: 100%;
    height: 100%;
    min-height: 570px;
}

.home-cta__image {
    object-fit: cover;
    object-position: center;
}

.home-cta__placeholder {
    display: grid;
    place-items: center;
    padding: 30px;
    color: rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(
            145deg,
            rgba(0, 212, 255, 0.2),
            rgba(122, 44, 255, 0.3)
        );
    text-align: center;
}

.home-cta__decoration {
    position: absolute;
    z-index: 1;
    border: 32px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.home-cta__decoration--one {
    right: 29%;
    bottom: -180px;
    width: 390px;
    height: 390px;
}

.home-cta__decoration--two {
    top: -150px;
    left: 48%;
    width: 310px;
    height: 310px;
}

/* Tablet */

@media (max-width: 960px) {
    .home-cta__banner {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-cta__visual {
        min-height: 420px;
        border-radius: 0;
    }

    .home-cta__image,
    .home-cta__placeholder {
        min-height: 420px;
    }

    .home-cta__visual::before {
        background:
            linear-gradient(
                180deg,
                rgba(91, 56, 255, 0.75),
                transparent 35%
            );
    }
}

/* Celular */

@media (max-width: 640px) {
    .home-cta {
        padding-block: 64px;
    }

    .home-cta__banner {
        min-height: auto;
        border-radius: var(--radius-lg);
    }

    .home-cta__content {
        padding: 36px 22px 28px;
    }

    .home-cta__content h2 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .home-cta__subtitle {
        font-size: 15px;
    }

    .home-cta__dates {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-cta__button {
        width: 100%;
    }

    .home-cta__visual,
    .home-cta__image,
    .home-cta__placeholder {
        min-height: 340px;
    }
}