/* ========================================
   LEGADO CAPITAL - MAIN STYLES
   ======================================== */

:root {
    --primary: #0A0E1A;
    --secondary: #111827;
    --accent: #C9A96E;
    --accent-light: #E8D5A3;
    --text: #F0F0F5;
    --text-muted: #8B8FA3;
    --glass: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(201, 169, 110, 0.15);
    --success: #10B981;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

body.legado-theme {
    background: var(--primary);
    color: var(--text);
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

/* ===== LOADER ===== */
.loader {
    position: fixed; inset: 0;
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem; font-weight: 700;
    color: var(--accent);
    letter-spacing: 4px;
    margin-bottom: 2rem;
}
.loader-bar {
    width: 200px; height: 2px;
    background: rgba(201, 169, 110, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.loader-bar::after {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--accent);
    animation: loadSlide 1.5s ease-in-out forwards;
}
@keyframes loadSlide {
    0% { left: -100%; }
    100% { left: 0%; }
}
.loader-sub {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
    width: 20px; height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, background 0.15s ease;
    mix-blend-mode: difference;
    display: none;
}
.cursor.hover {
    transform: scale(2.5);
    background: var(--accent);
    border-color: transparent;
}
.cursor-dot {
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed; top: 0; width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}
nav.scrolled {
    padding: 0.8rem 5%;
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem; font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo-icon {
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}
.logo span { color: var(--text); font-weight: 300; }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links li { list-style: none; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem; font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}
.nav-links a::after {
    content: '';
    position: absolute; bottom: -6px; left: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.nav-cta:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    animation: whatsappPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.nav-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E, #25D366);
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); transform: scale(1); }
    50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); transform: scale(1.02); }
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}
.mobile-menu-btn span {
    width: 24px; height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}
.mobile-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 14, 26, 0.98);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}
.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}
.mobile-nav-links li { margin-bottom: 1.5rem; }
.mobile-nav-links a {
    color: var(--text);
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
}
.mobile-nav-links a:hover { color: var(--accent); }

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary);
    isolation: isolate;
}
#blockchain-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}
.hero-glow-top {
    position: absolute;
    top: -20%; left: 20%;
    width: 60%; height: 60%;
    background: radial-gradient(ellipse, rgba(201, 169, 110, 0.12) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}
.hero-glow-bottom {
    position: absolute;
    bottom: -30%; right: 10%;
    width: 50%; height: 50%;
    background: radial-gradient(ellipse, rgba(0, 81, 122, 0.08) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    animation: glowPulse 10s ease-in-out infinite reverse;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201, 169, 110, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 81, 122, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, rgba(10, 14, 26, 0.3) 0%, rgba(17, 24, 39, 0.4) 100%);
    z-index: 3;
    pointer-events: none;
}
.hero-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(10, 14, 26, 0.3) 100%);
    z-index: 4;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    pointer-events: auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(201, 169, 110, 0.5);
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
}
.btn-primary::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(201, 169, 110, 0.4);
}
.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    padding: 1.2rem 1.5rem;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 16px;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
    max-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.floating-card.card-1 { top: 22%; right: 8%; animation-delay: 0s; }
.floating-card.card-2 { bottom: 28%; left: 6%; animation-delay: 2s; }
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}
.floating-card .card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}
.floating-card h4 {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.floating-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}
.floating-card:hover {
    border-color: rgba(201, 169, 110, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 169, 110, 0.15);
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3rem;
    z-index: 10;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* ===== SECTIONS COMMON ===== */
section { padding: 7rem 5%; position: relative; }
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ESTRUCTURA ORGANIZACIONAL ===== */
.org-section {
    position: relative;
    padding: 6rem 5%;
    background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #0a1628 100%);
    overflow: hidden;
}
.org-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&h=600&fit=crop') center/cover;
    opacity: 0.08;
    filter: grayscale(100%);
}
.org-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,22,40,0.95) 0%, rgba(13,31,60,0.98) 100%);
}
.org-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}
.org-title {
    text-align: center;
    margin-bottom: 4rem;
}
.org-title h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.org-title p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Org Diagram */
.org-diagram { position: relative; padding: 2rem 0; }
.org-line-top {
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.6), transparent);
}
.org-nodes {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 5%;
}
.org-node {
    flex: 1;
    text-align: center;
    position: relative;
    max-width: 300px;
}
.org-node-center { margin: 0 2rem; }
.org-dot {
    width: 14px; height: 14px;
    background: var(--accent);
    border-radius: 50%;
    margin: -7px auto 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(201,169,110,0.4);
}
.org-line-down {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--accent), rgba(201,169,110,0.2));
}
.org-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.org-card:hover {
    border-color: var(--accent);
    background: rgba(201,169,110,0.05);
    transform: translateY(-5px);
}
.org-logo {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}
.org-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
    letter-spacing: 1px;
}
.org-card .subtitle {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.org-card .role {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ===== ESTRUCTURA DE FONDO ===== */
.fund-section {
    padding: 6rem 5%;
    background: #f8f9fa;
}
.fund-content { max-width: 1100px; margin: 0 auto; }
.fund-title {
    text-align: center;
    margin-bottom: 4rem;
}
.fund-title h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    color: #1a2a3a;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.fund-title p {
    font-size: 0.9rem;
    color: #6b7b8c;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Structure Diagram Dark */
.structure-diagram {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
}
.sd-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}
.sd-row-mid { gap: 2rem; }
.sd-row-bottom { gap: 2rem; margin-top: 0; }
.sd-node {
    flex: 1;
    max-width: 320px;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.sd-node:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.sd-node-main {
    max-width: 280px;
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), var(--primary));
}
.sd-node-highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1), var(--primary));
}
.sd-node-small {
    max-width: 260px;
    padding: 1.5rem;
}
.sd-icon {
    width: 36px; height: 36px;
    margin: 0 auto 0.8rem;
    display: block;
    color: var(--accent);
    stroke: var(--accent);
}
.sd-node h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.sd-node span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
}
.sd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.8rem;
}
.sd-tag {
    padding: 0.25rem 0.6rem;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 20px;
    font-size: 0.65rem;
    color: var(--accent);
    font-weight: 500;
}
.sd-badge {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.3rem 0.8rem;
    background: rgba(201, 169, 110, 0.15);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.sd-spv-list {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--glass-border);
    text-align: left;
}
.sd-spv-item {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    padding-left: 1rem;
    position: relative;
}
.sd-spv-item::before {
    content: '&#9654;';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Connectors */
.sd-connector-v {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 50px;
    position: relative;
    z-index: 1;
}
.sd-line-v {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), rgba(201, 169, 110, 0.2));
}
.sd-dot {
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.5);
    margin-top: -5px;
}

/* ===== CICLO DE INVERSION ===== */
.cycle-section {
    padding: 5rem 5%;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}
.cycle-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}
.cycle-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.cycle-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.cycle-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.cycle-header p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.cycle-header strong { color: var(--accent); }

.cycle-horizontal {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    position: relative;
}
.h-phase {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}
.h-phase:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.h-number {
    width: 32px; height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 0.8rem;
}
.h-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    display: block;
}
.h-phase h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.h-phase p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
.h-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 300;
    padding: 0 0.5rem;
    align-self: center;
    animation: pulseArrow 2s ease infinite;
}
@keyframes pulseArrow {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}

/* Summary */
.cycle-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.summary-item { text-align: center; }
.summary-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.summary-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.summary-divider {
    width: 1px;
    height: 35px;
    background: var(--glass-border);
}

/* Boutique Note */
.boutique-note {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(201, 169, 110, 0.05);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 12px;
    align-items: flex-start;
}
.boutique-icon {
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
    line-height: 1;
}
.boutique-note p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}
.boutique-note strong { color: var(--accent); }

/* ===== MEDIOS DE PAGO ===== */
.payments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.payment-card {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}
.payment-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}
.payment-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}
.payment-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}
.payment-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}
.payment-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(201, 169, 110, 0.15);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.payment-badge.traditional {
    background: rgba(139, 143, 163, 0.15);
    color: var(--text-muted);
}
.payment-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.5;
}

/* Edu Grid */
.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.edu-card {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
}
.edu-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.edu-icon {
    width: 48px; height: 48px;
    background: rgba(201, 169, 110, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.edu-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--text);
    margin: 0;
}
.edu-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.edu-card strong { color: var(--text); }

/* Compare */
.compare-card {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}
.compare-card > h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 2rem;
}
.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.compare-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary);
    border-radius: 12px;
}
.compare-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.compare-item h4 {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.compare-details {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.compare-details div { margin-bottom: 0.3rem; }
.compare-details .highlight { color: var(--accent); }

.stablecoin-disclaimer {
    padding: 1.5rem;
    background: rgba(201, 169, 110, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
}
.stablecoin-disclaimer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== SIMULATOR ===== */
.simulator-section {
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}
.simulator-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}
.simulator-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.simulator-controls h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text);
}
.slider-group { margin-bottom: 2rem; }
.slider-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
.slider-group label span {
    color: var(--accent);
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}
input[type="range"] {
    width: 100%; height: 6px;
    background: var(--primary);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.5);
    transition: transform 0.2s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.3); }

select {
    width: 100%; padding: 0.8rem 1rem;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
}
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.1);
}

.simulator-result {
    background: var(--primary);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.simulator-result::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.result-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}
.result-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}
.result-period {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}
.result-breakdown {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}
.breakdown-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}
.breakdown-row .label { color: var(--text-muted); }
.breakdown-row .value { color: var(--text); font-weight: 600; }
.breakdown-row.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    font-size: 1.1rem;
}
.breakdown-row.total .value {
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
}

/* ===== PROJECTS ===== */
.projects-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}
.project-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.1); }
.project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}
.project-tag {
    position: absolute;
    top: 1.2rem; left: 1.2rem;
    padding: 0.4rem 0.8rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.project-tag.sold { background: var(--text-muted); }
.project-tag.new { background: var(--success); }
.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.project-card:hover .project-info h3 { transform: translateY(0); }
.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}
.project-card:hover .project-meta { transform: translateY(0); }
.project-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.project-return {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}
.project-card:hover .project-return { transform: translateY(0); }
.project-progress {
    margin-top: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.25s;
}
.project-card:hover .project-progress { transform: translateY(0); }
.progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 1s ease;
}
.progress-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ===== PROCESO ===== */
.steps-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.steps-line {
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    transform: translateX(-50%);
}
.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}
.step-item:nth-child(even) { flex-direction: row-reverse; }
.step-content {
    width: 42%;
    padding: 2rem;
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}
.step-content:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}
.step-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 56px; height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 0 40px rgba(201, 169, 110, 0.3);
    z-index: 2;
}
.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}
.step-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.9rem;
}
.step-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--secondary);
    position: relative;
    padding: 6rem 5%;
}
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}
.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}
.testimonials-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.testimonial-item {
    padding: 2rem;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}
.testimonial-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}
.testimonial-rating {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    display: block;
}
.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text);
    display: block;
}
.testimonial-person {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.person-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.person-info h4 {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.2rem;
    font-weight: 600;
}
.person-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== CTA / CONTACT ===== */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 5%;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
    animation: rotate 25s linear infinite;
}

/* Contact Grid */
.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info-block { padding: 2rem; }
.contact-info-block h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text);
}
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-item-icon {
    width: 44px; height: 44px;
    background: rgba(201,169,110,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.contact-item-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contact-item-value {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}
.contact-note {
    margin-top: 2rem;
    padding: 1.2rem;
    background: rgba(201,169,110,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}
.contact-note-title {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.contact-note-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form-block {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
}
.contact-form-block h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}
.contact-form-block > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.success-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 10px;
    text-align: center;
}

/* ===== FOOTER ===== */
footer {
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--glass-border);
    background: var(--secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}
.footer-brand h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.85rem;
    max-width: 300px;
}
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}
.footer-links h4 {
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Disclaimer */
.disclaimer-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.disclaimer-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(201, 169, 110, 0.05);
}
.disclaimer-toggle.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(201, 169, 110, 0.1);
}
.disclaimer-arrow { transition: transform 0.3s ease; }

.legal-disclaimer {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.legal-disclaimer.active {
    max-height: 2000px;
    opacity: 1;
    margin-top: 1rem;
}
.disclaimer-content {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 16px;
    text-align: left;
}
.disclaimer-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    margin-top: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.disclaimer-content h4:first-child { margin-top: 0; }
.disclaimer-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}
.disclaimer-content strong { color: var(--text); font-weight: 600; }
.disclaimer-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.3), transparent);
    margin: 1.5rem 0;
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}
.modal h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.modal > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.modal-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}
.modal-close:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ===== AVISO LEGAL MODAL ===== */
.aviso-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 2rem;
}
.aviso-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.aviso-modal {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: avisoSlideIn 0.6s ease;
}
@keyframes avisoSlideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.aviso-header {
    text-align: center;
    padding: 2.5rem 2.5rem 1rem;
    border-bottom: 1px solid var(--glass-border);
}
.aviso-icon { font-size: 3rem; margin-bottom: 1rem; }
.aviso-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.aviso-content { padding: 2rem 2.5rem; }
.aviso-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.aviso-content strong { color: var(--text); font-weight: 600; }
.aviso-warning {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(201, 169, 110, 0.05);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 12px;
    margin: 1.5rem 0;
}
.aviso-warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.aviso-warning p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--accent);
}
.aviso-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}
.aviso-list li {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}
.aviso-footer-text {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}
.aviso-footer-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    margin: 0;
}
.aviso-actions {
    padding: 1.5rem 2.5rem 2.5rem;
    text-align: center;
}
.aviso-btn {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.aviso-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 110, 0.4);
}
.aviso-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.aviso-btn:hover::before { left: 100%; }

/* ===== PRIVACY MODAL ===== */
.privacy-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 2rem;
}
.privacy-overlay.active {
    opacity: 1;
    visibility: visible;
}
.privacy-modal {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.privacy-overlay.active .privacy-modal {
    transform: translateY(0) scale(1);
}
.privacy-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}
.privacy-close:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}
.privacy-header {
    text-align: center;
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    background: var(--secondary);
    z-index: 5;
    border-radius: 24px 24px 0 0;
}
.privacy-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.privacy-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.privacy-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}
.privacy-content { padding: 2rem 2.5rem; }
.privacy-intro {
    background: rgba(201, 169, 110, 0.05);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.privacy-intro p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}
.privacy-intro p:last-child { margin-bottom: 0; }
.privacy-intro strong { color: var(--text); }
.privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}
.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.privacy-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.section-number {
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.privacy-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
}
.privacy-section > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}
.privacy-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.privacy-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}
.privacy-highlight {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 12px;
    margin-top: 1rem;
}
.privacy-highlight span { font-size: 1.2rem; flex-shrink: 0; }
.privacy-highlight p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
    margin: 0;
}
.privacy-footer {
    padding: 1.5rem 2.5rem 2.5rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: sticky;
    bottom: 0;
    background: var(--secondary);
    border-radius: 0 0 24px 24px;
}
.privacy-accept {
    padding: 1rem 3rem;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.privacy-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 110, 0.4);
}
.privacy-accept::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.privacy-accept:hover::before { left: 100%; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ===== INDEX.PHP DEFAULT ===== */
.index-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 5% 4rem;
}
.index-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    margin-bottom: 1rem;
}
.index-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== ELEMENTOR COMPATIBILITY ===== */
.elementor-widget-container {
    color: var(--text);
}
.elementor-editor-active .hero {
    height: auto;
    min-height: 600px;
}

/* ===== SINGLE PROJECT ===== */
.single-proyecto .project-header {
    padding: 8rem 5% 4rem;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
}
.single-proyecto .project-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}
.single-proyecto .project-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.single-proyecto .project-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}
.single-proyecto .project-meta-bar {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.single-proyecto .project-meta-item {
    display: flex;
    flex-direction: column;
}
.single-proyecto .project-meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.single-proyecto .project-meta-value {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}
.single-proyecto .project-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}
.single-proyecto .project-sidebar {
    background: var(--secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    height: fit-content;
}

/* ===== 404 ===== */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.error-404 h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
}
.error-404 h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
}
.error-404 p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}
