@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 .current-menu-item > 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 .current-menu-item > a,
body:not(.home) .site-header .menu a:hover,
body:not(.home) .site-header .menu .current-menu-item > a {
    color: var(--color-forest);
    background: rgba(218, 186, 91, 0.2);
    box-shadow: 0 8px 22px rgba(83, 98, 31, 0.12);
}

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

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

.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);
}

.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)),
        url("../images/hero-gilan.png") center/cover no-repeat;
    transform: scale(1.01);
}

.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;
}

.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 {
    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;
}

.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 {
    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__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--color-forest);
    border-radius: 50%;
    background: rgba(255, 250, 240, 0.92);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.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-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 {
    padding: 136px 0 38px;
    background: linear-gradient(180deg, #30401b, var(--color-cream));
}

.property-hero__grid {
    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;
    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;
    padding: 30px;
    background: var(--color-paper);
}

.property-hero__summary h1 {
    margin: 10px 0;
    color: var(--color-forest);
    font-size: clamp(1.7rem, 3.5vw, 3rem);
    line-height: 1.35;
}

.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;
}

.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;
        padding-left: 42px;
    }

    .menu .menu-item-has-children > a::after {
        position: absolute;
        left: 14px;
        top: 50%;
        width: 24px;
        height: 24px;
        content: "+";
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(83, 98, 31, 0.1);
        transform: translateY(-50%);
        font-weight: 900;
    }

    .menu .menu-item-has-children.is-submenu-open > a::after {
        content: "-";
    }

    .menu a:hover,
    .menu .current-menu-item > 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: static;
    }

    .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;
        padding: 118px 0 42px;
    }

    .hero__inner {
        min-height: 0;
    }

    .hero__content {
        padding-top: 10px;
    }

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

    .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: 0;
    }

    .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;
    }
}
