:root {
    /* Identidad Lumen Systems */
    --color-primary: #FF7A00;
    --color-primary-glow: rgba(255, 122, 0, 0.12);
    --color-primary-dark: #FF9D2E;
    --color-accent: #FFD59C;
    --color-bg: #FFF0E2;
    --color-white: #FFFFFF;

    /* Acentos Pastel */
    --color-cyan: #FFD59C;
    --color-peach: #FFF0E2;
    --color-purple: #FF9D2E;

    /* Textos */
    --color-text-dark: #1B1B1F;
    --color-text-muted: #6B6B70;
    --color-text-light: #FFFFFF;

    /* Estructura */
    --container-max: 1100px;
    --section-padding: 80px;
    --card-padding: 28px;
    --radius: 16px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    /* Sombras Premium */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 16px 40px rgba(255, 107, 0, 0.08);
    --shadow-lg: 0 32px 64px rgba(255, 107, 0, 0.12);
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; position: relative; }
html { scroll-behavior: smooth; }
section[id], div[id], header[id] { scroll-margin-top: 90px; }

@font-face {
    font-family: 'Sora';
    src: url('assets/fonts/Sora/static/Sora-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Sora';
    src: url('assets/fonts/Sora/static/Sora-SemiBold.ttf') format('truetype');
    font-weight: 600;
}
@font-face {
    font-family: 'Sora';
    src: url('assets/fonts/Sora/static/Sora-Bold.ttf') format('truetype');
    font-weight: 700;
}
@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope/static/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope/static/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope/static/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Eliminar estilos azules por defecto */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

h1, h2, h3, h4 {
    font-family: 'Sora', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text-dark);
}

h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
}
h2, h3, h4 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
}
p { font-size: 17px; color: var(--color-text-muted); font-weight: 400; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; position: relative; }

.section { padding: var(--section-padding) 0; }
.center { text-align: center; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 16px 0;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(107, 107, 112, 0.1); /* Gris claro */
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 240, 226, 0.96); /* Blanco cÃ¡lido con opacidad */
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    text-decoration: none;
}
.nav-logo .logo-lumen {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--color-primary);
    letter-spacing: -0.03em;
    transition: var(--transition-smooth);
}
.nav-logo .logo-solutions {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 9px;
    color: var(--color-text-dark);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 1px;
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.nav-link:hover { color: var(--color-primary); }

/* --- AnimaciÃ³n LÃ¡mpara de Lava (Optimizada para GPU) --- */
@keyframes lava-lamp {
    0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    33% { transform: translate3d(10vw, -5vh, 0) rotate(90deg) scale(1.1); }
    66% { transform: translate3d(-5vw, 10vh, 0) rotate(180deg) scale(0.9); }
    100% { transform: translate3d(0, 0, 0) rotate(360deg) scale(1); }
}

.aura-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
    background: var(--color-bg);
    pointer-events: none; /* Evita interferencia con clics */
}

.aura-blob {
    position: absolute;
    width: 120vw; height: 120vw;
    top: -20%; left: -10%;
    background: radial-gradient(circle, var(--color-primary) 0%, var(--color-primary-dark) 45%, transparent 70%);
    filter: blur(80px); /* Reducido para performance */
    opacity: 0.7;
    will-change: transform;
    transform: translate3d(0,0,0);
    animation: lava-lamp 30s infinite linear;
}

.aura-blob-2 {
    position: absolute;
    width: 110vw; height: 110vw;
    bottom: -30%; right: -15%;
    background: radial-gradient(circle, var(--color-primary-dark) 0%, var(--color-primary) 40%, transparent 70%);
    filter: blur(80px);
    opacity: 0.6;
    will-change: transform;
    transform: translate3d(0,0,0);
    animation: lava-lamp 40s infinite reverse linear;
}

.aura-blob-3 {
    position: absolute;
    width: 100vw; height: 100vw;
    top: 10%; right: 0%;
    background: radial-gradient(circle, var(--color-accent) 0%, var(--color-primary-dark) 40%, transparent 70%);
    filter: blur(70px);
    opacity: 0.4;
    will-change: transform;
    transform: translate3d(0,0,0);
    animation: lava-lamp 50s infinite linear;
}

.aura-blob-4 {
    position: absolute;
    width: 130vw; height: 130vw;
    bottom: -10%; left: 0%;
    background: radial-gradient(circle, var(--color-white) 0%, var(--color-bg) 50%, transparent 80%);
    filter: blur(100px);
    opacity: 0.5;
    will-change: transform;
    transform: translate3d(0,0,0);
    animation: lava-lamp 45s infinite alternate linear;
}

/* --- Hero --- */
.hero {
    min-height: 90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg); /* Match base */
    margin: 0;
}

.hero-content {
    position: relative;
    z-index: 20; /* Asegurar que el texto esté sobre las nubes */
}

/* --- Final CTA --- */
.final-cta {
    position: relative;
    overflow: hidden;
    background: #08080a;
    padding: 100px 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 122, 0, 0.05);
    margin: 0;
}

.final-cta .container {
    position: relative;
    z-index: 20;
}

.final-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: final-cta-pulse 10s infinite alternate ease-in-out;
}

@keyframes final-cta-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1.2;
    }
}

/* Estilo exacto de botÃ³n Inspo */
.btn-inspo {
    border: 1px solid white;
    color: white;
    background: transparent;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-inspo:hover {
    background: white;
    color: var(--color-primary);
    transform: scale(1.05);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
    text-align: center;
    padding: 0 24px;
}

/* --- Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(255, 107, 0, 0.2); }

.btn-outline {
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

/* --- Carrusel Corregido --- */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    transition: transform 0.1s linear;
    width: max-content;
}

.project-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.project-card img { width: 100%; height: auto; object-fit: contain; object-position: center; display: block; }
.project-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }

/* BajaTax Placeholder Premium */
.placeholder-card {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-text-dark) 0%, #444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.placeholder-card::after {
    content: '';
    position: absolute;
    width: 200%; height: 200%;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
}

/* --- SecciÃ³n Naranja & Formulario --- */
.form-section {
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

.form-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.form-info-side h2 { color: white; font-size: 34px; margin-bottom: 20px; }
.form-info-side p { color: rgba(255,255,255,0.9); }

.form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    color: var(--color-text-dark);
    box-shadow: var(--shadow-lg);
}

.form-card h3 { color: var(--color-primary); margin-bottom: 24px; }

input, select, textarea {
    width: 100%;
    background: #F8F8F8;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 16px;
}

input:focus { border-color: var(--color-primary); outline: none; background: white; }

/* --- FAQ --- */
details { background: white; border-radius: 12px; margin-bottom: 12px; border: 1px solid rgba(0,0,0,0.03); }
summary { padding: 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: '+'; color: var(--color-primary); }
.details-content { padding: 0 20px 20px; color: var(--color-text-muted); font-size: 15px; }

/* --- Footer --- */
.footer-links a:hover { color: var(--color-primary); }
.footer-credit a { color: var(--color-primary); font-weight: 700; }

/* --- Solutions Bubble Cluster --- */
.solutions-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.solutions-text h2 {
    font-size: clamp(42px, 6vw, 68px);
    color: var(--color-primary);
    margin-bottom: 32px;
    line-height: 1;
}

.solutions-text p {
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.bubble-cluster {
    position: relative;
    height: 520px;
    width: 100%;
}

.bubble {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-family: 'Sora', sans-serif;
    padding: 24px;
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    animation: bubble-float 12s infinite ease-in-out;
}

.bubble:hover {
    animation-play-state: paused;
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 30px 70px rgba(255, 107, 0, 0.18);
    z-index: 100;
}

/* Punto Dulce: ClÃºster Cohesionado */
.bubble-xl { width: 260px; height: 260px; font-size: 20px; left: 0; top: 15%; animation-delay: 0s; z-index: 5; }
.bubble-lg { width: 220px; height: 220px; font-size: 17px; right: 5%; top: 15%; animation-delay: -2s; animation-duration: 14s; z-index: 4; }
.bubble-md { width: 190px; height: 190px; font-size: 16px; bottom: 8%; right: 25%; animation-delay: -4s; animation-duration: 11s; z-index: 6; }
.bubble-sm { width: 150px; height: 150px; font-size: 14px; top: -5%; left: 35%; animation-delay: -6s; animation-duration: 15s; z-index: 3; }
.bubble-xs {
    width: 130px;
    height: 130px;
    font-size: 13px;
    top: 71% !important;
    left: 15% !important;
    animation-delay: -1s;
    animation-duration: 13s;
    z-index: 10;
} /* Ajuste milimÃ©trico final */

/* Colores Inspo */
.b-orange { background: var(--color-primary); color: white; }
.b-vibrant { background: var(--color-primary-dark); color: white; }
.b-light { background: var(--color-accent); color: var(--color-text-dark); }
.b-soft { background: var(--color-bg); border: 2px solid var(--color-primary-dark); color: var(--color-text-dark); }
.b-yellow { background: var(--color-text-dark); color: white; }

/* --- Reveal --- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* --- Nav Toggle --- */
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1100; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--color-primary); border-radius: 10px; transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- AnimaciÃ³n de FlotaciÃ³n --- */
@keyframes bubble-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -15px); }
}

/* --- Carrusel de Proyectos --- */
.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    cursor: grab;
}

.carousel-container:active { cursor: grabbing; }

.carousel-track {
    display: flex;
    gap: 32px;
    padding: 0 50px;
    width: max-content;
    align-items: flex-start;
}

.project-card {
    flex: 0 0 380px;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.03);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.project-card img { width: 100%; height: auto; object-fit: contain; object-position: center; display: block; }

.project-card-body {
    padding: 28px;
}

/* --- Floating CTA Pill (Horizontal) --- */
.floating-pill-cta {
    display: inline-block;
    background: white;
    padding: 12px 12px 12px 32px;
    border-radius: 100px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    border: 1px solid rgba(249, 161, 61, 0.15);
    animation: bubble-float 10s infinite ease-in-out;
}

.pill-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.pill-text {
    text-align: left;
}

.pill-text strong {
    display: block;
    color: var(--color-navy);
    font-size: 19px;
    margin-bottom: 2px;
}

.pill-text span {
    font-size: 14px;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .project-card { flex: 0 0 300px; }
    .pill-content {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        text-align: center;
    }
    .pill-text { text-align: center; }
    .floating-pill-cta { border-radius: 30px; padding: 20px; }
}

@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--color-bg); flex-direction: column; justify-content: center; align-items: center; gap: 40px; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -20px 0 60px rgba(0,0,0,0.1); z-index: 1050; }
    .nav-links.active { right: 0; }
    .solutions-split { grid-template-columns: 1fr; text-align: center; gap: 80px; }
    .bubble-cluster { height: 480px; transform: scale(0.8); margin: 0 auto; width: 100%; }
    .form-split { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 36px; }
    .bubble-cluster { height: 400px; transform: scale(0.6); }
}
.carousel-wrapper { position: relative; max-width: 100vw; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--color-bg); border: 1px solid rgba(0,0,0,0.05); color: var(--color-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: var(--transition-smooth); }
.carousel-arrow:hover { background: var(--color-primary); color: white; transform: translateY(-50%) scale(1.05); box-shadow: 0 8px 25px rgba(255,122,0,0.2); }
.carousel-arrow:disabled, .carousel-arrow.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.carousel-arrow.left { left: 24px; }
.carousel-arrow.right { right: 24px; }
@media (max-width: 1024px) { .carousel-wrapper { padding-bottom: 60px; } .carousel-arrow { top: auto; bottom: 0; transform: none; } .carousel-arrow.left { left: calc(50% - 60px); } .carousel-arrow.right { right: calc(50% - 60px); } .carousel-arrow:hover { transform: scale(1.05); } }

/* --- DARK HERO COMPOSITION --- */
.hero.dark-hero {
    background-color: #121212;
    color: var(--color-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.hero.dark-hero .hero-content {
    text-align: left;
    padding-top: 60px;
    position: relative;
    z-index: 10;
    max-width: 960px;
    margin-left: 0;
    margin-right: auto;
}

.hero.dark-hero .hero-content h1 {
    color: var(--color-white);
    font-size: clamp(32px, 3.8vw, 45px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 28px;
}

.hero-title-line {
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .hero-title-line {
        display: inline;
        white-space: normal;
    }
}

.hero.dark-hero .hero-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(16px, 1.4vw, 17.5px);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero.dark-hero .hero-content .hero-btn-container {
    margin-top: 10px;
}

.hero.dark-hero .hero-content .btn-primary {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    display: inline-flex;
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.visual-wrapper {
    position: absolute;
    bottom: -20%;
    right: -22%; /* Pushed further to the right to create an elegant margin and avoid overlap */
    width: 1000px;
    height: 1000px;
    transform: rotate(-10deg);
    transform-origin: center center;
}

/* Planet Horizon Curve */
.planet-horizon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #121212;
    border-top: 1.5px solid rgba(255, 122, 0, 0.6);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow: 0 -15px 60px rgba(255, 122, 0, 0.45) inset, 0 0 30px rgba(255, 122, 0, 0.15);
    z-index: 4; /* Overlay sun core and rays bottom part cleanly */
}

/* Bright Orange Sun/Flare */
.glow-sun {
    position: absolute;
    top: 200px; /* Mathematically centered: 500px center - 300px half-width */
    left: 200px; /* Mathematically centered: 500px center - 300px half-width */
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(255,122,0,0.45) 0%, rgba(255,90,0,0.12) 50%, rgba(255,90,0,0) 80%);
    filter: blur(60px);
    border-radius: 50%;
    z-index: 2;
}

.glow-sun-core {
    position: absolute;
    top: 440px; /* Sitting perfectly on 500px horizon height. Top = 500px - 60px height of core */
    left: 440px; /* Centered perfectly: 500px - 60px half-width */
    width: 120px;
    height: 60px;
    background: #ffffff;
    border-radius: 120px 120px 0 0;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.95), 0 0 60px rgba(255, 122, 0, 0.85);
    z-index: 3;
}

/* SVG Light Rays */
.light-rays-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    animation: rotateRays 300s linear infinite;
    mix-blend-mode: screen;
    z-index: 1;
}

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

@media (max-width: 1024px) {
    .hero.dark-hero .hero-content {
        text-align: center !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-top: 40px;
    }
    .hero.dark-hero .hero-content h1 {
        font-size: clamp(36px, 8vw, 54px) !important;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    .hero.dark-hero .hero-content p {
        margin: 0 auto 30px !important;
        text-align: center !important;
        max-width: 420px;
    }
    .hero.dark-hero .hero-content .hero-btn-container {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    .hero-visual { width: 100%; bottom: 0; right: 0; }
    .visual-wrapper { bottom: -10%; right: auto; left: 50%; transform: translateX(-50%) rotate(0deg) scale(0.75); width: 1000px; height: 1000px; }
}

/* --- NAVBAR DARK HERO ADAPTATION --- */
.navbar-dark-hero:not(.scrolled) {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar-dark-hero:not(.scrolled) .nav-link {
    color: rgba(255,255,255,0.8);
}
.navbar-dark-hero:not(.scrolled) .nav-link:hover {
    color: var(--color-white);
}
.navbar-dark-hero:not(.scrolled) .nav-logo .logo-lumen {
    color: var(--color-white);
}
.navbar-dark-hero:not(.scrolled) .nav-logo .logo-solutions {
    color: rgba(255, 255, 255, 0.8);
}
.navbar-dark-hero:not(.scrolled) .nav-toggle span {
    background-color: var(--color-white);
}

/* Resize logo slightly for visual presence */
.navbar.scrolled .nav-logo .logo-lumen {
    font-size: 24px;
}
.navbar.scrolled .nav-logo .logo-solutions {
    font-size: 8px;
}
@media (max-width: 768px) {
    .nav-logo .logo-lumen {
        font-size: 22px;
    }
    .nav-logo .logo-solutions {
        font-size: 8px;
    }
}

/* Force hero content to the left side and constrain width to prevent overlap on desktop only */
@media (min-width: 1025px) {
    .hero.dark-hero .hero-content {
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left !important;
        max-width: 680px !important;
    }
}

/* --- Refined Premium Footer --- */
.custom-footer {
    background-color: #F9F9FB;
    color: #1B1B1F;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 122, 0, 0.08);
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-logo-block img {
    max-height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-logo-block p {
    color: #6B6B70;
    font-size: 15px;
    line-height: 1.6;
    max-width: 340px;
    margin-top: 10px;
}

.footer-nav-block h4,
.footer-contact-block h4 {
    color: #1B1B1F;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-block a {
    color: #6B6B70;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav-block a:hover {
    color: #FF7A00;
}

.footer-contact-block p {
    color: #6B6B70;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-contact-block p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-block p a:hover {
    color: #FF7A00;
}

/* Sello final de la agencia */
.footer-badge-seal {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-badge-seal img {
    height: 48px; /* Desktop height suggested 42px-64px */
    width: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .footer-badge-seal img {
        height: 38px; /* Mobile height suggested 36px-48px */
    }
}

.footer-badge-seal img:hover {
    transform: rotate(15deg) scale(1.05);
}

.footer-badge-seal a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #FF7A00;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-badge-seal a:hover {
    color: #FF9D2E;
    text-decoration: underline;
}

/* Bottom copyright info */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 122, 0, 0.08);
    margin-bottom: 40px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #6B6B70;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-flex p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-legal-links a {
    color: #6B6B70;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #FF7A00;
}

.footer-legal-links .separator {
    color: rgba(255, 122, 0, 0.2);
    font-size: 11px;
}

@media (max-width: 768px) {
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   NUEVAS INTEGRACIONES VISUALES Y FUNCIONALES - LUMEN
   ========================================================================== */

/* 1. Hero Buttons & Alignment */
.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2.5px solid rgba(255, 122, 0, 0.5);
    background: transparent;
    color: var(--color-white);
}

.btn-outline-hero:hover {
    border-color: var(--color-primary);
    background: rgba(255, 122, 0, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.15);
}

/* 2. Tres Soluciones Comerciales */
.solutions-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

@media (max-width: 992px) {
    .solutions-compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .solutions-compact-grid {
        grid-template-columns: 1fr;
    }
}

.solution-compact-card {
    background: #FFF;
    border: 1px solid rgba(255, 122, 0, 0.08);
    border-radius: 12px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.02);
}

.solution-compact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 122, 0, 0.35);
    box-shadow: 0 16px 40px rgba(255, 122, 0, 0.08);
}

.solution-compact-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 122, 0, 0.08);
    color: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.solution-compact-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.solution-compact-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-compact-solution {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.btn-compact-solution:hover {
    color: var(--color-primary-dark);
    padding-left: 4px;
}

/* 3. Sección Oscura de Diferenciación (Blueprint) */
.section-blueprint {
    background: #0b0b0e;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.section-blueprint::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: 30px 30px;
    background-image:
        linear-gradient(to right, rgba(255, 122, 0, 0.018) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 122, 0, 0.018) 1px, transparent 1px);
    z-index: 1;
    pointer-events: none;
}

.blueprint-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .blueprint-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.blueprint-benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 122, 0, 0.07);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    background: rgba(255, 122, 0, 0.035);
    border-color: rgba(255, 122, 0, 0.25);
    transform: translateX(8px);
}

.benefit-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 122, 0, 0.1);
    color: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 4. Portafolio con Mockups de Dispositivos (Solo Browser Desktop) */
.project-mockup-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: rgba(0,0,0,0.015);
    border-radius: 12px;
    overflow: hidden;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mockup-screen {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.mockup-browser {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: white;
    border-radius: 8px;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.browser-bar {
    height: 22px;
    background: #f1f1f4;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.browser-bar .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d1d6;
}

.mockup-browser img {
    width: 100%;
    height: calc(100% - 22px);
    object-fit: contain;
    object-position: center;
    display: block;
    background: #ffffff;
}


/* Hover Elevations for Projects */
.project-card:hover .project-mockup-wrapper {
    background: rgba(255,122,0,0.02);
}

.project-card:hover .mockup-browser {
    transform: scale(1.025);
    box-shadow: 0 20px 45px rgba(255,122,0,0.12);
}

/* 2.5. Rutas por Audiencia */
.audience-routes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.audience-route-card {
    background: var(--color-white);
    border: 1px solid rgba(255, 122, 0, 0.08);
    border-radius: 12px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.audience-route-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 122, 0, 0.3);
    box-shadow: 0 16px 40px rgba(255, 122, 0, 0.08);
}

.route-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 122, 0, 0.08);
    color: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.audience-route-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.audience-route-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .audience-routes-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* 4b. Proyectos (Grid Fijo Centrado) */
.projects-fixed-grid-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.projects-fixed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-content: center;
}

@media (max-width: 992px) {
    .projects-fixed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .projects-fixed-grid-container {
        padding: 0;
    }
    .projects-fixed-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 20px 24px;
        gap: 16px;
        scroll-snap-type: x mandatory;
    }
    .projects-fixed-grid .project-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
        margin: 0;
    }
}

/* 5. Proceso de Trabajo (5 Etapas Horizontales) */
.process-steps-horizontal-5 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-top: 48px;
}

.process-step-node-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 12px;
}

.step-badge-5 {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.15);
    margin-bottom: 18px;
    position: relative;
    z-index: 3;
    transition: transform 0.25s ease;
}

.process-step-node-5:hover .step-badge-5 {
    transform: scale(1.1);
    background: var(--color-primary);
    color: var(--color-white);
}

.process-step-node-5 h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.step-desc-5 {
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 180px;
}

@media (max-width: 768px) {
    .process-steps-horizontal-5 {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        margin-top: 32px;
        padding-left: 24px;
    }
    .process-connecting-line {
        position: absolute;
        top: 0 !important;
        bottom: 0 !important;
        left: 48px !important;
        width: 3px !important;
        height: auto !important;
        background: linear-gradient(180deg, var(--color-primary) 0%, rgba(255, 122, 0, 0.1) 100%) !important;
    }
    .process-step-node-5 {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 0;
        gap: 16px;
    }
    .step-badge-5 {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .step-desc-5 {
        max-width: 100%;
    }
}

/* 6. Formulario Compacto Grid */
.compact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.compact-form-grid .form-grid-item.full-width {
    grid-column: span 2;
}

.compact-form-grid label {
    font-family: 'Sora', sans-serif;
}

.compact-form-grid input,
.compact-form-grid select,
.compact-form-grid textarea {
    width: 100%;
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--color-text-dark);
    transition: all 0.2s ease;
}

.compact-form-grid input:focus,
.compact-form-grid select:focus,
.compact-form-grid textarea:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,122,0,0.1);
}

@media (max-width: 768px) {
    .compact-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .compact-form-grid .form-grid-item.full-width {
        grid-column: span 1;
    }
}

@media (min-width: 992px) {
    .form-split {
        grid-template-columns: 0.65fr 1.35fr !important;
        gap: 48px !important;
    }
}



/* ═══════════════════════════════════════════════════
   Custom Multiselect Component
═══════════════════════════════════════════════════ */
.custom-multiselect {
    position: relative;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
}

.multiselect-trigger {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 42px;
    padding: 8px 36px 8px 12px;
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
}
.custom-multiselect:focus .multiselect-trigger,
.multiselect-trigger:hover {
    border-color: var(--color-primary);
}
.custom-multiselect[aria-expanded="true"] .multiselect-trigger {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255,122,0,0.1);
}

.multiselect-placeholder {
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
}

.multiselect-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.2s ease;
}
.custom-multiselect[aria-expanded="true"] .multiselect-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Chips */
.multiselect-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 122, 0, 0.12);
    color: var(--color-primary);
    border: 1px solid rgba(255,122,0,0.25);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}
.chip-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    font-size: 14px;
    line-height: 1;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.chip-remove:hover { opacity: 1; }

/* Dropdown */
.multiselect-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 200;
    display: none;
    overflow: hidden;
}
.multiselect-dropdown.open { display: block; }

.multiselect-options {
    list-style: none;
    padding: 6px 0;
    margin: 0;
    max-height: 240px;
    overflow-y: auto;
}
.multiselect-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: background 0.15s;
    outline: none;
}
.multiselect-option:hover,
.multiselect-option:focus {
    background: rgba(255,122,0,0.06);
}
.multiselect-option.selected {
    background: rgba(255,122,0,0.08);
    color: var(--color-primary);
    font-weight: 600;
}
.multiselect-option--advisory {
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 4px;
    padding-top: 12px;
    color: var(--color-text-muted);
    font-style: italic;
}
.multiselect-option--advisory.selected { color: var(--color-primary); }

/* Checkbox indicator */
.ms-checkbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    border: 1.5px solid rgba(0,0,0,0.2);
    border-radius: 3px;
    flex-shrink: 0;
    transition: all 0.15s ease;
    background: #fff;
}
.multiselect-option.selected .ms-checkbox {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.multiselect-option.selected .ms-checkbox::after {
    content: '✓';
    font-size: 10px;
    color: white;
    font-weight: 700;
}

/* Footer with clear button */
.multiselect-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 8px 14px;
    text-align: right;
}
.multiselect-clear-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: var(--color-text-muted);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    padding: 4px 0;
    transition: color 0.15s;
}
.multiselect-clear-btn:hover { color: #E53E3E; }


/* ═══════════════════════════════════════════════════
   Reference Preselection Badge (above form)
═══════════════════════════════════════════════════ */
.reference-preselect-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,122,0,0.1);
    border: 1px solid rgba(255,122,0,0.2);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}
.reference-preselect-badge strong {
    font-weight: 700;
}

/* General Utilities */
.hidden {
    display: none !important;
}

/* Privacy notice checkbox styling */
.privacy-consent-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: left;
}
.privacy-consent-checkbox {
    width: auto !important;
    height: auto !important;
    margin-top: 4px;
    cursor: pointer;
}
.privacy-consent-text {
    font-size: 13px;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1.4;
    user-select: none;
}
.privacy-consent-link {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.privacy-consent-link:hover {
    color: var(--color-primary-dark);
}
