        :root {
            --yk-forest: #25310e;
            --yk-forest-deep: #25310e;
            --yk-sage: #899167;
            --yk-ink-gray: #4d4f46;
            --yk-sage-text: #899167;
            --yk-gold: #d79a2b;
            --yk-ivory: #fbfaf6;
            --yk-white: #ffffff;
            --yk-ink: #252914;
            --yk-line: rgba(47, 59, 3, 0.18);
            --yk-serif: "Playfair Display", Georgia, serif;
            --yk-sans: "Barlow", Arial, sans-serif;
            --yk-gutter: clamp(1.35rem, 5vw, 5.5rem);
            --yk-max: 1380px;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background: var(--yk-ivory);
            color: var(--yk-ink);
            overflow-x: hidden;
        }

        .yk-site,
        .yk-site * {
            box-sizing: border-box;
        }

        .yk-site {
            position: relative;
            isolation: isolate;
            width: 100%;
            overflow: clip;
            background: var(--yk-ivory);
            font-family: var(--yk-sans);
            font-weight: 300;
        }

        .yk-site img {
            display: block;
            width: 100%;
            height: auto;
        }

        .yk-site h1,
        .yk-site h2,
        .yk-site h3,
        .yk-site p,
        .yk-site figure {
            margin: 0;
        }

        .yk-shell {
            width: min(100% - (var(--yk-gutter) * 2), var(--yk-max));
            margin-inline: auto;
        }

        .yk-serif {
            font-family: var(--yk-serif);
        }

        .yk-section {
            position: relative;
            padding-block: clamp(5.5rem, 10vw, 10rem);
        }

        .yk-kicker {
            font-size: 0.8rem;
            font-weight: 500;
            text-transform: uppercase;
        }

        /* 01 · Portada */
        .yk-hero {
            position: relative;
            min-height: 100svh;
            display: grid;
            place-items: center;
            overflow: hidden;
            color: var(--yk-white);
            background: var(--yk-forest-deep);
        }

        .yk-hero__media,
        .yk-hero__veil {
            position: absolute;
            inset: 0;
        }

        .yk-hero__media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transform: scale(1.02);
        }

        .yk-hero__veil {
            background:
                linear-gradient(180deg, rgba(15, 23, 0, 0.22), rgba(20, 29, 0, 0.38)),
                linear-gradient(90deg, rgba(24, 35, 0, 0.16), rgba(24, 35, 0, 0.02));
        }

        .yk-hero__content {
            position: relative;
            z-index: 2;
            width: min(55vw, 500px);
            display: grid;
            justify-items: center;
            gap: clamp(5rem, 16vh, 9rem);
            padding-top: clamp(5rem, 12vh, 8rem);
            text-align: center;
        }

        .yk-hero__wordmark {
            width: min(100%, 500px);
            filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.12));
        }

        .yk-hero__place {
            font-size: clamp(0.92rem, 1.35vw, 1.2rem);
            font-weight: 300;
            line-height: 1.15;
            text-transform: uppercase;
        }

        .yk-hero__place span {
            display: block;
            margin-top: 0.2rem;
        }

        .yk-scroll-cue {
            position: absolute;
            z-index: 2;
            bottom: 1.6rem;
            left: 50%;
            width: 1px;
            height: 46px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.28);
            transform: translateX(-50%);
        }

        .yk-scroll-cue::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--yk-white);
            transform: translateY(-100%);
            animation: yk-scroll-line 2.1s ease-in-out infinite;
        }

        @keyframes yk-scroll-line {
            0% { transform: translateY(-100%); }
            45%, 55% { transform: translateY(0); }
            100% { transform: translateY(100%); }
        }

        /* 02 · Presentación */
        .yk-intro {
            background: var(--yk-white);
        }

       .yk-intro__grid {
    min-height: min(70vh, 780px);
    display: grid;
    grid-template-columns: minmax(380px, 0.88fr) minmax(400px, 1.12fr);
    align-items: center;
    gap: 3vw; /* Reducido de 6vw */
}

.yk-intro__title {
    max-width: 18ch; /* Aumentado de 12ch para reducir el espacio vacío */
    color: var(--yk-sage-text);
    font-family: var(--yk-serif);
    font-size: clamp(3rem, 3.2vw, 3rem);
    font-weight: 400;
    width: 100%;
    line-height: 1.5;
}

        .yk-intro__image {
            position: relative;
            margin-top: clamp(0rem, 5vw, 4rem);
            overflow: hidden;
        }

        .yk-intro__image::before {
            content: "";
            position: absolute;
            z-index: 1;
            inset: 0;
            border: 1px solid rgba(255, 255, 255, 0.24);
            pointer-events: none;
        }

        .yk-intro__image img {
            aspect-ratio: 1.43 / 1;
            object-fit: cover;
        }

        /* 03 · Tipologías */
        /* 03 · Tipologías */
.yk-lots {
    padding-top: clamp(3rem, 5vw, 4rem); /* Reduce el espacio superior heredado de .yk-section */
    padding-bottom: 0;
    color: var(--yk-white);
    background: var(--yk-sage);
}

.yk-lots__top {
    display: grid;
    grid-template-columns: minmax(320px, 1.25fr) minmax(220px, 0.75fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem); /* Reducido de 10rem máximo */
    padding-bottom: clamp(2rem, 4vw, 4rem); /* Reducido de 7rem máximo */
}

.yk-lots__copy {
    max-width: 27ch;
    font-size: clamp(1.5rem, 2.5vw, 2.4rem); /* Letra más pequeña (antes máx 3.45rem) */
    font-weight: 400;
    line-height: 1.28;
}

.yk-lots__types {
    display: grid;
    justify-items: start;
    gap: 0.25rem;
    font-size: clamp(1.15rem, 1.8vw, 1.8rem); /* Letra más pequeña (antes máx 2.65rem) */
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
}

.yk-lots__divider {
    width: clamp(3rem, 6vw, 5rem);
    height: 3px;
    margin-block: 0.5rem;
    background: var(--yk-gold);
}

/* Contenedor que oculta el desbordamiento de la pista móvil */
.yk-lots__gallery-wrapper {
    overflow: hidden;
    background: var(--yk-white);
    padding-block: clamp(1.5rem, 3vw, 3rem);
}

/* La pista del carrusel */
.yk-lots__gallery {
    display: flex;
    width: max-content;
    gap: clamp(0.5rem, 1vw, 1rem);
    animation: yk-marquee 35s linear infinite;
}

/* Opcional: Pausar el carrusel al poner el cursor encima */
.yk-lots__gallery:hover {
    animation-play-state: paused;
}

.yk-lots__gallery figure {
    width: clamp(260px, 25vw, 400px); /* Mantiene un ancho uniforme en la línea */
    flex-shrink: 0;
    overflow: hidden;
    background: var(--yk-forest);
    margin: 0;
}

.yk-lots__gallery img {
    aspect-ratio: 1.55 / 1;
    object-fit: cover;
    width: 100%;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.yk-lots__gallery figure:hover img {
    transform: scale(1.035);
}

/* Animación que desplaza exactamente la mitad del contenido (el grupo original) */
@keyframes yk-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - (clamp(0.5rem, 1vw, 1rem) / 2))); }
}
        /* 04 · Amenidades */
        .yk-amenities {
            background: var(--yk-white);
            margin-top: 0;
        }

        .yk-amenities__header {
            margin-bottom: clamp(2.8rem, 5vw, 4.75rem);
            color: var(--yk-sage-text);
            font-size: clamp(1.8rem, 2.3vw, 1.8rem);
            padding-bottom: 5vw;
            margin-top: 0;
            font-weight: 400;
            color: var(--yk-ink-gray);
        }

        .yk-amenities__list {
            max-width: 1180px;
            display: grid;
            gap: 0;
        }

        .yk-amenity {
            display: grid;
            grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
            gap: clamp(1.75rem, 5vw, 6rem);
            padding-block: clamp(1.25rem, 2vw, 2rem);
            border-top: 1px solid var(--yk-line);
        }

        .yk-amenity:last-child {
            border-bottom: 1px solid var(--yk-line);
        }

        .yk-amenity h3 {
            color: var(--yk-sage-text);
            font-family: var(--yk-serif);
            font-size: clamp(1.15rem, 1.7vw, 1.65rem);
            font-weight: 600;
            line-height: 1.15;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .yk-amenity p {
            max-width: 80ch;
            font-size: clamp(1.3rem, 1.5vw, 1.5rem);
            font-weight: 300;
            line-height: 1.55;
        }

        /* 05 · Ubicación */
        .yk-location {
            min-height: 88vh;
            display: grid;
            align-items: center;
            color: var(--yk-white);
            background: var(--yk-forest);
        }

        .yk-location__grid {
            display: grid;
            grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.05fr);
            align-items: center;
            gap: clamp(2rem, 6vw, 7rem);
        }

        .yk-location__copy {
            max-width: 26ch;
            font-size: clamp(1.5rem, 2.8vw, 3rem);
            font-weight: 300;
            line-height: 1.5;
        }

        .yk-location__visual {
            width: min(100%, 620px);
            justify-self: end;
        }

        /* 06 · Contexto y ESG */
        .yk-context {
            background: var(--yk-white);
        }

        .yk-context__grid {
            display: grid;
            grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
            align-items: start;
            gap: clamp(3rem, 7vw, 7rem);
        }

        .yk-context__image {
            margin-top: 0.5rem;
            overflow: hidden;
        }

        .yk-context__image img {
            aspect-ratio: 1.36 / 1;
            object-fit: cover;
        }

        .yk-context__copy {
            display: grid;
            gap: clamp(2rem, 4vw, 3.2rem);
            font-size: clamp(1.15rem, 1.7vw, 1.75rem);
            font-weight: 400;
            line-height: 1.42;
        }

        /* 07 · Master plan */
        .yk-master {
            min-height: 100vh;
            width: 100vw;
            background: var(--yk-white);
            margin: 0;
        }

        .yk-master__heading {
            color: var(--yk-forest);
            font-family: var(--yk-serif);
            font-size: clamp(1.4rem, 2vw, 2rem);
            font-weight: 600;
            letter-spacing: 0.05em;
            padding-bottom: 8vw;
            text-transform: uppercase;
        }

        .yk-master__stage {
            position: relative;
            width: 100%;
            margin: 0;
        }

        .yk-master__plan {
            position: relative;
            min-height: clamp(420px, 63vw, 760px);
            overflow: hidden;
            background: #edf0e8;
        }

        .yk-master__plan::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(20, 29, 0, 0.38) 0%, rgba(37, 49, 14, 0.2) 100%);
            pointer-events: none;
        }

        .yk-master__plan img {
            width: 100%;
            height: 100%;
            min-height: inherit;
            object-fit: cover;
            object-position: center;
        }

        .yk-price {
            position: absolute;
            z-index: 2;
            bottom: clamp(1.2rem, 4vw, 3.5rem);
            left: clamp(1.2rem, 4vw, 3.5rem);
            width: min(370px, calc(100% - 2.4rem));
            padding: clamp(1.35rem, 2.8vw, 2.4rem);
            color: var(--yk-forest);
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
        }

        .yk-price p {
            font-size: clamp(1rem, 1.45vw, 1.4rem);
            line-height: 1.25;
        }

        .yk-price strong {
            display: block;
            margin-block: 0.15rem;
            font-size: clamp(1.8rem, 3.2vw, 3rem);
            font-weight: 600;
            line-height: 1;
        }

        /* 08 · Residencias */
        .yk-residences {
            position: relative;
            min-height: 100vh;
            display: grid;
            align-items: center;
            overflow: hidden;
            background: #315123;
        }

        .yk-residences__background,
        .yk-residences__background::after {
            position: absolute;
            inset: 0;
        }

        .yk-residences__background img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .yk-residences__background::after {
            content: "";
            background: rgba(31, 58, 23, 0.34);
        }

        .yk-residences__panel {
            position: relative;
            z-index: 1;
            display: grid;
            grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
            gap: clamp(2.5rem, 6vw, 6rem);
            align-items: center;
            padding: clamp(2.2rem, 5vw, 5.25rem);
            color: var(--yk-white);
            background: rgba(222, 225, 211, 0.499);
            backdrop-filter: blur(3px);
        }

        .yk-residences__title {
        font-style: italic;
            max-width: 15ch;
            color: var(--yk-white);
            font-family: var(--yk-serif);
            font-size: clamp(1.5rem, 4vw, 4rem);
            font-weight: 600;
            letter-spacing: 0.02em;
            line-height: 1.11;
        }

        .yk-residences__note {
            margin-top: 2rem !important;
            font-family: var(--yk-sans);
            font-size: clamp(1rem, 1.5vw, 1.5rem);
            font-style: italic;
        }
        .asterisk {
            font-size: 2rem;
            vertical-align: super;
        }

        .yk-residences__images {
            display: grid;
            grid-template-rows: 1fr 1fr;
        }

        .yk-residences__images img {
            height: 100%;
            max-height: 360px;
            object-fit: cover;
        }

        /* 09 · Cierre */
        .yk-closing {
            min-height: 100svh;
            display: grid;
            align-items: center;
            color: var(--yk-white);
            background: var(--yk-forest);
        }

        .yk-closing__grid {
            min-height: 72vh;
            display: grid;
            grid-template-columns: minmax(300px, 1fr) minmax(240px, 0.7fr);
            gap: 3rem;
            align-items: end;
        }

        .yk-closing__statement {
            align-self: center;
        }

        .yk-closing__title {
            max-width: 18ch;
            font-family: var(--yk-serif);
            font-size: clamp(4rem, 6vw, 5rem);
            font-weight: 300;
            line-height: 1.2;
        }

        .yk-closing__logo {
            max-width: 15vw;
            margin-top: clamp(4rem, 8vw, 6rem);
        }
        
        .yk-closing__meta {
            justify-self: end;
            align-self: end;
            display: grid;
            justify-items: start;
            gap: 1.1rem;
            padding-bottom: 0.25rem;
        }

        .yk-social {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .yk-social svg {
            width: 2rem;
            height: 2rem;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
        }

        .yk-social .yk-facebook {
            width: 1.65rem;
            fill: currentColor;
            stroke: none;
        }

        .yk-copyright {
            font-size: 0.76rem;
            font-weight: 300;
        }

        /* Motion helpers */
        .yk-reveal {
            will-change: transform, opacity;
        }

        @media (max-width: 980px) {
            .yk-intro__grid,
            .yk-location__grid,
            .yk-context__grid,
            .yk-residences__panel,
            .yk-closing__grid {
                grid-template-columns: 1fr;
            }

            .yk-intro__grid {
                min-height: auto;
            }

            .yk-intro__title {
                max-width: 14ch;
            }

            .yk-location__copy {
                max-width: 22ch;
            }

            .yk-location__visual {
                width: min(100%, 620px);
                justify-self: center;
            }

            .yk-context__image {
                width: min(100%, 760px);
            }

            .yk-residences__title {
                max-width: 12ch;
            }

            .yk-closing__grid {
                align-items: start;
            }

            .yk-closing__meta {
                justify-self: start;
            }
        }

        @media (max-width: 760px) {
            /* Espaciado general de secciones */
            .yk-section {
                padding-block: clamp(3.5rem, 8vw, 5rem);
            }

            .yk-hero__content {
                width: min(80vw, 300px); /* Ligeramente más ancho para respirar */
                gap: 20vh;
            }

            /* 02 · Presentación */
            .yk-intro__grid {
                grid-template-columns: 1fr;
                gap: 2rem; /* Separación fija en lugar de vw para mejor control */
            }

            .yk-intro__title {
                max-width: 100%;
                font-size: clamp(2rem, 6.5vw, 2.5rem); /* Letra más proporcionada a la pantalla */
                line-height: 1.3;
                text-align: center; /* Centrar para mejor lectura en una columna */
            }

            .yk-intro__image {
                margin-top: 0;
            }

            /* 03 · Tipologías */
            .yk-lots__top {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                padding-bottom: 2rem;
            }

            .yk-lots__copy {
                max-width: 100%;
                font-size: clamp(1.4rem, 5vw, 1.75rem); /* Texto principal más legible */
                line-height: 1.35;
            }

            .yk-lots__types {
                font-size: clamp(1.1rem, 4vw, 1.3rem);
                gap: 0.5rem;
            }

            /* Carrusel móvil: Imágenes un poco más pequeñas para que quepan mejor */
            .yk-lots__gallery figure {
                width: clamp(200px, 65vw, 260px); 
            }

            /* 04 · Amenidades */
            .yk-amenity {
                grid-template-columns: 1fr;
                gap: 0.5rem;
                padding-block: 1.2rem;
            }
            
            .yk-amenity h3 {
                font-size: clamp(1.2rem, 4.5vw, 1.4rem);
            }

            .yk-amenity p {
                font-size: clamp(1.1rem, 4vw, 1.25rem);
                line-height: 1.45;
            }

            .yk-amenities__header {
                font-size: clamp(1.4rem, 5vw, 1.6rem);
                margin-bottom: 2rem;
                padding-bottom: 0;
            }

            /* 05 · Ubicación */
            .yk-location {
                min-height: auto;
            }

            .yk-location__grid {
                gap: 2rem;
            }

            .yk-location__copy {
                max-width: 100%;
                font-size: clamp(1.4rem, 5vw, 1.75rem);
                line-height: 1.36;
            }

            /* 06 · Contexto */
            .yk-context__grid {
                gap: 2rem;
            }

            .yk-context__copy {
                font-size: clamp(1.1rem, 4vw, 1.25rem);
                font-weight: 300;
                gap: 1.5rem;
            }

            /* 07 · Master plan */
            .yk-master__heading {
                font-size: clamp(1.2rem, 4.5vw, 1.4rem);
                padding-bottom: 1.5rem;
            }

            .yk-master__plan {
                min-height: 480px;
            }

            .yk-master__plan img {
                object-position: 53% center;
            }
            
            .yk-price {
                bottom: 1rem;
                left: 1rem;
                width: calc(100% - 2rem);
                padding: 1.2rem;
            }

            .yk-price strong {
                font-size: clamp(1.5rem, 6vw, 1.8rem);
            }

            /* 08 · Residencias */
            .yk-residences__panel {
                padding: 1.5rem;
                gap: 1.5rem;
            }

            .yk-residences__title {
                max-width: 100%;
                font-size: clamp(2rem, 6.5vw, 2.5rem);
            }

            .yk-residences__images img {
                max-height: 240px;
            }

            /* 09 · Cierre */
            .yk-closing {
                min-height: auto; /* Permite que el footer se adapte al contenido */
            }

            .yk-closing__grid {
                min-height: auto;
                gap: 2.5rem;
            }

            .yk-closing__title {
                max-width: 100%;
                font-size: clamp(2.4rem, 8vw, 3rem);
            }

            .yk-closing__logo {
                max-width: 20vw; /* El logo no debe ser tan pequeño en móvil */
                margin-top: 2rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            .yk-scroll-cue::after {
                animation: none;
            }
        }
/* Lightbox Styles */
.yk-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(37, 49, 14, 0.95); /* Tono var(--yk-forest) oscuro */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: blur(5px);
}
.yk-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}
.yk-lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.yk-lightbox.is-active .yk-lightbox__img {
    transform: scale(1);
}
.yk-lightbox__close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #D69A2D; /* var(--yk-gold) */
    font-size: 40px;
    font-family: sans-serif;
    cursor: pointer;
    line-height: 1;
}
/* Componente de Botón */
.yk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    padding: 1rem 2.2rem;
    background: transparent;
    color: var(--yk-gold);
    font-family: var(--yk-sans);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.08em;
    border: 1px solid var(--yk-gold);
    transition: all 0.3s ease;
    cursor: pointer;
}

.yk-button:hover {
    background: var(--yk-gold);
    color: var(--yk-white);
}

/* Ajuste móvil para el botón */
@media (max-width: 760px) {
    .yk-button {
        margin-top: 1.5rem;
        width: 100%;
    }
}
