
@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É — DESIGN SYSTEM V3
========================================= */

:root {
    --green: #073B29;
    --green-dark: #04291D;
    --green-medium: #16583C;
    --green-soft: #E7EEE7;

    --gold: #BBA16A;
    --gold-light: #DCCBA5;

    --cream: #F7F7F2;
    --white: #FFFFFF;

    --ink: #183127;
    --muted: #68766D;
    --line: #DDE4DC;

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

    --container: 1240px;
    --header-height: 88px;

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

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

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

[hidden] {
    display: none !important;
}

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

section[id] {
    scroll-margin-top: 105px;
}

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

/* =========================================
   NAVBAR
========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;

    background: var(--white);
    border-bottom: 1px solid var(--line);

    transition:
        background .35s var(--ease),
        box-shadow .35s var(--ease);
}

.page-home .site-header:not(.is-scrolled) {
    background: transparent;
    border-color: rgba(255,255,255,.18);
}

.site-header.is-scrolled,
.site-header.menu-is-open {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 35px rgba(0,0,0,.06);
    border-color: var(--line);
}

.nav-shell {
    width: min(1400px, 93%);
    height: 100%;
    margin: auto;

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    color: var(--green);
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 24px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 600;
    letter-spacing: 2px;
}

.brand-copy small {
    font-size: 8px;
    letter-spacing: 1.3px;
    margin-top: 5px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.desktop-nav > a,
.nav-dropdown > summary {
    position: relative;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color .25s;
}

.desktop-nav > a::after,
.nav-dropdown > summary::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gold);
    left: 0;
    bottom: -12px;
    transition: width .3s var(--ease);
}

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

.desktop-nav a[aria-current="page"] {
    color: var(--green-medium);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > summary {
    list-style: none;
    display: flex;
    gap: 9px;
    align-items: center;
}

.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.dropdown-arrow {
    transition: transform .3s;
}

.nav-dropdown[open] .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-panel {
    position: absolute;
    width: 290px;
    top: 39px;
    left: -25px;

    background: var(--white);
    color: var(--ink);

    border: 1px solid var(--line);
    box-shadow: 0 25px 55px rgba(0,0,0,.13);

    padding: 20px;
    border-radius: 4px;
}

.dropdown-title {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--gold);
    padding: 0 10px 13px;
}

.dropdown-panel a {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 12px 10px;
    font-size: 12px;
    border-radius: 3px;
    transition: background .2s;
}

.dropdown-panel a:hover {
    background: var(--green-soft);
    color: var(--green);
}

.dropdown-panel a span:last-child {
    margin-left: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-cta {
    background: var(--green);
    color: white;

    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    gap: 20px;

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

    transition: background .25s, transform .25s;
    white-space: nowrap;
}

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

.menu-toggle {
    display: none;
    width: 45px;
    height: 45px;

    background: var(--green);
    border: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    background: white;
    transition: transform .3s, opacity .3s;
}

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

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

.mobile-panel {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;

    background: var(--green);
    color: white;
    padding: 20px 5% 28px;
    box-shadow: 0 25px 35px rgba(0,0,0,.15);
}

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

.mobile-panel nav a {
    display: flex;
    gap: 22px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    font-family: var(--serif);
    font-size: 23px;
}

.mobile-panel nav a span {
    font-family: var(--sans);
    font-size: 10px;
    color: var(--gold-light);
    padding-top: 8px;
}

.mobile-panel-footer {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold-light);
    padding-top: 25px;
}

.page-home .site-header:not(.is-scrolled):not(.menu-is-open) {
    color: white;
}

.page-home .site-header:not(.is-scrolled):not(.menu-is-open) .brand-mark {
    color: white;
}

.page-home .site-header:not(.is-scrolled):not(.menu-is-open) .nav-cta {
    background: var(--gold);
    color: var(--green-dark);
}

.page-inner main {
    padding-top: var(--header-height);
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 2000;
    background: var(--gold);
    pointer-events: none;
}

/* =========================================
   SHARED TYPOGRAPHY & BUTTONS
========================================= */

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green-medium);
    display: block;
}

.eyebrow-light {
    color: var(--gold-light);
}

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

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

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

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

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

.button-gold {
    background: var(--gold);
    color: var(--green-dark);
}

.button-gold:hover {
    background: var(--gold-light);
}

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

.button-green:hover {
    background: var(--green-medium);
}

.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 43px;
}

.section-intro h2,
.process-heading h2 {
    font-family: var(--serif);
    font-size: clamp(36px,4.4vw,58px);
    font-weight: 400;
    line-height: 1.25;
    margin-top: 15px;
}

.section-intro h2 em,
.process-heading h2 em {
    display: block;
    color: var(--green-medium);
    font-weight: 400;
}

.section-intro p {
    max-width: 310px;
    font-size: 13px;
    color: var(--muted);
}

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

.yx-hero {
    min-height: 790px;
    height: min(900px,100svh);
    position: relative;
    color: white;
    isolation: isolate;
    background: var(--green-dark);
}

.yx-hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(2,30,20,.89) 0%,
            rgba(2,30,20,.49) 62%,
            rgba(2,30,20,.22) 100%
        ),
        url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2000&q=85');

    background-size: cover;
    background-position: center;
    animation: heroZoom 18s ease-out both;
}

@keyframes heroZoom {
    from { transform: scale(1.07); }
    to { transform: scale(1); }
}

.hero-layout {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    padding: 110px 0 150px;
}

.hero-content h1 {
    font-family: var(--serif);
    font-size: clamp(55px,7vw,105px);
    line-height: 1.14;
    font-weight: 400;
    margin: 25px 0;
    letter-spacing: -2px;
}

.hero-content h1 em {
    display: block;
    color: var(--gold-light);
    font-weight: 400;
}

.hero-content p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,.82);
    max-width: 450px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    align-items: center;
    margin-top: 35px;
}

.hero-secondary-link {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-secondary-link span {
    font-size: 19px;
}

.hero-side-note {
    position: absolute;
    right: 0;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
}

.hero-bottom {
    position: absolute;
    bottom: 92px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 2px;
}

.hero-bottom a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    font-size: 22px;
    transition: background .3s;
}

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

/* =========================================
   PROPERTY SEARCH
========================================= */

.search-section {
    position: relative;
    margin-top: -54px;
    z-index: 4;
}

.search-shell {
    background: white;
    box-shadow: 0 20px 70px rgba(0,0,0,.11);
    border-top: 3px solid var(--gold);
    padding: 32px;
}

.search-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 20px;
}

.search-heading h2 {
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 400;
    margin-top: 6px;
}

.search-caption {
    color: var(--muted);
    font-size: 12px;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr auto;
    gap: 12px;
}

.search-field {
    border: 1px solid var(--line);
    padding: 10px 15px;
    min-width: 0;
}

.search-field label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--green-medium);
    margin-bottom: 4px;
}

.search-field select,
.search-field input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    color: var(--ink);
    font-size: 12px;
    min-height: 25px;
}

.search-submit {
    border: none;
    background: var(--green);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 0 22px;
    font-size: 11px;
    font-weight: 700;
    transition: background .3s;
}

.search-submit:hover {
    background: var(--green-medium);
}

/* =========================================
   CATEGORY GRID
========================================= */

.categories-section {
    padding: 120px 0 105px;
    background: var(--cream);
}

.category-layout {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: repeat(2, 310px);
    gap: 16px;
}

.category-tile {
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    isolation: isolate;
}

.category-casas {
    grid-row: span 2;
}

.category-photo,
.category-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.category-photo {
    background-size: cover;
    background-position: center;
    transition: transform .8s var(--ease);
}

.category-tile:hover .category-photo {
    transform: scale(1.08);
}

.category-shade {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.22),
        rgba(0,0,0,.08) 32%,
        rgba(1,26,17,.88)
    );
}

.category-casas .category-photo {
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1000&q=85');
}

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

.category-lotes .category-photo {
    background-image: url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?auto=format&fit=crop&w=1000&q=85');
}

.category-hectareas .category-photo {
    background-image: url('https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1000&q=85');
}

.category-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.category-top > span:first-child {
    font-size: 10px;
    letter-spacing: 2px;
}

.category-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    font-size: 19px;
    transition: background .3s, color .3s;
}

.category-tile:hover .category-icon {
    background: white;
    color: var(--green);
}

.category-count {
    display: block;
    font-size: 11px;
    color: var(--gold-light);
    letter-spacing: 1px;
}

.category-bottom h3 {
    font-family: var(--serif);
    font-size: clamp(30px,3.6vw,50px);
    font-weight: 400;
    margin: 4px 0;
}

.category-bottom > span:last-child {
    font-size: 12px;
}

.category-hectareas {
    grid-column: span 2;
    min-height: 240px;
}

/* =========================================
   BRAND BAND
========================================= */

.brand-band {
    background: var(--green);
    color: white;
    padding: 42px 0;
}

.brand-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.brand-band-inner > span:first-child {
    font-family: var(--serif);
    font-size: 42px;
    letter-spacing: 4px;
}

.brand-band-symbol {
    font-size: 28px;
    color: var(--gold);
}

.brand-band p {
    font-family: var(--serif);
    font-size: 21px;
    font-style: italic;
    color: var(--gold-light);
}

/* =========================================
   FEATURED PROPERTIES
========================================= */

.featured-section {
    padding: 110px 0;
}

.section-link {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gold);
    white-space: nowrap;
}

.featured-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.filter-button {
    background: white;
    color: var(--green);
    border: 1px solid var(--line);
    padding: 10px 19px;
    font-size: 11px;
    font-weight: 700;
    transition: background .25s, color .25s;
}

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

.featured-grid,
.property-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
}

.featured-card {
    border: 1px solid var(--line);
    min-width: 0;
    background: white;
    transition: box-shadow .3s, transform .3s;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.07);
}

.featured-card-link {
    display: block;
}

.featured-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: var(--green-soft);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

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

.featured-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    text-align: center;
    color: var(--green);
    font-size: 13px;
}

.featured-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--green);
    color: white;
    padding: 6px 15px;
    font-size: 10px;
    font-weight: 600;
}

.featured-arrow {
    position: absolute;
    bottom: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: white;
    color: var(--green);
    border-radius: 50%;
    font-size: 20px;
}

.featured-body {
    padding: 24px;
}

.featured-location,
.property-location {
    color: var(--muted);
    font-size: 11px;
}

.featured-body h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    margin: 8px 0 17px;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--muted);
    font-size: 11px;
    padding-bottom: 20px;
}

.featured-footer {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

.featured-footer span {
    font-size: 11px;
    font-weight: 600;
}

.featured-no-results {
    padding: 30px;
    background: var(--cream);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.catalog-summary {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 55px;
    padding: 30px;
    background: var(--cream);
    flex-wrap: wrap;
}

.catalog-summary > span {
    font-size: 10px;
    letter-spacing: 1.6px;
    font-weight: 700;
}

.catalog-summary strong {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 400;
    color: var(--green);
}

.catalog-summary p {
    font-size: 12px;
    color: var(--muted);
}

.catalog-summary a {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-medium);
}

.empty-properties {
    background: var(--cream);
    padding: 65px 25px;
    text-align: center;
}

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

.empty-properties h3 {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 400;
    margin: 12px 0;
}

.empty-properties p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
}

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

.about-section {
    background: var(--green);
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 630px;
}

.about-visual {
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.about-image,
.about-image-shade {
    position: absolute;
    inset: 0;
}

.about-image {
    background:
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1200&q=85')
        center/cover;
}

.about-image-shade {
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(0,32,19,.78)
    );
}

.about-image-caption {
    position: absolute;
    left: 45px;
    bottom: 45px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.about-image-caption span {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold-light);
}

.about-image-caption strong {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
}

.about-copy {
    padding: 80px clamp(35px,6vw,105px);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.about-copy h2 {
    font-family: var(--serif);
    font-size: clamp(39px,4vw,62px);
    font-weight: 400;
    line-height: 1.2;
    margin: 25px 0;
}

.about-copy h2 em {
    color: var(--gold-light);
    font-weight: 400;
}

.gold-line {
    width: 55px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 26px;
}

.about-copy p {
    font-size: 13px;
    color: rgba(255,255,255,.79);
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-link {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gold);
    font-size: 12px;
    font-weight: 700;
}

/* =========================================
   PROCESS
========================================= */

.process-section {
    padding: 110px 0;
    background: var(--cream);
}

.process-heading {
    text-align: center;
    margin-bottom: 60px;
}

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

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

.process-item {
    border-top: 1px solid var(--gold);
    padding: 28px 25px;
    position: relative;
}

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

.process-number {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
}

.process-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--green);
    font-size: 28px;
    margin: 35px 0 25px;
}

.process-item h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 12px;
}

.process-item p {
    color: var(--muted);
    font-size: 12px;
}

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

.contact-section {
    background: var(--green-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-layout {
    min-height: 530px;
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    align-items: center;
    gap: 40px;
}

.contact-copy {
    max-width: 750px;
    padding: 80px 0;
}

.contact-copy h2 {
    font-family: var(--serif);
    font-size: clamp(40px,5vw,68px);
    font-weight: 400;
    line-height: 1.2;
    margin: 25px 0;
}

.contact-copy h2 em {
    display: block;
    color: var(--gold-light);
    font-weight: 400;
}

.contact-copy p {
    max-width: 420px;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    margin-bottom: 30px;
}

.contact-decoration {
    text-align: center;
    color: rgba(255,255,255,.10);
}

.contact-decoration > span {
    font-family: var(--serif);
    font-size: clamp(170px,20vw,330px);
    line-height: 1;
}

.contact-decoration div {
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 2px;
}

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

.site-footer {
    background: #021B13;
    color: white;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 36px;
    letter-spacing: 3px;
}

.footer-subtitle {
    color: var(--gold-light);
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 4px;
}

.footer-description {
    max-width: 340px;
    margin-top: 25px;
    font-size: 12px;
    color: rgba(255,255,255,.67);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
}

.footer-column h3 {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 7px;
}

.footer-column a {
    font-size: 12px;
    color: rgba(255,255,255,.77);
    transition: color .2s;
}

.footer-column a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.13);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    color: rgba(255,255,255,.55);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 22px;
    z-index: 90;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
}

/* =========================================
   CATALOG: EXISTING BLADE COMPATIBILITY
========================================= */

.page-banner {
    background: var(--green);
    color: white;
    padding: 85px 0;
}

.page-banner h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px,5vw,65px);
    margin: 10px 0;
}

.page-banner p {
    font-size: 13px;
    color: rgba(255,255,255,.7);
}

.section-label {
    display: block;
    color: var(--green-medium);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.section-label-light {
    color: var(--gold-light);
}

.catalog-section {
    padding: 65px 0 110px;
}

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--cream);
    padding: 22px;
    margin-bottom: 45px;
}

.catalog-filters input,
.catalog-filters select {
    flex: 1;
    min-width: 155px;
    padding: 13px;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
}

.btn-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--green);
    color: white;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 700;
}

.btn-green:hover {
    background: var(--green-medium);
}

.clear-filters {
    font-size: 12px;
    padding: 14px;
    color: var(--muted);
}

.catalog-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.catalog-heading h2 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
}

.catalog-heading p {
    color: var(--muted);
    font-size: 12px;
}

.property-card {
    border: 1px solid var(--line);
    transition: transform .3s, box-shadow .3s;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,.07);
}

.property-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: var(--green-soft);
}

.property-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .5s;
}

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

.property-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--green);
    color: white;
    font-size: 10px;
    padding: 6px 14px;
}

.image-placeholder {
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green);
    width: 100%;
    height: 100%;
    min-height: 220px;
    text-align: center;
    font-size: 12px;
    padding: 20px;
}

.property-info {
    padding: 23px;
}

.property-info h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 24px;
    margin: 9px 0 15px;
}

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

.property-info p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
}

.property-action {
    display: block;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 50px;
    font-size: 12px;
}

.pagination a {
    color: var(--green-medium);
    font-weight: 700;
}

/* =========================================
   DETAIL: EXISTING BLADE COMPATIBILITY
========================================= */

.detail-section {
    padding: 45px 0 100px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 40px;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 30px;
}

.detail-header h1 {
    font-family: var(--serif);
    font-size: clamp(35px,5vw,56px);
    font-weight: 400;
}

.detail-header p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 10px;
}

.detail-price {
    color: var(--green);
    font-size: 24px;
}

.detail-image {
    height: min(65vw,540px);
    min-height: 300px;
    overflow: hidden;
    background: var(--green-soft);
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 70px;
    padding-top: 60px;
}

.detail-main h2 {
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 400;
    margin-bottom: 20px;
}

.detail-main > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 40px;
    white-space: pre-line;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
}

.features-grid div {
    border-bottom: 1px solid var(--line);
    padding-bottom: 15px;
}

.features-grid span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.features-grid strong {
    display: block;
    font-size: 17px;
    color: var(--green);
}

.detail-aside {
    background: var(--cream);
    padding: 35px;
    align-self: start;
}

.detail-aside h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 28px;
    margin: 15px 0;
}

.detail-aside p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
}

/* =========================================
   ANIMATIONS
========================================= */

.js-motion .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(28px);
}

.js-motion .reveal {
    transition:
        opacity .7s var(--ease),
        transform .7s var(--ease);
}

.js-motion .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1150px) {

    .desktop-nav {
        gap: 17px;
    }

    .nav-shell {
        gap: 18px;
    }

}

@media (max-width: 980px) {

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

    .menu-toggle {
        display: flex;
    }

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

    .category-casas {
        grid-row: auto;
    }

    .category-tile {
        min-height: 340px;
    }

    .category-hectareas {
        grid-column: span 2;
    }

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

    .search-submit {
        min-height: 60px;
    }

    .featured-grid,
    .property-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 25px;
    }

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

    .about-copy {
        padding: 55px 35px;
    }

}

@media (max-width: 700px) {

    :root {
        --header-height: 74px;
    }

    .container {
        width: 91%;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

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

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

    .yx-hero {
        min-height: 700px;
        height: auto;
    }

    .hero-layout {
        min-height: 700px;
    }

    .hero-content {
        padding: 135px 0 170px;
    }

    .hero-content h1 {
        font-size: clamp(47px,11vw,72px);
        letter-spacing: -1px;
    }

    .hero-side-note {
        display: none;
    }

    .hero-bottom {
        bottom: 85px;
    }

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

    .search-section {
        margin-top: -40px;
    }

    .search-shell {
        padding: 23px;
    }

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

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

    .search-submit {
        justify-content: space-between;
    }

    .categories-section,
    .featured-section,
    .process-section {
        padding: 75px 0;
    }

    .section-intro {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }

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

    .category-tile {
        min-height: 320px;
    }

    .category-casas {
        min-height: 410px;
    }

    .category-hectareas {
        grid-column: auto;
    }

    .brand-band-inner {
        flex-direction: column;
        gap: 9px;
        text-align: center;
    }

    .brand-band p {
        font-size: 16px;
    }

    .featured-grid,
    .property-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 275px;
    }

    .catalog-summary {
        gap: 15px;
    }

    .catalog-summary a {
        margin-left: 0;
    }

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

    .about-visual {
        min-height: 390px;
    }

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

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

    .process-item {
        padding: 27px 10px;
    }

    .process-icon {
        margin: 20px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .contact-copy {
        padding: 85px 0;
    }

    .contact-decoration {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-main {
        grid-column: span 2;
    }

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

    .catalog-heading,
    .detail-header {
        flex-direction: column;
        align-items: start;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .detail-image {
        height: 340px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 380px) {

    .brand-copy small {
        letter-spacing: .5px;
    }

    .hero-actions {
        gap: 22px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

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

}

/* =========================================
   ACCESSIBILITY
========================================= */

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

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

    .js-motion .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

}


/* ===================================================
   YAXCHÉ V4 — NUEVA IDENTIDAD VISUAL
   Agregar al FINAL de public/css/yaxche.css
=================================================== */

:root {
    --yx-green: #073B29;
    --yx-dark: #03271C;
    --yx-mid: #165B3D;
    --yx-gold: #C2A66D;
    --yx-cream: #F7F6F0;
    --yx-white: #FFFFFF;
    --yx-text: #20372C;
    --yx-muted: #69796F;
    --yx-line: #DEE5DE;

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

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

.yx-site {
    font-family: var(--yx-sans);
    color: var(--yx-text);
    background: var(--yx-white);
}

.yx-site *,
.yx-site *::before,
.yx-site *::after {
    box-sizing: border-box;
}

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

.yx-site section[id] {
    scroll-margin-top: 120px;
}

.yx-site a {
    text-decoration: none;
}

.yx-site button,
.yx-site input,
.yx-site select {
    font: inherit;
}

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

.yx-site [hidden] {
    display: none !important;
}

/* ===========================================
   HEADER — DOS NIVELES
=========================================== */

.yx-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: var(--yx-white);

    transition:
        background .35s var(--yx-ease),
        box-shadow .35s var(--yx-ease);
}

.yx-header.is-scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 45px rgba(0,0,0,.08);
}

.yx-header.menu-open {
    background: var(--yx-white);
}

/* TOPBAR */

.yx-topbar {
    height: 31px;
    background: var(--yx-dark);
    color: #E8EEE6;
}

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

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

    gap: 20px;

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

.yx-topbar a {
    color: var(--yx-gold);
    transition: color .25s;
}

.yx-topbar a:hover {
    color: white;
}

/* NAV SHELL */

.yx-nav-shell {
    height: 79px;
    width: min(1420px, 94%);
    margin-inline: auto;

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

    gap: 35px;
    border-bottom: 1px solid var(--yx-line);
}

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

.yx-home .yx-header:not(.is-scrolled):not(.menu-open)
.yx-nav-shell {
    border-color: rgba(255,255,255,.2);
}

.yx-inner .yx-main {
    padding-top: 110px;
}

/* LOGO */

.yx-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--yx-green);
}

.yx-logo-symbol {
    width: 42px;
    height: 42px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    border: 1px solid currentColor;

    font-size: 25px;
    line-height: 1;

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

.yx-logo:hover .yx-logo-symbol {
    transform: rotate(90deg);
}

.yx-logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.yx-logo-copy strong {
    font-family: var(--yx-serif);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 2px;
}

.yx-logo-copy small {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

/* DESKTOP NAV */

.yx-desktop-nav {
    height: 100%;

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

.yx-desktop-nav > a,
.yx-mega > summary {
    font-size: 12px;
    font-weight: 600;
    color: var(--yx-text);

    position: relative;
    cursor: pointer;

    transition: color .25s;
}

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

    position: absolute;
    bottom: -11px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--yx-gold);

    transition: width .3s var(--yx-ease);
}

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

.yx-desktop-nav > a:hover,
.yx-mega[open] > summary {
    color: var(--yx-mid);
}

/* MEGAMENU */

.yx-mega {
    position: relative;
}

.yx-mega > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

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

.yx-mega-panel {
    position: absolute;

    top: 42px;
    left: 50%;

    transform: translateX(-50%);

    width: min(870px, 88vw);

    display: grid;
    grid-template-columns: 1fr 1fr .65fr;

    background: var(--yx-white);

    border: 1px solid var(--yx-line);
    box-shadow: 0 25px 65px rgba(0,0,0,.15);

    color: var(--yx-text);

    animation: yxMegaEnter .25s ease-out;
}

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

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

.yx-mega-intro {
    padding: 35px;
    background: var(--yx-cream);
}

.yx-overline,
.yx4-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--yx-mid);
}

.yx-mega-intro h3 {
    font-family: var(--yx-serif);
    font-weight: 400;
    font-size: 29px;
    line-height: 1.25;
    margin: 15px 0;
}

.yx-mega-intro p {
    color: var(--yx-muted);
    font-size: 12px;
    line-height: 1.8;
}

.yx-mega-intro > a {
    display: inline-block;
    font-weight: 700;
    font-size: 11px;
    margin-top: 30px;
    color: var(--yx-green);
    border-bottom: 1px solid var(--yx-gold);
    padding-bottom: 8px;
}

.yx-mega-links {
    padding: 18px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yx-mega-links a {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 0;

    border-bottom: 1px solid var(--yx-line);

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

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

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

.yx-mega-links a span:last-child {
    margin-left: auto;
    font-family: var(--yx-sans);
    font-size: 14px;
}

.yx-mega-number {
    color: var(--yx-gold);
    font-family: var(--yx-sans);
    font-size: 10px;
}

.yx-mega-art {
    background: var(--yx-green);
    color: white;

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

.yx-mega-art > span {
    font-family: var(--yx-serif);
    font-size: 125px;
    line-height: 1;
    color: var(--yx-gold);
}

.yx-mega-art small {
    font-size: 8px;
    letter-spacing: 1px;
}

/* NAV ACTIONS */

.yx-nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.yx-nav-cta {
    display: flex;
    align-items: center;
    gap: 25px;

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

    padding: 14px 19px;

    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;

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

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

.yx-nav-cta > span {
    font-size: 16px;
}

.yx-menu-button {
    width: 45px;
    height: 45px;

    border: 0;
    background: var(--yx-green);

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

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

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

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

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

/* TRANSPARENT NAV ON HERO */

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

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

/* MOBILE NAV */

.yx-mobile-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    max-height: calc(100dvh - 76px);
    overflow-y: auto;

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

    padding: 22px 5% 35px;

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

.yx-mobile-panel nav {
    display: flex;
    flex-direction: column;
}

.yx-mobile-panel nav a {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;

    gap: 15px;

    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,.17);

    font-family: var(--yx-serif);
    font-size: 23px;
    color: white;
}

.yx-mobile-panel nav a small {
    font-family: var(--yx-sans);
    font-size: 10px;
    color: var(--yx-gold);
}

.yx-mobile-panel nav a span {
    font-family: var(--yx-sans);
    font-size: 17px;
}

.yx-mobile-contact {
    display: inline-block;
    margin-top: 30px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

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

/* PROGRESS */

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

    height: 3px;
    width: 0;

    z-index: 2000;

    background: var(--yx-gold);
    pointer-events: none;
}

/* ===========================================
   SHARED COMPONENTS
=========================================== */

.yx4-eyebrow {
    display: block;
}

.yx4-eyebrow.light {
    color: var(--yx-gold);
}

.yx4-button {
    min-height: 55px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

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

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

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

.yx4-button.gold {
    background: var(--yx-gold);
    color: var(--yx-dark);
}

.yx4-button.gold:hover {
    background: #D4BC8A;
}

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

.yx4-button.green:hover {
    background: var(--yx-mid);
}

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

.yx4-hero {
    position: relative;
    height: min(900px, 100svh);
    min-height: 760px;

    background: var(--yx-dark);
    color: white;

    isolation: isolate;
    overflow: hidden;
}

.yx4-hero-image {
    position: absolute;
    inset: 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;

    animation: yxHeroScale 18s ease-out both;
}

@keyframes yxHeroScale {
    from { transform: scale(1.065); }
    to { transform: scale(1); }
}

.yx4-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        90deg,
        rgba(1,27,18,.92) 0%,
        rgba(1,27,18,.55) 57%,
        rgba(1,27,18,.22) 100%
    );
}

.yx4-hero-layout {
    position: relative;
    height: 100%;

    display: flex;
    align-items: center;
}

.yx4-hero-copy {
    max-width: 850px;
    padding: 130px 0 165px;
}

.yx4-hero-copy h1 {
    font-family: var(--yx-serif);
    font-size: clamp(58px,7.5vw,106px);
    font-weight: 400;
    line-height: 1.13;
    letter-spacing: -2px;

    margin: 25px 0;
}

.yx4-hero-copy h1 em {
    display: block;
    font-weight: 400;
    color: var(--yx-gold);
}

.yx4-hero-copy p {
    max-width: 475px;

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

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

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

    gap: 32px;
    margin-top: 35px;
}

.yx4-text-link {
    font-size: 12px;
    font-weight: 600;

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

    color: white;
}

.yx4-text-link span {
    font-size: 20px;
}

.yx4-hero-side {
    position: absolute;
    right: 0;
    top: 43%;

    display: flex;
    align-items: center;
    gap: 17px;

    writing-mode: vertical-rl;

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

.yx4-side-line {
    width: 1px;
    height: 70px;

    background: var(--yx-gold);
}

.yx4-hero-bottom {
    position: absolute;
    bottom: 93px;
    left: 0;
    right: 0;

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

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

.yx4-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: 22px;

    transition: background .3s;
}

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

/* ===========================================
   SEARCH WITH TABS
=========================================== */

.yx4-search-area {
    position: relative;
    margin-top: -57px;
    z-index: 5;
}

.yx4-search-card {
    background: white;

    padding: 29px 34px 34px;

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

    box-shadow: 0 20px 65px rgba(0,0,0,.11);
}

.yx4-search-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;

    margin-bottom: 23px;
}

.yx4-search-top h2 {
    font-family: var(--yx-serif);
    font-size: 32px;
    font-weight: 400;
    margin-top: 6px;
}

.yx4-search-reference {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--yx-muted);
}

.yx4-search-tabs {
    display: flex;
    gap: 0;

    border-bottom: 1px solid var(--yx-line);
    margin-bottom: 23px;
}

.yx4-search-tab {
    background: transparent;
    border: none;

    padding: 10px 22px;
    margin-bottom: -1px;

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

    color: var(--yx-muted);

    border-bottom: 2px solid transparent;
    transition: color .25s, border-color .25s;
}

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

.yx4-search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
}

.yx4-search-field {
    border: 1px solid var(--yx-line);
    padding: 11px 17px;
    min-width: 0;
}

.yx4-search-field label {
    display: block;
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: var(--yx-mid);
    margin-bottom: 5px;
}

.yx4-search-field input,
.yx4-search-field select {
    width: 100%;
    min-height: 27px;
    border: none;
    outline: none;

    background: transparent;
    color: var(--yx-text);

    font-size: 12px;
}

.yx4-search-submit {
    border: none;
    padding: 0 25px;

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

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

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

    transition: background .25s;
}

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

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

.yx4-intro {
    padding: 130px 0 95px;
}

.yx4-intro-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: end;
    gap: 90px;
}

.yx4-intro h2,
.yx4-section-heading h2,
.yx4-featured-head h2,
.yx4-process-heading h2,
.yx4-faq h2 {
    font-family: var(--yx-serif);
    font-size: clamp(38px,4.6vw,63px);
    font-weight: 400;
    line-height: 1.25;
    margin-top: 17px;
}

.yx4-intro h2 em,
.yx4-section-heading h2 em,
.yx4-featured-head h2 em,
.yx4-process-heading h2 em,
.yx4-faq h2 em {
    display: block;
    font-weight: 400;
    color: var(--yx-mid);
}

.yx4-intro-aside {
    border-left: 1px solid var(--yx-gold);
    padding-left: 30px;
}

.yx4-intro-symbol {
    font-size: 32px;
    color: var(--yx-gold);
}

.yx4-intro-aside p {
    font-size: 13px;
    color: var(--yx-muted);
    line-height: 1.9;
    margin: 15px 0 22px;
}

.yx4-intro-aside a {
    font-size: 12px;
    font-weight: 700;
    color: var(--yx-green);

    border-bottom: 1px solid var(--yx-gold);
    padding-bottom: 8px;
}

/* ===========================================
   ASYMMETRIC CATEGORIES
=========================================== */

.yx4-categories {
    background: var(--yx-cream);
    padding: 90px 0 105px;
}

.yx4-section-heading,
.yx4-featured-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 42px;
}

.yx4-heading-index {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--yx-muted);
}

/* BENTO GRID */

.yx4-category-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0,1fr));
    grid-template-rows: repeat(2, 255px);
    gap: 15px;
}

.yx4-category {
    position: relative;

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

    padding: 25px;

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

    overflow: hidden;
    isolation: isolate;
}

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

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

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

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

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

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

    background: linear-gradient(
        180deg,
        rgba(0,0,0,.26) 0%,
        rgba(0,0,0,.03) 35%,
        rgba(0,30,18,.90) 100%
    );
}

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

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

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

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

/* FOTOGRAFÍAS ILUSTRATIVAS */

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

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

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

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

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

.yx4-category-arrow {
    position: absolute;
    top: 22px;
    right: 22px;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

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

    font-size: 20px;

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

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

.yx4-category-count {
    font-size: 10px;
    color: var(--yx-gold);
}

.yx4-category-content h3 {
    font-family: var(--yx-serif);
    font-size: clamp(30px,3.3vw,48px);
    font-weight: 400;
    margin: 3px 0;
}

.yx4-category-content p {
    font-size: 11px;
    color: rgba(255,255,255,.86);
}

/* ===========================================
   BRAND STRIP
=========================================== */

.yx4-brand-strip {
    background: var(--yx-green);
    color: white;
    padding: 36px 0;
}

.yx4-brand-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.yx4-brand-strip-inner > span:first-child {
    font-family: var(--yx-serif);
    font-size: 41px;
    letter-spacing: 3px;
}

.yx4-brand-star {
    font-size: 28px;
    color: var(--yx-gold);
}

.yx4-brand-strip p {
    font-family: var(--yx-serif);
    font-size: 20px;
    font-style: italic;
    color: #DDD0AC;
}

/* ===========================================
   FEATURED PROPERTIES CAROUSEL
=========================================== */

.yx4-featured {
    padding: 110px 0;
    background: white;
}

.yx4-section-link {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    padding-bottom: 9px;
    border-bottom: 1px solid var(--yx-gold);

    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.yx4-featured-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.yx4-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yx4-filter {
    padding: 10px 18px;

    border: 1px solid var(--yx-line);
    background: white;
    color: var(--yx-green);

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

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

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

.yx4-carousel-buttons {
    display: flex;
    gap: 9px;
}

.yx4-carousel-buttons button {
    width: 42px;
    height: 42px;

    border: 1px solid var(--yx-line);
    background: white;

    color: var(--yx-green);
    font-size: 19px;
}

.yx4-carousel-buttons button:hover:not(:disabled) {
    background: var(--yx-green);
    color: white;
}

.yx4-carousel-buttons button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.yx4-property-track {
    display: flex;
    gap: 22px;

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

    scrollbar-width: thin;
    scrollbar-color: var(--yx-gold) var(--yx-cream);

    padding: 5px 0 20px;
}

.yx4-property-card {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;

    border: 1px solid var(--yx-line);
    background: white;

    scroll-snap-align: start;

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

.yx4-property-card[hidden] {
    display: none !important;
}

.yx4-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

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

.yx4-property-photo {
    height: 260px;
    position: relative;
    background: var(--yx-cream);
    overflow: hidden;
}

.yx4-property-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .6s var(--yx-ease);
}

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

.yx4-photo-placeholder {
    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;

    background: #E1EAE1;
    color: var(--yx-green);
    font-size: 12px;
}

.yx4-property-badge {
    position: absolute;
    top: 16px;
    left: 16px;

    padding: 7px 13px;

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

    font-size: 10px;
}

.yx4-property-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    background: white;
    color: var(--yx-green);
    border-radius: 50%;

    font-size: 19px;
}

.yx4-property-information {
    padding: 23px;
}

.yx4-property-location {
    display: block;
    color: var(--yx-muted);
    font-size: 11px;
}

.yx4-property-information h3 {
    font-family: var(--yx-serif);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.35;
    margin: 10px 0 17px;
}

.yx4-property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

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

    padding-bottom: 20px;
}

.yx4-property-bottom {
    padding-top: 17px;
    border-top: 1px solid var(--yx-line);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.yx4-property-bottom strong {
    font-size: 14px;
    color: var(--yx-green);
}

.yx4-property-bottom span {
    font-size: 11px;
    font-weight: 700;
}

.yx4-empty {
    background: var(--yx-cream);
    padding: 65px 25px;
    text-align: center;
}

.yx4-empty > span {
    font-size: 39px;
    color: var(--yx-gold);
}

.yx4-empty h3 {
    font-family: var(--yx-serif);
    font-size: 28px;
    font-weight: 400;
    margin: 13px 0;
}

.yx4-empty p {
    font-size: 13px;
    color: var(--yx-muted);
    margin-bottom: 25px;
}

.yx4-inventory-bar {
    margin-top: 55px;
    padding: 28px 32px;

    background: var(--yx-cream);

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

.yx4-inventory-bar > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.yx4-inventory-bar span {
    font-size: 10px;
    letter-spacing: 1px;
}

.yx4-inventory-bar strong {
    font-family: var(--yx-serif);
    font-size: 45px;
    font-weight: 400;
    color: var(--yx-green);
}

.yx4-inventory-bar p {
    color: var(--yx-muted);
    font-size: 12px;
}

.yx4-inventory-bar > a {
    font-size: 12px;
    font-weight: 700;

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

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

.yx4-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;

    background: var(--yx-green);
    color: white;
}

.yx4-about-photo {
    position: relative;
    min-height: 470px;

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

.yx4-about-caption {
    position: absolute;
    left: 45px;
    bottom: 45px;

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

.yx4-about-caption span {
    color: var(--yx-gold);
    font-size: 10px;
    letter-spacing: 2px;
}

.yx4-about-caption strong {
    font-family: var(--yx-serif);
    font-size: 24px;
    font-weight: 400;
}

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

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

.yx4-about-content h2 {
    font-family: var(--yx-serif);
    font-size: clamp(37px,4vw,57px);
    font-weight: 400;
    line-height: 1.22;

    margin: 25px 0;
}

.yx4-about-content h2 em {
    color: var(--yx-gold);
    font-weight: 400;
}

.yx4-gold-rule {
    width: 55px;
    height: 2px;

    background: var(--yx-gold);
    margin-bottom: 28px;
}

.yx4-about-content p {
    color: rgba(255,255,255,.76);

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

    margin-bottom: 20px;
}

.yx4-about-link {
    margin-top: 17px;
    padding-bottom: 9px;

    display: flex;
    align-items: center;
    gap: 27px;

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

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

/* ===========================================
   PROCESS
=========================================== */

.yx4-process {
    padding: 110px 0;
    background: var(--yx-cream);
}

.yx4-process-heading {
    text-align: center;
    margin-bottom: 65px;
}

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

.yx4-process-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.yx4-step {
    padding: 30px 25px;

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

.yx4-step:not(:last-child) {
    border-right: 1px solid var(--yx-line);
}

.yx4-step-number {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--yx-gold);
}

.yx4-step-symbol {
    width: 60px;
    height: 60px;

    margin: 35px 0 25px;

    display: grid;
    place-items: center;

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

    font-size: 28px;
    color: var(--yx-green);
}

.yx4-step h3 {
    font-family: var(--yx-serif);
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 12px;
}

.yx4-step p {
    color: var(--yx-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* ===========================================
   FAQ
=========================================== */

.yx4-faq {
    padding: 110px 0;
    background: white;
}

.yx4-faq-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
}

.yx4-faq-grid > div:first-child > p {
    margin-top: 20px;
    max-width: 300px;

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

.yx4-faq-items {
    border-top: 1px solid var(--yx-line);
}

.yx4-faq-items details {
    border-bottom: 1px solid var(--yx-line);
}

.yx4-faq-items summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    list-style: none;

    padding: 23px 0;

    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.yx4-faq-items summary::-webkit-details-marker {
    display: none;
}

.yx4-faq-items summary span {
    font-size: 22px;
    color: var(--yx-green);
    transition: transform .3s;
}

.yx4-faq-items details[open] summary span {
    transform: rotate(45deg);
}

.yx4-faq-items details p {
    font-size: 13px;
    color: var(--yx-muted);
    line-height: 1.9;

    padding: 0 30px 25px 0;
}

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

.yx4-contact {
    padding: 110px 0;
    background: var(--yx-dark);
    color: white;
}

.yx4-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 85px;
}

.yx4-contact h2 {
    font-family: var(--yx-serif);
    font-size: clamp(42px,5vw,70px);
    font-weight: 400;
    line-height: 1.2;

    margin: 25px 0;
}

.yx4-contact h2 em {
    display: block;
    color: var(--yx-gold);
    font-weight: 400;
}

.yx4-contact-grid > div:first-child > p {
    max-width: 400px;

    color: rgba(255,255,255,.75);
    font-size: 13px;
    line-height: 1.9;

    margin-bottom: 30px;
}

.yx4-contact-card {
    border: 1px solid rgba(255,255,255,.25);
    padding: 43px;

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

.yx4-contact-card > span {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--yx-gold);
}

.yx4-contact-card h3 {
    font-family: var(--yx-serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.3;

    margin: 25px 0 35px;
}

.yx4-contact-card > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 15px 0;
    border-bottom: 1px solid var(--yx-gold);

    font-size: 12px;
    overflow-wrap: anywhere;
}

.yx4-contact-card-bottom {
    margin-top: 45px;

    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,.55);
}

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

.yx-footer {
    background: #021A12;
    color: white;
    padding: 75px 0 0;
}

.yx-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 65px;

    padding-bottom: 65px;
}

.yx-footer-brand > a {
    font-family: var(--yx-serif);
    font-size: 38px;
    letter-spacing: 3px;
}

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

    font-size: 9px;
    letter-spacing: 2px;
    color: var(--yx-gold);

    margin-top: 5px;
}

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

    font-size: 12px;
    line-height: 1.9;
    color: rgba(255,255,255,.66);

    margin-top: 25px;
}

.yx-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.yx-footer-links h3 {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--yx-gold);

    margin-bottom: 8px;
}

.yx-footer-links a {
    font-size: 12px;
    color: rgba(255,255,255,.75);

    transition: color .25s;
}

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

.yx-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255,255,255,.12);
    padding: 25px 0;

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

.yx-back-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    z-index: 90;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 50%;

    background: var(--yx-gold);
    color: var(--yx-dark);

    font-size: 24px;

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

/* ===========================================
   REVEAL ANIMATIONS
=========================================== */

.yx-motion [data-reveal] {
    opacity: 0;
    transform: translateY(32px);

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

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

/* ===========================================
   RESPONSIVE — TABLET
=========================================== */

@media (max-width: 1080px) {

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

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

    .yx4-intro-grid,
    .yx4-faq-grid {
        gap: 45px;
    }

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

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

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

    .yx4-step {
        border-right: none !important;
    }

}

/* ===========================================
   RESPONSIVE — MOBILE
=========================================== */

@media (max-width: 760px) {

    .yx-topbar {
        display: none;
    }

    .yx-nav-shell {
        height: 76px;
    }

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

    .yx-logo-copy strong {
        font-size: 24px;
    }

    .yx-logo-copy small {
        font-size: 7px;
    }

    .yx-logo-symbol {
        width: 36px;
        height: 36px;
        font-size: 21px;
    }

    .yx4-hero {
        height: auto;
        min-height: 740px;
    }

    .yx4-hero-layout {
        min-height: 740px;
    }

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

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

    .yx4-hero-side {
        display: none;
    }

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

    .yx4-hero-bottom span {
        max-width: 190px;
        font-size: 9px;
    }

    .yx4-search-card {
        padding: 24px;
    }

    .yx4-search-top {
        flex-direction: column;
        align-items: start;
    }

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

    .yx4-search-submit {
        min-height: 57px;
    }

    .yx4-intro,
    .yx4-categories,
    .yx4-featured,
    .yx4-process,
    .yx4-faq,
    .yx4-contact {
        padding: 75px 0;
    }

    .yx4-intro-grid,
    .yx4-faq-grid,
    .yx4-contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .yx4-section-heading,
    .yx4-featured-head {
        flex-direction: column;
        align-items: start;
    }

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

    .yx4-category-house,
    .yx4-category-land {
        grid-column: span 2;
        grid-row: auto;
        min-height: 370px;
    }

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

    .yx4-brand-strip-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .yx4-brand-strip p {
        font-size: 16px;
    }

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

    .yx4-featured-controls {
        align-items: start;
        flex-direction: column;
    }

    .yx4-inventory-bar {
        flex-direction: column;
        align-items: start;
    }

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

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

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

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

    .yx4-step {
        padding: 25px 10px;
    }

    .yx4-step-symbol {
        margin: 22px 0;
    }

    .yx4-faq-grid {
        gap: 45px;
    }

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

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

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

}

/* ===========================================
   RESPONSIVE — SMALL SCREENS
=========================================== */

@media (max-width: 480px) {

    .yx-container {
        width: 91%;
    }

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

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

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

    .yx4-category-house,
    .yx4-category-land,
    .yx4-category-lot,
    .yx4-category-hectare {
        grid-column: auto;
        min-height: 330px;
    }

    .yx4-category-house {
        min-height: 410px;
    }

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

    .yx4-search-tab {
        padding: 10px 15px;
    }

    .yx4-inventory-bar > div {
        flex-direction: column;
        align-items: start;
    }

    .yx4-contact-card {
        padding: 27px;
    }

}

/* ===========================================
   ACCESSIBILITY
=========================================== */

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

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

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

}


/* ===========================================
   YAXCHÉ V4 — CATÁLOGO Y DETALLE
   Agregar al final de yaxche.css
=========================================== */

.yx-inner .page-banner {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(194,166,109,.18),
            transparent 30%
        ),
        var(--yx-green);

    padding: 105px 0;
}

.yx-inner .page-banner::after {
    content: "✳";
    position: absolute;
    right: 5%;
    top: 50%;

    transform: translateY(-50%);

    font-size: clamp(120px,20vw,290px);
    color: rgba(255,255,255,.065);
    pointer-events: none;
}

.yx-inner .page-banner h1 {
    position: relative;
    z-index: 1;

    max-width: 800px;
    font-family: var(--yx-serif);
    font-size: clamp(45px,6vw,78px);
    font-weight: 400;
    line-height: 1.2;
}

.yx-inner .catalog-section {
    padding: 75px 0 120px;
    background: #FAFBF8;
}

.yx-inner .catalog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    padding: 25px;
    margin-bottom: 60px;

    background: white;
    border: 1px solid var(--yx-line);
    border-top: 3px solid var(--yx-gold);

    box-shadow: 0 14px 45px rgba(0,0,0,.04);
}

.yx-inner .catalog-filters select,
.yx-inner .catalog-filters input {
    min-height: 53px;

    border: 1px solid var(--yx-line);
    background: var(--yx-cream);

    padding: 0 17px;

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

.yx-inner .catalog-heading {
    border-bottom: 1px solid var(--yx-line);
    padding-bottom: 25px;
    margin-bottom: 35px;
}

.yx-inner .catalog-heading h2 {
    font-family: var(--yx-serif);
    font-size: 38px;
    font-weight: 400;
}

.yx-inner .property-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.yx-inner .property-card {
    background: white;
    border: 1px solid var(--yx-line);
    overflow: hidden;

    transition:
        transform .35s var(--yx-ease),
        box-shadow .35s var(--yx-ease);
}

.yx-inner .property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,.09);
}

.yx-inner .property-image {
    height: 270px;
    overflow: hidden;
}

.yx-inner .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform .7s var(--yx-ease);
}

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

.yx-inner .property-info {
    padding: 25px;
}

.yx-inner .property-info h3 {
    font-family: var(--yx-serif);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.35;
}

.yx-inner .property-info strong {
    color: var(--yx-green);
}

.yx-inner .property-action {
    color: var(--yx-green);
    border-top: 1px solid var(--yx-line);
}

/* DETALLE */

.yx-inner .detail-section {
    padding: 55px 0 120px;
    background: #FAFBF8;
}

.yx-inner .detail-header h1 {
    font-family: var(--yx-serif);
    font-weight: 400;
    font-size: clamp(38px,5vw,65px);
}

.yx-inner .detail-price {
    color: var(--yx-green);
}

.yx-inner .detail-image {
    overflow: hidden;
    background: var(--yx-cream);
}

.yx-inner .detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yx-inner .detail-grid {
    gap: 75px;
}

.yx-inner .detail-main h2 {
    font-family: var(--yx-serif);
    font-weight: 400;
    font-size: 33px;
}

.yx-inner .detail-aside {
    background: white;

    border: 1px solid var(--yx-line);
    border-top: 3px solid var(--yx-gold);

    padding: 35px;

    box-shadow: 0 15px 35px rgba(0,0,0,.04);
}

.yx-inner .detail-aside h3 {
    font-family: var(--yx-serif);
    font-weight: 400;
    font-size: 30px;
}

@media (max-width: 950px) {

    .yx-inner .property-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .yx-inner .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 650px) {

    .yx-inner .property-grid {
        grid-template-columns: 1fr;
    }

    .yx-inner .catalog-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .yx-inner .catalog-filters select,
    .yx-inner .catalog-filters input {
        width: 100%;
        flex: auto;
    }

    .yx-inner .catalog-heading,
    .yx-inner .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .yx-inner .detail-grid {
        gap: 30px;
    }

}