:root {

    --background: #000000;
    --text: #ffffff;
    --secondary: #8c8c8c;
    --border: #262626;

    --max-width: 1400px;

}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--background);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   NAVEGACIÓN
========================================= */

.navbar {

    width: 100%;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 5vw;

    background: rgba(0, 0, 0, 0.85);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid transparent;

}


.logo {

    font-size: 1.3rem;

    font-weight: 700;

    letter-spacing: -0.05em;

}


.nav-links {

    display: flex;

    gap: 30px;

}


.nav-links a {

    color: var(--secondary);

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition: color 0.3s ease;

}


.nav-links a:hover {

    color: var(--text);

}


/* =========================================
   ELEMENTOS GENERALES
========================================= */

.section {

    width: 90%;

    max-width: var(--max-width);

    margin: auto;

    padding: 140px 0;

}


.eyebrow {

    color: var(--secondary);

    font-size: 0.7rem;

    font-weight: 600;

    letter-spacing: 0.15em;

    text-transform: uppercase;

}


.section-header {

    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 30px;

    margin-bottom: 80px;

}


.section-number {

    color: var(--secondary);

    font-size: 0.75rem;

    padding-top: 8px;

}


h2 {

    margin-top: 12px;

    font-size: clamp(3rem, 7vw, 7rem);

    line-height: 0.9;

    font-weight: 500;

    letter-spacing: -0.06em;

}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 100vh;

    width: 90%;

    max-width: var(--max-width);

    margin: auto;

    display: flex;

    align-items: center;

}


.hero-content {

    max-width: 1000px;

    padding-top: 80px;

}


.hero h1 {

    margin-top: 20px;

    font-size: clamp(5rem, 14vw, 13rem);

    line-height: 0.8;

    letter-spacing: -0.08em;

    font-weight: 500;

}


.hero h1 span,
.contact-section h2 span {

    color: var(--secondary);

}


.hero-description {

    max-width: 520px;

    margin-top: 50px;

    color: var(--secondary);

    font-size: 1.05rem;

    line-height: 1.7;

}


.hero-link {

    display: inline-flex;

    gap: 15px;

    margin-top: 35px;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--text);

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;

}


.hero-link span {

    transition: transform 0.3s ease;

}


.hero-link:hover span {

    transform: translateY(5px);

}


/* =========================================
   PROYECTOS
========================================= */

.projects-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 80px 30px;

}


.project-image {

    width: 100%;

    aspect-ratio: 4 / 3;

    background: #111;

    border: 1px solid var(--border);

    display: flex;

    align-items: flex-end;

    padding: 20px;

    overflow: hidden;

    transition:
        background 0.4s ease,
        transform 0.4s ease;

}


.project-image span {

    color: #444;

    font-size: 4rem;

    font-weight: 700;

    letter-spacing: -0.05em;

}


.project:hover .project-image {

    background: #191919;

    transform: scale(0.98);

}


.project-info {

    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    margin-top: 12px;

}


.project-category {

    color: var(--secondary);

    font-size: 0.65rem;

    letter-spacing: 0.12em;

    margin-bottom: 8px;

}


.project h3 {

    font-size: 1.3rem;

    font-weight: 400;

}


.project-link {

    color: var(--secondary);

    font-size: 0.75rem;

    white-space: nowrap;

    transition: color 0.3s ease;

}


.project-link:hover {

    color: var(--text);

}


/* =========================================
   TALLERES
========================================= */

.workshops-list {

    border-top: 1px solid var(--border);

}


.workshop {

    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 30px;

    padding: 35px 0;

    border-bottom: 1px solid var(--border);

}


.workshop-number {

    color: var(--secondary);

    font-size: 0.75rem;

}


.workshop-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

}


.workshop h3 {

    font-size: 1.8rem;

    font-weight: 400;

    letter-spacing: -0.03em;

}


.workshop p {

    color: var(--secondary);

    max-width: 450px;

    font-size: 0.9rem;

    line-height: 1.7;

}


/* =========================================
   SOBRE MÍ
========================================= */

.about-section {

    border-top: 1px solid var(--border);

}


.about-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

}


.about-title {

    font-size: clamp(2rem, 4vw, 4rem);

    line-height: 1.05;

    letter-spacing: -0.05em;

}


.about-text {

    max-width: 550px;

    color: var(--secondary);

}


.about-text p {

    margin-bottom: 25px;

    font-size: 1rem;

    line-height: 1.8;

}


/* =========================================
   CONTACTO
========================================= */

.contact-section {

    width: 90%;

    max-width: var(--max-width);

    margin: auto;

    padding: 160px 0;

    border-top: 1px solid var(--border);

}


.contact-section h2 {

    margin: 25px 0 50px;

}


.email-link {

    display: inline-block;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--text);

    font-size: 1rem;

    transition: opacity 0.3s ease;

}


.email-link:hover {

    opacity: 0.5;

}


/* =========================================
   FOOTER
========================================= */

.footer {

    width: 90%;

    max-width: var(--max-width);

    margin: auto;

    padding: 30px 0;

    border-top: 1px solid var(--border);

    display: flex;

    justify-content: space-between;

    color: var(--secondary);

    font-size: 0.7rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 800px) {


    .navbar {

        padding: 20px 5vw;

    }


    .nav-links {

        gap: 15px;

    }


    .nav-links a {

        font-size: 0.6rem;

    }


    .hero h1 {

        font-size: clamp(4.5rem, 20vw, 8rem);

    }


    .hero-description {

        margin-top: 35px;

    }


    .section {

        padding: 100px 0;

    }


    .section-header {

        grid-template-columns: 40px 1fr;

        gap: 15px;

        margin-bottom: 50px;

    }


    h2 {

        font-size: clamp(3rem, 15vw, 5rem);

    }


    .projects-grid {

        grid-template-columns: 1fr;

        gap: 60px;

    }


    .workshop {

        grid-template-columns: 40px 1fr;

        gap: 15px;

    }


    .workshop-content {

        grid-template-columns: 1fr;

        gap: 15px;

    }


    .workshop h3 {

        font-size: 1.5rem;

    }


    .about-content {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .contact-section {

        padding: 100px 0;

    }


}


@media (max-width: 500px) {


    .nav-links a:nth-child(3),
    .nav-links a:nth-child(4) {

        display: none;

    }


    .project-info {

        align-items: flex-start;

        flex-direction: column;

    }


    .footer {

        flex-direction: column;

        gap: 10px;

    }

}