/* =========================================================
   RADICAL29 STUDIO
   PORTAFOLIO DE MARCA
========================================================= */

:root {
    --black: #050505;
    --black-soft: #0b0b0b;
    --white: #ffffff;
    --silver: #d8d8d8;
    --silver-light: #eeeeee;
    --gray: #888888;
    --gray-dark: #444444;
    --line: rgba(255,255,255,0.13);
    --font-main: "Inter", sans-serif;
    --font-display: "Space Grotesk", sans-serif;
}

/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* =========================================================
   TEXTURA
========================================================= */

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   LUCES
========================================================= */

.light {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: -3;
}

.light-one {
    top: -250px;
    right: -180px;
    background: rgba(255,255,255,0.08);
}

.light-two {
    bottom: -250px;
    left: -180px;
    background: rgba(190,190,190,0.05);
}

/* =========================================================
   PARTICULAS
========================================================= */

.particle {
    position: fixed;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: white;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    box-shadow: 0 0 15px rgba(255,255,255,0.8);
}

.particle-1 {
    top: 20%;
    left: 30%;
    animation: floatParticle 7s infinite ease-in-out;
}

.particle-2 {
    top: 65%;
    left: 75%;
    animation: floatParticle 9s infinite ease-in-out reverse;
}

.particle-3 {
    top: 40%;
    left: 85%;
    animation: floatParticle 6s infinite ease-in-out;
}

.particle-4 {
    top: 80%;
    left: 20%;
    animation: floatParticle 8s infinite ease-in-out reverse;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0,0);
        opacity: 0.2;
    }
    50% {
        transform: translate(20px,-30px);
        opacity: 0.8;
    }
}

/* =========================================================
   HEADER / TOPBAR
========================================================= */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5,5,5,0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    z-index: 900;
}

/* =========================================================
   BRAND LOGO (HEADER CORREGIDO)
========================================================= */

.brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999 !important;
}

/* ESTRELLA */
.brand-symbol {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* RADICAL29 */
.brand-radical {
    display: inline-block !important;
    color: #ffffff !important;
    font-family: var(--font-display), sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    line-height: 1 !important;
}

/* STUDIO */
.brand-studio {
    display: inline-block !important;
    color: var(--silver) !important;
    font-family: var(--font-main), sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    opacity: 0.7 !important;
    line-height: 1 !important;
}

/* =========================================================
   INFORMACIÓN HEADER
========================================================= */

.top-info {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #777777;
    font-size: 9px;
    letter-spacing: 0.2em;
}

.top-info .year {
    color: var(--silver);
}

/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 0;
    width: 245px;
    padding: 35px 25px;
    background: rgba(5,5,5,0.55);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(15px);
    z-index: 800;
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    margin-bottom: 30px;
    color: #555555;
    font-size: 8px;
    letter-spacing: 0.25em;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    padding: 11px 8px;
    border-left: 1px solid transparent;
    color: #666666;
    font-family: var(--font-display);
    font-size: 11px;
    text-decoration: none;
    transition: color 0.3s ease, border 0.3s ease, padding 0.3s ease;
}

.nav-item span {
    margin-right: 12px;
    color: #444444;
    font-size: 9px;
}

.nav-item:hover,
.nav-item.active {
    padding-left: 15px;
    color: white;
    border-left-color: white;
}

.nav-item:hover span,
.nav-item.active span {
    color: white;
}

.sidebar-footer {
    margin-top: auto;
    color: #444444;
    font-size: 7px;
    line-height: 1.8;
    letter-spacing: 0.18em;
}

/* =========================================================
   MAIN
========================================================= */

main {
    margin-left: 245px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 130px 8vw 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-number {
    position: absolute;
    top: 18%;
    right: 6%;
    font-family: var(--font-display);
    font-size: clamp(100px, 18vw, 300px);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.07);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 55%;
}

.eyebrow {
    margin-bottom: 20px;
    color: #777777;
    font-size: 9px;
    letter-spacing: 0.3em;
}

.eyebrow span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 15px white;
}

/* =========================================================
   TITULO CROMO
========================================================= */

.chrome-title {
    font-family: var(--font-display);
    font-size: clamp(60px, 9vw, 140px);
    line-height: 0.85;
    letter-spacing: -0.06em;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #888888 28%,
        #ffffff 48%,
        #555555 68%,
        #eeeeee 82%,
        #777777 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.12));
}

.chrome-title .chrome-studio {
    font-size: 0.45em;
    display: inline-block;
    letter-spacing: -0.02em;
    vertical-align: middle;
}

.hero-description {
    max-width: 520px;
    margin-top: 35px;
    color: #999999;
    font-size: 14px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    gap: 60px;
    margin-top: 50px;
}

.hero-meta div {
    color: #aaaaaa;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.hero-meta small {
    display: block;
    margin-bottom: 8px;
    color: #555555;
    font-size: 7px;
    letter-spacing: 0.2em;
}

/* =========================================================
   BOTON
========================================================= */

.explore {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding-bottom: 10px;
    color: white;
    border-bottom: 1px solid #555555;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-decoration: none;
    transition: 0.3s ease;
}

.explore:hover {
    gap: 30px;
    border-color: white;
}

.explore span {
    font-size: 16px;
}

/* =========================================================
   AUREN / ESCENARIO
========================================================= */

.character-stage {
    position: absolute;
    top: 50%;
    right: 5%;
    width: min(48vw, 650px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
}

.auren-image {
    position: relative;
    z-index: 5;
    width: 48%;
    max-height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.15)) drop-shadow(0 0 50px rgba(255,255,255,0.08));
    animation: aurenFloat 5s infinite ease-in-out;
}

@keyframes aurenFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

/* =========================================================
   ORBITAS
========================================================= */

.orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    width: 75%;
    height: 30%;
    transform: rotate(-22deg);
    animation: orbitOne 15s linear infinite;
}

.orbit-two {
    width: 85%;
    height: 42%;
    transform: rotate(45deg);
    animation: orbitTwo 20s linear infinite;
}

.orbit-three {
    width: 100%;
    height: 60%;
    transform: rotate(-55deg);
    border-color: rgba(255,255,255,0.06);
    animation: orbitThree 25s linear infinite;
}

@keyframes orbitOne {
    from { transform: rotate(-22deg); }
    to { transform: rotate(338deg); }
}

@keyframes orbitTwo {
    from { transform: rotate(45deg); }
    to { transform: rotate(-315deg); }
}

@keyframes orbitThree {
    from { transform: rotate(-55deg); }
    to { transform: rotate(305deg); }
}

.orbit-point {
    position: absolute;
    top: 25%;
    right: 18%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px white, 0 0 30px rgba(255,255,255,0.7);
}

/* =========================================================
   SECCIONES
========================================================= */

.process-section {
    position: relative;
    min-height: 100vh;
    padding: 150px 7vw;
    border-top: 1px solid var(--line);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.section-number {
    position: absolute;
    top: 100px;
    right: 5%;
    font-family: var(--font-display);
    font-size: clamp(130px, 18vw, 280px);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.07);
    pointer-events: none;
}

.section-heading {
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin-bottom: 70px;
}

.section-heading h2 {
    margin-bottom: 25px;
    color: var(--silver);
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 85px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.section-heading p {
    max-width: 600px;
    color: #888888;
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================================
   PDF
========================================================= */

.pdf-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #080808;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transition: 0.4s ease;
}

.pdf-container:hover {
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.pdf-header {
    height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #777777;
    font-size: 8px;
    letter-spacing: 0.2em;
}

.pdf-header span:last-child {
    color: #444444;
}

.pdf-container iframe {
    display: block;
    width: 100%;
    height: 720px;
    border: none;
    background: white;
}

/* =========================================================
   FINAL
========================================================= */

.final-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-top: 1px solid var(--line);
    overflow: hidden;
}

.final-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    filter: blur(100px);
    animation: finalGlow 5s infinite ease-in-out;
}

@keyframes finalGlow {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.final-content {
    position: relative;
    z-index: 2;
}

.final-content h2 {
    margin-bottom: 35px;
    font-family: var(--font-display);
    font-size: clamp(70px, 12vw, 180px);
    line-height: 0.8;
    letter-spacing: -0.08em;
    background: linear-gradient(
        180deg,
        #ffffff,
        #666666,
        #eeeeee,
        #555555,
        #ffffff
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.final-content p {
    max-width: 450px;
    margin: auto;
    color: #777777;
    font-size: 13px;
    line-height: 1.8;
}

.final-star {
    margin-top: 45px;
    color: white;
    font-size: 25px;
    text-shadow: 0 0 20px white;
    animation: starPulse 3s infinite ease-in-out;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

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

footer {
    min-height: 100px;
    margin-left: 245px;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: #555555;
    font-size: 8px;
    letter-spacing: 0.2em;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
    .sidebar {
        width: 190px;
    }
    main {
        margin-left: 190px;
    }
    footer {
        margin-left: 190px;
    }
    .character-stage {
        right: -10%;
        opacity: 0.45;
    }
    .hero-content {
        width: 75%;
    }
}

/* =========================================================
   MOVIL
========================================================= */

@media (max-width: 750px) {
    .topbar {
        height: 65px;
        padding: 0 20px;
    }

    /* =========================================================
   RADICAL29 STUDIO (HEADER LOGO)
========================================================= */

.brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important; /* Espaciado automático y limpio */
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999 !important;
}

/* ESTRELLA */
.brand-symbol {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* RADICAL29 */
.brand-radical {
    color: #ffffff !important;
    font-family: var(--font-display), sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    line-height: 1 !important;
}

/* STUDIO */
.brand-studio {
    display: inline-block !important;
    color: var(--silver) !important;
    font-family: var(--font-main), sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    opacity: 0.7 !important; /* Toque elegante Y2K ligeramente atenuado */
    line-height: 1 !important;
}

/* ESTILO CROMO PARA STUDIO EN EL H1 DEL HERO */
.chrome-title .chrome-studio {
    font-size: 0.4em; /* Mantiene la escala estética Y2K */
    display: inline-block;
    letter-spacing: -0.02em;
    vertical-align: middle;
}

    .sidebar {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 65px;
        padding: 0 10px;
        border-right: none;
        border-top: 1px solid var(--line);
        background: rgba(5,5,5,0.92);
        overflow-x: auto;
    }

    .sidebar-title,
    .sidebar-footer {
        display: none;
    }

    .sidebar nav {
        width: 100%;
        flex-direction: row;
        gap: 3px;
    }

    .nav-item {
        min-width: max-content;
        padding: 20px 10px;
        border-left: none;
        border-top: 1px solid transparent;
    }

    .nav-item:hover,
    .nav-item.active {
        padding-left: 10px;
        border-left: none;
        border-top-color: white;
    }

    main {
        margin-left: 0;
    }

    .hero {
        padding: 120px 25px 120px;
    }

    .hero-content {
        width: 100%;
    }

    .chrome-title {
        font-size: 16vw;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-meta {
        gap: 20px;
        flex-wrap: wrap;
    }

    .character-stage {
        width: 100vw;
        right: -25vw;
        opacity: 0.25;
    }

    .process-section {
        padding: 110px 25px 120px;
    }

    .section-number {
        top: 80px;
        right: 20px;
        font-size: 38vw;
    }

    .section-heading h2 {
        font-size: 13vw;
    }

    .pdf-container iframe {
        height: 550px;
    }

    footer {
        margin-left: 0;
        margin-bottom: 65px;
        padding: 25px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================================
   MOVIL PEQUEÑO
========================================================= */

@media (max-width: 450px) {
    .brand-radical {
        font-size: 11px !important;
    }

    .brand-studio {
        font-size: 8px !important;
        letter-spacing: 1.5px !important;
    }

    .chrome-title {
        font-size: 15vw;
    }

    .hero-meta {
        flex-direction: column;
        gap: 18px;
    }

    .pdf-container iframe {
        height: 480px;
    }
}

/* =========================================================
   VIDEO — CONCEPTO GRÁFICO
   RADICAL29 STUDIO
========================================================= */

.video-container {
    width: 100%;
    margin-top: 55px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(255, 255, 255, 0.025);

    transition:
        transform 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


/* ---------------------------------------------------------
   ENCABEZADO DEL VIDEO
--------------------------------------------------------- */

.video-header {
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    background: rgba(255, 255, 255, 0.025);

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #888;
}


/* Texto izquierdo */

.video-header span:first-child {
    color: #bdbdbd;
}


/* Texto VIDEO */

.video-header span:last-child {
    color: #777;
    font-size: 8px;
}


/* ---------------------------------------------------------
   VIDEO
--------------------------------------------------------- */

.video-container video {
    display: block;

    width: 100%;
    height: auto;

    max-height: 720px;

    background: #000;

    object-fit: contain;
}


/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.video-container:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 255, 255, 0.22);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(255, 255, 255, 0.04);
}


/* ---------------------------------------------------------
   CONTROLES DEL VIDEO
--------------------------------------------------------- */

.video-container video::-webkit-media-controls-panel {
    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.85)
    );
}


@media (max-width: 900px) {

    .video-container {
        margin-top: 35px;
    }

    .video-header {
        height: 42px;
        padding: 0 14px;
        font-size: 8px;
    }

}


@media (max-width: 600px) {

    .video-container {
        margin-top: 25px;
    }

    .video-header {
        height: 38px;
        padding: 0 12px;
    }

    .video-container video {
        max-height: 500px;
    }

}

/* =========================================================
   AUDIO — IDEA
========================================================= */

.audio-container {
    width: 100%;
    margin-top: 55px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );

    backdrop-filter: blur(12px);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.audio-container:hover {
    transform: translateY(-5px);

    border-color:
        rgba(255, 255, 255, 0.35);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.45);
}


.audio-header {
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);

    font-size: 9px;

    letter-spacing: 2px;

    color: #888;
}


.audio-content {
    padding: 45px 40px;

    display: flex;
    flex-direction: column;

    gap: 25px;
}


.audio-label {
    font-size: 11px;

    letter-spacing: 3px;

    color: #777;

    text-transform: uppercase;
}


.audio-content audio {
    width: 100%;

    height: 48px;

    filter: grayscale(1) contrast(1.15);

    opacity: 0.85;
}


/* =========================================================
   RESPONSIVE AUDIO
========================================================= */

@media (max-width: 768px) {

    .audio-container {
        margin-top: 35px;
    }

    .audio-content {
        padding: 30px 20px;
    }

    .audio-header {
        padding: 0 14px;
    }

}