:root {
  --ink: #14201a;
  --green: #17382b;
  --deep: #101e18;
  --gold: #dfc080;
  --muted: #54635a;
  --paper: #faf9f4;
  --line: #dedfd4;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid #977238; outline-offset: 4px; }
.container { width: min(100% - 80px, 1264px); margin-inline: auto; }
.brand-link { display: inline-block; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; vertical-align: middle; }
.wordmark img { flex: none; display: block; }
.wordmark-text { display: grid; gap: 2px; line-height: 1; }
.wordmark strong { font-family: var(--serif); font-size: 1.44rem; font-weight: 600; }
.wordmark small { font-size: .63rem; font-weight: 700; letter-spacing: .28em; }
.topbar { color: #e1e8df; background: var(--deep); font-size: .76rem; }
.topbar-inner { display: flex; min-height: 35px; align-items: center; gap: 22px; }
.topbar-inner span:first-child { margin-right: auto; }
.topbar a:hover, .site-footer a:hover { color: var(--gold); }
.site-header { position: relative; z-index: 5; background: var(--paper); }
.nav-row { display: flex; min-height: 82px; justify-content: space-between; align-items: center; gap: 28px; }
.site-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 45px); font-size: .9rem; font-weight: 600; }
.site-menu a { white-space: nowrap; }
.site-menu a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px;
  border: 1px solid transparent; border-radius: 6px; padding: 0 19px; font-weight: 700; font-size: .88rem;
  white-space: nowrap; text-align: center; transition: background .18s, border-color .18s, color .18s;
}
.button-outline { color: var(--green); border-color: #b5bcb1; background: transparent; }
.button-outline:hover { background: #e8ede3; border-color: #859b86; }
.button-gold { background: var(--gold); color: #14231a; }
.button-gold:hover { background: #f0d49a; }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: #24523d; }
.hero { position: relative; isolation: isolate; background: var(--deep); color: var(--paper); overflow: hidden; }
.hero-image { position: absolute; z-index: -1; inset: 0 0 0 34%; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep), rgba(16,30,24,.58) 20%, rgba(16,30,24,.08) 58%, transparent), linear-gradient(0deg,rgba(16,30,24,.2),transparent 60%); }
.hero-inner { min-height: clamp(440px, 39vw, 600px); display: flex; align-items: center; }
.hero-copy { width: min(590px, 60%); padding-block: 65px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 15px; color: #735629; font-size: .72rem; font-weight: 700; letter-spacing: .17em; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.hero .eyebrow, .about .eyebrow { color: var(--gold); }
.hero h1 { margin: 0; font: 500 clamp(3.2rem, 5.4vw, 5.55rem)/1.02 var(--serif); letter-spacing: -.045em; }
.hero h1 em { color: #e5c78b; font-weight: 500; }
.hero-description { max-width: 420px; color: #e2e8df; line-height: 1.67; font-size: 1.02rem; margin: 21px 0 28px; }
.quick-links { background: #f0eee4; border-bottom: 1px solid #dfded1; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 23px; border-right: 1px solid #dedbcf; }
.quick-grid a:first-child { border-left: 1px solid #dedbcf; }
.quick-grid a:hover { background: #e5e8da; }
.quick-grid a > span:first-child { display: grid; gap: 4px; }
.quick-grid strong { font-size: 1.01rem; color: var(--green); }
.quick-grid small { font-size: .78rem; color: var(--muted); }
.quick-grid a > span:last-child { flex: none; color: #755927; font-size: 1.12rem; }
.section { padding-block: 76px; scroll-margin-top: 16px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section h2 { margin: 0; font: 500 clamp(2.2rem, 3.7vw, 3.7rem)/1.08 var(--serif); letter-spacing: -.035em; }
.text-link { color: var(--green); font-size: .88rem; font-weight: 700; }
.search-form { background: white; border: 1px solid var(--line); border-radius: 9px; padding: 17px 20px; box-shadow: 0 5px 20px #14201a06; }
.search-main { display: grid; align-items: end; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 13px; }
.search-form label { display: grid; gap: 7px; color: var(--green); font-size: .78rem; font-weight: 700; }
.search-form input, .search-form select {
  width: 100%; min-width: 0; min-height: 44px; padding: 0 10px; border: 1px solid #d9ded4;
  border-radius: 5px; background: #fcfcfa; color: var(--ink); font-weight: 500; font-size: .9rem;
}
.search-form input::placeholder { color: var(--muted); }
.search-main .button { min-height: 44px; }
.search-secondary { display: flex; align-items: start; gap: 20px; margin-top: 12px; }
.search-secondary details { flex: 1; min-width: 0; }
.search-secondary summary { width: fit-content; padding-block: 9px; color: var(--green); font-weight: 700; font-size: .83rem; }
.more-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 8px 0 5px; }
.search-secondary .sort-label { display: flex; align-items: center; gap: 9px; }
.sort-label select { min-height: 34px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; color: var(--muted); font-size: .87rem; }
.results-bar p { margin: 0; }
.empty-state { padding: 37px 20px; text-align: center; border: 1px dashed #bec7b7; border-radius: 8px; background: #f1f3eb; }
.empty-state h3 { margin: 0; font: 600 1.52rem var(--serif); }
.empty-state p { color: var(--muted); margin: 10px 0 20px; }
.empty-state .button { min-height: 42px; }
.property-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.property-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 9px; transition: box-shadow .2s; }
.property-card:hover { box-shadow: 0 10px 30px #14201a14; }
.property-card a { display: flex; height: 100%; flex-direction: column; }
.property-card a:focus-visible { outline-offset: -3px; }
.property-photo { position: relative; aspect-ratio: 8/5; overflow: hidden; background: #e7e9df; }
.property-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-status, .property-featured { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; padding: 6px 11px; font-size: .75rem; font-weight: 700; border-radius: 4px; }
.property-featured { left: auto; right: 12px; background: var(--gold); color: var(--ink); }
.property-copy { display: flex; flex: 1; flex-direction: column; padding: 16px 19px 18px; }
.property-copy h3 { margin: 5px 0 0; font-size: 1.08rem; line-height: 1.35; overflow-wrap: anywhere; }
.property-location, .property-specs { margin: 0; color: var(--muted); font-size: .83rem; }
.property-specs { margin-block: 8px 15px; }
.property-price { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); color: var(--green); }
.pagination { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 24px; font-size: .86rem; }
.regions { background: #eeefe6; border-top: 1px solid #e6e7dd; }
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.region-grid article { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 25px; }
.region-grid h3 { margin: 0; font: 600 1.7rem/1.15 var(--serif); }
.region-grid p { color: var(--muted); line-height: 1.6; margin: 11px 0 16px; }
.region-links { display: flex; gap: 7px; flex-wrap: wrap; }
.region-links a { padding: 5px 10px; border: 1px solid #bfc7b6; border-radius: 4px; color: var(--green); font-size: .82rem; font-weight: 600; }
.region-links a:hover { background: #e5ecdc; }
.about { background: var(--green); color: #fff; }
.about-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.about-inner p:last-child { max-width: 660px; line-height: 1.65; color: #e3e9de; margin: 15px 0 0; white-space: pre-line; }
.site-footer { background: var(--deep); color: #dae2d7; padding-block: 50px 0; font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.27fr 1fr .84fr; gap: 30px; padding-bottom: 35px; }
.footer-grid .wordmark { color: #fff; }
.footer-grid p, .footer-grid address { margin: 11px 0; color: #bdcbbf; line-height: 1.6; font-style: normal; max-width: 275px; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: .92rem; font-weight: 700; }
.footer-grid a:not(.brand-link) { display: block; width: fit-content; padding-block: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding-block: 15px; border-top: 1px solid #ffffff22; color: #bdcbbf; }
.badge-satilik { background: #17382b; }
.badge-kiralik { background: #735629; }
.detail-shell { min-height: 50vh; }
.detail-gallery-main { aspect-ratio: 4/3; }
.detail-thumb { aspect-ratio: 4/3; }
.detail-spec-grid > div:nth-child(odd) { background: #fafaf7; }
.detail-contact-card { border-top: 4px solid #17382b; }
.admin-login .wordmark img { width: 52px; height: 52px; }

@media (max-width: 900px) {
  .container { width: calc(100% - 40px); }
  .nav-row { gap: 17px; }
  .site-menu { gap: 16px; font-size: .81rem; }
  .nav-contact { min-height: 41px; font-size: .8rem; padding: 0 10px; gap: 6px; }
  .hero h1 { font-size: clamp(3rem, 6.3vw, 4.8rem); }
  .more-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .nav-row { min-height: 68px; }
  .topbar-email, .nav-contact { display: none; }
  .menu-toggle { display: inline-flex; gap: 9px; align-items: center; background: transparent; color: var(--green); border: 1px solid #b5bcb1; border-radius: 5px; padding: 8px 10px; font-size: .82rem; font-weight: 700; }
  .site-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 12px 18px #0c1e182a; padding: 12px 16px; }
  .site-menu.is-open { display: grid; gap: 0; }
  .site-menu a { padding: 11px 8px; }
  .hero-image { inset: 0; }
  .hero-image img { object-position: 56% center; }
  .hero-image::after { background: linear-gradient(90deg, #102019ec, #10201978), linear-gradient(0deg, #102019a8, transparent); }
  .hero-inner { min-height: 440px; }
  .hero-copy { width: 100%; padding-block: 57px; }
  .hero h1 { font-size: clamp(2.65rem, 9.2vw, 4rem); }
  .hero-description { font-size: .96rem; max-width: 340px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid a { padding: 13px 12px; }
  .quick-grid a:nth-child(3) { border-left: 1px solid #dedbcf; }
  .quick-grid a:nth-child(-n+2) { border-bottom: 1px solid #dedbcf; }
  .section { padding-block: 51px; }
  .section-heading, .about-inner { align-items: start; flex-direction: column; gap: 15px; }
  .search-form { padding: 13px; }
  .search-main { grid-template-columns: 1fr 1fr; }
  .search-main label:first-child, .search-main button { grid-column: 1 / -1; }
  .search-secondary { flex-direction: column; gap: 5px; }
  .search-secondary details { width: 100%; }
  .property-grid, .region-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 24px 15px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .pagination { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
.admin-chart { display: flex; justify-content: space-between; gap: 5px; height: 155px; }
.admin-chart-day { flex: 1; display: flex; flex-direction: column; justify-content: end; min-width: 0; text-align: center; color: var(--muted); font-size: .72rem; }
.admin-chart-track { display: flex; flex: 1; align-items: end; background: #eef1e9; border-radius: 4px 4px 0 0; }
.admin-chart-track span { width: 100%; background: #3c6b51; border-radius: 4px 4px 0 0; }
.admin-chart-day small { margin-top: 4px; }
