/* ==========================================================
   VELLEX PERFECTION STUDIO — CSS
   ========================================================== */
:root {
    --b: #0A0A0A;
    --d: #1C1C1E;
    --g: #D4AF37;
    --gl: #E8C84A;
    --w: #F2F2F7;
    --gray: rgba(242, 242, 247, 0.6);
    --bo: rgba(212, 175, 55, 0.2);
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
    --pad: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--b);
    color: var(--w);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--g);
    border-radius: 2px;
}

/* UTILS */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--pad);
}

.gold {
    background: linear-gradient(135deg, var(--g), var(--gl));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.syncopate {
    font-family: 'Syncopate', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn-g {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--g), #B8962E);
    color: var(--b);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    border: none;
    cursor: pointer;
}

.btn-g:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.btn-o {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: var(--g);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.4s var(--ease);
    border: 1px solid var(--bo);
    cursor: pointer;
}

.btn-o:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-4px);
}

.full-w {
    width: 100%;
    margin-top: 1.5rem;
}

/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 1s var(--ease), opacity 1s var(--ease);
}

.loader-logo {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.loader-logo .v,
.loader-logo .lex {
    color: var(--g);
}

.loader-logo .el {
    color: var(--w);
}

.loader-text {
    font-family: 'Syncopate';
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    margin-top: 1rem;
    color: var(--gray);
}

.pulse {
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    to {
        opacity: 0.3;
        transform: scale(0.95);
    }
}

body.loaded #loader {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* SCROLL RAIL */
.scroll-rail {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.scroll-thumb {
    width: 100%;
    background: var(--g);
    height: 0%;
    box-shadow: 0 0 10px var(--g);
    transition: height 0.1s linear;
}

/* REACTIVE CURSOR */
#cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--g);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    z-index: 9999;
    mix-blend-mode: difference;
}

#cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--g);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

body:hover #cursor-ring {
    width: 50px;
    height: 50px;
}

/* BACKGROUND EFFECTS */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.5;
}

.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.1;
    mix-blend-mode: screen;
}

.ag-1 {
    background: var(--g);
    top: -10%;
    left: -10%;
    animation: drift 20s infinite alternate;
}

.ag-2 {
    background: var(--gl);
    bottom: -20%;
    right: -10%;
    animation: drift 25s infinite alternate-reverse;
}

.ag-3 {
    background: #886716;
    top: 40%;
    left: 60%;
    animation: drift 30s infinite alternate;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.2);
    }
}

/* NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: transparent;
    padding: 1.5rem 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.nav-logo .v,
.nav-logo .lex {
    color: var(--g);
}

.nav-logo .el {
    color: var(--w);
}

.nav-div {
    font-family: 'Syncopate';
    font-size: 0.55rem;
    color: var(--g);
    letter-spacing: 0.15em;
    margin-top: 4px;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    z-index: 902;
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--w);
    transition: 0.4s var(--ease);
    transform-origin: left;
}

.menu-btn:hover span {
    background: var(--g);
}

.menu-btn.open span:nth-child(1) {
    transform: rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
    transform: rotate(-45deg);
}

#menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 901;
    display: block;
    overflow-y: auto;
    padding: 10vh 2rem;
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.8s var(--ease);
}

#menu-overlay.open {
    clip-path: circle(150% at 100% 0);
}

.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    margin: auto;
    gap: 2rem;
    text-align: center;
}

.menu-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--w);
    text-decoration: none;
    position: relative;
    display: inline-block;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s var(--ease);
    font-kerning: none;
    font-variant-ligatures: none;
    letter-spacing: 0;
}

.menu-link::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--g);
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition: clip-path 0.4s var(--ease);
    font-kerning: none;
    font-variant-ligatures: none;
    letter-spacing: 0;
}

.menu-link:hover::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.menu-sitios {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s var(--ease);
}

.ms-title {
    font-size: 0.75rem;
    color: var(--g);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.ms-link {
    color: rgba(242, 242, 247, 0.6);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.ms-link:hover {
    color: var(--g);
}

.menu-cta {
    margin-top: 2.5rem;
    margin-inline: auto;
    opacity: 0;
    transform: translateY(20px);
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--g);
    color: var(--g);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.4s;
}

.menu-cta:hover {
    background: var(--g);
    color: var(--b);
}

.open .menu-link,
.open .menu-sitios,
.open .menu-cta {
    opacity: 1;
    transform: translateY(0);
}

.open .menu-link:nth-child(1) {
    transition-delay: 0.2s;
}

.open .menu-link:nth-child(2) {
    transition-delay: 0.3s;
}

.open .menu-link:nth-child(3) {
    transition-delay: 0.4s;
}

.open .menu-link:nth-child(4) {
    transition-delay: 0.5s;
}

.open .menu-link:nth-child(5) {
    transition-delay: 0.6s;
}

.open .menu-link:nth-child(6) {
    transition-delay: 0.7s;
}

.open .menu-sitios {
    transition-delay: 0.8s;
}

.open .menu-cta {
    transition-delay: 0.9s;
}

/* HERO */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 var(--pad);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(10, 10, 10, 0.75);
    /* Dark overlay */
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    margin-left: 10%;
    z-index: 2;
    position: relative;
}

.eyebrow {
    font-family: 'Syncopate';
    font-size: 0.75rem;
    color: var(--g);
    letter-spacing: 0.2em;
    border: 1px solid var(--bo);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    display: inline-block;
}

.hero-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.line-dec {
    height: 1px;
    background: var(--bo);
    flex: 1;
    max-width: 100px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.mask {
    overflow: hidden;
    display: block;
}

.mask span {
    display: block;
    transform: translateY(110%);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-desc strong {
    color: var(--w);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stagg {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.si-text {
    font-family: 'Syncopate';
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.si-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.si-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--g);
    animation: sdown 2s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

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

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

/* PACKAGES */
.pkg-section {
    padding: 8rem 0;
    position: relative;
}

.pkg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bo), transparent);
}

.pkg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.pkg-section.reverse .pkg-grid {
    direction: rtl;
}

.pkg-section.reverse .pkg-visual,
.pkg-section.reverse .pkg-info {
    direction: ltr;
}

.pkg-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-num {
    position: absolute;
    font-family: 'Syncopate';
    font-size: 14vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    top: 10%;
    right: -10%;
    z-index: -1;
    user-select: none;
}

.pkg-section.reverse .pv-num {
    right: auto;
    left: -10%;
}

.pv-card {
    width: 100%;
    max-width: 440px;
    height: 500px;
    background: linear-gradient(145deg, rgba(28, 28, 30, 0.8), rgba(10, 10, 10, 0.95));
    border: 1px solid var(--bo);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    overflow: hidden;
    transform-style: preserve-3d;
}

.pvc-lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, var(--bo) 0, var(--bo) 1px, transparent 1px, transparent 20px);
    opacity: 0.15;
    z-index: 1;
}

.pvc-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
    transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
    filter: grayscale(20%) contrast(1.1);
}

.pv-card:hover .pvc-img {
    transform: scale(1.08);
    opacity: 0.7;
    filter: grayscale(0%) contrast(1.1);
}

.pvc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 22, 0.4) 60%, transparent 100%);
    z-index: 1;
}

.pvc-content {
    position: relative;
    z-index: 2;
    transform: translateZ(30px);
}

.pvc-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.pvc-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pvc-tag {
    font-family: 'Syncopate';
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--b);
    background: var(--g);
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    display: inline-block;
}

.pi-sub {
    font-family: 'Syncopate';
    font-size: 0.7rem;
    color: var(--g);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.pi-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.pi-desc {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.pi-includes {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--bo);
    padding-left: 1.5rem;
}

.inc-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--w);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.inc-val {
    color: var(--g);
    font-family: monospace;
    font-size: 0.9rem;
}

.inc-val::before {
    content: '$';
    opacity: 0.5;
    margin-right: 2px;
}

.pi-pricing {
    display: flex;
    gap: 3rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--bo);
    padding: 1.5rem;
    border-radius: 6px;
}

.price-col {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.pl-label {
    font-family: 'Syncopate';
    font-size: 0.6rem;
    color: var(--gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pl-val {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.pl-val small {
    font-size: 1rem;
    font-weight: 400;
}

.strike {
    opacity: 0.4;
    position: relative;
}

.strike .pl-val {
    text-decoration: line-through;
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.pl-save {
    color: #25D366;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 5px;
}

.pi-finance {
    font-size: 0.85rem;
    color: var(--g);
    background: rgba(212, 175, 55, 0.05);
    border-radius: 4px;
    padding: 0.8rem 1.2rem;
    display: inline-block;
}

.pi-finance strong {
    color: var(--w);
}

/* BREAK PARALLAX */
.break-band {
    height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--bo);
    border-bottom: 1px solid var(--bo);
}

.bb-bg {
    position: absolute;
    inset: -50px;
    background: linear-gradient(45deg, var(--b), #1C1C1E);
    z-index: 0;
}

.bb-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.bb-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(90deg, var(--g), var(--w));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.bb-content p {
    font-size: 1.2rem;
    color: var(--gray);
    font-style: italic;
}

/* METHOD SECTION */
#method {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--b), #11100C);
    border-top: 1px solid var(--bo);
}

.method-title {
    text-align: center;
    font-size: 2rem;
    color: var(--g);
    margin-bottom: 5rem;
}

.method-lines {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.method-lines::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--g), transparent);
}

.ml-item {
    display: flex;
    gap: 2.5rem;
}

.ml-num {
    width: 50px;
    height: 50px;
    background: var(--b);
    border: 1px solid var(--g);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syncopate';
    font-size: 1rem;
    font-weight: 700;
    color: var(--g);
    z-index: 1;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.ml-text {
    padding-top: 0.5rem;
    font-size: 1.1rem;
    color: var(--w);
    line-height: 1.6;
}

/* FOOTER */
#footer {
    padding: 4rem 0;
    border-top: 1px solid var(--bo);
    text-align: center;
}

.f-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.f-div {
    font-family: 'Syncopate';
    font-size: 0.55rem;
    color: var(--g);
    letter-spacing: 0.2em;
    margin-top: 5px;
}

.f-info {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.f-legal {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ANIMATION UTILS */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s var(--ease);
}

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

/* MODAL */
#smart-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: 0.4s;
}

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

.sm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.sm-content {
    position: relative;
    background: linear-gradient(135deg, #1C1C1E, var(--b));
    border: 1px solid var(--g);
    padding: 3rem 2rem;
    border-radius: 8px;
    max-width: 450px;
    text-align: center;
    transform: scale(0.9);
    transition: 0.5s var(--ease);
}

#smart-modal.active .sm-content {
    transform: scale(1);
}

.sm-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
}

.sm-tag {
    font-family: 'Syncopate';
    font-size: 0.65rem;
    color: var(--g);
    letter-spacing: 0.1em;
    display: inline-block;
    border-bottom: 1px solid var(--bo);
    padding-bottom: 5px;
    margin-bottom: 1rem;
}

.sm-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.sm-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .pkg-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pkg-section.reverse .pkg-grid {
        direction: ltr;
    }

    .pv-card {
        margin: 0 auto;
        height: 400px;
    }

    .pv-num {
        top: -5%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        margin-left: 0;
        text-align: center;
    }

    .hero-top {
        justify-content: center;
    }

    .line-dec {
        display: none;
    }

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

    .pi-title {
        font-size: 2.5rem;
    }

    .pi-pricing {
        flex-direction: column;
        gap: 1rem;
    }

    .ml-item {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .method-lines::before {
        display: none;
    }

    #cursor-ring,
    #cursor-dot {
        display: none;
    }
}