/* ==========================================================================
   BRAVIA GOVERNANCE & ADVISORY GROUP - KINETIC EDITORIAL DESIGN SYSTEM
   Palette Rules: #F5F3ED (Base), #101010 (Structure/Text), #3155FF (Blue Accent), 
   #FF6A00 (Orange Accent), #FF3E81 (Pink Accent), #B7E43C (Lime Accent).
   ========================================================================== */

:root {
    --bg-base: #F5F3ED;
    --color-black: #101010;
    --color-blue: #3155FF;
    --color-orange: #FF6A00;
    --color-pink: #FF3E81;
    --color-lime: #B7E43C;
    --color-white: #FFFFFF;
    --color-gray-muted: #666666;
    
    --font-main: 'Space Grotesk', sans-serif;
    --font-serif: 'DM Serif Display', serif;
    
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--color-black);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.4;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    color: var(--color-black);
}

/* CUSTOM CURSOR */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color-blue);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease, background-color 0.2s ease;
    mix-blend-mode: difference;
}

.custom-cursor.active {
    transform: translate(-50%, -50%) scale(1);
}

/* 05 — LOADING SCREEN */
.loading-screen {
    position: fixed;
    inset: 0;
    background-color: var(--color-black);
    color: var(--color-white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.loader-counter {
    font-family: var(--font-main);
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--color-lime);
    display: block;
    line-height: 1;
}

.loader-fragments {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--color-gray-muted);
}

/* TOP LEGAL NOTICE BAR */
.legal-notice-bar {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 8px 24px;
    font-size: 0.75rem;
    border-bottom: 2px solid var(--color-blue);
}

.notice-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
}

.badge-legal {
    background-color: var(--color-orange);
    color: var(--color-black);
    padding: 2px 6px;
    font-weight: 700;
    font-size: 0.65rem;
}

/* HEADER KINETIC */
.site-header-kinetic {
    position: sticky;
    top: 0;
    z-index: 900;
    background-color: var(--bg-base);
    border-bottom: 2px solid var(--color-black);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-kinetic {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-black);
}

.brand-main {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
}

.brand-sub {
    font-size: 0.65rem;
    color: var(--color-blue);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-kinetic {
    display: flex;
    gap: 24px;
}

.nav-kinetic a {
    text-decoration: none;
    color: var(--color-black);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-kinetic a:hover, .nav-kinetic a.active {
    color: var(--color-blue);
}

.nav-num {
    color: var(--color-pink);
    font-size: 0.7rem;
    margin-right: 4px;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.nav-indicator-line {
    width: 24px;
    height: 2px;
    background-color: var(--color-lime);
}

/* 06 & 07 — HERO & ANIMATION */
.section-hero-kinetic {
    min-height: 90vh;
    padding: 60px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 2px solid var(--color-black);
}

.hero-grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: center;
}

.hero-title-wrap {
    grid-column: span 8;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-orange);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
}

.hero-title-giant {
    font-size: clamp(3rem, 7.5vw, 9rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -2px;
}

.word-wrap {
    display: block;
    overflow: hidden;
}

.word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.highlight-blue {
    color: var(--color-blue);
}

.hero-image-mask-wrap {
    grid-column: span 4;
    position: relative;
}

.hero-mask-shape {
    width: 100%;
    height: 420px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    overflow: hidden;
    background-color: var(--color-black);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 1.2s ease;
}

.hero-tag-floating {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--color-lime);
    padding: 16px;
    border: 2px solid var(--color-black);
    font-size: 0.75rem;
}

.hero-meta-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-black);
}

.meta-item span {
    display: block;
    font-size: 0.7rem;
    color: var(--color-gray-muted);
}

.meta-item strong {
    font-size: 0.9rem;
    font-weight: 700;
}

/* 08 — STATEMENT KINETIC */
.section-statement-kinetic {
    padding: 120px 32px;
    background-color: var(--color-black);
    color: var(--bg-base);
}

.kinetic-statement-text {
    font-size: clamp(2.5rem, 6vw, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.k-word {
    display: inline-block;
    margin-right: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.serif-italics {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: lowercase;
}

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

/* 09 — DATOS */
.section-data-kinetic {
    border-bottom: 2px solid var(--color-black);
}

.data-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.data-block {
    padding: 60px 40px;
    border-right: 2px solid var(--color-black);
}

.data-block:last-child {
    border-right: none;
}

.highlight-block-blue {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.data-number {
    font-size: clamp(4rem, 8vw, 9rem);
    font-weight: 700;
    line-height: 1;
}

.data-unit {
    font-size: 2rem;
    font-weight: 700;
}

.data-line {
    height: 4px;
    background-color: currentColor;
    margin: 20px 0;
}

.data-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
}

.data-desc {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.8;
}

/* 10 — IMAGEN VIVA */
.section-live-image-kinetic {
    padding: 100px 32px;
    display: flex;
    justify-content: center;
}

.live-image-container {
    width: 100%;
    max-width: 1200px;
}

.live-mask-box {
    width: 60%;
    margin: 0 auto;
    height: 500px;
    clip-path: inset(10% 10% 10% 10% round 20px);
    transition: clip-path 0.5s ease;
    position: relative;
}

.live-mask-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-image-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--color-pink);
    color: var(--color-white);
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* 11 — ARCHIVO (REVISTA INDEX) */
.section-archive-kinetic {
    padding: 100px 32px;
    border-bottom: 2px solid var(--color-black);
    position: relative;
}

.archive-header {
    margin-bottom: 40px;
}

.archive-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.archive-row {
    display: grid;
    grid-template-columns: 80px 1fr 200px 1.5fr;
    padding: 32px 0;
    border-top: 1px solid var(--color-black);
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.archive-row:hover {
    background-color: var(--color-lime);
    padding-left: 20px;
}

.arch-num {
    font-size: 1.2rem;
    font-weight: 700;
}

.arch-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.arch-tag {
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 4px 8px;
    width: max-content;
}

.arch-detail {
    font-size: 0.9rem;
    color: var(--color-gray-muted);
}

/* 12 — COLLAGE */
.section-collage-kinetic {
    padding: 100px 32px;
    border-bottom: 2px solid var(--color-black);
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: center;
}

.col-giant {
    grid-column: span 6;
    height: 500px;
    position: relative;
}

.col-giant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.collage-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-blue);
    color: #FFF;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.col-small-top {
    grid-column: span 3;
}

.collage-badge-box {
    background-color: var(--color-orange);
    padding: 30px;
    border: 2px solid var(--color-black);
}

.badge-num {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

.col-vertical {
    grid-column: span 3;
    height: 380px;
}

.col-vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.col-circle {
    grid-column: span 12;
    margin-top: -40px;
    display: flex;
    justify-content: flex-end;
}

.circle-text-wrap {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--color-pink);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 20px;
}

/* 13 — CARRUSEL REVISTA */
.section-carousel-kinetic {
    padding: 100px 32px;
    border-bottom: 2px solid var(--color-black);
}

.carousel-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.carousel-counter {
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 20px;
}

.btn-carousel {
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
}

.btn-carousel:hover {
    background-color: var(--color-blue);
}

.carousel-track-wrapper {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
}

.magazine-page {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: var(--color-white);
    border: 2px solid var(--color-black);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-blue);
}

.magazine-page h3 {
    font-size: 1.4rem;
    margin: 16px 0;
}

.magazine-page img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-top: 20px;
}

/* 14 — MAPA CONCEPTUAL */
.section-map-kinetic {
    padding: 100px 32px;
    background-color: var(--bg-base);
    border-bottom: 2px solid var(--color-black);
}

.map-title-center {
    text-align: center;
    margin-bottom: 60px;
}

.concept-map-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
}

.map-node {
    position: absolute;
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    padding: 16px 24px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.map-node:hover {
    transform: scale(1.1);
    background-color: var(--color-lime);
}

.node-center { top: 45%; left: 40%; background-color: var(--color-blue); color: #FFF; }
.node-1 { top: 15%; left: 10%; }
.node-2 { top: 15%; left: 70%; }
.node-3 { top: 70%; left: 10%; }
.node-4 { top: 70%; left: 70%; }

.map-lines-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-info-panel {
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0 auto;
    padding: 20px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 0.9rem;
}

/* 15 — TIMELINE HORIZONTAL */
.section-timeline-kinetic {
    padding: 100px 32px;
    border-bottom: 2px solid var(--color-black);
    overflow: hidden;
}

.timeline-horizontal-wrap {
    position: relative;
    margin-top: 60px;
    padding: 40px 0;
}

.timeline-svg-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10px;
}

.timeline-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 5;
}

.event-card {
    background: var(--color-white);
    border: 2px solid var(--color-black);
    padding: 20px;
}

.event-step {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-orange);
}

/* 16 — SCROLL CINEMÁTICO STICKY */
.section-sticky-cinematic {
    height: 200vh;
    position: relative;
    border-bottom: 2px solid var(--color-black);
}

.sticky-wrapper {
    position: sticky;
    top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 32px;
    align-items: center;
}

.phase-tag {
    color: var(--color-pink);
    font-weight: 700;
}

.sticky-side-visual {
    height: 450px;
    position: relative;
}

.visual-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.visual-card.active {
    opacity: 1;
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 17 — INTERACCIÓN AUDITORÍA PRIVADA */
.section-interaction-kinetic {
    padding: 100px 32px;
    background-color: var(--color-blue);
    color: var(--color-white);
}

.interaction-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.kinetic-form .field-row {
    margin-bottom: 20px;
}

.kinetic-form input, .kinetic-form select, .kinetic-form textarea {
    width: 100%;
    padding: 16px;
    background: var(--color-black);
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-family: var(--font-main);
}

.btn-kinetic-submit {
    width: 100%;
    padding: 20px;
    background-color: var(--color-lime);
    color: var(--color-black);
    font-weight: 700;
    border: none;
    cursor: pointer;
}

/* 18 — BIG TYPE */
.section-bigtype-kinetic {
    padding: 80px 0;
    border-bottom: 2px solid var(--color-black);
    overflow: hidden;
}

.big-title-scroll {
    font-size: clamp(5rem, 15vw, 16rem);
    white-space: nowrap;
    font-weight: 700;
    color: var(--color-black);
}

/* 19 — CIERRE */
.section-final-kinetic {
    padding: 120px 32px;
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
}

.btn-final-action {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 32px;
    background-color: var(--color-orange);
    color: var(--color-black);
    font-weight: 700;
    text-decoration: none;
}

/* 20 — FOOTER */
.site-footer-kinetic {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 80px 32px 30px 32px;
    border-top: 2px solid var(--color-blue);
}

.footer-giant-brand {
    font-size: clamp(3rem, 10vw, 11rem);
    font-weight: 700;
    color: #1A1A1A;
    line-height: 0.8;
}

.footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.footer-columns-grid a {
    color: #AAA;
    text-decoration: none;
}

.footer-columns-grid a:hover {
    color: var(--color-lime);
}

.footer-legal-bottom {
    font-size: 0.75rem;
    color: var(--color-gray-muted);
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* RESPONSIVE MOBILE */
@media (max-width: 992px) {
    .hero-grid-12, .data-grid-layout, .collage-grid, .interaction-layout, .footer-columns-grid, .sticky-wrapper {
        grid-template-columns: 1fr;
    }
    .archive-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .concept-map-container {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .map-node { position: relative; inset: auto; }
    .map-lines-svg { display: none; }
    .nav-kinetic { display: none; }
}