/* ==========================================================================
   LEXMOVE GLOBAL - HOJA DE ESTILOS PRINCIPAL (/css/site.css)
   Paleta: #07f9a2 #09c184 #0a8967 #0c5149 #0d192b
   Estética: Vanguardista, Juvenil, Asimétrica y Fluida con Sidebar Flotante
   ========================================================================== */

:root {
    --bg-primary: #0d192b;
    --bg-secondary: #0c5149;
    --bg-card: rgba(12, 81, 73, 0.35);
    --accent-primary: #07f9a2;
    --accent-secondary: #09c184;
    --accent-glow: rgba(7, 249, 162, 0.25);
    --text-main: #f3f4f6;
    --text-muted: #d1d5db;
    --border-color: rgba(7, 249, 162, 0.18);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

.container-fluid {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* --- LOADER INICIAL (0.5s) --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(7, 249, 162, 0.1);
    border-top: 4px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* --- AVISO LEGAL GOOGLE ADS --- */
.gov-disclaimer-bar {
    background-color: #08111e;
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    position: relative;
    z-index: 1001;
}

.gov-disclaimer-bar strong {
    color: var(--accent-primary);
}

/* --- MENÚ LATERAL FLOTANTE (ARQUITECTURA INNOVADORA) --- */
.floating-sidebar-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 90px;
    height: 100vh;
    background: rgba(13, 25, 43, 0.95);
    backdrop-filter: blur(15px);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
    z-index: 1000;
}

.sidebar-brand .brand-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
}

.sidebar-brand .brand-logo span {
    color: var(--accent-primary);
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    align-items: center;
}

.side-link {
    width: 45px;
    height: 45px;
    background: rgba(12, 81, 73, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    animation: fadeInNav 0.6s ease forwards;
    animation-delay: calc(var(--i) * 0.1s);
    opacity: 0;
}

@keyframes fadeInNav {
    from { opacity: 0; transform: translateX(-15px); }
    to { opacity: 1; transform: translateX(0); }
}

.side-link:hover, .side-link.active {
    background: var(--accent-primary);
    color: #0d192b;
    border-color: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.highlight-side {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #0d192b !important;
}

.sidebar-footer-tag span {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 2px;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

/* Ajuste de contenedor principal por sidebar lateral */
.main-fluid-wrapper {
    margin-left: 90px;
}

/* --- HERO ORGÁNICO Y FONDO ABSTRACTO --- */
.abstract-bg {
    position: relative;
    background: radial-gradient(circle at 75% 25%, rgba(10, 137, 103, 0.3) 0%, transparent 60%),
                radial-gradient(circle at 15% 85%, rgba(7, 249, 162, 0.15) 0%, transparent 50%);
}

.hero-organic {
    padding: 7rem 0;
}

.hero-flex {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.badge-pill-fresh {
    display: inline-block;
    background: linear-gradient(135deg, rgba(7, 249, 162, 0.15), rgba(12, 81, 73, 0.5));
    color: var(--accent-primary);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(7, 249, 162, 0.1);
}

/* Animación de Efecto de Texto Cinético Moderno */
.kinetic-text-reveal {
    font-size: 3.5rem;
    line-height: 1.12;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 20%, var(--accent-primary) 60%, #09c184 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: kineticPulse 5s ease infinite alternate;
    background-size: 200% auto;
}

@keyframes kineticPulse {
    0% { background-position: 0% 50%; filter: drop-shadow(0 0 0px rgba(7,249,162,0)); }
    100% { background-position: 100% 50%; filter: drop-shadow(0 0 12px rgba(7,249,162,0.2)); }
}

.hero-lead-fresh {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions-fluid {
    display: flex;
    gap: 1.2rem;
}

.btn-neon, .btn-ghost {
    display: inline-block;
    padding: 0.95rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-neon {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #0d192b;
    box-shadow: 0 6px 25px rgba(7, 249, 162, 0.35);
}

.btn-neon:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(7, 249, 162, 0.55);
}

.btn-ghost {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background-color: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

/* Retroalimentación de Botón por Clic (Patrón Alternancia) */
.ripple-btn.active-click {
    transform: scale(0.94) !important;
    background: var(--accent-primary) !important;
    color: #0d192b !important;
}

/* Tarjetas Orgánicas y Brillo Glassmorphic */
.organic-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.2rem;
    position: relative;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.mosaic-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.mosaic-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(7, 249, 162, 0.15) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.mosaic-card:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

.mosaic-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(7, 249, 162, 0.2);
}

.organic-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 14px;
}

.floating-badge-glass {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(13, 25, 43, 0.9);
    border: 1px solid var(--accent-primary);
    padding: 1.2rem 1.8rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.badge-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-primary);
    line-height: 1;
}

.badge-txt {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* --- SECCIÓN 2: PILARES ORGÁNICOS --- */
.organic-pillars-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, transparent, rgba(12, 81, 73, 0.2), transparent);
}

.section-header-modern {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.section-header-modern h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header-modern p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.organic-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.organic-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 20px;
}

.featured-organic {
    transform: translateY(-20px);
    background: linear-gradient(145deg, rgba(12, 81, 73, 0.5), rgba(13, 25, 43, 0.8));
    border-color: var(--accent-primary);
}

.box-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-family: monospace;
    letter-spacing: 1px;
}

.organic-box h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.organic-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- SECCIÓN 3: EDITORIAL FLUIDO --- */
.fluid-editorial-section {
    padding: 7rem 0;
}

.editorial-fluid-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.editorial-image-holder img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
}

.editorial-content-holder h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.editorial-content-holder p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.mini-stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.mini-stats-row div {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.mini-stats-row strong {
    display: block;
    font-size: 1.8rem;
    color: var(--accent-primary);
    font-weight: 900;
}

/* --- SECCIÓN 4: COMPLIANCE DINÁMICO --- */
.compliance-dynamic-section {
    padding: 7rem 0;
    background: rgba(12, 81, 73, 0.15);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.dynamic-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.dyn-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.dyn-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.dyn-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- SECCIÓN 5: BANNER DE IMPACTO --- */
.impact-banner-section {
    padding: 7rem 0;
}

.impact-box {
    text-align: center;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(12, 81, 73, 0.6), rgba(13, 25, 43, 0.9));
    border-radius: 24px;
}

.impact-box h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.impact-box p {
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
}

/* --- SECCIÓN 6: METODOLOGÍA ÁGIL --- */
.agile-methodology-section {
    padding: 7rem 0;
    background: rgba(12, 81, 73, 0.1);
}

.agile-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.agile-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.agile-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.fresh-checklist {
    list-style: none;
}

.fresh-checklist li {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    font-weight: 600;
}

.fresh-checklist li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.agile-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
}

/* --- SECCIÓN 7: TRANSPARENCIA RADICAL --- */
.radical-transparency-section {
    padding: 6rem 0 8rem 0;
}

.transparency-organic-box {
    text-align: center;
    padding: 4.5rem 3rem;
    background: radial-gradient(circle at 50% 50%, rgba(12, 81, 73, 0.7), rgba(13, 25, 43, 0.95));
}

.transparency-organic-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.transparency-organic-box p {
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.05rem;
}

/* --- FOOTER FLUIDO --- */
.site-footer-fluid {
    background-color: #08111e;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
    margin-left: 90px;
}

.footer-fluid-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom-fluid {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive para pantallas menores */
@media (max-width: 968px) {
    .floating-sidebar-nav {
        width: 100vw;
        height: 70px;
        flex-direction: row;
        padding: 0 1.5rem;
        bottom: 0;
        top: auto;
        border-right: none;
        border-top: 1px solid var(--border-color);
    }
    .sidebar-brand, .sidebar-footer-tag {
        display: none;
    }
    .sidebar-links {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
    }
    .side-link {
        width: 38px;
        height: 38px;
    }
    .main-fluid-wrapper {
        margin-left: 0;
        margin-bottom: 70px;
    }
    .site-footer-fluid {
        margin-left: 0;
        margin-bottom: 70px;
    }
    .hero-flex, .editorial-fluid-grid, .agile-grid, .organic-grid-3, .dynamic-cards-row, .footer-fluid-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .kinetic-text-reveal {
        font-size: 2.4rem;
    }
    .featured-organic {
        transform: translateY(0);
    }
}