/* RESET Y BASE MODERNOS */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* UTILIDADES Y TYPOGRAPHY */
.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em; /* Tight tracking for modern feel */
}

.text-gold { color: var(--c-gold); }

.text-gradient-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* BACKGROUND MESH ANIMATED */
.bg-mesh {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(22, 28, 45, 0.4) 0%, var(--c-bg) 60%);
    pointer-events: none;
}

.particles-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: floatBlob 15s ease-in-out infinite alternate;
    z-index: 1;
}

.blob-1 {
    width: 600px; height: 600px;
    background: var(--c-gold-dark);
    top: -200px; left: -100px;
}

.blob-2 {
    width: 500px; height: 500px;
    background: #3B82F6; /* Toque azul cósmico para contraste */
    bottom: -100px; right: -100px;
    animation-duration: 20s;
}

.blob-3 {
    width: 400px; height: 400px;
    background: var(--c-gold);
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
    opacity: 0.05;
}

@keyframes floatBlob {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(50px, 30px); }
}

/* NAVBAR GLASS FLOTANTE */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-xl);
    z-index: 100;
    background: rgba(10, 16, 29, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(10, 16, 29, 0.8);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
}

.navbar .btn {
    padding: 0.72rem 1.45rem;
    font-size: 0.92rem;
    line-height: 1;
    min-height: 42px;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-logo--sm {
    height: 46px;
}

.brand-vfx {
    filter: drop-shadow(0 0 10px var(--c-gold-glow));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.link-hover {
    position: relative;
    color: var(--c-text-muted);
    transition: color 0.3s ease;
}

.link-hover:hover {
    color: var(--c-text);
}

.link-hover::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--grad-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.link-hover:hover::after { width: 100%; }

/* HERO SECTION */
.hero {
    min-height: 100vh;
    padding-top: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(229, 192, 123, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--c-gold);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.dot-pulse {
    width: 8px; height: 8px;
    background: var(--c-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--c-gold);
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% { box-shadow: 0 0 0 0 rgba(229, 192, 123, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(229, 192, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 192, 123, 0); }
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--c-text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

/* SECCIONES Y TEXTOS GLOBALES */
.section {
    padding: 100px 0;
    position: relative;
}

#proceso {
    padding-top: 40px;
    padding-bottom: 60px;
}

.h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.p-sub {
    font-size: 1.15rem;
    color: var(--c-text-muted);
    max-width: 500px;
    margin: 0 auto 4rem;
}

@media (max-width: 1100px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1.2rem;
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 160px;
    }

    .hero-desc {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .section {
        padding: 84px 0;
    }
}

@media (max-width: 860px) {
    .navbar {
        width: calc(100% - 1.5rem);
        top: 0.75rem;
    }

    .nav-wrapper {
        padding: 0.65rem 1rem;
        gap: 0.75rem;
    }

    .nav-links {
        display: none;
    }

    .brand {
        font-size: 1rem;
    }

    .brand-logo {
        height: 44px;
    }

    .hero {
        padding-top: 140px;
        min-height: auto;
    }

    .hero-cta-group {
        flex-direction: column;
        width: min(420px, 100%);
        margin: 0 auto;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .h2 {
        line-height: 1.12;
    }

    .p-sub {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 620px) {
    .container {
        padding: 0 1rem;
    }

    .brand-logo {
        height: 40px;
    }

    .navbar .btn {
        padding: 0.4rem 0.65rem;
        min-height: 28px;
        font-size: 0.78rem;
    }

    .hero {
        padding-top: 128px;
    }

    .pill-badge {
        font-size: 0.78rem;
        gap: 0.5rem;
        padding: 0.45rem 0.9rem;
        margin-bottom: 1.25rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 12vw, 3.4rem);
        margin-bottom: 1rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .section {
        padding: 70px 0;
    }
}
