/* ==========================================================================
   EstateFull — Design System
   Palette: Evergreen / Brass / Ivory  ·  Type: Fraunces + Manrope
   ========================================================================== */

:root {
    --ef-ink: #0d1b1a;
    --ef-ink-2: #23302f;
    --ef-forest: #11332d;
    --ef-forest-2: #184a41;
    --ef-forest-3: #21614f;
    --ef-brass: #c39a54;
    --ef-brass-2: #a8803b;
    --ef-brass-soft: #f3e8d3;
    --ef-ivory: #f7f3ec;
    --ef-sand: #ece4d6;
    --ef-sage: #e3ece6;
    --ef-white: #ffffff;
    --ef-muted: #5f6c69;
    --ef-muted-2: #8a9592;
    --ef-line: rgba(13, 27, 26, 0.1);
    --ef-line-2: rgba(13, 27, 26, 0.16);
    --ef-danger: #c2463f;
    --ef-success: #2f8a5f;
    --ef-info: #2f6f9a;

    --ef-font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --ef-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --ef-radius-sm: 10px;
    --ef-radius: 18px;
    --ef-radius-lg: 28px;
    --ef-shadow-sm: 0 1px 2px rgba(13, 27, 26, 0.06), 0 2px 8px rgba(13, 27, 26, 0.04);
    --ef-shadow: 0 10px 30px -12px rgba(13, 27, 26, 0.18);
    --ef-shadow-lg: 0 30px 60px -25px rgba(13, 27, 26, 0.35);
    --ef-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ef-header-h: 84px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--ef-font);
    color: var(--ef-ink-2);
    background: var(--ef-ivory);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.ef-body { overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--ef-ink); font-family: var(--ef-font); font-weight: 700; letter-spacing: -0.01em; }
a { color: var(--ef-forest-2); text-decoration: none; transition: color .25s var(--ef-ease); }
a:hover { color: var(--ef-brass-2); }
img { max-width: 100%; }
::selection { background: var(--ef-brass); color: #fff; }
.ef-display { font-family: var(--ef-font-display); font-weight: 500; letter-spacing: -0.02em; font-variation-settings: "SOFT" 50, "opsz" 96; }
.ef-serif { font-family: var(--ef-font-display); }
.ef-gold { color: var(--ef-brass) !important; }
.ef-muted { color: var(--ef-muted) !important; }
.ef-bg-ivory { background: var(--ef-ivory); }
.ef-bg-white { background: #fff; }
.ef-bg-sand { background: var(--ef-sand); }
.ef-bg-forest { background: var(--ef-forest); }
.container { max-width: 1280px; }
.ef-container-wide { max-width: 1440px; }

.ef-section { padding: 110px 0; position: relative; }
.ef-section--sm { padding: 72px 0; }
.ef-section--tight-top { padding-top: 40px; }
@media (max-width: 991px) { .ef-section { padding: 80px 0; } .ef-section--sm { padding: 56px 0; } }
@media (max-width: 575px) { .ef-section { padding: 64px 0; } }

/* ---------- Section heading ---------- */
.ef-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ef-brass-2); margin-bottom: 18px;
}
.ef-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.ef-eyebrow--light { color: var(--ef-brass); }
.ef-heading { margin-bottom: 56px; }
.ef-heading h2, .ef-h2 {
    font-family: var(--ef-font-display); font-weight: 500; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
    line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 18px; color: var(--ef-ink);
}
.ef-heading h2 em, .ef-h2 em, .ef-hero h1 em { font-style: italic; color: var(--ef-brass-2); font-weight: 400; }
.ef-heading p { color: var(--ef-muted); font-size: 1.075rem; max-width: 620px; margin-bottom: 0; }
.ef-heading--center { text-align: center; }
.ef-heading--center p { margin-left: auto; margin-right: auto; }
.ef-heading--center .ef-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.ef-heading--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ef-heading--light h2, .ef-heading--light .ef-h2 { color: #fff; }
.ef-heading--light p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Buttons ---------- */
.ef-btn {
    --btn-bg: var(--ef-forest); --btn-color: #fff; --btn-border: var(--ef-forest);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 1px solid var(--btn-border);
    background: var(--btn-bg); color: var(--btn-color); font-weight: 700; font-size: 15px; line-height: 1.2;
    cursor: pointer; transition: transform .3s var(--ef-ease), background .3s var(--ef-ease), color .3s, border-color .3s, box-shadow .3s;
    white-space: nowrap; position: relative; overflow: hidden; text-decoration: none;
}
.ef-btn:hover { color: var(--btn-color); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(13, 27, 26, 0.55); }
.ef-btn:active { transform: translateY(0); }
.ef-btn:disabled, .ef-btn.disabled { opacity: .55; pointer-events: none; }
.ef-btn i { font-size: 0.95em; transition: transform .3s var(--ef-ease); }
.ef-btn:hover i.fa-arrow-right, .ef-btn:hover i.la-arrow-right { transform: translateX(4px); }
.ef-btn--gold { --btn-bg: var(--ef-brass); --btn-border: var(--ef-brass); --btn-color: #1b1406; }
.ef-btn--gold:hover { --btn-bg: #d2ab68; --btn-border: #d2ab68; }
.ef-btn--light { --btn-bg: #fff; --btn-border: #fff; --btn-color: var(--ef-ink); }
.ef-btn--ghost { --btn-bg: transparent; --btn-border: var(--ef-line-2); --btn-color: var(--ef-ink); }
.ef-btn--ghost:hover { --btn-bg: var(--ef-ink); --btn-border: var(--ef-ink); --btn-color: #fff; }
.ef-btn--ghost-light { --btn-bg: rgba(255, 255, 255, 0.06); --btn-border: rgba(255, 255, 255, 0.35); --btn-color: #fff; backdrop-filter: blur(6px); }
.ef-btn--ghost-light:hover { --btn-bg: #fff; --btn-color: var(--ef-ink); }
.ef-btn--sm { padding: 10px 18px; font-size: 14px; }
.ef-btn--lg { padding: 18px 32px; font-size: 16px; }
.ef-btn--block { width: 100%; }
.ef-btn--icon { width: 46px; height: 46px; padding: 0; }
.ef-link { font-weight: 700; color: var(--ef-ink); display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ef-link:hover { color: var(--ef-brass-2); }
.ef-link i { transition: transform .3s var(--ef-ease); }
.ef-link:hover i { transform: translateX(4px); }

/* ---------- Badges / chips ---------- */
.ef-badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1; background: #fff; color: var(--ef-ink);
}
.ef-badge--sale { background: var(--ef-forest); color: #fff; }
.ef-badge--rent { background: #fff; color: var(--ef-forest); }
.ef-badge--invest { background: var(--ef-brass); color: #1b1406; }
.ef-badge--featured { background: rgba(13, 27, 26, 0.72); color: #f1d9a8; backdrop-filter: blur(6px); }
.ef-badge--demo { background: rgba(255, 255, 255, 0.85); color: var(--ef-muted); font-weight: 600; }
.ef-badge--soft { background: var(--ef-sage); color: var(--ef-forest-2); }
.ef-badge--gold-soft { background: var(--ef-brass-soft); color: var(--ef-brass-2); }
.ef-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ef-line-2);
    background: #fff; font-size: 14px; font-weight: 600; color: var(--ef-ink); transition: all .25s var(--ef-ease);
}
.ef-chip:hover, .ef-chip.active { background: var(--ef-forest); border-color: var(--ef-forest); color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.ef-topbar { background: var(--ef-ink); color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.ef-topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.ef-topbar a { color: rgba(255, 255, 255, 0.82); }
.ef-topbar a:hover { color: var(--ef-brass); }
.ef-topbar__links { display: flex; gap: 22px; align-items: center; }

.ef-header {
    position: sticky; top: 0; z-index: 1030; height: var(--ef-header-h);
    background: rgba(247, 243, 236, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent; transition: background .35s var(--ef-ease), border-color .35s, box-shadow .35s, transform .35s;
}
.ef-header.is-scrolled { border-color: var(--ef-line); box-shadow: 0 8px 30px -20px rgba(13, 27, 26, 0.35); }
.ef-header--overlay { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ef-header--overlay:not(.is-scrolled) .ef-nav__link, .ef-header--overlay:not(.is-scrolled) .ef-header__action { color: #fff; }
.ef-header--overlay:not(.is-scrolled) .ef-logo__dark { display: none; }
.ef-header--overlay:not(.is-scrolled) .ef-logo__light { display: inline-block; }
.ef-header--overlay:not(.is-scrolled) .ef-burger span { background: #fff; }
.ef-header--overlay.is-scrolled { background: rgba(247, 243, 236, 0.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.ef-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ef-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.ef-logo img { height: 40px; width: auto; }
.ef-logo__light { display: none; }

.ef-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ef-nav__item { position: relative; }
.ef-nav__link {
    display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
    font-weight: 600; font-size: 15px; color: var(--ef-ink); transition: background .25s, color .25s;
}
.ef-nav__link:hover, .ef-nav__item.active > .ef-nav__link { color: var(--ef-brass-2); }
.ef-nav__link .fa-chevron-down { font-size: 10px; opacity: .6; transition: transform .3s var(--ef-ease); }
.ef-nav__item:hover .fa-chevron-down { transform: rotate(180deg); }

.ef-mega {
    position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 10px);
    background: #fff; border-radius: var(--ef-radius); box-shadow: var(--ef-shadow-lg); border: 1px solid var(--ef-line);
    padding: 26px; min-width: 620px; opacity: 0; visibility: hidden; transition: all .3s var(--ef-ease);
}
.ef-mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.ef-nav__item:hover .ef-mega, .ef-nav__item:focus-within .ef-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ef-mega--sm { min-width: 300px; padding: 14px; }
.ef-mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 26px; }
.ef-mega__title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ef-muted-2); font-weight: 700; margin: 4px 0 10px; }
.ef-mega__link { display: flex; align-items: flex-start; gap: 14px; padding: 10px 12px; border-radius: 12px; color: var(--ef-ink); }
.ef-mega__link:hover { background: var(--ef-ivory); color: var(--ef-ink); }
.ef-mega__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--ef-sage); color: var(--ef-forest-2); display: grid; place-items: center; flex-shrink: 0; font-size: 16px; }
.ef-mega__link strong { display: block; font-size: 14.5px; line-height: 1.3; }
.ef-mega__link small { color: var(--ef-muted); font-size: 13px; line-height: 1.4; }
.ef-mega__feature { border-radius: 14px; overflow: hidden; position: relative; min-height: 210px; display: flex; align-items: flex-end; color: #fff; padding: 18px; }
.ef-mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ef-mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(13, 27, 26, .85)); }
.ef-mega__feature > div { position: relative; z-index: 1; }
.ef-mega__feature strong { color: #fff; display: block; font-family: var(--ef-font-display); font-size: 20px; font-weight: 500; }
.ef-mega__cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; }
.ef-mega__cities a { padding: 7px 10px; border-radius: 10px; color: var(--ef-ink); font-weight: 600; font-size: 14px; display: flex; justify-content: space-between; }
.ef-mega__cities a span { color: var(--ef-muted-2); font-weight: 500; font-size: 12.5px; }
.ef-mega__cities a:hover { background: var(--ef-ivory); }

.ef-header__actions { display: flex; align-items: center; gap: 10px; }
.ef-header__action {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 12px;
    border-radius: 999px; color: var(--ef-ink); font-weight: 600; font-size: 14.5px; position: relative;
}
.ef-header__action:hover { color: var(--ef-brass-2); }
.ef-header__action .ef-count {
    position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--ef-brass); color: #1b1406; font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.ef-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; position: relative; }
.ef-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ef-ink); border-radius: 2px; transition: all .3s var(--ef-ease); }
.ef-burger span:nth-child(1) { top: 16px; }
.ef-burger span:nth-child(2) { top: 22px; }
.ef-burger span:nth-child(3) { top: 28px; }

.ef-lang-select { border: 1px solid var(--ef-line-2); background: transparent; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: inherit; }

@media (max-width: 1199px) {
    .ef-nav, .ef-header__actions .ef-hide-mobile { display: none !important; }
    .ef-burger { display: inline-block; }
}

/* Mobile drawer */
.ef-drawer {
    position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--ef-ivory); z-index: 1060;
    transform: translateX(100%); transition: transform .45s var(--ef-ease); display: flex; flex-direction: column; overflow-y: auto;
}
.ef-drawer.is-open { transform: translateX(0); }
.ef-drawer__backdrop { position: fixed; inset: 0; background: rgba(13, 27, 26, 0.5); z-index: 1055; opacity: 0; visibility: hidden; transition: all .35s; }
.ef-drawer__backdrop.is-open { opacity: 1; visibility: visible; }
.ef-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--ef-line); }
.ef-drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ef-line-2); background: #fff; }
.ef-drawer__body { padding: 16px 24px 30px; flex: 1; }
.ef-drawer__group { border-bottom: 1px solid var(--ef-line); padding: 6px 0; }
.ef-drawer__toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 14px 0; font-weight: 700; font-size: 17px; color: var(--ef-ink); }
.ef-drawer__toggle i { transition: transform .3s; }
.ef-drawer__toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.ef-drawer__links { list-style: none; padding: 0 0 10px; margin: 0; }
.ef-drawer__links a { display: block; padding: 8px 0; color: var(--ef-muted); font-weight: 600; }
.ef-drawer__single { display: block; padding: 14px 0; font-weight: 700; font-size: 17px; color: var(--ef-ink); }
.ef-drawer__foot { padding: 20px 24px; display: grid; gap: 10px; border-top: 1px solid var(--ef-line); }

/* ==========================================================================
   Hero
   ========================================================================== */
.ef-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ef-ink); }
.ef-hero__media { position: absolute; inset: 0; }
.ef-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: efKenBurns 18s var(--ef-ease) forwards; }
.ef-hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 20, 18, 0.88) 0%, rgba(8, 20, 18, 0.55) 45%, rgba(8, 20, 18, 0.15) 100%),
                linear-gradient(0deg, rgba(8, 20, 18, 0.85) 0%, transparent 45%);
}
@keyframes efKenBurns { to { transform: scale(1); } }
.ef-hero__inner { position: relative; z-index: 2; width: 100%; padding: calc(var(--ef-header-h) + 70px) 0 56px; }
.ef-hero h1 {
    color: #fff; font-family: var(--ef-font-display); font-weight: 400; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem);
    line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 24px; max-width: 900px;
}
.ef-hero h1 em { color: #e6c88f; }
.ef-hero__lead { font-size: clamp(1rem, .9rem + .4vw, 1.2rem); color: rgba(255, 255, 255, 0.8); max-width: 560px; margin-bottom: 40px; }
.ef-hero__meta { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 34px; }
.ef-hero__meta-item strong { display: block; font-family: var(--ef-font-display); font-size: 34px; font-weight: 400; line-height: 1; color: #fff; }
.ef-hero__meta-item span { font-size: 13px; color: rgba(255, 255, 255, .65); letter-spacing: .04em; }
.ef-hero__card {
    position: absolute; right: 12px; top: 0; width: 320px; border-radius: 22px; overflow: hidden; z-index: 3;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    color: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); animation: efFloat 6s ease-in-out infinite;
}
.ef-hero__card img { height: 170px; width: 100%; object-fit: cover; }
.ef-hero__card-body { padding: 16px 18px 18px; }
.ef-hero__card-body small { color: rgba(255, 255, 255, .7); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ef-hero__card-body h6 { color: #fff; font-size: 16px; margin: 4px 0 8px; line-height: 1.35; }
.ef-hero__card-body .price { font-family: var(--ef-font-display); font-size: 22px; color: #f1d9a8; }
@keyframes efFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1399px) { .ef-hero__card { display: none !important; } }
.ef-scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ef-scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: efCue 2s infinite; }
@keyframes efCue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Search panel ---------- */
.ef-search { background: #fff; border-radius: 24px; padding: 10px; box-shadow: var(--ef-shadow-lg); color: var(--ef-ink); max-width: 1040px; }
.ef-search__tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--ef-ivory); border-radius: 999px; margin: 6px 6px 12px; }
.ef-search__tab { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ef-muted); transition: all .25s; }
.ef-search__tab.active { background: var(--ef-forest); color: #fff; box-shadow: 0 6px 14px -8px rgba(17, 51, 45, .8); }
.ef-search__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 0; align-items: stretch; }
.ef-search__field { padding: 10px 20px; border-right: 1px solid var(--ef-line); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ef-search__field:last-of-type { border-right: 0; }
.ef-search__field label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ef-muted-2); font-weight: 700; margin-bottom: 2px; }
.ef-search__field input, .ef-search__field select {
    border: 0; padding: 4px 0; font-weight: 600; font-size: 15px; color: var(--ef-ink); background: transparent; outline: none; width: 100%;
    appearance: none; -webkit-appearance: none; cursor: pointer;
}
.ef-search__field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6c69' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; padding-right: 18px; }
.ef-search__submit { padding: 6px; display: flex; }
.ef-search__submit .ef-btn { height: 100%; min-height: 58px; border-radius: 18px; padding: 0 30px; }
@media (max-width: 991px) {
    .ef-search__row { grid-template-columns: 1fr 1fr; }
    .ef-search__field { border-right: 0; border-bottom: 1px solid var(--ef-line); }
    .ef-search__submit { grid-column: 1 / -1; }
    .ef-search__submit .ef-btn { width: 100%; }
}
@media (max-width: 575px) { .ef-search__row { grid-template-columns: 1fr; } .ef-search__tab { padding: 8px 14px; } }

/* ==========================================================================
   Property card
   ========================================================================== */
.ef-card {
    background: #fff; border-radius: var(--ef-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column;
    border: 1px solid var(--ef-line); transition: transform .45s var(--ef-ease), box-shadow .45s var(--ef-ease), border-color .3s; position: relative;
}
.ef-card:hover { transform: translateY(-6px); box-shadow: var(--ef-shadow-lg); border-color: transparent; }
.ef-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ef-sand); display: block; }
.ef-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ef-ease); }
.ef-card:hover .ef-card__media img { transform: scale(1.07); }
.ef-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,26,.28) 0%, transparent 35%, transparent 65%, rgba(13,27,26,.35) 100%); pointer-events: none; }
.ef-card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.ef-card__fav { position: absolute; top: 12px; right: 12px; z-index: 3; }
.ef-card__type { position: absolute; left: 14px; bottom: 14px; z-index: 2; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.ef-card__body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.ef-card__price { font-family: var(--ef-font-display); font-weight: 500; font-size: 26px; color: var(--ef-ink); line-height: 1.1; letter-spacing: -0.02em; }
.ef-card__price small { font-family: var(--ef-font); font-size: 13px; color: var(--ef-muted); font-weight: 600; letter-spacing: 0; }
.ef-card__title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 10px 0 6px; }
.ef-card__title a { color: var(--ef-ink); }
.ef-card__title a:hover { color: var(--ef-forest-3); }
.ef-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ef-card__loc { color: var(--ef-muted); font-size: 14px; display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.ef-card__loc i { color: var(--ef-brass-2); }
.ef-card__specs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--ef-line-2); color: var(--ef-ink-2); font-size: 14px; font-weight: 600; }
.ef-card__specs span { display: inline-flex; align-items: center; gap: 7px; }
.ef-card__specs i { color: var(--ef-muted-2); font-size: 15px; }
.ef-card__progress { margin-top: 4px; }
.ef-progress { height: 6px; border-radius: 99px; background: var(--ef-sand); overflow: hidden; }
.ef-progress > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ef-forest-3), var(--ef-brass)); }
.ef-card__progress-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ef-muted); margin-top: 8px; font-weight: 600; }

.ef-fav-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 16px;
    background: rgba(255, 255, 255, 0.92); color: var(--ef-ink); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .35); transition: transform .3s var(--ef-ease), color .25s, background .25s;
}
.ef-fav-btn:hover { transform: scale(1.1); color: var(--ef-danger); }
.ef-fav-btn.is-active { color: #fff; background: var(--ef-danger); }
.ef-fav-btn.is-active i::before { content: "\f004"; font-weight: 900; }

/* list variant */
.ef-card--list { flex-direction: row; }
.ef-card--list .ef-card__media { width: 42%; aspect-ratio: auto; min-height: 260px; flex-shrink: 0; }
@media (max-width: 767px) { .ef-card--list { flex-direction: column; } .ef-card--list .ef-card__media { width: 100%; aspect-ratio: 3/2; min-height: 0; } }

/* Feature (large) card */
.ef-feature-card { position: relative; border-radius: var(--ef-radius-lg); overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.ef-feature-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ef-ease); }
.ef-feature-card:hover > img { transform: scale(1.05); }
.ef-feature-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,20,18,0) 25%, rgba(8,20,18,.9) 100%); }
.ef-feature-card__body { padding: 34px; width: 100%; }
.ef-feature-card h3 { color: #fff; font-family: var(--ef-font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.12; margin: 14px 0 10px; }
.ef-feature-card h3 a { color: #fff; }
.ef-feature-card h3 a::after { content: ""; position: absolute; inset: 0; }
.ef-feature-card__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ef-feature-card .price { font-family: var(--ef-font-display); font-size: 30px; color: #f1d9a8; }
.ef-feature-card__specs { display: flex; gap: 18px; color: rgba(255,255,255,.82); font-weight: 600; font-size: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Intent cards (buy / rent / invest)
   ========================================================================== */
.ef-intent { position: relative; border-radius: var(--ef-radius-lg); overflow: hidden; min-height: 400px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; isolation: isolate; }
.ef-intent > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ef-ease); }
.ef-intent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(8,20,18,.15), rgba(8,20,18,.88)); transition: background .4s; }
.ef-intent:hover > img { transform: scale(1.06); }
.ef-intent__num { font-family: var(--ef-font-display); font-size: 15px; color: rgba(255,255,255,.75); letter-spacing: .08em; }
.ef-intent h3 { color: #fff; font-family: var(--ef-font-display); font-weight: 400; font-size: 34px; margin-bottom: 10px; }
.ef-intent p { color: rgba(255,255,255,.78); margin-bottom: 20px; max-width: 320px; }
.ef-intent__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ef-intent__count { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f1d9a8; }
.ef-intent__arrow { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ef-ink); display: grid; place-items: center; transition: transform .4s var(--ef-ease), background .3s; }
.ef-intent:hover .ef-intent__arrow { transform: rotate(-45deg); background: var(--ef-brass); }
.ef-intent a.stretched-link::after { z-index: 1; }

/* ==========================================================================
   Cities
   ========================================================================== */
.ef-cities { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.ef-cities .ef-city:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.ef-cities .ef-city:nth-child(6) { grid-column: span 2; }
.ef-city { position: relative; border-radius: var(--ef-radius); overflow: hidden; display: flex; align-items: flex-end; padding: 22px; color: #fff; isolation: isolate; }
.ef-city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ef-ease); }
.ef-city::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(8,20,18,.85)); }
.ef-city:hover img { transform: scale(1.08); }
.ef-city h4 { color: #fff; font-family: var(--ef-font-display); font-weight: 400; font-size: 26px; margin: 0; line-height: 1.1; }
.ef-cities .ef-city:nth-child(1) h4 { font-size: 40px; }
.ef-city__meta { font-size: 13px; color: rgba(255,255,255,.75); font-weight: 600; }
.ef-city__go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); display: grid; place-items: center; transition: all .4s var(--ef-ease); }
.ef-city:hover .ef-city__go { background: #fff; color: var(--ef-ink); transform: rotate(-45deg); }
@media (max-width: 991px) { .ef-cities { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } .ef-cities .ef-city:nth-child(6) { grid-column: span 1; } }
@media (max-width: 575px) { .ef-cities { grid-template-columns: 1fr; } .ef-cities .ef-city:nth-child(1) { grid-column: span 1; grid-row: span 1; } .ef-cities .ef-city:nth-child(1) h4 { font-size: 28px; } }

/* ==========================================================================
   Categories
   ========================================================================== */
.ef-cat { display: flex; flex-direction: column; gap: 22px; padding: 26px; height: 100%; border-radius: var(--ef-radius); background: #fff; border: 1px solid var(--ef-line); transition: all .4s var(--ef-ease); color: var(--ef-ink); position: relative; overflow: hidden; }
.ef-cat:hover { background: var(--ef-forest); color: #fff; transform: translateY(-4px); box-shadow: var(--ef-shadow); }
.ef-cat__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--ef-sage); color: var(--ef-forest-2); display: grid; place-items: center; font-size: 26px; transition: all .4s var(--ef-ease); }
.ef-cat:hover .ef-cat__icon { background: var(--ef-brass); color: #1b1406; }
.ef-cat h5 { font-size: 18px; margin: 0 0 2px; color: inherit; }
.ef-cat span { font-size: 14px; color: var(--ef-muted); transition: color .3s; }
.ef-cat:hover span { color: rgba(255,255,255,.7); }
.ef-cat__arrow { position: absolute; top: 26px; right: 26px; opacity: .35; transition: all .4s var(--ef-ease); }
.ef-cat:hover .ef-cat__arrow { opacity: 1; transform: rotate(-45deg); color: var(--ef-brass); }

/* ==========================================================================
   Steps / how it works
   ========================================================================== */
.ef-tabs-pill { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--ef-line); flex-wrap: wrap; }
.ef-tabs-pill .nav-link { border-radius: 999px; padding: 10px 22px; font-weight: 700; color: var(--ef-muted); font-size: 14.5px; border: 0; background: transparent; }
.ef-tabs-pill .nav-link.active { background: var(--ef-forest); color: #fff; }
.ef-step { position: relative; padding: 34px 30px; border-radius: var(--ef-radius); background: #fff; border: 1px solid var(--ef-line); height: 100%; }
.ef-step__num { font-family: var(--ef-font-display); font-size: 64px; line-height: 1; color: var(--ef-brass); opacity: .45; font-weight: 300; margin-bottom: 18px; display: block; }
.ef-step h5 { font-size: 20px; margin-bottom: 10px; }
.ef-step p { color: var(--ef-muted); margin: 0; }
.ef-step__icon { position: absolute; top: 34px; right: 30px; width: 48px; height: 48px; border-radius: 14px; background: var(--ef-ivory); display: grid; place-items: center; color: var(--ef-forest-2); font-size: 20px; }

/* ==========================================================================
   Dark band (investment spotlight)
   ========================================================================== */
.ef-dark { background: var(--ef-forest); color: rgba(255,255,255,.78); position: relative; overflow: hidden; }
.ef-dark::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(195,154,84,.18), transparent 65%); }
.ef-dark h2, .ef-dark h3, .ef-dark h4, .ef-dark h5 { color: #fff; }
.ef-dark .ef-card { border-color: rgba(255,255,255,.08); }
.ef-invest-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--ef-radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all .4s var(--ef-ease); position: relative; }
.ef-invest-card:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); }
.ef-invest-card__media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.ef-invest-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ef-ease); }
.ef-invest-card:hover .ef-invest-card__media img { transform: scale(1.06); }
.ef-invest-card__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ef-invest-card h5 { font-size: 18px; line-height: 1.35; margin: 0; }
.ef-invest-card h5 a { color: #fff; }
.ef-invest-card h5 a::after { content: ""; position: absolute; inset: 0; }
.ef-invest-card__loc { font-size: 14px; color: rgba(255,255,255,.6); }
.ef-invest-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.ef-invest-stats div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; }
.ef-invest-stats small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ef-invest-stats strong { color: #fff; font-size: 15px; }
.ef-dark .ef-progress { background: rgba(255,255,255,.12); }
.ef-disclaimer { font-size: 13px; color: rgba(255,255,255,.55); border-left: 2px solid var(--ef-brass); padding-left: 14px; margin-top: 36px; }
.ef-disclaimer a { color: #f1d9a8; text-decoration: underline; }

/* ==========================================================================
   Why choose / feature list
   ========================================================================== */
.ef-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ef-line); border-left: 1px solid var(--ef-line); }
.ef-why__item { padding: 40px 34px; border-right: 1px solid var(--ef-line); border-bottom: 1px solid var(--ef-line); transition: background .35s; }
.ef-why__item:hover { background: #fff; }
.ef-why__icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--ef-brass); color: var(--ef-brass-2); display: grid; place-items: center; font-size: 20px; margin-bottom: 24px; }
.ef-why__item h5 { font-size: 19px; margin-bottom: 10px; }
.ef-why__item p { color: var(--ef-muted); margin: 0; font-size: 15px; }
@media (max-width: 991px) { .ef-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ef-why { grid-template-columns: 1fr; } }

/* Split image + text */
.ef-split-media { position: relative; border-radius: var(--ef-radius-lg); overflow: hidden; }
.ef-split-media img { width: 100%; height: 100%; object-fit: cover; }
.ef-split-media__tag { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--ef-shadow); max-width: 260px; }
.ef-split-media__tag strong { display: block; font-family: var(--ef-font-display); font-size: 28px; font-weight: 500; color: var(--ef-forest); line-height: 1; }
.ef-split-media__tag span { font-size: 13px; color: var(--ef-muted); }
.ef-checklist { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.ef-checklist li { display: flex; gap: 14px; align-items: flex-start; }
.ef-checklist li i { width: 26px; height: 26px; border-radius: 50%; background: var(--ef-sage); color: var(--ef-forest-2); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Calculator
   ========================================================================== */
.ef-calc { background: #fff; border-radius: var(--ef-radius-lg); border: 1px solid var(--ef-line); overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; }
.ef-calc__form { padding: 44px; }
.ef-calc__result { padding: 44px; background: var(--ef-forest); color: rgba(255,255,255,.8); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.ef-calc__result::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; right: -150px; bottom: -180px; background: radial-gradient(circle, rgba(195,154,84,.25), transparent 70%); }
.ef-calc__result h3 { color: #fff; }
.ef-calc__big { font-family: var(--ef-font-display); font-size: clamp(2.6rem, 2rem + 2vw, 4rem); color: #fff; font-weight: 400; line-height: 1; margin: 6px 0 28px; letter-spacing: -0.03em; }
.ef-calc__rows { display: grid; gap: 12px; position: relative; }
.ef-calc__rows div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 10px; font-size: 15px; }
.ef-calc__rows strong { color: #fff; }
.ef-range-group { margin-bottom: 26px; }
.ef-range-group__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.ef-range-group__top label { font-weight: 700; color: var(--ef-ink); font-size: 15px; }
.ef-range-group__top output { font-family: var(--ef-font-display); font-size: 22px; color: var(--ef-forest); }
.ef-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ef-forest-3) var(--p, 50%), var(--ef-sand) var(--p, 50%)); outline: none; }
.ef-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--ef-forest); cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.ef-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--ef-forest); cursor: pointer; }
.ef-donut { width: 150px; height: 150px; border-radius: 50%; position: relative; margin-bottom: 26px; }
.ef-donut::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--ef-forest); }
.ef-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; margin-top: 18px; position: relative; }
.ef-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ef-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
@media (max-width: 991px) { .ef-calc { grid-template-columns: 1fr; } .ef-calc__form, .ef-calc__result { padding: 30px; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.ef-post { height: 100%; display: flex; flex-direction: column; position: relative; }
.ef-post__media { border-radius: var(--ef-radius); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 20px; background: var(--ef-sand); }
.ef-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ef-ease); }
.ef-post:hover .ef-post__media img { transform: scale(1.06); }
.ef-post__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ef-muted); font-weight: 600; margin-bottom: 10px; }
.ef-post__cat { color: var(--ef-brass-2); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; font-weight: 800; }
.ef-post__title { font-family: var(--ef-font-display); font-weight: 500; font-size: 23px; line-height: 1.22; letter-spacing: -0.015em; margin-bottom: 10px; }
.ef-post__title a { color: var(--ef-ink); }
.ef-post__title a::after { content: ""; position: absolute; inset: 0; }
.ef-post__title a:hover { color: var(--ef-forest-3); }
.ef-post__excerpt { color: var(--ef-muted); font-size: 15px; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ef-post--featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.ef-post--featured .ef-post__media { aspect-ratio: 4/3; margin: 0; border-radius: var(--ef-radius-lg); }
.ef-post--featured .ef-post__title { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); }
@media (max-width: 991px) { .ef-post--featured { grid-template-columns: 1fr; gap: 24px; } }

/* Article */
.ef-article-hero { padding: calc(var(--ef-header-h) * 0 + 70px) 0 40px; }
.ef-article-hero h1 { font-family: var(--ef-font-display); font-weight: 400; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.8rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 950px; }
.ef-article-cover { border-radius: var(--ef-radius-lg); overflow: hidden; aspect-ratio: 21/9; margin-bottom: 60px; }
.ef-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.ef-prose { font-size: 18px; line-height: 1.8; color: var(--ef-ink-2); }
.ef-prose > p:first-of-type::first-letter { font-family: var(--ef-font-display); float: left; font-size: 4.3em; line-height: .85; padding: 6px 12px 0 0; color: var(--ef-forest); }
.ef-prose h2 { font-family: var(--ef-font-display); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; margin: 54px 0 18px; scroll-margin-top: 110px; }
.ef-prose h3 { font-size: 21px; margin: 34px 0 12px; scroll-margin-top: 110px; }
.ef-prose h4 { font-size: 18px; margin: 28px 0 10px; }
.ef-prose p { margin-bottom: 1.3em; }
.ef-prose ul, .ef-prose ol { padding-left: 1.3em; margin-bottom: 1.5em; }
.ef-prose li { margin-bottom: .55em; }
.ef-prose ul li::marker { color: var(--ef-brass); }
.ef-prose a { color: var(--ef-forest-3); text-decoration: underline; text-decoration-color: rgba(195,154,84,.6); text-underline-offset: 3px; font-weight: 600; }
.ef-prose a:hover { color: var(--ef-brass-2); }
.ef-prose strong { color: var(--ef-ink); }
.ef-prose blockquote { border-left: 3px solid var(--ef-brass); padding: 6px 0 6px 24px; font-family: var(--ef-font-display); font-size: 24px; color: var(--ef-ink); margin: 36px 0; }
.ef-prose .ef-note, .ef-note { font-size: 14px; color: var(--ef-muted); background: var(--ef-sand); border-radius: 12px; padding: 14px 18px; margin-top: 40px; line-height: 1.6; }
.ef-prose img { border-radius: var(--ef-radius); }
.ef-prose table { width: 100%; margin-bottom: 1.5em; border-collapse: collapse; }
.ef-prose table td, .ef-prose table th { border: 1px solid var(--ef-line-2); padding: 10px 14px; }
.ef-toc { position: sticky; top: calc(var(--ef-header-h) + 24px); }
.ef-toc__title { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: var(--ef-muted-2); margin-bottom: 14px; }
.ef-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--ef-line-2); }
.ef-toc a { display: block; padding: 7px 0 7px 16px; color: var(--ef-muted); font-size: 14px; font-weight: 600; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.4; }
.ef-toc a:hover, .ef-toc a.active { color: var(--ef-ink); border-left-color: var(--ef-brass); }
.ef-share { display: flex; gap: 8px; flex-wrap: wrap; }
.ef-share a, .ef-share button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ef-line-2); display: grid; place-items: center; color: var(--ef-ink); background: #fff; transition: all .3s; }
.ef-share a:hover, .ef-share button:hover { background: var(--ef-forest); color: #fff; border-color: var(--ef-forest); }
.ef-author { display: flex; gap: 16px; align-items: center; padding: 24px; border-radius: var(--ef-radius); background: #fff; border: 1px solid var(--ef-line); margin-top: 40px; }
.ef-author__avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--ef-forest); display: grid; place-items: center; flex-shrink: 0; }
.ef-author__avatar img { width: 30px; }
.ef-cta-inline { margin-top: 40px; border-radius: var(--ef-radius); padding: 30px; background: var(--ef-forest); color: rgba(255,255,255,.8); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ef-cta-inline h5 { color: #fff; font-family: var(--ef-font-display); font-weight: 400; font-size: 24px; margin-bottom: 4px; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.ef-page-hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.ef-page-hero--image { padding: 140px 0 90px; color: #fff; background: var(--ef-ink); }
.ef-page-hero--image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ef-page-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,18,.9), rgba(8,20,18,.35)); }
.ef-page-hero .container { position: relative; z-index: 2; }
.ef-page-hero h1 { font-family: var(--ef-font-display); font-weight: 400; font-size: clamp(2.3rem, 1.5rem + 3vw, 4.4rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; }
.ef-page-hero--image h1 { color: #fff; }
.ef-page-hero p.lead { font-size: 1.15rem; color: var(--ef-muted); max-width: 640px; }
.ef-page-hero--image p.lead { color: rgba(255,255,255,.78); }
.ef-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 20px; font-size: 13.5px; font-weight: 600; color: var(--ef-muted); }
.ef-crumbs a { color: var(--ef-muted); }
.ef-crumbs a:hover { color: var(--ef-brass-2); }
.ef-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.ef-page-hero--image .ef-crumbs, .ef-page-hero--image .ef-crumbs a { color: rgba(255,255,255,.75); }

/* ==========================================================================
   Listing page / filters
   ========================================================================== */
.ef-listing-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.ef-listing-bar__count { font-weight: 600; color: var(--ef-muted); }
.ef-listing-bar__count strong { color: var(--ef-ink); font-size: 18px; }
.ef-select { border: 1px solid var(--ef-line-2); border-radius: 999px; padding: 10px 38px 10px 18px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6c69' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; -webkit-appearance: none; font-weight: 600; font-size: 14px; color: var(--ef-ink); cursor: pointer; }
.ef-view-toggle { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--ef-line-2); border-radius: 999px; }
.ef-view-toggle button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ef-muted); }
.ef-view-toggle button.active { background: var(--ef-forest); color: #fff; }
.ef-filter { background: #fff; border-radius: var(--ef-radius); border: 1px solid var(--ef-line); padding: 26px; position: sticky; top: calc(var(--ef-header-h) + 20px); }
.ef-filter__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ef-filter__head h5 { margin: 0; font-size: 18px; }
.ef-filter__group { padding: 16px 0; border-top: 1px solid var(--ef-line); }
.ef-filter__group > label, .ef-filter__label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ef-muted-2); margin-bottom: 10px; }
.ef-input, .ef-filter select, .ef-filter input[type=text], .ef-filter input[type=number] {
    width: 100%; border: 1px solid var(--ef-line-2); border-radius: 12px; padding: 11px 14px; font-size: 15px; font-weight: 600; color: var(--ef-ink); background: #fff; outline: none; transition: border-color .25s, box-shadow .25s;
}
.ef-input:focus, .ef-filter select:focus, .ef-filter input:focus { border-color: var(--ef-forest-3); box-shadow: 0 0 0 4px rgba(33,97,79,.12); }
.ef-filter select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6c69' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.ef-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--ef-ivory); border-radius: 12px; }
.ef-seg input { display: none; }
.ef-seg label { text-align: center; padding: 8px 6px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: var(--ef-muted); cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; }
.ef-seg input:checked + label { background: #fff; color: var(--ef-ink); box-shadow: var(--ef-shadow-sm); }
.ef-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ef-active-filters a { display: inline-flex; gap: 8px; align-items: center; background: var(--ef-sage); color: var(--ef-forest-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.ef-active-filters a:hover { background: var(--ef-forest); color: #fff; }
.ef-filter-toggle { display: none; }
@media (max-width: 991px) {
    .ef-filter-toggle { display: inline-flex; }
    .ef-filter-wrap { position: fixed; inset: 0; z-index: 1070; background: rgba(13,27,26,.5); opacity: 0; visibility: hidden; transition: all .3s; }
    .ef-filter-wrap.is-open { opacity: 1; visibility: visible; }
    .ef-filter { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 92%); border-radius: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .4s var(--ef-ease); }
    .ef-filter-wrap.is-open .ef-filter { transform: none; }
}

/* Pagination */
.ef-pagination .pagination { gap: 6px; justify-content: center; flex-wrap: wrap; margin: 50px 0 0; }
.ef-pagination .page-link, .pagination .page-link { border-radius: 50% !important; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ef-line-2); color: var(--ef-ink); font-weight: 700; background: #fff; padding: 0; }
.ef-pagination .page-item.active .page-link, .pagination .page-item.active .page-link { background: var(--ef-forest); border-color: var(--ef-forest); color: #fff; }
.ef-pagination .page-item.disabled .page-link { opacity: .45; }

/* Empty */
.ef-empty { text-align: center; padding: 70px 20px; background: #fff; border-radius: var(--ef-radius); border: 1px dashed var(--ef-line-2); }
.ef-empty__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--ef-sage); color: var(--ef-forest-2); display: grid; place-items: center; font-size: 28px; margin: 0 auto 18px; }

/* ==========================================================================
   Property details
   ========================================================================== */
.ef-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; border-radius: var(--ef-radius-lg); overflow: hidden; position: relative; }
.ef-gallery a { position: relative; overflow: hidden; display: block; background: var(--ef-sand); }
.ef-gallery a:first-child { grid-row: span 2; }
.ef-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ef-ease), filter .4s; }
.ef-gallery a:hover img { transform: scale(1.05); filter: brightness(.92); }
.ef-gallery__all { position: absolute; right: 18px; bottom: 18px; z-index: 2; }
@media (max-width: 767px) { .ef-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; } .ef-gallery a:first-child { grid-column: span 2; grid-row: span 1; } .ef-gallery a:nth-child(n+4) { display: none; } }
.ef-detail-head { padding: 44px 0 30px; }
.ef-detail-head h1 { font-family: var(--ef-font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.3rem); letter-spacing: -0.025em; line-height: 1.08; margin: 14px 0 12px; }
.ef-detail-head__loc { color: var(--ef-muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ef-detail-head__price { text-align: right; }
.ef-detail-head__price .price { font-family: var(--ef-font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.9rem); color: var(--ef-forest); line-height: 1; letter-spacing: -0.02em; }
.ef-detail-head__price small { color: var(--ef-muted); font-weight: 600; }
@media (max-width: 991px) { .ef-detail-head__price { text-align: left; margin-top: 16px; } }
.ef-keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; background: #fff; border-radius: var(--ef-radius); border: 1px solid var(--ef-line); overflow: hidden; }
.ef-keyfacts > div { padding: 20px 22px; border-right: 1px solid var(--ef-line); }
.ef-keyfacts > div:last-child { border-right: 0; }
.ef-keyfacts i { color: var(--ef-brass-2); font-size: 18px; margin-bottom: 10px; display: block; }
.ef-keyfacts strong { display: block; font-size: 18px; color: var(--ef-ink); line-height: 1.2; }
.ef-keyfacts span { font-size: 13px; color: var(--ef-muted); font-weight: 600; }
.ef-block { background: #fff; border-radius: var(--ef-radius); border: 1px solid var(--ef-line); padding: 34px; margin-top: 24px; }
.ef-block__title { font-family: var(--ef-font-display); font-weight: 500; font-size: 26px; margin-bottom: 22px; letter-spacing: -0.015em; }
.ef-block .ef-prose { font-size: 16.5px; }
.ef-block .ef-prose > p:first-of-type::first-letter { all: unset; }
.ef-facts-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px; }
.ef-facts-table div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--ef-line-2); font-size: 15px; }
.ef-facts-table span { color: var(--ef-muted); }
.ef-facts-table strong { color: var(--ef-ink); text-align: right; }
@media (max-width: 767px) { .ef-facts-table { grid-template-columns: 1fr; } }
.ef-amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.ef-amenities li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.ef-amenities li i { width: 34px; height: 34px; border-radius: 10px; background: var(--ef-sage); color: var(--ef-forest-2); display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
@media (max-width: 991px) { .ef-amenities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ef-amenities { grid-template-columns: 1fr; } }
.ef-nearby { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ef-nearby__item { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--ef-ivory); }
.ef-nearby__item i { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--ef-brass-2); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.ef-nearby__item strong { display: block; font-size: 15px; line-height: 1.3; }
.ef-nearby__item span { font-size: 13px; color: var(--ef-muted); }
@media (max-width: 575px) { .ef-nearby { grid-template-columns: 1fr; } }
.ef-map { border-radius: var(--ef-radius); overflow: hidden; height: 380px; background: var(--ef-sand); }
.ef-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.ef-sidebar-card { background: #fff; border-radius: var(--ef-radius); border: 1px solid var(--ef-line); padding: 28px; position: relative; }
.ef-sidebar-card + .ef-sidebar-card { margin-top: 20px; }
.ef-sticky { position: sticky; top: calc(var(--ef-header-h) + 20px); }
.ef-sidebar-card--dark { background: var(--ef-forest); color: rgba(255,255,255,.78); border: 0; }
.ef-sidebar-card--dark h4, .ef-sidebar-card--dark h5 { color: #fff; }
.ef-sum-list { list-style: none; padding: 0; margin: 0 0 22px; }
.ef-sum-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ef-line); font-size: 14.5px; }
.ef-sum-list li span { color: var(--ef-muted); }
.ef-sum-list li strong { color: var(--ef-ink); text-align: right; }
.ef-sidebar-card--dark .ef-sum-list li { border-color: rgba(255,255,255,.12); }
.ef-sidebar-card--dark .ef-sum-list li span { color: rgba(255,255,255,.6); }
.ef-sidebar-card--dark .ef-sum-list li strong { color: #fff; }
.ef-agent { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.ef-agent__avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--ef-forest); display: grid; place-items: center; color: #f1d9a8; font-family: var(--ef-font-display); font-size: 22px; flex-shrink: 0; }
.ef-agent strong { display: block; color: var(--ef-ink); }
.ef-agent span { font-size: 13.5px; color: var(--ef-muted); }
.ef-units { display: grid; gap: 12px; }
.ef-unit { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--ef-line-2); transition: all .25s; }
.ef-unit.is-selected { border-color: var(--ef-forest-3); background: var(--ef-sage); }
.ef-unit small { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ef-muted-2); font-weight: 700; }
.ef-unit strong { font-size: 15px; color: var(--ef-ink); }
.ef-unit.is-sold { opacity: .55; }
@media (max-width: 767px) { .ef-unit { grid-template-columns: 1fr 1fr; } }
.ef-mobile-cta { display: none; }
@media (max-width: 991px) {
    .ef-mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; background: #fff; border-top: 1px solid var(--ef-line); padding: 12px 16px; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -10px 30px -15px rgba(0,0,0,.25); }
    .ef-mobile-cta .price { font-family: var(--ef-font-display); font-size: 22px; color: var(--ef-forest); line-height: 1; }
    body.has-mobile-cta { padding-bottom: 80px; }
}

/* Forms */
.ef-form .form-label, .ef-label { font-weight: 700; font-size: 14px; color: var(--ef-ink); margin-bottom: 7px; display: block; }
.ef-form .form-control, .ef-form .form-select, .ef-form textarea {
    border: 1px solid var(--ef-line-2); border-radius: 12px; padding: 12px 15px; font-size: 15px; color: var(--ef-ink); background-color: #fff; box-shadow: none;
}
.ef-form .form-control:focus, .ef-form .form-select:focus { border-color: var(--ef-forest-3); box-shadow: 0 0 0 4px rgba(33,97,79,.12); }
.ef-form textarea.form-control { min-height: 120px; }
.ef-form .form-check-input:checked { background-color: var(--ef-forest); border-color: var(--ef-forest); }
.ef-form .required::after, label.required::after { content: " *"; color: var(--ef-danger); }
.ef-input-icon { position: relative; }
.ef-input-icon > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ef-muted-2); }
.ef-input-icon .form-control { padding-left: 44px; }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.ef-faq .accordion-item { border: 0; border-bottom: 1px solid var(--ef-line-2); background: transparent; }
.ef-faq .accordion-button { background: transparent; box-shadow: none; padding: 24px 0; font-weight: 700; font-size: 18px; color: var(--ef-ink); gap: 18px; }
.ef-faq .accordion-button::after { background-image: none; content: "+"; font-size: 26px; font-weight: 300; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ef-line-2); display: grid; place-items: center; line-height: 1; transform: none; transition: all .3s; flex-shrink: 0; }
.ef-faq .accordion-button:not(.collapsed)::after { content: "–"; background: var(--ef-forest); color: #fff; border-color: var(--ef-forest); }
.ef-faq .accordion-body { padding: 0 54px 26px 0; color: var(--ef-muted); font-size: 16px; }

/* ==========================================================================
   CTA band & newsletter
   ========================================================================== */
.ef-cta { position: relative; border-radius: var(--ef-radius-lg); overflow: hidden; padding: 80px 70px; color: #fff; isolation: isolate; }
.ef-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ef-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,20,18,.92) 0%, rgba(8,20,18,.65) 55%, rgba(8,20,18,.25)); }
.ef-cta h2 { color: #fff; font-family: var(--ef-font-display); font-weight: 400; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); letter-spacing: -0.025em; line-height: 1.08; max-width: 640px; }
.ef-cta p { color: rgba(255,255,255,.78); max-width: 520px; font-size: 1.08rem; }
@media (max-width: 767px) { .ef-cta { padding: 50px 28px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.ef-footer { background: var(--ef-ink); color: rgba(255,255,255,.66); padding: 90px 0 0; position: relative; overflow: hidden; }
.ef-footer::before { content: ""; position: absolute; width: 700px; height: 700px; left: -250px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(195,154,84,.12), transparent 70%); }
.ef-footer a { color: rgba(255,255,255,.72); }
.ef-footer a:hover { color: var(--ef-brass); }
.ef-footer__brand p { max-width: 340px; margin: 22px 0 26px; }
.ef-footer h6 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.ef-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 15px; }
.ef-footer__news { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--ef-radius); padding: 30px; }
.ef-footer__news h5 { color: #fff; font-family: var(--ef-font-display); font-weight: 400; font-size: 24px; }
.ef-newsletter { display: flex; background: #fff; border-radius: 999px; padding: 5px; margin-top: 16px; }
.ef-newsletter input { flex: 1; border: 0; outline: 0; padding: 0 18px; border-radius: 999px; font-size: 15px; min-width: 0; background: transparent; color: var(--ef-ink); }
.ef-social { display: flex; gap: 10px; }
.ef-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: all .3s; }
.ef-social a:hover { background: var(--ef-brass); border-color: var(--ef-brass); color: #1b1406; }
.ef-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 70px; padding: 26px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.ef-footer__bottom ul { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; flex-wrap: wrap; }
.ef-footer__word { font-family: var(--ef-font-display); font-size: clamp(4rem, 2rem + 13vw, 15rem); line-height: .8; color: rgba(255,255,255,.04); letter-spacing: -0.05em; white-space: nowrap; text-align: center; margin-top: 40px; user-select: none; }

/* ==========================================================================
   Info pages
   ========================================================================== */
.ef-stat-card { padding: 30px; border-radius: var(--ef-radius); background: #fff; border: 1px solid var(--ef-line); height: 100%; }
.ef-stat-card strong { font-family: var(--ef-font-display); font-size: 46px; font-weight: 400; color: var(--ef-forest); line-height: 1; display: block; margin-bottom: 8px; }
.ef-value { padding: 32px; border-radius: var(--ef-radius); background: #fff; border: 1px solid var(--ef-line); height: 100%; transition: all .35s var(--ef-ease); }
.ef-value:hover { box-shadow: var(--ef-shadow); transform: translateY(-4px); }
.ef-value i { font-size: 26px; color: var(--ef-brass-2); margin-bottom: 18px; display: block; }
.ef-value h5 { font-size: 19px; }
.ef-value p { color: var(--ef-muted); margin: 0; }
.ef-timeline { position: relative; padding-left: 40px; }
.ef-timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 1px; background: var(--ef-line-2); }
.ef-timeline__item { position: relative; padding-bottom: 34px; }
.ef-timeline__item::before { content: attr(data-step); position: absolute; left: -40px; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ef-forest); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.ef-timeline__item h5 { font-size: 19px; margin-bottom: 6px; }
.ef-timeline__item p { color: var(--ef-muted); margin: 0; }
.ef-help-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--ef-radius); background: #fff; border: 1px solid var(--ef-line); height: 100%; color: var(--ef-ink); transition: all .35s var(--ef-ease); position: relative; }
.ef-help-card:hover { transform: translateY(-4px); box-shadow: var(--ef-shadow); color: var(--ef-ink); }
.ef-help-card i.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ef-sage); color: var(--ef-forest-2); display: grid; place-items: center; font-size: 22px; }
.ef-help-card p { color: var(--ef-muted); margin: 0; font-size: 15px; }
.ef-contact-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--ef-radius); background: #fff; border: 1px solid var(--ef-line); }
.ef-contact-card i { width: 50px; height: 50px; border-radius: 14px; background: var(--ef-forest); color: #f1d9a8; display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.ef-contact-card h6 { margin-bottom: 4px; }
.ef-contact-card p, .ef-contact-card a { color: var(--ef-muted); margin: 0; }
.ef-policy { background: #fff; border-radius: var(--ef-radius-lg); border: 1px solid var(--ef-line); padding: 56px; }
@media (max-width: 767px) { .ef-policy { padding: 28px; } }

/* ==========================================================================
   Auth
   ========================================================================== */
.ef-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--ef-ivory); }
.ef-auth__media { position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.ef-auth__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ef-auth__media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,20,18,.35), rgba(8,20,18,.85)); }
.ef-auth__media h2 { color: #fff; font-family: var(--ef-font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1.1; letter-spacing: -0.025em; max-width: 520px; }
.ef-auth__media p { color: rgba(255,255,255,.78); max-width: 460px; }
.ef-auth__panel { display: flex; align-items: center; justify-content: center; padding: 48px 28px; }
.ef-auth__box { width: 100%; max-width: 470px; }
.ef-auth__box h1 { font-family: var(--ef-font-display); font-weight: 400; font-size: 38px; letter-spacing: -0.02em; margin-bottom: 8px; }
.ef-auth__box .sub { color: var(--ef-muted); margin-bottom: 30px; }
.ef-auth__switch { margin-top: 26px; text-align: center; color: var(--ef-muted); }
.ef-divider { display: flex; align-items: center; gap: 14px; color: var(--ef-muted-2); font-size: 13px; margin: 22px 0; }
.ef-divider::before, .ef-divider::after { content: ""; flex: 1; height: 1px; background: var(--ef-line-2); }
.ef-pass-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--ef-muted); }
@media (max-width: 991px) { .ef-auth { grid-template-columns: 1fr; } .ef-auth__media { display: none; } }

/* ==========================================================================
   Modal
   ========================================================================== */
.ef-modal .modal-content { border: 0; border-radius: var(--ef-radius-lg); overflow: hidden; box-shadow: var(--ef-shadow-lg); }
.ef-modal .modal-header { border: 0; padding: 28px 30px 6px; }
.ef-modal .modal-title { font-family: var(--ef-font-display); font-weight: 500; font-size: 26px; }
.ef-modal .modal-body { padding: 18px 30px 30px; }
.ef-pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ef-pay-option { border: 1px solid var(--ef-line-2); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: all .25s; }
.ef-pay-option small { display: block; font-size: 12px; color: var(--ef-muted); }
.ef-pay-option strong { color: var(--ef-ink); }
.ef-pay-option.active { border-color: var(--ef-forest); background: var(--ef-sage); box-shadow: 0 0 0 3px rgba(33,97,79,.12); }

/* ==========================================================================
   Misc: reveal animation, scroll top, cookie
   ========================================================================== */
.ef-reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ef-ease), transform 1s var(--ef-ease); }
.ef-reveal.is-visible { opacity: 1; transform: none; }
.ef-reveal[data-delay="1"] { transition-delay: .08s; } .ef-reveal[data-delay="2"] { transition-delay: .16s; } .ef-reveal[data-delay="3"] { transition-delay: .24s; } .ef-reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .ef-reveal { opacity: 1; transform: none; transition: none; } .ef-hero__media img, .ef-hero__card { animation: none; } html { scroll-behavior: auto; } }
.ef-to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ef-forest); color: #fff; z-index: 1010; opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .35s var(--ef-ease); box-shadow: var(--ef-shadow); }
.ef-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ef-to-top:hover { background: var(--ef-brass); color: #1b1406; }
@media (max-width: 991px) { body.has-mobile-cta .ef-to-top { bottom: 96px; } }
.cookies-card { position: fixed; left: 22px; bottom: 22px; max-width: 420px; background: var(--ef-ink); color: rgba(255,255,255,.8); padding: 22px; border-radius: var(--ef-radius); z-index: 1080; box-shadow: var(--ef-shadow-lg); transition: all .5s var(--ef-ease); font-size: 14.5px; }
.cookies-card.hide { opacity: 0; visibility: hidden; transform: translateY(20px); }
.cookies-card a { color: #f1d9a8; text-decoration: underline; }
.cookies-card__icon { display: none; }
.cookies-card__btn { margin-top: 14px; display: flex; gap: 8px; }
.ef-marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--ef-line); border-bottom: 1px solid var(--ef-line); padding: 22px 0; background: var(--ef-ivory); }
.ef-marquee__track { display: inline-flex; gap: 60px; animation: efMarquee 45s linear infinite; }
.ef-marquee__track span { font-family: var(--ef-font-display); font-size: 30px; color: var(--ef-ink); display: inline-flex; align-items: center; gap: 60px; }
.ef-marquee__track span::after { content: "✦"; color: var(--ef-brass); font-size: 18px; }
@keyframes efMarquee { to { transform: translateX(-50%); } }
.ef-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.text-forest { color: var(--ef-forest) !important; }
.rounded-ef { border-radius: var(--ef-radius) !important; }
.ef-swiper-nav { display: flex; gap: 10px; }
.ef-swiper-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ef-line-2); background: #fff; color: var(--ef-ink); transition: all .3s; }
.ef-swiper-nav button:hover { background: var(--ef-forest); color: #fff; border-color: var(--ef-forest); }
.ef-hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.ef-hscroll::-webkit-scrollbar { display: none; }
.ef-hscroll > * { scroll-snap-align: start; }
@media (max-width: 991px) { .ef-hscroll { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 575px) { .ef-hscroll { grid-auto-columns: 86%; } }
.select2-container--default .select2-selection--single { border-radius: 12px; border-color: var(--ef-line-2); height: 46px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.ef-hscroll--2 { grid-auto-columns: calc((100% - 24px) / 2); }
@media (max-width: 575px) { .ef-hscroll--2 { grid-auto-columns: 86%; } }
.ef-container-wide { padding-left: clamp(16px, 3.6vw, 56px); padding-right: clamp(16px, 3.6vw, 56px); max-width: 1520px; }
.ef-hero .ef-reveal, .ef-page-hero .ef-reveal { opacity: 0; transform: translateY(26px); animation: efUp 1s var(--ef-ease) forwards; transition: none; }
.ef-hero .ef-reveal[data-delay="1"], .ef-page-hero .ef-reveal[data-delay="1"] { animation-delay: .1s; }
.ef-hero .ef-reveal[data-delay="2"], .ef-page-hero .ef-reveal[data-delay="2"] { animation-delay: .2s; }
.ef-hero .ef-reveal[data-delay="3"], .ef-page-hero .ef-reveal[data-delay="3"] { animation-delay: .3s; }
.ef-hero .ef-reveal[data-delay="4"], .ef-page-hero .ef-reveal[data-delay="4"] { animation-delay: .4s; }
@keyframes efUp { to { opacity: 1; transform: none; } }

/* ==========================================================================
   Compatibility layer: legacy component classes used by account views
   (only applies on public layouts; the dashboard loads its own stylesheet)
   ========================================================================== */
body:not(.ef-dashboard-body) .my-120 { margin-top: 90px; margin-bottom: 90px; }
body:not(.ef-dashboard-body) .custom--card { border: 1px solid var(--ef-line); border-radius: var(--ef-radius); background: #fff; box-shadow: var(--ef-shadow-sm); }
body:not(.ef-dashboard-body) .custom--card .card-body { padding: 34px; }
body:not(.ef-dashboard-body) .custom--card .card-header { background: transparent; border-bottom: 1px solid var(--ef-line); padding: 22px 34px; }
body:not(.ef-dashboard-body) .form--label { font-weight: 700; font-size: 14px; color: var(--ef-ink); margin-bottom: 7px; display: block; }
body:not(.ef-dashboard-body) .form--control { border: 1px solid var(--ef-line-2); border-radius: 12px; padding: 12px 15px; font-size: 15px; color: var(--ef-ink); }
body:not(.ef-dashboard-body) .form--control:focus { border-color: var(--ef-forest-3); box-shadow: 0 0 0 4px rgba(33,97,79,.12); }
body:not(.ef-dashboard-body) .form-group { margin-bottom: 18px; }
body:not(.ef-dashboard-body) .btn--base, body:not(.ef-dashboard-body) .btn--dark { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ef-forest); color: #fff; border: 1px solid var(--ef-forest); border-radius: 999px; padding: 13px 24px; font-weight: 700; }
body:not(.ef-dashboard-body) .btn--base:hover, body:not(.ef-dashboard-body) .btn--dark:hover { background: var(--ef-forest-2); color: #fff; }
body:not(.ef-dashboard-body) .btn--sm { padding: 8px 16px; font-size: 14px; }
body:not(.ef-dashboard-body) .btn--danger { background: var(--ef-danger); color: #fff; border-radius: 999px; }
body:not(.ef-dashboard-body) .text--base { color: var(--ef-brass-2) !important; }
body:not(.ef-dashboard-body) .text--info { color: var(--ef-info) !important; }
body:not(.ef-dashboard-body) .text--danger { color: var(--ef-danger) !important; }
body:not(.ef-dashboard-body) .input--group .input-group-text { border-radius: 0 12px 12px 0; background: var(--ef-ivory); border-color: var(--ef-line-2); cursor: pointer; }
body:not(.ef-dashboard-body) .verification-code-wrapper { background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius); padding: 34px; max-width: 520px; width: 100%; box-shadow: var(--ef-shadow-sm); }
body:not(.ef-dashboard-body) .alert--info { background: var(--ef-sage); border: 0; border-radius: 12px; color: var(--ef-forest-2); }
@media (min-height: 1300px) { .ef-hero { min-height: 980px; } .ef-auth { min-height: 1000px; } }
@media (max-width: 575px) { .cookies-card { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px; font-size: 13.5px; } }

/* ---------- Listing details: sections nav, about, grouped amenities & nearby ---------- */
.ef-detail-tabs { position: sticky; top: var(--ef-header-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: rgba(247,243,236,.94); backdrop-filter: blur(10px); padding: 10px 0; margin-top: 24px; border-bottom: 1px solid var(--ef-line); }
.ef-detail-tabs::-webkit-scrollbar { display: none; }
.ef-detail-tabs a { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ef-muted); white-space: nowrap; }
.ef-detail-tabs a:hover { background: #fff; color: var(--ef-ink); }
.ef-block { scroll-margin-top: calc(var(--ef-header-h) + 70px); }
.ef-about h4 { font-family: var(--ef-font-display); font-weight: 500; font-size: 21px; margin: 30px 0 12px; color: var(--ef-ink); }
.ef-about ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; }
.ef-about ul li { position: relative; padding-left: 28px; margin: 0; }
.ef-about ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--ef-sage); color: var(--ef-forest-2); font-size: 10px; display: grid; place-items: center; }
@media (max-width: 767px) { .ef-about ul { grid-template-columns: 1fr; } }
.ef-about-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--ef-line-2); }
.ef-about-meta span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ef-muted-2); font-weight: 700; }
.ef-about-meta strong { font-size: 14.5px; color: var(--ef-ink); }
@media (max-width: 767px) { .ef-about-meta { grid-template-columns: repeat(2, 1fr); } }
.ef-amenity-groups { display: grid; gap: 26px; }
.ef-amenity-group h3, .ef-nearby__group { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--ef-brass-2); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.ef-nearby__group { margin-top: 8px; }
.ef-amenity-group + .ef-amenity-group { padding-top: 22px; border-top: 1px solid var(--ef-line); }
.ef-nearby__cat { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--ef-brass-2); margin-bottom: 2px; }
