:root {
    --green-deep: #1C4B35;
    --green-mid: #2A7D4F;
    --green-light: #3DAB6B;
    --green-pale: #EAF5EE;
    --yellow: #E8C840;
    --yellow-warm: #F0D560;
    --yellow-pale: #FDF8DC;
    --red: #D6293E;
    --red-deep: #A81F30;
    --cream: #F8F5EE;
    --brown-warm: #7A6A52;
    --white: #FFFFFF;
    --dark: #111B16;
    --txt: #1E2A24;
    --txt-muted: #5A7266;
    --txt-light: #92A89E;
    --border: #D9E4DE;
    --border-light: #EDF3EF;
    --shadow-sm: 0 1px 4px rgba(28,75,53,0.08);
    --shadow-md: 0 6px 20px rgba(28,75,53,0.12);
    --shadow-lg: 0 16px 48px rgba(28,75,53,0.16);
    --shadow-xl: 0 28px 64px rgba(28,75,53,0.2);
    --font: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --max-w: 1600px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font); background: var(--cream); color: var(--txt); line-height: 1.65; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 5px 0;
    background: transparent;
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.site-header.scrolled {
    background: var(--green-deep);
    box-shadow: 0 1px 0 rgba(232,200,64,0.15), var(--shadow-sm);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.header-logo-link { display: flex; align-items: center; flex-shrink: 0; }

.header-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    pointer-events: none;
    border-radius: var(--radius);
}

.site-header.scrolled .header-logo {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.main-nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: 1.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.8);
    position: relative;
    transition: color 0.22s var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 2px;
    background: var(--yellow);
    border-radius: 2px;
    transition: width 0.28s var(--ease);
}

.nav-link:hover, .nav-link--active { color: var(--yellow); }
.nav-link:hover::after, .nav-link--active::after { width: 100%; }

.nav-link--cta {
    background: var(--yellow);
    color: var(--dark) !important;
    padding: 0.55rem 1.35rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.78rem;
    transition: background 0.22s var(--ease), transform 0.2s var(--ease), box-shadow 0.22s var(--ease);
}

.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--yellow-warm); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,200,64,0.35); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
    margin-right: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), width 0.3s var(--ease);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-section {
    position: relative;
    top: 0;
    z-index: 20;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: visible;
}

.hero-bg-picture { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        110deg,
        rgba(28,75,53,0.72) 0%,
        rgba(28,75,53,0.52) 50%,
        rgba(17,27,22,0.28) 100%
    );
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
}

.hero-logo-wrap {
    width: 120px;
    height: auto;
    margin-bottom: 1.75rem;
    animation: fadeSlideUp 0.9s var(--ease) 0.1s both;
}

.hero-logo-img {
    width: 120px;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.hero-eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1rem;
    animation: fadeSlideUp 0.9s var(--ease) 0.28s both;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.07;
    color: var(--white);
    margin-bottom: 1.1rem;
    max-width: 580px;
    animation: fadeSlideUp 0.9s var(--ease) 0.42s both;
}

.hero-title span { color: var(--yellow); font-style: italic; }

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    max-width: 420px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeSlideUp 0.9s var(--ease) 0.56s both;
}

.hero-search-card {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 1150px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 8px 24px rgba(0,0,0,0.1);
    animation: fadeSlideUp 0.9s var(--ease) 0.7s both;

    box-sizing: border-box;
}

.search-card-header {
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
    padding: 0.85rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.search-card-header svg {
    width: 15px;
    height: 15px;
    color: rgba(255,255,255,0.75);
    flex-shrink: 0;
}

.search-card-title {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    opacity: 0.95;
}

.search-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    background: var(--border-light);
    border-radius: var(--radius);
    padding: 3px;
    width: 100%;
}

.search-tab {
    padding: 0.45rem 1.25rem;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: none;
    border: none;
    color: var(--txt-muted);
    transition: background 0.22s var(--ease), color 0.22s var(--ease);
}

.search-tab.active {
    background: var(--green-deep);
    color: var(--white);
}

.search-tab:hover:not(.active) { background: var(--border); color: var(--txt); }

.search-fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: end;
    padding: 1.5rem 1.75rem;
    box-sizing: border-box;
    width: 100%;
}

.search-fields .btn-search { grid-column: 1 / -1; justify-self: end; margin-top: 0.2rem; }

.search-field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }

.price-field-row {
    display: flex;
    gap: 0.4rem;
    min-width: 0;
    overflow: visible;
    background: transparent;
}
.price-field-row:focus-within { border: none; box-shadow: none; }
.price-field-row select#search-moneda {
    flex: 0 0 76px;
    border: none;
    border-right: 1.5px solid var(--border);
    border-radius: 10px 0 0 10px;
    padding: 0.75rem 0.5rem 0.75rem 0.75rem;
    background-position: right 0.35rem center;
    background-size: 10px;
    background-color: var(--border-light);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--green-deep);
}
.price-field-row select#search-precio {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 0 10px 10px 0;
    font-size: 0.875rem;
    padding-right: 2.2rem;
}
.price-field-row select:focus { outline: none; box-shadow: none; }

/* ── Native select: hidden, replaced by custom dropdown ── */
.native-select { display: none !important; }

/* ── Custom Select ──────────────────────────────────────── */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 0.9rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--txt);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
    box-sizing: border-box;
    line-height: 1.4;
}

.custom-select__val {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.cs-chevron {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: #92A89E;
    transition: transform 0.22s var(--ease);
}

.custom-select.is-open .cs-chevron { transform: rotate(180deg); }
.custom-select.is-open { z-index: 100; }

.custom-select__trigger:hover:not(:disabled) {
    border-color: var(--green-mid);
    background: rgba(42,125,79,0.025);
}

.custom-select.is-open .custom-select__trigger {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(42,125,79,0.14);
}

.custom-select.is-disabled .custom-select__trigger {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.custom-select__list {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1.5px solid var(--green-mid);
    border-radius: 10px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.07);
    z-index: 9999;
    overflow-y: auto;
    max-height: 300px;
    overscroll-behavior: contain;
}

.custom-select.is-open .custom-select__list { display: block; }

.custom-select__item {
    padding: 0.72rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--txt);
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
    user-select: none;
    line-height: 1.4;
}

.custom-select__item:first-child { border-radius: 10px 10px 0 0; }
.custom-select__item:last-child { border-radius: 0 0 10px 10px; }
.custom-select__item:only-child { border-radius: 10px; }

.custom-select__item:hover {
    background: var(--border-light);
    color: var(--green-deep);
}

.custom-select__item.is-selected {
    background: rgba(42,125,79,0.09);
    color: var(--green-deep);
    font-weight: 600;
}

/* Price field custom selects */
.custom-select[data-for="search-moneda"] { flex: 0 0 82px; }
.custom-select[data-for="search-precio"] { flex: 1; }

.custom-select[data-for="search-moneda"] .custom-select__trigger {
    font-weight: 700;
    color: var(--green-deep);
    background: var(--border-light);
    padding-left: 0.6rem;
    padding-right: 0.5rem;
    justify-content: space-between;
}

.custom-select[data-for="search-moneda"] .cs-chevron { width: 11px; height: 11px; }

#search-operacion:disabled { opacity: 0.55; cursor: not-allowed; }

.search-field label {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-deep);
    opacity: 0.65;
}

.search-field select,
.search-field input {
    width: 100%;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--txt);
    background: var(--white);
    outline: none;
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392A89E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 14px;
    padding-right: 2.5rem;
    box-sizing: border-box;
    line-height: 1.4;
}

.search-field input {
    background-image: none;
    padding-right: 1rem;
}

.search-field select:hover,
.search-field input:hover {
    border-color: var(--green-mid);
    background: rgba(42,125,79,0.02);
}

.search-field select:focus,
.search-field input:focus {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(42,125,79,0.14);
    background: #fff;
}

#search-tipo,
#search-operacion,
#search-zona {
    padding-left: 2.6rem;
    background-repeat: no-repeat, no-repeat;
    background-position: right 0.85rem center, left 0.9rem center;
    background-size: 14px, 17px;
}

#search-tipo {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392A89E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392A89E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E");
}

#search-operacion {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392A89E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392A89E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v18'/%3E%3Cpath d='M3 7l4-4 4 4'/%3E%3Cpath d='M17 21V3'/%3E%3Cpath d='M21 17l-4 4-4-4'/%3E%3C/svg%3E");
}

#search-zona {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392A89E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392A89E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.5 7-11a7 7 0 1 0-14 0c0 5.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.btn-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
    color: var(--white);
    border: none;
    padding: 0.82rem 2.5rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.22s var(--ease);
    box-shadow: 0 4px 18px rgba(28,75,53,0.35);
    width: fit-content;
}

.btn-search svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-search:hover { background: linear-gradient(135deg, var(--green-mid) 0%, var(--green-deep) 100%); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(28,75,53,0.42); }
.btn-search:active { transform: translateY(0); box-shadow: 0 3px 10px rgba(28,75,53,0.3); }

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: fadeSlideUp 1s var(--ease) 1.2s both;
}

.sh-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, rgba(232,200,64,0.7), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

.hero-scroll-hint span {
    font-size: 0.58rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(232,200,64,0.5);
    writing-mode: vertical-lr;
}

.propiedades-section,
.site-footer { position: relative; z-index: 2; }

.propiedades-section { padding: 1rem 0; background: var(--cream); }

.section-hd {
    text-align: center;
    padding-top: 0.5rem;
    margin-bottom: 3rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 0.75rem;
    position: relative;
}

.section-eyebrow::before, .section-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 22px; height: 1px;
    background: var(--green-mid);
    opacity: 0.4;
}

.section-eyebrow::before { right: calc(100% + 8px); }
.section-eyebrow::after { left: calc(100% + 8px); }

.section-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1.15;
}

.section-title span { color: var(--green-mid); font-style: italic; }

.section-desc {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--txt-muted);
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.propiedades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-bottom: 1.5rem;
}
.ver-mas-wrap {
    text-align: center;
    padding-bottom: 3rem;
}
.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 2px solid var(--green-deep, #1a3a2a);
    border-radius: 50px;
    color: var(--green-deep, #1a3a2a);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-ver-mas:hover { background: var(--green-deep, #1a3a2a); color: #fff; }
.btn-ver-mas[hidden] { display: none; }

.prop-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.prop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
}

.prop-img-box {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-pale) 0%, var(--border) 100%);
}

.prop-img-box img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.prop-tags {
    position: absolute;
    top: 1rem; left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.prop-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius);
    backdrop-filter: blur(4px);
}

.prop-tag--venta { background: var(--green-deep); color: var(--white); }
.prop-tag--alquiler { background: var(--yellow); color: var(--dark); }
.prop-tag--credito { background: var(--yellow); color: var(--dark); }
.prop-tag--reservada { background: var(--red); color: var(--white); }

.prop-reservada-ribbon {
    position: absolute;
    top: 1.1rem; right: -2.6rem;
    z-index: 6;
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.4rem 3rem;
    transform: rotate(40deg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    pointer-events: none;
}

.prop-tag-tipo {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.92);
    color: var(--txt-muted);
    backdrop-filter: blur(4px);
}

.prop-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.prop-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--txt-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.prop-location svg { width: 12px; height: 12px; flex-shrink: 0; }

.prop-name {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--green-deep);
    line-height: 1.3;
    margin-bottom: 0.85rem;
    flex: 1;
}

.prop-features {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.prop-feat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--txt-muted);
    font-weight: 500;
}

.prop-feat svg { width: 14px; height: 14px; color: var(--green-mid); flex-shrink: 0; }

.prop-divider { height: 1px; background: var(--border-light); margin-bottom: 1rem; }

.prop-footer-row { display: flex; align-items: center; justify-content: space-between; }

.prop-price {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-deep);
}

.prop-price-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--txt-light);
    display: block;
    font-family: var(--font);
}

.btn-ver-prop {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-mid);
    background: var(--green-pale);
    border: none;
    padding: 0.55rem 1rem;
    border-radius: var(--radius);
    transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.2s var(--ease);
}

.btn-ver-prop svg { width: 13px; height: 13px; transition: transform 0.22s var(--ease); }
.prop-card:hover .btn-ver-prop { background: var(--green-deep); color: var(--white); }
.prop-card:hover .btn-ver-prop svg { transform: translateX(3px); }

.prop-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-pale) 0%, #D4E8DB 100%);
    gap: 0.75rem;
}

.prop-placeholder svg { width: 48px; height: 48px; color: var(--green-mid); opacity: 0.5; }
.prop-placeholder span { font-size: 0.78rem; color: var(--txt-light); font-weight: 500; }

.props-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--txt-light);
    font-size: 0.92rem;
}
.props-empty a { color: var(--green-mid); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════════════
   NOSOTROS
══════════════════════════════ */
.nosotros-section { padding: 1rem 0 5rem; background: var(--cream); }

.nosotros-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.nosotros-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
}

.nosotros-media img { width: 100%; height: 100%; object-fit: cover; }

.nosotros-badge {
    position: absolute;
    bottom: 1.25rem; left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--green-deep);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.4rem;
    box-shadow: var(--shadow-lg);
}

.nosotros-badge strong {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--yellow);
}

.nosotros-badge span {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.5;
}

.nosotros-text .section-eyebrow::before { display: none; }

.section-desc--left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

.nosotros-tagline {
    margin-top: 1.5rem;
    padding: 1.1rem 1.4rem;
    background: var(--green-pale);
    border-left: 4px solid var(--green-mid);
    border-radius: var(--radius);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--green-deep);
    line-height: 1.6;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.nosotros-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.nosotros-card h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 0.75rem;
}

.nosotros-card h3:not(:first-child) { margin-top: 1.25rem; }

.nosotros-card p {
    font-size: 0.88rem;
    color: var(--txt-muted);
    line-height: 1.7;
}

.nosotros-card ul { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; }

.nosotros-card li {
    font-size: 0.88rem;
    color: var(--txt-muted);
    line-height: 1.5;
    padding-left: 1.1rem;
    position: relative;
}

.nosotros-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.55em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green-light);
}

.nosotros-card li strong { color: var(--green-deep); }

/* ══════════════════════════════
   LA SEÑA
══════════════════════════════ */
.sena-section { padding: 1rem 0 5rem; background: var(--white); }

.sena-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.sena-card {
    background: var(--green-pale);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
}

.sena-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--green-light);
    opacity: 0.55;
    margin-bottom: 0.5rem;
}

.sena-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 0.75rem;
}

.sena-card p { font-size: 0.88rem; color: var(--txt-muted); line-height: 1.75; }

.sena-cta-text {
    text-align: center;
    font-size: 0.95rem;
    color: var(--txt-muted);
}

.sena-cta-text a { color: var(--green-mid); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════════════
   AYUDA / CONSULTA PERSONALIZADA
══════════════════════════════ */
.ayuda-section { padding: 1rem 0 5rem; background: var(--green-pale); }

.ayuda-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
    padding-top: 3rem;
}

.ayuda-text { padding-top: 0.5rem; }

.ayuda-points {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ayuda-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--txt-muted);
    line-height: 1.5;
}

.ayuda-points li::before {
    content: '';
    flex-shrink: 0;
    width: 18px; height: 18px;
    margin-top: 0.15rem;
    border-radius: 50%;
    background-color: var(--green-mid);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

.ayuda-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.ayuda-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.ayuda-form textarea {
    width: 100%;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--txt);
    background: var(--white);
    outline: none;
    resize: vertical;
    min-height: 90px;
    box-sizing: border-box;
    line-height: 1.5;
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.ayuda-form textarea:hover { border-color: var(--green-mid); background: rgba(42,125,79,0.02); }
.ayuda-form textarea:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(42,125,79,0.14); background: #fff; }

.ayuda-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.95rem 1.5rem;
}

.ayuda-submit svg { width: 18px; height: 18px; }

.site-footer { background: var(--green-deep); padding: 0; }

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.footer-brand-col p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 280px;
}

.footer-nav-col, .footer-contact-col { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col-title {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 0.35rem;
    opacity: 0.8;
}

.footer-nav-col a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s var(--ease);
}

.footer-nav-col a:hover { color: var(--yellow); }

.footer-contact-col span,
.footer-contact-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.2s var(--ease); }
.footer-contact-col a:hover { color: var(--yellow); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.22); }
.footer-credit { font-size: 0.75rem; color: rgba(255,255,255,0.22); }
.footer-credit a { color: rgba(232,200,64,0.6); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s var(--ease); }
.footer-credit a:hover { color: var(--yellow); }

.prop-detail-hero {
    background: var(--green-deep);
    padding: .5rem 0 0.8rem;
    position: relative;
    z-index: 2;
}

.prop-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.25rem;
    transition: color 0.2s var(--ease);
}

.prop-back-link svg { width: 14px; height: 14px; }
.prop-back-link:hover { color: var(--yellow); }

.prop-detail-tags { display: flex; gap: 0.65rem; margin-bottom: 1rem; }
.prop-detail-tags .prop-tag { position: static; }

.prop-detail-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.prop-detail-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}

.prop-detail-location svg { width: 14px; height: 14px; }

.prop-detail-main {
    position: relative;
    z-index: 2;
    background: var(--cream);
    padding: 1rem 0 2rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.prop-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
    padding-top: 2rem;
}

.prop-detail-gallery {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.25rem;
    max-width: 900px;
}

.prop-detail-gallery-placeholder {
    aspect-ratio: 5/3;
    max-height: auto;
    background: linear-gradient(135deg, var(--green-pale) 0%, #D4E8DB 100%);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--txt-light);
}

.prop-detail-gallery-placeholder svg { width: 64px; height: 64px; color: var(--green-mid); opacity: 0.4; }
.prop-detail-gallery-placeholder span { font-size: 0.88rem; }

.gal-main {
    aspect-ratio: 5/3;
    max-height: 640px;
    width: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gal-main img, .gal-main video {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}

.gal-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    cursor: grab;
    user-select: none;
    padding-bottom: 0.35rem;
}

.gal-thumbs.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.gal-thumbs::-webkit-scrollbar { height: 6px; }
.gal-thumbs::-webkit-scrollbar-track { background: transparent; }
.gal-thumbs::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.gal-thumb {
    flex: 0 0 calc(22% - 0.47rem);
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--dark);
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gal-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; }
.gal-thumb.active { border-color: var(--green-mid); }

.gal-thumb-video {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    background: rgba(0,0,0,0.4);
}

.prop-section-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 1rem;
}

.prop-desc-text {
    font-size: 0.95rem;
    color: var(--txt-muted);
    line-height: 1.9;
    margin-bottom: 2rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--green-mid);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    white-space: pre-line;
}

.prop-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.prop-feat-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.prop-feat-item svg { width: 20px; height: 20px; color: var(--green-mid); }
.prop-feat-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--txt-light); }
.prop-feat-val { font-size: 1rem; font-weight: 700; color: var(--green-deep); }

.prop-sidebar {
    position: sticky;
    top: 90px;
}

.prop-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
}

.prop-sidebar-price {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-deep);
    margin-bottom: 0.25rem;
}

.prop-sidebar-price-sub { font-size: 0.78rem; color: var(--txt-light); margin-bottom: 1.5rem; }

.btn-contact {
    width: 100%;
    background: var(--green-deep);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    transition: background 0.22s var(--ease), transform 0.2s var(--ease);
}

.btn-contact:hover { background: var(--green-mid); transform: translateY(-1px); }

.btn-whatsapp {
    width: 100%;
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.22s var(--ease), transform 0.2s var(--ease);
    margin-bottom: 1.5rem;
}

.btn-whatsapp svg { width: 17px; height: 17px; }
.btn-whatsapp:hover { background: #20BD5A; transform: translateY(-1px); }

.prop-sidebar-ref { font-size: 0.72rem; color: var(--txt-light); text-align: center; }

.prop-info-list { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); margin-bottom: 1.25rem; }

.prop-info-row { display: flex; justify-content: space-between; align-items: center; }
.prop-info-key { font-size: 0.78rem; color: var(--txt-light); font-weight: 500; }
.prop-info-val { font-size: 0.85rem; font-weight: 700; color: var(--txt); }

.animate-up, .animate-left, .animate-right {
    opacity: 0;
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.animate-up { transform: translateY(44px); }
.animate-left { transform: translateX(-52px); }
.animate-right { transform: translateX(52px); }

.animate-up.in-view,
.animate-left.in-view,
.animate-right.in-view { opacity: 1; transform: translate(0, 0); }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@media (max-width: 1440px) {
    .hero-title { font-size: 3.5rem; }
    .propiedades-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .propiedades-grid { grid-template-columns: repeat(2, 1fr); }
    .nosotros-grid { grid-template-columns: 1fr 1fr; }
    .nosotros-intro { grid-template-columns: 1fr; gap: 2rem; }
    .nosotros-media { aspect-ratio: 16 / 9; }
    .sena-grid { grid-template-columns: 1fr; }
    .prop-detail-layout { grid-template-columns: 1fr 300px; }
    .prop-detail-gallery { max-width: none; }
    .gal-main, .prop-detail-gallery-placeholder { max-height: 360px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .search-fields { grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 1.25rem 1.25rem; }
    .btn-search { width: 100%; justify-content: center; }
    .search-fields .btn-search { justify-self: stretch; }
    .ayuda-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .ayuda-form { max-width: 560px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.6rem; }
    .nav-toggle { display: flex; }

    .nav-list {
        position: fixed;
        top: 0; right: 0;
        width: 70vw; height: 50vh;
        background: var(--green-deep);
        box-shadow: -10px 0 40px rgba(0,0,0,0.25);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        transform: translateX(110%);
        transition: transform 0.38s var(--ease);
        z-index: 999;
        border-bottom-left-radius: var(--radius-lg);
    }

    .nav-list.open { transform: translateX(0); }
    .nav-link { font-size: 0.85rem; }

    .propiedades-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .nosotros-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .prop-detail-layout { grid-template-columns: 1fr; }
    .prop-sidebar { position: static; }

    .section-hd { padding-top: 2.5rem; }
    .search-fields { grid-template-columns: 1fr; padding: 1rem; gap: 0.7rem; }
    .btn-search { width: 100%; justify-content: center; }
    .search-fields .btn-search { justify-self: stretch; }
    .hero-search-card { border-radius: 0.75rem; }
    .custom-select__trigger { font-size: 1rem; }
    .custom-select__item { font-size: 1rem; padding: 0.85rem 1rem; }
    .prop-features-grid { grid-template-columns: 1fr 1fr; }
    .prop-detail-title { font-size: 1.5rem; }
    .ayuda-form-row { grid-template-columns: 1fr; gap: 0.85rem; }
    .ayuda-form { padding: 1.5rem; }
    .gal-main, .prop-detail-gallery-placeholder { max-height: 320px; }
    .gal-thumb { flex: 0 0 calc(30% - 0.42rem); }
    .prop-desc-text { padding: 1.25rem; }
}

@media (max-width: 480px) {
    .hero-section { min-height: 110vh; }
    .container { padding: 0 1.25rem; }
    .hero-title { font-size: 2.1rem; }
    .hero-content-wrap { padding: 0 1.25rem; padding-top: 0rem; padding-bottom: 2rem; }
    .section-title { font-size: 1.9rem; }
    .prop-features-grid { grid-template-columns: 1fr; }
}
