/* ============================================
   PORTFOLIO POSTPRODUCTION 2026
   Correcciones: Mantener diseño original + 5 cambios
   ============================================ */

:root {
    --black: #000000;
    --black-soft: #0A0A0A;
    --black-card: #111111;
    --white: #FFFFFF;
    --gray: #888888;
    --gray-dark: #333333;
    --cyan: #00D9FF;
    --cyan-dim: rgba(0, 217, 255, 0.1);
    --cyan-glow: rgba(0, 217, 255, 0.3);
    --pink: #FF3366;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--cyan);
    color: var(--black);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--cyan);
    opacity: 0.5;
}

::-webkit-scrollbar-thumb:hover {
    opacity: 1;
}

/* ============================================
   CUSTOM CURSOR (Restaurado)
   ============================================ */

.cursor {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s var(--ease-out-expo), opacity 0.15s;
}

.cursor.hover {
    transform: scale(5);
    opacity: 0.3;
}

.cursor.view {
    transform: scale(7.5);
    opacity: 0.2;
}

/* ============================================
   NAVIGATION (Restaurado - estilo original)
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    backdrop-filter: blur(12px);
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out-expo) 0.5s forwards;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    text-decoration: none;
}

.nav-logo__dot {
    width: 6px;
    height: 6px;
    background-color: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s var(--ease-in-out);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   HERO SECTION - Before/After Slider (Corregido)
   ============================================ */

.hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 7rem 2rem 3rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s var(--ease-out-expo) forwards;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.35s;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    opacity: 0;
    line-height: 1.6;
    animation: fadeIn 0.8s var(--ease-out-expo) 0.6s forwards;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
    overflow: hidden;
    transition: color 0.4s var(--ease-out-expo);
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out-expo) 1s forwards;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cyan);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-out-expo);
    z-index: -1;
}

.cta-btn:hover {
    color: var(--black);
    box-shadow: 0 0 30px var(--cyan-glow);
}

.cta-btn:hover::before {
    transform: translateX(0);
}

/* ============================================
   SECTIONS GENERAL
   ============================================ */

section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ============================================
   DEMO REEL SECTION
   ============================================ */

.demo-reel {
    background: var(--black-soft);
    padding: 4rem 2rem;
}

.reel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reel-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reel-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--black-card);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.reel-player.visible {
    opacity: 1;
    transform: translateY(0);
}

.reel-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.reel-thumbnail {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: opacity 0.4s, visibility 0.4s;
}

.reel-thumbnail.hidden {
    opacity: 0;
    visibility: hidden;
}

.reel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
    cursor: pointer;
    transition: opacity 0.4s, visibility 0.4s;
}

.reel-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.reel-play-btn {
    width: 100px;
    height: 100px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    margin-bottom: 1.5rem;
}

.reel-play-btn:hover {
    background: var(--cyan);
    transform: scale(1.1);
    box-shadow: 0 0 60px var(--cyan-glow);
}

.reel-play-btn svg {
    width: 28px;
    height: 28px;
    fill: var(--cyan);
    margin-left: 4px;
    transition: fill 0.3s;
}

.reel-play-btn:hover svg {
    fill: var(--black);
}

.reel-meta {
    text-align: center;
}

.reel-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reel-duration {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--gray);
}

/* ============================================
   WORK / PROJECTS SECTION
   ============================================ */

.work {
    padding-top: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--black-card);
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s var(--ease-out-expo);
    border: 1px solid rgba(255,255,255,0.05);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s var(--ease-in-out);
}

.project-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
}

.project-card:hover::after {
    transform: scaleX(1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.project-cat {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: var(--black-soft);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(136, 136, 136, 0.2);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    align-items: center;
    cursor: default;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s var(--ease-out-expo);
}

.service-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--cyan-dim);
    transition: width 0.4s var(--ease-out-expo);
}

.service-item:hover::before {
    width: 100%;
}

.service-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--gray);
    transition: color 0.3s;
}

.service-item:hover .service-num {
    color: var(--cyan);
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    position: relative;
    display: inline-block;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.4s var(--ease-out-expo);
}

.service-item:hover .service-content h3::after {
    width: 100%;
}

.service-content p {
    color: var(--gray);
    font-size: 0.9375rem;
}

/* ============================================
   EXPERIENCE SECTION - Timeline (Restaurado)
   ============================================ */

.experience {
    background: var(--black);
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 200px;
    bottom: 100px;
    width: 1px;
    background: rgba(136, 136, 136, 0.3);
    transform: translateX(-50%);
}

.timeline-line-progress {
    position: absolute;
    left: 50%;
    top: 200px;
    width: 1px;
    background: var(--cyan);
    transform: translateX(-50%);
    height: 0;
    transition: height 0.1s linear;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out-expo);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: var(--cyan);
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    box-shadow: 0 0 20px var(--cyan-glow);
    transition: transform 0.5s var(--ease-out-back);
    z-index: 2;
}

.timeline-dot.visible {
    transform: translateX(-50%) scale(1);
}

.timeline-content {
    background: var(--black-card);
    padding: 2.5rem;
    border: 1px solid rgba(136, 136, 136, 0.2);
    border-radius: 12px;
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.timeline-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.timeline-role {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-company {
    color: var(--gray);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.timeline-desc {
    color: var(--gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   TOOLS SECTION (Restaurado)
   ============================================ */

.tools {
    background: var(--black-soft);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.tools::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 26, 0.5) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0;
    transition: opacity 1s;
}

.tools.visible::before {
    opacity: 1;
}

.tools-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.tool-tag {
    padding: 1rem 2rem;
    border: 1px solid rgba(136, 136, 136, 0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    color: var(--gray);
    transition: all 0.4s var(--ease-out-back);
    opacity: 0;
    transform: translateY(30px) rotate(var(--rotation, 0deg));
    cursor: default;
}

.tool-tag.visible {
    opacity: 1;
    transform: translateY(0) rotate(var(--rotation, 0deg));
}

.tool-tag:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--cyan-dim);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--black);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.contact-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--ease-out-expo);
}

.contact-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Card - Business Card Style */
.contact-card {
    background: var(--black-card);
    border: 1px solid var(--gray-dark);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.contact-card__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--cyan);
    box-shadow: 0 0 30px var(--cyan-glow), inset 0 0 30px var(--cyan-dim);
    overflow: hidden;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.contact-avatar:hover {
    box-shadow: 0 0 50px var(--cyan), inset 0 0 30px var(--cyan-dim);
    transform: scale(1.03);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    background: var(--cyan-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cyan);
    font-family: 'JetBrains Mono', monospace;
}

.contact-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 20px;
    border: 1px solid var(--cyan-dim);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 0.75rem;
    color: var(--cyan);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card__info {
    text-align: center;
}

.contact-name {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-role {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 400;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out-expo);
    border: 1px solid transparent;
}

.contact-item:hover {
    background: var(--cyan-dim);
    border-color: var(--cyan);
    color: var(--cyan);
}

.contact-item svg {
    color: var(--cyan);
    flex-shrink: 0;
}

/* Form Wrapper */
.contact-form-wrapper {
    padding: 2rem;
}

.contact-form-wrapper .section-eyebrow {
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}


.contact-text {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact-email {
    font-size: 1.25rem;
    color: var(--cyan);
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.4s var(--ease-out-expo);
}

.contact-email:hover::after {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s var(--ease-out-expo) 0.2s;
}

.contact-form.visible {
    opacity: 1;
    transform: translateX(0);
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(136, 136, 136, 0.5);
    padding: 1rem 0;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.form-input:focus {
    border-bottom-color: var(--cyan);
    box-shadow: 0 2px 0 0 var(--cyan);
}

.form-input::placeholder {
    color: var(--gray);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    align-self: flex-start;
    padding: 1rem 2.5rem;
    background: var(--cyan);
    color: var(--black);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--cyan-glow);
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--black-card);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-out-expo);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.modal-video {
    aspect-ratio: 16/9;
    background: var(--black);
}

.modal-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-info {
    padding: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal-cat {
    color: var(--cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.modal-desc {
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(136, 136, 136, 0.2);
    background: var(--black-soft);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .color-wheels {
        display: none;
    }

    .grading-info {
        padding: 8px 12px;
    }

    .timeline-line,
    .timeline-line-progress {
        left: 20px;
    }

    .timeline-items {
        padding: 0 1rem 0 60px;
        max-width: 100%;
    }

    .timeline-item {
        transform: translateY(20px);
    }

    .timeline-dot {
        left: 20px;
        top: 20px;
    }

    .timeline-content {
        padding: 1.75rem;
        text-align: left;
        margin-top: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-avatar {
        width: 120px;
        height: 120px;
    }

    .contact-form-wrapper {
        padding: 0;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor {
        display: none;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .hero {
        padding-top: 5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-label {
        font-size: 0.65rem;
        padding: 0.375rem 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}