@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(20, 20, 25, 0.65);
    --bg-card-hover: rgba(30, 30, 40, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(211, 47, 47, 0.3);
    
    --primary: #d32f2f;
    --primary-hover: #b1040e;
    --primary-glow: rgba(211, 47, 47, 0.4);
    
    --accent: #f59e0b;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.7rem 2rem;
    background: rgba(10, 10, 12, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 68px;
    width: auto;
    filter: invert(1) contrast(1.2);
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.03);
}

nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav a {
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.3rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

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

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.btn-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--text-white);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

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

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Sections Global */
section {
    padding: 7rem 2rem 5rem 2rem;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(211, 47, 47, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Hero Section (Inicio) */
.hero-video-container {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10,10,12,0.2) 0%, rgba(10,10,12,0.95) 85%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1rem;
}

.typewriter-text {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: var(--primary) !important;
}

.cursor {
    color: var(--primary);
    animation: blink 0.8s step-end infinite;
    font-weight: 300;
    margin-left: 4px;
}

@keyframes blink {
    from, to { color: transparent }
    50% { color: var(--primary) }
}

/* Category Grid (Inicio) */
.category-strip {
    background: linear-gradient(180deg, #0a0a0c 0%, #111115 100%);
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.category-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.category-card:hover {
    background: rgba(211, 47, 47, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    color: var(--text-main);
}

/* Collaboration Section */
.collab-section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.collab-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.collab-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.collab-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary);
    padding: 1.2rem;
    border-radius: 0 8px 8px 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.collab-visual {
    position: relative;
}

.collab-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid var(--border-color);
}

/* Callout Section (Next level) */
.callout-section {
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(10, 10, 12, 0.9) 100%);
    padding: 6rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.callout-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.callout-img-wrapper {
    flex: 1;
}

.callout-img-wrapper img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.callout-content {
    flex: 1.2;
}

.callout-content h2 {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Stats / Counters Section */
.stats-section {
    background: radial-gradient(circle at center, rgba(211, 47, 47, 0.08) 0%, rgba(10, 10, 12, 0.95) 70%);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-white), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Course Listing Grid */
.course-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    padding: 0;
}

.course-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.course-card:hover .course-img-wrapper img {
    transform: scale(1.05);
}

.course-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
}

.course-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.course-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--text-white);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition-smooth);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--text-white);
}

/* Allied Logos Banner */
.logo-carousel-section {
    background: #08080a;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.logo-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    height: 45px;
    opacity: 0.5;
    filter: grayscale(1) invert(1);
    transition: var(--transition-smooth);
}

.partner-logo:hover {
    opacity: 0.9;
    filter: none;
}

/* Testimonial Section */
.testimonials-section {
    background: linear-gradient(180deg, #0a0a0c 0%, #0d0d11 100%);
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    text-align: center;
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text::before {
    content: "“";
    font-size: 5rem;
    position: absolute;
    top: -2.5rem;
    left: 0;
    opacity: 0.1;
    color: var(--primary);
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Teachers Section */
.teachers-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.teacher-card {
    text-align: center;
}

.teacher-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem auto;
    border: 3px solid var(--border-color);
    transition: var(--transition-smooth);
}

.teacher-card:hover .teacher-img-wrapper {
    border-color: var(--primary);
    transform: scale(1.05);
}

.teacher-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Section */
footer {
    background-color: #050507;
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scroll Animation Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Form / Hagamoslo Juntos */
.contact-section {
    background: radial-gradient(circle at top right, rgba(211, 47, 47, 0.05) 0%, rgba(10, 10, 12, 0.95) 60%);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.2);
}

/* Registration Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: #0f0f13;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    padding: 3rem;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Scroll-Linked Sticky Timeline */
.timeline-section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    position: relative;
    padding: 6rem 2rem;
}

.timeline-sticky-panel {
    position: sticky;
    top: 120px;
    height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-preview-card {
    height: 100%;
    max-height: 480px;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background: var(--bg-card);
}

.timeline-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.timeline-preview-img.active {
    opacity: 0.65;
    z-index: 2;
}

.timeline-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.95) 20%, rgba(10, 10, 12, 0.2) 80%);
    z-index: 3;
}

.timeline-preview-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 4;
}

.timeline-preview-tag {
    font-family: var(--font-heading);
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.timeline-preview-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.timeline-scroll-panel {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.timeline-node {
    display: flex;
    gap: 2rem;
    position: relative;
    opacity: 0.35;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 2rem 0;
}

.timeline-node.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-tracker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-bullet {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 2;
}

.timeline-node.active .timeline-bullet {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.timeline-bullet::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: var(--transition-smooth);
}

.timeline-node.active .timeline-bullet::after {
    background: var(--text-white);
}

.timeline-line {
    width: 2px;
    flex-grow: 1;
    background: var(--border-color);
    margin: 10px 0;
    transition: var(--transition-smooth);
}

.timeline-node.active .timeline-line {
    background: var(--primary-glow);
}

.timeline-node-content {
    flex-grow: 1;
}

.timeline-node-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.timeline-node.active .timeline-node-title {
    color: var(--accent);
}

.timeline-node-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.timeline-node-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.timeline-link {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-smooth);
}

.timeline-link span {
    color: var(--primary);
    transition: var(--transition-smooth);
}

.timeline-link:hover {
    color: var(--text-white);
}

.timeline-link:hover span {
    transform: translateX(3px);
}

/* Responsive details */
@media (max-width: 980px) {
    header {
        padding: 1rem;
    }
    nav {
        display: none; /* Mobile menu toggled by class */
        position: fixed;
        top: 73px;
        left: 0;
        width: 100%;
        background: #0c0c0f;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
    }
    nav.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .collab-section, .callout-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .timeline-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 4rem 1rem;
    }
    .timeline-sticky-panel {
        position: relative;
        top: 0;
        height: auto;
        max-height: none;
        margin-bottom: 2rem;
    }
    .timeline-preview-card {
        height: 280px;
    }
    .timeline-node {
        opacity: 0.8;
        transform: none;
    }
}
