:root {
  --ink: #17211d;
  --ink-soft: #46524d;
  --muted: #7b8581;
  --paper: #fbfaf6;
  --paper-2: #f3f0e8;
  --white: #ffffff;
  --green: #2A7258;
  --green-deep: #173f32;
  --gold: #c2a86b;
  --gold-soft: #ebe1c5;
  --line: rgba(23, 33, 29, .12);
  --shadow: 0 24px 70px rgba(15, 26, 22, .12);
  --shadow-soft: 0 14px 34px rgba(15, 26, 22, .08);
  --radius: 28px;
  --container: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  text-rendering: geometricPrecision;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.section { padding: 112px 0; }
.section-tight { padding: 72px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}
.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
  font-size: clamp(50px, 8vw, 112px);
}
.h1, h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.02;
  font-size: clamp(42px, 6vw, 76px);
}
.h2, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.08;
  font-size: clamp(34px, 4.2vw, 58px);
}
.h3, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.18;
}
p { margin: 0; color: var(--ink-soft); }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); max-width: 680px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); color: #267055; }
.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 12px 28px rgba(42, 114, 88, .22);
}
.btn-primary:hover { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.btn-secondary {
  background: rgba(255,255,255,.86);
  color: var(--ink);
  border-color: rgba(255,255,255,.75);
  backdrop-filter: blur(16px);
}
.btn-outline { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.4); }
.btn-outline:hover { border-color: var(--green); background: rgba(42, 114, 88, .08); }
.btn-block { width: 100%; }

.form-control, input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(251, 250, 246, .78);
  border-bottom: 1px solid rgba(23, 33, 29, .08);
  backdrop-filter: blur(24px);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}
.brand img { height: 50px; width: auto; object-fit: contain; }
.brand-mark {
  display: none;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(23, 33, 29, .08);
  border-radius: 999px;
  background: rgba(255,255,255,.54);
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links a.active, .nav-links a:hover { background: var(--white); color: var(--ink); box-shadow: 0 8px 20px rgba(15, 26, 22, .06); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 120px 30px 40px;
  background: rgba(23, 63, 50, .96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-menu nav { display: grid; gap: 22px; text-align: center; }
.mobile-menu a { color: #fff; font-family: var(--serif); font-size: 42px; line-height: 1; }
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
body.menu-open .menu-toggle { z-index: 60; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.12); }
body.menu-open .menu-toggle span { background: #373435; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lux-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #0f1b16;
}
.lux-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,27,22,.88) 0%, rgba(15,27,22,.62) 42%, rgba(15,27,22,.22) 100%),
    url("https://landmar.eu/images/home_residential.jpg") center/cover no-repeat;
  transform: scale(1.02);
}
.lux-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--paper), transparent);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: end;
  padding: 86px 0 76px;
  color: #fff;
}
.hero-copy { max-width: 860px; }
.hero-copy .eyebrow { color: var(--gold-soft); }
.hero-copy .display { max-width: 900px; color: #fff; }
.hero-copy .lead { margin-top: 24px; color: rgba(255,255,255,.78); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-panel {
  align-self: end;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(22px);
}
.hero-panel h3 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.hero-panel p { color: rgba(255,255,255,.72); }
.hero-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 0; }
.hero-panel dt { color: rgba(255,255,255,.55); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.hero-panel dd { margin: 3px 0 0; color: #fff; font-family: var(--serif); font-size: 30px; line-height: 1; }

.quick-search-card {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  padding: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.quick-search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr .9fr auto;
  gap: 12px;
  align-items: end;
}
.field label {
  display: block;
  margin: 0 0 8px 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.category-card {
  position: relative;
  min-height: 430px;
  grid-column: span 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ddd;
  box-shadow: var(--shadow-soft);
}
.category-card.large { grid-column: span 6; }
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.74));
  z-index: 1;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .7s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 28px;
  color: #fff;
}
.category-content h3 { color: #fff; margin-bottom: 18px; }
.category-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.category-actions .btn { min-height: 42px; padding: 10px 16px; }

.split-editorial {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}
.editorial-image {
  position: relative;
  min-height: 640px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.editorial-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.editorial-image .floating-note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(310px, calc(100% - 48px));
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}
.floating-note strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 30px; line-height: 1; }
.editorial-copy .lead { margin: 24px 0 28px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { display: inline-flex; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }

.value-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.36);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.value-item { padding: 38px 26px; border-left: 1px solid var(--line); }
.value-item:first-child { border-left: 0; }
.value-item strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--green); }
.value-item span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23,63,50,.94), rgba(23,63,50,.68)),
    url("https://landmar.eu/images/home_contact.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { max-width: 650px; opacity: .78; margin-top: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.page-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  padding: 88px 0;
  color: #fff;
  overflow: hidden;
  background: #14231d;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,27,22,.82), rgba(15,27,22,.34)), var(--hero-image, url("../images/to-buy.webp")) center/cover no-repeat;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 780px; }
.page-hero p { color: rgba(255,255,255,.78); margin-top: 18px; max-width: 680px; }

.about-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 25px;
}
.about-mosaic img { height: 460px; width: 100%; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-soft); }
.about-mosaic img:nth-child(2) { margin-top: 56px; }
.text-columns { columns: 2 320px; column-gap: 64px; margin-top: 28px; }
.text-columns p { break-inside: avoid; margin-bottom: 18px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 34px;
  align-items: start;
}
.surface {
  padding: 32px;
  border: 1px solid rgba(23,33,29,.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,.66);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}
.contact-card { position: sticky; top: 116px; }
.contact-card img { max-width: 210px; margin-bottom: 28px; }
.contact-list { display: grid; gap: 18px; margin: 26px 0 0; }
.contact-list a, .contact-list span { display: block; color: var(--ink-soft); }
.contact-list strong { display: block; color: var(--ink); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; }
#contact-map,
.contact-map-frame {
  width: 100%;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: #eef1ed;
}
.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.properties-shell {
  display: grid;
  grid-template-columns: 318px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.filter-panel { position: sticky; top: 112px; }
.filter-panel .surface { padding: 24px; }
.filter-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filter-form { display: grid; gap: 14px; }
.extra-filters { display: grid; gap: 14px; }
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.results-toolbar h2 { font-size: clamp(32px, 4vw, 54px); }
.results-meta { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.toolbar-actions { display: flex; align-items: center; gap: 10px; }
.toolbar-actions select { min-width: 210px; }
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.property-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(23,33,29,.08);
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease;
  max-height: 520px;
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.property-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.property-card:hover .property-media img { transform: scale(1.05); }
.badge-row { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(14px);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.property-body { padding: 22px; }
.property-body h3 { font-size: 30px; margin-bottom: 8px; }
.property-location { font-size: 13px; color: var(--muted); font-weight: 700; }
.property-price { margin: 16px 0; font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--green); }
.property-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.property-facts span { padding: 7px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.property-actions { display: flex; gap: 10px; }
.property-actions .btn { flex: 1; min-height: 44px; }
.empty-state { grid-column: 1 / -1; padding: 50px; text-align: center; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 34px;
  align-items: start;
}
.gallery-main { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: #ddd; }
.gallery-main img { width: 100%; height: min(68vh, 680px); object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.thumbs img { height: 120px; width: 100%; object-fit: cover; border-radius: 18px; cursor: pointer; opacity: .72; border: 2px solid transparent; transition: opacity .2s ease, border-color .2s ease; }
.thumbs img.active, .thumbs img:hover { opacity: 1; border-color: var(--green); }
.summary-card { position: sticky; top: 112px; }
.detail-price { margin: 20px 0; font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--green); }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.detail-facts div { padding: 14px; border-radius: 18px; background: var(--paper-2); }
.detail-facts strong { display: block; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.detail-body { margin-top: 34px; }
.detail-body p { margin-top: 16px; }

.site-footer {
  padding: 72px 0 34px;
  background: #111b17;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: start;
}
.site-footer h3 { color: #fff; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.68); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.footer-contact { display: grid; gap: 9px; text-align: right; }
.footer-bottom { margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; color: rgba(255,255,255,.48); font-size: 13px; }

.cookie-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  width: min(520px, calc(100% - 40px));
  display: none;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar p { font-size: 13px; line-height: 1.5; }
.cookie-bar .btn { white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1180px) {
  .brand-mark { display: block; }
}
@media (max-width: 1050px) {
  .nav-links, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner, .split-editorial, .contact-layout, .properties-shell, .detail-layout { grid-template-columns: 1fr; }
  .hero-panel, .filter-panel, .contact-card, .summary-card { position: static; }
  .quick-search-form { grid-template-columns: 1fr 1fr; }
  .quick-search-form .btn { grid-column: 1 / -1; }
  .category-card, .category-card.large { grid-column: span 6; }
  .property-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 76px 0; }
  .lux-hero { min-height: auto; }
  .hero-inner { padding: 70px 0 96px; gap: 34px; }
  .quick-search-card { margin-top: -58px; }
  .quick-search-form, .form-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card, .category-card.large { grid-column: auto; min-height: 360px; }
  .editorial-image { min-height: 450px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-item:nth-child(odd) { border-left: 0; }
  .cta-band { padding: 38px 26px; }
  .about-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    align-items: start;
  }
  .about-mosaic img {
    /*height: clamp(220px, 76vw, 320px);*/
    height: 220px;
    margin-top: 0;
    border-radius: 14px;
    margin-bottom: 50px;
  }
  .about-mosaic img:nth-child(2) { margin-top: 28px; }
  .results-toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-actions, .toolbar-actions select { width: 100%; }
  .detail-facts { grid-template-columns: 1fr; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .footer-contact { text-align: left; }
  .cookie-bar { flex-direction: column; align-items: flex-start; }
}

/* v5 client-draft refinements -------------------------------------------------
   Performance pass + closer hero/search proportions from supplied references. */
html { scroll-behavior: auto; }

.site-header {
  padding: 13px 0;
  background: rgba(251, 250, 246, .9);
  backdrop-filter: none;
}
.brand { min-width: auto; }
.brand img { height: 54px; }
.brand-mark { display: none !important; }
.nav-links {
  background: rgba(255,255,255,.64);
  box-shadow: 0 14px 34px rgba(15, 26, 22, .04);
}
.header-actions .btn-outline { background: rgba(255,255,255,.72); }

.lux-hero {
  min-height: calc(100svh - 83px);
}
@supports not (height: 100svh) {
  .lux-hero { min-height: calc(100vh - 83px); }
}
.lux-hero::before { transform: none; }
.hero-inner {
  align-items: center;
  padding: 48px 0 135px;
  gap: 60px;
}
.hero-copy { max-width: 820px; }
.hero-copy .display {
  max-width: 820px;
  font-size: clamp(56px, 7.4vw, 104px);
}
.hero-ctas { margin-top: 32px; }
.hero-panel {
  align-self: center;
  background: rgba(106, 106, 92, .68);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
  backdrop-filter: none;
}
.hero-panel h3 { font-size: 30px; }
.quick-search-card {
  margin-top: -104px;
  max-width: 980px;
  padding: 16px;
  border-radius: 25px;
  background: rgba(255,255,255,.95);
  backdrop-filter: none;
  box-shadow: 0 26px 70px rgba(15,26,22,.14);
}
.quick-search-form {
  grid-template-columns: 1fr 1fr 1.22fr .86fr auto;
  gap: 10px;
}
.quick-search-form .btn { min-width: 112px; }

/* Reduce heavy paint/compositing while keeping the premium look. */
.surface,
.btn-secondary,
.mobile-menu,
.editorial-image .floating-note,
.cookie-bar,
.property-card .badge,
.property-media .badge,
.badge { backdrop-filter: none !important; }
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .42s ease, transform .42s ease;
}
.category-card img,
.property-media img,
.btn,
.property-card { will-change: auto; }

/* Remove the old advisory block gap visually now that the section is gone. */
.value-strip + .section-tight { padding-top: 86px; }

/* Client-facing listings filter based on supplied reference. */
.properties-shell { grid-template-columns: 320px minmax(0, 1fr); }
.filter-panel .surface {
  padding: 26px 24px 28px;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15,26,22,.08);
}
.filter-title { margin-bottom: 14px; }
.filter-title h3 {
  font-size: 40px;
  line-height: 1;
}
.filter-title .btn {
  min-height: 50px;
  padding: 12px 20px;
  background: #fff;
}
.filter-form { gap: 16px; }
.filter-form .field label,
.quick-search-form .field label {
  margin-left: 2px;
  letter-spacing: .16em;
}
.filter-form input,
.filter-form select {
  min-height: 56px;
  border-radius: 18px;
  background: #fff;
}
.filter-form .form-grid { gap: 14px; }
.filter-form .btn-primary {
  margin-top: 2px;
  min-height: 56px;
}
.page-hero p { max-width: 760px; }
.empty-state p { max-width: 520px; margin: 8px auto 0; }

@media (max-width: 1050px) {
  .hero-inner { align-items: end; padding: 70px 0 118px; }
  .hero-panel { align-self: start; }
  .quick-search-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header { padding: 10px 0; }
  .brand img { height: 48px; }
  .lux-hero { min-height: 720px; }
  .hero-inner { padding: 56px 0 120px; }
  .hero-copy .display { font-size: clamp(48px, 15vw, 72px); }
  .quick-search-card { margin-top: -76px; border-radius: 22px; }
  .quick-search-form { grid-template-columns: 1fr; }
  .filter-title h3 { font-size: 36px; }
}

/* v7: restore v4 hero feel + user's shorter top/canvas adjustment -----------
   Keeps the v5 client-facing content/listings changes, but brings back the
   v4 hero glass/bottom-blend behaviour. */
.lux-hero {
  position: relative;
  min-height: calc(100vh - 250px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #0f1b16;
}
@supports (height: 100svh) {
  .lux-hero { min-height: calc(100svh - 250px); }
}
.lux-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,27,22,.88) 0%, rgba(15,27,22,.62) 42%, rgba(15,27,22,.22) 100%),
    url("https://landmar.eu/images/home_residential.jpg") center/cover no-repeat;
  transform: scale(1.02);
}
.lux-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--paper), transparent);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: end;
  padding: 86px 0 76px;
  color: #fff;
}
.hero-copy { max-width: 860px; }
.hero-copy .eyebrow { color: var(--gold-soft); }
.hero-copy .display {
    max-width: 900px;
    color: #fff;
    font-size: clamp(56px, 7.8vw, 80px);
    /* line-height: .95; */
    margin-bottom: 100px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-panel {
  align-self: end;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transform: none;
}
.hero-panel h3 { color: #fff; font-size: 32px; margin-bottom: 16px; line-height: 1.05; }
.hero-panel p { color: rgba(255,255,255,.72); }
.hero-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 0; }
.hero-panel dt { color: rgba(255,255,255,.55); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.hero-panel dd { margin: 3px 0 0; color: #fff; font-family: var(--serif); font-size: 30px; line-height: 1; }
.quick-search-card {
  position: relative;
  z-index: 3;
  margin-top: -42px;
  max-width: var(--container);
  padding: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.quick-search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr .9fr auto;
  gap: 12px;
  align-items: end;
}
.quick-search-form input,
.quick-search-form select {
  min-height: 54px;
  border-radius: 16px;
}
.quick-search-form .btn {
  min-width: auto;
  min-height: 54px;
}

@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    padding: 70px 0 96px;
    gap: 34px;
  }
  .hero-panel { position: static; }
  .quick-search-form { grid-template-columns: 1fr 1fr; }
  .quick-search-form .btn { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .lux-hero { min-height: auto; }
  .hero-inner { padding: 70px 0 96px; gap: 34px; }
  .hero-copy .display { font-size: clamp(48px, 15vw, 72px); }
  .quick-search-card { margin-top: -58px; }
  .quick-search-form { grid-template-columns: 1fr; }
}

/* v8 fixes: mobile listings layout, nav state, and centered mobile CTAs -------- */
.nav-links a.active,
.mobile-menu a.active {
  color: var(--ink);
}
.mobile-menu a.active {
  color: var(--gold-soft);
}

@media (max-width: 1050px) {
  .properties-shell {
    grid-template-columns: 1fr !important;
    gap: 26px;
  }
  .filter-panel,
  .filter-panel .surface {
    position: static !important;
  }
  .filter-panel .surface {
    width: 100%;
  }
  .property-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .hero-inner {
    justify-items: center;
    text-align: center;
  }
  .hero-copy,
  .hero-panel {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    text-align: center;
  }
  .hero-copy .eyebrow {
    justify-content: center;
    text-align: left;
  }
  .hero-copy .display {
    margin-inline: auto;
    margin-bottom: auto;
  }
  .hero-ctas,
  .cta-actions {
    justify-content: center;
  }
  .hero-panel dl {
    text-align: center;
  }
  .hero-panel dt,
  .hero-panel dd {
    text-align: center;
  }
  .cta-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cta-band p {
    margin-left: auto;
    margin-right: auto;
  }
  .filter-panel .surface {
    padding: 24px;
    border-radius: 24px;
  }
  .filter-title {
    gap: 12px;
  }
  .filter-title h3 {
    font-size: 34px;
  }
  .filter-title .btn {
    min-height: 46px;
    padding-inline: 18px;
  }
  .results-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .results-toolbar h2 {
    font-size: 38px;
  }
  .property-actions {
    flex-direction: column;
  }
}

/* Dynamic listing MVP refinements ------------------------------------------ */
.media-card-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 18px;
  /*background: rgba(17, 27, 23, .72);*/
  background: rgb(17 27 23 / 27%);
  color: #fff;
  text-align: left;
  pointer-events: none;
}

.media-card-meta strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.media-card-meta span {
  overflow: hidden;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-body h3 {
  margin-bottom: 16px;
}

.empty-detail-state {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.empty-detail-state p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px auto 24px;
}

@media (max-width: 760px) {
  .media-card-meta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 11px 12px;
  }

  .media-card-meta strong {
    font-size: 23px;
  }
}

/* Launch hardening additions ------------------------------------------------ */
.cookie-bar { gap: 20px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { min-width: 0; }
.cookie-bar .btn-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.cookie-bar a { color: inherit; text-decoration: underline; }
.footer-bottom a { color: inherit; }
.honeypot-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-response { padding: 14px 16px; border-radius: 14px; background: rgba(17,27,23,.07); }
.form-response.success { background: rgba(41,111,72,.12); color: #1d5c39; }
.form-response.error { background: rgba(150,46,46,.12); color: #8c2525; }
button:disabled { cursor: wait; opacity: .65; }
.legal-hero { min-height: 380px; }
.legal-content { max-width: 900px; margin-inline: auto; padding: clamp(28px, 5vw, 60px); }
.legal-content h2 { margin-top: 34px; font-size: clamp(28px, 4vw, 40px); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-top: 12px; line-height: 1.8; }
.legal-note { margin-top: 34px !important; padding: 16px; border-left: 3px solid var(--gold); background: rgba(183,147,84,.08); }
@media (max-width: 760px) {
  .cookie-bar { align-items: stretch; }
  .cookie-actions { width: 100%; flex-direction: column-reverse; }
  .cookie-actions .btn { width: 100%; }
}


/* Listings UX: progressive filters, mobile return action, gallery controls ----- */
.filter-more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 7px 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
  cursor: pointer;
}
.filter-more-toggle:hover { color: var(--green); }
.filter-more-toggle[hidden] { display: none !important; }
.extra-property-filters[hidden] { display: none !important; }
.extra-property-filters { animation: filterReveal .18s ease-out; }
@keyframes filterReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

#property-results { scroll-margin-top: 92px; }
#property-search { scroll-margin-top: 86px; }
.mobile-return-control { display: none; }
.mobile-return-sentinel {
  position: absolute;
  top: 620px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.gallery-main {
  position: relative;
  touch-action: pan-y;
  user-select: none;
}
.gallery-main img { user-select: none; -webkit-user-drag: none; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  background: rgba(17,27,23,.28);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .18s ease, opacity .18s ease;
}
.gallery-arrow:hover { background: rgba(17,27,23,.52); }
.gallery-arrow-prev { left: 16px; }
.gallery-arrow-next { right: 16px; }

@media (max-width: 760px) {
  .mobile-return-control {
    --scroll-progress: 0deg;
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: conic-gradient(var(--green) var(--scroll-progress), rgba(23,33,29,.14) 0);
    color: var(--ink-soft);
    box-shadow: 0 7px 20px rgba(17,27,23,.12);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
    isolation: isolate;
  }
  .mobile-return-control::before {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    border-radius: inherit;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
  }
  .mobile-return-control span {
    display: block;
    transform: translateY(-1px);
  }
  .mobile-return-control.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 30px;
    opacity: .82;
  }
  .gallery-arrow-prev { left: 10px; }
  .gallery-arrow-next { right: 10px; }
}




/*contact v2*/

.contact-page-body {
  background: #f4f0e8;
}

.contact-scene {
  --contact-bg-position: center;

  position: relative;
  isolation: isolate;
  overflow: visible;
  min-height: calc(100svh - 84px);
  padding: 50px;
  background-image:
    linear-gradient(90deg, rgba(12, 24, 20, .68), rgba(12, 24, 20, .28) 46%, rgba(12, 24, 20, .58)),
    url("../images/to-buy.webp");
  background-size: cover;
  background-position: var(--contact-bg-position);
}

.contact-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.20), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}

.contact-title {
  margin-bottom: clamp(24px, 4vw, 38px);
}

.contact-title h1 {
  margin: 0;
  max-width: 980px;
  color: #fffaf0;
  font-family: var(--serif);
  font-size: clamp(46px, 7.4vw, 82px);
  font-weight: 600;
  line-height: .93;
  letter-spacing: -.035em;
  text-shadow: 0 10px 38px rgba(0,0,0,.36);
}

.contact-scene .contact-layout {
  margin-top: 0;
}

.contact-page-card {
  background: rgb(255 255 255 / 66%);
}

.contact-form-lead {
  margin: 16px 0 28px;
}

.contact-map-panel {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(260px, .52fr) minmax(0, 1fr);
  min-height: 250px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.50);
  box-shadow: 0 32px 90px rgba(10, 22, 18, 0.30);
  overflow: hidden;
}

.contact-map-copy {
  padding: clamp(26px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.38);
}

.contact-map-copy .eyebrow {
  margin-bottom: 16px;
}

.contact-map-copy h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}

.contact-map-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-map-copy a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 114, 88, .35);
}

.contact-map-copy a:hover {
  border-bottom-color: currentColor;
}

.contact-map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
  filter: grayscale(.12) contrast(.95) brightness(1.02);
}

@media (max-width: 900px) {
  .contact-scene {
    padding: 34px 18px 56px;
  }

  .contact-map-panel {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .contact-map-panel iframe {
    min-height: 280px;
  }
}

@media (max-width: 520px) {
  .contact-title h1 {
    font-size: clamp(42px, 12.8vw, 58px);
  }
}




/*about v2*/
.about-page-section {
  padding-top: 0;
}

.about-divider-text {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 86px);
  max-width: 1180px;
  margin-top: clamp(28px, 4vw, 46px);
  padding-top: clamp(8px, 1vw, 14px);
  column-count: initial;
}

.about-divider-text::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(42, 114, 88, .18) 10%,
    rgba(185, 151, 91, .72) 48%,
    rgba(42, 114, 88, .18) 90%,
    transparent
  );
}

.about-divider-text::after {
  content: "45 years";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  padding: 8px 14px;
  border-radius: 999px;
  background: #f7f2ea;
  border: 1px solid rgba(185, 151, 91, .32);
  color: rgba(42, 114, 88, .72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(39, 31, 22, .08);
}

.about-divider-column {
  min-width: 0;
}

.about-divider-column p {
  position: relative;
  margin: 0;
  color: #4d453d;
  font-size: 16px;
  line-height: 1.9;
}

.about-divider-column p + p {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(39, 31, 22, .08);
}

.about-divider-column:first-child p:first-child {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.82;
  color: var(--ink);
}

.about-divider-column:first-child p:first-child::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  font-family: var(--serif);
  font-size: 4.7em;
  line-height: .78;
  color: var(--forest);
}

.about-divider-column strong {
  color: var(--ink);
  font-weight: 700;
}

.btn-outline-on-dark {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}

.btn-outline-on-dark:hover {
  color: #fff;
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.08);
}

@media (max-width: 860px) {
  .about-divider-text {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-divider-text::before,
  .about-divider-text::after {
    display: none;
  }

  .about-divider-column + .about-divider-column {
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid rgba(185, 151, 91, .32);
  }
}



/*footer additions*/
.site-footer .footer-links a:hover,
.site-footer .footer-contact a:hover,
.site-footer .footer-bottom a:hover {
  color: #fff;
}



/* Legal and 404 page additions -------------------------------------------- */
.legal-page-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(185, 151, 91, .10), transparent 34%),
    linear-gradient(180deg, #f7f2ea 0%, #efe7dc 100%);
}

.legal-content {
  max-width: 920px;
}

.legal-content .legal-updated {
  margin-top: 0;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-content a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 114, 88, .28);
}

.legal-content a:hover {
  border-bottom-color: currentColor;
}

.not-found-section {
  min-height: calc(100svh - 84px);
  display: grid;
  align-items: center;
  padding: clamp(76px, 10vw, 150px) 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(185, 151, 91, .16), transparent 28%),
    linear-gradient(135deg, #f7f2ea 0%, #efe7dc 48%, #e4d8c8 100%);
}

.not-found-wrap {
  max-width: 760px;
}

.not-found-wrap h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 104px);
  line-height: .92;
  letter-spacing: -.045em;
  color: var(--ink);
}

.not-found-wrap > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.not-found-actions {
  margin-top: 34px;
}

@media (max-width: 640px) {
  .not-found-actions {
    flex-direction: column;
  }

  .not-found-actions .btn {
    width: 100%;
  }
}

