/* ==========================================================================
   RUMBAVIA GLOBAL — HOJA DE ESTILOS REDISEÑADA (Fondo Claro, Alta Densidad, Editorial Experimental)
   ========================================================================== */

:root {
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.9);
    --accent-orange: #ff5e36;
    --accent-teal: #0097a7;
    --accent-electric: #2563eb;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-subtle: rgba(15, 23, 42, 0.1);
    --font-primary: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================================================
   LOADER & DISCLAIMER BANNER
   ========================================================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-brand {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    color: var(--text-main);
    display: block;
    margin-bottom: 1.5rem;
}

.loader-progress-wrap {
    width: 180px;
    height: 4px;
    background: rgba(15, 23, 42, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 1rem auto;
    position: relative;
}

.loader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-teal));
    transform: scaleX(0);
    transform-origin: left;
    animation: loadFill 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loadFill {
    to { transform: scaleX(1); }
}

.loader-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.disclaimer-banner {
    background: #fffbeb;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    color: #92400e;
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.disclaimer-banner strong {
    color: #b45309;
    font-weight: 700;
}

/* ==========================================================================
   HEADER & NAVIGATION FLOTANTE CONTEXTUAL
   ========================================================================== */

.experimental-header {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 900;
    transition: var(--transition-smooth);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand-signature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.brand-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-orange);
}

.experimental-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.experimental-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.experimental-nav a:hover,
.experimental-nav a.active {
    color: var(--text-main);
    font-weight: 700;
}

.nav-pill-cta {
    background: var(--accent-orange) !important;
    color: #fff !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px rgba(255, 94, 54, 0.3);
    transition: var(--transition-smooth);
}

.nav-pill-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 94, 54, 0.5);
}

.header-progress-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent-orange);
    width: 0%;
    transition: width 0.1s linear;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */

.editorial-main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-bottom: 6rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-block {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

.section-tag-colored {
    display: inline-block;
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.section-header-centered h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   SECCIÓN 01: HERO KINÉTICO ASIMÉTRICO
   ========================================================================== */

.hero-experimental {
    padding: 6rem 0 4rem 0;
}

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

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.pill-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-teal);
    border-radius: 50%;
}

.kinetic-headline {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
}

.line-reveal {
    display: block;
    animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.word-1 { animation-delay: 0.2s; }
.word-2 { animation-delay: 0.4s; }
.word-3 { animation-delay: 0.6s; }

@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight-color {
    color: var(--accent-orange);
}

.hero-body-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.btn-neon-primary {
    background: var(--accent-orange);
    color: #fff;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(255, 94, 54, 0.35);
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-neon-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 94, 54, 0.5);
}

.btn-ghost-outline {
    background: transparent;
    color: var(--text-main);
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-ghost-outline:hover {
    border-color: var(--text-main);
    background: rgba(15, 23, 42, 0.03);
}

.hero-metrics-grid {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.organic-mask-wrapper {
    position: relative;
    border-radius: 40px 10px 40px 10px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.parallax-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.organic-mask-wrapper:hover .parallax-img {
    transform: scale(1.04);
}

.floating-data-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
}

.card-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--accent-teal);
    margin-bottom: 0.2rem;
}

.card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SECCIÓN 02: MAPA CONCEPTUAL INTERACTIVO
   ========================================================================== */

.conceptual-map-section {
    background: var(--bg-surface);
    padding: 6rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.interactive-matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.matrix-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.matrix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.matrix-card:hover, .matrix-card.active {
    transform: translateY(-6px);
    border-color: var(--accent-orange);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.matrix-card:hover::before, .matrix-card.active::before {
    background: var(--accent-orange);
}

.matrix-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-orange);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.matrix-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

/* ==========================================================================
   SECCIÓN 03: FLUJO ASIMÉTRICO DE SOLUCIONES
   ========================================================================== */

.asymmetric-editorial-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}

.editorial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
}

.editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.card-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-electric);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.editorial-card h4 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.editorial-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.card-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    height: 220px;
    border: 1px solid var(--border-subtle);
}

.editorial-crop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.editorial-card:hover .editorial-crop {
    transform: scale(1.05);
}

/* ==========================================================================
   SECCIÓN 04: ESTADÍSTICAS VISUALES DINÁMICAS (WOW)
   ========================================================================== */

.stats-editorial-section {
    background: #0f172a;
    color: #f8fafc;
    padding: 7rem 0;
    border-radius: 36px;
    max-width: 1300px;
    margin: 0 auto;
}

.stats-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-intro h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.stats-intro p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.stats-numbers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-num.color-orange { color: var(--accent-orange); }
.stat-num.color-teal { color: var(--accent-teal); }

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   SECCIÓN 05: LÍNEA DE TIEMPO HORIZONTAL EDITORIAL
   ========================================================================== */

.timeline-horizontal-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-teal);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.step-num-big {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-teal);
    opacity: 0.2;
    margin-bottom: 1rem;
    line-height: 1;
}

.timeline-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

/* ==========================================================================
   SECCIÓN 06: GALERÍA EXPERIMENTAL CON MÁSCARAS ORGÁNICAS
   ========================================================================== */

.organic-collage-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 450px;
}

.collage-circle-item {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.circle-crop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collage-circle-item:hover .circle-crop-img {
    transform: scale(1.08);
}

.collage-rect-item {
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.rect-crop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collage-rect-item:hover .rect-crop-img {
    transform: scale(1.05);
}

.collage-pill-item {
    width: 260px;
    height: 360px;
    border-radius: 130px;
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.pill-crop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collage-pill-item:hover .pill-crop-img {
    transform: scale(1.08);
}

/* ==========================================================================
   SECCIÓN 07: EXPLORADOR INTERACTIVO DE PREGUNTAS (ACCORDION)
   ========================================================================== */

.interactive-accordion-wrap {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.accordion-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
    transition: var(--transition-smooth);
}

.accordion-item.active {
    border-color: var(--accent-orange);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-orange);
    transition: transform 0.4s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 2.5rem;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.accordion-item.active .accordion-body {
    max-height: 300px;
    padding: 0 2.5rem 2.5rem 2.5rem;
}

.accordion-body p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   SECCIÓN 08: LLAMADO A LA ACCIÓN MONUMENTAL EXPERIMENTAL
   ========================================================================== */

.scroll-story-cta {
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border: 1px solid var(--border-subtle);
    padding: 7rem 2rem;
    border-radius: 36px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
}

.text-center-box {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.monumental-subtitle {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.btn-neon-large {
    background: var(--accent-orange);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(255, 94, 54, 0.35);
    display: inline-block;
    transition: var(--transition-smooth);
}

.btn-neon-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 94, 54, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.experimental-footer {
    background: #0f172a;
    color: #f8fafc;
    border-top: 1px solid var(--border-subtle);
    padding: 6rem 0 2.5rem 0;
}

.footer-flex {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col-main p {
    color: #94a3b8;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    max-width: 380px;
}

.footer-logo {
    font-size: 1.4rem;
    color: #ffffff !important;
}

.footer-col-links h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-col-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col-links ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom-bar p {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid-complex,
    .stats-container-grid,
    .footer-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .interactive-matrix-grid,
    .asymmetric-editorial-grid,
    .timeline-horizontal-scroll {
        grid-template-columns: 1fr;
    }
    
    .organic-collage-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 2rem;
    }
    
    .collage-circle-item,
    .collage-pill-item {
        width: 100%;
        max-width: 320px;
        height: 320px;
    }
    
    .collage-rect-item {
        height: 320px;
    }
    
    .kinetic-headline {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .experimental-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}