:root {
    --go-green: #0f8;
    --go-bg: #050505;
    --go-card-bg: #111;
    --go-border: #2a2a2a;
    --go-text-muted: #888;
}

/* =========================================
   ESTRUCTURA BASE
   ========================================= */
.go-exp-wrapper {
    position: relative;
    width: 100%;
}

.go-exp-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--go-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    /* Grid de fondo estilo Tech */
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* =========================================
   ENCABEZADO
   ========================================= */
.go-header-container {
    text-align: center;
    position: absolute;
    top: 10%; 
    width: 100%;
    z-index: 20;
    padding: 0 20px;
}

.go-main-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.go-subtitle {
    color: var(--go-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   ÁREA DEL TRACK (MÁSCARA Y SCROLL)
   ========================================= */
.go-exp-track-area {
    position: relative;
    width: 100%;
    margin-top: 60px; 
}

/* EFECTO FADE (DIFUMINADO LATERAL) */
.go-fade-mask {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Máscara de degradado: Transparente -> Negro -> Transparente */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* =========================================
   LÍNEA DE TIEMPO (HORIZONTAL)
   ========================================= */
.go-timeline-bar-container {
    position: absolute;
    top: 40px; 
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 5;
}

.go-bar-bg {
    width: 100%;
    height: 100%;
    background: #222;
    position: absolute;
}

.go-bar-fill {
    width: 0%; /* JS lo controlará */
    height: 100%;
    background: var(--go-green);
    box-shadow: 0 0 15px var(--go-green);
    position: absolute;
    transition: width 0.1s linear;
}

/* =========================================
   TRACK Y CARDS
   ========================================= */
.go-cards-track {
    display: flex;
    padding-left: 40vw; 
    gap: 0; 
    will-change: transform;
    align-items: flex-start;
}

.go-card {
    position: relative;
    flex: 0 0 100vw; 
    max-width: 100vw;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px; 
    
    transition: transform 0.3s ease;
}

/* =========================================
   NODO (CÍRCULO + LÍNEA VERTICAL)
   ========================================= */
.go-node-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0; 
    position: relative;
    z-index: 10;
    height: 100px;
}

/* Círculo Grande */
.go-big-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 255, 136, 0.1); /* Fondo semi transparente */
    border: 1px solid rgba(0, 255, 136, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px; 
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

/* Punto central verde intenso */
.go-inner-dot {
    width: 18px;
    height: 18px;
    background: var(--go-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--go-green);
}

/* Línea Vertical conectora */
.go-vertical-line {
    width: 2px;
    height: 100%; /* Ocupa el resto del espacio hacia abajo */
    background: linear-gradient(to bottom, var(--go-green), rgba(0,255,136,0.1));
    margin-top: -1px; /* Pequeño fix visual */
}

/* =========================================
   TARJETA (CONTENIDO)
   ========================================= */
.go-card-inner {
    background: var(--go-card-bg);
    border: 1px solid var(--go-border);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 350px; /* Ancho máximo visual de la tarjeta */
    position: relative;
    transition: all 0.4s ease;
    cursor: default;
    /* Estado Normal: Visible, sin glow */
    opacity: 1; 
}

/* HOVER EFFECT (Según requerimiento) */
.go-card-inner:hover {
    border-color: var(--go-green);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
    transform: translateY(-5px);
}

/* Header Tarjeta */
.go-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.go-year-pill {
    background: rgba(0, 255, 136, 0.08);
    color: var(--go-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.go-year-pill i { font-size: 6px; }

.go-icon-box {
    width: 45px;
    height: 45px;
    border: 1px solid #333;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--go-green);
    font-size: 20px;
    background: rgba(255,255,255,0.02);
}

/* Textos */
.go-role-title { font-size: 1.4rem; margin: 0 0 8px 0; color: #fff; line-height: 1.2; }
.go-company-text { font-size: 1rem; color: #ccc; margin: 0; font-weight: 500; }
.go-sub-company { font-size: 0.85rem; color: #666; margin: 0 0 15px 0; font-style: italic; }
.go-city-text { color: var(--go-green); font-size: 0.95rem; margin-top: 15px; font-weight: 600; }
.go-duration-text { color: #555; font-size: 0.85rem; margin-top: 5px; }

.go-helper-text {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    color: #444;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
/* SOLUCIÓN AL CORTE DEL ÚLTIMO CARD */
/* Añadimos un espacio extra al final del track para que el último card pueda centrarse */
.go-cards-track::after {
    content: '/52';
    display: block;
    flex: 0 0 45vw;
	opacity:0;
}
/* =========================================
   MEDIA QUERIES (PC - 3 CARDS)
   ========================================= */
/* VISTA TABLET: 2 CARDS */
@media (min-width: 768px) and (max-width: 1023px) {
    .go-card {
        flex: 0 0 50vw;
        max-width: 50vw;
    }
}


@media (min-width: 1024px) {
    .go-header-container {
        top: 15%;
    }
    
    .go-exp-track-area {
        margin-top: 100px;
    }

    /* En PC queremos ver 3 cards exactas */
    /* 100vw / 3 = 33.333% */
    .go-card {
        flex: 0 0 33.33vw; 
        max-width: 33.33vw;
        padding: 0 20px;
    }

    /* Padding inicial para que empiece desde la derecha o centro */
    .go-cards-track {
        /* Ajustamos para que al inicio se vea bien */
        padding-left: 33.33vw; 
    }
}



