@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/Vazirmatn-wght.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-forest: #263716;
    --color-olive: #53621f;
    --color-sage: #a0ad77;
    --color-gold: #cda44e;
    --color-gold-soft: #f3df9c;
    --color-cream: #f6f0df;
    --color-paper: #fffaf0;
    --color-ink: #202319;
    --color-muted: #6c705f;
    --color-line: rgba(38, 55, 22, 0.16);
    --color-danger: #a24a36;
    --shadow: 0 20px 45px rgba(26, 35, 17, 0.14);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-cream);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    line-height: 1.85;
    text-align: right;
}

body.admin-bar .site-header {
    top: 32px;
}

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

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

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

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 9999;
    top: 12px;
    right: 12px;
    width: auto;
    height: auto;
    padding: 10px 16px;
    clip: auto;
    color: #fff;
    background: var(--color-forest);
}

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

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    padding: 14px 0;
    color: #fff;
    transition: background 0.2s ease, padding 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
    padding: 10px 0;
    color: var(--color-ink);
    background: rgba(255, 250, 240, 0.94);
    box-shadow: 0 12px 26px rgba(28, 37, 17, 0.12);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.brand img,
.custom-logo-link img {
    width: 72px;
    height: 56px;
    object-fit: contain;
}

.brand strong {
    display: block;
    color: currentColor;
    font-size: 1.05rem;
    line-height: 1.2;
}

.brand small {
    display: block;
    color: currentColor;
    font-size: 0.76rem;
    opacity: 0.78;
}

.main-navigation {
    justify-self: center;
}

.menu,
.footer-menu {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu li {
    position: relative;
}

.menu a {
    display: block;
    padding: 10px 14px;
    color: currentColor;
    border-radius: var(--radius);
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.menu .sub-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    min-width: 250px;
    gap: 7px;
    padding: 14px;
    margin: 0;
    list-style: none;
    color: var(--color-ink);
    border: 1px solid rgba(218, 198, 134, 0.42);
    border-radius: 18px;
    background: rgba(255, 250, 240, 0.98);
    box-shadow: 0 24px 54px rgba(28, 37, 17, 0.2);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.menu .sub-menu::before {
    position: absolute;
    right: 24px;
    top: -7px;
    width: 14px;
    height: 14px;
    content: "";
    background: rgba(255, 250, 240, 0.98);
    border-top: 1px solid rgba(218, 198, 134, 0.42);
    border-right: 1px solid rgba(218, 198, 134, 0.42);
    transform: rotate(-45deg);
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu .sub-menu .sub-menu {
    top: 0;
    right: calc(100% + 8px);
}

.menu .sub-menu .sub-menu::before {
    display: none;
}

.menu a:hover,
.menu .is-exact-active > a {
    color: var(--color-gold-soft);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.site-header.is-scrolled .menu a:hover,
.site-header.is-scrolled .menu .is-exact-active > a,
body:not(.home) .site-header .menu a:hover,
body:not(.home) .site-header .menu .is-exact-active > a {
    color: var(--color-forest);
    background: rgba(218, 186, 91, 0.2);
    box-shadow: 0 8px 22px rgba(83, 98, 31, 0.12);
}

.menu .is-query-neutral > a,
.site-header.is-scrolled .menu .is-query-neutral > a,
body:not(.home) .site-header .menu .is-query-neutral > a {
    color: currentColor;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-actions__phone {
    direction: ltr;
    font-weight: 700;
}

.theme-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    color: currentColor;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(26, 35, 17, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.theme-toggle__sun {
    display: none;
}

.site-header.is-scrolled .theme-toggle,
body:not(.home) .site-header .theme-toggle {
    color: var(--color-forest);
    border-color: rgba(218, 198, 134, 0.42);
    background: rgba(83, 98, 31, 0.08);
}

.button,
button[type="submit"],
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    color: var(--color-forest);
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    line-height: 1.4;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
}

.button--gold,
button[type="submit"],
input[type="submit"] {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-soft));
    box-shadow: 0 12px 24px rgba(118, 82, 12, 0.2);
}

.button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.contact-choice {
    position: relative;
    display: inline-block;
    z-index: 60;
}

.contact-choice[open] {
    z-index: 180;
}

.contact-choice summary {
    list-style: none;
    cursor: pointer;
}

.contact-choice summary::-webkit-details-marker {
    display: none;
}

.contact-choice__menu {
    position: absolute;
    z-index: 220;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    min-width: 200px;
    padding: 8px;
    color: var(--color-ink);
    border: 1px solid rgba(218, 198, 134, 0.42);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.98);
    box-shadow: var(--shadow);
}

.contact-choice:not([open]) .contact-choice__menu {
    display: none;
}

.contact-choice__menu a {
    padding: 10px 12px;
    color: var(--color-forest);
    border-radius: 12px;
    font-weight: 900;
}

.contact-choice__menu a:hover {
    background: rgba(218, 198, 134, 0.22);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 760px;
    padding: 144px 0 54px;
    color: #fff;
    background: var(--color-forest);
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(14, 24, 10, 0.7), rgba(25, 44, 18, 0.34), rgba(10, 14, 8, 0.06)),
        var(--hero-image, url("../images/hero-gilan.png")) center/cover no-repeat;
    transform: scale(1.01);
}

.hero.is-contact-choice-open,
.property-hero.is-contact-choice-open {
    z-index: 20;
    overflow: visible;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 170px;
    content: "";
    background: linear-gradient(0deg, rgba(246, 240, 223, 0.98), rgba(246, 240, 223, 0));
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 560px;
    align-content: space-between;
    gap: 46px;
}

.hero__content {
    max-width: 650px;
    padding-top: 42px;
    position: relative;
    z-index: 4;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.eyebrow::before {
    width: 28px;
    height: 2px;
    content: "";
    background: currentColor;
}

.hero h1,
.page-hero h1 {
    max-width: 760px;
    margin: 12px 0 16px;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.2;
}

.hero p {
    max-width: 560px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.04rem;
}

.hero__actions {
    position: relative;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__search {
    align-self: end;
}

.property-search {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(38, 55, 22, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.property-search--compact {
    align-items: end;
}

.property-search--advanced {
    align-items: end;
}

.property-search label {
    display: grid;
    gap: 4px;
    min-width: 0;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

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

.property-search input,
.property-search select {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    color: var(--color-ink);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 250, 240, 0.96);
}

.archive-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.property-filter-sidebar {
    position: sticky;
    top: 108px;
}

.filter-drawer-toggle,
.filter-drawer-close {
    display: none;
}

.property-filter-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
    box-shadow: 0 12px 30px rgba(48, 59, 30, 0.08);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 4px;
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    color: var(--color-forest);
    border: 1px solid rgba(83, 98, 31, 0.16);
    border-radius: 999px;
    background: rgba(83, 98, 31, 0.06);
    font-size: 0.82rem;
    font-weight: 900;
}

.filter-tab:hover,
.filter-tab.is-active {
    color: #fff;
    background: var(--color-olive);
}

.property-filter-form label,
.filter-group {
    display: grid;
    gap: 7px;
}

.property-filter-form span,
.filter-group > span {
    color: var(--color-forest);
    font-size: 0.82rem;
    font-weight: 900;
}

.property-filter-form input,
.property-filter-form select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #fff;
}

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

.filter-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(83, 98, 31, 0.08);
    cursor: pointer;
}

.filter-check input {
    width: 16px;
    min-height: 16px;
    accent-color: var(--color-olive);
}

.filter-reset {
    color: var(--color-muted);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
}

.filter-status {
    min-height: 22px;
    margin: 0;
    color: var(--color-muted);
    font-size: 0.82rem;
}

.archive-results {
    min-width: 0;
}

.archive-results__bar {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--color-forest);
    font-weight: 900;
}

.archive-results__bar strong {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--color-olive);
}

.property-search__more {
    grid-column: 1 / -1;
    color: #fff;
}

.property-search__more summary {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.property-search__more-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-strip {
    position: relative;
    z-index: 2;
    margin-top: -28px;
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid rgba(205, 164, 78, 0.38);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #31401b, #53621f);
    box-shadow: var(--shadow);
}

.trust-strip__grid div {
    min-height: 92px;
    padding: 20px;
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-strip__grid div:last-child {
    border-left: 0;
}

.trust-strip strong {
    display: block;
    color: var(--color-gold-soft);
    font-size: 1.55rem;
    line-height: 1.2;
}

.trust-strip span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}

.section {
    padding: 86px 0;
}

.section--soft {
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.76), rgba(255, 250, 240, 0.9)),
        radial-gradient(circle at top right, rgba(205, 164, 78, 0.16), transparent 35%),
        #eef0df;
}

.section-heading {
    display: flex;
    gap: 18px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-heading h2,
.cta-band h2,
.property-content h2,
.detail-card h2 {
    margin: 6px 0 0;
    color: var(--color-forest);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.35;
}

.section-heading .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
    color: var(--color-olive);
}

.section-heading a {
    color: var(--color-olive);
    font-weight: 800;
}

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

.property-showcase {
    margin-top: 62px;
}

.property-slider-wrap {
    position: relative;
    margin-inline: 34px;
    isolation: isolate;
}

.property-slider-nav {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    color: var(--color-forest);
    border: 1px solid rgba(218, 198, 134, 0.62);
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.96);
    box-shadow: 0 14px 28px rgba(26, 35, 17, 0.15);
    transform: translateY(-50%);
}

.property-slider-nav:hover {
    color: #fff;
    background: var(--color-olive);
    transform: translateY(-50%) scale(1.04);
}

.property-slider-nav[hidden] {
    display: none;
}

.property-slider-nav i {
    display: block;
    font-size: 1.05rem;
    line-height: 1;
    direction: ltr;
}

.property-slider-nav--prev {
    left: -58px;
}

.property-slider-nav--next {
    right: -58px;
}

.property-slider {
    display: grid;
    grid-auto-columns: minmax(310px, 380px);
    grid-auto-flow: column;
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 8px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.property-slider::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.property-slider__item {
    scroll-snap-align: start;
}

.property-slider .property-card {
    height: 100%;
}

.property-card,
.service-grid article,
.detail-card,
.post-card,
.empty-state {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
    box-shadow: 0 12px 30px rgba(48, 59, 30, 0.08);
}

.property-card {
    overflow: hidden;
}

.property-card__image {
    position: relative;
    display: block;
    aspect-ratio: 1.3 / 1;
    overflow: hidden;
    background: #d8dec0;
}

.property-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.property-card__logo,
.property-hero__logo {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 72px;
    height: 52px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.34)) drop-shadow(0 0 6px rgba(255, 250, 240, 0.8));
}

.property-card__logo img,
.property-hero__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.property-card__body {
    padding: 16px;
}

.property-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.property-card__badges span {
    padding: 3px 8px;
    color: var(--color-forest);
    border: 1px solid rgba(205, 164, 78, 0.42);
    border-radius: 999px;
    background: rgba(205, 164, 78, 0.16);
    font-size: 0.74rem;
    font-weight: 800;
}

.property-card h3 {
    min-height: 58px;
    margin: 0 0 6px;
    color: var(--color-forest);
    font-size: 1.04rem;
    line-height: 1.5;
}

.property-card__location {
    margin: 0 0 8px;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.property-file-code {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin: 0 0 9px;
    padding: 3px 8px;
    color: var(--color-forest);
    border: 1px dashed rgba(83, 98, 31, 0.28);
    border-radius: 999px;
    background: rgba(83, 98, 31, 0.07);
    font-size: 0.75rem;
    font-weight: 800;
}

.property-file-code b {
    direction: ltr;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
}

.property-card__price,
.single-price {
    display: block;
    color: var(--color-danger);
    font-size: 1rem;
    line-height: 1.6;
}

.property-card__facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0 0;
}

.property-card__facts div {
    min-width: 0;
    padding: 9px 6px;
    border-radius: var(--radius);
    background: rgba(83, 98, 31, 0.08);
    text-align: center;
}

.property-card__facts dt,
.detail-list dt {
    color: var(--color-muted);
    font-size: 0.72rem;
}

.property-card__facts dd,
.detail-list dd {
    margin: 0;
    color: var(--color-forest);
    font-weight: 800;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-grid article {
    padding: 26px;
}

.service-grid span {
    color: var(--color-gold);
    font-size: 1.7rem;
    font-weight: 900;
}

.service-grid h3 {
    margin: 8px 0 10px;
    color: var(--color-forest);
    font-size: 1.25rem;
}

.service-grid p {
    margin: 0;
    color: var(--color-muted);
}

.cta-band {
    padding: 58px 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(35, 48, 18, 0.96), rgba(83, 98, 31, 0.94)),
        url("../images/preview-hero.jpg") center/cover no-repeat;
}

.cta-band__inner {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.cta-band h2 {
    color: #fff;
}

.page-hero {
    padding: 154px 0 60px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(26, 35, 17, 0.94), rgba(83, 98, 31, 0.84)),
        url("../images/preview-hero.jpg") center/cover no-repeat;
}

.page-hero p {
    max-width: 620px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.82);
}

.page-hero .property-search {
    margin-top: 22px;
}

.property-hero {
    position: relative;
    z-index: 1;
    padding: 136px 0 38px;
    background: linear-gradient(180deg, #30401b, var(--color-cream));
}

.property-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
    gap: 24px;
    align-items: stretch;
}

.property-hero__media,
.property-hero__summary {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.property-hero__logo {
    width: 82px;
    height: 68px;
    right: 22px;
    left: auto;
    bottom: 22px;
}

.property-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.property-hero__summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    overflow: visible;
    padding: 30px;
    background: var(--color-paper);
}

.property-hero__summary .contact-choice {
    z-index: 120;
    width: fit-content;
}

.property-hero__summary .contact-choice[open] {
    z-index: 260;
}

.property-hero__summary .contact-choice__menu {
    z-index: 300;
    min-width: 100%;
}

.property-hero__summary h1 {
    display: -webkit-box;
    max-width: 100%;
    margin: 10px 0;
    overflow: hidden;
    color: var(--color-forest);
    font-size: clamp(1.35rem, 2.25vw, 2.15rem);
    line-height: 1.35;
    text-wrap: balance;
    overflow-wrap: anywhere;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.single-price {
    margin: 12px 0 22px;
    font-size: 1.15rem;
}

.property-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.property-content,
.page-content {
    font-size: 1rem;
}

.property-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.property-gallery a {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.2 / 1;
    border-radius: var(--radius);
}

.property-gallery video {
    display: block;
    width: 100%;
    aspect-ratio: 1.2 / 1;
    border-radius: var(--radius);
    background: #111;
    object-fit: cover;
}

.property-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: none;
    place-items: center;
    padding: 24px;
}

.media-lightbox.is-open {
    display: grid;
}

body.lightbox-open {
    overflow: hidden;
}

.media-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 5, 0.84);
    backdrop-filter: blur(8px);
}

.media-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1100px, 100%);
    max-height: calc(100dvh - 48px);
    place-items: center;
}

.media-lightbox__image {
    max-width: 100%;
    max-height: calc(100dvh - 96px);
    border-radius: var(--radius);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
    object-fit: contain;
}

.media-lightbox__close,
.media-lightbox__nav {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    color: var(--color-forest);
    border: 1px solid rgba(218, 198, 134, 0.62);
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.96);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    cursor: pointer;
}

.media-lightbox__close {
    top: -18px;
    right: -18px;
}

.media-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.media-lightbox__nav--prev {
    right: -68px;
}

.media-lightbox__nav--next {
    left: -68px;
}

.media-lightbox__counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    padding: 5px 12px;
    color: #fff;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.48);
    font-size: 0.82rem;
    font-weight: 800;
    transform: translateX(-50%);
}

.property-map {
    margin-top: 32px;
    padding: 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
    box-shadow: 0 12px 30px rgba(48, 59, 30, 0.08);
}

.property-map__header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}

.property-map__header h2 {
    margin: 6px 0;
}

.property-map__header p {
    margin: 0;
    color: var(--color-muted);
}

.property-map iframe,
.property-map__placeholder {
    display: block;
    width: 100%;
    min-height: 320px;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: rgba(83, 98, 31, 0.08);
}

.property-map__placeholder {
    display: grid;
    place-items: center;
    padding: 28px;
    text-align: center;
}

.property-map__placeholder p {
    max-width: 420px;
    margin: 0;
    color: var(--color-muted);
    font-weight: 800;
}

.property-sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 16px;
}

.detail-card {
    padding: 22px;
}

.detail-card h2 {
    margin-bottom: 18px;
    font-size: 1.25rem;
}

.detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.detail-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-line);
}

.contact-card p {
    color: var(--color-muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.contact-panel {
    padding: 28px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
    box-shadow: var(--shadow);
}

.contact-panel h2 {
    margin: 0 0 18px;
    color: var(--color-forest);
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-list a,
.contact-list div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(83, 98, 31, 0.08);
}

.contact-list span,
.contact-panel label span {
    color: var(--color-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.contact-list strong {
    color: var(--color-forest);
}

.contact-panel form {
    display: grid;
    gap: 14px;
}

.contact-panel label {
    display: grid;
    gap: 6px;
}

.contact-panel input,
.contact-panel textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    background: #fff;
}

.map-link {
    display: inline-flex;
    margin-top: 20px;
    padding: 12px 18px;
    color: var(--color-forest);
    border-radius: 999px;
    background: var(--color-gold-soft);
    font-weight: 900;
}

.posts-list {
    display: grid;
    gap: 16px;
}

.post-card,
.empty-state {
    padding: 24px;
}

.navigation.pagination {
    margin-top: 30px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.page-numbers {
    display: grid;
    min-width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-paper);
}

.page-numbers.current {
    color: #fff;
    background: var(--color-olive);
}

.site-footer {
    color: rgba(255, 255, 255, 0.86);
    background: #1f2b14;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 30px;
    padding: 38px 0 26px;
}

.brand--footer img {
    width: 96px;
    height: 74px;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
}

.footer-menu a,
.site-footer a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
}

@media (max-width: 1000px) {
    .site-header__inner {
        grid-template-columns: 56px minmax(0, 1fr) 56px;
        min-height: 66px;
        gap: 0;
    }

    .brand {
        grid-column: 2;
        justify-self: center;
        text-align: center;
    }

    .menu-toggle {
        display: inline-block;
        position: relative;
        z-index: 150;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        color: var(--color-ink);
        border-color: rgba(83, 98, 31, 0.16);
        background: rgba(255, 250, 240, 0.9);
        box-shadow: 0 10px 22px rgba(26, 35, 17, 0.1);
    }

    .main-navigation {
        position: fixed;
        z-index: 130;
        top: 0;
        right: 0;
        bottom: auto;
        left: auto;
        display: block;
        width: min(86vw, 370px);
        height: 100vh;
        height: 100dvh;
        padding: 86px 18px 22px;
        overflow-y: auto;
        color: var(--color-ink);
        border-left: 1px solid rgba(218, 198, 134, 0.36);
        border-radius: 0;
        background: rgba(255, 250, 240, 0.98);
        box-shadow: -24px 0 54px rgba(26, 35, 17, 0.22);
        transform: translateX(105%);
        transition: transform 0.25s ease;
        backdrop-filter: blur(16px);
    }

    .main-navigation.is-open {
        transform: translateX(0);
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu {
        display: grid;
        gap: 8px;
    }

    .menu .sub-menu,
    .menu .sub-menu .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        gap: 6px;
        padding: 10px 12px;
        margin: 6px 0 8px;
        border: 1px solid rgba(218, 198, 134, 0.34);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.45);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .menu .is-submenu-open > .sub-menu {
        display: grid;
    }

    .menu .sub-menu::before {
        display: none;
    }

    .menu a {
        padding: 12px 14px;
        border-radius: 14px;
    }

    .menu .menu-item-has-children > a {
        position: relative;
    }

    .menu a:hover,
    .menu .is-exact-active > a {
        color: var(--color-forest);
        background: rgba(83, 98, 31, 0.1);
    }

    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .header-actions__phone {
        display: none;
    }

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

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

    .property-filter-sidebar {
        position: fixed;
        z-index: 145;
        inset: 0 0 0 auto;
        width: min(88vw, 360px);
        max-width: 100%;
        padding: 18px;
        overflow-y: auto;
        background: rgba(255, 250, 240, 0.98);
        box-shadow: -22px 0 48px rgba(26, 35, 17, 0.22);
        transform: translateX(105%);
        transition: transform 0.25s ease;
    }

    .property-filter-sidebar.is-open {
        transform: translateX(0);
    }

    body.filter-open {
        overflow: hidden;
    }

    body.filter-open::before {
        position: fixed;
        z-index: 140;
        inset: 0;
        content: "";
        background: rgba(18, 27, 12, 0.42);
        backdrop-filter: blur(3px);
    }

    .filter-drawer-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 0 18px;
        color: var(--color-forest);
        border: 1px solid rgba(218, 198, 134, 0.5);
        border-radius: var(--radius);
        background: var(--color-gold-soft);
        font-weight: 900;
        box-shadow: 0 14px 28px rgba(26, 35, 17, 0.1);
    }

    .filter-drawer-close {
        display: inline-flex;
        width: 100%;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        color: var(--color-forest);
        border: 1px solid rgba(218, 198, 134, 0.42);
        border-radius: var(--radius);
        background: rgba(218, 198, 134, 0.2);
        font-weight: 900;
    }

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

    .property-search button {
        grid-column: 1 / -1;
    }

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

    .property-layout,
    .property-hero__grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    body.admin-bar .site-header {
        top: 0;
    }

    .container {
        width: min(100% - 24px, var(--container));
    }

    .site-header {
        padding: 0;
        color: var(--color-ink);
        background: rgba(255, 250, 240, 0.96);
        box-shadow: 0 10px 24px rgba(26, 35, 17, 0.12);
    }

    .site-header > .container {
        width: 100%;
        padding-inline: 12px;
    }

    .brand img,
    .custom-logo-link img {
        width: 58px;
        height: 44px;
    }

    .brand {
        gap: 0;
    }

    .brand span,
    .header-actions .button {
        display: none;
    }

    .hero {
        min-height: auto;
        overflow: visible;
        padding: 118px 0 76px;
    }

    .hero::before {
        transform: none;
    }

    .hero__inner {
        min-height: 0;
    }

    .hero__content {
        padding-top: 10px;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .hero__actions .button,
    .hero__actions .contact-choice,
    .hero__actions .contact-choice summary {
        width: 100%;
        justify-content: center;
    }

    .hero__actions .contact-choice__menu {
        right: 0;
        left: 0;
        min-width: 100%;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.15rem;
    }

    .property-hero__summary h1 {
        font-size: 1.75rem;
        white-space: normal;
    }

    .property-search,
    .property-search__more-grid,
    .trust-strip__grid,
    .property-grid,
    .service-grid,
    .site-footer__grid,
    .property-gallery {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin-top: -42px;
    }

    .property-slider-wrap {
        margin-inline: 0;
    }

    .property-slider-nav {
        display: none;
    }

    .property-map {
        padding: 16px;
    }

    .property-map__header {
        display: grid;
    }

    .property-map__header .button {
        width: 100%;
    }

    .property-map iframe,
    .property-map__placeholder {
        min-height: 260px;
    }

    .trust-strip__grid div {
        min-height: 76px;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .section {
        padding: 58px 0;
    }

    .section-heading,
    .cta-band__inner,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .property-hero__media img {
        min-height: 290px;
    }

    .property-hero__logo {
        right: 14px;
        left: auto;
        bottom: 14px;
        width: 70px;
        height: 56px;
    }

    .media-lightbox {
        padding: 14px;
    }

    .media-lightbox__dialog {
        max-height: calc(100dvh - 28px);
    }

    .media-lightbox__image {
        max-height: calc(100dvh - 84px);
        border-radius: 14px;
    }

    .media-lightbox__close {
        top: 10px;
        right: 10px;
    }

    .media-lightbox__nav {
        top: auto;
        bottom: 16px;
        transform: none;
    }

    .media-lightbox__nav--prev {
        right: 16px;
    }

    .media-lightbox__nav--next {
        left: 16px;
    }
}

/* Dark presentation */
html.gbre-theme-dark {
    color-scheme: dark;
    --color-forest: #edf5d4;
    --color-olive: #a9bf62;
    --color-sage: #84946a;
    --color-gold: #d6ad54;
    --color-gold-soft: #f0d37e;
    --color-cream: #0c110a;
    --color-paper: #151b11;
    --color-ink: #f4efe2;
    --color-muted: #b8bea9;
    --color-line: rgba(236, 217, 147, 0.18);
    --color-danger: #ee9a72;
    --shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
    --surface-dark: #10160d;
    --surface-soft: #1b2315;
    --surface-field: #0f150d;
    --surface-glass: rgba(17, 23, 13, 0.9);
}

html.gbre-theme-dark body {
    background:
        radial-gradient(circle at top right, rgba(169, 191, 98, 0.14), transparent 34rem),
        radial-gradient(circle at bottom left, rgba(214, 173, 84, 0.1), transparent 32rem),
        var(--color-cream);
}

html.gbre-theme-dark ::selection {
    color: #12180d;
    background: var(--color-gold-soft);
}

html.gbre-theme-dark .site-header.is-scrolled,
html.gbre-theme-dark body:not(.home) .site-header {
    color: var(--color-ink);
    border-bottom: 1px solid var(--color-line);
    background: rgba(12, 17, 10, 0.9);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

html.gbre-theme-dark .menu .sub-menu,
html.gbre-theme-dark .contact-choice__menu,
html.gbre-theme-dark .main-navigation,
html.gbre-theme-dark .property-filter-sidebar {
    color: var(--color-ink);
    border-color: var(--color-line);
    background: rgba(18, 24, 14, 0.97);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
}

html.gbre-theme-dark .menu .sub-menu::before {
    border-color: var(--color-line);
    background: rgba(18, 24, 14, 0.97);
}

html.gbre-theme-dark .site-header.is-scrolled .menu a:hover,
html.gbre-theme-dark .site-header.is-scrolled .menu .is-exact-active > a,
html.gbre-theme-dark body:not(.home) .site-header .menu a:hover,
html.gbre-theme-dark body:not(.home) .site-header .menu .is-exact-active > a,
html.gbre-theme-dark .menu a:hover,
html.gbre-theme-dark .menu .is-exact-active > a {
    color: var(--color-gold-soft);
    background: rgba(214, 173, 84, 0.16);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

html.gbre-theme-dark .button--gold,
html.gbre-theme-dark button[type="submit"],
html.gbre-theme-dark input[type="submit"],
html.gbre-theme-dark .filter-drawer-toggle,
html.gbre-theme-dark .filter-drawer-close,
html.gbre-theme-dark .map-link {
    color: #151c0e;
}

html.gbre-theme-dark .button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
}

html.gbre-theme-dark .contact-choice__menu a {
    color: var(--color-forest);
}

html.gbre-theme-dark .contact-choice__menu a:hover {
    background: rgba(214, 173, 84, 0.14);
}

html.gbre-theme-dark .hero {
    background: #070b06;
}

html.gbre-theme-dark .hero::before {
    background:
        linear-gradient(90deg, rgba(6, 10, 5, 0.88), rgba(11, 18, 9, 0.58), rgba(8, 11, 6, 0.22)),
        var(--hero-dark-image, url("../images/hero-gilan-night.png")) center/cover no-repeat;
}

html.gbre-theme-dark .hero::after {
    background: linear-gradient(0deg, var(--color-cream), rgba(12, 17, 10, 0));
}

html.gbre-theme-dark .property-search {
    border-color: rgba(236, 217, 147, 0.2);
    background: rgba(15, 23, 11, 0.88);
}

html.gbre-theme-dark .property-search input,
html.gbre-theme-dark .property-search select,
html.gbre-theme-dark .property-filter-form input,
html.gbre-theme-dark .property-filter-form select,
html.gbre-theme-dark .contact-panel input,
html.gbre-theme-dark .contact-panel textarea {
    color: var(--color-ink);
    border-color: var(--color-line);
    background: var(--surface-field);
}

html.gbre-theme-dark .property-search input::placeholder,
html.gbre-theme-dark .contact-panel input::placeholder,
html.gbre-theme-dark .contact-panel textarea::placeholder {
    color: rgba(244, 239, 226, 0.55);
}

html.gbre-theme-dark .property-filter-form,
html.gbre-theme-dark .property-card,
html.gbre-theme-dark .service-grid article,
html.gbre-theme-dark .detail-card,
html.gbre-theme-dark .post-card,
html.gbre-theme-dark .empty-state,
html.gbre-theme-dark .property-map,
html.gbre-theme-dark .contact-panel,
html.gbre-theme-dark .page-numbers {
    border-color: var(--color-line);
    background: linear-gradient(180deg, rgba(25, 33, 19, 0.96), rgba(18, 24, 14, 0.96));
    box-shadow: var(--shadow);
}

html.gbre-theme-dark .section--soft {
    background:
        linear-gradient(180deg, rgba(15, 21, 11, 0.78), rgba(12, 17, 10, 0.95)),
        radial-gradient(circle at top right, rgba(214, 173, 84, 0.12), transparent 34rem),
        #0f150d;
}

html.gbre-theme-dark .property-hero {
    background: linear-gradient(180deg, #0a1007, var(--color-cream));
}

html.gbre-theme-dark .property-hero__summary {
    background: linear-gradient(180deg, rgba(25, 33, 19, 0.98), rgba(18, 24, 14, 0.98));
}

html.gbre-theme-dark .property-card__image {
    background: #1e2817;
}

html.gbre-theme-dark .property-card__badges span,
html.gbre-theme-dark .filter-tab,
html.gbre-theme-dark .property-file-code {
    color: var(--color-gold-soft);
    border-color: rgba(214, 173, 84, 0.34);
    background: rgba(214, 173, 84, 0.12);
}

html.gbre-theme-dark .filter-tab:hover,
html.gbre-theme-dark .filter-tab.is-active,
html.gbre-theme-dark .archive-results__bar strong,
html.gbre-theme-dark .page-numbers.current {
    color: #10170b;
    background: var(--color-gold-soft);
}

html.gbre-theme-dark .filter-check,
html.gbre-theme-dark .property-card__facts div,
html.gbre-theme-dark .contact-list a,
html.gbre-theme-dark .contact-list div,
html.gbre-theme-dark .property-map iframe,
html.gbre-theme-dark .property-map__placeholder {
    background: rgba(214, 173, 84, 0.08);
}

html.gbre-theme-dark .property-slider-nav {
    color: var(--color-gold-soft);
    border-color: rgba(214, 173, 84, 0.32);
    background: rgba(18, 24, 14, 0.96);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

html.gbre-theme-dark .property-slider-nav:hover {
    color: #12180d;
    background: var(--color-gold-soft);
}

html.gbre-theme-dark .trust-strip__grid {
    border-color: rgba(214, 173, 84, 0.32);
    background: linear-gradient(135deg, #16220f, #2f401b);
}

html.gbre-theme-dark .page-hero,
html.gbre-theme-dark .cta-band {
    background:
        linear-gradient(135deg, rgba(7, 11, 6, 0.95), rgba(25, 35, 14, 0.88)),
        url("../images/preview-hero.jpg") center/cover no-repeat;
}

html.gbre-theme-dark .site-footer {
    color: rgba(244, 239, 226, 0.82);
    background: #070b06;
}

html.gbre-theme-dark .site-footer h2 {
    color: #fff;
}

html.gbre-theme-dark .footer-menu a,
html.gbre-theme-dark .site-footer a {
    color: rgba(244, 239, 226, 0.86);
}

html.gbre-theme-dark .related-properties {
    padding-top: 28px;
    border-top: 1px solid var(--color-line);
    background:
        radial-gradient(circle at top left, rgba(214, 173, 84, 0.1), transparent 28rem),
        rgba(12, 17, 10, 0.86);
}

@media (max-width: 1000px) {
    html.gbre-theme-dark .site-header,
    html.gbre-theme-dark .site-header.is-scrolled,
    html.gbre-theme-dark body:not(.home) .site-header {
        color: var(--color-ink);
        background: rgba(12, 17, 10, 0.95);
    }

    html.gbre-theme-dark .menu-toggle {
        color: var(--color-ink);
        border-color: var(--color-line);
        background: rgba(25, 33, 19, 0.96);
    }

    html.gbre-theme-dark .menu .sub-menu,
    html.gbre-theme-dark .menu .sub-menu .sub-menu {
        border-color: var(--color-line);
        background: rgba(214, 173, 84, 0.07);
        box-shadow: inset 0 0 0 1px rgba(236, 217, 147, 0.08);
    }

    html.gbre-theme-dark .menu a:hover,
    html.gbre-theme-dark .menu .is-exact-active > a {
        color: var(--color-gold-soft);
        background: rgba(214, 173, 84, 0.14);
    }

    html.gbre-theme-dark .property-filter-sidebar {
        background: rgba(18, 24, 14, 0.98);
    }

    html.gbre-theme-dark .filter-drawer-toggle,
    html.gbre-theme-dark .filter-drawer-close {
        color: #151c0e;
        border-color: rgba(214, 173, 84, 0.42);
        background: var(--color-gold-soft);
    }
}

html.gbre-theme-dark .theme-toggle__moon {
    display: none;
}

html.gbre-theme-dark .theme-toggle__sun {
    display: block;
}

/* Selectable light presentation */
html.gbre-theme-light {
    color-scheme: light;
    --color-forest: #263716;
    --color-olive: #53621f;
    --color-sage: #a0ad77;
    --color-gold: #cda44e;
    --color-gold-soft: #f3df9c;
    --color-cream: #f6f0df;
    --color-paper: #fffaf0;
    --color-ink: #202319;
    --color-muted: #6c705f;
    --color-line: rgba(38, 55, 22, 0.16);
    --color-danger: #a24a36;
    --shadow: 0 20px 45px rgba(26, 35, 17, 0.14);
}

html.gbre-theme-light body {
    background: var(--color-cream);
}

html.gbre-theme-light ::selection {
    color: #fff;
    background: var(--color-forest);
}

html.gbre-theme-light .site-header.is-scrolled,
html.gbre-theme-light body:not(.home) .site-header {
    color: var(--color-ink);
    border-bottom: 0;
    background: rgba(255, 250, 240, 0.94);
    box-shadow: 0 12px 26px rgba(28, 37, 17, 0.12);
}

html.gbre-theme-light .main-navigation {
    color: inherit;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

html.gbre-theme-light .menu .sub-menu,
html.gbre-theme-light .contact-choice__menu {
    color: var(--color-ink);
    border-color: rgba(218, 198, 134, 0.42);
    background: rgba(255, 250, 240, 0.98);
    box-shadow: 0 24px 54px rgba(28, 37, 17, 0.2);
}

html.gbre-theme-light .property-filter-sidebar {
    color: var(--color-ink);
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

html.gbre-theme-light .menu .sub-menu::before {
    border-color: rgba(218, 198, 134, 0.42);
    background: rgba(255, 250, 240, 0.98);
}

html.gbre-theme-light .site-header.is-scrolled .menu a:hover,
html.gbre-theme-light .site-header.is-scrolled .menu .is-exact-active > a,
html.gbre-theme-light body:not(.home) .site-header .menu a:hover,
html.gbre-theme-light body:not(.home) .site-header .menu .is-exact-active > a {
    color: var(--color-forest);
    background: rgba(218, 186, 91, 0.2);
    box-shadow: 0 8px 22px rgba(83, 98, 31, 0.12);
}

html.gbre-theme-light .menu a:hover,
html.gbre-theme-light .menu .is-exact-active > a {
    color: var(--color-gold-soft);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

html.gbre-theme-light .button--gold,
html.gbre-theme-light button[type="submit"],
html.gbre-theme-light input[type="submit"],
html.gbre-theme-light .filter-drawer-toggle,
html.gbre-theme-light .filter-drawer-close,
html.gbre-theme-light .map-link {
    color: var(--color-forest);
}

html.gbre-theme-light .button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

html.gbre-theme-light .contact-choice__menu a {
    color: var(--color-forest);
}

html.gbre-theme-light .contact-choice__menu a:hover {
    background: rgba(218, 198, 134, 0.22);
}

html.gbre-theme-light .hero {
    background: var(--color-forest);
}

html.gbre-theme-light .hero::before {
    background:
        linear-gradient(90deg, rgba(14, 24, 10, 0.7), rgba(25, 44, 18, 0.34), rgba(10, 14, 8, 0.06)),
        var(--hero-image, url("../images/hero-gilan.png")) center/cover no-repeat;
}

html.gbre-theme-light .hero::after {
    background: linear-gradient(0deg, rgba(246, 240, 223, 0.98), rgba(246, 240, 223, 0));
}

html.gbre-theme-light .property-search {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(38, 55, 22, 0.86);
}

html.gbre-theme-light .property-search input,
html.gbre-theme-light .property-search select {
    color: var(--color-ink);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 250, 240, 0.96);
}

html.gbre-theme-light .property-filter-form input,
html.gbre-theme-light .property-filter-form select,
html.gbre-theme-light .contact-panel input,
html.gbre-theme-light .contact-panel textarea {
    color: var(--color-ink);
    border-color: var(--color-line);
    background: #fff;
}

html.gbre-theme-light .property-search input::placeholder,
html.gbre-theme-light .contact-panel input::placeholder,
html.gbre-theme-light .contact-panel textarea::placeholder {
    color: rgba(32, 35, 25, 0.48);
}

html.gbre-theme-light .property-filter-form,
html.gbre-theme-light .property-card,
html.gbre-theme-light .service-grid article,
html.gbre-theme-light .detail-card,
html.gbre-theme-light .post-card,
html.gbre-theme-light .empty-state,
html.gbre-theme-light .property-map,
html.gbre-theme-light .contact-panel,
html.gbre-theme-light .page-numbers {
    border-color: var(--color-line);
    background: var(--color-paper);
    box-shadow: 0 12px 30px rgba(48, 59, 30, 0.08);
}

html.gbre-theme-light .section--soft {
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.76), rgba(255, 250, 240, 0.9)),
        radial-gradient(circle at top right, rgba(205, 164, 78, 0.16), transparent 35%),
        #eef0df;
}

html.gbre-theme-light .property-hero {
    background: linear-gradient(180deg, rgba(83, 98, 31, 0.22), var(--color-cream));
}

html.gbre-theme-light .property-hero__summary {
    background: var(--color-paper);
}

html.gbre-theme-light .property-card__image {
    background: #d8dec0;
}

html.gbre-theme-light .property-card__badges span,
html.gbre-theme-light .filter-tab,
html.gbre-theme-light .property-file-code {
    color: var(--color-forest);
    border-color: rgba(205, 164, 78, 0.42);
    background: rgba(205, 164, 78, 0.16);
}

html.gbre-theme-light .filter-tab:hover,
html.gbre-theme-light .filter-tab.is-active,
html.gbre-theme-light .archive-results__bar strong,
html.gbre-theme-light .page-numbers.current {
    color: #fff;
    background: var(--color-olive);
}

html.gbre-theme-light .filter-check,
html.gbre-theme-light .property-card__facts div,
html.gbre-theme-light .contact-list a,
html.gbre-theme-light .contact-list div,
html.gbre-theme-light .property-map iframe,
html.gbre-theme-light .property-map__placeholder {
    background: rgba(83, 98, 31, 0.08);
}

html.gbre-theme-light .property-slider-nav {
    color: var(--color-forest);
    border-color: rgba(218, 198, 134, 0.62);
    background: rgba(255, 250, 240, 0.96);
    box-shadow: 0 14px 28px rgba(26, 35, 17, 0.15);
}

html.gbre-theme-light .property-slider-nav:hover {
    color: #fff;
    background: var(--color-olive);
}

html.gbre-theme-light .trust-strip__grid {
    border-color: rgba(205, 164, 78, 0.38);
    background: linear-gradient(135deg, #31401b, #53621f);
}

html.gbre-theme-light .page-hero,
html.gbre-theme-light .cta-band {
    background:
        linear-gradient(135deg, rgba(26, 35, 17, 0.94), rgba(83, 98, 31, 0.84)),
        url("../images/preview-hero.jpg") center/cover no-repeat;
}

html.gbre-theme-light .site-footer {
    color: rgba(255, 255, 255, 0.86);
    background: #1f2b14;
}

html.gbre-theme-light .site-footer h2 {
    color: #fff;
}

html.gbre-theme-light .footer-menu a,
html.gbre-theme-light .site-footer a {
    color: rgba(255, 255, 255, 0.86);
}

html.gbre-theme-light .related-properties {
    border-top-color: var(--color-line);
    background:
        radial-gradient(circle at top left, rgba(205, 164, 78, 0.12), transparent 28rem),
        rgba(246, 240, 223, 0.72);
}

html.gbre-theme-light .theme-toggle__moon {
    display: block;
}

html.gbre-theme-light .theme-toggle__sun {
    display: none;
}

@media (max-width: 1000px) {
    html.gbre-theme-light .site-header,
    html.gbre-theme-light .site-header.is-scrolled,
    html.gbre-theme-light body:not(.home) .site-header {
        color: var(--color-ink);
        background: rgba(255, 250, 240, 0.98);
    }

    html.gbre-theme-light .menu-toggle {
        color: var(--color-ink);
        border-color: rgba(218, 198, 134, 0.42);
        background: rgba(255, 250, 240, 0.9);
    }

    html.gbre-theme-light .main-navigation {
        color: var(--color-ink);
        border-color: rgba(218, 198, 134, 0.42);
        background: rgba(255, 250, 240, 0.98);
        box-shadow: 0 24px 54px rgba(28, 37, 17, 0.2);
    }

    html.gbre-theme-light .menu .sub-menu,
    html.gbre-theme-light .menu .sub-menu .sub-menu {
        border-color: rgba(218, 198, 134, 0.42);
        background: rgba(83, 98, 31, 0.04);
        box-shadow: inset 0 0 0 1px rgba(218, 198, 134, 0.18);
    }

    html.gbre-theme-light .menu a:hover,
    html.gbre-theme-light .menu .is-exact-active > a {
        color: var(--color-forest);
        background: rgba(218, 186, 91, 0.2);
    }

    html.gbre-theme-light .property-filter-sidebar {
        background: rgba(255, 250, 240, 0.98);
    }

    html.gbre-theme-light .filter-drawer-toggle,
    html.gbre-theme-light .filter-drawer-close {
        color: var(--color-forest);
        border-color: rgba(218, 198, 134, 0.42);
        background: linear-gradient(135deg, var(--color-gold), var(--color-gold-soft));
    }
}
