/* ------------------------------
           CONFIGURACIÓN GENERAL
        ------------------------------ */

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

        html {
            scroll-behavior: smooth;
        }

        body {
            background: #0b0b0b;
            color: #f2eee9;
            font-family: "DM Sans", sans-serif;
            overflow-x: hidden;
        }

        ::selection {
            background: #ff4d1c;
            color: #ffffff;
        }

        /* Grano visual */

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

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

        .container {
            width: min(1200px, 90%);
            margin: auto;
        }


        /* ------------------------------
           NAVEGACIÓN
        ------------------------------ */

        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 100;
            padding: 25px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;

            background: linear-gradient(
                to bottom,
                rgba(0,0,0,0.8),
                transparent
            );
        }

        .logo {
            font-family: "Space Grotesk", sans-serif;
            font-weight: 600;
            font-size: 18px;
            letter-spacing: 2px;
        }

        .logo span {
            color: #ff5424;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .nav-links a {
            opacity: 0.7;
            transition: 0.3s;
        }

        .nav-links a:hover {
            opacity: 1;
            color: #ff5424;
        }

        /* ------------------------------
           NAVEGACIÓN GENERAL DEL EQUIPO
        ------------------------------ */

        .team-nav {
            position: fixed;
            top: 22px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            width: calc(100% - 100px);
            max-width: 1500px;
            min-height: 58px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            padding: 9px 10px 9px 14px;
            background: rgba(17, 17, 17, 0.90);
            border: 1px solid rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
        }

        .team-nav-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
            color: #fff;
            text-decoration: none;
        }

        .team-nav-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px 10px;
            border: 1px solid #fff;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .team-nav-brand-text {
            font-size: 10px;
            line-height: 1.25;
            text-transform: uppercase;
            letter-spacing: 1.4px;
            color: rgba(255, 255, 255, 0.55);
            white-space: nowrap;
        }

        .team-nav-right {
            display: flex;
            align-items: center;
            min-width: 0;
            gap: 10px;
        }

        .team-nav-links {
            display: flex;
            align-items: center;
            gap: 3px;
            min-width: 0;
        }

        .team-nav-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 11px;
            border: 1px solid transparent;
            color: rgba(255, 255, 255, 0.58);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 10px;
            white-space: nowrap;
            transition: .25s ease;
        }

        .team-nav-link:hover {
            color: #fff;
            border-color: rgba(255, 255, 255, .28);
            background: rgba(255, 255, 255, .05);
        }

        .team-nav-link.activo {
            color: #111;
            background: #fff;
            border-color: #fff;
        }

        .team-nav-semestre {
            padding-left: 12px;
            border-left: 1px solid rgba(255, 255, 255, .18);
            font-size: 9px;
            line-height: 1.25;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, .4);
            white-space: nowrap;
        }


        /* ------------------------------
           HERO
        ------------------------------ */

        .hero {
            min-height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        .hero-image {
            position: absolute;
            right: 7%;
            top: 10%;
            width: min(440px, 40vw);
            height: 75vh;
            object-fit: cover;
            object-position: center;
            filter: saturate(0.85) contrast(1.05);
            opacity: 0.88;
        }

        /* Degradado sobre la foto */

        .hero-image::after {
            content: "";
            position: absolute;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            padding-top: 80px;
        }

        .small-title {
            color: #ff5424;
            text-transform: uppercase;
            letter-spacing: 4px;
            font-size: 12px;
            margin-bottom: 25px;
        }

        h1 {
            font-family: "Space Grotesk", sans-serif;
            font-size: clamp(70px, 12vw, 170px);
            line-height: 0.8;
            font-weight: 500;
            letter-spacing: -7px;
            max-width: 800px;
        }

        h1 span {
            color: #ff5424;
        }

        .hero-description {
            max-width: 450px;
            margin-top: 45px;
            font-size: 17px;
            line-height: 1.6;
            color: #bbb5af;
        }

        .scroll {
            position: absolute;
            bottom: 35px;
            left: 5%;
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #777;
        }

        .line {
            width: 60px;
            height: 1px;
            background: #555;
        }


        /* ------------------------------
           SECCIONES
        ------------------------------ */

        section {
            padding: 140px 0;
        }

        .section-number {
            color: #ff5424;
            font-family: "Space Grotesk";
            font-size: 13px;
            letter-spacing: 2px;
            margin-bottom: 20px;
        }

        .section-title {
            font-family: "Space Grotesk";
            font-size: clamp(45px, 7vw, 90px);
            font-weight: 400;
            line-height: 0.95;
            letter-spacing: -3px;
            margin-bottom: 60px;
        }


        /* ------------------------------
           SOBRE MÍ
        ------------------------------ */

        .about {
            border-top: 1px solid #292929;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 100px;
        }

        .about-text {
            font-size: 22px;
            line-height: 1.5;
            color: #c6c1bc;
        }

        .about-text strong {
            color: white;
            font-weight: 500;
        }

        .about-side {
            display: flex;
            flex-direction: column;
            gap: 35px;
        }

        .info {
            border-top: 1px solid #333;
            padding-top: 18px;
        }

        .info-label {
            color: #777;
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 2px;
            margin-bottom: 8px;
        }

        .info-value {
            font-family: "Space Grotesk";
            font-size: 20px;
        }


        /* ------------------------------
           INTERESES
        ------------------------------ */

        .interests {
            background: #111;
        }

        .interest-list {
            border-top: 1px solid #333;
        }

        .interest {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px 0;
            border-bottom: 1px solid #333;
            transition: 0.4s;
        }

        .interest:hover {
            padding-left: 20px;
            color: #ff5424;
        }

        .interest-name {
            font-family: "Space Grotesk";
            font-size: clamp(30px, 5vw, 65px);
            font-weight: 400;
        }

        .interest-number {
            color: #555;
            font-size: 13px;
        }




        /* ------------------------------
           DATOS DE LA CURSADA
        ------------------------------ */

        .course-info {
            border-top: 1px solid #292929;
            background: #111;
        }

        .course-card {
            border: 1px solid #303030;
            background: #0b0b0b;
            padding: 35px;
            transition: .3s ease;
        }

        .course-card:hover {
            border-color: #ff5424;
            transform: translateY(-3px);
        }

        .course-card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 30px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #303030;
        }

        .course-card-header h3 {
            font-family: "Space Grotesk";
            font-size: clamp(28px, 4vw, 45px);
            font-weight: 500;
            line-height: 1;
        }

        .course-card-header span {
            color: #ff5424;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-align: right;
            white-space: nowrap;
        }

        .course-block {
            margin-bottom: 28px;
        }

        .course-block:last-child {
            margin-bottom: 0;
        }

        .course-label {
            color: #777;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 7px;
        }

        .course-main {
            color: #eee9e3;
            font-family: "Space Grotesk";
            font-size: 18px;
            line-height: 1.4;
        }

        .course-detail {
            color: #aaa39d;
            font-size: 14px;
            line-height: 1.6;
        }

        .course-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px 45px;
        }

        .course-block.full {
            grid-column: 1 / -1;
        }

        .course-people {
            color: #c7c1bb;
            font-size: 14px;
            line-height: 1.7;
        }

        .course-highlight {
            color: #ff5424;
        }

        /* ------------------------------
           HISTORIA ACADÉMICA
        ------------------------------ */

        .academic {
            border-top: 1px solid #292929;
            background: #0b0b0b;
        }

        .academic-intro {
            max-width: 700px;
            color: #aaa39d;
            font-size: 17px;
            line-height: 1.6;
            margin-top: -25px;
            margin-bottom: 55px;
        }

        .academic-years {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 18px;
        }

        .academic-year {
            border: 1px solid #303030;
            background: #111;
            padding: 24px;
            transition: .3s ease;
        }

        .academic-year:hover {
            border-color: #ff5424;
            transform: translateY(-3px);
        }

        .academic-year-title {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid #303030;
        }

        .academic-year-title h3 {
            font-family: "Space Grotesk";
            font-size: 34px;
            font-weight: 500;
        }

        .academic-year-title span {
            color: #ff5424;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        .subject-list {
            display: flex;
            flex-direction: column;
        }

        .subject {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 13px 0;
            border-bottom: 1px solid #242424;
        }

        .subject:last-child {
            border-bottom: none;
        }

        .subject-name {
            color: #ddd8d2;
            font-size: 14px;
            line-height: 1.35;
        }

        .subject-status {
            flex-shrink: 0;
            padding: 5px 8px;
            border: 1px solid #3b3b3b;
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .subject-status.approved {
            color: #e9e4de;
        }

        .subject-status.current {
            color: #ff5424;
            border-color: #7a321f;
        }

        .academic-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            margin-top: 28px;
            color: #777;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
        }

        .academic-legend span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .legend-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #e9e4de;
        }

        .legend-dot.current {
            background: #ff5424;
        }

        /* ------------------------------
           FRASE
        ------------------------------ */

        .quote {
            min-height: 65vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
        }

        .quote p {
            font-family: "Space Grotesk";
            font-size: clamp(35px, 6vw, 75px);
            line-height: 1;
            letter-spacing: -3px;
            max-width: 1000px;
        }

        .quote span {
            color: #ff5424;
        }


        /* ------------------------------
           CONTACTO
        ------------------------------ */

        .contact {
            border-top: 1px solid #292929;
        }

        .contact-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            gap: 50px;
        }

        .contact h2 {
            font-family: "Space Grotesk";
            font-size: clamp(50px, 9vw, 120px);
            font-weight: 400;
            line-height: 0.85;
            letter-spacing: -5px;
        }

        .contact-info {
            text-align: right;
            color: #999;
            line-height: 2;
        }

        .contact-info span {
            color: #ff5424;
        }


        /* ------------------------------
           FOOTER
        ------------------------------ */

        footer {
            padding: 30px 5%;
            border-top: 1px solid #292929;
            display: flex;
            justify-content: space-between;
            color: #666;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }


        /* ------------------------------
           ANIMACIONES
        ------------------------------ */

        .fade {
            animation: fadeIn 1.2s ease forwards;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        /* ------------------------------
           RESPONSIVE
        ------------------------------ */

        @media (max-width: 750px) {

            .team-nav {
                top: 10px;
                width: calc(100% - 20px);
                min-height: 54px;
                padding: 7px 8px;
                gap: 8px;
            }

            .team-nav-brand-text,
            .team-nav-semestre {
                display: none;
            }

            .team-nav-badge {
                padding: 8px 9px;
                font-size: 11px;
            }

            .team-nav-right {
                flex: 1;
                overflow: hidden;
            }

            .team-nav-links {
                width: 100%;
                overflow-x: auto;
                scrollbar-width: none;
                -ms-overflow-style: none;
            }

            .team-nav-links::-webkit-scrollbar {
                display: none;
            }

            .team-nav-link {
                padding: 9px 10px;
                font-size: 9px;
            }

            .nav-links {
                display: none;
            }

            .hero {
                align-items: flex-end;
                padding-bottom: 100px;
            }

            .hero-image {
                width: 80%;
                height: 70vh;
                right: -10%;
                top: 12%;
                opacity: 0.45;
            }

            h1 {
                font-size: 75px;
                letter-spacing: -4px;
            }


            .academic-years {
                grid-template-columns: 1fr;
            }
            .course-card {
                padding: 24px;
            }

            .course-card-header {
                flex-direction: column;
                gap: 12px;
            }

            .course-card-header span {
                text-align: left;
            }

            .course-grid {
                grid-template-columns: 1fr;
                gap: 22px;
            }

            .course-block.full {
                grid-column: auto;
            }



            .academic-year-title h3 {
                font-size: 28px;
            }

            .subject {
                align-items: flex-start;
            }

            .subject-name {
                font-size: 13px;
            }
            .about-grid {
                grid-template-columns: 1fr;
                gap: 60px;
            }

            .contact-content {
                flex-direction: column;
                align-items: flex-start;
            }

            .contact-info {
                text-align: left;
            }

            footer {
                flex-direction: column;
                gap: 10px;
            }
        }

/* Aviso legal del trabajo práctico */
.legal-notice {
    flex-basis: 100%;
    width: 100%;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #292929;
    color: #666;
    font-size: 10px;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
}


/* ------------------------------
   ACCESOS A LOS PROYECTOS
------------------------------ */

.project-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 13px 24px;
    border: 1px solid #ff5424;
    background: #ff5424;
    color: #0b0b0b;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.project-button:hover {
    background: transparent;
    color: #ff5424;
    transform: translateY(-3px);
}

.project-button-disabled {
    background: transparent;
    color: rgba(242, 238, 233, .55);
    border-color: rgba(242, 238, 233, .25);
    cursor: default;
}

.project-button-disabled:hover {
    background: transparent;
    color: rgba(242, 238, 233, .55);
    border-color: rgba(242, 238, 233, .25);
    transform: none;
}

@media (max-width: 600px) {
    .project-buttons {
        gap: 9px;
    }

    .project-button {
        min-width: 96px;
        padding: 11px 17px;
    }
}
