/* =============================================
   IAN TABORDA #33 — Landing Page
   Estética motorsport · Negro / Púrpura / Blanco
   ============================================= */

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

:root {
    --black: #0a0a0a;
    --black-2: #111111;
    --black-3: #161616;
    --gray-1: #1c1c1c;
    --gray-2: #242424;
    --gray-3: #2e2e2e;
    --gray-4: #6b6b6b;
    --gray-5: #a0a0a0;
    --white: #ffffff;
    --off-white: #f4f4f4;
    --accent: #8C2EA6;
    --accent-dark: #702585;
    --accent-bright: #A837C7;

    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-tech: 'Rajdhani', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --container: 1320px;
    --radius: 4px;
    --radius-lg: 8px;

    --transition: 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
    --transition-fast: 0.25s ease;

    --shadow-accent: 0 12px 40px -10px rgba(140, 46, 166, 0.4);
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.55;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

ul {
    list-style: none;
}

/* Selección */
::selection {
    background: var(--accent);
    color: var(--white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--black);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-3);
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ----------- CONTENEDOR ------------ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ----------- BOTONES ------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--font-tech);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-bright);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-block {
    width: 100%;
}

/* ----------- ACCENT TEXT ------------ */
.accent-text {
    color: var(--accent);
}

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

.accent-outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent);
}

/* ============================================= */
/* NAVBAR                                        */
/* ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(10, 10, 10, 0.0);
    transition: background var(--transition), padding var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    line-height: 1;
}

.nav-logo-num {
    background: var(--accent);
    color: var(--white);
    font-size: 22px;
    padding: 6px 10px 4px;
    border-radius: var(--radius);
    letter-spacing: 0.04em;
}

.nav-logo-name {
    font-size: 22px;
    letter-spacing: 0.06em;
    color: var(--white);
}

.nav-menu ul {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    display: inline-block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-5);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.nav-cta {
    background: var(--accent);
    color: var(--white);
    margin-left: 8px;
    border-radius: var(--radius);
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background: var(--accent-bright);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 110;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================= */
/* HERO                                          */
/* ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 80% 20%, rgba(140, 46, 166, 0.18), transparent 60%),
        radial-gradient(800px 400px at 10% 90%, rgba(140, 46, 166, 0.08), transparent 70%),
        linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #0a0a0a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
    opacity: 0.6;
}

.hero-diagonals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-diagonals span {
    position: absolute;
    top: -10%;
    width: 2px;
    height: 130%;
    background: linear-gradient(180deg, transparent, var(--accent) 50%, transparent);
    opacity: 0.35;
    transform: rotate(18deg);
    transform-origin: top;
}

.hero-diagonals span:nth-child(1) { left: 8%; animation: slideDown 6s ease-in-out infinite; }
.hero-diagonals span:nth-child(2) { left: 30%; animation: slideDown 8s ease-in-out infinite 1s; opacity: 0.18; }
.hero-diagonals span:nth-child(3) { left: 62%; animation: slideDown 7s ease-in-out infinite 0.5s; opacity: 0.22; }
.hero-diagonals span:nth-child(4) { left: 90%; animation: slideDown 9s ease-in-out infinite 1.5s; opacity: 0.15; }

@keyframes slideDown {
    0%, 100% { transform: translateY(-10%) rotate(18deg); opacity: 0; }
    50% { transform: translateY(10%) rotate(18deg); opacity: 0.4; }
}

.hero-bignum {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(280px, 50vw, 720px);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.04);
    pointer-events: none;
    letter-spacing: -0.04em;
    white-space: nowrap;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeUp 1s ease-out 0.2s both;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(140, 46, 166, 0.08);
    border: 1px solid rgba(140, 46, 166, 0.3);
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 32px;
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(140, 46, 166, 0.6); }
    50% { box-shadow: 0 0 0 10px rgba(140, 46, 166, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(72px, 12vw, 192px);
    line-height: 0.86;
    letter-spacing: 0.005em;
    margin-bottom: 28px;
}

.hero-title-line {
    display: block;
}

.hero-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-5);
    max-width: 560px;
    margin-bottom: 36px;
}

@media (min-width: 900px) {
    .hero-lead {
        font-size: 20px;
    }
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0;
    justify-content: start;
}

.hero-meta li {
    display: flex;
    flex-direction: column;
    padding: 0 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-meta li:first-child {
    padding-left: 0;
    border-left: none;
}

.meta-num {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1;
    color: var(--white);
    letter-spacing: 0.02em;
}

.meta-label {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gray-4);
    margin-top: 6px;
}

/* Visual del hero */
.hero-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 520px;
    margin-left: auto;
    animation: fadeUp 1s ease-out 0.5s both;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--gray-1), var(--black-2));
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, rgba(140, 46, 166, 0.05) 0 20px, transparent 20px 40px),
        linear-gradient(135deg, var(--gray-1), var(--black));
    color: var(--gray-4);
    font-family: var(--font-tech);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 24px;
}

.hero-photo-fallback span {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 8px;
}

.hero-photo-fallback small {
    font-size: 11px;
    color: var(--gray-4);
}

.hero-photo-frame {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(140, 46, 166, 0.4);
    border-radius: var(--radius-lg);
    transform: translate(16px, 16px);
    z-index: 1;
    pointer-events: none;
}

.hero-photo-num {
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-family: var(--font-display);
    font-size: 200px;
    line-height: 0.8;
    color: var(--accent);
    z-index: 3;
    text-shadow: 0 8px 30px rgba(140, 46, 166, 0.4);
    letter-spacing: -0.03em;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 32px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--gray-5);
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -30%; }
    100% { left: 100%; }
}

/* Ticker */
.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: var(--accent);
    color: var(--white);
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    height: 44px;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker 45s linear infinite;
    font-family: var(--font-tech);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    padding-left: 100%;
}

.ticker-track span {
    flex-shrink: 0;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================= */
/* SECCIONES GENÉRICAS                          */
/* ============================================= */
.section {
    padding: 130px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.section-head.left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-eyebrow .bar {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 110px);
    line-height: 0.9;
    letter-spacing: 0.005em;
    color: var(--white);
    margin-bottom: 24px;
}

.section-sub {
    font-size: 17px;
    color: var(--gray-5);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-head.left .section-sub {
    margin: 0;
}

/* Reveal — GSAP maneja opacity/transform, CSS solo define will-change */
.reveal {
    will-change: transform, opacity;
}

/* ============================================= */
/* LOGROS                                        */
/* ============================================= */
.logros {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.logros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.logro-card {
    position: relative;
    padding: 36px 28px;
    background: linear-gradient(180deg, var(--black-3), var(--black-2));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.logro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width var(--transition);
}

.logro-card:hover {
    transform: translateY(-6px);
    border-color: rgba(140, 46, 166, 0.4);
    background: linear-gradient(180deg, var(--gray-1), var(--black-2));
}

.logro-card:hover::before {
    width: 100%;
}

.logro-card.highlight {
    background: linear-gradient(180deg, rgba(140, 46, 166, 0.12), var(--black-2));
    border-color: rgba(140, 46, 166, 0.5);
}

.logro-card.highlight::before {
    width: 100%;
}

.logro-num {
    font-family: var(--font-display);
    font-size: 88px;
    line-height: 0.85;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.logro-card.highlight .logro-num {
    color: var(--white);
}

.logro-card h3 {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.05;
}

.logro-card p {
    color: var(--gray-5);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.55;
}

.logro-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-5);
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 50px;
}

.logro-card.highlight .logro-tag {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ============================================= */
/* SOBRE IAN                                     */
/* ============================================= */
.sobre {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
    position: relative;
}

.sobre::before {
    content: '33';
    position: absolute;
    top: 50%;
    right: -8%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 500px;
    color: rgba(140, 46, 166, 0.04);
    letter-spacing: -0.05em;
    line-height: 0.8;
    pointer-events: none;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
}

.sobre-visual {
    position: relative;
    aspect-ratio: 3 / 4;
}

.sobre-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--gray-1), var(--black));
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 8%);
}

.sobre-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sobre-photo-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 20px, transparent 20px 40px),
        linear-gradient(135deg, var(--gray-1), var(--black));
    color: var(--gray-4);
    font-family: var(--font-tech);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 20px;
}

.sobre-photo-fallback span {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 6px;
}

.sobre-photo-fallback small {
    font-size: 10px;
}

.sobre-badge {
    position: absolute;
    bottom: 24px;
    left: -28px;
    background: var(--accent);
    color: var(--white);
    padding: 16px 22px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-accent);
}

.badge-num {
    font-family: var(--font-display);
    font-size: 44px;
    line-height: 1;
}

.badge-text {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-transform: uppercase;
    max-width: 90px;
}

.sobre-content .section-head {
    margin-bottom: 40px;
}

.sobre-text p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-5);
    margin-bottom: 18px;
}

.sobre-text .lead {
    font-size: 19px;
    color: var(--white);
    line-height: 1.55;
    font-weight: 400;
}

.sobre-text strong {
    color: var(--white);
    font-weight: 600;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 56px;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.stat-label {
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-5);
}

/* ============================================= */
/* TRAYECTORIA                                   */
/* ============================================= */
.trayectoria {
    background: var(--black-2);
    position: relative;
    overflow: hidden;
}

.trayectoria::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 80px;
    pointer-events: none;
}

.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
}

.timeline-item {
    background: linear-gradient(180deg, var(--black-3), var(--black));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition);
}

.timeline-item:hover {
    border-color: rgba(140, 46, 166, 0.4);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.timeline-year {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
}

.timeline-year span {
    font-family: var(--font-display);
    font-size: 72px;
    line-height: 0.9;
    color: var(--white);
    letter-spacing: 0.01em;
}

.timeline-year small {
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.timeline-body h3 {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--white);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-list li {
    padding-left: 24px;
    position: relative;
    color: var(--gray-5);
    line-height: 1.6;
    font-size: 15px;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 2px;
    background: var(--accent);
}

.timeline-list strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-tech);
}

/* ============================================= */
/* ESTILO / FORTALEZAS                          */
/* ============================================= */
.estilo {
    background: var(--black);
}

.estilo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.estilo-card {
    padding: 36px 30px;
    background: var(--black-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.estilo-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--accent) transparent transparent;
    opacity: 0;
    transition: opacity var(--transition);
}

.estilo-card:hover {
    transform: translateY(-4px);
    background: var(--black-3);
    border-color: rgba(140, 46, 166, 0.3);
}

.estilo-card:hover::after {
    opacity: 1;
}

.estilo-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(140, 46, 166, 0.12);
    color: var(--accent);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.estilo-icon svg {
    width: 26px;
    height: 26px;
}

.estilo-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 8px;
}

.estilo-card p {
    color: var(--gray-5);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================= */
/* EQUIPO                                        */
/* ============================================= */
.equipo {
    background: linear-gradient(180deg, var(--black-2), var(--black));
    position: relative;
}

.equipo-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: start;
}

.equipo-text {
    margin-bottom: 36px;
}

.equipo-text .lead {
    font-size: 18px;
    color: var(--white);
    line-height: 1.6;
}

.equipo-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.equipo-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--black-3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.equipo-item:hover {
    border-color: rgba(140, 46, 166, 0.3);
}

.equipo-num {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
}

.equipo-item h4 {
    font-family: var(--font-tech);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.equipo-item p {
    font-size: 13px;
    color: var(--gray-5);
    line-height: 1.5;
}

/* Card lateral */
.equipo-card {
    background: linear-gradient(160deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-accent);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.equipo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.05) 0 30px,
        transparent 30px 60px
    );
    pointer-events: none;
}

.equipo-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.equipo-card-num {
    font-family: var(--font-display);
    font-size: 100px;
    line-height: 0.8;
    color: var(--white);
    letter-spacing: -0.02em;
}

.equipo-card-tag {
    font-family: var(--font-tech);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: var(--radius);
}

.equipo-card-mid {
    position: relative;
    z-index: 2;
}

.equipo-card-mid h3 {
    font-family: var(--font-display);
    font-size: 60px;
    line-height: 0.9;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
    color: var(--white);
}

.equipo-card-mid p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 320px;
}

.equipo-card-foot {
    position: relative;
    z-index: 2;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

/* ============================================= */
/* GALERÍA                                       */
/* ============================================= */
.galeria {
    background: var(--black);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--black-3);
    cursor: pointer;
    transition: transform var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-6px);
    border-color: rgba(140, 46, 166, 0.3);
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Bento Grid Spans */
.gi-1 { grid-column: span 4; grid-row: span 2; }
.gi-2 { grid-column: span 2; grid-row: span 1; }
.gi-3 { grid-column: span 2; grid-row: span 1; }
.gi-4 { grid-column: span 2; grid-row: span 2; }
.gi-5 { grid-column: span 2; grid-row: span 2; }
.gi-6 { grid-column: span 2; grid-row: span 2; }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay span {
    font-family: var(--font-tech);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    border-left: 3px solid var(--accent);
    padding-left: 12px;
}

.gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        repeating-linear-gradient(45deg, rgba(140, 46, 166, 0.04) 0 18px, transparent 18px 36px),
        linear-gradient(135deg, var(--gray-1), var(--black));
    font-family: var(--font-tech);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    z-index: 1;
    transition: opacity var(--transition);
}

/* Ocultar placeholder si el item tiene clase de imagen específica */
.gallery-item[class*="gi-"] .gallery-placeholder {
    opacity: 0;
    pointer-events: none;
}

.gallery-placeholder span {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 4px;
}

.gallery-placeholder small {
    font-size: 10px;
    color: var(--gray-4);
    letter-spacing: 0.2em;
}

/* ============================================= */
/* SPONSORS + APOYAR                             */
/* ============================================= */
.sponsors {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 100px;
}

.sponsor-slot {
    aspect-ratio: 5 / 2;
    background: var(--black-3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-4);
    font-family: var(--font-tech);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.sponsor-slot:hover {
    border-color: rgba(140, 46, 166, 0.4);
    color: var(--white);
    background: var(--gray-1);
}

/* Apoyar block */
.apoyar-block {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: stretch;
    background: linear-gradient(140deg, var(--black-3), var(--black));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.apoyar-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent);
}

.apoyar-content h3 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 32px;
}

.apoyar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apoyar-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray-5);
    font-size: 15px;
    line-height: 1.5;
}

.apoyar-list li span {
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.apoyar-cta {
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.apoyar-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.06) 0 20px,
        transparent 20px 40px
    );
    pointer-events: none;
}

.apoyar-num {
    font-family: var(--font-display);
    font-size: 120px;
    line-height: 0.8;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.apoyar-cta h4 {
    font-family: var(--font-display);
    font-size: 36px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.apoyar-cta p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.apoyar-cta .btn {
    position: relative;
    z-index: 2;
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.apoyar-cta .btn:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* ============================================= */
/* CONTACTO                                      */
/* ============================================= */
.contacto {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.contacto-bignum {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(360px, 60vw, 760px);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px rgba(140, 46, 166, 0.18);
    pointer-events: none;
    letter-spacing: -0.04em;
}

.contacto-inner {
    position: relative;
    z-index: 2;
}

.contacto-title {
    font-size: clamp(56px, 9vw, 130px);
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.contacto-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 36px 30px;
    background: var(--black-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    cursor: pointer;
}

.contacto-card:hover {
    background: var(--black-3);
    border-color: var(--accent);
    transform: translateY(-4px);
}

.contacto-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
}

.contacto-icon svg {
    width: 24px;
    height: 24px;
}

.contacto-label {
    font-family: var(--font-tech);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-5);
}

.contacto-value {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
    word-break: break-word;
}

.contacto-final {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contacto-final p {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */
.footer {
    background: #050505;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-num {
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 28px;
    padding: 8px 14px 6px;
    line-height: 1;
    border-radius: var(--radius);
}

.footer-brand div {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    letter-spacing: 0.04em;
}

.footer-brand span {
    font-family: var(--font-tech);
    font-size: 12px;
    color: var(--gray-5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav a {
    font-family: var(--font-tech);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-5);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-copy {
    font-family: var(--font-tech);
    font-size: 12px;
    color: var(--gray-4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

/* Tablet large */
@media (max-width: 1100px) {
    .logros-grid,
    .estilo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-photo-num {
        font-size: 160px;
    }

    .sobre::before {
        font-size: 360px;
    }
}

/* Tablet */
@media (max-width: 960px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--black-2);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        padding: 100px 30px 30px;
        transition: right var(--transition);
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.nav-cta {
        margin: 16px 0 0;
        padding: 16px;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 130px 0 100px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
        order: -1;
    }

    .hero-scroll {
        display: none;
    }

    .sobre-grid,
    .equipo-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .sobre::before {
        display: none;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .hero {
        padding: 110px 0 90px;
    }

    .hero-title {
        font-size: clamp(56px, 18vw, 100px);
    }

    .hero-photo-num {
        font-size: 110px;
        bottom: -16px;
        right: -10px;
    }

    .hero-meta {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    .hero-meta li {
        padding: 0 12px;
    }

    .meta-num {
        font-size: 28px;
    }

    .meta-label {
        font-size: 10px;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 140px;
    }

    .hero-ticker {
        height: 38px;
    }

    .ticker-track {
        font-size: 11px;
        gap: 32px;
    }

    .section-head {
        margin-bottom: 50px;
    }

    .section-title {
        font-size: clamp(40px, 12vw, 64px);
    }

    .logros-grid,
    .estilo-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sobre-stats {
        gap: 16px;
    }

    .stat-num {
        font-size: 36px;
    }

    .stat-label {
        font-size: 10px;
    }

    .sobre-badge {
        left: 16px;
        bottom: 16px;
        padding: 12px 16px;
    }

    .badge-num {
        font-size: 32px;
    }

    .timeline-item {
        padding: 28px 24px;
    }

    .timeline-year span {
        font-size: 56px;
    }

    .equipo-list {
        grid-template-columns: 1fr;
    }

    .equipo-card {
        padding: 32px 26px;
        min-height: auto;
    }

    .equipo-card-num {
        font-size: 72px;
    }

    .equipo-card-mid h3 {
        font-size: 44px;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(130px, auto);
        gap: 12px;
    }

    .gi-1 { grid-column: span 2; grid-row: span 2; }
    .gi-2 { grid-column: span 1; grid-row: span 1; }
    .gi-3 { grid-column: span 1; grid-row: span 1; }
    .gi-4 { grid-column: span 1; grid-row: span 2; }
    .gi-5 { grid-column: span 1; grid-row: span 2; }
    .gi-6 { grid-column: span 2; grid-row: span 1; }

    .apoyar-block {
        grid-template-columns: 1fr;
        padding: 36px 24px;
        gap: 30px;
    }

    .apoyar-cta {
        padding: 28px 22px;
    }

    .apoyar-num {
        font-size: 80px;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contacto-card {
        padding: 24px 22px;
    }

    .contacto-value {
        font-size: 22px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-logo-num,
    .nav-logo-name {
        font-size: 19px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, #cursor, #cursor-dot { opacity: 1 !important; transform: none !important; }
}

/* ============================================= */
/* CUSTOM CURSOR                                 */
/* ============================================= */
#cursor,
#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

#cursor {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(140, 46, 166, 0.7);
    background: rgba(140, 46, 166, 0.06);
    transition: background 0.25s, border-color 0.25s;
    mix-blend-mode: normal;
}

#cursor.cursor--hover {
    background: rgba(140, 46, 166, 0.18);
    border-color: var(--accent);
}

#cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
}

.has-custom-cursor,
.has-custom-cursor * {
    cursor: none !important;
}

/* Gallery Clean up: Removed duplicate definitions. Gallery styles moved to main section. */

/* ============================================= */
/* HERO VISUAL — clip-path reveal base           */
/* ============================================= */
.hero-visual {
    clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}

/* ============================================= */
/* SOBRE — clip-path base visible                */
/* ============================================= */
.sobre-photo {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* ============================================= */
/* SPLIT-TEXT — line mask                        */
/* ============================================= */
.split-text {
    overflow: visible; /* lines handle their own overflow */
}

/* ============================================= */
/* CONTENT-VISIBILITY — performance              */
/* ============================================= */
.section.trayectoria,
.section.estilo,
.section.equipo,
.section.galeria,
.section.sponsors,
.section.contacto {
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}

/* ============================================= */
/* LENIS — prevent double scroll behavior        */
/* ============================================= */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

