
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* =========================================
   YAXCHÉ V5
   SISTEMA DE DISEÑO
========================================= */

:root {
    --yx5-green: #073B29;
    --yx5-deep: #03261A;
    --yx5-mid: #17583C;

    --yx5-gold: #C0A46C;
    --yx5-cream: #F7F6F0;

    --yx5-white: #FFFFFF;
    --yx5-text: #20372C;
    --yx5-muted: #68786D;
    --yx5-border: #DDE5DC;

    --yx5-serif: 'Playfair Display', Georgia, serif;
    --yx5-sans: 'DM Sans', Arial, sans-serif;

    --yx5-ease: cubic-bezier(.22,.61,.36,1);

    --yx5-drift-a: 0px;
    --yx5-drift-b: 0px;
    --yx5-drift-c: 0px;
    --yx5-hero-shift: 0px;
}

.yx5-shell {
    background: var(--yx5-cream);
    color: var(--yx5-text);

    font-family: var(--yx5-sans);

    min-height: 100vh;
    overflow-x: clip;

    position: relative;
    isolation: isolate;
}

.yx5-shell *,
.yx5-shell *::before,
.yx5-shell *::after {
    box-sizing: border-box;
}

.yx5-shell button,
.yx5-shell input,
.yx5-shell select {
    font: inherit;
}

.yx5-shell a {
    text-decoration: none;
}

.yx5-shell [hidden] {
    display: none !important;
}

.yx5-container {
    width: min(1240px, 90%);
    margin-inline: auto;
}

.yx5-shell section[id] {
    scroll-margin-top: 115px;
}

.yx5-shell :focus-visible {
    outline: 3px solid var(--yx5-gold);
    outline-offset: 4px;
}

.yx5-main {
    position: relative;
    z-index: 1;
}

.yx5-inner .yx5-main {
    padding-top: 112px;
}

/* =========================================
   01. FONDO GLOBAL CON MOVIMIENTO
========================================= */

.yx5-atmosphere {
    position: fixed;
    inset: 0;

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

    overflow: hidden;

    background: var(--yx5-cream);
}

.yx5-atmo-layer {
    position: absolute;
    inset: 0;

    opacity: 0;

    transition: opacity 1.1s ease;
}

/* VERDE SUAVE / MARFIL */

.yx5-atmo-light {
    background:
        radial-gradient(
            ellipse at 12% 20%,
            rgba(92, 159, 113, .30),
            transparent 49%
        ),
        radial-gradient(
            ellipse at 86% 72%,
            rgba(164, 194, 155, .31),
            transparent 51%
        ),
        linear-gradient(
            140deg,
            #F7F8F1,
            #E6EFE4 55%,
            #F8F7F0
        );
}

/* MARFIL / DORADO */

.yx5-atmo-warm {
    background:
        radial-gradient(
            ellipse at 78% 16%,
            rgba(194, 164, 108, .24),
            transparent 50%
        ),
        radial-gradient(
            ellipse at 12% 84%,
            rgba(100, 154, 106, .21),
            transparent 48%
        ),
        linear-gradient(
            145deg,
            #F8F5EA,
            #EBF0E5,
            #F8F4E8
        );
}

/* VERDE BOSQUE */

.yx5-atmo-dark {
    background:
        radial-gradient(
            ellipse at 10% 20%,
            rgba(45, 111, 74, .67),
            transparent 55%
        ),
        radial-gradient(
            ellipse at 90% 80%,
            rgba(6, 64, 39, .94),
            transparent 60%
        ),
        linear-gradient(
            140deg,
            #03251B,
            #0B4930,
            #031E16
        );
}

/* CAMBIOS DE ATMÓSFERA */

.yx5-shell[data-yx-scene="light"]
.yx5-atmo-light {
    opacity: 1;
}

.yx5-shell[data-yx-scene="warm"]
.yx5-atmo-warm {
    opacity: 1;
}

.yx5-shell[data-yx-scene="dark"]
.yx5-atmo-dark {
    opacity: 1;
}

/* FORMAS ORGÁNICAS */

.yx5-orb {
    position: absolute;
    border-radius: 50%;

    will-change: transform;

    transition:
        background .8s ease,
        opacity .8s ease;
}

.yx5-orb-one {
    width: min(70vw, 760px);
    height: min(70vw, 760px);

    top: -20%;
    left: -19%;

    background:
        radial-gradient(
            circle,
            rgba(130, 185, 135, .39),
            rgba(130, 185, 135, .09) 55%,
            transparent 72%
        );

    transform:
        translate3d(
            0,
            var(--yx5-drift-a),
            0
        );
}

.yx5-orb-two {
    width: min(65vw, 740px);
    height: min(65vw, 740px);

    top: 30%;
    right: -23%;

    background:
        radial-gradient(
            circle,
            rgba(197, 176, 118, .26),
            rgba(197, 176, 118, .07) 55%,
            transparent 72%
        );

    transform:
        translate3d(
            0,
            var(--yx5-drift-b),
            0
        );
}

.yx5-orb-three {
    width: min(54vw, 610px);
    height: min(54vw, 610px);

    bottom: -24%;
    left: 27%;

    background:
        radial-gradient(
            circle,
            rgba(71, 145, 92, .28),
            rgba(71, 145, 92, .06) 55%,
            transparent 72%
        );

    transform:
        translate3d(
            0,
            var(--yx5-drift-c),
            0
        );
}

.yx5-atmo-grain {
    position: absolute;
    inset: 0;

    opacity: .17;

    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(255,255,255,.045) 4px
        );
}

/* =========================================
   02. NAVBAR PROFESIONAL
========================================= */

.yx5-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    --yx5-mega-top: 112px;

    transition:
        box-shadow .3s,
        background .3s;
}

/* FRANJA SUPERIOR */

.yx5-topbar {
    height: 32px;

    background: var(--yx5-deep);
    color: #E1E8DC;

    overflow: hidden;

    transition:
        height .3s,
        opacity .3s;
}

.yx5-topbar-inner {
    height: 100%;

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

    gap: 20px;

    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.yx5-topbar a {
    color: var(--yx5-gold);
}

.yx5-topbar-center {
    color: rgba(255,255,255,.65);
}

/* NAVEGACIÓN */

.yx5-nav {
    width: 100%;
    height: 80px;

    padding-inline: max(4%, calc((100vw - 1400px) / 2));

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;
    gap: 40px;

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid var(--yx5-border);

    transition:
        height .3s,
        background .3s;
}

.yx5-header.is-scrolled {
    --yx5-mega-top: 76px;

    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.yx5-header.is-scrolled .yx5-topbar {
    height: 0;
    opacity: 0;
}

.yx5-header.is-scrolled .yx5-nav {
    height: 76px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
}

/* LOGO */

.yx5-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    width: max-content;

    color: var(--yx5-green);
}

.yx5-brand-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border: 1px solid currentColor;
    border-radius: 50%;

    font-size: 25px;

    transition: transform .5s var(--yx5-ease);
}

.yx5-brand:hover .yx5-brand-icon {
    transform: rotate(90deg);
}

.yx5-brand-copy {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.yx5-brand-copy strong {
    font-family: var(--yx5-serif);

    font-size: 29px;
    font-weight: 600;

    letter-spacing: 2px;
}

.yx5-brand-copy small {
    font-size: 8px;
    letter-spacing: 1.4px;

    margin-top: 5px;
}

/* ENLACES */

.yx5-desktop-nav {
    display: flex;
    align-items: center;
    gap: 31px;

    height: 100%;
}

.yx5-desktop-nav > a,
.yx5-mega > summary {
    position: relative;

    font-size: 12px;
    font-weight: 600;

    color: var(--yx5-text);

    cursor: pointer;
}

.yx5-desktop-nav > a::after,
.yx5-mega > summary::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -12px;

    width: 0;
    height: 2px;

    background: var(--yx5-gold);

    transition: width .3s;
}

.yx5-desktop-nav > a:hover::after,
.yx5-desktop-nav > a[aria-current="page"]::after,
.yx5-mega[open] > summary::after {
    width: 100%;
}

/* MEGAMENÚ */

.yx5-mega > summary {
    display: flex;
    align-items: center;
    gap: 8px;

    list-style: none;
}

.yx5-mega > summary::-webkit-details-marker {
    display: none;
}

.yx5-chevron {
    transition: transform .3s;
}

.yx5-mega[open] .yx5-chevron {
    transform: rotate(180deg);
}

.yx5-mega-panel {
    position: fixed;

    top: var(--yx5-mega-top);
    left: 50%;

    transform: translateX(-50%);

    width: min(1040px, 92vw);

    display: grid;
    grid-template-columns: 1fr 1.15fr .8fr;

    background: white;
    color: var(--yx5-text);

    border: 1px solid var(--yx5-border);

    box-shadow: 0 35px 65px rgba(0,0,0,.17);

    animation: yx5MegaEnter .25s ease-out;
}

@keyframes yx5MegaEnter {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.yx5-mega-intro {
    padding: 40px;

    background: var(--yx5-cream);
}

.yx5-kicker {
    display: block;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
    color: var(--yx5-mid);
}

.yx5-kicker-light {
    color: #D8C18E;
}

.yx5-mega-intro h3 {
    font-family: var(--yx5-serif);

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

    line-height: 1.3;
    margin: 17px 0;
}

.yx5-mega-intro p {
    font-size: 12px;
    line-height: 1.9;

    color: var(--yx5-muted);
}

.yx5-mega-intro > a {
    display: inline-block;

    margin-top: 30px;
    padding-bottom: 9px;

    border-bottom: 1px solid var(--yx5-gold);

    font-size: 12px;
    font-weight: 700;

    color: var(--yx5-green);
}

.yx5-mega-links {
    padding: 23px 32px;
}

.yx5-mega-links a {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 13px 0;

    border-bottom: 1px solid var(--yx5-border);

    font-family: var(--yx5-serif);
    font-size: 19px;

    transition:
        padding .2s,
        color .2s;
}

.yx5-mega-links a:hover {
    padding-left: 8px;
    color: var(--yx5-mid);
}

.yx5-mega-links small {
    color: var(--yx5-gold);

    font-family: var(--yx5-sans);
    font-size: 10px;
}

.yx5-mega-links a span {
    margin-left: auto;

    font-family: var(--yx5-sans);
    font-size: 14px;
}

.yx5-mega-visual {
    background:
        linear-gradient(
            rgba(2,35,21,.26),
            rgba(2,35,21,.85)
        ),
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=800&q=80')
        center/cover;

    padding: 30px;

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

    color: white;
}

.yx5-mega-visual > span {
    font-size: 9px;
    letter-spacing: 1.5px;
}

.yx5-mega-visual strong {
    font-family: var(--yx5-serif);

    font-size: 27px;
    font-weight: 400;
    line-height: 1.35;
}

/* ACCIONES */

.yx5-nav-actions {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 20px;
}

.yx5-contact-link {
    font-size: 12px;
    font-weight: 700;

    color: var(--yx5-green);
}

.yx5-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 29px;

    padding: 15px 20px;

    background: var(--yx5-green);
    color: white;

    font-size: 12px;
    font-weight: 700;

    transition:
        background .3s,
        transform .3s;
}

.yx5-nav-cta:hover {
    background: var(--yx5-mid);
    transform: translateY(-2px);
}

.yx5-menu-button {
    display: none;

    width: 47px;
    height: 47px;

    background: var(--yx5-green);
    border: none;

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

    gap: 6px;
}

.yx5-menu-button span {
    width: 21px;
    height: 2px;

    background: white;

    transition: transform .3s;
}

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

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

/* NAV TRANSPARENTE EN HOME */

.yx5-home .yx5-header:not(.is-scrolled):not(.menu-open)
.yx5-nav {
    background: transparent;

    border-color: rgba(255,255,255,.25);
}

.yx5-home .yx5-header:not(.is-scrolled):not(.menu-open)
.yx5-brand,
.yx5-home .yx5-header:not(.is-scrolled):not(.menu-open)
.yx5-desktop-nav > a,
.yx5-home .yx5-header:not(.is-scrolled):not(.menu-open)
.yx5-mega > summary,
.yx5-home .yx5-header:not(.is-scrolled):not(.menu-open)
.yx5-contact-link {
    color: white;
}

.yx5-home .yx5-header:not(.is-scrolled):not(.menu-open)
.yx5-nav-cta {
    background: var(--yx5-gold);
    color: var(--yx5-deep);
}

/* MOBILE */

.yx5-mobile-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;
    max-height: calc(100dvh - 76px);

    overflow-y: auto;

    padding: 20px 5% 35px;

    background: var(--yx5-green);
    color: white;

    box-shadow: 0 25px 45px rgba(0,0,0,.2);
}

.yx5-mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.yx5-mobile-menu nav a {
    display: grid;

    grid-template-columns: 34px 1fr auto;

    align-items: center;
    gap: 15px;

    padding: 13px 0;

    border-bottom: 1px solid rgba(255,255,255,.18);

    color: white;

    font-family: var(--yx5-serif);
    font-size: 23px;
}

.yx5-mobile-menu nav small {
    font-family: var(--yx5-sans);
    font-size: 10px;

    color: var(--yx5-gold);
}

.yx5-mobile-footer {
    padding-top: 30px;

    font-size: 10px;
    letter-spacing: 2px;

    color: var(--yx5-gold);
}

/* SCROLL PROGRESS */

.yx5-progress {
    position: fixed;
    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    z-index: 2000;

    background: var(--yx5-gold);

    pointer-events: none;
}

/* =========================================
   03. COMPONENTES COMPARTIDOS
========================================= */

.yx5-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    min-height: 55px;
    padding: 0 24px;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform .3s,
        background .3s;
}

.yx5-button:hover {
    transform: translateY(-3px);
}

.yx5-button-gold {
    background: var(--yx5-gold);
    color: var(--yx5-deep);
}

.yx5-button-green {
    background: var(--yx5-green);
    color: white;
}

.yx5-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;

    gap: 40px;
    margin-bottom: 45px;
}

.yx5-section-heading h2,
.yx5-intro h2,
.yx5-process-heading h2 {
    font-family: var(--yx5-serif);

    font-size: clamp(38px, 4.4vw, 62px);
    font-weight: 400;

    line-height: 1.25;
    margin-top: 15px;
}

.yx5-section-heading h2 em,
.yx5-intro h2 em,
.yx5-process-heading h2 em {
    display: block;

    color: var(--yx5-mid);
    font-weight: 400;
}

.yx5-section-heading > a {
    flex-shrink: 0;

    font-size: 12px;
    font-weight: 700;

    border-bottom: 1px solid var(--yx5-gold);
    padding-bottom: 10px;
}

/* =========================================
   04. HERO CON PARALLAX
========================================= */

.yx5-hero {
    position: relative;

    height: min(920px, 100svh);
    min-height: 760px;

    background: var(--yx5-deep);
    color: white;

    overflow: hidden;
    isolation: isolate;
}

.yx5-hero-image {
    position: absolute;
    inset: -12% 0;

    z-index: -2;

    background:
        url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2000&q=85')
        center/cover no-repeat;

    transform:
        translate3d(
            0,
            var(--yx5-hero-shift),
            0
        );

    will-change: transform;
}

.yx5-hero-shade {
    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(1,26,17,.92),
            rgba(1,26,17,.54) 60%,
            rgba(1,26,17,.28)
        );
}

.yx5-hero-grid {
    height: 100%;

    position: relative;

    display: flex;
    align-items: center;
}

.yx5-hero-copy {
    max-width: 820px;

    padding: 130px 0 175px;
}

.yx5-hero-copy h1 {
    font-family: var(--yx5-serif);

    font-size: clamp(54px, 7vw, 104px);
    font-weight: 400;

    line-height: 1.13;
    letter-spacing: -2px;

    margin: 26px 0;
}

.yx5-hero-copy h1 em {
    display: block;

    font-weight: 400;
    color: #D9C593;
}

.yx5-hero-copy p {
    max-width: 460px;

    font-size: 15px;
    line-height: 1.9;

    color: rgba(255,255,255,.84);
}

.yx5-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 30px;

    margin-top: 35px;
}

.yx5-hero-text-link {
    font-size: 12px;
    font-weight: 700;

    color: white;
}

.yx5-hero-editorial {
    position: absolute;

    right: 0;
    bottom: 200px;

    width: 220px;

    background: rgba(3,38,26,.58);

    border: 1px solid rgba(255,255,255,.25);

    backdrop-filter: blur(15px);

    padding: 25px;
}

.yx5-hero-editorial > span {
    display: block;

    font-size: 9px;
    letter-spacing: 1.5px;

    color: #E0CCA1;
}

.yx5-editorial-rule {
    height: 1px;
    width: 45px;

    background: var(--yx5-gold);

    margin: 24px 0;
}

.yx5-hero-editorial p {
    font-family: var(--yx5-serif);

    font-size: 23px;
    line-height: 1.4;

    margin-bottom: 25px;
}

.yx5-hero-bottom {
    position: absolute;

    bottom: 88px;
    left: 0;
    right: 0;

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

    font-size: 10px;
    letter-spacing: 2px;
}

.yx5-hero-bottom a {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;

    font-size: 23px;

    transition: background .3s;
}

.yx5-hero-bottom a:hover {
    background: rgba(255,255,255,.2);
}

/* =========================================
   05. BUSCADOR FLOTANTE
========================================= */

.yx5-search-section {
    position: relative;

    margin-top: -55px;
    z-index: 5;
}

.yx5-search-panel {
    background: rgba(255,255,255,.93);

    backdrop-filter: blur(18px);

    padding: 33px 35px;

    border-top: 3px solid var(--yx5-gold);

    box-shadow: 0 25px 75px rgba(0,0,0,.12);
}

.yx5-search-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 25px;
    margin-bottom: 24px;
}

.yx5-search-heading h2 {
    font-family: var(--yx5-serif);

    font-size: 33px;
    font-weight: 400;

    margin-top: 5px;
}

.yx5-search-aside {
    font-size: 10px;
    letter-spacing: 1.5px;

    color: var(--yx5-muted);
}

.yx5-search-tabs {
    display: flex;

    border-bottom: 1px solid var(--yx5-border);

    margin-bottom: 24px;
}

.yx5-search-tab {
    background: transparent;

    border: none;
    border-bottom: 2px solid transparent;

    padding: 12px 23px;

    color: var(--yx5-muted);

    font-size: 12px;
    font-weight: 700;
}

.yx5-search-tab.is-active,
.yx5-search-tab:hover {
    color: var(--yx5-green);
    border-bottom-color: var(--yx5-gold);
}

.yx5-search-form {
    display: grid;

    grid-template-columns: 1fr 1fr auto;

    gap: 12px;
}

.yx5-search-field {
    padding: 12px 17px;

    border: 1px solid var(--yx5-border);

    min-width: 0;
}

.yx5-search-field label {
    display: block;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: var(--yx5-mid);

    margin-bottom: 5px;
}

.yx5-search-field input,
.yx5-search-field select {
    width: 100%;

    min-height: 28px;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--yx5-text);
    font-size: 12px;
}

.yx5-search-submit {
    border: 0;

    background: var(--yx5-green);
    color: white;

    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    font-size: 12px;
    font-weight: 700;

    transition: background .3s;
}

.yx5-search-submit:hover {
    background: var(--yx5-mid);
}

/* =========================================
   06. INTRO CON FONDO VISIBLE
========================================= */

.yx5-intro {
    padding: 145px 0 115px;

    background: transparent;
}

.yx5-intro-layout {
    display: grid;

    grid-template-columns: 1.25fr .75fr;

    align-items: end;

    gap: 90px;
}

.yx5-intro-aside {
    padding-left: 30px;

    border-left: 2px solid var(--yx5-gold);
}

.yx5-decorative-star {
    font-size: 35px;

    color: var(--yx5-mid);
}

.yx5-intro-aside p {
    color: var(--yx5-muted);

    font-size: 13px;
    line-height: 1.9;

    margin: 17px 0 25px;
}

.yx5-intro-aside a {
    font-size: 12px;
    font-weight: 700;

    color: var(--yx5-green);

    border-bottom: 1px solid var(--yx5-gold);

    padding-bottom: 9px;
}

/* =========================================
   07. CATEGORÍAS EDITORIALES
========================================= */

.yx5-categories {
    padding: 95px 0 110px;

    background: rgba(255,255,255,.20);
}

.yx5-category-grid {
    display: grid;

    grid-template-columns: repeat(12, minmax(0,1fr));

    grid-template-rows: repeat(2, 275px);

    gap: 16px;
}

.yx5-category {
    position: relative;

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

    padding: 26px;

    color: white;

    overflow: hidden;
    isolation: isolate;

    background: var(--yx5-green);
}

.yx5-category::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -2;

    background-size: cover;
    background-position: center;

    transition: transform .8s var(--yx5-ease);
}

.yx5-category::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.22),
            rgba(0,0,0,.03) 38%,
            rgba(0,28,16,.91)
        );
}

.yx5-category:hover::before {
    transform: scale(1.08);
}

.yx5-category-house {
    grid-column: span 6;
    grid-row: span 2;
}

.yx5-category-land {
    grid-column: span 6;
}

.yx5-category-lot,
.yx5-category-hectare {
    grid-column: span 3;
}

.yx5-category-house::before {
    background-image:
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1200&q=80');
}

.yx5-category-land::before {
    background-image:
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1000&q=80');
}

.yx5-category-lot::before {
    background-image:
        url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?auto=format&fit=crop&w=900&q=80');
}

.yx5-category-hectare::before {
    background-image:
        url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=900&q=80');
}

.yx5-category-number {
    font-size: 10px;
    letter-spacing: 1.8px;
}

.yx5-category-arrow {
    position: absolute;

    right: 23px;
    top: 23px;

    width: 41px;
    height: 41px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;

    font-size: 20px;

    transition:
        background .3s,
        color .3s;
}

.yx5-category:hover .yx5-category-arrow {
    background: white;
    color: var(--yx5-green);
}

.yx5-category-content > span {
    font-size: 10px;
    letter-spacing: 1.5px;

    color: #E4CD9A;
}

.yx5-category-content h3 {
    font-family: var(--yx5-serif);

    font-size: clamp(29px, 3.6vw, 50px);
    font-weight: 400;

    margin: 5px 0;
}

.yx5-category-content p {
    font-size: 12px;

    color: rgba(255,255,255,.86);
}

/* =========================================
   08. BANDA DE IDENTIDAD
========================================= */

.yx5-brand-break {
    position: relative;

    background: rgba(2,38,25,.76);
    backdrop-filter: blur(12px);

    color: white;

    padding: 40px 0;
}

.yx5-brand-break-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;
}

.yx5-brand-break span:first-child {
    font-family: var(--yx5-serif);

    font-size: 43px;
    letter-spacing: 4px;
}

.yx5-brand-break span:nth-child(2) {
    font-size: 29px;
    color: var(--yx5-gold);
}

.yx5-brand-break p {
    font-family: var(--yx5-serif);

    font-size: 20px;
    font-style: italic;

    color: #E0CCA0;
}

/* =========================================
   09. PROPIEDADES DESTACADAS
========================================= */

.yx5-featured {
    padding: 120px 0;

    background: rgba(255,255,255,.17);
}

.yx5-featured-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 27px;
}

.yx5-featured-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.yx5-featured-filter {
    padding: 10px 18px;

    background: rgba(255,255,255,.8);

    border: 1px solid var(--yx5-border);

    font-size: 11px;
    font-weight: 700;

    color: var(--yx5-green);
}

.yx5-featured-filter:hover,
.yx5-featured-filter.is-active {
    background: var(--yx5-green);
    color: white;
}

.yx5-carousel-controls {
    display: flex;
    gap: 10px;
}

.yx5-carousel-controls button {
    width: 43px;
    height: 43px;

    background: white;

    border: 1px solid var(--yx5-border);

    font-size: 20px;
    color: var(--yx5-green);
}

.yx5-carousel-controls button:hover:not(:disabled) {
    background: var(--yx5-green);
    color: white;
}

.yx5-carousel-controls button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.yx5-property-track {
    display: flex;
    gap: 24px;

    overflow-x: auto;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color: var(--yx5-gold) transparent;

    padding: 4px 0 22px;
}

.yx5-property-card {
    flex: 0 0 calc((100% - 48px) / 3);

    min-width: 0;

    scroll-snap-align: start;

    background: white;

    border: 1px solid var(--yx5-border);

    transition:
        transform .3s,
        box-shadow .3s;
}

.yx5-property-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

.yx5-property-card > a {
    display: block;
}

.yx5-property-image {
    height: 260px;

    position: relative;
    overflow: hidden;

    background: #E3ECE1;
}

.yx5-property-image img {
    height: 100%;
    width: 100%;

    object-fit: cover;

    transition: transform .6s;
}

.yx5-property-card:hover img {
    transform: scale(1.06);
}

.yx5-image-placeholder {
    height: 100%;
    width: 100%;

    display: grid;
    place-items: center;

    text-align: center;

    color: var(--yx5-green);
    font-size: 12px;
}

.yx5-property-badge {
    position: absolute;

    top: 15px;
    left: 15px;

    background: var(--yx5-green);
    color: white;

    padding: 7px 14px;

    font-size: 10px;
}

.yx5-property-arrow {
    position: absolute;

    right: 15px;
    bottom: 15px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: white;
    color: var(--yx5-green);

    border-radius: 50%;

    font-size: 20px;
}

.yx5-property-content {
    padding: 24px;
}

.yx5-property-location {
    display: block;

    font-size: 11px;
    color: var(--yx5-muted);
}

.yx5-property-content h3 {
    font-family: var(--yx5-serif);

    font-size: 24px;
    font-weight: 400;

    line-height: 1.4;

    margin: 10px 0 18px;
}

.yx5-property-specs {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;

    font-size: 11px;
    color: var(--yx5-muted);

    padding-bottom: 19px;
}

.yx5-property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    flex-wrap: wrap;
    gap: 10px;

    padding-top: 17px;

    border-top: 1px solid var(--yx5-border);
}

.yx5-property-footer strong {
    color: var(--yx5-green);
    font-size: 15px;
}

.yx5-property-footer > span {
    font-size: 11px;
    font-weight: 700;
}

.yx5-empty {
    text-align: center;

    padding: 65px 25px;

    background: rgba(255,255,255,.76);

    border: 1px solid var(--yx5-border);
}

.yx5-empty > span {
    font-size: 42px;
    color: var(--yx5-gold);
}

.yx5-empty h3 {
    font-family: var(--yx5-serif);

    font-size: 29px;
    font-weight: 400;

    margin: 13px 0;
}

.yx5-empty p {
    max-width: 450px;

    margin: 0 auto 25px;

    font-size: 13px;
    color: var(--yx5-muted);
}

/* =========================================
   10. NOSOTROS
========================================= */

.yx5-about {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 650px;

    background: rgba(2,37,25,.84);

    backdrop-filter: blur(10px);

    color: white;
}

.yx5-about-photo {
    position: relative;

    min-height: 490px;

    background:
        linear-gradient(
            180deg,
            transparent 35%,
            rgba(0,25,15,.8)
        ),
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1200&q=85')
        center/cover;
}

.yx5-about-photo-caption {
    position: absolute;

    bottom: 45px;
    left: 45px;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.yx5-about-photo-caption span {
    color: var(--yx5-gold);

    font-size: 10px;
    letter-spacing: 2px;
}

.yx5-about-photo-caption strong {
    font-family: var(--yx5-serif);

    font-size: 25px;
    font-weight: 400;
}

.yx5-about-content {
    padding: 80px clamp(35px,6vw,105px);

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

.yx5-about-content h2 {
    font-family: var(--yx5-serif);

    font-size: clamp(38px,4vw,60px);
    font-weight: 400;

    line-height: 1.23;

    margin: 25px 0;
}

.yx5-about-content h2 em {
    color: #E2CB94;

    font-weight: 400;
}

.yx5-gold-line {
    width: 55px;
    height: 2px;

    background: var(--yx5-gold);

    margin-bottom: 28px;
}

.yx5-about-content p {
    font-size: 13px;

    line-height: 1.9;

    color: rgba(255,255,255,.80);

    margin-bottom: 20px;
}

.yx5-about-content > a {
    margin-top: 14px;

    padding-bottom: 10px;

    font-size: 12px;
    font-weight: 700;

    border-bottom: 1px solid var(--yx5-gold);
}

/* =========================================
   11. PROCESO
========================================= */

.yx5-process {
    padding: 115px 0;

    background: rgba(255,255,255,.13);
}

.yx5-process-heading {
    text-align: center;

    margin-bottom: 65px;
}

.yx5-process-heading h2 em {
    display: inline;
}

.yx5-process-grid {
    display: grid;

    grid-template-columns: repeat(4,minmax(0,1fr));
}

.yx5-process-item {
    padding: 30px 25px;

    border-top: 1px solid var(--yx5-gold);
}

.yx5-process-item:not(:last-child) {
    border-right: 1px solid var(--yx5-border);
}

.yx5-process-item > span {
    font-size: 11px;
    letter-spacing: 2px;

    color: var(--yx5-mid);
}

.yx5-process-symbol {
    display: grid;
    place-items: center;

    width: 60px;
    height: 60px;

    border: 1px solid var(--yx5-border);
    border-radius: 50%;

    color: var(--yx5-green);

    font-size: 29px;

    margin: 35px 0 25px;
}

.yx5-process-item h3 {
    font-family: var(--yx5-serif);

    font-size: 27px;
    font-weight: 400;

    margin-bottom: 12px;
}

.yx5-process-item p {
    font-size: 12px;
    line-height: 1.8;

    color: var(--yx5-muted);
}

/* =========================================
   12. CONTACTO
========================================= */

.yx5-contact {
    padding: 120px 0;

    background: rgba(2,34,23,.83);

    backdrop-filter: blur(12px);

    color: white;
}

.yx5-contact-grid {
    display: grid;

    grid-template-columns: 1.15fr .85fr;

    align-items: center;

    gap: 80px;
}

.yx5-contact h2 {
    font-family: var(--yx5-serif);

    font-size: clamp(43px,5vw,73px);
    font-weight: 400;

    line-height: 1.2;

    margin: 25px 0;
}

.yx5-contact h2 em {
    display: block;

    color: #E0CA94;

    font-weight: 400;
}

.yx5-contact-grid > div:first-child > p {
    max-width: 440px;

    margin-bottom: 30px;

    color: rgba(255,255,255,.78);

    font-size: 13px;
    line-height: 1.9;
}

.yx5-contact-panel {
    padding: 42px;

    border: 1px solid rgba(255,255,255,.3);

    background: rgba(255,255,255,.06);
}

.yx5-contact-panel > span {
    color: var(--yx5-gold);

    font-size: 10px;
    letter-spacing: 2px;
}

.yx5-contact-panel h3 {
    font-family: var(--yx5-serif);

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

    line-height: 1.35;

    margin: 25px 0 32px;
}

.yx5-contact-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid var(--yx5-gold);

    font-size: 12px;

    overflow-wrap: anywhere;
}

.yx5-contact-panel small {
    display: block;

    margin-top: 45px;

    font-size: 10px;
    letter-spacing: 2px;

    color: rgba(255,255,255,.6);
}

/* =========================================
   13. FOOTER
========================================= */

.yx5-footer {
    position: relative;
    z-index: 1;

    background: rgba(1,22,15,.93);

    color: white;

    padding: 75px 0 0;
}

.yx5-footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 65px;

    padding-bottom: 70px;
}

.yx5-footer-brand > a {
    font-family: var(--yx5-serif);

    font-size: 38px;
    letter-spacing: 3px;
}

.yx5-footer-brand > span {
    display: block;

    font-size: 9px;
    letter-spacing: 2px;

    color: var(--yx5-gold);

    margin-top: 5px;
}

.yx5-footer-brand p {
    max-width: 340px;

    font-size: 12px;
    line-height: 1.9;

    color: rgba(255,255,255,.68);

    margin-top: 25px;
}

.yx5-footer-links {
    display: flex;
    flex-direction: column;

    align-items: start;

    gap: 15px;
}

.yx5-footer-links h3 {
    font-size: 10px;
    letter-spacing: 2px;

    color: var(--yx5-gold);

    margin-bottom: 8px;
}

.yx5-footer-links a {
    color: rgba(255,255,255,.77);

    font-size: 12px;
}

.yx5-footer-links a:hover {
    color: var(--yx5-gold);
}

.yx5-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.13);

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

    gap: 20px;

    padding: 25px 0;

    font-size: 11px;
    color: rgba(255,255,255,.54);
}

.yx5-back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 47px;
    height: 47px;

    z-index: 90;

    border: 0;
    border-radius: 50%;

    background: var(--yx5-gold);
    color: var(--yx5-deep);

    box-shadow: 0 5px 20px rgba(0,0,0,.2);

    font-size: 23px;
}

/* =========================================
   14. REVEAL ANIMATIONS
========================================= */

.yx5-motion [data-yx-reveal] {
    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity .75s var(--yx5-ease),
        transform .75s var(--yx5-ease);
}

.yx5-motion [data-yx-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   15. RESPONSIVE
========================================= */

@media (max-width: 1180px) {

    .yx5-nav {
        gap: 18px;
    }

    .yx5-desktop-nav {
        gap: 17px;
    }

    .yx5-contact-link {
        display: none;
    }

}

@media (max-width: 1020px) {

    .yx5-nav {
        grid-template-columns: 1fr auto;
    }

    .yx5-desktop-nav,
    .yx5-nav-cta {
        display: none;
    }

    .yx5-menu-button {
        display: flex;
    }

    .yx5-hero-editorial {
        display: none;
    }

    .yx5-property-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .yx5-intro-layout {
        gap: 40px;
    }

    .yx5-process-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }

    .yx5-process-item {
        border-right: none !important;
    }

    .yx5-contact-grid {
        gap: 45px;
    }

}

@media (max-width: 760px) {

    .yx5-topbar {
        display: none;
    }

    .yx5-nav,
    .yx5-header.is-scrolled .yx5-nav {
        height: 76px;
    }

    .yx5-inner .yx5-main {
        padding-top: 76px;
    }

    .yx5-brand-copy strong {
        font-size: 24px;
    }

    .yx5-brand-copy small {
        font-size: 7px;
    }

    .yx5-brand-icon {
        width: 36px;
        height: 36px;
        font-size: 21px;
    }

    .yx5-hero {
        height: auto;
        min-height: 730px;
    }

    .yx5-hero-grid {
        min-height: 730px;
    }

    .yx5-hero-copy {
        padding: 140px 0 170px;
    }

    .yx5-hero-copy h1 {
        font-size: clamp(48px,11vw,75px);
        letter-spacing: -1px;
    }

    .yx5-hero-bottom {
        bottom: 80px;
    }

    .yx5-hero-bottom > span {
        max-width: 180px;
        font-size: 9px;
    }

    .yx5-search-panel {
        padding: 24px;
    }

    .yx5-search-heading {
        flex-direction: column;
        align-items: start;
    }

    .yx5-search-form {
        grid-template-columns: 1fr;
    }

    .yx5-search-submit {
        min-height: 55px;
    }

    .yx5-intro,
    .yx5-categories,
    .yx5-featured,
    .yx5-process,
    .yx5-contact {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .yx5-intro-layout {
        grid-template-columns: 1fr;
    }

    .yx5-section-heading {
        flex-direction: column;
        align-items: start;

        gap: 22px;
    }

    .yx5-category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-template-rows: auto;
    }

    .yx5-category-house,
    .yx5-category-land {
        grid-column: span 2;
        grid-row: auto;

        min-height: 370px;
    }

    .yx5-category-lot,
    .yx5-category-hectare {
        grid-column: span 1;
        min-height: 290px;
    }

    .yx5-brand-break-inner {
        flex-direction: column;
        text-align: center;

        gap: 12px;
    }

    .yx5-property-card {
        flex-basis: min(340px,85%);
    }

    .yx5-featured-toolbar {
        align-items: start;
        flex-direction: column;
    }

    .yx5-about {
        grid-template-columns: 1fr;
    }

    .yx5-about-photo {
        min-height: 380px;
    }

    .yx5-about-content {
        padding: 65px 7%;
    }

    .yx5-process-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .yx5-process-symbol {
        margin: 23px 0;
    }

    .yx5-contact-grid {
        grid-template-columns: 1fr;
    }

    .yx5-footer-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 45px;
    }

    .yx5-footer-brand {
        grid-column: span 2;
    }

    .yx5-footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

}

@media (max-width: 480px) {

    .yx5-container {
        width: 91%;
    }

    .yx5-hero-copy h1 {
        font-size: 46px;
    }

    .yx5-hero-actions {
        align-items: start;
        flex-direction: column;
        gap: 24px;
    }

    .yx5-category-grid {
        grid-template-columns: 1fr;
    }

    .yx5-category-house,
    .yx5-category-land,
    .yx5-category-lot,
    .yx5-category-hectare {
        grid-column: auto;

        min-height: 320px;
    }

    .yx5-category-house {
        min-height: 420px;
    }

    .yx5-property-card {
        flex-basis: 88%;
    }

    .yx5-contact-panel {
        padding: 27px;
    }

}

/* =========================================
   16. ACCESIBILIDAD Y MOVIMIENTO REDUCIDO
========================================= */

@media (prefers-reduced-motion: reduce) {

    .yx5-shell *,
    .yx5-shell *::before,
    .yx5-shell *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .yx5-motion [data-yx-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }

    .yx5-orb,
    .yx5-hero-image {
        transform: none !important;
        will-change: auto;
    }

}