@charset "utf-8";

/* =========================================================
   BAYMEET · LANDING SHARED
   Archivo: assets/css/page_public/landing_shared.css
========================================================= */

/* =========================================================
   BASE
========================================================= */

.main-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.85rem;
}

/* =========================================================
   HEADER LANDING
========================================================= */

.header-top-row {
    display: flex;
    justify-content: center;
}

.header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-slogan {
    display: block;
    text-align: center;
}

.desktop-menu,
.mobile-menu,
.menu-toggle,
.bm-nav-overlay {
    display: none;
}

/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 2.4rem 1.3rem;
    margin-top: 0.75rem;

    overflow: hidden;
    border-radius: 22px;

    box-shadow:
        0 18px 48px rgba(0,0,0,.20),
        0 0 0 1px rgba(255,255,255,.06) inset;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: -1;

    background:
        radial-gradient(circle at 24% 28%, rgba(255,255,255,.16), transparent 26%),
        radial-gradient(circle at 78% 32%, rgba(248,17,66,.18), transparent 30%),
        radial-gradient(circle at 50% 82%, rgba(229,106,34,.16), transparent 34%);

    opacity: .62;
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.48) 0%,
            rgba(0,0,0,.20) 48%,
            rgba(0,0,0,.08) 100%
        ),
        radial-gradient(
            circle at 50% 42%,
            rgba(255,255,255,.16),
            transparent 36%
        );

    pointer-events: none;
}

.hero-overlay {
    display: none;
}

.hero-bg,
.hero-image {
    position: absolute;
    inset: 0;
    z-index: -2;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 25%;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 690px;

    text-align: center;

    animation: heroContentIn .7s ease-out both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.52rem 0.95rem;
    margin-bottom: 1rem;

    border-radius: 999px;

    background: rgba(255,255,255,.17);
    color: #fff;

    font-size: 0.86rem;
    font-weight: 800;

    border: 1px solid rgba(255,255,255,.26);
    backdrop-filter: blur(12px);

    box-shadow:
        0 8px 22px rgba(0,0,0,.18),
        0 0 18px rgba(255,255,255,.08) inset;
}

.hero-title {
    margin-bottom: 1rem;

    color: #fff;

    font-family: var(--font-body);
    font-size: 2.55rem;
    font-weight: 800;
    line-height: 1.08;

    text-shadow:
        0 6px 22px rgba(0,0,0,.52),
        0 0 24px rgba(248,17,66,.14);
}

.hero-subtitle {
    max-width: 580px;
    margin: 0 auto 1.7rem;

    color: rgba(255,255,255,.96);

    font-size: 1.12rem;
    line-height: 1.6;

    text-shadow: 0 3px 12px rgba(0,0,0,.42);
}

.hero-cta {
    position: relative;
    isolation: isolate;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 1.7rem;

    overflow: hidden;
    border-radius: 999px;

    background: linear-gradient(135deg, var(--bm-primary), var(--bm-accent));
    color: #fff;

    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;

    box-shadow:
        0 12px 26px rgba(248,17,66,.38),
        0 0 0 1px rgba(255,255,255,.12) inset;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
        0 16px 34px rgba(248,17,66,.48),
        0 0 0 1px rgba(255,255,255,.16) inset;
}

/* =========================================================
   TITLES / TEXT
========================================================= */

.section-title {
    margin-bottom: 0.7rem;

    text-align: center;

    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;

    background: linear-gradient(90deg, var(--bm-primary), var(--bm-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-text {
    max-width: 480px;
    margin: 0 auto 0.8rem;

    text-align: center;

    color: #666;

    font-size: 1rem;
    line-height: 1.65;
}

/* =========================================================
   PRELAUNCH
========================================================= */

.prelaunch-section {
    width: 100%;
    margin-top: 1.35rem;
}

.prelaunch-wrapper {
    width: 100%;
    max-width: 560px;

    margin: 0 auto;
    padding: 1.55rem 1.2rem;

    border-radius: 20px;

    background: linear-gradient(180deg, #fff, #fff9f6);

    border: 1px solid rgba(248,17,66,.08);
    box-shadow: 0 10px 28px rgba(0,0,0,.07);
}

.prelaunch-info {
    margin-bottom: 1.15rem;
}

/* =========================================================
   FORM
========================================================= */

.prelaunch-form {
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.input-group label {
    margin-bottom: 0.35rem;

    color: var(--bm-primary);

    font-size: 0.98rem;
    font-weight: 700;
}

.input-group input {
    width: 100%;
    min-height: 50px;

    padding: 0.78rem 0.9rem;

    border: 1px solid rgba(216,0,39,.24);
    border-radius: 10px;

    background: #fff;
    color: var(--bm-text);

    font-size: 1rem;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.input-group input:focus {
    border-color: var(--bm-primary);
    box-shadow: 0 0 0 3px rgba(248,17,66,.11);
}

.input-group input::placeholder {
    color: #aaa;
}

/* =========================================================
   CHECKBOX
========================================================= */

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;

    margin: 0.5rem 0 1.2rem;
}

.checkbox-wrapper input[type="checkbox"] {
    appearance: none;

    position: relative;

    flex: 0 0 18px;
    width: 18px;
    height: 18px;

    margin-top: 0.18rem;

    border: 2px solid var(--bm-primary);
    border-radius: 5px;

    background: #fff;

    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"]:checked {
    background: var(--bm-primary);
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
    content: "✔";

    position: absolute;
    top: -5px;
    left: 1px;

    color: #fff;

    font-size: 0.95rem;
    font-weight: 800;
}

.checkbox-wrapper label {
    color: #444;

    font-size: 0.92rem;
    line-height: 1.45;
}

.checkbox-wrapper a {
    color: var(--bm-primary);
    font-weight: 700;
    text-decoration: none;
}

.checkbox-wrapper a:hover {
    text-decoration: underline;
}

/* =========================================================
   SUBMIT
========================================================= */

.btn-submit {
    width: 100%;
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 10px;

    background: linear-gradient(135deg, var(--bm-primary), var(--bm-accent));
    color: #fff;

    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;

    cursor: pointer;

    box-shadow: 0 9px 22px rgba(248,17,66,.22);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 12px 28px rgba(248,17,66,.30);
}

/* =========================================================
   CITIES
========================================================= */

.cities-section {
    width: 100%;
    padding: 2.2rem 0 1rem;
}

.cities-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.cities-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0.85rem;

    margin-top: 1.25rem;
}
.city-card {
    min-height: 94px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;

    padding: 0.9rem 0.55rem;

    border-radius: 16px;

    background: #fff;
    color: var(--bm-text);

    text-align: center;
    text-decoration: none;

    border: 1px solid rgba(0,0,0,.045);
    box-shadow: 0 8px 22px rgba(0,0,0,.06);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.city-card:hover {
    color: var(--bm-primary);
    transform: translateY(-3px);
    border-color: rgba(248,17,66,.16);
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.city-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    object-fit: contain;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.city-card span {
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.15;
}

.city-card:hover .city-icon {
    transform: scale(1.08);
}

/* =========================================================
   FAQ
========================================================= */

.faq-section {
    width: 100%;
    padding: 1.65rem 0 2rem;
}

.faq-wrapper {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem;

    margin-top: 1.3rem;
}

.faq-item {
    padding: 1.15rem;

    border-radius: 16px;

    background: #fff;

    border: 1px solid rgba(0,0,0,.045);
    box-shadow: 0 8px 22px rgba(0,0,0,.055);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    border-color: rgba(248,17,66,.10);
}

.faq-item h3 {
    margin-bottom: 0.45rem;

    color: var(--bm-primary);

    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.25;
}

.faq-item p {
    color: #666;

    font-size: 0.98rem;
    line-height: 1.6;
}

/* =========================================================
   BENEFITS
========================================================= */

.benefits-section {
    width: 100%;
    padding: 1.4rem 0 2rem;
}

.benefits-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.benefits-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;

    margin-top: 1.25rem;
}

.benefit-card {
    min-height: 178px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 1rem 0.75rem;

    border-radius: 16px;

    background: #fff;

    text-align: center;

    border: 1px solid rgba(0,0,0,.045);
    box-shadow: 0 8px 22px rgba(0,0,0,.055);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(248,17,66,.10);
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.benefit-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 0.7rem;

    object-fit: contain;
}

.benefit-card h3 {
    margin-bottom: 0.45rem;

    color: var(--bm-primary);

    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.15;
}

.benefit-card p {
    color: #666;

    font-size: 0.86rem;
    line-height: 1.42;
}

/* =========================================================
   FOOTER EXTRA
========================================================= */

.landing-footer {
    display: none;
}

/* =========================================================
   480px
========================================================= */

@media (min-width: 480px) {

    .hero-section {
        min-height: 470px;
        padding: 2.1rem 1.4rem;
        border-radius: 24px;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1.06rem;
    }

    .prelaunch-wrapper {
        padding: 1.75rem 1.55rem;
        border-radius: 22px;
    }

    .city-card {
        min-height: 102px;
    }

    .benefit-card {
        min-height: 186px;
    }
}

/* =========================================================
   768px
========================================================= */

@media (min-width: 768px) {

    .main-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.15rem;
        row-gap: 1.25rem;

        max-width: 1180px;
        padding: 1.2rem;
    }

    .main-container > .hero-section,
    .main-container > .cities-section,
    .main-container > .faq-section,
    .main-container > .benefits-section {
        grid-column: 1 / -1;
    }

    .main-container > .prelaunch-section {
        margin-top: 0;
        grid-column: 1 / -1;
    }

    .hero-section {
        min-height: 500px;
        margin-top: 1rem;
        border-radius: 28px;
    }

    .hero-section::before {
        opacity: .8;
        animation: heroLightMove 10s ease-in-out infinite alternate;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-title {
        font-size: 2.85rem;
    }

    .hero-subtitle {
        font-size: 1.18rem;
    }

    .prelaunch-wrapper {
        max-width: 620px;
        padding: 1.9rem 1.65rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-text {
        font-size: 0.95rem;
    }

    .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.cities-grid {
    grid-template-columns:
        repeat(auto-fit, minmax(180px, 220px));

    justify-content: center;

    gap: 1rem;
}

    .city-card {
        min-height: 108px;
    }

    .city-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .faq-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .benefit-card {
        min-height: 210px;
        padding: 1.25rem 1rem;
    }

    .benefit-icon {
        width: 58px;
        height: 58px;
    }

    .benefit-card h3 {
        font-size: 1rem;
    }

    .benefit-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* =========================================================
   1024px
========================================================= */

@media (min-width: 1024px) {

    .main-container {
        max-width: 1120px;
        padding: 1.4rem 1rem 2.5rem;
        row-gap: 1.45rem;
    }

    .hero-section {
        min-height: 535px;
    }

    .hero-title {
        font-size: 3.18rem;
    }

    .hero-subtitle {
        font-size: 1.23rem;
    }

    .prelaunch-wrapper {
        padding: 2rem 1.85rem;
        border-radius: 24px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cities-section {
        padding-top: 2.4rem;
    }

    .city-card {
        min-height: 112px;
        font-size: 1.02rem;
    }

    .benefits-section {
        padding: 1.8rem 0 2.4rem;
    }

    .benefit-card {
        min-height: 220px;
        padding: 1.45rem 1.1rem;
    }

    .benefit-card h3 {
        font-size: 1.05rem;
    }

    .benefit-card p {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .logo-img {
        width: 46px;
        height: 46px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .header-slogan {
        font-size: 1.05rem;
        margin-top: 0.2rem;
    }
}

/* =========================================================
   1280px
========================================================= */

@media (min-width: 1280px) {

    .main-container {
        max-width: 1180px;
    }

    .hero-section {
        min-height: 550px;
    }

    .prelaunch-wrapper {
        padding: 2.15rem 2rem;
    }

    .city-card {
        min-height: 116px;
    }
}

/* =========================================================
   1400px
========================================================= */

@media (min-width: 1400px) {

    .hero-section {
        min-height: 565px;
    }

    .hero-title {
        font-size: 3.42rem;
    }

    .hero-subtitle {
        font-size: 1.27rem;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 2rem;
    }

    .header-slogan {
        font-size: 1.12rem;
    }
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroLightMove {
    from {
        transform: translate3d(-1.2%, -1%, 0) scale(1);
        opacity: .72;
    }

    to {
        transform: translate3d(1.2%, 1%, 0) scale(1.035);
        opacity: .92;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-section,
    .hero-section::before,
    .hero-content,
    .hero-cta,
    .btn-submit,
    .city-card,
    .city-icon,
    .faq-item,
    .benefit-card,
    .input-group input {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================================
   CITY BENEFITS
========================================================= */

.city-benefits-section {
    width: 100%;
    padding: 1.65rem 0 2rem;
}

.city-benefits-wrapper {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
}

.city-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem;

    margin-top: 1.3rem;
}

.city-benefit-item {
    padding: 1.15rem;

    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fffafa
        );

    border: 1px solid rgba(248,17,66,.08);

    box-shadow:
        0 8px 22px rgba(0,0,0,.055);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.city-benefit-item:hover {
    transform: translateY(-2px);

    border-color: rgba(248,17,66,.14);

    box-shadow:
        0 12px 28px rgba(0,0,0,.08);
}

.city-benefit-item h3 {
    margin-bottom: 0.45rem;

    color: var(--bm-primary);

    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.25;
}

.city-benefit-item p {
    color: #666;

    font-size: 0.98rem;
    line-height: 1.6;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 768px) {

    .main-container > .city-benefits-section {
        grid-column: 1 / -1;
    }

    .city-benefits-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

/* =========================================================
   CITY SEO CONTENT
========================================================= */

.city-seo-section {
    width: 100%;
    padding: 1.35rem 0;
}

.city-seo-wrapper {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.city-seo-card {
    padding: 1.35rem 1.15rem;

    border-radius: 20px;

    background: linear-gradient(180deg, #fff, #fff9f6);

    border: 1px solid rgba(248,17,66,.10);
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

@media (min-width: 768px) {

    .main-container > .city-seo-section {
        grid-column: 1 / -1;
    }

    .city-seo-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }

    .city-seo-card .section-title,
    .city-seo-card .section-text {
        text-align: left;
        max-width: none;
    }
}


/* =========================================================
   CITY HERO SIDE PANEL
========================================================= */

.hero-section-city {
    display: none;
}

/* =========================================================
   DESKTOP LAYOUT
========================================================= */

@media (min-width: 1024px) {

    .hero-section-city {
        position: relative;
        isolation: isolate;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-height: 100%;

        overflow: hidden;
        border-radius: 24px;

        box-shadow:
            0 18px 48px rgba(0,0,0,.18),
            0 0 0 1px rgba(255,255,255,.06) inset;
    }

    .hero-section-city .hero-image {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center center;

        z-index: -2;
    }

    .hero-section-city .hero-overlay {
        position: absolute;
        inset: 0;

        z-index: -1;

        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.58) 0%,
                rgba(0,0,0,.24) 48%,
                rgba(0,0,0,.08) 100%
            );
    }

    .hero-section-city .hero-content {
        max-width: 540px;
        padding: 2rem 1.8rem;
    }

    /* =====================================================
       FORM + HERO SIDE BY SIDE
    ====================================================== */

    .main-container > .hero-section-city {
        grid-column: 1 / 2;
    }

    .main-container > #early-access {
        grid-column: 2 / 3;
    }

    #early-access .prelaunch-wrapper {
        max-width: none;
        height: 100%;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}


/* =========================================================
   HOME LANDING ONLY · FORM CENTER FIX
========================================================= */

@media (min-width: 768px) {

    .main-container.main-container--home {
        display: block;
    }

    .main-container.main-container--home > .prelaunch-section {
        width: 100%;
        margin-top: 1.35rem;
    }

    .main-container.main-container--home > .prelaunch-section .prelaunch-wrapper {
        width: min(640px, 100%);
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================================
   CITY REASONS / CITY FAQ
========================================================= */

@media (min-width: 768px) {

    .city-reasons-section .faq-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .city-faq-section .faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE · CITIES GRID FIX
========================================================= */

@media (max-width: 767px) {

    .cities-section .cities-wrapper {
        max-width: 540px;
        margin: 0 auto;
    }

    .cities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
    }

    .city-card {
        width: 100%;
        min-height: 94px;
    }

    .city-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: 50%;
        min-width: 160px;
        margin: 0 auto;
    }
}


/* =========================================================
   HOME LANDING · CITIES FLEXIBLE GRID
========================================================= */

.main-container--home .cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 170px));
    justify-content: center;
    gap: 1rem;
}

.main-container--home .city-card {
    width: 100%;
    min-height: 116px;
}

/* Desktop ancho: hasta 6 por fila */
@media (min-width: 1024px) {

    .main-container--home .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        max-width: 1040px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile: 2 por fila; si queda impar, la última centrada */
@media (max-width: 767px) {

    .main-container--home .cities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-container--home .city-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: 50%;
        min-width: 160px;
        margin-inline: auto;
    }
}