/* Property Alliances — Brand styles */
:root {
  --color-navy: #001c3d;
  --color-navy-deep: #061224;
  --color-navy-soft: #132a4a;
  --color-gold: #8f7848;
  --color-gold-dark: #74623a;
  --color-gold-light: #a8905c;
  --color-white: #ffffff;
  --color-off-white: #f7f5f2;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-border: rgba(143, 120, 72, 0.4);
  --color-nav-divider: rgba(255, 255, 255, 0.28);
  --shadow-card: 0 10px 30px rgba(10, 27, 51, 0.12);
  --shadow-card-hover: 0 18px 40px rgba(10, 27, 51, 0.2);
  --radius-card: 1.25rem;
  --radius-btn: 0.65rem;
  --radius-nav: 3.75rem;
  --transition: 0.3s ease;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-off-white);
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), background-color var(--transition),
    transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* ---------- Brand logo ---------- */
.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand-logo img {
  width: clamp(72px, 12vw, 110px);
  height: auto;
  display: block;
}

.brand-logo--light {
  background: rgba(255, 255, 255, 0.92);
  padding: 0.65rem 1rem 0.85rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(10, 27, 51, 0.12);
}

.brand-logo--light img {
  width: clamp(88px, 14vw, 130px);
}

.brand-logo--footer img {
  width: 110px;
  height: auto;
  display: block;
  background: var(--color-white);
  border-radius: 0.5rem;
  padding: 0.45rem 0.55rem;
}

/* ---------- Mobile hamburger navigation ---------- */
.mobile-topbar,
.mobile-overlay,
.mobile-drawer {
  display: none;
}

@media (max-width: 991.98px) {
  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 28, 61, 0.08);
    padding: 0.55rem 0.9rem;
  }

  .mobile-topbar__brand img {
    width: 72px;
    height: auto;
    display: block;
  }

  .mobile-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--color-navy);
    border-radius: 0.5rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
  }

  .mobile-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  body.mobile-nav-open .mobile-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.mobile-nav-open .mobile-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  body.mobile-nav-open .mobile-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1105;
    background: rgba(0, 28, 61, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  body.mobile-nav-open .mobile-overlay[hidden] {
    display: block;
  }

  body.mobile-nav-open .mobile-overlay {
    opacity: 1;
    visibility: visible;
  }

  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1110;
    width: min(86vw, 320px);
    height: 100%;
    background: var(--color-navy);
    color: var(--color-white);
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.28);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    padding: 0.85rem 0 1.25rem;
  }

  body.mobile-nav-open .mobile-drawer {
    transform: translateX(0);
  }

  .mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-drawer__title {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--color-gold);
  }

  .mobile-drawer__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    overflow-y: auto;
  }

  .mobile-drawer__link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.15rem;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-drawer__link i {
    color: var(--color-gold);
    font-size: 1.35rem;
    width: 1.5rem;
    text-align: center;
  }

  .mobile-drawer__link:hover,
  .mobile-drawer__link:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
  }

  .mobile-drawer__toggle {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
  }

  .mobile-drawer__chevron {
    margin-left: auto;
    width: auto !important;
    font-size: 0.95rem !important;
    transition: transform 0.2s ease;
  }

  .mobile-drawer__group.is-open .mobile-drawer__chevron {
    transform: rotate(180deg);
  }

  .mobile-drawer__submenu {
    display: none;
    background: rgba(0, 0, 0, 0.18);
  }

  .mobile-drawer__group.is-open .mobile-drawer__submenu {
    display: block;
  }

  .mobile-drawer__sublink {
    padding-left: 2.65rem;
    font-size: 0.9rem;
    font-weight: 500;
  }

  .hero-nav-wrap {
    display: none !important;
  }

  .hero-brand {
    display: none;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }
}

/* ---------- Hero (clean photo + HTML logo/text/CTAs + HTML nav) ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(100vh, 920px);
  color: var(--color-navy);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0) 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(10, 27, 51, 0.12) 75%, rgba(10, 27, 51, 0.28) 100%),
    url("../images/hero-bg.jpg") center right / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem clamp(1.25rem, 5vw, 4.5rem) 1.5rem;
  max-width: 100%;
}

/* Logo + headlines + CTAs centered inside the left hero section */
.hero__inner {
  width: min(100%, 42rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 0.85rem;
  line-height: 1;
}

.hero-brand__logo {
  width: clamp(150px, 20vw, 210px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 28, 61, 0.12));
}

.hero__title {
  margin: 0 0 0.55rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.12;
  font-size: clamp(1.85rem, 4.6vw, 3.1rem);
  text-transform: uppercase;
  text-align: center;
}

.hero__title-sell,
.hero__title-own {
  display: block;
}

.hero__title-sell {
  color: var(--color-navy);
}

.hero__title-own {
  color: var(--color-gold);
}

.hero__subtitle {
  margin: 0 0 1.35rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: var(--color-navy);
  text-align: center;
}

.hero__subtitle strong {
  font-weight: 800;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  margin: 0;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-btn);
  min-width: 0;
  flex: 1 1 260px;
  max-width: 340px;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 28, 61, 0.18);
  line-height: 1.15;
}

.cta-btn__icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  line-height: 1;
}

.cta-btn__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
}

.cta-btn__kicker {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-btn__line1 {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
}

.cta-btn__line2 {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.92;
  white-space: normal;
  margin-top: 0.12rem;
}

.cta-btn__arrow {
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.cta-btn--navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.cta-btn--navy:hover {
  background: var(--color-navy-soft);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 28, 61, 0.28);
}

.cta-btn--navy:hover .cta-btn__arrow {
  transform: translateX(4px);
}

.cta-btn--gold {
  background: linear-gradient(165deg, #c4a86a 0%, #a6884c 42%, #8f7848 78%, #7a663c 100%);
  color: var(--color-navy);
}

.cta-btn--gold:hover {
  background: linear-gradient(165deg, #d0b57a 0%, #b49658 42%, #9a8250 78%, #8f7848 100%);
  color: var(--color-navy);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(143, 120, 72, 0.45);
}

.cta-btn--gold:hover .cta-btn__arrow {
  transform: translateX(4px);
}

/* Bottom nav — SVG shape (smooth corners, no clip-path stretch break) */
.hero-nav-wrap {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 95%;
  margin: 0 auto;
  filter: drop-shadow(0 -10px 22px rgba(0, 0, 0, 0.25));
}

.hero-nav {
  position: relative;
  width: 100%;
  background: transparent;
  border-radius: 0;
  padding: 0.25rem clamp(2rem, 5vw, 3.5rem) 0.25rem;
  margin: 0;
  overflow: visible;
}

.hero-nav__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  color: var(--color-navy);
  fill: currentColor;
}

.hero-nav__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-nav__item {
  position: relative;
  border-right: none;
}

.hero-nav__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  right: 0;
  width: 1px;
  background: var(--color-nav-divider);
  pointer-events: none;
}

.hero-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.55rem 0.65rem;
  color: var(--color-white);
  font-weight: 600;
  font-size: clamp(0.78rem, 1.55vw, 0.95rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  min-height: 100%;
  line-height: 1.2;
}

.hero-nav__label {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.hero-nav__link i,
.hero-nav__svg {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  font-size: 40px;
  line-height: 40px;
  color: var(--color-gold);
  fill: currentColor;
  stroke: currentColor;
  transition: transform var(--transition), color var(--transition);
}

.hero-nav__link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-nav__link i::before {
  color: var(--color-gold);
}

.hero-nav__svg {
  display: block;
}

.hero-nav__link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-nav__link:hover i,
.hero-nav__link:hover i::before,
.hero-nav__link:hover .hero-nav__svg {
  color: var(--color-gold);
  transform: scale(1.08);
}

/* ---------- Services / cards ---------- */
.services {
  padding: 4rem 0 3.5rem;
  background: var(--color-off-white);
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  color: var(--color-navy);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.section-heading p {
  color: var(--color-text-muted);
  margin: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10, 27, 51, 0.06);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.service-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-navy-soft);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem 1.6rem;
  flex: 1;
}

.service-card__icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 0.85rem;
}

.service-card__title {
  margin: 0 0 0.55rem;
  color: var(--color-navy);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
}

.service-card__text {
  margin: 0 0 1.35rem;
  color: var(--color-navy);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 18rem;
  flex: 1;
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 16.5rem;
  padding: 0.8rem 1.1rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color var(--transition), color var(--transition);
}

.service-card__btn .bi {
  color: var(--color-gold);
  font-size: 0.95rem;
  transition: transform var(--transition);
}

.service-card:hover .service-card__btn {
  background: var(--color-navy-soft);
}

.service-card:hover .service-card__btn .bi {
  transform: translateX(3px);
}

/* ---------- Feature panels (Why / Financing) ---------- */
.feature-panels {
  padding: 0 0 3.5rem;
  background: var(--color-off-white);
}

.feature-panel {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(10, 27, 51, 0.06);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.feature-panel__media {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--color-navy-soft);
}

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

.feature-panel__content {
  position: relative;
  padding: 0.25rem 0.25rem 0.25rem 0;
}

.feature-panel__title {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  letter-spacing: 0.01em;
  margin: 0 0 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-wrap: balance;
}

.feature-panel__title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--color-gold);
  min-width: 2.5rem;
  opacity: 0.85;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-navy);
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature-list .bi {
  color: var(--color-gold);
  font-size: 1.15rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.feature-list strong {
  font-weight: 700;
}

.feature-panel__watermark {
  position: absolute;
  right: 0.25rem;
  bottom: 0;
  font-size: clamp(4.5rem, 10vw, 6.5rem);
  color: var(--color-gold);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

/* ---------- Find-home CTA bar ---------- */
.find-home-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem 1.75rem;
  flex-wrap: wrap;
  background: var(--color-white);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.find-home-cta__icon {
  position: relative;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: grid;
  place-items: center;
  color: var(--color-navy);
  font-size: 2.35rem;
  line-height: 1;
}

.find-home-cta__search {
  position: absolute;
  right: -0.15rem;
  bottom: -0.1rem;
  font-size: 1.35rem;
  color: var(--color-gold);
  background: var(--color-white);
  border-radius: 50%;
  padding: 0.1rem;
}

.find-home-cta__copy {
  flex: 1 1 240px;
  min-width: 0;
}

.find-home-cta__title {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  margin: 0 0 0.35rem;
}

.find-home-cta__copy p {
  margin: 0;
  color: var(--color-navy);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 42rem;
}

.find-home-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.95rem 1.4rem;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.35);
}

.find-home-cta__btn:hover {
  background: var(--color-gold-light);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.find-home-cta__btn .bi {
  font-size: 1rem;
  transition: transform var(--transition);
}

.find-home-cta__btn:hover .bi {
  transform: translateX(3px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-navy-deep);
  color: var(--color-white);
  padding-top: 3.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--color-gold);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 1rem 0 0;
  max-width: 280px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--color-gold);
  margin-top: 0.15rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: var(--color-gold-light);
}

/* ---------- Responsive ---------- */

/* Large tablets / small laptops */
@media (max-width: 1199.98px) {
  .hero__title {
    font-size: clamp(1.55rem, 3.8vw, 2.5rem);
  }

  .hero-nav__link {
    gap: 0.5rem;
    padding: 1.35rem 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-nav__link i,
  .hero-nav__svg {
    width: 32px;
    height: 32px;
    font-size: 32px;
    line-height: 32px;
  }
}

/* Tablets — simplify nav shape, stack feature rhythm */
@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
  }

  .hero__media {
    background-position: 70% center;
  }

  .hero__content {
    align-items: center;
    padding: 2.25rem 1.25rem 1.5rem;
  }

  .hero__inner {
    width: min(100%, 36rem);
  }

  /* Drop trapezoid SVG on tablet+mobile — clean rounded bar */
  .hero-nav-wrap {
    width: 100%;
    max-width: 100%;
    filter: none;
  }

  .hero-nav {
    background: var(--color-navy);
    border-radius: 1rem 1rem 0 0;
    padding: 0.35rem 0.5rem 0.5rem;
  }

  .hero-nav__shape {
    display: none;
  }

  /* 3 on top, 2 centered below */
  .hero-nav__list {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
  }

  .hero-nav__item:nth-child(1) { grid-column: 1 / 3; }
  .hero-nav__item:nth-child(2) { grid-column: 3 / 5; }
  .hero-nav__item:nth-child(3) { grid-column: 5 / 7; }
  .hero-nav__item:nth-child(4) { grid-column: 2 / 4; }
  .hero-nav__item:nth-child(5) { grid-column: 4 / 6; }

  .hero-nav__item:not(:last-child)::after {
    top: 18%;
    bottom: 18%;
  }

  .hero-nav__item:nth-child(3)::after,
  .hero-nav__item:nth-child(5)::after {
    display: none;
  }

  .hero-nav__item:nth-child(n + 4) {
    border-top: 1px solid var(--color-nav-divider);
  }

  .hero-nav__link {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
    padding: 1rem 0.4rem;
    font-size: 0.7rem;
  }

  .hero-nav__label {
    align-items: center;
  }

  .hero-nav__link i,
  .hero-nav__svg {
    width: 28px;
    height: 28px;
    font-size: 28px;
    line-height: 28px;
  }

  .services {
    padding: 3rem 0 2.5rem;
  }

  .feature-panel__media {
    aspect-ratio: 16 / 10;
    max-height: 320px;
  }

  .find-home-cta {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0.85rem;
  }

  .find-home-cta__copy {
    flex: 0 1 auto;
    width: 100%;
    text-align: center;
  }

  .find-home-cta__copy p {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  .find-home-cta__btn {
    margin-left: 0;
    margin-top: 0.35rem;
    width: min(100%, 280px);
  }

  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand p {
    max-width: 22rem;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Phones */
@media (max-width: 767.98px) {
  .hero__media {
    background-position: 80% center;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.2) 40%, rgba(10, 27, 51, 0.35) 100%),
      url("../images/hero-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero__content {
    padding: 1.75rem 1rem 1.25rem;
  }

  .hero__inner {
    width: 100%;
  }

  .hero-brand__logo {
    width: clamp(120px, 42vw, 160px);
  }

  .hero__title {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }

  .hero__subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.15rem;
  }

  .hero__ctas {
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  /* Mobile nav: horizontal scroll chips */
  .hero-nav {
    border-radius: 0.85rem 0.85rem 0 0;
    padding: 0.65rem 0.5rem 0.75rem;
  }

  .hero-nav__list {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.15rem;
  }

  .hero-nav__item {
    flex: 0 0 auto;
    min-width: 7.75rem;
    border-top: none !important;
  }

  .hero-nav__item:nth-child(n) {
    grid-column: auto;
  }

  .hero-nav__item:not(:last-child)::after {
    display: none;
  }

  .hero-nav__link {
    flex-direction: column;
    padding: 0.7rem 0.65rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
  }

  .hero-nav__link i,
  .hero-nav__svg {
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 24px;
  }

  .section-heading h2 {
    font-size: 1.45rem;
  }

  .service-card__body {
    padding: 1.35rem 1.15rem 1.25rem;
  }

  .feature-panels {
    padding-bottom: 2.25rem;
  }

  .feature-panel {
    padding: 1.1rem;
    margin-bottom: 1.1rem;
  }

  .feature-panel__title {
    flex-wrap: wrap;
    gap: 0.55rem;
    font-size: 1.35rem;
  }

  .feature-panel__title::after {
    flex-basis: 100%;
    min-width: 0;
  }

  .feature-list li {
    font-size: 0.92rem;
  }

  .find-home-cta {
    padding: 1.15rem;
  }

  .find-home-cta__title {
    font-size: 1.25rem;
  }

  .site-footer {
    padding-top: 2.5rem;
  }

  .footer-bottom {
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 575.98px) {
  .services {
    padding: 2.5rem 0 2rem;
  }

  .cta-btn__line1,
  .cta-btn__kicker {
    font-size: 0.86rem;
  }

  .cta-btn__line2 {
    font-size: 0.68rem;
  }

  .hero-nav__item {
    min-width: 7.25rem;
  }
}

/* Very small */
@media (max-width: 379.98px) {
  .hero__title {
    font-size: 1.28rem;
  }

  .hero-nav__item {
    min-width: 6.6rem;
  }

  .hero-nav__link {
    font-size: 0.58rem;
  }
}

/* ---------- Inner-page site header (all pages except home) ---------- */
.site-header {
  position: relative;
  z-index: 1050;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0, 28, 61, 0.1);
  overflow: visible;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__brand img {
  width: clamp(88px, 12vw, 120px);
  height: auto;
  display: block;
}

.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--color-navy);
  border-radius: 0.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.site-header__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .site-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header__nav {
  display: flex;
  align-items: center;
}

.site-header__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__link {
  position: relative;
  display: inline-block;
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  line-height: 1.2;
}

.site-header__link:hover {
  color: var(--color-gold-dark);
}

.site-header__link.is-active {
  color: var(--color-navy);
  font-weight: 700;
}

.site-header__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2.1rem;
  height: 2px;
  background: var(--color-gold);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* ---------- Inner-page banner + breadcrumb ---------- */
.page-banner {
  position: relative;
  min-height: 7.5rem;
  display: flex;
  align-items: center;
  background-color: var(--color-navy-deep);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 28, 61, 0.82) 0%,
    rgba(0, 28, 61, 0.62) 55%,
    rgba(0, 28, 61, 0.48) 100%
  );
}

.page-banner__inner {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-banner__breadcrumb {
  margin: 0;
}

.page-banner__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.page-banner__crumb {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
}

.page-banner__crumb:not(.is-current)::after {
  content: "/";
  margin-left: 0.55rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.page-banner__crumb a {
  color: rgba(255, 255, 255, 0.92);
}

.page-banner__crumb a:hover {
  color: var(--color-gold-light);
}

.page-banner__crumb.is-current span {
  color: var(--color-gold-light);
}

.page-banner__title {
  margin: 0.55rem 0 0;
  color: var(--color-white);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
}

/* ---------- Listings pages ---------- */
.listings-page {
  padding: 3.25rem 0 4.5rem;
  background: var(--color-off-white);
  min-height: 60vh;
}

.listings-page__intro {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.75rem;
}

.listings-page__title {
  margin: 0 0 0.85rem;
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
}

.listings-page__title::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 0.85rem auto 0;
  background: var(--color-gold);
  border-radius: 2px;
}

.listings-page__text {
  margin: 1.15rem 0 0;
  color: var(--color-navy-soft);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
}

.house-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid rgba(0, 28, 61, 0.1);
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(10, 27, 51, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.house-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.house-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d8dfe8;
}

.house-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.house-card:hover .house-card__media img {
  transform: scale(1.04);
}

.house-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.25rem 1.15rem 1.35rem;
  flex: 1;
}

.house-card__address {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.house-card__city {
  margin: 0 0 0.85rem;
  color: var(--color-navy-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.house-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: auto;
  padding: 0.72rem 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.house-card__btn:hover {
  background: var(--color-navy-soft);
  color: var(--color-white);
}

.house-card__btn i {
  font-size: 0.85rem;
}

@media (max-width: 991.98px) {
  .site-header__bar {
    flex-wrap: nowrap;
    min-height: 3.85rem;
  }

  .site-header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header__nav {
    display: none;
  }

  .listings-page {
    padding: 2.25rem 0 3rem;
  }

  .listings-page__intro {
    margin-bottom: 1.85rem;
  }

  .page-banner {
    min-height: 6.5rem;
  }

  .page-banner__crumbs {
    font-size: 0.82rem;
  }
}

@media (max-width: 575.98px) {
  .listings-page__text {
    font-size: 0.95rem;
  }

  .house-card__body {
    padding: 1.1rem 1rem 1.2rem;
  }
}
