:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --surface-soft: #fbf7ee;
  --surface-strong: #00162a;
  --text: #071b2f;
  --muted: #65717d;
  --border: rgba(0, 22, 42, 0.12);
  --primary: #001f3a;
  --primary-dark: #001327;
  --accent: #d8a143;
  --accent-warm: #f2cc7b;
  --gold-deep: #9b6c1e;
  --shadow: 0 24px 60px rgba(0, 22, 42, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

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

button {
  cursor: pointer;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  background: var(--surface-strong);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(216, 161, 67, 0.24);
  font-size: 0.92rem;
}

.topbar__links a:hover,
.topbar__links a:focus-visible {
  color: var(--accent-warm);
}

.topbar__content,
.header__content,
.footer__content,
.trust-strip__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__content {
  min-height: 46px;
}

.topbar__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 22, 42, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 161, 67, 0.24);
}

.header__content {
  min-height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__logo {
  width: 118px;
  max-width: 24vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 22, 42, 0.14));
}

.brand--footer .brand__logo {
  width: 126px;
}

.brand__badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #07355f 60%, var(--accent));
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(0, 31, 58, 0.24);
}

.brand__text {
  display: grid;
  gap: 0.15rem;
}

.brand__text strong {
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
}

.brand__text small {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a:not(.button),
.nav button.button--ghost {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 180ms ease, opacity 180ms ease;
}

.nav a:not(.button):hover,
.nav a:not(.button):focus-visible,
.nav button.button--ghost:hover,
.nav button.button--ghost:focus-visible {
  color: var(--accent-warm);
}

.nav a.is-active:not(.button) {
  color: var(--accent-warm);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(216, 161, 67, 0.55);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.85rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-warm);
}

.menu-toggle span + span {
  margin-top: 0.32rem;
}

.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.tab-button:hover,
.tab-button:focus-visible,
.floating-cta:hover,
.floating-cta:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 58%, #0a355f);
  box-shadow: 0 16px 32px rgba(0, 31, 58, 0.25);
}

.button--secondary {
  color: var(--surface-strong);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(216, 161, 67, 0.28);
}

.button--ghost {
  color: var(--surface-strong);
  background: rgba(216, 161, 67, 0.15);
}

.button--light {
  color: var(--surface-strong);
  background: #fff;
}

.button--full {
  width: 100%;
}

.hero,
.page-hero {
  position: relative;
}

.hero {
  padding: 5.5rem 0 4.25rem;
}

.page-hero {
  padding: 4.8rem 0 2.8rem;
}

.hero::before,
.hero::after,
.page-hero::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.hero::before {
  width: 320px;
  height: 320px;
  right: -80px;
  top: 40px;
  background: rgba(216, 161, 67, 0.2);
}

.hero::after {
  width: 280px;
  height: 280px;
  left: -120px;
  top: 60px;
  background: rgba(0, 31, 58, 0.12);
}

.page-hero::before {
  width: 320px;
  height: 320px;
  right: -110px;
  top: 10px;
  background: rgba(216, 161, 67, 0.16);
}

.hero__grid,
.showcase,
.contact-grid,
.listing-layout,
.page-hero__content {
  display: grid;
  gap: 2rem;
}

.hero__grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero__content {
  display: grid;
  gap: 0.3rem;
}

.page-hero__content {
  grid-template-columns: 1fr auto;
  align-items: end;
}

.page-hero__content h1,
.hero h1,
.section-heading h2,
.showcase h2,
.contact-copy h2,
.results-head h2 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(216, 161, 67, 0.16);
  color: var(--gold-deep);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.page-hero__content h1 {
  margin: 1rem 0;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.hero h1 {
  max-width: 12ch;
}

.page-hero__content h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.hero__lead,
.page-hero__content p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.phrase-box {
  position: relative;
  min-height: 96px;
  padding: 1rem 1rem 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 161, 67, 0.16);
  box-shadow: 0 10px 22px rgba(0, 22, 42, 0.05);
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.phrase-box::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  width: 3px;
  height: calc(100% - 2rem);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-warm), var(--gold-deep));
}

.phrase-box strong {
  font-size: 0.96rem;
  line-height: 1.2;
  color: var(--surface-strong);
}

.phrase-box span {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.hero__phrases,
.page-hero__phrases {
  margin-top: 1.3rem;
  max-width: 42rem;
}

.hero__actions,
.page-hero__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero__actions {
  margin: 2rem 0;
}

.hero__stats,
.metrics-grid {
  display: grid;
  gap: 1rem;
}

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

.hero__stats article,
.metrics-grid article,
.empty-state {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(216, 161, 67, 0.14);
  box-shadow: 0 10px 24px rgba(0, 22, 42, 0.06);
}

.hero__stats article {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.hero__stats strong,
.metrics-grid strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Sora", sans-serif;
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero__stats span,
.metrics-grid span {
  color: var(--muted);
}

.hero__stat-card--service strong {
  font-size: 1.45rem;
  line-height: 1.12;
  max-width: 9ch;
}

.hero__stat-card--service span {
  display: block;
  max-width: 20ch;
}

.hero__panel {
  display: grid;
  gap: 1.25rem;
  align-self: center;
}

.search-card,
.highlight-card,
.service-card,
.testimonial-card,
.contact-form,
.property-card,
.property-modal,
.showcase__panel,
.showcase__content,
.listing-panel,
.empty-state {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(216, 161, 67, 0.18);
  box-shadow: var(--shadow);
}

.search-card {
  padding: 0 0 0 1.5rem;
  border: 0;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.search-card__title {
  margin: 0.9rem 0 0.8rem;
  font-size: 1.8rem;
  font-family: "Sora", sans-serif;
  line-height: 1.1;
  max-width: 13ch;
  text-wrap: balance;
}

.search-card__text {
  margin: 0 0 1.2rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 38ch;
}

.search-card__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.tab-button {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(216, 161, 67, 0.14);
  color: #56411c;
  font-weight: 800;
}

.tab-button.is-active {
  background: linear-gradient(135deg, var(--surface-strong), #063861);
  color: #fff;
}

.search-form,
.contact-form {
  display: grid;
  gap: 1rem;
}

.search-form__row,
.listing-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0, 22, 42, 0.12);
  background: rgba(255, 253, 248, 0.96);
  color: var(--text);
  min-height: 54px;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 148px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(216, 161, 67, 0.48);
  box-shadow: 0 0 0 4px rgba(216, 161, 67, 0.14);
  background: #fff;
}

.search-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.search-card__foot p {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.search-card__foot span {
  max-width: 30ch;
  line-height: 1.55;
}

.highlight-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  min-height: 275px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(0, 19, 39, 0.56), rgba(0, 19, 39, 0.92)),
    url("https://images.unsplash.com/photo-1605146769289-440113cc3d00?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.highlight-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(216, 161, 67, 0.24);
  filter: blur(8px);
}

.highlight-card__tag {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.highlight-card h2 {
  margin: 0 0 0.8rem;
  max-width: 14ch;
  font-size: 2rem;
  font-family: "Sora", sans-serif;
}

.highlight-card p {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.highlight-card__price {
  margin: 1.2rem 0 0.45rem;
  font-size: 2rem;
  font-weight: 800;
}

.highlight-card__note {
  display: block;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.trust-strip {
  padding-bottom: 1rem;
}

.trust-strip__content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(216, 161, 67, 0.16);
  box-shadow: 0 18px 34px rgba(0, 22, 42, 0.08);
  gap: 1.15rem;
}

.trust-strip__content > div {
  display: grid;
  gap: 0.3rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 4.8rem 0;
}

.section--soft {
  background: var(--bg);
}

.gallery-section {
  background: var(--bg);
}

.photo-feature {
  background: var(--bg);
  color: var(--text);
}

.photo-feature--light {
  background: var(--bg);
}

.photo-feature__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 1050px;
}

.photo-feature--light .photo-feature__layout {
  flex-direction: row-reverse;
}

.photo-feature__copy {
  flex: 1;
  max-width: 470px;
}

.photo-feature__copy h2 {
  max-width: 12ch;
  margin: 0.8rem 0 0;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.15;
}

.photo-feature__media {
  flex: 0 1 400px;
  width: min(100%, 400px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--surface-strong);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 10, 22, 0.24);
  cursor: zoom-in;
}

.photo-feature__media:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.gallery-heading {
  max-width: 760px;
  margin: 0 auto 1.5rem;
}

.gallery-heading h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
}

.gallery {
  max-width: 760px;
  margin: 0 auto;
}

.gallery__slide {
  display: block;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--surface-strong);
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 22, 42, 0.16);
  cursor: zoom-in;
}

.gallery__slide[hidden] {
  display: none;
}

.gallery__image {
  display: block;
  width: 100%;
  overflow: hidden;
}

.gallery__image img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-weight: 700;
}

.gallery__controls button {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(216, 161, 67, 0.5);
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--accent-warm);
  font-size: 1.3rem;
}

.gallery__controls button:hover {
  background: var(--accent);
  color: var(--surface-strong);
}

.gallery__controls button:focus-visible,
.gallery__slide:focus-visible,
.gallery-dialog__close:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.gallery-dialog {
  width: min(1080px, calc(100vw - 1.5rem));
  height: min(92vh, 1200px);
  max-width: none;
  max-height: none;
  padding: 3.5rem 1rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.gallery-dialog::backdrop {
  background: rgba(0, 12, 25, 0.8);
}

.gallery-dialog__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.gallery-dialog__scroll {
  width: 100%;
  height: 100%;
  overflow: auto;
}

.gallery-dialog__scroll .gallery__image {
  width: max(100%, 760px);
}

.section--accent {
  padding: 2rem 0;
}

.section-heading,
.results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.showcase h2,
.contact-copy h2,
.results-head h2 {
  margin: 0.9rem 0 0;
  max-width: 14ch;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.contact-copy p,
.showcase__content p,
.empty-state p,
.availability-card p,
.testimonial-card p {
  line-height: 1.75;
}

.property-grid,
.services-grid,
.metrics-grid,
.neighborhood-grid {
  display: grid;
  gap: 1.4rem;
}

.clean-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.clean-copy p,
.area-copy,
.showcase__panel--minimal p {
  margin: 0;
}

.clean-copy--wide {
  max-width: 820px;
}

.clean-copy .button {
  margin-top: 1.6rem;
}

.clean-list {
  display: grid;
  gap: 0;
  max-width: 940px;
}

.clean-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(216, 161, 67, 0.24);
}

.clean-list article:last-child {
  border-bottom: 1px solid rgba(216, 161, 67, 0.24);
}

.clean-list strong {
  color: var(--surface-strong);
  font-size: 1.05rem;
}

.clean-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.real-estate-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.real-estate-guide__intro {
  max-width: 520px;
}

.real-estate-guide__intro h2 {
  margin: 0.75rem 0 1rem;
}

.real-estate-guide__intro p,
.process-list p {
  color: var(--muted);
  line-height: 1.75;
}

.process-list {
  border-top: 1px solid rgba(216, 161, 67, 0.32);
}

.process-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(216, 161, 67, 0.32);
}

.process-list article > span {
  color: var(--gold-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-list strong {
  color: var(--surface-strong);
  font-size: 1.05rem;
}

.process-list p {
  margin: 0.4rem 0 0;
}

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

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

.property-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(0, 22, 42, 0.16);
}

.property-card__media {
  position: relative;
  height: 240px;
  background-size: cover;
  background-position: center;
}

.property-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 19, 39, 0.08), rgba(0, 19, 39, 0.62));
}

.property-card__badge,
.property-card__business {
  position: absolute;
  top: 1rem;
  z-index: 1;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.property-card__badge {
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--surface-strong);
}

.property-card__business {
  right: 1rem;
  background: rgba(242, 204, 123, 0.96);
  color: var(--surface-strong);
}

.property-card__content {
  padding: 1.3rem;
}

.property-card__location {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-weight: 700;
}

.property-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.property-card__price {
  margin: 0.9rem 0 1rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--surface-strong);
}

.property-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.property-card__meta span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(216, 161, 67, 0.14);
  color: #56411c;
  font-size: 0.88rem;
  font-weight: 700;
}

.property-card__actions {
  display: flex;
  gap: 0.75rem;
}

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

.service-card {
  padding: 1.45rem;
}

.service-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.service-card p,
.showcase p,
.contact-copy p,
.testimonial-card p,
.empty-state p {
  color: var(--muted);
  line-height: 1.8;
}

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

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

.neighborhood-card {
  text-align: left;
  border: 1px solid rgba(216, 161, 67, 0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 239, 226, 0.94)),
    linear-gradient(135deg, rgba(216, 161, 67, 0.18), rgba(0, 31, 58, 0.08));
  padding: 1.45rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  cursor: default;
}

.neighborhood-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.neighborhood-card span {
  color: var(--muted);
  line-height: 1.7;
}

.area-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.showcase {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.showcase__content,
.showcase__panel {
  padding: 2rem;
}

.showcase__content p {
  max-width: 46ch;
}

.showcase__list {
  margin: 1.4rem 0 0;
  padding-left: 1rem;
  color: var(--text);
}

.showcase__list li + li {
  margin-top: 0.85rem;
}

.showcase__panel {
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(160deg, rgba(216, 161, 67, 0.12), rgba(0, 31, 58, 0.06)),
    rgba(255, 255, 255, 0.9);
}

.showcase__panel--minimal {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-left: 2px solid var(--accent);
  border-radius: 0;
  padding: 0 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.85;
}

.testimonial-card {
  padding: 1.5rem;
  box-shadow: none;
}

.testimonial-card p {
  margin: 0;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
}

.testimonial-card span {
  color: var(--muted);
}

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

.contact-points {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 1.6rem;
  max-width: 430px;
}

.contact-list div {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(216, 161, 67, 0.22);
}

.contact-list div:last-child {
  border-bottom: 1px solid rgba(216, 161, 67, 0.22);
}

.contact-list strong {
  color: var(--surface-strong);
}

.contact-list span,
.contact-list a {
  color: var(--muted);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--gold-deep);
  text-decoration: underline;
}

.contact-points article {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(216, 161, 67, 0.16);
}

.contact-points strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-points span,
.form-feedback {
  color: var(--muted);
}

.contact-form {
  padding: 1.7rem;
}

.contact-copy {
  max-width: 40rem;
}

.form-feedback {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 700;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-feedback.is-success {
  color: #0d8f6d;
}

.form-feedback.is-error {
  color: #c0392b;
}

.listing-layout {
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
}

.listing-panel {
  padding: 1.1rem;
}

.listing-results {
  min-width: 0;
}

.listing-panel .search-card {
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-chip {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 161, 67, 0.18);
  background: rgba(255, 255, 255, 0.85);
  color: var(--surface-strong);
  font-weight: 700;
}

.filter-chip.is-active {
  background: linear-gradient(135deg, var(--surface-strong), #063861);
  color: #fff;
  border-color: transparent;
}

.empty-state {
  padding: 2rem;
}

.empty-state--wide {
  max-width: 860px;
}

.empty-state__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.availability-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
}

.availability-card {
  display: grid;
  gap: 1rem;
}

.availability-card p {
  margin: 0;
}

.footer {
  padding: 2rem 0 3rem;
  background: #f6efe2;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding-top: 1rem;
  border-top: 1px solid rgba(216, 161, 67, 0.2);
}

.brand--footer .brand__text small,
.footer__copy {
  color: var(--muted);
}

.footer__copy {
  justify-self: end;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: right;
}

.footer__registration {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.footer-back-top {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(216, 161, 67, 0.55);
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--accent-warm);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
  justify-self: center;
}

.footer-back-top:hover,
.footer-back-top:focus-visible {
  transform: translateY(-3px);
  background: var(--accent);
  color: var(--surface-strong);
  outline: none;
}

.floating-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 25;
  min-height: 58px;
  padding: 0.95rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-deep), var(--accent-warm));
  color: var(--surface-strong);
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(155, 108, 30, 0.24);
}

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(5, 15, 32, 0.62);
  backdrop-filter: blur(4px);
}

.property-modal.is-open {
  display: flex;
}

.property-modal__backdrop {
  position: absolute;
  inset: 0;
}

.property-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 1.5rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.property-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--surface-strong);
  font-size: 1.6rem;
}

.property-modal__body {
  min-height: 100px;
}

.modal-card__media {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.modal-card__content {
  padding: 1.6rem;
}

.modal-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.modal-card__header h3 {
  margin: 0.35rem 0 0;
  font-size: 1.9rem;
}

.modal-card__price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}

.modal-card__description {
  color: var(--muted);
  line-height: 1.8;
}

.modal-card__footer {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

@media (max-width: 1060px) {
  .hero__grid,
  .showcase,
  .contact-grid,
  .property-grid,
  .services-grid,
  .metrics-grid,
  .neighborhood-grid,
  .page-hero__content,
  .listing-layout,
  .property-grid--wide,
  .availability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .photo-feature__layout,
  .photo-feature--light .photo-feature__layout {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .photo-feature__copy,
  .photo-feature__media {
    flex: none;
    width: 100%;
    max-width: 500px;
  }

  .topbar__content,
  .section-heading,
  .modal-card__header,
  .results-head,
  .page-hero__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: var(--surface-strong);
    border: 1px solid rgba(216, 161, 67, 0.35);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav a:not(.button),
  .nav button.button--ghost {
    padding: 0.1rem 0;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero h1,
  .page-hero__content h1 {
    max-width: 100%;
  }

  .hero__actions,
  .page-hero__actions,
  .empty-state__actions,
  .modal-card__footer {
    width: 100%;
  }

  .hero__stats,
  .hero__grid,
  .showcase,
  .contact-grid,
  .property-grid,
  .services-grid,
  .metrics-grid,
  .neighborhood-grid,
  .search-form__row,
  .listing-actions,
  .property-grid--wide,
  .availability-grid {
    grid-template-columns: 1fr;
  }

  .search-card__foot,
  .property-card__actions,
  .hero__actions,
  .page-hero__actions,
  .empty-state__actions,
  .modal-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button,
  .page-hero__actions .button,
  .empty-state__actions .button,
  .modal-card__footer .button,
  .nav .button,
  .nav button {
    width: 100%;
  }

  .hero__stats article,
  .metrics-grid article,
  .service-card,
  .neighborhood-card,
  .testimonial-card,
  .empty-state,
  .availability-card {
    padding: 1.25rem;
  }

  .hero__stats article {
    min-height: 0;
  }

  .hero__stat-card--service strong,
  .hero__stat-card--service span {
    max-width: 100%;
  }

  .page-hero__content {
    gap: 1.25rem;
  }

  .trust-strip__content > div {
    width: 100%;
  }

  .trust-strip__content {
    grid-template-columns: 1fr;
  }

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

  .search-card__foot {
    gap: 0.5rem;
  }

  .highlight-card h2,
  .section-heading h2,
  .showcase h2,
  .contact-copy h2,
  .results-head h2 {
    max-width: 100%;
  }

  .clean-list article {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .real-estate-guide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  main section[id] {
    scroll-margin-top: 170px;
  }

  .gallery__slide {
    border-radius: 10px;
  }

  .topbar {
    display: block;
    font-size: 0.72rem;
  }

  .topbar__content {
    min-height: 0;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .topbar__content > p {
    display: none;
  }

  .topbar__links {
    justify-content: center;
    gap: 0.2rem 0.75rem;
    overflow-wrap: anywhere;
  }

  .header__content {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding-top: 0.4rem;
    padding-bottom: 0.65rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    width: 100%;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.8rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav a:not(.button) {
    padding: 0.2rem 0;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .brand__badge {
    width: 48px;
    height: 48px;
  }

  .hero {
    padding-top: 3.2rem;
    padding-bottom: 3rem;
  }

  .section,
  .page-hero {
    padding: 4rem 0;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .header {
    background: rgba(0, 22, 42, 0.97);
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 2.9rem);
  }

  .page-hero__content h1,
  .section-heading h2,
  .showcase h2,
  .contact-copy h2,
  .results-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero__lead,
  .page-hero__content p,
  .search-card__text,
  .highlight-card p,
  .contact-copy p,
  .testimonial-card p,
  .empty-state p {
    font-size: 0.98rem;
  }

  .search-card,
  .highlight-card,
  .contact-form,
  .showcase__content,
  .showcase__panel,
  .listing-panel,
  .empty-state,
  .service-card {
    padding: 1.25rem;
  }

  .search-card__title,
  .highlight-card h2 {
    font-size: 1.65rem;
  }

  .phrase-grid {
    grid-template-columns: 1fr;
  }

  .phrase-box {
    min-height: 0;
    padding: 0.95rem;
  }

  .phrase-box strong {
    font-size: 0.94rem;
  }

  .phrase-box span {
    font-size: 0.9rem;
  }

  .highlight-card {
    min-height: 0;
  }

  .hero__stats strong,
  .metrics-grid strong,
  .highlight-card__price {
    font-size: 1.45rem;
  }

  .hero__stat-card--service strong {
    font-size: 1.2rem;
  }

  .brand {
    max-width: 100%;
  }

  .brand__logo {
    width: 90px;
    max-width: 100%;
  }

  .brand--footer .brand__logo {
    width: 132px;
  }

  .brand__text strong {
    font-size: 0.95rem;
  }

  .brand__text small {
    font-size: 0.78rem;
  }

  .neighborhood-grid,
  .services-grid,
  .metrics-grid,
  .hero__stats {
    gap: 0.9rem;
  }

  .footer__content {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.1rem;
  }

  .footer__copy {
    justify-self: center;
    text-align: center;
  }

  .floating-cta {
    left: auto;
    right: 0.8rem;
    bottom: 0.8rem;
    min-height: 48px;
    padding: 0.75rem 1rem;
    justify-content: center;
  }
}
