@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

:root {
    --navy: #0F1E4A;
    --navy-deep: #081130;
    --deep-blue: #048FEC;
    --sky: #4FA8E8;
    --green: #6FAE3E;
    --yellow: #F5D949;
    --mist: #F5F8FC;
    --white: #FFFFFF;
    --ink: #16214A;
    --ink-soft: #5A6389;
    --line: #E4E9F5;
    --dark-blue: #142676;
    --wrap: 1160px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 32px;
}

h1,
h2,
h3 {
    font-family: 'Fraunces', serif;
    color: var(--navy);
    line-height: 1.08;
    font-weight: 500;
}

.label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

.btn-solid {
    background: var(--yellow);
    color: var(--navy);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -8px rgba(245, 217, 73, .55);
}

.btn-line {
    background: var(--deep-blue);
    color: var(--white);
    border-color: var(--deep-blue);
}

.btn-line:hover {
    background: rgba(255, 255, 255, .12);
    border-color: var(--white);
}

.btn-line-dark {
    background: var(--deep-blue);
    color: var(--white);
    border-color: var(--deep-blue);
}

.btn-line-dark:hover {
    background: var(--navy);
    color: var(--white);
}

/* ===== STORE BADGES ===== */
.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, .22);
    transition: transform .18s ease, background .18s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .16);
}

.store-badge:focus-visible {
    outline: 3px solid var(--sky);
    outline-offset: 3px;
}

.store-badge svg {
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-badge-text small {
    font-size: 10px;
    font-weight: 400;
    color: #B7C1E8;
}

.store-badge-text strong {
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
}

.store-badge.on-light {
    background: var(--white);
    color: var(--navy);
    border-color: transparent;
}

.store-badge.on-light .store-badge-text small {
    color: var(--ink-soft);
}

.store-badge.on-light svg {
    fill: var(--navy);
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
}

.brand-word {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--navy);
    line-height: 1.3;
}

.brand-word br {
    display: none;
}

.brand-word span {
    display: block;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: 0.2em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    color: var(--ink);
}

.nav-links a:hover {
    color: var(--sky);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--navy);
    margin: 5px 0;
    border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    padding: 64px 0 0;
    overflow: hidden;
}


/* .hero::before {
    content: '';
    position: absolute;
    top: -220px;
    right: -160px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle at 35% 35%, rgba(79, 168, 232, .55), transparent 68%);
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
} */


/* .hero::after {
    content: '';
    position: absolute;
    bottom: -260px;
    left: -200px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle at 60% 40%, rgba(245, 217, 73, .28), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
} */

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 64px;
}

.hero-copy {
    animation: riseIn .8s ease both;
}

.hero-copy .label {
    color: #9FB0E0;
    margin-bottom: 22px;
    display: block;
}

.hero-copy h1 {
    font-size: clamp(38px, 5.1vw, 62px);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
    color: var(--white);
    animation: riseIn .8s ease .1s both;
}

.hero-tagline {
    font-family: 'Fraunces', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    color: var(--yellow);
    margin-bottom: 20px;
    animation: riseIn .8s ease .2s both;
}

.hero-copy p.lead {
    font-size: 17px;
    line-height: 1.7;
    color: #C4CDEC;
    max-width: 48ch;
    margin-bottom: 36px;
    animation: riseIn .8s ease .3s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    animation: riseIn .8s ease .4s both;
}

.hero-note {
    font-size: 13px;
    color: #9FB0E0;
    animation: riseIn .8s ease .5s both;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: riseIn 1s ease .25s both;
}

.blob-shape {
    position: absolute;
    width: 340px;
    height: 400px;
    background: linear-gradient(150deg, var(--sky), var(--green) 82%);
    border-radius: 58% 42% 63% 37% / 41% 55% 45% 59%;
    z-index: 0;
}

.phone {
    width: 250px;
    border-radius: 32px;
    border: 8px solid var(--navy-deep);
    box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .55);
    overflow: hidden;
    background: var(--navy-deep);
    position: relative;
    z-index: 1;
}

.phone img {
    width: 100%;
    display: block;
}

.hero-visual .phone {
    transform: rotate(-4deg);
}

.wave {
    display: block;
    width: 100%;
    line-height: 0;
    position: relative;
}

.wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== MARQUEE ===== */
.marquee-band {
    background: var(--mist);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollX 34s linear infinite;
}

.marquee-track span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: var(--navy);
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
}

.marquee-track span::after {
    content: '✦';
    color: var(--green);
    font-size: 11px;
}

@keyframes scrollX {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== MANIFESTO ===== */
.manifesto {
    padding: 120px 0 100px;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
}

.manifesto-mark {
    font-family: 'Fraunces', serif;
    font-size: 120px;
    line-height: 1;
    color: var(--yellow);
    font-weight: 500;
    font-style: italic;
}

.manifesto-mark .logo-asocan {
    transform: translateY(-110px);
}

.manifesto h2 {
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 500;
    margin-bottom: 26px;
}

.manifesto p {
    font-size: 17.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 62ch;
}

.manifesto p+p {
    margin-top: 20px;
}

.manifesto p strong {
    color: var(--navy);
    font-weight: 700;
}

.manifesto-credit {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.manifesto-credit img {
    height: 64px;
    width: auto;
}

.manifesto-credit span {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    text-transform: uppercase;
}

/* ===== SECTION SHARED ===== */
section {
    padding: 0;
}

.pad {
    padding: 104px 0;
}

.on-navy {
    background: var(--navy);
    color: var(--white);
}

.on-navy h2,
.on-navy h3 {
    color: var(--white);
}

.on-navy .label {
    color: #9FB0E0;
}

.on-mist {
    background: var(--mist);
}

/* ===== CÓMO FUNCIONA (editorial list) ===== */
.steps-head {
    max-width: 560px;
    margin-bottom: 56px;
}

.steps-head h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin-top: 14px;
    color: var(--deep-blue);
    font-weight: 600;
}

.steps-head p {
    font-size: 16px;
    color: var(--ink-soft);
    margin-top: 14px;
    line-height: 1.65;
}

.step-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
    align-items: center;
    padding: 36px 0;
    border-top: 1px solid var(--line);
    position: relative;
}

.step-row:last-child {
    border-bottom: 1px solid var(--line);
}

.step-num {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 64px;
    color: var(--navy);
    -webkit-text-stroke: 1.5px var(--navy);
    line-height: 1;
}

.step-row:nth-child(2) .step-num {
    color: var(--sky);
    -webkit-text-stroke-color: var(--sky);
}

.step-row:nth-child(3) .step-num {
    color: var(--green);
    -webkit-text-stroke-color: var(--green);
}

.step-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.step-body p {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 52ch;
}

/* ===== ISLAS ===== */
.islands-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.islands-big-num {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 140px;
    line-height: 0.8;
    color: var(--sky);
    opacity: .9;
    margin-bottom: 6px;
}

.islands-layout h2 {
    font-weight: 600;
}

.island-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin-top: 26px;
}

.island-chip {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 11px 20px;
    border: 1.5px solid rgba(255, 255, 255, .28);
    border-radius: 100px;
    color: var(--white);
}

.islands-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.islands-visual .blob-shape {
    background: linear-gradient(150deg, var(--yellow), var(--green) 85%);
    width: 300px;
    height: 360px;
}

.islands-visual .phone {
    transform: rotate(3deg);
}

/* ===== ASYMMETRIC FEATURE (cercania / viveros) ===== */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature.reverse .feature-visual {
    order: 2;
}

.feature.reverse .feature-copy {
    order: 1;
}

#cercania .feature-copy h2 {
    color: var(--deep-blue);
}

.feature-copy h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    margin: 14px 0 16px;
    font-weight: 600;
    color: var(--dark-blue);
    text-wrap: balance;
}

.feature-copy>p {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 50ch;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-list .ic {
    width: 6px;
    flex: 0 0 auto;
    align-self: stretch;
    border-radius: 6px;
    background: var(--green);
    margin-top: 4px;
}

.feature-list li:nth-child(2) .ic {
    background: var(--sky);
}

.feature-list li:nth-child(3) .ic {
    background: var(--yellow);
}

.feature-list li:nth-child(4) .ic {
    background: var(--navy);
}

.feature-list h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.feature-list p {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}

.feature-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.feature-visual .blob-shape {
    width: 290px;
    height: 350px;
}

.feature-visual.tone-sky .blob-shape {
    background: linear-gradient(150deg, var(--sky), var(--navy) 90%);
}

.feature-visual.tone-green .blob-shape {
    background: linear-gradient(150deg, var(--green), var(--sky) 88%);
}

.feature-visual .phone {
    transform: rotate(-3deg);
}

.feature-visual.tone-green .phone {
    transform: rotate(3deg);
}

/* ===== COMPRA (bento) ===== */
.compra-head {
    max-width: 640px;
    margin: 0 auto 60px;
    text-align: center;
}

.compra-head h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    margin-top: 14px;
    text-wrap: balance;
    font-weight: 500;
    color: var(--deep-blue);
}

.compra-head p {
    font-size: 16px;
    color: var(--ink-soft);
    margin-top: 14px;
    line-height: 1.65;
}

.bento {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: center;
}

.bento-tile {
    border-radius: 36px 12px 36px 12px;
    overflow: hidden;
    position: relative;
    background: var(--navy);
    display: flex;
    justify-content: center;
    padding: 36px 0 0;
}

.bento-tile.alt {
    border-radius: 12px 36px 12px 36px;
    background: linear-gradient(160deg, var(--green), var(--sky));
}

.bento-tile img {
    width: 230px;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .4);
}

.price-float {
    position: absolute;
    top: 26px;
    right: 26px;
    background: var(--yellow);
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 100px;
    box-shadow: 0 12px 24px -10px rgba(245, 217, 73, .6);
}

/* ===== DOWNLOAD CTA ===== */
.cta-band {
    position: relative;
    background: var(--navy-deep);
    color: var(--white);
    padding: 110px 0 0;
    overflow: hidden;
}

/* .cta-band::before {
    content: '';
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(111, 174, 62, .35), transparent 70%);
    border-radius: 50%;
} */

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    padding-bottom: 84px;
}

.cta-inner .label {
    color: #9FB0E0;
    margin-bottom: 20px;
    display: block;
}

.cta-inner h2 {
    color: var(--white);
    font-size: clamp(32px, 4.4vw, 48px);
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-inner p {
    color: #C4CDEC;
    font-size: 16.5px;
    line-height: 1.65;
    margin-bottom: 38px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-deep);
    color: #9FB0E0;
    padding: 56px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand-word {
    color: var(--white);
}

.footer-brand .brand-word span {
    color: #7382B3;
}

.footer-cols {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-col h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #9FB0E0;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--sky);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 26px;
    font-size: 13px;
}

.sora {
    font-family: 'Sora', sans-serif;
}

/* ===== RESPONSIVE ===== */
@media (max-width:920px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy p.lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-note {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 36px;
        order: -1;
    }

    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .manifesto-mark {
        font-size: 80px;
    }

    .manifesto-mark .logo-asocan {
        transform: unset;
    }


    .islands-layout {
        grid-template-columns: 1fr;
    }

    .islands-visual {
        order: -1;
        margin-bottom: 12px;
    }

    .feature,
    .feature.reverse {
        grid-template-columns: 1fr;
    }

    .feature.reverse .feature-visual,
    .feature .feature-visual {
        order: -1;
        margin-bottom: 8px;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }

    .step-row {
        grid-template-columns: 70px 1fr;
        gap: 20px;
    }

    .step-num {
        font-size: 44px;
    }
}

@media (max-width:520px) {
    .wrap {
        padding: 0 15px;
    }

    .pad {
        padding: 76px 0;
    }

    .manifesto {
        padding: 80px 0;
    }

    .phone {
        width: 210px;
    }
}

@media (max-width: 465px) {
    .nav-cta .btn.btn-line-dark {
        padding: 15px 10px;
        font-size: 14px;
    }

    .nav-cta {
        gap: 8px;
    }

    header .wrap {
        padding: 0 10px;
    }

    .brand-word br {
        display: block;
    }

}