@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Inter", Arial, sans-serif;
  --ink: #0b0d0c;
  --charcoal: #121715;
  --panel: #181e1b;
  --panel-soft: #202823;
  --gold: #c6a15b;
  --gold-light: #e2c886;
  --cream: #f5efe4;
  --muted: #b7b0a4;
  --line: rgba(226, 200, 134, 0.22);
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

button,
a,
input,
select,
textarea {
  border-radius: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(226, 200, 134, 0.85);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 7, 0.98);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo span {
  color: var(--gold-light);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--cream);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--gold);
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: var(--cream);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 46px;
  background:
    linear-gradient(90deg, rgba(11, 13, 12, 0.92), rgba(11, 13, 12, 0.5), rgba(11, 13, 12, 0.24)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=88") center/cover;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 0.93;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 8.8vw, 8.6rem);
  max-width: 870px;
}

.hero-mobile-break {
  display: none;
}

h2 {
  font-size: clamp(2.7rem, 5.4vw, 5.05rem);
}

h3 {
  font-size: 1.9rem;
  line-height: 0.98;
}

.hero h1 {
  line-height: 1.08;
}

.search-wrap .section-heading h2,
.locations-section .section-heading h2,
.testimonials-section .section-heading h2,
.calculator-section .section-heading h2 {
  line-height: 1.1;
}

.about-copy h2 {
  line-height: 1.1;
}

.contact-copy h2 {
  line-height: 1.12;
}

#properties .section-heading h2 + p,
.about-copy h2 + p,
.contact-copy h2 + p {
  margin-top: 24px;
}

.hero-copy {
  max-width: 630px;
  margin: 24px 0 0;
  color: #ddd5ca;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.btn {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  min-height: 50px;
  justify-content: center;
  border: 1px solid var(--gold);
  padding: 13px 22px;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #15120b;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(245, 239, 228, 0.12);
}

.trust-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 46px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(620px, calc(100% - 48px));
  background: rgba(18, 23, 21, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-panel div {
  padding: 22px;
  border-right: 1px solid rgba(226, 200, 134, 0.16);
}

.trust-panel div:last-child {
  border-right: 0;
}

.trust-panel strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 2rem;
}

.trust-panel span,
.section-heading p,
.property-body p,
.service-card p,
.about-copy p,
.agent-card p,
.contact-copy p,
.footer p,
.location-info p {
  color: var(--muted);
}

.section,
section {
  scroll-margin-top: 110px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

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

.section-heading.compact {
  margin-bottom: 24px;
}

.search-wrap {
  margin-top: -48px;
  position: relative;
  padding: 28px;
  background: rgba(24, 30, 27, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.property-search,
.calculator,
.contact-form {
  display: grid;
  gap: 16px;
}

.property-search {
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: end;
}

label {
  display: grid;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(245, 239, 228, 0.14);
  background: #101412;
  color: var(--cream);
  padding: 14px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

.form-message {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--gold-light);
  font-weight: 800;
}

.property-grid,
.agent-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.service-grid > * {
  min-width: 0;
}

.property-card,
.service-card,
.agent-card,
blockquote,
.location-info {
  background: var(--panel);
  border: 1px solid rgba(245, 239, 228, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.property-card {
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.property-card img {
  height: 255px;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.property-card:hover img {
  transform: scale(1.015);
}

.property-grid.search-highlight .property-card {
  animation: propertyPulse 0.9s ease;
}

.property-body {
  padding: 24px;
}

.property-body > span,
.agent-card span,
.location-info span {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}

.property-meta b {
  width: 100%;
  color: var(--cream);
  font-size: 1.1rem;
}

.property-meta small {
  padding: 6px 10px;
  border: 1px solid rgba(226, 200, 134, 0.18);
  color: var(--muted);
}

.property-body button,
.agent-card a {
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-light);
  padding: 0 0 6px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.property-body button:hover,
.property-body button:focus-visible,
.agent-card a:hover,
.agent-card a:focus-visible {
  color: var(--cream);
  border-color: var(--cream);
  transform: translateY(-1px);
}

.services-section {
  width: 100%;
  max-width: none;
  background: var(--charcoal);
}

.services-container {
  width: calc(100% - 48px);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.services-section .section-heading {
  max-width: 720px;
}

.services-section .section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: 60px;
  line-height: 1.1;
  font-weight: 600;
}

.services-section .service-card {
  min-width: 0;
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.services-section .service-card span {
  margin-bottom: 20px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
}

.services-section .service-card h3 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.services-section .service-card p {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-wrap: break-word;
}

.testimonials-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background: var(--charcoal);
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stats-grid div {
  min-height: 150px;
  display: grid;
  align-content: center;
  padding: 24px;
  background: linear-gradient(145deg, var(--panel), var(--panel-soft));
  border: 1px solid var(--line);
}

.stats-grid strong {
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
}

.locations-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: stretch;
}

.location-grid {
  min-height: 420px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 26px;
  background:
    radial-gradient(circle at 30% 30%, rgba(198, 161, 91, 0.18), transparent 28%),
    radial-gradient(circle at 70% 65%, rgba(37, 66, 50, 0.55), transparent 30%),
    #101412;
  border: 1px solid var(--line);
}

.location-btn {
  min-height: 82px;
  border: 1px solid rgba(245, 239, 228, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.location-btn:hover,
.location-btn.active {
  border-color: var(--gold);
  background: rgba(198, 161, 91, 0.18);
  transform: translateY(-2px);
}

.location-info {
  padding: 34px;
}

.agent-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.agent-card img {
  width: 100%;
  height: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 0%;
}

.agent-card:nth-child(2) img {
  object-position: center 12%;
}

.agent-card:nth-child(3) img {
  object-position: center 15%;
}

.agent-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.agent-card p {
  flex: 1;
}

blockquote {
  margin: 0;
  padding: 32px;
  color: #e8dfd2;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  line-height: 1.25;
}

blockquote cite {
  display: block;
  margin-top: 22px;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-section {
  max-width: 820px;
}

.calculator {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.calculator output {
  display: block;
  padding: 18px;
  background: #101412;
  color: var(--gold-light);
  font-weight: 800;
}

.contact-form {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  padding: 48px max(16px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(245, 239, 228, 0.1);
  background: #070908;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer small {
  grid-column: 1 / -1;
  color: #7d766d;
}

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  will-change: opacity;
}

.property-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.76);
}

.modal-panel {
  position: relative;
  z-index: 2001;
  width: min(1080px, 100%);
  max-height: min(820px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  overflow: hidden;
  background: linear-gradient(145deg, #171d1a 0%, #0d1110 100%);
  border: 1px solid rgba(226, 200, 134, 0.28);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
  transform: translateY(14px);
  transition: transform 0.18s ease, opacity 0.18s ease;
  will-change: transform, opacity;
}

.property-modal.open .modal-panel {
  transform: translateY(0);
}

.modal-panel img {
  width: 100%;
  height: clamp(420px, 58vh, 500px);
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  background: #101412;
}

.modal-content {
  display: grid;
  align-content: center;
  gap: 21px;
  padding: 54px 50px;
  overflow-y: auto;
  border-left: 1px solid rgba(226, 200, 134, 0.12);
}

.modal-content h2 {
  max-width: 9ch;
  font-size: clamp(2.65rem, 4.5vw, 3.55rem);
  line-height: 0.92;
}

.modal-content p {
  margin: 0;
  color: var(--muted);
}

.modal-price {
  color: var(--gold-light) !important;
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 10px !important;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.modal-stats span {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid rgba(226, 200, 134, 0.22);
  color: var(--cream);
  background: rgba(245, 239, 228, 0.035);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2002;
  width: 49px;
  height: 49px;
  border: 1px solid rgba(226, 200, 134, 0.28);
  background: rgba(11, 13, 12, 0.9);
  color: var(--cream);
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--gold);
  border-color: var(--gold-light);
  color: #15120b;
  transform: translateY(-1px);
}

.modal-cta {
  width: fit-content;
  min-width: 218px;
  margin-top: 8px;
  padding: 15px 28px;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 981px) {
  .calculator-section,
  .contact-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

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

@keyframes propertyPulse {
  0% {
    border-color: rgba(226, 200, 134, 0.16);
    transform: translateY(0);
  }
  35% {
    border-color: rgba(226, 200, 134, 0.72);
    transform: translateY(-3px);
  }
  100% {
    border-color: rgba(245, 239, 228, 0.1);
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    background: rgba(5, 8, 7, 0.99);
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    z-index: 1001;
    background: rgba(5, 8, 7, 0.99);
    border: 1px solid var(--line);
  }

  .nav-menu.open {
    display: flex;
  }

  .property-search,
  .property-grid,
  .agent-grid,
  .testimonial-grid,
  .about-section,
  .locations-layout,
  .contact-section,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .property-search .btn,
  .contact-section,
  .about-section,
  .locations-layout,
  .footer small {
    grid-column: 1 / -1;
  }

  .trust-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 56px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 40px);
    width: min(720px, 100%);
  }

  .modal-panel img {
    min-height: 0;
    height: 320px;
  }

  .modal-content {
    padding: 34px;
    border-left: 0;
    border-top: 1px solid rgba(226, 200, 134, 0.12);
  }

  .modal-content h2 {
    max-width: 12ch;
  }
}

@media (max-width: 680px) {
  .section,
  section {
    scroll-margin-top: 130px;
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 4.25rem);
    line-height: 0.95;
  }

  h2 {
    font-size: clamp(2.65rem, 11vw, 3.25rem);
    line-height: 0.96;
    overflow-wrap: break-word;
  }

  h3 {
    font-size: 1.65rem;
  }

  .nav {
    min-height: 70px;
  }

  .nav-menu {
    top: 70px;
  }

  .logo {
    font-size: 1.22rem;
  }

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

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .trust-panel,
  .property-search,
  .property-grid,
  .about-section,
  .agent-grid,
  .testimonial-grid,
  .stats-grid,
  .locations-layout,
  .location-grid,
  .contact-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .trust-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(226, 200, 134, 0.16);
  }

  .trust-panel div:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 76px 0;
  }

  .search-wrap {
    margin-top: 0;
    padding: 20px;
  }

  #properties {
    padding-bottom: 48px;
  }

  #properties .property-grid {
    margin-bottom: 32px;
  }

  .services-section {
    width: 100%;
    max-width: none;
    min-height: auto;
    height: auto;
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 64px;
    align-items: start;
    justify-content: start;
  }

  .services-section .section-heading {
    margin-top: 0;
    padding-top: 0;
  }

  .services-section.reveal,
  .services-section .reveal {
    transform: none;
  }

  .location-grid {
    min-height: auto;
  }

  .footer {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  blockquote {
    font-size: 1.28rem;
  }

  .contact-section {
    gap: 30px;
    align-items: stretch;
  }

  .contact-form {
    width: 100%;
    padding: 22px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .contact-form .btn {
    width: 100%;
    max-width: 100%;
  }

  .property-modal {
    padding: 0;
    align-items: center;
    justify-items: center;
  }

  .modal-panel {
    width: min(92vw, 420px);
    max-height: 88vh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .modal-panel img {
    height: clamp(240px, 34vh, 280px);
  }

  .modal-content {
    gap: 16px;
    padding: 24px 20px 26px;
    overflow-y: visible;
  }

  .modal-content h2 {
    max-width: none;
    font-size: clamp(2.25rem, 10.5vw, 2.65rem);
    line-height: 0.96;
  }

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

  .modal-stats span {
    justify-content: center;
  }

  .modal-cta {
    width: 100%;
  }

  .modal-close {
    position: fixed;
    top: calc(6vh + 10px);
    right: calc(4vw + 10px);
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    align-items: start;
    padding: 96px 0 32px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .hero h1 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(46px, 13vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .search-wrap .section-heading h2,
  .locations-section .section-heading h2,
  .testimonials-section .section-heading h2,
  .calculator-section .section-heading h2,
  .about-copy h2 {
    line-height: 1.11;
  }

  .contact-copy h2 {
    line-height: 1.12;
  }

  .hero-mobile-break {
    display: block;
  }

  .hero .eyebrow {
    max-width: 280px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.16em;
  }

  .hero-copy {
    max-width: 340px;
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.45;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 54px;
  }

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

  .services-section .section-heading h2 {
    max-width: 100%;
    font-size: 43px;
    line-height: 1.11;
  }

  .services-section .service-card h3 {
    font-size: 26px;
    line-height: 1.12;
  }

  .services-section .service-card p {
    font-size: 16px;
    line-height: 1.55;
  }
}

#properties .section-heading {
  max-width: 760px;
}

#properties .section-heading h2 {
  max-width: 760px;
  font-size: clamp(52px, 4.2vw, 72px);
  line-height: 1.12;
  text-wrap: balance;
}

#agents .section-heading {
  max-width: 900px;
}

#agents .section-heading h2 {
  max-width: 900px;
  font-size: clamp(48px, 3.8vw, 64px);
  line-height: 1.1;
  text-wrap: balance;
}

@media (min-width: 769px) and (max-width: 980px) {
  #properties .section-heading h2 {
    font-size: clamp(48px, 6vw, 58px);
  }

  #agents .section-heading h2 {
    font-size: clamp(44px, 5.2vw, 54px);
    line-height: 1.1;
  }
}

@media (max-width: 768px) {
  #properties .section-heading h2 {
    max-width: 100%;
    font-size: clamp(40px, 11vw, 52px);
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }

  #agents .section-heading h2 {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.11;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }
}
