/* === MODERN BOUTIQUE LAYOUT (Faithful to Reference) === */

:root {
    --bg-page: #f4f6f8;
    --bg-panel: #ebf0f4;
    --text-main: #1b283d;
    --text-muted: #64748b;
    --btn-dark: #27374D;
    --card-bg: #ffffff;
    --radius-large: 40px;
    --radius-card: 28px;
    --accent-gold: #128C7E;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-page);
    font-family: 'Manrope', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Background Graphic Pattern */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 500px;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.pattern-svg {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Main Layout Wrapper */
.layout-wrapper {
    position: relative;
    min-height: 100vh;
    padding: 24px;
    /* Global 24px gutter on all sides */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.layout-wrapper::after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--text-muted) 0%, transparent 100%);
    animation: scrollIndicator 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.6;
    z-index: 20;
}

@keyframes scrollIndicator {
    0% {
        transform: translate(-50%, 0) scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: translate(-50%, 0) scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: translate(-50%, 0) scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: translate(-50%, 0) scaleY(0);
        transform-origin: bottom;
    }
}

/* 2-Column Grid matching exactly the provided style */
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1610px;
    height: calc(100vh - 48px);
    min-height: 850px;
    perspective: 2000px;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
        perspective: none;
    }
}


/* === LEFT PANEL === */
@keyframes calmGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 1. Subtle Animated Gradient Background for hero left */
.hero-left {
    background: linear-gradient(-45deg, #f7f9f8, #f0f4f2, #e8edea, #f7f9f8);
    background-size: 400% 400%;
    animation: calmGradient 18s ease infinite;
    border-radius: var(--radius-large);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 40px;
    }
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    /* Decreased from 65px */
    height: 50px;
    /* Decreased from 65px */
    background: linear-gradient(to right, rgba(37, 211, 102, 0.95), rgba(18, 140, 126, 0.95));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    opacity: 1;
    /* Maximized visibility */
}

.whatsapp-float:hover {
    opacity: 1;
    background: linear-gradient(to right, rgba(46, 239, 118, 0.98), rgba(20, 160, 143, 0.98));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(18, 140, 126, 0.4);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}


.hero-nav {
    display: flex;
    gap: 32px;
}

.hero-nav a {
    text-decoration: none;
    color: #999999;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.hero-nav a:hover {
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .hero-nav {
        gap: 15px;
        width: 100%;
        justify-content: center;
    }

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


/* Content */
.hero-content {
    max-width: 90%;
    margin-top: -20px;
}

.gradient-text {
    background: linear-gradient(to right, #25D366, #128C7E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 3.8vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: revealTitle 1.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.6;
    max-width: 85%;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: revealIn 1s 0.6s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes revealTitle {
    from {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0.1em;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: -0.05em;
    }
}

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

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(to right, rgba(37, 211, 102, 0.95), rgba(18, 140, 126, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 22px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(18, 140, 126, 0.2), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: ctaPulse 4s infinite ease-in-out;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(18, 140, 126, 0.2); }
    50% { box-shadow: 0 15px 45px rgba(18, 140, 126, 0.35); }
}

.btn-primary iconify-icon {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover iconify-icon {
    animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.btn-primary:hover {
    background: linear-gradient(to right, rgba(46, 239, 118, 0.98), rgba(20, 160, 143, 0.98));
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(18, 140, 126, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.2);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* Stats Row */
.hero-stats {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 36px 24px 24px 24px;
    flex: 1;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.stat-img {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #128C7E;
    /* Brand Green Icons */
    font-size: 1.4rem;
    z-index: 5;
    transition: all 0.3s;
}

.stat-card:hover .stat-img {
    transform: translateY(-5px) scale(1.1);
    background: #128C7E;
    color: #fff;
}


.stat-value {
    font-size: 2.8rem;
    font-weight: 400;
    /* matching the lighter weight on the image's numbers */
    letter-spacing: -0.05em;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.stat-value span {
    font-size: 1.2rem;
    margin-top: 6px;
    margin-left: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-weight: 500;
}

/* === RIGHT PANEL === */
.hero-right {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    height: 100%;
    animation: floatContainer 12s ease-in-out infinite;
    transform: translateZ(0);
    /* Hardware accel */
}

@keyframes floatContainer {

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

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

.hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 200, 150, 0.1) 0%, transparent 40%), /* sunset glow hint */
        radial-gradient(circle at 80% 80%, rgba(200, 220, 200, 0.15) 0%, transparent 60%),
        radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.2) 130%),
        url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.06"/%3E%3C/svg%3E'); /* point 8: noise grain */
    mix-blend-mode: soft-light; /* point 6: ambient glow blend */
}

.hero-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-30deg);
    animation: sweepReflect 6.5s cubic-bezier(0.4, 0, 0.2, 1) infinite; /* point 4: light sweep sweep sweep */
    z-index: 5;
    pointer-events: none;
}

@keyframes sweepReflect {

    0%,
    30% {
        left: -150%;
    }

    70%,
    100% {
        left: 200%;
    }
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05) translateY(var(--p-y, 0px));
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: kenBurnsFloat 25s infinite alternate ease-in-out;
}

@keyframes kenBurnsFloat {
    0% { transform: scale(1.05) translate(0, 0) translateY(var(--p-y, 0px)); }
    50% { transform: scale(1.12) translate(-1%, -1%) translateY(var(--p-y, 0px)); }
    100% { transform: scale(1.15) translate(0%, -2%) translateY(var(--p-y, 0px)); }
}

/* Floating Pills */
.floating-pills {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.pill {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.pill iconify-icon {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-left {
        padding: 40px 24px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-stats {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .stat-card {
        padding: 40px 24px;
        flex: none;
    }
}


/* === APPLE-STYLE PARALLAX INVESTMENT FOLD === */
@keyframes gradientDrift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.investment-fold {
    background: transparent;
    padding: 0 24px 24px 24px;
    /* Gutter fix */
    position: relative;
    z-index: 5;
}

.sticky-container {
    background: #ffffff;
    border-radius: var(--radius-large);
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 60px;
    /* Reduced from 100px */
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

/* Left Panel (Fixed on screen) */
.sticky-left {
    position: sticky;
    top: 20vh;
    height: fit-content;
    padding-bottom: 50px;
}

/* Redundant badge style removed. Signature style used instead. */

.sticky-left h2 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1.05;
    color: var(--text-main);
    margin-bottom: 50px;
    max-width: 500px;
}

.sticky-left h2 em {
    color: var(--accent-gold);
    font-style: normal;
    font-weight: 500;
}

.master-price {
    margin-bottom: 50px;
}

.master-price p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.master-price h3 {
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 200;
    letter-spacing: -0.06em;
    color: var(--text-main);
    line-height: 1;
}

.glow-btn {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
    padding: 22px 42px;
}

.glow-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Right Panel (The Scroll Action) */
.scroll-right {
    position: relative;
    padding: 10vh 0 20vh 0;
    /* Tall padding to enforce long scrolling */
}

/* The vertical connecting line */
.timeline-track {
    position: absolute;
    top: 5vh;
    bottom: 5vh;
    left: 40px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1), transparent);
    z-index: 1;
}

/* Individual Cards floating up */
.scroll-card {
    position: relative;
    margin-bottom: 25vh;
    /* Massive spacing between cards for dramatic cinematic scroll */
    padding-left: 90px;
    z-index: 2;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-card:last-child {
    margin-bottom: 0;
}

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

.timeline-dot {
    position: absolute;
    top: 50px;
    left: 33px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 20px rgba(39, 158, 104, 0.6);
    z-index: 3;
}

.card-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.card-glass:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06);
}

.step-num {
    position: absolute;
    top: -5px;
    right: 30px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.074);
    line-height: 1;
    pointer-events: none;
}

.card-glass h4,
.card-glass h3 {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.card-price {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: -0.05em;
    color: var(--text-main);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
}

.card-price span {
    font-size: 1.6rem;
    margin-top: 12px;
    margin-left: 2px;
}

.card-glass p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
}

.card-glass p strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .sticky-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sticky-left {
        position: relative;
        top: 0;
        text-align: center;
    }

    .sticky-left h2 {
        margin: 0 auto 30px auto;
    }

    .scroll-right {
        padding: 5vh 0;
    }

    .timeline-track {
        display: none;
    }

    .timeline-dot {
        display: none;
    }

    .scroll-card {
        padding-left: 0;
        margin-bottom: 10vh;
    }

    .card-glass {
        padding: 40px;
    }
}

/* === ROI / INVESTIMENT EPICENTRO (Boutique Theme) === */
.roi-fold {
    background: var(--bg-page);
    color: var(--text-main);
    padding: 0 24px 40px 24px;
    /* Reduced from 80px */
    position: relative;
    clip-path: inset(0);
}

/* Infinity Ribbon */
.marquee-ribbon {
    background: linear-gradient(135deg, #191919, #128C7E) !important;
    ;
    /* Official Certa Prime Green */
    padding: 28px 0;
    width: 105vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%) rotate(-1.5deg);
    margin: 20px 0 40px 0;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    z-index: 10;
}

.marquee-item {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 50px;
}


.marquee-track {
    display: flex;
    gap: 50px;
    animation: marqueeScroll 25s linear infinite;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-main);
}

.marquee-track span {
    color: #ffffff;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

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

.roi-container {
    background: var(--bg-page);
    border-radius: var(--radius-large);
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 60px 0 60px;
    /* Reduced from 100px */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 5;
}

.roi-layout {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

/* Left Side - Sticky Frame */
.roi-left {
    flex: 1;
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    padding-right: 20px;
}

/* Exclusive Status Signature (High-End Narrative Design) */
.exclusive-status {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.status-decorator {
    width: 2px;
    height: 44px;
    background: rgba(18, 140, 126, 0.1);
    position: relative;
    overflow: hidden;
}

.status-decorator::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #128C7E;
    animation: statusVerticalFlow 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes statusVerticalFlow {
    0% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(0);
    }

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

.status-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.status-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 500;
}

.status-alert {
    font-size: 1rem;
    font-weight: 800;
    color: #128C7E;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roi-left {
    position: sticky;
    top: 15vh;
    height: fit-content;
    padding-left: 20px;
}

.roi-left h2 {
    font-size: clamp(3rem, 4.5vw, 4.2rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--text-main);
}

.roi-left h2 em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #128C7E;
    font-weight: 400;
}

/* Elite Performance Lens Display */
.stat-performance-box {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.performance-lens {
    position: relative;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    border: 1px solid rgba(18, 140, 126, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(18, 140, 126, 0.02);
    z-index: 2;
}

.performance-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px dashed rgba(18, 140, 126, 0.2);
    animation: rotateRing 20s linear infinite;
    z-index: 1;
}

@keyframes rotateRing {
    to {
        transform: rotate(360deg);
    }
}

.perf-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.perf-label.top {
    margin-bottom: -15px;
}

.perf-label.bottom {
    margin-top: -10px;
    max-width: 160px;
    font-size: 0.75rem;
    line-height: 1.4;
}

.perf-value {
    display: flex;
    align-items: flex-start;
    color: #1b283d;
}

.perf-value .number {
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

.perf-value .symbol {
    font-size: 3rem;
    font-weight: 300;
    color: #128C7E;
    margin-top: 20px;
}

.roi-desc {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 480px;
    font-weight: 300;
}

/* Base Graphic - Perfect Fit */
.stat-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 1px solid rgba(18, 140, 126, 0.15);
    /* Brand Green Ring */
    border-top: 2px solid #128C7E;
    animation: slowSpin 10s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes slowSpin {
    100% {
        transform: rotate(360deg);
    }
}

.stat-circle h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: -10px;
}

.stat-circle h2 {
    font-size: 6.5rem;
    font-weight: 800;
    /* Increased weight for dominance */
    color: #1b283d;
    letter-spacing: -0.06em;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2px;
    line-height: 1;
}

.stat-circle h2 span {
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-top: 15px;
}

.stat-circle p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
    max-width: 80%;
}

.stat-comparison {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #128C7E;
    /* Authority Brand Color */
    letter-spacing: 1px;
    margin-top: 10px;
    opacity: 0.9;
}

/* Right Side - Stackable Deck Cards */
.roi-right {
    flex: 1.2;
    padding-bottom: 20vh;
    display: flex;
    flex-direction: column;
    gap: 8vh;
    /* Generous gap for smooth upward scrolling */
}

/* Implements the sticky-top stack effect */
.deck-card {
    position: sticky;
    background: linear-gradient(135deg, #191919, #128C7E) !important;
    /* Deep premium luxury dark */
    border-radius: 30px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.15);
    /* Shadow upward onto previous card */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Stacking Heights (The Cascade Effect) */
/* Stacking Heights with Premium Reveal */
.deck-card:nth-child(1) {
    top: 120px;
    z-index: 10;
    transform: rotate(-1deg);
}

.deck-card:nth-child(2) {
    top: 160px;
    z-index: 11;
    margin-top: 15vh;
    transform: rotate(0.5deg) translateX(20px);
}

.deck-card:nth-child(3) {
    top: 200px;
    z-index: 12;
    margin-top: 15vh;
    transform: rotate(-0.5deg) translateX(-10px);
}

.deck-card:hover {
    transform: translateY(-10px) rotate(0) scale(1.02);
    z-index: 20 !important;
}

/* The Image Frame inside Dark Card */
.deck-img-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.deck-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.deck-card:hover .deck-img-wrapper img {
    transform: scale(1.05);
    /* Subtle zoom */
}

/* The Text Content below Image */
.deck-text {
    display: flex;
    flex-direction: column;
}

.deck-text h3 {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.deck-text p {
    font-size: 1.15rem;
    color: #e8e8e8;
    line-height: 1.6;
    font-weight: 300;
}

.deck-text p strong {
    color: #ffffff;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .roi-container {
        padding: 60px 5%;
    }

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

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

    .roi-hero-graphic {
        margin-top: 40px;
        align-self: center;
    }

    .roi-right {
        gap: 40px;
        padding-bottom: 10vh;
    }

    .deck-card {
        position: relative;
        top: 0 !important;
        margin-top: 0 !important;
    }

    .roi-card-text {
        padding: 10px 16px 20px 16px;
    }

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

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

/* === THE ARCHWAY (GRAMADO SEO FOLD) === */
.gramado-fold {
    background: transparent;
    padding: 0 24px 40px 24px;
    /* Reduced from 80px */
    position: relative;
    z-index: 5;
}

.portico-container {
    background: #ffffff;
    /* Bright, matches the site seamlessly */
    border-radius: var(--radius-large);
    max-width: 1600px;
    margin: 0 auto;
    padding: 140px 80px;
    /* Luxury wide padding */
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.portico-layout {
    display: flex;
    align-items: center;
    gap: 100px;
}

/* Left Side - The Massive Arch Window aligned precisely to the grid */
.portico-left {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-start;
    /* Forces alignment with ROI block above */
    /* Removed padding to ensure true left-boundary flush */
}

.arch-window {
    width: 440px;
    height: 720px;
    border-radius: 220px 220px 0 0;
    /* Huge European Arch */
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    /* Elegant shadow */
}

/* Subtle inner shadow for the arch to simulate a window frame */
.arch-window::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.25);
    border-radius: 220px 220px 0 0;
    pointer-events: none;
    z-index: 2;
}

.arch-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s;
    filter: contrast(1.1) brightness(1.05);
    /* Make the image bright and vivid */
}

.arch-window:hover img {
    transform: scale(1.05);
    /* Slow elegant zoom inside the arch */
}

.arch-overlay-text {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
    pointer-events: none;
}

.arch-overlay-text h4 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 5px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.arch-overlay-text span {
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Floating offset polaroid organically breaking the grid */
.floating-photo {
    position: absolute;
    bottom: 12%;
    right: -20px;
    width: 260px;
    height: 340px;
    object-fit: cover;
    border-radius: 16px;
    border: 10px solid #ffffff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    z-index: 5;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-photo:hover {
    transform: translateY(-10px) rotate(3deg);
}

/* Right Side - SEO Content */
.portico-right {
    flex: 1.2;
    /* Perfectly matches .roi-right flex ratio to align the text columns */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5;
}

.editorial-title {
    font-size: clamp(3.5rem, 5vw, 6.5rem);
    font-weight: 300;
    color: var(--text-main);
    /* Navy core brand text */
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

.editorial-title em {
    color: var(--accent-gold);
    font-style: normal;
}

.editorial-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 60px;
    max-width: 90%;
}

.editorial-perks {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.perk-box {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.perk-box iconify-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    /* Keeps visual identity */
    flex-shrink: 0;
    margin-top: 5px;
    transition: transform 0.4s;
    background: var(--bg-page);
    padding: 16px;
    border-radius: 12px;
}

.perk-box:hover iconify-icon {
    transform: scale(1.1) rotate(5deg);
}

.perk-text h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.highlight-num {
    font-size: 1.25em;
    color: #128C7E;
    font-weight: 800;
}

.perk-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Vertical text watermark blending with the bright background */
.portico-watermark {
    position: absolute;
    top: 50%;
    left: -180px;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 10rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.015);
    pointer-events: none;
    letter-spacing: 12px;
}

@media (max-width: 1200px) {
    .portico-container {
        padding: 60px 5%;
    }

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

    .portico-left {
        padding: 0;
        width: 100%;
    }

    .arch-window {
        width: 100%;
        max-width: 440px;
        height: 500px;
    }

    .floating-photo {
        right: 0;
        bottom: -40px;
        width: 200px;
        height: 260px;
    }

    .portico-watermark {
        display: none;
    }
}

/* === CATALOG REFERENCE FOLD (Russian Design Reproduction) === */
.catalog-reference-fold {
    background: transparent;
    position: relative;
    padding-bottom: 0px;
    /* Reduced margin to 0 for tighter fit with map */
    margin: 0 24px;
}

.catalog-main-container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.russian-design-card {
    background: var(--bg-page);
    border-radius: 40px;
    padding: 80px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.russian-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-main h2 {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -1px;
}

.header-side p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: right;
    line-height: 1.5;
}

.russian-slider-viewport {
    width: 100%;
    overflow: hidden;
}

.russian-card-grid {
    display: flex;
    /* Changed from grid to flex for slider */
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.russian-card-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari and Opera */
}

.house-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 calc(25% - 18px);
    /* Force 4 cards per view on wide screens */
    min-width: 300px;
}


.house-img {
    aspect-ratio: 1/1.2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.house-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.house-card:hover .house-img img {
    transform: scale(1.05);
}

.house-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.house-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.russian-card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 40px;
}

.btn-russian-dark {
    background: var(--btn-dark);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.russian-pagination {
    display: flex;
    gap: 12px;
}

.pag-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s;
}

.pag-arrow:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
    .russian-design-card {
        padding: 40px 20px;
    }

    .russian-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .russian-card-header {
        flex-direction: column;
        gap: 20px;
    }

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

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 40px 0;
}

.benefit-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.benefit-item iconify-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
}

.benefit-item h4 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Map Card */
.property-map-card {
    background: #fdfdfd;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.property-map-card img {
    width: 180px;
    height: 140px;
    object-fit: cover;
}

.map-card-info {
    padding: 0 30px;
}

.map-card-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

.map-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1200px) {
    .property-container {
        padding: 60px 20px;
    }

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

    .property-map-card {
        flex-direction: column;
        align-items: stretch;
    }

    .property-map-card img {
        width: 100%;
        height: 200px;
    }

    .map-card-info {
        padding: 30px;
    }
}

/* === FINAL CTA (Elite Narrative Redesign) === */
.final-cta-fold {
    padding-bottom: 30px;
    /* Reduced bottom padding to 30px */
    margin: 0 24px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 48px);
    position: relative;
    z-index: 100;
}

.cta-elite-block {
    position: relative;
    min-height: 550px;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(135deg, #191919, #128C7E) !important;
    ;
    display: flex;
    align-items: stretch;
    /* Split look */
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.15);
}

.cta-bg-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.cta-bg-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: transform 10s ease-out;
    /* Slow zoom effect */
}

.cta-elite-block:hover .cta-bg-visual img {
    transform: scale(1.1);
}

.cta-content-overlay {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 30%, transparent 100%);
}

.cta-text-box {
    max-width: 600px;
}

.elite-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #128C7E;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 25px;
}

.cta-elite-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 200;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.cta-elite-title em {
    font-style: italic;
    font-weight: 400;
    color: #128C7E;
}

.cta-elite-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 45px;
    max-width: 500px;
}

.cta-elite-actions {
    display: flex;
    gap: 20px;
}

.btn-elite-whatsapp {
    background: linear-gradient(to right, rgba(37, 211, 102, 0.95), rgba(18, 140, 126, 0.95));
    color: #fff;
    padding: 22px 38px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 0.95rem;
}

.btn-elite-whatsapp:hover {
    transform: translateY(-8px);
    background: linear-gradient(to right, rgba(46, 239, 118, 0.98), rgba(20, 160, 143, 0.98));
    box-shadow: 0 20px 40px rgba(18, 140, 126, 0.3);
}

.btn-elite-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 22px 38px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.btn-elite-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Sidebar Urgency Column */
.cta-sidebar {
    position: relative;
    z-index: 10;
    width: 320px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 40px 40px 0;
}

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

.urgency-item h5 {
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.urgency-item p {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 200;
    letter-spacing: -1px;
}

.urgency-item p strong {
    color: #128C7E;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .cta-elite-block {
        flex-direction: column;
        min-height: auto;
    }

    .cta-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 40px 40px;
        padding: 40px;
    }

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

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



/* === LOCATION IMMERSIVE (Cinematic UAU Effect) === */
.location-immersive-fold {
    position: relative;
    height: 280px;
    max-width: 1600px;
    margin: 20px auto;
    width: calc(100% - 48px);
    border-radius: 40px;
    overflow: hidden;
}



.immersive-map-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 70%;
    /* Occupy only 70% of the right space */
    z-index: 1;
    filter: saturate(1) contrast(1.05) brightness(1.05);
}

.location-immersive-fold::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    /* Fill the left 30% with Green */
    height: 100%;
    background: var(--bg-page);
    ;
    z-index: 0;
}

.immersive-map-overlay iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Glassmorphism Logic */
.location-glass-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    padding-left: 80px;
    /* Aligned with the Green bar */
    pointer-events: none;
}


.glass-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px 30px;
    pointer-events: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.location-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #128C7E;
    margin-bottom: 15px;
}

.glass-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #1b283d;
}

.glass-title em {
    font-style: normal;
    font-weight: 500;
    color: #128C7E;
}

.location-address-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px;
    font-size: 0.85rem;
    color: #1b283d;
    opacity: 0.9;
}

.distance-grid,
.glass-cta {
    display: none;
    /* Removed for extreme-compact 280px height */
}

.dist-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dist-item strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: #128C7E;
}

.dist-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #64748b;
}

.glass-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #1b283d;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    margin-top: 10px;
}

.glass-cta:hover {
    color: #128C7E;
    gap: 18px;
}


/* === GLOBAL SCROLL REVEAL ANIMATIONS === */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.visible.fade-up,
.visible.fade-left,
.visible.fade-right {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Delay Helpers */
.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.2s !important;
}

.delay-3 {
    transition-delay: 0.3s !important;
}

.delay-4 {
    transition-delay: 0.4s !important;
}

.delay-5 {
    transition-delay: 0.5s !important;
}

@media (max-width: 992px) {
    .location-immersive-fold {
        margin: 40px 15px;
        height: 850px;
        border-radius: 30px;
    }

    .location-glass-container {
        left: 0;
        padding: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
        max-width: 100%;
    }

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

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

/* === FLOATING NAVIGATION (Minimalist Glassmorphism) === */
.floating-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: auto;
    pointer-events: none;
}

.nav-glass-bar {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 10px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 24px;
    pointer-events: auto;
}

.nav-glass-bar a {
    text-decoration: none;
    color: #1b283d;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    opacity: 0.5;
}

.nav-glass-bar a:hover {
    opacity: 1;
    color: #128C7E;
    transform: translateY(-1px);
}

.nav-glass-bar .nav-dot {
    width: 3px;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .floating-nav {
        top: 15px;
        width: 90%;
    }

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

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

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

/* === PREMIUM FOOTER (Midnight Architecture) === */
.footer-fold {
    padding-bottom: 40px;
    margin: 0 24px 0 24px;
    /* Removed top margin entirely */
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 48px);
}

/* === /* === REFERENCE-ALIGNED FOOTER (White Boutique Card) === */
/* === MINIMAL ARCHITECTURAL FOOTER === */
.minimal-footer {
    padding: 40px;
    background: #fff;
    border-radius: 40px;
    max-width: 1610px;
    margin: 40px auto;
}

.footer-min-container {
    display: flex;
    flex-direction: column;
}

.footer-min-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

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

.footer-min-logo {
    height: 22px;
}

.footer-min-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1b283d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-min-nav {
    display: flex;
    gap: 30px;
}

.footer-min-nav a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s;
}

.footer-min-nav a:hover {
    color: var(--accent-gold);
}

.footer-min-social {
    display: flex;
    gap: 15px;
}

.footer-min-social a {
    color: #1b283d;
    font-size: 1.3rem;
    transition: 0.3s;
}

.footer-min-social a:hover {
    color: var(--accent-gold);
}

.footer-min-divider {
    height: 1px;
    background: #f1f5f9;
    width: 100%;
    margin: 0;
}

.footer-min-mid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    font-size: 0.75rem;
    color: #64748b;
}

.unit-pill strong {
    color: #1b283d;
}

.unit-vertical-divider {
    width: 1px;
    height: 12px;
    background: #e2e8f0;
    align-self: center;
}

.footer-min-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.min-legal {
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    gap: 15px;
}

.min-legal a {
    color: inherit;
    text-decoration: none;
}

.min-dev {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    color: #94a3b8;
}

.min-orzag-logo {
    height: 14px;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .minimal-footer {
        padding: 30px 20px;
        margin: 20px auto;
    }

    .footer-min-top {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer-min-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-min-mid {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .unit-vertical-divider {
        display: none;
    }

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

    .min-legal {
        justify-content: center;
    }
}

.footer-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 100px 80px;
    max-width: 1610px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
}

.footer-grid-ref {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo-ref {
    height: 32px;
    margin-bottom: 30px;
}

.footer-about {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 320px;
    margin-bottom: 35px;
}

.footer-social-pill {
    display: flex;
    gap: 12px;
}

.footer-social-pill a {
    width: 44px;
    height: 44px;
    background: var(--accent-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: 0.3s;
}

.footer-social-pill a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(18, 140, 126, 0.3);
}

.footer-h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 30px;
    font-weight: 700;
}

.footer-col-links,
.footer-col-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col-links a {
    color: #1b283d;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s;
}

.footer-col-links a:hover {
    color: var(--accent-gold);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item strong {
    font-size: 1rem;
    color: #1b283d;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: #64748b;
    text-decoration: none;
}

.footer-divider {
    border-top: 1px solid #f1f5f9;
    margin-bottom: 40px;
}

.footer-bottom-ref {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.copyright-text {
    font-size: 0.9rem;
    color: #1b283d;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-links {
    display: flex;
    gap: 20px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
}

.bottom-dev {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.dev-text {
    font-size: 0.75rem;
    color: #94a3b8;
}

.orzag-logo-ref {
    height: 18px;
    width: auto;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .footer-grid-ref {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .footer-card {
        padding: 60px 40px;
    }

    .footer-grid-ref {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-about {
        margin: 0 auto 35px auto;
    }

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

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

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .bottom-dev {
        align-items: center;
    }
}

/* === PREMIUM LEAD CAPTURE MODAL (Split Layout Out of the Box) === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 16, 29, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: rgba(255, 255, 255, 0.95);
    width: 95%;
    max-width: 950px;
    border-radius: var(--radius-large);
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
    transform: translateY(40px) scale(0.98);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    overflow: hidden;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 1.4rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.modal-close:hover {
    background: var(--text-main);
    color: #fff;
    transform: rotate(90deg);
}

.modal-split-layout {
    display: flex;
    width: 100%;
    min-height: 600px;
}

.modal-visual {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    background: var(--btn-dark);
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 10s ease;
}

.modal-card:hover .modal-img {
    transform: scale(1.05);
}

.modal-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 30%, rgba(10, 16, 29, 0.95) 100%);
}

.modal-visual-scarcity {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.scarcity-text {
    display: flex;
    flex-direction: column;
}

.scarcity-text strong {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scarcity-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 4px;
}

.modal-brand-watermark {
    position: absolute;
    top: 40px;
    left: 40px;
    height: 28px;
    width: auto;
    z-index: 5;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.modal-body {
    flex: 1;
    padding: 60px 70px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.elite-tag-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 140, 126, 0.1);
    color: var(--accent-gold);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--text-main);
}

.modal-header h2 em {
    color: var(--accent-gold);
    font-style: normal;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    background: var(--bg-page);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px 24px;
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px rgba(18, 140, 126, 0.1);
    background: #ffffff;
}

.btn-modal-submit {
    background: linear-gradient(135deg, #1b283d, #27374D);
    color: #fff;
    border: none;
    padding: 22px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(39, 55, 77, 0.2);
}

.btn-modal-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(39, 55, 77, 0.4);
    background: var(--accent-gold);
}

.btn-modal-submit:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modal-legal-note {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Success State */
.modal-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
    height: 100%;
}

.success-icon {
    font-size: 5rem;
    color: var(--accent-gold);
}

.loading-bar-wrapper {
    width: 100%;
    height: 6px;
    background: var(--bg-page);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 30px;
}

.loading-bar-inner {
    width: 0%;
    height: 100%;
    background: var(--accent-gold);
    border-radius: 100px;
    animation: loading-fill 2s linear forwards;
}

@keyframes loading-fill {
    to {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .modal-card {
        max-height: 90vh;
        flex-direction: column;
    }

    .modal-split-layout {
        flex-direction: column;
        min-height: auto;
        height: 100%;
    }

    .modal-visual {
        flex: none;
        height: 200px;
    }

    .modal-brand-watermark {
        display: none;
    }

    .modal-visual-scarcity {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 12px 15px;
    }

    .scarcity-text strong {
        font-size: 0.85rem;
    }

    .scarcity-text span {
        font-size: 0.75rem;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.95);
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 30px 24px;
        overflow-y: auto;
    }

    .elite-tag-mini {
        margin-bottom: 15px;
    }

    .modal-header h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .modal-header p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .modal-form {
        gap: 16px;
    }

    .input-group input {
        padding: 14px 18px;
    }

    .btn-modal-submit {
        padding: 18px;
        font-size: 0.85rem;
    }
}