:root {
  --bg: #f6f4ee;
  --paper: #ffffff;
  --ink: #17201b;
  --muted: #65706a;
  --line: #ddd7cb;
  --accent: #b88447;
  --accent-dark: #6f4826;
  --green: #24483a;
  --shadow: 0 24px 70px rgba(30, 38, 32, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(246, 244, 238, 0.92);
  border-bottom: 1px solid rgba(221, 215, 203, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  width: clamp(250px, 30vw, 430px);
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  gap: 26px;
  color: #354139;
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 75px);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
  overflow: hidden;
  padding: clamp(34px, 7vw, 92px) clamp(18px, 5vw, 76px);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 32, 27, 0.76), rgba(23, 32, 27, 0.42) 42%, rgba(246, 244, 238, 0.06)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.hero-content,
.search-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 730px;
  color: #fff;
  padding-bottom: 92px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 500;
  line-height: 1;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.hero .seo-lead {
  margin-top: 14px;
  font-size: 16px;
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.dark-button,
.ghost-button,
.text-button,
.icon-button {
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button,
.dark-button {
  background: var(--green);
  color: #fff;
}

.primary-button,
.secondary-button,
.dark-button,
.ghost-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.secondary-button {
  background: #fff;
  color: var(--green);
}

.ghost-button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.text-button {
  background: transparent;
  color: var(--accent-dark);
  padding: 8px 0;
}

.icon-button {
  width: 40px;
  height: 40px;
  background: #f0ece2;
}

.primary-button:hover,
.secondary-button:hover,
.dark-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(23, 32, 27, 0.16);
}

.search-panel {
  align-self: end;
  display: grid;
  gap: 14px;
  width: min(100%, 430px);
  margin-left: auto;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #39443d;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.featured-section,
.listings-section,
.about-section,
.valuation-strip,
.services-section,
.process-section,
.tour-section,
.seller-section,
.advertise-section,
.buyer-section,
.urgent-section,
.market-section,
.local-seo-section,
.checklist-section,
.faq-section,
.contact-section {
  padding: clamp(54px, 8vw, 98px) clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.valuation-strip h2,
.tour-copy h2,
.advertise-copy h2,
.buyer-copy h2,
.market-section h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
}

.section-heading p,
.valuation-strip p,
.tour-copy p,
.advertise-copy p,
.buyer-copy p,
.market-section p,
.about-copy p,
.contact-section p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.row-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

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

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

.property-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.property-card.featured {
  display: grid;
  grid-template-columns: minmax(220px, 0.94fr) minmax(0, 1fr);
}

.property-card.selected-share {
  outline: 3px solid var(--accent);
  box-shadow: 0 18px 44px rgba(184, 132, 71, 0.24);
}

.property-image {
  position: relative;
  min-height: 220px;
  background: #d7d0c2 center/cover;
}

.property-card.featured .property-image {
  min-height: 315px;
}

.flag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.new-flag {
  top: 54px;
  background: #fff;
  color: var(--green);
}

.status-flag {
  right: 14px;
  left: auto;
  background: rgba(23, 32, 27, 0.88);
}

.status-flag.reserved {
  background: #b88447;
}

.status-flag.sold {
  background: #5d5d5d;
}

.property-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.property-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-meta span {
  padding: 7px 9px;
  background: #f0ece2;
  border-radius: 6px;
  color: #465148;
  font-size: 13px;
  font-weight: 800;
}

.price {
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.description {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.callout-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 24px rgba(111, 72, 38, 0.22);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.share-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.share-button {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.share-page {
  min-height: 100vh;
  background: var(--bg);
}

.share-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
}

.share-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 0.88fr);
  overflow: hidden;
  width: min(100%, 1040px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.share-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  background: #ddd;
}

.share-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 5vw, 54px);
}

.share-copy span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.share-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.05;
}

.share-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.share-copy strong {
  color: var(--green);
  font-size: 30px;
  font-weight: 900;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.valuation-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.valuation-strip div {
  max-width: 780px;
}

.valuation-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}


.services-section {
  background: #efe9dc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.services-grid article {
  min-height: 245px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.services-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.services-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.services-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.seller-section {
  background: #fff;
}

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

.seller-grid article {
  min-height: 190px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.seller-grid h3 {
  margin: 0;
  font-size: 22px;
}

.seller-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.advertise-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  background: var(--green);
  color: #fff;
}

.advertise-copy {
  max-width: 780px;
}

.advertise-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.advertise-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.advertise-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.advertise-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.advertise-panel .primary-button {
  background: #fff;
  color: var(--green);
}

.link-upload-callout {
  display: grid;
  gap: 6px;
  max-width: 700px;
  margin: 22px 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.link-upload-callout strong {
  font-size: 20px;
}

.link-upload-callout span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.link-helper {
  margin: 14px 0 0;
  padding: 14px;
  background: #f0ece2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.buyer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  background: #fff;
}

.buyer-panel {
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.urgent-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  background: #efe9dc;
}

.urgent-section h2,
.local-seo-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
}

.urgent-section p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.urgent-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.urgent-panel strong {
  font-size: 21px;
}

.urgent-panel span {
  color: var(--muted);
  line-height: 1.55;
}

.buyer-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.buyer-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.tour-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(23, 32, 27, 0.9), rgba(36, 72, 58, 0.82)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1600&q=82") center/cover;
  color: #fff;
}

.tour-copy {
  max-width: 760px;
}

.tour-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.tour-points {
  display: grid;
  gap: 10px;
}

.tour-points span {
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-weight: 900;
}

.tour-section .primary-button {
  justify-self: start;
  background: #fff;
  color: var(--green);
}

.tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.market-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  background: #fff;
}

.market-notes {
  display: grid;
  gap: 12px;
}

.market-notes span {
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
  font-weight: 900;
}

.local-seo-section {
  background: #fff;
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.local-grid article {
  min-height: 180px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.local-grid h3 {
  margin: 0;
  font-size: 22px;
}

.local-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.checklist-section {
  background: #efe9dc;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.checklist-grid label {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 15px;
}

.checklist-grid input {
  width: 18px;
  min-height: 18px;
}

.process-section {
  background: var(--green);
  color: #fff;
}

.process-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list strong {
  font-size: 18px;
}

.process-list span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(24px, 6vw, 80px);
  background: #fff;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.service-list span {
  min-height: 84px;
  padding: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.faq-section {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.cost-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.cost-split article {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cost-split h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.cost-split ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.commission-box {
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: #fff8ed;
  border: 1px solid rgba(184, 132, 71, 0.38);
  border-radius: var(--radius);
}

.commission-box strong {
  color: var(--accent-dark);
  font-size: 20px;
}

.commission-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq-list details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--green);
  color: #fff;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  min-width: min(100%, 360px);
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.contact-card a,
.contact-card span,
.contact-card button {
  font-weight: 800;
}

.contact-card button {
  justify-self: start;
  min-height: auto;
  padding: 0;
  color: #fff;
}

.empty-state {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.admin-dialog,
.submit-dialog,
.buyer-dialog,
.privacy-dialog {
  width: min(1080px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-dialog::backdrop,
.submit-dialog::backdrop,
.buyer-dialog::backdrop,
.privacy-dialog::backdrop {
  background: rgba(16, 22, 19, 0.55);
}

.admin-shell,
.submit-shell {
  padding: 24px;
  background: var(--bg);
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.admin-head p,
.hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.login-panel,
.property-form,
.submit-form,
.admin-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.submit-dialog,
.buyer-dialog,
.privacy-dialog {
  width: min(900px, calc(100vw - 24px));
}

.admin-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
}

.admin-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

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

.form-action {
  align-self: end;
}

.wide-label,
.check-row {
  margin-top: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.privacy-row {
  align-items: flex-start;
  padding: 14px;
  background: #f0ece2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.privacy-row input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.admin-list {
  display: grid;
  align-content: start;
  gap: 12px;
  max-height: 620px;
  overflow: auto;
}

.admin-list h3 {
  margin: 0;
  font-size: 20px;
}

#adminList,
#submissionList,
#buyerRequestList {
  display: grid;
  gap: 12px;
}

.export-list {
  max-height: none;
}

.export-actions {
  display: grid;
  gap: 8px;
}

.export-actions button,
.export-actions a,
.import-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.export-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 13px;
}

.import-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 13px;
  text-align: center;
}

.import-button input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.image-preview {
  display: block;
  width: min(100%, 340px);
  max-height: 210px;
  margin-top: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.media-preview-item {
  overflow: hidden;
  background: #f6f4ee;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-preview-item img,
.media-preview-item video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ddd;
}

.media-preview-item span {
  display: block;
  padding: 7px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.privacy-copy {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.privacy-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-thumb {
  width: 72px;
  height: 62px;
  background: #ddd center/cover;
  border-radius: 6px;
}

.admin-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.admin-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mini-actions button,
.mini-actions a {
  display: inline-flex;
  align-items: center;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.addon-box,
.commission-note,
.submission-item {
  margin-top: 14px;
  padding: 16px;
  background: #f6f4ee;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.addon-box strong {
  display: block;
  margin-bottom: 10px;
}

.commission-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.submission-item {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.submission-item h3,
.submission-item p {
  margin: 0;
}

.submission-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.submission-item.has-match {
  border-color: var(--accent);
  background: #fff8ed;
}

.match-note {
  color: var(--accent-dark) !important;
  font-weight: 900;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.floating-contact a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  font-weight: 900;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 88px;
  left: 18px;
  z-index: 21;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

@media (max-width: 940px) {
  .main-nav {
    display: none;
  }

  .hero,
  .valuation-strip,
  .tour-section,
  .advertise-section,
  .buyer-section,
  .urgent-section,
  .market-section,
  .about-section,
  .share-card,
  .admin-content {
    grid-template-columns: 1fr;
  }

  .valuation-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .search-panel {
    margin-left: 0;
  }

  .listing-grid,
  .featured-grid,
  .services-grid,
  .seller-grid,
  .local-grid,
  .checklist-grid,
  .cost-split {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .property-card.featured {
    grid-template-columns: 1fr;
  }

  .contact-section {
    align-items: stretch;
    flex-direction: column;
  }

  .share-card img {
    min-height: 280px;
  }

  .floating-contact {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .floating-contact a {
    flex: 1;
  }

  .cookie-banner {
    bottom: 76px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .ghost-button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 205px;
    height: 48px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .form-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .row-heading {
    align-items: start;
    flex-direction: column;
  }
}
