/* ===== HERO: video izquierda + panel magenta derecha ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hero {
    --magenta: #ec0c8c;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 360px;
    border-radius: 6px;
    overflow: hidden;
    font-family: "Utendo", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Video ---- */
.hero__media {
    position: relative;
    overflow: hidden;

}

.hero__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.12);
    opacity: 0;
    transition: transform 1.6s ease, opacity 1s ease;
}

.hero.is-visible .hero__media video {
    transform: scale(1);
    opacity: 1;
}


.hero__content {
    background: var(--magenta);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 9%;
    clip-path: inset(0 0 0 100%);

    transition: clip-path 0.9s cubic-bezier(.77, 0, .18, 1);
}

.hero.is-visible .hero__content {
    clip-path: inset(0 0 0 0);
}

.hero__title {
    font-weight: 300;
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1.6rem;
}

.hero__title strong {
    font-weight: 800;
    font-style: italic;
}

.hero__line,
.hero__text {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.hero.is-visible .hero__line:nth-child(1) {
    transition-delay: .6s;
}

.hero.is-visible .hero__line:nth-child(2) {
    transition-delay: .8s;
}

.hero.is-visible .hero__text {
    transition-delay: 1s;
}

.hero.is-visible .hero__line,
.hero.is-visible .hero__text {
    opacity: 1;
    transform: translateY(0);
}

.hero__text {
    font-size: clamp(.85rem, 1vw, 1rem);
    font-weight: 300;
    max-width: 420px;
    line-height: 1.6;
}


.hero.is-visible .hero__btn {
    opacity: 1;
    transform: scale(1);
    animation: float 3s ease-in-out 2s infinite;
}

.hero__btn:hover {
    filter: brightness(1.1);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}


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

    .hero__media {
        min-height: 260px;
    }

    .hero__content {
        padding: 40px 24px 90px;
        clip-path: inset(100% 0 0 0);

    }

    .hero__btn {
        right: 16px;
        bottom: 16px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .hero *,
    .hero *::before {
        transition: none !important;
        animation: none !important;
    }
}

.nb-hero {
    --nb-magenta: #ccd6da;
    --nb-alto: clamp(300px, 24vw, 400px);
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    max-width: 1600px !important;
    height: var(--nb-alto) !important;
    margin: 0 auto 40px !important;
    padding: 0 !important;
    border-radius: 8px;
    overflow: hidden !important;
    background: var(--nb-magenta) !important;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
}

.nb-hero *,
.nb-hero *::before,
.nb-hero *::after {
    box-sizing: border-box;
}

/* ---------- VIDEO ---------- */
.nb-hero__media {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #ddd;
}

.nb-hero__media video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    animation: nbZoom 1.6s ease both;
}

/* ---------- PANEL DE TEXTO ---------- */
.nb-hero__content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 0 10% !important;
    margin: 0 !important;
    background: var(--nb-magenta) !important;
    color: #fff !important;
    animation: nbReveal .9s cubic-bezier(.77, 0, .18, 1) both;
}

.nb-hero__title {
    margin: 0 0 1.4rem !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: inherit !important;
    font-weight: 300 !important;
    font-size: clamp(1.8rem, 3.2vw, 3.3rem) !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.nb-hero__title strong {
    font-weight: 800 !important;
    font-style: italic !important;
}

.nb-hero__line {
    display: block;
    animation: nbUp .7s ease both;
}

.nb-hero__line:nth-child(1) {
    animation-delay: .6s;
}

.nb-hero__line:nth-child(2) {
    animation-delay: .8s;
}

.nb-hero__text {
    margin: 0 !important;
    max-width: 420px;
    color: #fff !important;
    font-size: clamp(.85rem, 1vw, 1rem) !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    animation: nbUp .7s ease 1s both;
}

/* ---------- BOTÓN FLOTANTE ---------- */
.nb-hero__btn {
    position: absolute !important;
    right: 24px;
    bottom: 24px;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 24px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #0f8a7a, #1e5bb8) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    animation: nbPop .5s cubic-bezier(.34, 1.56, .64, 1) 1.3s both,
        nbFloat 3s ease-in-out 2s infinite;
}

/* ---------- ANIMACIONES ---------- */
@keyframes nbZoom {
    from {
        transform: scale(1.12);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes nbReveal {
    from {
        clip-path: inset(0 0 0 100%);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes nbUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nbPop {
    from {
        opacity: 0;
        transform: scale(.6);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes nbFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .nb-hero {
        --nb-alto: 300px;
    }

    .nb-hero__content {
        padding: 0 7% !important;
    }
}

/* ---------- MÓVIL: se apila ---------- */
@media (max-width: 768px) {
    .nb-hero {
        grid-template-columns: 1fr !important;
        height: auto !important;
        border-radius: 0;
    }

    .nb-hero__media {
        height: 56vw !important;
        min-height: 200px;
    }

    .nb-hero__content {
        height: auto !important;
        padding: 32px 20px 84px !important;
        animation-name: nbRevealDown;
    }

    .nb-hero__text {
        max-width: none;
    }

    .nb-hero__btn {
        right: 16px;
        bottom: 16px;
        padding: 10px 20px !important;
    }

    @keyframes nbRevealDown {
        from {
            clip-path: inset(0 0 100% 0);
        }

        to {
            clip-path: inset(0 0 0 0);
        }
    }
}

@media (prefers-reduced-motion: reduce) {

    .nb-hero,
    .nb-hero * {
        animation: none !important;
    }
}





html,
body {
    overflow-x: clip;
}

/* evita scroll horizontal por el ancho completo */

.nb-hero {
    --nb-rosa: #f06bb4;
    /* rosa del logo */
    --nb-rosa-osc: #d9468f;

    /* celeste de la barra superior */
    --nb-texto: #3b2a3f;
    --nb-alto: clamp(340px, 30vw, 520px);

    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 0 48px calc(50% - 50vw) !important;
    /* rompe el contenedor: borde a borde */
    height: var(--nb-alto) !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-family: inherit;
    box-sizing: border-box;
}

.nb-hero *,
.nb-hero *::before,
.nb-hero *::after {
    box-sizing: border-box;
}

/* ---------- VIDEO ---------- */
.nb-hero__media {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #f3e9ef;
}

.nb-hero__media video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    animation: nbZoom 1.6s ease both;
}

/* ---------- PANEL PASTEL ---------- */
.nb-hero__content {
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    height: 100% !important;
    padding: 0 9% !important;
    margin: 0 !important;
    color: var(--nb-texto) !important;
    background:
        #ffffff 100% !important;
    overflow: hidden;
    animation: nbReveal .9s cubic-bezier(.77, 0, .18, 1) both;
}



.nb-hero__content::before {
    width: 180px;
    height: 180px;
    right: -50px;
    bottom: -60px;
    background: rgba(240, 107, 180, .14);
}

.nb-hero__content::after {
    width: 70px;
    height: 70px;
    right: 14%;
    top: 14%;
    background: rgba(31, 181, 240, .16);
    animation-delay: 1.5s;
}

.nb-hero__tag {
    display: inline-block;
    margin-bottom: 1.1rem;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--nb-celeste);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(31, 181, 240, .15);
    animation: nbUp .7s ease .5s both;
}

.nb-hero__title {
    margin: 0 0 1.1rem !important;
    padding: 0 !important;
    color: var(--nb-texto) !important;
    font-family: inherit !important;
    font-weight: 300 !important;
    font-size: clamp(2rem, 3.4vw, 3.6rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -.01em !important;
    text-transform: none !important;
}

.nb-hero__title strong {
    font-weight: 800 !important;
    font-style: italic !important;
    color: var(--nb-rosa) !important;
}

.nb-hero__line {
    display: block;
    animation: nbUp .7s ease both;
}

.nb-hero__line:nth-child(1) {
    animation-delay: .65s;
}

.nb-hero__line:nth-child(2) {
    animation-delay: .85s;
}

.nb-hero__text {
    margin: 0 0 1.8rem !important;
    max-width: 440px;
    color: #6b5a6e !important;
    font-size: clamp(.9rem, 1.05vw, 1.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    animation: nbUp .7s ease 1.05s both;
}

.nb-hero__cta {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 14px 30px !important;
    border-radius: 999px !important;
    background: var(--nb-rosa) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(240, 107, 180, .35);
    transition: background .25s, transform .25s, box-shadow .25s;
    animation: nbUp .7s ease 1.25s both;
}

.nb-hero__cta:hover {
    background: var(--nb-rosa-osc) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(240, 107, 180, .45);
}

.nb-hero__cta svg {
    transition: transform .25s;
}

.nb-hero__cta:hover svg {
    transform: translateX(4px);
}

/* ---------- ANIMACIONES ---------- */
@keyframes nbZoom {
    from {
        transform: scale(1.12);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes nbReveal {
    from {
        clip-path: inset(0 0 0 100%);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes nbUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nbFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes nbRevealDown {
    from {
        clip-path: inset(0 0 100% 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .nb-hero {
        --nb-alto: 360px;
    }

    .nb-hero__content {
        padding: 0 6% !important;
    }
}

/* ---------- MÓVIL: se apila ---------- */
@media (max-width: 768px) {
    .nb-hero {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }

    .nb-hero__media {
        height: 56vw !important;
        min-height: 210px;
    }

    .nb-hero__content {
        height: auto !important;
        padding: 36px 20px 44px !important;
        animation-name: nbRevealDown;
    }

    .nb-hero__text {
        max-width: none;
    }

    .nb-hero__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nb-hero,
    .nb-hero *,
    .nb-hero *::before,
    .nb-hero *::after {
        animation: none !important;
    }
}