@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #06090c;
    --bg-dark-2: #0e131b;
    --surface-dark: #131a24;
    --surface-light: #f5f7fb;
    --surface-card: #ffffff;
    --brand-green: #86a751;
    --brand-green-strong: #6d8e38;
    --brand-gold: #d6b24b;
    --text-dark: #121a24;
    --text-light: #f4f7ff;
    --muted-light: #c8d3e2;
    --muted-dark: #67758a;
    --line-dark: rgba(255, 255, 255, 0.16);
    --line-light: rgba(9, 13, 8, 0.14);
    --shadow-sm: 0 10px 28px rgba(14, 20, 32, 0.12);
    --shadow-lg: 0 22px 48px rgba(12, 18, 30, 0.22);
    --radius: 18px;
    --header-height: 84px;
    --header-height-mobile: 78px;
    --font-premium-detail: "Noto Serif", "Georgia", "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: "Manrope", sans-serif;
    color: var(--text-dark);
    background: var(--surface-light);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(214, 178, 75, 0.92);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hp-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.container {
    width: min(1320px, calc(100% - 52px));
    margin-inline: auto;
}

.page-main {
    padding-top: 84px;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top));
}

.language-gate {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(6, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    padding: 20px;
}

.language-gate.is-hidden {
    display: none;
}

.language-gate-panel {
    width: min(780px, 100%);
    background: linear-gradient(165deg, rgba(10, 16, 22, 0.98), rgba(14, 21, 30, 0.96));
    border: 1px solid rgba(134, 167, 81, 0.45);
    border-radius: 16px;
    color: var(--text-light);
    padding: clamp(24px, 3vw, 38px);
    box-shadow: var(--shadow-lg);
}

.gate-eyebrow {
    margin: 0 0 12px;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.76rem;
    font-weight: 700;
}

.language-gate-panel h1 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.language-gate-panel > p {
    margin: 10px 0 24px;
    color: var(--muted-light);
}

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

.language-card {
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    color: var(--text-light);
    text-align: left;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.language-card:hover {
    border-color: var(--brand-green);
    background: rgba(134, 167, 81, 0.16);
    transform: translateY(-1px);
}

.language-card .flag {
    font-size: 1.2rem;
}

.language-card strong {
    font-size: 0.98rem;
    font-weight: 700;
}

.language-card small {
    color: #c2d0bf;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: 84px;
    height: calc(var(--header-height) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    z-index: 1200;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(14, 22, 30, 0.08);
    backdrop-filter: blur(10px);
}

.header-row {
    height: var(--header-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    isolation: isolate;
}

.brand-logo {
    display: block;
    width: clamp(150px, 22vw, 260px);
    height: auto;
    max-height: 72px;
    object-fit: contain;
    opacity: 1;
    filter: none !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-light);
    border-radius: 10px;
    background: white;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #1a221b;
    margin: 5px 0;
}

.site-nav {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    font-size: 0.94rem;
    font-weight: 700;
    color: #1a242c;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: width 0.2s ease;
}

.nav-link.is-active,
.nav-link:hover {
    color: #2c4020;
}

.nav-link.is-active::after,
.nav-link:hover::after {
    width: 100%;
}

.header-lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lang-chip {
    border: 1px solid var(--line-light);
    border-radius: 10px;
    background: white;
    color: #2b3644;
    padding: 7px 8px;
    min-width: 36px;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.lang-chip:hover {
    border-color: rgba(113, 145, 64, 0.4);
}

.lang-chip.is-active {
    background: #edf5e2;
    border-color: rgba(113, 145, 64, 0.55);
    color: #405b1d;
}

.hero-home {
    position: relative;
    min-height: min(84vh, 790px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: #06090c;
}

.hero-video,
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    filter: saturate(1.05) contrast(1.04);
}

.hero-fallback {
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(5, 9, 14, 0.58), rgba(5, 9, 14, 0.76)),
        radial-gradient(circle at 78% 18%, rgba(214, 178, 75, 0.26), rgba(5, 9, 14, 0) 34%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.13) 1px, transparent 0);
    background-size: 3px 3px;
    mix-blend-mode: soft-light;
    opacity: 0.08;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    pointer-events: none;
}

.hero-glow-a {
    width: 280px;
    height: 280px;
    background: rgba(214, 178, 75, 0.16);
    top: 14%;
    right: 8%;
    animation: heroFloatA 8.5s ease-in-out infinite;
}

.hero-glow-b {
    width: 220px;
    height: 220px;
    background: rgba(134, 167, 81, 0.18);
    bottom: 10%;
    left: 8%;
    animation: heroFloatB 9s ease-in-out infinite;
}

@keyframes heroFloatA {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.65;
    }
    50% {
        transform: translateY(-16px);
        opacity: 0.95;
    }
}

@keyframes heroFloatB {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.56;
    }
    50% {
        transform: translateY(14px);
        opacity: 0.92;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    color: var(--text-light);
    padding: 48px 0;
}

.hero-kicker {
    margin: 0;
    color: var(--brand-gold);
    font-size: 1.06rem;
    font-weight: 600;
}

.hero-home h1 {
    margin: 8px 0 14px;
    font-family: "Cinzel", serif;
    line-height: 1.07;
    font-size: clamp(2.1rem, 5.8vw, 4rem);
}

.hero-home p {
    max-width: 68ch;
    font-size: 1.02rem;
    color: #e7ecf6;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-metrics {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
}

.hero-metric {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 14, 24, 0.42);
    backdrop-filter: blur(8px);
}

.hero-metric strong {
    display: block;
    font-size: 1.14rem;
    color: #f9f1da;
}

.hero-metric span {
    display: block;
    margin-top: 3px;
    color: #d2dded;
    font-size: 0.82rem;
}

.btn-gold,
.btn-dark,
.btn-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 11px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-gold:hover,
.btn-dark:hover,
.btn-outline:hover {
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--brand-gold);
    color: #1e1908;
    box-shadow: 0 8px 18px rgba(214, 178, 75, 0.35);
}

.btn-gold.ghost {
    background: rgba(214, 178, 75, 0.2);
    border: 1px solid rgba(214, 178, 75, 0.55);
    color: #f4e6b8;
    box-shadow: none;
}

.btn-dark {
    background: linear-gradient(145deg, #1c2530, #171f29);
    color: #f2f7e6;
}

.btn-outline {
    border: 1px solid rgba(27, 36, 20, 0.25);
    color: #1b2414;
    background: transparent;
}

.section-light {
    background: #f5f7fb;
    padding: 66px 0;
}

.section-head {
    margin-bottom: 26px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--brand-gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.77rem;
    font-weight: 700;
}

.section-head h2 {
    margin: 0;
    color: #172233;
    font-size: clamp(1.6rem, 3.5vw, 2.7rem);
}

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

.property-card {
    background: var(--surface-card);
    border: 1px solid #e2e8f1;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.property-cover-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.property-cover {
    width: 100%;
    height: 270px;
    object-fit: cover;
    background: #c9ced8;
    transition: transform 0.45s ease;
}

.property-card:hover .property-cover {
    transform: scale(1.04);
}

.property-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.property-badge {
    border-radius: 999px;
    min-height: 24px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 800;
}

.property-badge.is-featured {
    background: rgba(214, 178, 75, 0.95);
    color: #211a08;
}

.property-badge.is-new {
    background: rgba(134, 167, 81, 0.95);
    color: #0f1708;
}

.property-cover-overlay {
    position: absolute;
    inset: auto 12px 12px 12px;
    min-height: 34px;
    border-radius: 999px;
    background: rgba(8, 13, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #edf3ff;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.property-card:hover .property-cover-overlay {
    opacity: 1;
    transform: translateY(0);
}

.property-body {
    padding: 16px;
    display: grid;
    gap: 9px;
}

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

.property-type {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f6e8b4;
    color: #2f2710;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.property-price {
    font-weight: 800;
    font-size: 1.12rem;
    color: #1b2533;
}

.property-title {
    margin: 0;
    font-size: 1.08rem;
    color: #162232;
}

.property-location {
    color: #5f6e82;
    font-size: 0.92rem;
}

.property-description {
    margin: 0;
    color: #4f6074;
    font-size: 0.88rem;
    line-height: 1.54;
    min-height: 44px;
}

.property-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.meta-chip {
    border-radius: 999px;
    font-size: 0.72rem;
    background: #f2f5fa;
    color: #3e4f63;
    padding: 4px 10px;
}

.property-actions {
    margin-top: 3px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.property-actions .btn-dark,
.property-actions .btn-outline {
    width: 100%;
    min-height: 40px;
    font-size: 0.82rem;
}

.empty-state {
    border: 1px dashed #c8d2e0;
    border-radius: 12px;
    background: #fff;
    color: #6f8096;
    padding: 16px;
}

.section-cta-row {
    margin-top: 26px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inner-hero {
    background: linear-gradient(148deg, #0f1622, #1b2738);
    color: var(--text-light);
    padding: 56px 0 44px;
}

.inner-hero h1 {
    margin: 0 0 8px;
    font-family: "Cinzel", serif;
    font-size: clamp(1.78rem, 4vw, 2.9rem);
}

.inner-hero p {
    max-width: 78ch;
    color: #c7d4e6;
}

.properties-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.toolbar-extra-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    gap: 10px;
    width: min(100%, 760px);
}

.sort-box {
    display: grid;
    gap: 6px;
}

.sort-box label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #334051;
}

.sort-select {
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid #c5cedb;
    background: #fff;
    color: #293648;
    padding: 0 10px;
    font-weight: 700;
}

.filter-chip {
    border: 1px solid #c5cedb;
    border-radius: 10px;
    background: #fff;
    color: #293648;
    min-height: 40px;
    padding: 0 14px;
    font-weight: 700;
    cursor: pointer;
}

.filter-chip.active {
    border-color: rgba(214, 178, 75, 0.65);
    background: #fbf3d8;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
}

.appointment-info-card,
.appointment-form-wrap,
.about-card,
.property-detail,
.detail-sidebar-card {
    background: #fff;
    border: 1px solid #dde4ee;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.appointment-info-card {
    padding: 24px;
}

.appointment-info-card h2 {
    margin: 0 0 10px;
    color: #18212e;
}

.appointment-info-card ul {
    margin: 0;
    padding-left: 18px;
    color: #4f5f73;
    line-height: 1.65;
}

.appointment-form-wrap {
    padding: 18px;
}

.wizard-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.wizard-step {
    border: 1px solid #d5deea;
    border-radius: 12px;
    background: #f8fafd;
    color: #344356;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: left;
    cursor: default;
}

.wizard-step strong {
    display: block;
    font-size: 0.86rem;
}

.wizard-step small {
    display: block;
    font-size: 0.73rem;
    color: #607188;
}

.wizard-step.is-active {
    border-color: rgba(214, 178, 75, 0.56);
    background: #fbf4dc;
}

.wizard-index {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #cfdae8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.73rem;
    font-weight: 800;
}

.appointment-form {
    display: grid;
    gap: 10px;
}

.wizard-panel {
    display: none;
    gap: 10px;
}

.wizard-panel.is-active {
    display: grid;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.84rem;
    color: #2a3445;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #c7d1df;
    border-radius: 10px;
    background: white;
    color: #1b2432;
    min-height: 42px;
    padding: 8px 10px;
    font-family: inherit;
}

.field textarea {
    min-height: 104px;
    resize: vertical;
}

.field.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wizard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.availability-card {
    border: 1px solid #d7e0ec;
    border-radius: 12px;
    background: #f8fbff;
    padding: 12px;
}

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

.availability-top h3 {
    margin: 0;
    font-size: 0.95rem;
    color: #203043;
}

.availability-state {
    min-height: 28px;
    border-radius: 999px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.availability-state.is-idle {
    background: #eaf0f9;
    color: #44546a;
}

.availability-state.is-checking {
    background: #eef2f7;
    color: #3f5169;
}

.availability-state.is-open {
    background: rgba(16, 185, 129, 0.15);
    color: #0f6a4b;
}

.availability-state.is-taken {
    background: rgba(239, 68, 68, 0.14);
    color: #8c1f1f;
}

.availability-note {
    margin: 8px 0;
    color: #5b6a7e;
    font-size: 0.82rem;
}

.availability-slots p {
    margin: 0 0 6px;
    font-size: 0.74rem;
    color: #4f6075;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.availability-slots ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.availability-slots li {
    min-height: 28px;
    border-radius: 999px;
    border: 1px solid #d2dbe8;
    background: #fff;
    color: #384a61;
    padding: 0 11px;
    font-size: 0.74rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

.form-alert {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.form-alert.success {
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #0f6a4b;
    background: rgba(16, 185, 129, 0.12);
}

.form-alert.error {
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #8c1f1f;
    background: rgba(239, 68, 68, 0.12);
}

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

.about-card {
    padding: 20px;
}

.about-card h2 {
    margin: 0 0 8px;
    color: #1a2636;
}

.about-card p {
    margin: 0;
    color: #516378;
    line-height: 1.6;
}

.detail-hero {
    background: linear-gradient(150deg, #11192a, #1a2a3f);
}

.detail-section {
    padding-top: 36px;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    border-radius: 10px;
    border: 1px solid #d4deec;
    background: #fff;
    padding: 0 14px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #31445b;
    margin-bottom: 14px;
}

.property-detail {
    overflow: hidden;
}

.property-detail-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1320;
}

.property-detail-cover {
    width: 100%;
    height: clamp(300px, 52vw, 620px);
    object-fit: contain;
    display: block;
    background: #0b1320;
}

.property-detail-cover[data-lightbox-index] {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-detail-cover[data-lightbox-index]:hover,
.property-detail-cover[data-lightbox-index]:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(19, 34, 54, 0.2);
    outline: none;
}

.property-detail-panel {
    padding: 20px;
}

.detail-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.detail-top h2 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #132131;
}

.detail-location {
    margin-top: 4px;
    color: #5d6f86;
    font-size: 0.96rem;
}

.detail-price {
    font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    font-weight: 800;
    color: #1b2c40;
}

.detail-description {
    margin: 0;
    color: #45596f;
    line-height: 1.72;
    font-family: var(--font-premium-detail);
    font-size: clamp(1.02rem, 1.15vw, 1.12rem);
    letter-spacing: 0;
}

.detail-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.45fr 0.95fr;
    gap: 14px;
}

.detail-main,
.detail-side {
    display: grid;
    gap: 14px;
}

.detail-card {
    border: 1px solid #e0e7f0;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.detail-card h3 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #293a53;
}

.detail-card ul {
    margin: 0;
    padding-left: 18px;
    color: #4f6177;
    line-height: 1.58;
}

.detail-rich-copy ul {
    font-family: var(--font-premium-detail);
    font-size: clamp(0.98rem, 1.05vw, 1.06rem);
    line-height: 1.66;
    letter-spacing: 0;
    color: #3f5369;
}

.detail-rich-copy li + li {
    margin-top: 4px;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.detail-spec {
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #f8fbff;
    padding: 10px;
}

.detail-spec strong {
    display: block;
    font-size: 1.02rem;
    color: #1c2f45;
}

.detail-spec span {
    display: block;
    margin-top: 3px;
    color: #576980;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.detail-gallery img {
    width: 100%;
    height: 138px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d7e1ef;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-gallery img:hover,
.detail-gallery img:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(19, 34, 54, 0.18);
    outline: none;
}

body.lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 12, 22, 0.84);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 14px;
}

.gallery-lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gallery-lightbox-image {
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
    background: #0b1320;
    transform-origin: center center;
    transition: transform 0.18s ease;
    will-change: transform;
}

.gallery-lightbox-counter {
    color: #f3f7ff;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-lightbox-tools {
    position: absolute;
    top: -56px;
    right: 58px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-lightbox-tool {
    border: 0;
    min-width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.gallery-lightbox-tool.is-reset {
    min-width: 56px;
    padding: 0 10px;
    font-size: 0.76rem;
}

.gallery-lightbox-tool:hover,
.gallery-lightbox-tool:focus-visible {
    background: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
    outline: none;
}

.gallery-lightbox-tool:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.gallery-lightbox-close {
    position: absolute;
    top: -56px;
    right: 0;
    font-size: 1.6rem;
    line-height: 1;
}

.gallery-lightbox-nav {
    font-size: 2rem;
    line-height: 1;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, 0.34);
    outline: none;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
    transform: translateY(-1px);
}

.detail-plan-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d8e2ef;
}

.detail-plan-image[data-lightbox-index] {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-plan-image[data-lightbox-index]:hover,
.detail-plan-image[data-lightbox-index]:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(19, 34, 54, 0.18);
    outline: none;
}

.detail-map-frame {
    width: 100%;
    border: 1px solid #d8e2ef;
    border-radius: 10px;
    min-height: 260px;
    height: 260px;
}

.detail-cta {
    border: 1px solid rgba(214, 178, 75, 0.45);
    background: linear-gradient(160deg, rgba(251, 244, 216, 0.6), rgba(255, 255, 255, 0.98));
}

.detail-cta p {
    margin: 0 0 12px;
    color: #4f5f74;
}

.site-footer {
    background: #0d141f;
    color: #d0d9e8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

.footer-contact-wrap {
    padding-bottom: 14px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 9, 16, 0.55);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    padding: 14px 0;
}

.footer-row p {
    margin: 0;
}

.footer-row a {
    color: #d6b24b;
}

.footer-legal-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.footer-legal-links a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    border-bottom-color: currentColor;
}

.footer-contact-box {
    border: 1px solid rgba(214, 178, 75, 0.28);
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
}

.footer-contact-title {
    margin: 0 0 8px;
    color: #f0f4fb;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.74rem;
    font-weight: 800;
}

.footer-contact-links {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
}

.footer-contact-links a {
    display: inline-block;
    justify-self: start;
    width: fit-content;
    text-decoration: none;
    color: #d6b24b;
    font-weight: 700;
}

.footer-contact-links a:hover,
.footer-contact-links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-contact-label {
    color: #9fb0c8;
    font-weight: 700;
    margin-right: 6px;
}

.whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(8, 74, 42, 0.3);
    background: linear-gradient(150deg, #1fa463, #0c7d45);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 36px rgba(7, 26, 16, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(7, 26, 16, 0.44);
    filter: saturate(1.08);
    outline: none;
}

.whatsapp-fab-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-fab-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.whatsapp-fab-text {
    line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1180px) {
    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-block;
        justify-self: end;
    }

    .site-nav {
        position: absolute;
        top: 84px;
        top: calc(var(--header-height) + env(safe-area-inset-top));
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.99);
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 18px 14px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 11px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .header-row {
        grid-template-columns: auto auto 1fr;
    }

    .header-lang {
        margin-left: auto;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

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

    .properties-toolbar {
        align-items: stretch;
    }

    .toolbar-extra-filters {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .wizard-steps {
        grid-template-columns: 1fr;
    }

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

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

    .detail-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-lightbox-dialog {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .gallery-lightbox-nav.is-prev {
        left: 4px;
    }

    .gallery-lightbox-nav.is-next {
        right: 4px;
    }

    .gallery-lightbox-close {
        top: -46px;
        right: 4px;
    }

    .gallery-lightbox-tools {
        top: -46px;
        right: 54px;
    }

    .whatsapp-fab {
        right: 12px;
        bottom: 12px;
        padding: 10px;
        gap: 0;
    }

    .whatsapp-fab-text {
        display: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1320px, calc(100% - 18px));
    }

    .page-main {
        padding-top: 78px;
        padding-top: calc(var(--header-height-mobile) + env(safe-area-inset-top));
    }

    .site-header {
        height: 78px;
        height: calc(var(--header-height-mobile) + env(safe-area-inset-top));
    }

    .header-row {
        height: var(--header-height-mobile);
        grid-template-columns: auto auto 1fr;
        gap: 8px;
    }

    .brand-logo {
        width: 138px;
        max-height: 46px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        padding: 7px;
    }

    .header-lang {
        gap: 4px;
    }

    .lang-chip {
        min-width: 30px;
        padding: 6px 5px;
        font-size: 0.7rem;
        border-radius: 9px;
    }

    .site-nav {
        top: 78px;
        top: calc(var(--header-height-mobile) + env(safe-area-inset-top));
    }

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

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

    .field.two {
        grid-template-columns: 1fr;
    }

    .detail-gallery {
        grid-template-columns: 1fr;
    }

    .toolbar-extra-filters {
        grid-template-columns: 1fr;
    }

    .footer-contact-links {
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .brand-logo {
        width: 124px;
        max-height: 42px;
    }

    .lang-chip {
        min-width: 28px;
        padding: 5px 4px;
        font-size: 0.68rem;
    }
}

