:root {
  --paper: #f7f1e4;
  --surface: #fffaf0;
  --ink: #0f1010;
  --muted: #625b50;
  --pine: #0f1010;
  --pine-dark: #060605;
  --moss: #8d6527;
  --terracotta: #d27e10;
  --terracotta-dark: #9a5607;
  --marigold: #f0b64a;
  --mist: #efe2c9;
  --line: #d8bf8d;
  --shadow: 0 22px 60px rgba(15, 16, 16, 0.16);
  --soft-shadow: 0 14px 36px rgba(15, 16, 16, 0.11);
  --lift-shadow: 0 26px 70px rgba(15, 16, 16, 0.22);
  --radius: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 42%, #efe2c9 100%),
    var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

svg {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}

.skip-nav {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  transition: transform 180ms var(--ease);
}

.skip-nav:focus {
  transform: translateY(0);
}

.page-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(15, 16, 16, 0.035), rgba(15, 16, 16, 0.035) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(0deg, rgba(210, 126, 16, 0.035), rgba(210, 126, 16, 0.035) 1px, transparent 1px, transparent 10px);
  opacity: 0.62;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 16, 16, 0.92);
  border-bottom: 1px solid rgba(210, 126, 16, 0.42);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.site-header.scrolled {
  background: rgba(6, 6, 5, 0.96);
  box-shadow: 0 12px 32px rgba(6, 6, 5, 0.28);
}

.header-inner,
.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.site-header .brand {
  min-width: 0;
}

.site-header .brand span:last-child {
  min-width: 0;
}

.site-header .brand strong,
.site-header .brand small {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(240, 182, 74, 0.42);
  background: #000;
  box-shadow: 0 10px 24px rgba(6, 6, 5, 0.28);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.12);
  transform-origin: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 800;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
}

.site-header .brand strong {
  color: #fffaf0;
}

.site-header .brand small {
  color: var(--marigold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  border-radius: var(--radius);
  color: #f7f1e4;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 12px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(210, 126, 16, 0.16);
  color: var(--marigold);
  outline: none;
}

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

.header-phone,
.header-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--pine);
  font-weight: 800;
  padding: 9px 12px;
  box-shadow: 0 8px 20px rgba(6, 6, 5, 0.16);
}

.header-social {
  border-color: rgba(210, 126, 16, 0.74);
  background: linear-gradient(135deg, #f0b64a, #d27e10);
  color: var(--pine-dark);
}

.icon-button {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--pine);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: block;
  padding: 122px 0 38px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 6, 5, 0.94) 0%, rgba(15, 16, 16, 0.72) 48%, rgba(15, 16, 16, 0.28) 100%),
    linear-gradient(0deg, rgba(6, 6, 5, 0.62), rgba(6, 6, 5, 0.12)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(135deg, rgba(210, 126, 16, 0.12), rgba(210, 126, 16, 0.12) 1px, transparent 1px, transparent 18px);
  mask-image: linear-gradient(90deg, black, transparent 65%);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(84vh - 260px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  gap: 56px;
  align-items: end;
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  font-weight: 800;
}

.hero .eyebrow {
  color: var(--marigold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 4.6rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.9rem;
}

h3 {
  font-size: 1.35rem;
}

.hero-lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-showcase {
  justify-self: end;
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(210, 126, 16, 0.36);
  border-radius: var(--radius);
  background: rgba(15, 16, 16, 0.72);
  box-shadow: 0 30px 90px rgba(4, 20, 15, 0.34);
  backdrop-filter: blur(16px);
}

.showcase-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.showcase-photo img {
  transition: transform 900ms var(--ease);
}

.hero-showcase:hover .showcase-photo img {
  transform: scale(1.04);
}

.showcase-photo span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: var(--radius);
  background: rgba(240, 182, 74, 0.94);
  color: var(--pine-dark);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 7px 10px;
}

.showcase-info {
  padding: 22px;
}

.showcase-kicker {
  margin-bottom: 7px;
  color: var(--marigold);
  font-size: 0.86rem;
  font-weight: 900;
}

.showcase-info h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.62rem;
}

.showcase-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.showcase-row span {
  border: 1px solid rgba(210, 126, 16, 0.36);
  border-radius: var(--radius);
  background: rgba(210, 126, 16, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 9px;
}

.showcase-info a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 11px 16px;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--terracotta);
  color: var(--pine-dark);
  box-shadow: 0 12px 28px rgba(210, 126, 16, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--terracotta-dark);
  color: #fff;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button-soft {
  border-color: var(--line);
  background: var(--mist);
  color: var(--pine);
}

.button-card {
  width: 100%;
  border-color: var(--line);
  background: var(--pine);
  color: #fff;
}

.button-card:hover,
.button-card:focus-visible {
  background: var(--pine-dark);
}

.button-gallery {
  color: var(--pine);
}

.full-button {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 0;
  width: fit-content;
  margin: 0;
  border: 1px solid rgba(210, 126, 16, 0.28);
  border-radius: var(--radius);
  background: rgba(6, 6, 5, 0.52);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-stats div {
  padding: 16px 18px;
}

.hero-stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats dt {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.search-dock {
  width: min(1180px, calc(100% - 40px));
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(140px, 0.7fr) minmax(150px, 0.7fr) minmax(210px, 0.92fr) auto;
  gap: 14px;
  align-items: end;
  border: 1px solid rgba(210, 126, 16, 0.62);
  border-radius: var(--radius);
  background: rgba(15, 16, 16, 0.92);
  color: #fffaf0;
  padding: 18px;
  box-shadow: 0 30px 90px rgba(4, 20, 15, 0.2);
  backdrop-filter: blur(18px);
}

.field {
  min-width: 0;
}

.field label {
  display: block;
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.search-dock .field label {
  color: #f7e1af;
}

.input-icon {
  position: relative;
}

.input-icon svg {
  position: absolute;
  left: 13px;
  top: 50%;
  color: var(--muted);
  transform: translateY(-50%);
}

.input-icon input {
  padding-left: 42px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  color: var(--ink);
  min-height: 48px;
  padding: 11px 12px;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(210, 126, 16, 0.2);
  outline: none;
}

.search-actions {
  display: flex;
  gap: 8px;
}

.section {
  padding: 86px 0;
  scroll-margin-top: 96px;
}

.intro-strip {
  padding: 26px 0;
  background:
    linear-gradient(90deg, var(--pine-dark), #151515 58%, var(--pine));
  color: #fff;
}

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

.strip-grid div {
  display: grid;
  gap: 4px;
  min-height: 100%;
  border-left: 3px solid var(--marigold);
  padding: 3px 0 3px 14px;
}

.strip-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

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

.section-heading.narrow {
  max-width: 660px;
}

.section-heading p:not(.eyebrow),
.region-copy p,
.testimonial-heading p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.06rem;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.filter-chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--pine);
  font-weight: 800;
  padding: 9px 13px;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.filter-chip.active,
.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--terracotta);
  background: var(--pine);
  color: var(--marigold);
  outline: none;
}

.toolbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-left: auto;
  color: var(--terracotta-dark);
  font-weight: 800;
}

.listing-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

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

.property-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(247, 241, 228, 0.98));
  box-shadow: 0 1px 0 rgba(15, 16, 16, 0.04), 0 18px 50px rgba(15, 16, 16, 0.08);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.property-card:hover,
.property-card:focus-within {
  border-color: rgba(210, 126, 16, 0.62);
  box-shadow: var(--lift-shadow);
  transform: translateY(-4px);
}

.property-card-featured {
  grid-column: span 2;
}

.property-card-featured .property-media {
  aspect-ratio: 16 / 9;
}

.property-card-featured .property-body {
  padding: 22px;
}

.property-card-featured .property-body h3 {
  font-size: 1.72rem;
}

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

.property-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--mist);
}

.property-media img {
  cursor: pointer;
  object-position: center;
}

.property-media img.image-focus-top {
  object-position: center 28%;
}

.property-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: var(--radius);
  background: rgba(15, 16, 16, 0.92);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 6px 9px;
}

.property-tag.premium {
  background: rgba(240, 182, 74, 0.96);
  color: #1d170b;
}

.property-media-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 24px);
  border: 1px solid rgba(240, 182, 74, 0.34);
  border-radius: var(--radius);
  background: rgba(15, 16, 16, 0.84);
  color: #fffaf0;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 9px;
  backdrop-filter: blur(10px);
}

.property-media-action {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid rgba(240, 182, 74, 0.46);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.94);
  color: var(--pine);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 10px;
  box-shadow: 0 12px 28px rgba(6, 6, 5, 0.18);
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.property-media-action:hover,
.property-media-action:focus-visible {
  background: var(--marigold);
  color: var(--pine-dark);
  outline: none;
  transform: translateY(-2px);
}

.property-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.property-card-real .property-body {
  padding: 20px;
}

.property-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.property-code {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 3px 7px;
}

.property-kind {
  border-radius: var(--radius);
  background: rgba(210, 126, 16, 0.12);
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 8px;
  text-align: right;
}

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

.property-location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.property-location svg {
  margin-top: 3px;
  color: var(--terracotta);
}

.property-summary {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.property-price {
  margin-bottom: 14px;
  color: var(--pine);
  font-size: 1.32rem;
  font-weight: 900;
}

.price-consult {
  color: var(--terracotta-dark);
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.property-specs li {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #2b261d;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px;
  text-align: center;
}

.property-specs svg {
  color: var(--moss);
}

.property-points {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  color: #2b261d;
  font-size: 0.9rem;
  font-weight: 700;
  list-style: none;
}

.property-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.property-points svg {
  margin-top: 4px;
  color: var(--terracotta);
}

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

.property-thumb {
  min-width: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
}

.property-thumb:hover,
.property-thumb:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.property-thumb img {
  aspect-ratio: 4 / 3;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  object-fit: cover;
}

.property-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.75fr) minmax(160px, 1fr);
  gap: 10px;
  margin-top: auto;
}

.property-actions .button {
  width: 100%;
  min-width: 0;
}

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

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.property-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 5, 0.78);
  backdrop-filter: blur(8px);
}

.property-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  width: min(1120px, 100%);
  max-height: min(92vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(240, 182, 74, 0.36);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.modal-close,
.modal-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 182, 74, 0.42);
  border-radius: var(--radius);
  background: rgba(15, 16, 16, 0.88);
  color: #fffaf0;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.modal-close:hover,
.modal-close:focus-visible,
.modal-nav:hover,
.modal-nav:focus-visible {
  background: var(--marigold);
  color: var(--pine-dark);
  outline: none;
  transform: translateY(-1px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 42px;
  height: 42px;
}

.modal-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 0;
  background:
    linear-gradient(160deg, #060605 0%, #12100b 100%);
  padding: 16px;
}

.modal-stage {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(240, 182, 74, 0.22);
  border-radius: var(--radius);
  background: #060605;
}

.modal-stage img {
  width: 100%;
  height: 100%;
  max-height: 64vh;
  object-fit: contain;
}

.modal-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
}

.modal-nav:hover,
.modal-nav:focus-visible {
  transform: translateY(-50%) translateY(-1px);
}

.modal-prev {
  left: 12px;
}

.modal-next {
  right: 12px;
}

.modal-counter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: var(--radius);
  background: rgba(6, 6, 5, 0.78);
  color: #fffaf0;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 7px 9px;
}

.modal-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(76px, 96px);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.modal-thumb {
  min-width: 0;
  border: 1px solid rgba(240, 182, 74, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.08);
  padding: 3px;
}

.modal-thumb img {
  width: 100%;
  height: 64px;
  border-radius: calc(var(--radius) - 2px);
  object-fit: cover;
}

.modal-thumb.active,
.modal-thumb:hover,
.modal-thumb:focus-visible {
  border-color: var(--marigold);
  outline: none;
}

.modal-info {
  overflow-y: auto;
  padding: 30px;
}

.modal-code {
  width: fit-content;
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 3px 8px;
}

.modal-info h3 {
  margin-bottom: 10px;
  font-size: 1.72rem;
}

.modal-location,
.modal-summary {
  margin: 0 0 12px;
  color: var(--muted);
}

.modal-price {
  margin: 0 0 16px;
  color: var(--pine);
  font-size: 1.4rem;
  font-weight: 900;
}

.modal-specs,
.modal-points {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.modal-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modal-specs li,
.modal-points li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(239, 226, 201, 0.58);
  color: #2b261d;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 8px;
}

.modal-points li {
  background: transparent;
  border-color: rgba(216, 191, 141, 0.72);
}

.modal-whatsapp {
  width: 100%;
}

.region-section {
  background:
    linear-gradient(180deg, #fffaf0 0%, var(--mist) 100%);
}

.region-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.region-copy {
  max-width: 520px;
}

.neighborhood-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.neighborhood-list span {
  border: 1px solid rgba(210, 126, 16, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--pine);
  font-weight: 800;
  padding: 8px 10px;
}

.region-photos {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-auto-rows: 230px;
  gap: 16px;
}

.region-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.region-photo.large {
  grid-row: span 2;
}

.region-photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: var(--radius);
  background: rgba(6, 6, 5, 0.82);
  color: #fff;
  font-weight: 800;
  padding: 9px 10px;
}

.services-section {
  background: var(--paper);
}

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

.service-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(15, 16, 16, 0.04);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--marigold));
}

.service-item:hover,
.service-item:focus-within {
  border-color: rgba(210, 126, 16, 0.48);
  box-shadow: var(--soft-shadow);
  transform: translateY(-3px);
}

.service-item > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--terracotta-dark);
  padding: 9px;
}

.service-item h3 {
  margin-bottom: 10px;
}

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

.process-section {
  background:
    linear-gradient(135deg, var(--pine-dark) 0%, var(--pine) 54%, #2b1c0a 100%);
  color: #fff;
}

.process-section .eyebrow {
  color: var(--marigold);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}

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

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--pine);
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 6px;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.testimonial-section {
  background:
    linear-gradient(180deg, #fffaf0 0%, #f4ead6 100%);
}

.testimonial-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 26px;
}

.testimonial-heading h2 {
  margin-bottom: 0;
}

.testimonial-heading p {
  margin-bottom: 0;
}

.testimonial-carousel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), rgba(239, 226, 201, 0.9));
  box-shadow: var(--soft-shadow);
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 620ms var(--ease);
  will-change: transform;
}

.testimonial-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.38fr) minmax(0, 1fr);
  flex: 0 0 100%;
  min-width: 100%;
  gap: 26px;
  align-items: center;
  padding: 28px;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--marigold));
}

.client-photo-frame {
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(210, 126, 16, 0.36);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #080806 0%, #17130d 62%, #3b2609 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.08);
}

.client-photo-frame img,
.client-photo-placeholder {
  width: 100%;
  height: 100%;
}

.client-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--marigold);
}

.client-photo-placeholder svg {
  width: 54px;
  height: 54px;
  opacity: 0.86;
}

.testimonial-content span {
  display: block;
  margin-bottom: 12px;
  color: var(--terracotta-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.testimonial-content blockquote {
  margin: 0;
}

.testimonial-content p {
  max-width: 760px;
  margin-bottom: 20px;
  color: #2b261d;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.08rem, 1.9vw, 1.46rem);
  line-height: 1.55;
}

.testimonial-content strong,
.testimonial-content small {
  display: block;
}

.testimonial-content strong {
  color: var(--ink);
  font-weight: 900;
}

.testimonial-content small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(216, 191, 141, 0.72);
  padding: 14px 18px;
}

.testimonial-arrow,
.testimonial-dot {
  border: 1px solid rgba(210, 126, 16, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.74);
  color: var(--pine);
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.testimonial-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible,
.testimonial-dot:hover,
.testimonial-dot:focus-visible,
.testimonial-dot.active {
  border-color: var(--terracotta);
  background: var(--marigold);
  outline: none;
  transform: translateY(-1px);
}

.testimonial-dots {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 8px;
}

.testimonial-dot {
  width: 34px;
  height: 8px;
  padding: 0;
}

.testimonial-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.faq-section {
  background:
    linear-gradient(180deg, #f4ead6 0%, var(--paper) 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 104px;
}

.faq-heading h2 {
  margin-bottom: 14px;
}

.faq-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.9);
  padding: 22px 24px;
  box-shadow: var(--soft-shadow);
}

.faq-item h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.faq-item p {
  margin-bottom: 0;
  color: #2b261d;
}

.contact-section {
  background:
    linear-gradient(180deg, var(--paper), #fffaf0);
}

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

.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.contact-panel {
  padding: 30px;
}

.contact-list {
  display: grid;
  gap: 13px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2b261d;
  font-weight: 700;
}

.contact-list svg {
  margin-top: 4px;
  color: var(--terracotta);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

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

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--pine);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--pine-dark);
  color: #fff;
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 30px;
}

.footer-brand .brand-mark {
  background: #000;
}

.footer-brand strong {
  color: #fffaf0;
}

.footer-brand small {
  color: var(--marigold);
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 7px;
}

.site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
    gap: 34px;
  }

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

  .search-dock {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .field-wide {
    grid-column: span 3;
  }

  .search-actions {
    grid-column: span 6;
  }

  .search-actions .button {
    flex: 1;
  }
}

@media (max-width: 1020px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-showcase {
    justify-self: stretch;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) 1fr;
  }

  .showcase-photo {
    aspect-ratio: auto;
    min-height: 260px;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    border-bottom: 1px solid rgba(210, 126, 16, 0.42);
    background: rgba(6, 6, 5, 0.98);
    padding: 16px 20px 22px;
    box-shadow: var(--soft-shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    min-height: 46px;
  }

  .icon-button {
    display: grid;
  }

  .header-phone span,
  .header-social span {
    display: none;
  }

  .strip-grid,
  .region-grid,
  .process-grid,
  .testimonial-heading,
  .faq-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .faq-heading {
    position: static;
  }

  .search-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .field-wide,
  .search-actions {
    grid-column: span 2;
  }

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

  .testimonial-card {
    grid-template-columns: minmax(140px, 0.36fr) minmax(0, 1fr);
  }

  .region-copy {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .section-shell,
  .hero-inner,
  .hero-content,
  .search-dock {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 24px;
    background-position: 58% center;
  }

  .hero-inner {
    gap: 22px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.22rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

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

  .testimonial-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .client-photo-frame {
    width: min(190px, 72vw);
  }

  .testimonial-controls {
    padding: 12px 14px;
  }

  .testimonial-dot {
    width: 26px;
  }

  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats div {
    padding: 13px 9px;
  }

  .hero-stats div + div {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-stats dt {
    font-size: 1.25rem;
  }

  .hero-stats dd {
    font-size: 0.78rem;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-photo {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .showcase-info {
    padding: 18px;
  }

  .showcase-info h2 {
    font-size: 1.32rem;
  }

  .search-dock {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .field-wide,
  .search-actions {
    grid-column: auto;
  }

  .search-actions,
  .hero-actions,
  .listing-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .filter-chip,
  .toolbar-link {
    width: 100%;
  }

  .toolbar-link {
    margin-left: 0;
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .property-card-featured {
    grid-column: span 1;
  }

  .property-card-featured .property-media {
    aspect-ratio: 4 / 3;
  }

  .property-card-featured .property-body {
    padding: 18px;
  }

  .property-card-featured .property-body h3 {
    font-size: 1.28rem;
  }

  .property-gallery img {
    height: 76px;
  }

  .property-modal {
    padding: 14px;
  }

  .property-modal-dialog {
    grid-template-columns: 1fr;
    max-height: 94vh;
    overflow-y: auto;
  }

  .modal-gallery {
    min-height: auto;
  }

  .modal-stage {
    min-height: 260px;
  }

  .modal-stage img {
    max-height: 48vh;
  }

  .modal-info {
    overflow: visible;
    padding: 22px;
  }

  .intro-strip {
    padding: 24px 0;
  }

  .region-photos {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .region-photo.large {
    grid-row: auto;
  }

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

  .faq-item,
  .contact-panel,
  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .header-inner,
  .section-shell,
  .hero-inner,
  .hero-content,
  .search-dock {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    gap: 9px;
  }

  .site-header .brand strong,
  .site-header .brand small {
    max-width: 132px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: 2.36rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .property-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-kind {
    text-align: left;
  }

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

  .property-gallery img,
  .property-thumb img {
    height: 68px;
  }

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

  .property-media-note {
    display: none;
  }

  .property-media-action span {
    display: none;
  }

  .property-media-action {
    width: 40px;
    justify-content: center;
    padding: 8px;
  }

  .modal-info h3 {
    font-size: 1.34rem;
  }

  .modal-specs {
    grid-template-columns: 1fr;
  }

  .modal-close {
    top: 8px;
    right: 8px;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
