: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; }

@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 & Final CTA --- */
.hero, .final-cta {
    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, .final-cta .container {
    position: relative;
    z-index: 20; /* Asegurar que el texto estÃ© sobre las nubes */
}

/* 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%; aspect-ratio: 16/10; object-fit: cover; }
.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%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.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: 680px;
    margin-left: 0;
    margin-right: auto;
}

.hero.dark-hero .hero-content h1 {
    color: var(--color-white);
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero.dark-hero .hero-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 420px;
}

.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;
    }
}



