

/* ==========================================
   RESPONSIVE GLOBAL
   ========================================== */

/* TABLET */
@media (min-width: 701px) and (max-width: 1024px) {

    .project-intro {
        padding-top: 95px;
    }

    .project-title {
        font-size: clamp(70px, 10vw, 120px);
    }

    .project-text-left p {
        font-size: clamp(20px, 2.5vw, 29px);
    }

}

   /* ==========================================
   MÓVI CLARAMENT
   ========================================== */

@media (max-width: 700px) {

    /* CABECERA */

    .project-header {
        height: 60px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .project-logo {
        font-size: 18px;
        top: 0;
    }

    .project-nav {
        gap: 12px;
        margin-left: 0;
    }

    .project-nav a {
        font-size: 11px;
    }

    .project-header-description {
        display: none;
    }

    /* TÍTULO E INTRODUCCIÓN */

   .project-intro {
    min-height: auto;
    padding: 65px 20px 20px;
}
    .project-title {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 35px;
    font-size: clamp(48px, 12vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

    .project-text-left {
        width: 100%;
        left: 0;
        margin-top: 0;
    }

    .project-text-left p {
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}


/* AJUST ESPAI TÍTOL-TEXT — CLARAMENT */
@media (max-width: 700px) {

    .project-intro .project-title {
        margin-bottom: 40px !important;
    }

    .project-intro .project-text-left {
        margin-top: 0 !important;
        padding-top: 0 !important;
        transform: none !important;
        position: relative !important;
        top: auto !important;
    }

}

    /* READ MORE */

    .project-intro .read-more {
        font-size: 18px;
        margin-top: 12px;
        margin-left: 0;
        padding-bottom: 3px;
    }

    /* CONTENIDO DESPLEGABLE */

    .project-text-right {
        width: 100%;
        margin: 30px 0 0;
        padding: 0;
        left: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        transform: none;
    }

    .project-text-right .clarament-carousel {
        width: 100%;
    }

    .project-text-right .clarament-detail-text {
        width: 100%;
        transform: none;
    }

    .project-text-right .clarament-detail-text p {
        font-size: 15px;
        line-height: 1.4;
        max-width: 100%;
        margin-bottom: 16px;
    }

    /* GALERÍA CLARAMENT */

    .clarament-gallery {
        width: 100%;
        padding: 0 20px 45px;
        margin-top: 0;
    }

    .clarament-hero {
        margin-bottom: 12px;
    }

    /* GALERÍA CLARAMENT */

.clarament-gallery {
    width: 100%;
    padding: 0 20px 45px;
    margin-top: 0;
    box-sizing: border-box;
}

.clarament-hero {
    margin-bottom: 12px;
}

.clarament-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.clarament-grid img {
    display: block;
    width: 100%;
    height: auto;
}

    /* COMPOSICIÓN FINAL */

    .project-editorial-gallery {
        min-height: auto;
        padding: 20px 20px 45px;
        margin-bottom: 0;
        flex-direction: column;
        gap: 25px;
        transform: none;
    }

    .project-editorial-image-large,
    .project-editorial-image-small {
        width: 100%;
    }



    /* VÍDEO */

    .clarament-video-section {
        padding: 20px 20px 50px;
    }

    .clarament-video-container {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .clarament-video {
        width: 100%;
        height: 100%;
    }

    /* CARRUSEL */

    .clarament-process {
        padding: 25px 20px 50px;
    }

    .clarament-carousel-controls {
        padding-top: 15px;
    }

    /* FOOTER */

    .project-footer {
        padding: 25px 20px 30px;
        font-size: 11px;
        gap: 15px;
        flex-wrap: wrap;
    }

}

/* ==========================================
   MÓVILES PEQUEÑOS
   ========================================== */

@media (max-width: 390px) {

    .project-title {
        font-size: clamp(42px, 11vw, 52px);
    }

    .project-text-left p {
        font-size: 17px;
    }

    .project-nav {
        gap: 8px;
    }

    .project-nav a {
        font-size: 10px;
    }

}




/* ==========================================
   MENÚ FULL SCREEN — SOLO MÓVIL
========================================== */

@media (max-width: 700px) {

    .project-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    /* BOTÓN HAMBURGUESA */

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 36px;
        height: 36px;
        padding: 4px;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 1003;
    }

    .menu-toggle span {
        display: block;
        width: 27px;
        height: 1.5px;
        background: #000;
        transition: transform 0.35s ease, opacity 0.25s ease;
    }

    /* ICONO DE CIERRE */

    .menu-toggle.is-open span:first-child {
        transform: translateY(7.5px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:last-child {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    /* VENTANA A PANTALLA COMPLETA */

    .project-header .project-nav {
        display: flex;
        position: fixed;
        inset: 0;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        margin: 0;
        padding: 110px 35px 50px;

        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 28px;

        background: rgba(249, 248, 245, 0.91);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);

        z-index: 1001;

        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;

        transition:
            transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
            visibility 0.5s;
    }

    /* MENÚ ABIERTO */

    .project-header .project-nav.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    /* ENLACES */

    .project-header .project-nav a {
        font-family: "obviously", sans-serif;
        font-size: clamp(30px, 9vw, 48px);
        font-weight: 700;
        letter-spacing: -0.05em;
        color: #000;

        transition: color 0.25s ease;
    }

    .project-header .project-nav a:hover {
        color: #D9A6A0;
    }

}

/* ORDENADOR Y TABLET */

@media (min-width: 701px) {

    .menu-toggle {
        display: none;
    }

}


/* ==========================================
   PROYECTO 1 — POBLENOU URBAN DISTRICT
========================================== */

/* AJUSTE HEADER MÓVIL */
@media (max-width: 700px) {

    .project-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .project-header .menu-toggle {
        position: absolute !important;
        top: 12px !important;
        right: 20px !important;
        left: auto !important;
        z-index: 1003 !important;
    }

    .project-header .project-role {
        display: none !important;
    }
}


/* TABLET */
@media (min-width: 701px) and (max-width: 1024px) {

    .project-intro h1 {
        font-size: clamp(70px, 10vw, 130px);
    }

    .project-text-left {
        width: 75%;
    }

    .project-text-left p {
        font-size: 24px;
    }

    .project-gallery-track img,
    .project-gallery-track-2 img {
        width: 65vw;
    }

    .project-description-process {
        width: 100% !important;
        padding: 50px 25px 80px !important;
        gap: 35px;
    }

    .process-description-text p {
        font-size: 16px;
    }
}


/* MÓVIL */
@media (max-width: 700px) {

    /* PRIMERA INTRODUCCIÓN Y MÁRGENES */
    .project-intro {
        min-height: auto;
        padding: 80px 20px 40px;
        box-sizing: border-box;
    }

    .project-intro h1 {
        width: 100%;
        margin: 0 0 55px 0 !important;
        font-size: 13vw;
        line-height: .95;
        letter-spacing: -.06em;
        white-space: normal;
    }

    .project-text-left {
        width: 100%;
        margin: 0 !important;
        padding: 0;
        left: auto;
        box-sizing: border-box;
    }

    .project-text-left p {
        width: 100%;
        margin: 0;
        font-size: 18px;
        line-height: 1.3;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .project-page .read-more {
        font-size: 18px;
        margin-top: 12px;
    }


    /* GALERÍAS HORIZONTALES TÁCTILES */
   .project-second-section,
.project-second-section-2 {
    width: 100%;
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
}

/* ESPACIO ENTRE INTRODUCCIÓN Y PRIMER LIBRO */
.project-second-section {
    margin-top: 30px !important;
}

    .project-gallery-sticky,
    .project-gallery-sticky-2 {
        position: relative !important;
        top: auto !important;
        width: 100%;
        height: auto !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        touch-action: pan-x;
    }

    .project-gallery-sticky::-webkit-scrollbar,
    .project-gallery-sticky-2::-webkit-scrollbar {
        display: none;
    }

    .project-gallery-track,
    .project-gallery-track-2 {
        display: flex !important;
        flex-direction: row !important;
        width: max-content !important;
        height: auto !important;
        padding: 0 20px;
        gap: 15px;
        transform: none !important;
    }

    .project-gallery-track img,
    .project-gallery-track-2 img {
        display: block;
        flex: 0 0 85vw !important;
        width: 85vw !important;
        height: auto !important;
        max-height: 65vh;
        object-fit: contain;
        transform: none !important;
        scroll-snap-align: center;
    }

/* TEXTO DESCRIPTIVO DEL PRIMER LIBRO */

.project-description-process {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    margin: 0 !important;
    padding: 35px 20px 10px !important;
    gap: 25px;
    transform: none !important;
}

    .process-carousel {
        width: 100%;
        max-width: 100%;
    }

    .process-description-text {
        width: 100%;
        transform: none !important;
    }

    .process-description-text p {
        font-size: 15px;
        line-height: 1.45;
    }


    /* GALERÍA EDITORIAL */
    .project-editorial-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        min-height: 0;
        padding: 20px;
        margin: 0;
        gap: 8px;
        transform: none;
        box-sizing: border-box;
    }

    .project-editorial-gallery .editorial-image-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.project-editorial-gallery .editorial-image-square img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

   .project-editorial-gallery .editorial-image-wide {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: 2.4 / 1;
    overflow: hidden;
}

.project-editorial-gallery .editorial-image-wide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


    /* SEGUNDA INTRODUCCIÓN */

    .project-intro-2 {
        min-height: auto !important;
        margin-top: -50px !important;
        padding: 65px 20px 5px !important;
        box-sizing: border-box;
    }

    .project-intro-2 h1 {
        width: 100%;
        margin: 0 0 35px 0 !important;
        padding: 0;
        font-size: clamp(38px, 10vw, 68px);
        line-height: .95;
        letter-spacing: -.06em;
        white-space: normal;
        overflow-wrap: normal;
    }

    .project-intro-2 .project-text-left {
        width: 100%;
        margin: 0 !important;
        padding: 0;
        transform: none !important;
        box-sizing: border-box;
    }

    .project-intro-2 .project-text-left p {
        font-size: 18px;
        line-height: 1.3;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
    }



    /* GALERÍA FINAL DEL LIBRO */
    .project-book-gallery-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        padding: 20px;
        gap: 8px;
        box-sizing: border-box;
    }

    .project-book-gallery-2 img {
        width: 100%;
        height: auto;
    }

    .project-book-gallery-2 img:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 1.5;
        object-fit: cover;
    }


   .project-footer {
    padding: 20px 20px 15px;
    margin-top: 20px !important;
    flex-wrap: wrap;
    gap: 15px;
}
}

/* HELENA — MOVIMIENTO RESPONSIVE */

@media screen and (max-width: 700px) {

    .hero .hero-name {
        position: fixed !important;
        top: 20px !important;
        left: 20px !important;
        font-size: 21vw !important;
        line-height: 0.90 !important;
        z-index: 200 !important;

        transition: all 0.6s ease !important;
    }

    body.scrolled .hero .hero-name {
        position: fixed !important;
        top: 23px !important;
        left: 20px !important;
        font-size: 18px !important;
        line-height: 0.90 !important;
    }

}

/* =====================================================
   MENÚ MÓVIL — DISEÑO DEFINITIVO
===================================================== */

@media (max-width: 700px) {

    /* HAMBURGUESA */

    .mobile-menu-toggle {
        position: fixed;
        top: 28px;
        right: 27px;
        left: auto;

        width: 28px;
        height: 22px;

        padding: 0;
        margin: 0;

        border: none;
        background: transparent;

        z-index: 1001;

        opacity: 0;
        pointer-events: none;
    }

    body.scrolled .mobile-menu-toggle {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-toggle span {
        position: absolute;
        left: 0;

        width: 28px;
        height: 2px;

        background: #000;

        display: block;
        margin: 0;
        padding: 0;
        border: none;
    }

    .mobile-menu-toggle span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-toggle span:nth-child(2) {
        top: 6px;
    }

    .mobile-menu-toggle span:nth-child(3) {
        top: 10px;
    }

    /* PANEL */

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        background: rgba(249, 248, 245, 0.88);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        z-index: 1000;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateX(100%);

        transition:
            transform 0.45s ease,
            opacity 0.45s ease,
            visibility 0.45s ease;
    }

    .mobile-menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateX(0);
    }

    /* X */

    .mobile-menu-close {
        position: absolute;
        top: 25px;
        right: 27px;

        width: 28px;
        height: 28px;

        padding: 0;

        border: none;
        background: transparent;

        z-index: 2;
    }

    .mobile-menu-close span {
        position: absolute;
        top: 13px;
        left: 0;

        width: 28px;
        height: 2px;

        background: #000;
    }

    .mobile-menu-close span:first-child {
        transform: rotate(45deg);
    }

    .mobile-menu-close span:last-child {
        transform: rotate(-45deg);
    }

    /* LINKS */

    .mobile-menu-links {
        position: absolute;

        left: 5.8vw;
        top: 50%;

        transform: translateY(-50%);

        display: flex;
        flex-direction: column;

        gap: 7.5vh;
    }

    .mobile-menu-links a {
        font-family: "obviously", sans-serif !important;
        font-weight: 900;

        font-size: 10vw;
        line-height: 0.95;

        letter-spacing: -0.06em;

        color: #000;
    }

}






/* =========================================================
   HOME — RESPONSIVE DEFINITIVO
   SOLO PÁGINA PRINCIPAL
========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------
       AJUSTES GENERALES
    ----------------------------------------- */

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        background: #F9F8F5;
    }

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

    .hero {
        position: relative;
        width: 100%;
        height: 100svh;
        min-height: 700px;
        height: 100vh;
        overflow: hidden;
    }

    /* -----------------------------------------
       NOMBRE HELENA
    ----------------------------------------- */

    .hero .hero-name {
        position: fixed;
        top: 7vw;
        left: 5.8vw;

        width: auto;

        font-size: 21vw;
        line-height: 0.90;
        letter-spacing: -0.02em;

        white-space: nowrap;

        z-index: 200;
        pointer-events: none;

        transform: none;

        transition:
            top 0.6s ease,
            left 0.6s ease,
            font-size 0.6s ease;
    }

    /* HELENA AL HACER SCROLL */

    body.scrolled .hero .hero-name {
        position: fixed;

        top: 22px;
        left: 20px;

        font-size: 18px;
        line-height: 0.90;
    }

    /* -----------------------------------------
       MENÚ HORIZONTAL — ESTADO INICIAL
    ----------------------------------------- */

    .hero-menu {
        position: absolute;

        top: 24%;
        left: 25px;

        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;

        gap: 30px;

        width: max-content;

        z-index: 201;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
    }

    .hero-menu a {
        font-family: "montserrat", sans-serif !important;

        font-size: 17px;
        font-weight: 300;

        white-space: nowrap;

        color: #000;
    }

    /* -----------------------------------------
   DESAPARICIÓN ESTABLE DEL MENÚ HORIZONTAL
----------------------------------------- */

body.scrolled .hero-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0s linear 0.3s;
}
    /* -----------------------------------------
       HAMBURGUESA
    ----------------------------------------- */

.hero-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 300;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    width: 24px;
    height: 20px;

    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hero-menu-toggle span {
    display: block !important;
    position: static !important;

    width: 24px !important;
    height: 1.5px !important;
    min-height: 2px !important;

    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;

    background-color: #000 !important;
}
    /* HAMBURGUESA VISIBLE AL HACER SCROLL */

    body.scrolled .hero .hero-menu-toggle {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* -----------------------------------------
       HAMBURGUESA — ICONO X
    ----------------------------------------- */

    .hero-menu-toggle.is-open span:first-child {
        transform: translateY(8.5px) rotate(45deg);
    }

    .hero-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hero-menu-toggle.is-open span:last-child {
        transform: translateY(-8.5px) rotate(-45deg);
    }


/* HAMBURGUESA — SOLO MÓVIL */

.hero-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1006;

    width: 30px;
    height: 24px;
    padding: 0;

    border: none;
    background: transparent;

    display: block;
    cursor: pointer;
}

.hero-menu-toggle span {
    position: absolute;
    left: 0;

    width: 30px;
    height: 2px;

    display: block;
    margin: 0;
    padding: 0;

    background: #000;

    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-menu-toggle span:nth-child(1) {
    top: 4px;
}

.hero-menu-toggle span:nth-child(2) {
    top: 11px;
}

.hero-menu-toggle span:nth-child(3) {
    top: 18px;
}

.hero-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hero-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.hero-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
    /* -----------------------------------------
       MENÚ FULLSCREEN
    ----------------------------------------- */

    .hero .hero-menu.is-open {
        position: fixed;

        inset: 0;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        margin: 0;
        padding: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;

        gap: 35px;

        background: rgba(249, 248, 245, 0.90);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        z-index: 1002;

        left: 0;
        top: 0;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: none;

        transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
    }

    .hero .hero-menu.is-open a {
        margin-left: 6vw;

        font-family: "obviously", sans-serif !important;

        font-size: clamp(36px, 10vw, 55px);
        font-weight: 700;

        line-height: 0.95;
        letter-spacing: -0.05em;

        color: #000;
    }

    /* -----------------------------------------
       BOTÓN CUANDO EL MENÚ ESTÁ ABIERTO
    ----------------------------------------- */

    body.menu-open .hero-menu-toggle {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: 1006;
    }

    /* -----------------------------------------
       INTRODUCCIÓN
    ----------------------------------------- */

    .hero-intro {
        position: absolute;

        top: 38%;
        left: 20px;
        right: 20px;

        width: auto;
        max-width: none;

        margin: 0;

        z-index: 10;
    }

    .hero-intro p {
        font-size: clamp(25px, 4.2vw, 32px);

        line-height: 1.15;

        font-weight: 500;

        letter-spacing: -0.035em;
    }

    .hero-intro a {
        display: inline-block;

        margin-top: 8px;

        font-size: clamp(25px, 4.2vw, 32px);

        line-height: 1.1;

        font-weight: 430;
        font-style: italic;

        letter-spacing: -0.02em;

        color: #D9A6A0;

        border-bottom: 2px solid #D9A6A0;
    }

    /* -----------------------------------------
       CURSOR Y CANVAS
    ----------------------------------------- */

    .custom-cursor {
        display: none;
    }

    #mouse-trail {
        pointer-events: none;
    }

    /* -----------------------------------------
       BARRA FIJA
    ----------------------------------------- */

    .fixed-nav {
        height: 60px;
        padding: 0 20px;
    }

    .nav-description {
        display: none;
    }

    /* -----------------------------------------
       PROJECTS
    ----------------------------------------- */

    .projects {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .project-link {
        width: 100%;
    }

    .project {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .project-type-cover {
        position: relative;

        width: 100%;

        min-height: 30vh;

        padding: 40px 20px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;

        box-sizing: border-box;
    }

    .project-type-cover h2 {
        font-size: 14vw;

        line-height: 0.9;

        letter-spacing: -0.075em;

        max-width: 100%;
    }

    .project-link[href="proyecto-3.html"]
    .project-type-cover h2 {
        transform: none;
    }

    .project-link[href="proyecto-4.html"]
    .project-type-cover h2 {
        transform: none;
        letter-spacing: -0.045em;
    }

    .project-type-cover p {
        margin: 16px 0 0 5px;

        font-size: 14px;

        line-height: 1.2;
    }

    .cover-number {
        position: absolute;

        top: 15px;
        right: 20px;

        font-size: 11px;
    }

    .project-preview {
        display: none;
    }

    /* -----------------------------------------
       ABOUT
    ----------------------------------------- */

    .about {
        width: 100%;

        min-height: auto;

        margin-top: 80px;

        padding: 0 20px;

        display: flex;
        flex-direction: column;

        box-sizing: border-box;
    }

    .about-image {
        display: block;

        width: 100%;
        height: auto;

        max-width: 100%;

        margin: 0 auto;

        object-fit: contain;

        transform: none;
    }

    /* -----------------------------------------
       CONTACT
    ----------------------------------------- */

/* CONTACT — MÓVIL */

@media (max-width: 700px) {

    .contact {
        padding-top: 40px;
    }

    .contact-main {
        padding: 35px 20px 40px;
    }

    .contact-title {
        font-size: 15vw;
        line-height: 0.88;
        letter-spacing: -0.07em;
    }

    .contact-info {
        margin-top: 55px;
        margin-bottom: 20px;
        gap: 35px;
        display: flex;
        flex-direction: column;
    }

    .contact-block {
        gap: 7px;
    }

    .contact-label {
        font-size: 11px;
    }

    .contact-block a {
        font-size: 17px;
    }

    .contact footer {
        padding: 20px 20px 25px;
        font-size: 11px;
    }

}

/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 390px) {

    .hero .hero-name {
        font-size: 20.5vw;
    }

    .hero-intro {
        left: 20px;
        right: 20px;
    }

    .hero-intro p,
    .hero-intro a {
        font-size: 25px;
    }

    .hero-menu {
        gap: 22px;
    }

    .hero-menu a {
        font-size: 15px;
    }

    .project-type-cover h2 {
        font-size: 13.5vw;
    }

    .contact-title {
        font-size: 17vw;
    }

}

/* =====================================================
   CITY SCOOT — IMATGES AMPLIADES
===================================================== */

.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.94);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-lightbox.is-visible {
    display: flex;
}

.lightbox-image {
    display: block;
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    border: none;
    background: transparent;
    color: white;
    font-size: 45px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

/* IMATGES DE LA GALERIA CLICABLES */

.poblenou-gallery img {
    cursor: pointer;
}

/* MÒBIL */

@media (max-width: 700px) {

    .image-lightbox {
        padding: 15px;
    }

    .lightbox-image {
        max-width: 100%;
        max-height: 85vh;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 40px;
    }

}


/* CITY SCOOT — REDUIR ESPAI ENTRE INTRO I GALERIA */

@media (max-width: 700px) {

    .project-intro {
        padding-bottom: 20px !important;
    }

    .poblenou-gallery {
        padding-top: 0 !important;
    }

}

/* CITY SCOOT — REDUIR ESPAI ENTRE GALERIA I FOOTER */

@media (max-width: 700px) {

    .poblenou-gallery {
        padding-bottom: 10px !important;
    }

    .project-footer {
        padding-top: 10px !important;
    }

}



/* =====================================================
   GALERÍA BRISA — SOLO MÓVIL, UNA COLUMNA
===================================================== */

@media (max-width: 700px) {

    .brisa-gallery {
        display: flex;
        flex-direction: column;
        gap: 12px;

        padding: 0 4.3vw 25px;
    }

    .brisa-gallery .brisa-image,
    .brisa-gallery .brisa-image-wide {
        width: 100%;
        min-width: 0;
    }

    .brisa-gallery .brisa-image img {
        display: block;
        width: 100%;
        height: auto;
    }

}




/* =====================================================
   READ MORE — COMPOSICIÓ MÒBIL
   CARRUSEL A DALT + TEXT A SOTA
===================================================== */

@media (max-width: 700px) {

    /* CONTENIDOR GENERAL */

    .project-intro .project-text-right {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 35px 0 0;
        gap: 35px;
    }

    /* CARRUSEL */

    .brisa-carousel {
        width: 100%;
    }

    .brisa-carousel-window {
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .brisa-carousel-track {
        width: 100%;
        height: 100%;
    }

    .brisa-carousel-track img {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 0;
    }

    /* CONTADOR I FLETXES */

    .brisa-carousel-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;

        width: 100%;
        padding: 0 5px;
        margin: 15px 0 0;

        transform: none;
    }

    .brisa-counter {
        margin: 0;
        font-size: 12px;
    }

    .brisa-arrows {
        display: flex;
        gap: 10px;
    }

    .brisa-arrows button {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    /* TEXT A SOTA DEL CARRUSEL */

    .brisa-detail-text {
        width: 100%;
        padding: 0;
        margin: 0;
        transform: none;
    }

    .brisa-detail-text p {
        font-size: 15px;
        font-weight: 300;
        line-height: 1.15;
        letter-spacing: -0.03em;

        text-align: justify;
        text-justify: auto;
        word-spacing: -0.04em;

        hyphens: auto;
        -webkit-hyphens: auto;

        margin-bottom: 25px;
    }

    .brisa-detail-text p:last-child {
        margin-bottom: 0;
    }

}

/* AJUSTE ESPACIO IMAGEN-VÍDEO SOLO MÓVIL */

@media (max-width: 700px) {
    .brisa-video-section {
        margin-top: -20px;
    }
}


/* CENTRAR VÍDEO SOLO EN MÓVIL */

@media (max-width: 700px) {
    .brisa-video {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
        object-position: center;
    }

    .brisa-video-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* REDUCIR ESPACIO ENTRE MOCKUPS Y FOOTER — SOLO MÓVIL */

@media (max-width: 700px) {
    .brisa-mockups {
        padding-bottom: 10px;
        margin-bottom: -30px;
    }

    .project-footer {
        margin-top: 0;
        padding-top: 10px;
    }
}



/* =====================================================
   MENÚ FULLSCREEN — MÓVIL
===================================================== */

@media (max-width: 700px) {

    .artwork-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        padding: 0 20px;

        display: flex;
        align-items: center;

        background: #F9F8F5;
        z-index: 1000;
    }

    .artwork-logo {
        font-size: 18px;
        transform: translateY(5px);
    }

    /* HAMBURGUESA */

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;

        width: 24px;
        height: 24px;

        margin-left: auto;

        padding: 0;
        border: none;
        background: transparent;

        cursor: pointer;
        z-index: 1002;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 1.5px;
        background: #000;

        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* CONVERTIR HAMBURGUESA EN X */

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    /* MENÚ A PANTALLA COMPLETA */

    .artwork-menu {
        position: fixed;
        inset: 0;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        padding: 0 6vw;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;

        gap: 55px;
        margin: 0;

        background: #F9F8F5;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        z-index: 1001;

        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .artwork-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* LINKS GRANS */

    .artwork-menu a {
        font-family: "obviously", sans-serif !important;
        font-size: clamp(48px, 11vw, 90px);
        font-weight: 900;
        letter-spacing: -0.06em;
        line-height: 0.9;

        color: #000;
        opacity: 1;
    }

    .artwork-menu a:hover {
        opacity: 0.6;
    }

    .artwork-menu .active {
        color: #000;
    }

    /* LOGO I ROLE */

    .artwork-role {
        display: none;
    }

}



/* =====================================================
   ARTWORK — REDISSENY MÒBIL
===================================================== */

@media (max-width: 700px) {

    /* PÀGINA */

    .artwork-page {
        padding: 20px;
    }


    /* HEADER */

    .artwork-header {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0;
        z-index: 100;
    }

    .artwork-logo {
        font-size: 19px;
        transform: none;
    }

    .artwork-role {
        display: none;
    }


    /* HAMBURGUESA */

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;

        width: 35px;
        height: 35px;

        border: none;
        background: transparent;
        padding: 0;

        cursor: pointer;
        z-index: 1002;
    }

    .menu-toggle span {
        display: block;
        width: 30px;
        height: 1.5px;
        background: #000;

        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }


    /* MENÚ DESPLEGABLE */

    .artwork-menu {
        position: fixed;
        inset: 0;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        background: #F9F8F5;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;

        gap: 35px;
        padding: 60px;

        margin: 0;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        z-index: 1001;

        transition: opacity 0.35s ease,
                    visibility 0.35s ease;
    }

    .artwork-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .artwork-menu a {
        font-family: "obviously", sans-serif !important;
        font-size: clamp(40px, 11vw, 65px);
        font-weight: 900;

        letter-spacing: -0.06em;
        line-height: 1;

        color: #000;
        opacity: 1;
    }


    /* TÍTOL */

    .artwork-heading {
        width: 100%;

        margin-top: 30px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 35px;
    }

    .artwork-heading h1 {
        width: 100%;

        font-size: 15vw;
        line-height: 0.9;
        letter-spacing: -0.075em;

        white-space: normal;
    }


    /* TEXT */

    .artwork-intro {
        width: 100%;
        flex-shrink: 1;
        margin: 0;
    }

    .artwork-intro span {
        font-size: 11px;
        margin-bottom: 15px;
    }

    .artwork-intro p {
        font-size: 20px;
        line-height: 1.35;
        letter-spacing: -0.025em;
    }


    /* GALERIA */

    .artwork-gallery {
        width: 100%;

        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;

        gap: 35px;

        margin-top: 65px;

        overflow: visible;
    }

    .artwork-item {
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
    }


    /* NÚMERO */

    .artwork-caption {
        font-size: 12px;
        margin-bottom: 10px;
    }


    /* IMATGES */

    .artwork-image {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        overflow: visible;
        background: transparent;
    }

    .artwork-image img {
        width: 100%;
        height: auto;

        display: block;

        object-fit: contain;
        cursor: zoom-in;

        transform: none !important;
    }


    /* FOOTER */

    .artwork-footer {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;

        align-items: center;

        margin-top: 60px;
        gap: 5px;

        font-size: 10px;
    }

    .artwork-footer span:nth-child(1) {
        text-align: left;
    }

    .artwork-footer span:nth-child(2) {
        text-align: center;
    }

    .artwork-footer span:nth-child(3) {
        text-align: right;
    }

}

@media (max-width: 700px) {

    .artwork-header {
        margin-left: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    .artwork-logo {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

}



/* =====================================================
   HOME — MOBILE REDESIGN
   Mantiene el estilo original
===================================================== */

@media (max-width: 700px) {

    /* =========================
       BASE
    ========================= */

    html,
    body {
        width: 100%;
        overflow-x: clip;
    }

    /* =========================
       HERO
    ========================= */

    .hero {
        height: 100svh;
        min-height: 680px;
        height: auto;
        min-height: 100svh;
        position: relative;
        overflow: hidden;
    }

    /* HELENA */

    .hero-name {
        position: absolute;

        top: 22px;
        left: 20px;

        font-size: 40vw;
        line-height: 0.9;
        letter-spacing: -0.04em;

        white-space: nowrap;
    }

    body.scrolled .hero-name {
        position: fixed;

        top: 20px;
        left: 20px;

        font-size: 18px;
    }

    /* =========================
       HAMBURGER
    ========================= */

    .hero-menu-toggle {
        position: fixed;

        top: 22px;
        right: 20px;

        z-index: 300;

        width: 20px;
        height: 10px;

        display: flex;
        flex-direction: column;
        justify-content: space-between;

        padding: 0;

        border: none;
        background: transparent;

        cursor: pointer;
    }

    .hero-menu-toggle span {
        display: block;

        width: 100%;
        height: 1.5px;

        background: #000;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .hero-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(14px) rotate(45deg);
    }

    .hero-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hero-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-14px) rotate(-45deg);
    }

    /* =========================
       MENU
    ========================= */

    .hero-menu {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100svh;

        padding: 110px 20px 40px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        gap: 25px;

        background: #F9F8F5;

        z-index: 250;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity 0.35s ease,
            transform 0.35s ease,
            visibility 0.35s ease;
    }

    .hero-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }

    .hero-menu a {
        font-family: "montserrat", sans-serif !important;

        font-size: 30px;
        font-weight: 300;

        line-height: 1.1;
    }

    body.scrolled .hero-menu {
        top: 0;
        left: 0;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.scrolled .hero-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* =========================
       INTRO
    ========================= */

    .hero-intro {
        position: absolute;

        top: auto;
        bottom: 100px;

        left: 20px;
        right: 20px;

        width: auto;
        max-width: none;

        z-index: 10;
    }

    .hero-intro p {
        font-size: clamp(21px, 6vw, 27px);

        line-height: 1.12;
        letter-spacing: -0.04em;

        font-weight: 500;
    }

    .hero-intro a {
        margin-top: 12px;

        font-size: 22px;

        border-bottom-width: 1px;
    }

    /* =========================
       CURSOR / CANVAS
    ========================= */

    .custom-cursor {
        display: none;
    }

    #mouse-trail {
        pointer-events: none;
    }

    /* =========================
       FIXED NAV
    ========================= */

    .fixed-nav {
        height: 60px;
        padding: 0 20px;
    }

    .nav-description {
        display: none;
    }

    /* =========================
       PROJECTS
    ========================= */

    .projects {
        padding: 0;
    }

    .project-type-cover {
        position: relative;

        width: 100%;
        min-height: auto;

        padding: 65px 20px 55px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .project-type-cover h2 {
        max-width: 100%;

        font-size: clamp(48px, 13.5vw, 96px);

        line-height: 0.88;
        letter-spacing: -0.075em;

        overflow-wrap: normal;
    }

    /* Ajustes de títulos */

    .project-link[href="proyecto-3.html"]
    .project-type-cover h2 {
        transform: none;
    }

    .project-link[href="proyecto-4.html"]
    .project-type-cover h2 {
        transform: none;
        letter-spacing: -0.045em;
    }

    /* Subtítulos */

    .project-type-cover p {
        margin: 18px 0 0 3px;

        font-size: 14px;
        line-height: 1.2;
    }

    /* Números */

    .cover-number {
        position: absolute;

        top: 20px;
        right: 20px;

        font-size: 12px;
    }

    /* Preview */

    .project-preview {
        display: block;

        position: relative;

        left: auto;
        top: auto;

        transform: none;

        width: 100%;
        height: auto;

        max-height: 230px;

        object-fit: cover;

        border-radius: 0;

        margin-top: 30px;
    }

    .project-link[href="proyecto-2.html"]
    .project-preview {
        position: relative;

        left: auto;
        top: auto;

        transform: none;

        width: 100%;
        height: auto;

        object-fit: cover;
    }

    /* =========================
       ABOUT
    ========================= */

    .about {
        width: 100%;

        min-height: auto;

        margin-top: 80px;
        padding: 0 20px 60px;
    }

    .about-image {
        display: block;

        width: 100%;
        max-width: 100%;

        height: auto;

        object-fit: contain;

        margin: 0 auto;

        transform: none;
    }

    /* =========================
       CONTACT
    ========================= */

    .contact {
        width: 100%;
        padding-top: 20px;
    }

    .contact-main {
        padding: 60px 20px 50px;
    }

    .contact-title {
        font-size: clamp(65px, 17vw, 110px);

        line-height: 0.85;
        letter-spacing: -0.07em;
    }

    .contact-info {
        margin-top: 60px;
        margin-bottom: 50px;

        display: flex;
        flex-direction: column;

        gap: 35px;
    }

    .contact-block {
        gap: 8px;
    }

    .contact-label {
        font-size: 11px;
    }

    .contact-block a {
        font-size: clamp(15px, 4.5vw, 18px);

        max-width: 100%;

        overflow-wrap: anywhere;
    }

    /* =========================
       FOOTER
    ========================= */

    .contact footer {
        display: flex;
        flex-wrap: wrap;

        justify-content: space-between;
        align-items: center;

        gap: 15px;

        padding: 20px;

        font-size: 11px;
    }

}


@media (max-width: 700px) {

    .hero-intro {
        position: absolute;

        top: auto !important;
        bottom: 55vh;

        left: 20px;
        right: auto;

        width: 86%;
        max-width: 370px;

        z-index: 10;
    }

    .hero-intro p {
        font-size: 25px;
        line-height: 1.08;
        letter-spacing: -0.045em;
        font-weight: 500;
    }

    .hero-intro a {
        display: inline-block;

        margin-top: 18px;

        font-size: 22px;
        line-height: 1;
        letter-spacing: -0.03em;

        font-style: italic;

        color: #D9A6A0;
        border-bottom: 1.5px solid #D9A6A0;
    }

}

@media (max-width: 700px) {

    .projects {
        margin-top: -50vh;
    }

}


@media (max-width: 700px) {

    .project-link[href="proyecto-2.html"] .project-preview {
        object-position: center 0.5% !important;
    }

}

/* ABOUT — MÓVIL */

@media (max-width: 700px) {

    .about {
        padding: 0 20px;
    }

    .about-image {
        width: 100%;
        max-width: none;
        height: auto;
        object-fit: cover;
        display: block;
        margin: 0 auto;
        transform: none;
    }

}


@media (max-width: 700px) {

    .about {
        margin-top: 50px !important;
    }

}


@media (max-width: 700px) {

    .contact {
        padding-bottom: 10px !important;
        margin-bottom: 0 !important;
    }

    .contact footer {
        padding-bottom: 10px !important;
        margin-bottom: 0 !important;
    }

    .contact-main {
        padding-bottom: 10px !important;
    }

}


/* =====================================================
   MENU HAMBURGUESA — MÓVIL
===================================================== */

@media (max-width: 700px) {

    .hero-menu-toggle {
        position: fixed;
        top: 22px;
        right: 20px;

        width: 28px;
        height: 22px;

        padding: 0;
        border: none;
        background: transparent;

        display: flex;
        flex-direction: column;
        justify-content: space-between;

        cursor: pointer;
        z-index: 9999;
    }

    .hero-menu-toggle span {
        display: block;
        width: 28px;
        height: 1.5px;
        flex-shrink: 0;

        background: #000;
        border-radius: 2px;

        transform-origin: center;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* CONVERTIR EN CRUZ */

    .hero-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(10.25px) rotate(45deg);
    }

    .hero-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .hero-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-10.25px) rotate(-45deg);
    }
}


@media (max-width: 700px) {
    .hero-menu-toggle {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.scrolled .hero-menu-toggle {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}
