/* ============================================
   MOBILE-FIRST OVERRIDES
   Base = Mobile (320px+)
   Scale UP with min-width queries
   ============================================ */

/* --- GLOBAL MOBILE BASE --- */
.layout-wrapper {
    padding: 12px;
    display: block;
    min-height: auto;
}

.bg-pattern {
    display: none;
}

/* --- HERO MOBILE BASE --- */
.hero-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    min-height: auto;
    perspective: none;
    max-width: 100%;
}

.hero-left {
    padding: 40px 20px;
    border-radius: 24px;
    gap: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-nav {
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-nav a {
    font-size: 0.85rem;
}

.hero-content {
    max-width: 100%;
    margin-top: 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 24px;
    text-align: center;
}

.btn-primary {
    padding: 18px 28px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
}

.hero-stats {
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    flex: none;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: 2.2rem;
}

.hero-right {
    height: 300px;
    border-radius: 24px;
    animation: none; /* Disable floating on mobile */
}

.hero-img {
    animation: none; /* Disable Ken Burns on mobile */
    transform: scale(1) translateY(0) !important; /* Disable parallax on mobile */
}

.floating-pills {
    display: none;
}

/* --- INVESTMENT FOLD MOBILE --- */
.investment-fold {
    padding: 0 12px 12px;
}

.sticky-container {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 30px;
    border-radius: 24px;
}

.sticky-left {
    position: relative;
    top: 0;
    text-align: center;
    padding-bottom: 20px;
}

.sticky-left h2 {
    font-size: 2rem;
    margin: 0 auto 20px;
}

.master-price h3 {
    font-size: 2.8rem;
}

.fw-badge {
    font-size: 0.75rem;
    padding: 10px 20px;
}

.scroll-right {
    padding: 0;
}

.timeline-track,
.timeline-dot {
    display: none;
}

.scroll-card {
    padding-left: 0;
    margin-bottom: 30px;
    opacity: 1 !important;
    transform: none !important;
}

.card-glass {
    padding: 24px 18px;
    border-radius: 20px;
}

.card-price {
    font-size: 2.5rem;
}

.card-price span {
    font-size: 1.2rem;
    margin-top: 6px;
}

.step-num {
    font-size: 5rem;
}

/* --- ROI FOLD MOBILE --- */
.roi-fold {
    padding: 0 12px 30px;
}

.marquee-ribbon {
    padding: 18px 0;
    margin: 15px 0 30px;
}

.marquee-item {
    font-size: 0.8rem;
    letter-spacing: 2px;
    gap: 30px;
}

.marquee-track {
    font-size: 0.8rem;
    gap: 30px;
    letter-spacing: 2px;
}

.roi-container {
    padding: 30px 20px 0;
    border-radius: 24px;
}

.roi-layout {
    flex-direction: column;
    gap: 30px;
}

.roi-left {
    position: relative;
    top: 0;
    height: auto;
    text-align: center;
    align-items: center;
    padding: 0;
}

.roi-left h2 {
    font-size: 2rem;
}

.roi-desc {
    font-size: 1rem;
    max-width: 100%;
}

.scarcity-pill {
    font-size: 0.75rem;
    padding: 10px 20px;
}

.stat-circle {
    width: 240px;
    height: 240px;
}

.stat-circle h2 {
    font-size: 4.5rem;
}

.stat-circle h4 {
    font-size: 1rem;
    letter-spacing: 2px;
}

.stat-circle p {
    font-size: 0.8rem;
}

.roi-right {
    gap: 24px;
    padding-bottom: 30px;
}

.deck-card {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding: 16px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.deck-img-wrapper {
    height: 180px;
    border-radius: 12px;
}

.deck-text h3 {
    font-size: 1.4rem;
}

.deck-text p {
    font-size: 0.95rem;
}

/* --- GRAMADO/PORTICO MOBILE --- */
.gramado-fold {
    padding: 0 12px 30px;
}

.portico-container {
    padding: 40px 20px;
    border-radius: 24px;
}

.portico-layout {
    flex-direction: column;
    gap: 40px;
}

.portico-left {
    width: 100%;
}

.portico-watermark {
    display: none;
}

.arch-window {
    width: 100%;
    height: 300px;
    border-radius: 140px 140px 0 0;
}

.arch-overlay-text h4 {
    font-size: 1.8rem;
}

.floating-photo {
    display: none;
}

.editorial-title {
    font-size: 2.2rem;
    text-align: center;
}

.editorial-desc {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
    margin-bottom: 40px;
}

.editorial-perks {
    gap: 30px;
}

.perk-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.perk-text h3 {
    font-size: 1.25rem;
}

.perk-text p {
    font-size: 0.95rem;
}

/* --- CATALOG MOBILE --- */
.catalog-reference-fold {
    margin: 0 12px;
}

.russian-design-card {
    padding: 24px 16px;
    gap: 30px;
    border-radius: 24px;
}

.russian-card-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
    width: 100%;
}

.header-main h2 {
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
    margin-bottom: 0px;
}

.header-side p {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 10px;
    width: 100%;
}

.house-card {
    min-width: 240px;
    flex: 0 0 80%;
}

.russian-card-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top: 24px;
}

.russian-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-russian-dark {
    flex: 1;
    justify-content: center;
    padding: 16px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.pag-arrow {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

/* --- CTA MOBILE --- */
.final-cta-fold {
    margin: 0 12px;
    width: calc(100% - 24px);
    padding-bottom: 0;
}

.cta-elite-block {
    flex-direction: column;
    min-height: auto;
    border-radius: 24px 24px 0 0;
    margin-bottom: 0;
}

.cta-content-overlay {
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.85);
}

.cta-elite-title {
    font-size: 1.8rem;
}

.cta-elite-desc {
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.cta-elite-actions {
    flex-direction: column;
}

.btn-elite-whatsapp,
.btn-elite-outline {
    padding: 18px 24px;
    font-size: 0.9rem;
    justify-content: center;
    width: 100%;
}

.cta-sidebar {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 30px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.urgency-item {
    margin-bottom: 0;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.urgency-item p {
    font-size: 1.1rem;
}

/* --- LOCATION MOBILE --- */
.location-immersive-fold {
    position: relative;
    height: 620px;
    min-height: auto;
    width: calc(100% - 24px);
    margin: 15px auto;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-page);
}

.location-immersive-fold::before {
    display: none; /* Removed split background */
}

.immersive-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: auto;
}

.location-glass-container {
    padding: 0;
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: auto;
    display: block;
}

.glass-info-card {
    padding: 24px 20px;
    border-radius: 20px;
    margin-top: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.glass-title {
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.distance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.dist-item strong {
    font-size: 1rem;
}

.dist-item span {
    font-size: 0.65rem;
}

/* --- NAV MOBILE --- */
.floating-nav {
    width: 92%;
    top: 10px;
}

.nav-glass-bar {
    gap: 10px;
    padding: 8px 14px;
    justify-content: center;
}

.nav-glass-bar a {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
}

.nav-glass-bar .nav-dot {
    display: none;
}

.nav-glass-bar img {
    height: 14px !important;
}

/* --- FOOTER MOBILE --- */
.footer-fold {
    margin: 0 12px;
    width: calc(100% - 24px);
    padding-bottom: 30px;
}

.footer-block {
    padding: 40px 20px 30px;
    border-radius: 24px;
}

.footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo-box p {
    margin: 0 auto;
}

.footer-social {
    justify-content: center;
}

.footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

/* --- WHATSAPP FLOAT MOBILE --- */
.whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 42px;
    /* Decreased from 52px */
    height: 42px;
    /* Decreased from 52px */
    font-size: 20px;
    /* Decreased from 26px */
    opacity: 0.7;
    /* More subtle on mobile */
}

/* ============================================
   TABLET (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
    .layout-wrapper {
        padding: 20px;
    }

    .hero-container {
        gap: 16px;
    }

    .hero-left {
        padding: 40px 30px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-right {
        height: 400px;
        border-radius: 30px;
    }

    .hero-stats {
        flex-direction: row;
    }

    .stat-card {
        flex: 1;
    }

    .btn-primary {
        width: auto;
    }

    .sticky-container {
        padding: 40px 30px;
    }

    .sticky-left h2 {
        font-size: 2.5rem;
    }

    .master-price h3 {
        font-size: 3.5rem;
    }

    .card-glass {
        padding: 36px 28px;
    }

    .card-price {
        font-size: 3.5rem;
    }

    .roi-container {
        padding: 40px 30px 0;
    }

    .stat-circle {
        width: 280px;
        height: 280px;
    }

    .stat-circle h2 {
        font-size: 5.5rem;
    }

    .deck-card {
        padding: 24px;
    }

    .deck-img-wrapper {
        height: 240px;
    }

    .portico-container {
        padding: 60px 40px;
    }

    .arch-window {
        height: 400px;
    }

    .editorial-title {
        font-size: 2.8rem;
    }

    .perk-box {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .russian-design-card {
        padding: 40px 30px;
    }

    .house-card {
        flex: 0 0 45%;
        min-width: 280px;
    }

    .cta-content-overlay {
        padding: 50px 40px;
    }

    .cta-elite-title {
        font-size: 2.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .location-immersive-fold {
        min-height: 500px;
    }

    .glass-title {
        font-size: 2.4rem;
    }

    .floating-nav {
        width: auto;
        top: 20px;
    }

    .nav-glass-bar {
        gap: 16px;
        padding: 10px 22px;
    }

    .nav-glass-bar a {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .nav-glass-bar img {
        height: 16px !important;
    }
}

/* ============================================
   DESKTOP (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
    .layout-wrapper {
        padding: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }

    .bg-pattern {
        display: block;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 20px;
        max-width: 1610px;
        height: calc(100vh - 48px);
        min-height: 850px;
        perspective: 2000px;
    }

    .hero-left {
        padding: 60px;
        border-radius: 40px;
        justify-content: space-between;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero-nav {
        gap: 32px;
        justify-content: flex-end;
    }

    .hero-nav a {
        font-size: 0.95rem;
    }

    .hero-content {
        max-width: 90%;
        margin-top: -20px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 3.8vw, 4rem);
    }

    .hero-content p {
        max-width: 85%;
        text-align: left;
        font-size: 1.1rem;
    }

    .btn-primary {
        padding: 22px 40px;
        font-size: 1.05rem;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        width: 100%;
    }

    .stat-card {
        flex: 0 1 200px;
    }

    .stat-value {
        font-size: 2.8rem;
    }

    .hero-right {
        height: 100%;
        border-radius: 40px;
    }

    .floating-pills {
        display: flex;
    }

    .investment-fold {
        padding: 0 24px 24px;
    }

    .sticky-container {
        grid-template-columns: 1.1fr 1fr;
        padding: 60px;
        gap: 20px;
        border-radius: 40px;
    }

    .sticky-left {
        position: sticky;
        top: 20vh;
        text-align: left;
    }

    .sticky-left h2 {
        font-size: clamp(3rem, 4vw, 4.5rem);
        margin: 0 0 50px;
    }

    .master-price h3 {
        font-size: clamp(3.5rem, 6vw, 6rem);
    }

    .scroll-right {
        padding: 10vh 0 20vh;
    }

    .timeline-track,
    .timeline-dot {
        display: block;
    }

    .scroll-card {
        padding-left: 90px;
        margin-bottom: 25vh;
        opacity: 0 !important;
        transform: translateY(100px) !important;
    }

    .scroll-card.visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .card-glass {
        padding: 60px;
        border-radius: 40px;
    }

    .card-price {
        font-size: 4.5rem;
    }

    .step-num {
        font-size: 8rem;
    }

    .roi-fold {
        padding: 0 24px 40px;
    }

    .marquee-ribbon {
        padding: 28px 0;
        margin: 20px 0 40px;
    }

    .marquee-item {
        font-size: 1.1rem;
        letter-spacing: 4px;
        gap: 50px;
    }

    .marquee-track {
        font-size: 1rem;
        gap: 50px;
        letter-spacing: 4px;
    }

    .roi-container {
        padding: 60px 60px 0;
        border-radius: 40px;
    }

    .roi-layout {
        flex-direction: row;
        gap: 100px;
    }

    .roi-left {
        position: sticky;
        top: 100px;
        height: calc(100vh - 120px);
        text-align: left;
        align-items: flex-start;
        padding-right: 20px;
    }

    .roi-left h2 {
        font-size: clamp(3rem, 4.5vw, 4.5rem);
    }

    .roi-desc {
        font-size: 1.15rem;
    }

    .stat-circle {
        width: 320px;
        height: 320px;
    }

    .stat-circle h2 {
        font-size: 6.5rem;
    }

    .stat-circle h4 {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .roi-right {
        gap: 8vh;
        padding-bottom: 20vh;
    }

    .deck-card {
        position: sticky !important;
        padding: 30px;
        border-radius: 30px;
    }

    .deck-card:nth-child(1) {
        top: 180px !important;
        z-index: 10;
    }

    .deck-card:nth-child(2) {
        top: 220px !important;
        z-index: 11;
        margin-top: 20vh !important;
    }

    .deck-card:nth-child(3) {
        top: 260px !important;
        z-index: 12;
        margin-top: 20vh !important;
    }

    .deck-img-wrapper {
        height: 300px;
    }

    .deck-text h3 {
        font-size: 2rem;
    }

    .deck-text p {
        font-size: 1.15rem;
    }

    .gramado-fold {
        padding: 0 24px 40px;
    }

    .portico-container {
        padding: 140px 80px;
        border-radius: 40px;
    }

    .portico-layout {
        flex-direction: row;
        gap: 100px;
    }

    .arch-window {
        width: 440px;
        height: 720px;
        border-radius: 220px 220px 0 0;
    }

    .arch-overlay-text h4 {
        font-size: 2.8rem;
    }

    .floating-photo {
        display: block;
    }

    .editorial-title {
        font-size: clamp(3.5rem, 5vw, 6.5rem);
        text-align: left;
    }

    .editorial-desc {
        text-align: left;
        font-size: 1.2rem;
        max-width: 90%;
        margin-bottom: 60px;
    }

    .editorial-perks {
        gap: 40px;
    }

    .catalog-reference-fold {
        margin: 0 24px;
    }

    .russian-design-card {
        padding: 80px;
        gap: 60px;
        border-radius: 40px;
    }

    .russian-card-header {
        flex-direction: row;
        text-align: left;
    }

    .header-main h2 {
        font-size: 2.8rem;
    }

    .header-side p {
        text-align: right;
    }

    .house-card {
        flex: 0 0 calc(25% - 18px);
        min-width: 300px;
    }

    .russian-card-footer {
        flex-direction: row;
    }

    .btn-russian-dark {
        width: auto;
    }

    .final-cta-fold {
        margin: 0 24px;
        width: calc(100% - 48px);
    }

    .cta-elite-block {
        flex-direction: row;
        min-height: 550px;
        border-radius: 40px;
    }

    .cta-content-overlay {
        padding: 80px;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, transparent 100%);
    }

    .cta-elite-title {
        font-size: clamp(2.5rem, 4.5vw, 4rem);
    }

    .cta-elite-desc {
        font-size: 1.15rem;
    }

    .cta-elite-actions {
        flex-direction: row;
    }

    .btn-elite-whatsapp,
    .btn-elite-outline {
        width: auto;
        padding: 22px 38px;
        font-size: 0.95rem;
    }

    .cta-sidebar {
        width: 320px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
        border-radius: 0 40px 40px 0;
        padding: 60px 40px;
        flex-direction: column;
    }

    .urgency-item {
        margin-bottom: 40px;
        text-align: left;
    }

    .urgency-item p {
        font-size: 1.4rem;
    }

    .location-immersive-fold {
        height: 500px;
        min-height: auto;
        width: calc(100% - 48px);
        border-radius: 40px;
    }

    .location-immersive-fold::before {
        width: 30%;
        height: 100%;
    }

    .immersive-map-overlay {
        width: 70%;
        height: 100%;
        top: 0;
        bottom: 0;
    }

    .location-glass-container {
        position: absolute;
        padding-left: 80px;
        display: flex;
        height: 100%;
    }

    .glass-info-card {
        padding: 50px;
        border-radius: 40px;
        margin-top: 0;
    }

    .glass-title {
        font-size: 3.2rem;
        letter-spacing: -2px;
    }

    .footer-fold {
        margin: 0 24px;
        width: calc(100% - 48px);
    }

    .footer-block {
        padding: 100px 80px 40px;
        border-radius: 40px;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1.2fr 0.8fr;
        gap: 60px;
        text-align: left;
    }

    .footer-logo-box p {
        margin: 0;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: row;
    }

    .nav-glass-bar {
        gap: 24px;
        padding: 10px 28px;
    }

    .nav-glass-bar a {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .nav-glass-bar .nav-dot {
        display: block;
    }

    .nav-glass-bar img {
        height: 18px !important;
    }

    .whatsapp-float {
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}