/* ============================================================
   UrbanLocker — standalone stylesheet.
   Every selector is namespaced under .ul / ul-* so this page
   shares nothing with the other landing pages.
   Palette sampled directly from the UrbanLocker banner (Canva PDF):
   royal-blue background, white ink, white cards.
   ============================================================ */

.ul {
    --royal:      #416BBD;   /* page background            */
    --royal-2:    #4E77C8;   /* lighter accent / CTA panel */
    --ink:        #1C2C54;   /* solid buttons, headings    */
    --ink-2:      #16224A;   /* button hover               */
    --card:       #FFFFFF;   /* white card                 */
    --card-tint:  #E6EEFA;   /* light-blue card            */
    --tile:       #EAF1FB;   /* tile inside a card         */
    --tile-line:  #CBDCF4;
    --sq-light:   #6E93D6;   /* decorative squares         */
    --sq-lav:     #2F4E97;
    --text:       #33456E;   /* body text on white         */
    --danger:     #C81E3C;
    --r-card:     30px;
    --r-tile:     16px;
    --shell:      1120px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.ul {
    margin: 0;
    background: var(--royal);
    color: #fff;
    font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* `height` stays at its initial `auto` here: spelling it out would outrank the
   single-class rules below (`.ul-tile__icon` and friends) and silently undo
   every explicit icon height. */
.ul img { max-width: 100%; display: block; }

.ul-shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.ul-relative { position: relative; }

.ul-skip {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.ul-skip:focus { left: 0; }

/* ---------- Decorative squares ---------- */
.ul-sq {
    position: absolute;
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
}
.ul-sq--light { background: var(--sq-light); }
.ul-sq--lav   { background: var(--sq-lav); }

/* ---------- Buttons ---------- */
.ul-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 12px;
    font: inherit; font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.ul-btn--lg { padding: 16px 34px; font-size: 1.05rem; border-radius: 14px; }
.ul-btn--solid {
    background: var(--ink); color: #fff;
    box-shadow: 0 10px 22px -12px rgba(12,18,48,.9);
}
.ul-btn--solid:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(12,18,48,.95); }
.ul-btn--white {
    background: #fff; color: var(--ink);
    box-shadow: 0 10px 22px -12px rgba(12,18,48,.65);
}
.ul-btn--white:hover { background: #eef4fe; transform: translateY(-2px); }
.ul-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.ul-btn--ghost:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.ul-btn:active { transform: translateY(0); }
.ul-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ============================================================
   Header
   ============================================================ */
.ul-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--royal);
    transition: box-shadow .25s ease, background .25s ease;
}
.ul-header.is-stuck { box-shadow: 0 6px 24px -12px rgba(9,16,42,.7); }
.ul-header__inner {
    display: flex; align-items: center; gap: 24px;
    min-height: 100px;
    /* Block-only: the `padding` shorthand here would wipe the horizontal
       padding `.ul-shell` sets, pushing the logo and burger into the edges. */
    padding-block: 14px;
}
.ul-logo { flex-shrink: 0; }
/* Sized by height, not width: the logo is a wide 2000x1194 image, so a width
   of 176px made it 105px tall — taller than the bar itself, which is why it
   ended up flush against the top edge. */
.ul-logo img { height: 72px; width: auto; }

.ul-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.ul-nav__list {
    display: flex; align-items: center; gap: 30px;
    list-style: none; margin: 0; padding: 0;
}
.ul-nav__link {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 6px 0;
    white-space: nowrap;
}
.ul-nav__link::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 2.5px; border-radius: 2px;
    background: #fff;
    transform: scaleX(0); transform-origin: center;
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.ul-nav__link:hover::after,
.ul-nav__link.is-active::after { transform: scaleX(1); }
.ul-nav__cta { padding: 12px 28px; }

/* ---------- Burger ---------- */
.ul-burger {
    display: none;
    width: 46px; height: 46px;
    margin-left: auto;
    padding: 0;
    border: 0; border-radius: 12px;
    background: var(--ink);
    cursor: pointer;
    position: relative;
}
.ul-burger span {
    position: absolute; left: 13px;
    width: 20px; height: 2.5px; border-radius: 2px;
    background: #fff;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease, top .3s ease;
}
.ul-burger span:nth-child(1) { top: 16px; }
.ul-burger span:nth-child(2) { top: 22px; }
.ul-burger span:nth-child(3) { top: 28px; }
.ul-burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.ul-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.ul-burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.ul-burger:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ============================================================
   Hero
   ============================================================ */
.ul-hero { position: relative; padding: 30px 0 56px; }
.ul-hero__inner {
    display: grid; grid-template-columns: 1.05fr .95fr;
    align-items: center; gap: 40px;
}
.ul-hero__title { margin: 0 0 22px; }
.ul-hero__title img { width: 100%; max-width: 480px; }
.ul-hero__lead {
    margin: 0 0 30px;
    font-size: 1.08rem; font-weight: 600;
    color: rgba(255,255,255,.92);
}
.ul-hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.ul-hero__art { position: relative; }
.ul-hero__art img { width: 100%; max-width: 420px; margin-left: auto; }
.ul-hero__art img.ul-hero__badge {
    position: absolute; top: -30px; right: -22px;
    width: 92px; max-width: 92px; margin-left: 0;
    filter: drop-shadow(0 12px 20px rgba(9,16,42,.35));
}

.ul-hero__sq1 { width: 74px; height: 74px; top: 20px;  left: -30px; }
.ul-hero__sq2 { width: 74px; height: 74px; top: 70px;  left: -8px; }

/* ============================================================
   Generic section / card
   ============================================================ */
.ul-section { position: relative; padding: 30px 0; }
.ul-section--cta { padding-top: 10px; }

.ul-card {
    position: relative; z-index: 1;
    background: var(--card);
    color: var(--text);
    border-radius: var(--r-card);
    padding: 44px 46px 50px;
    box-shadow: 0 26px 50px -30px rgba(9,16,42,.65);
}
.ul-card--tint { background: var(--card-tint); }
.ul-card--form { max-width: 720px; margin: 0 auto; }

.ul-title {
    margin: 0 auto 8px;
    font-size: clamp(1.6rem, 3.4vw, 2.1rem);
    font-weight: 900;
    text-align: center;
    letter-spacing: -.2px;
    width: fit-content;
    color: var(--ink);
}
.ul-title--underline { padding-bottom: 12px; position: relative; }
.ul-title--underline::after {
    content: "";
    position: absolute; left: 8%; right: 8%; bottom: 2px;
    height: 3px; border-radius: 3px;
    background: var(--royal);
}
.ul-title--onblue { color: #fff; }
.ul-title--onblue.ul-title--underline::after { background: #fff; }

.ul-section__lead {
    margin: 14px auto 30px;
    max-width: 640px;
    text-align: center;
    font-weight: 600;
    color: var(--text);
}
.ul-section__lead--onblue { color: rgba(255,255,255,.92); }

.ul-grid { display: grid; gap: 22px; }
.ul-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ul-grid--4 { grid-template-columns: repeat(4, 1fr); }

.ul-tile {
    background: var(--tile);
    border: 1.5px solid var(--tile-line);
    border-radius: var(--r-tile);
    padding: 26px 20px 24px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ul-tile:hover { transform: translateY(-5px); box-shadow: 0 18px 30px -20px rgba(9,16,42,.4); }
/* The four source icons have very different aspect ratios (a wide box, a very
   tall pair of skis), so they share one square box and are fitted inside it —
   that keeps both the visual weight and the titles below them aligned. */
.ul-tile__icon { height: 84px; width: 84px; object-fit: contain; margin: 0 auto 16px; }
.ul-tile__title { margin: 0 0 8px; font-size: 1.06rem; font-weight: 800; color: var(--ink); }
.ul-tile__text { margin: 0; font-size: .9rem; font-weight: 600; color: var(--text); }

/* ============================================================
   ¿Cómo funciona?
   ============================================================ */
.ul-steps {
    list-style: none; margin: 34px 0 0; padding: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start; gap: 10px;
}
.ul-step { text-align: center; padding: 0 8px; }
.ul-step__art { position: relative; height: 130px; margin-bottom: 18px; }
.ul-step__art img { height: 100%; width: auto; margin: 0 auto; }
.ul-step__num {
    position: absolute; left: 50%; top: 0;
    transform: translateX(-96px);
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff; color: var(--ink);
    font-weight: 900; font-size: 1.18rem;
    box-shadow: 0 8px 16px -8px rgba(9,16,42,.5);
}
.ul-step__title { margin: 0 0 8px; font-size: 1.12rem; font-weight: 800; color: #fff; }
.ul-step__text { margin: 0 auto; max-width: 250px; font-weight: 600; color: rgba(255,255,255,.9); }

.ul-steps__dots { display: flex; align-items: center; gap: 7px; padding-top: 68px; }
.ul-steps__dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: #fff; opacity: .85;
}

/* ============================================================
   Preguntas (FAQ)
   ============================================================ */
.ul-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ul-faq__item {
    background: var(--tile);
    border: 1.5px solid var(--tile-line);
    border-radius: var(--r-tile);
    overflow: hidden;
}
.ul-faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 20px;
    font-weight: 800;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.ul-faq__q::-webkit-details-marker { display: none; }
.ul-faq__q:focus-visible { outline: 3px solid var(--royal); outline-offset: -3px; }
.ul-faq__ico {
    position: relative; flex-shrink: 0;
    width: 18px; height: 18px;
}
.ul-faq__ico::before, .ul-faq__ico::after {
    content: ""; position: absolute; background: var(--royal); border-radius: 2px;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.ul-faq__ico::before { left: 0; top: 8px; width: 18px; height: 2.5px; }
.ul-faq__ico::after  { left: 8px; top: 0; width: 2.5px; height: 18px; }
.ul-faq__item[open] .ul-faq__ico::after { transform: rotate(90deg); opacity: 0; }
.ul-faq__a { padding: 0 20px 18px; }
.ul-faq__a p { margin: 0; font-weight: 600; color: var(--text); }
.ul-faq__item[open] .ul-faq__a { animation: ul-fade .3s ease; }
@keyframes ul-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   CTA
   ============================================================ */
.ul-cta {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center; gap: 34px;
    background: var(--royal-2);
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: var(--r-card);
    padding: 30px 44px;
    box-shadow: 0 26px 50px -34px rgba(9,16,42,.6);
}
.ul-cta__art { width: 150px; flex-shrink: 0; }
.ul-cta__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900; line-height: 1.12;
    color: #fff;
}
.ul-cta__text { margin: 0; font-weight: 700; color: rgba(255,255,255,.92); }
.ul-cta__btn { white-space: nowrap; }

/* ============================================================
   Registration form
   ============================================================ */
.ul-form { display: flex; flex-direction: column; gap: 16px; }
.ul-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ul-field { display: flex; flex-direction: column; gap: 6px; }
.ul-field label { font-size: .88rem; font-weight: 800; color: var(--ink); }

.ul-field input,
.ul-field select {
    width: 100%;
    padding: 13px 15px;
    background: #fff;
    border: 1.5px solid var(--tile-line);
    border-radius: 12px;
    font: inherit; font-weight: 600;
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease;
    appearance: none;
}
.ul-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2C54' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 17px;
    padding-right: 42px;
}
.ul-field select:invalid { color: #8FA3BF; }
.ul-field input::placeholder { color: #9FB3CC; font-weight: 600; }
.ul-field input:hover, .ul-field select:hover { border-color: #9EBCE8; }
.ul-field input:focus, .ul-field select:focus {
    outline: none;
    border-color: var(--royal);
    box-shadow: 0 0 0 4px rgba(65,107,189,.18);
}
.ul-field .ul-input-error { border-color: var(--danger); }
.ul-field .ul-input-error:focus { box-shadow: 0 0 0 4px rgba(200,30,60,.16); }

.ul-field__error { margin: 0; font-size: .8rem; font-weight: 700; color: var(--danger); }
.ul-field__error:empty { display: none; }

.ul-form__submit { margin-top: 10px; width: 100%; letter-spacing: .5px; }

/* ============================================================
   Footer
   ============================================================ */
.ul-footer { margin-top: 24px; padding: 22px 0 30px; border-top: 2.5px solid rgba(255,255,255,.6); }
/* Three columns keep the address centred on the page, not just in the
   space left over next to the logo. */
.ul-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.ul-footer__logo img { width: 160px; }
.ul-footer__site { margin: 0; font-weight: 800; text-align: center; color: #fff; }

/* ============================================================
   Loader + success modal
   ============================================================ */
.ul-overlay, .ul-modal {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(9,16,42,.66);
    backdrop-filter: blur(5px);
    animation: ul-fade .2s ease;
}
.ul-overlay[hidden], .ul-modal[hidden] { display: none; }
.ul-overlay__panel, .ul-modal__panel {
    width: 100%; max-width: 420px;
    background: var(--card);
    color: var(--text);
    border-radius: 26px;
    padding: 38px 34px 32px;
    text-align: center;
    box-shadow: 0 40px 80px -30px rgba(9,16,42,.8);
    animation: ul-pop .28s cubic-bezier(.2,.9,.3,1.3);
}
@keyframes ul-pop { from { transform: translateY(14px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

.ul-spinner {
    width: 58px; height: 58px; margin: 0 auto 20px;
    border-radius: 50%;
    border: 5px solid rgba(65,107,189,.2);
    border-top-color: var(--royal);
    animation: ul-spin .85s linear infinite;
}
@keyframes ul-spin { to { transform: rotate(360deg); } }
.ul-overlay__title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 900; color: var(--ink); }
.ul-overlay__text { margin: 0; font-weight: 600; color: var(--text); }

.ul-modal__icon {
    width: 74px; height: 74px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: #14A06A; background: #DFF6EC; border: 2px solid #A8E5CD;
}
.ul-modal__title { margin: 0 0 10px; font-size: 1.4rem; font-weight: 900; color: var(--ink); }
.ul-modal__text { margin: 0 0 24px; font-weight: 600; color: var(--text); }
.ul-modal__ok { min-width: 160px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.ul-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.ul-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .ul-reveal { opacity: 1; transform: none; transition: none; }
    .ul-spinner { animation-duration: 2.4s; }
}

/* ---------- Decorative square placement ---------- */
.ul-que__sq1  { width: 62px; height: 62px; left: -26px; top: 44px; }
.ul-que__sq2  { width: 62px; height: 62px; left: -6px;  top: 86px; }
.ul-que__sq3  { width: 62px; height: 62px; right: -22px; bottom: 78px; }
.ul-que__sq4  { width: 62px; height: 62px; right: -44px; bottom: 36px; }
.ul-vent__sq1 { width: 62px; height: 62px; right: -18px; top: 22px; }
.ul-vent__sq2 { width: 62px; height: 62px; right: -40px; top: 64px; }
.ul-faq__sq1  { width: 58px; height: 58px; left: -30px; bottom: 60px; }
.ul-cta__sq1  { width: 58px; height: 58px; right: -26px; top: -14px; }
.ul-cta__sq2  { width: 58px; height: 58px; right: -6px;  bottom: -18px; }
.ul-reg__sq1  { width: 58px; height: 58px; left: 8px; top: 40px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .ul-nav__list { gap: 20px; }
    .ul-logo img { height: 64px; }
    .ul-card { padding: 38px 30px 42px; }
    .ul-cta { gap: 24px; padding: 28px 32px; }
    .ul-cta__art { width: 120px; }
}

@media (max-width: 900px) {
    /* Nav collapses into an animated slide-down panel. */
    .ul-burger { display: block; }
    .ul-nav {
        position: fixed; inset: 100px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 0;
        margin: 0; padding: 0 24px;
        background: var(--royal);
        box-shadow: 0 20px 30px -20px rgba(9,16,42,.7);
        max-height: 0; overflow: hidden;
        transition: max-height .42s cubic-bezier(.4,0,.2,1), padding .3s ease;
    }
    .ul-nav.is-open { max-height: 420px; padding: 10px 24px 26px; }
    .ul-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .ul-nav__list li { border-bottom: 1.5px solid rgba(255,255,255,.22); }
    .ul-nav__link {
        display: block; padding: 15px 4px; font-size: 1.05rem;
        opacity: 0; transform: translateY(-8px);
        transition: opacity .3s ease, transform .3s ease;
    }
    .ul-nav.is-open .ul-nav__link { opacity: 1; transform: none; }
    .ul-nav.is-open li:nth-child(1) .ul-nav__link { transition-delay: .08s; }
    .ul-nav.is-open li:nth-child(2) .ul-nav__link { transition-delay: .14s; }
    .ul-nav.is-open li:nth-child(3) .ul-nav__link { transition-delay: .20s; }
    .ul-nav.is-open li:nth-child(4) .ul-nav__link { transition-delay: .26s; }
    .ul-nav__link::after { display: none; }
    .ul-nav__link.is-active { text-decoration: underline; text-underline-offset: 5px; }
    .ul-nav__cta {
        margin-top: 18px; width: 100%;
        opacity: 0; transform: translateY(-8px);
        transition: opacity .3s ease .3s, transform .3s ease .3s;
    }
    .ul-nav.is-open .ul-nav__cta { opacity: 1; transform: none; }

    .ul-hero__inner { grid-template-columns: 1fr; text-align: center; }
    .ul-hero__copy { order: 2; }
    .ul-hero__art  { order: 1; }
    .ul-hero__art img { margin: 0 auto 10px; max-width: 340px; }
    .ul-hero__title img { margin: 0 auto; }
    .ul-hero__actions { justify-content: center; }
    .ul-hero__lead br { display: none; }
    .ul-hero__art img.ul-hero__badge { width: 66px; max-width: 66px; top: -14px; right: 4px; margin: 0; }

    .ul-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .ul-steps { grid-template-columns: 1fr; gap: 34px; }
    .ul-steps__dots { display: none; }
    .ul-step__num { transform: translateX(-92px); }

    .ul-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 18px; }
    .ul-cta__title, .ul-cta__text { text-align: center; }

    .ul-footer__inner { grid-template-columns: 1fr; justify-items: center; gap: 14px; text-align: center; }
}

@media (max-width: 620px) {
    .ul-shell { padding: 0 18px; }
    .ul-header__inner { min-height: 80px; padding-block: 10px; }
    .ul-nav { inset-block-start: 80px; }
    .ul-logo img { height: 54px; }
    .ul-card { padding: 30px 20px 34px; border-radius: 24px; }
    .ul-grid--3, .ul-grid--4 { grid-template-columns: 1fr; }
    .ul-form__row { grid-template-columns: 1fr; }
    .ul-hero__actions .ul-btn { width: 100%; }
    .ul-cta { padding: 28px 20px; }
    .ul-cta__art { width: 108px; }
    .ul-section__lead br { display: none; }
    .ul-sq { display: none; }
}
