:root {
  --navy: #0f2744;
  --gold: #c8a24d;
  --white: #ffffff;
  --light-gray: #f4f4f4;
  --ink: #1b2430;
  --muted: #6b7280;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--light-gray);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

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

input,
select,
button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(15, 39, 68, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(200, 162, 77, 0.35);
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
  padding: 5px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(200, 162, 77, 0.65);
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 800;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  color: var(--navy);
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.main-nav a {
  border-radius: 8px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 12px;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(15, 39, 68, 0.08);
  color: var(--navy);
  outline: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
  padding: 0 18px;
  box-shadow: 0 12px 24px rgba(200, 162, 77, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #d8b45f;
  box-shadow: 0 16px 30px rgba(200, 162, 77, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 39, 68, 0.92) 0%, rgba(15, 39, 68, 0.74) 36%, rgba(15, 39, 68, 0.18) 72%),
    linear-gradient(0deg, rgba(15, 39, 68, 0.24), rgba(15, 39, 68, 0.02));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 74px 0 66px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(200, 162, 77, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3d991;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0 12px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin-top: 26px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero-slogan {
  max-width: 620px;
  margin-top: 20px;
  color: #f7e7bd;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.18;
}

.hero-copy {
  max-width: 610px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
  line-height: 1.72;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  padding: 0 20px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #d8b45f;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.16);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-proof span {
  display: inline-grid;
  gap: 4px;
  min-width: 158px;
  border-left: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.25;
  padding-left: 14px;
}

.hero-proof strong {
  color: var(--white);
  font-size: 1.25rem;
}

.search-section {
  position: relative;
  z-index: 2;
  margin-top: -58px;
  background: var(--white);
  padding: 42px 0 28px;
}

.search-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(15, 39, 68, 0.16);
  padding: 24px;
}

.search-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.search-heading span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-heading h2 {
  color: var(--navy);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: right;
}

.property-search {
  display: grid;
  gap: 16px;
}

.search-tabs {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
  border: 1px solid rgba(15, 39, 68, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  padding: 5px;
}

.search-tabs label {
  position: relative;
  cursor: pointer;
}

.search-tabs input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.search-tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 7px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0 18px;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.search-tabs input:checked + span {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(15, 39, 68, 0.18);
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field span {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.search-field input,
.search-field select {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(15, 39, 68, 0.14);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.94rem;
  padding: 0 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-field select {
  cursor: pointer;
}

.search-field input::placeholder {
  color: #94a3b8;
}

.search-field input:focus,
.search-field select:focus {
  border-color: rgba(200, 162, 77, 0.86);
  box-shadow: 0 0 0 4px rgba(200, 162, 77, 0.16);
}

.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
  padding: 0 18px;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.search-button:hover,
.search-button:focus-visible {
  background: #d8b45f;
  box-shadow: 0 14px 28px rgba(200, 162, 77, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.trust-section {
  padding: 38px 0 76px;
  background: var(--white);
}

.trust-container {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 48px;
  align-items: center;
}

.section-kicker {
  display: inline-flex;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-copy h2 {
  max-width: 520px;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.trust-copy p {
  max-width: 500px;
  margin-top: 18px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
}

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

.trust-metric {
  display: grid;
  min-height: 154px;
  align-content: space-between;
  border: 1px solid rgba(15, 39, 68, 0.09);
  border-radius: 8px;
  background: #f8fafc;
  padding: 20px;
}

.trust-metric:nth-child(1),
.trust-metric:nth-child(2) {
  grid-column: span 3;
}

.trust-metric:nth-child(3),
.trust-metric:nth-child(4),
.trust-metric:nth-child(5) {
  grid-column: span 2;
}

.trust-metric dt {
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.trust-metric dd {
  color: #64748b;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
}

.featured-section {
  padding: 78px 0;
  background: var(--light-gray);
}

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

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-header h2 {
  max-width: 720px;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid rgba(15, 39, 68, 0.16);
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0 16px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.section-link:hover,
.section-link:focus-visible {
  border-color: rgba(200, 162, 77, 0.8);
  background: rgba(200, 162, 77, 0.12);
  outline: none;
  transform: translateY(-1px);
}

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

.property-card {
  overflow: hidden;
  border: 1px solid rgba(15, 39, 68, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(15, 39, 68, 0.08);
}

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe5ec;
}

.property-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.property-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 8px;
  background: rgba(15, 39, 68, 0.9);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0 10px;
}

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

.property-title-row {
  display: grid;
  gap: 8px;
}

.property-title-row h3 {
  color: var(--navy);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.2;
}

.property-title-row strong {
  color: var(--gold);
  font-size: 1.18rem;
  font-weight: 800;
}

.property-body p {
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.45;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.property-features li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(15, 39, 68, 0.1);
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0 10px;
}

.property-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.property-link:hover,
.property-link:focus-visible {
  background: #17375e;
  outline: none;
  transform: translateY(-1px);
}

.services-section {
  padding: 78px 0;
  background: var(--white);
}

.section-intro {
  max-width: 410px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

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

.service-card {
  display: grid;
  min-height: 248px;
  align-content: start;
  gap: 18px;
  border: 1px solid rgba(15, 39, 68, 0.09);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(200, 162, 77, 0.45);
  box-shadow: 0 18px 38px rgba(15, 39, 68, 0.08);
  transform: translateY(-2px);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 800;
}

.service-card h3 {
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
}

.service-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.68;
}

.advantages-section {
  padding: 86px 0;
  background: var(--navy);
  color: var(--white);
}

.advantages-container {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 46px;
  align-items: start;
}

.advantages-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.advantages-copy h2 {
  max-width: 520px;
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.advantages-copy p {
  max-width: 480px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

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

.advantage-card {
  display: grid;
  min-height: 224px;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
}

.advantage-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.advantage-card h3 {
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
}

.advantage-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.65;
}

.process-section {
  padding: 78px 0;
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  counter-reset: process;
}

.process-step {
  position: relative;
  display: grid;
  min-height: 278px;
  align-content: start;
  gap: 28px;
  border: 1px solid rgba(15, 39, 68, 0.1);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 24px;
}

.process-step::after {
  position: absolute;
  top: 43px;
  right: -14px;
  width: 14px;
  height: 1px;
  background: rgba(15, 39, 68, 0.18);
  content: "";
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(200, 162, 77, 0.55);
  border-radius: 8px;
  background: rgba(200, 162, 77, 0.12);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.process-step h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.process-step p {
  margin-top: 12px;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.68;
}

.about-section {
  padding: 86px 0;
  background: linear-gradient(180deg, #f8fafc 0%, var(--light-gray) 100%);
}

.about-container {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 46px;
  align-items: center;
}

.about-content h2 {
  max-width: 720px;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.about-content p {
  max-width: 720px;
  margin-top: 18px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.78;
}

.about-panel {
  display: grid;
  gap: 12px;
}

.about-panel article {
  border: 1px solid rgba(15, 39, 68, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(15, 39, 68, 0.07);
  padding: 24px;
}

.about-panel span {
  display: inline-flex;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-panel p {
  margin-top: 12px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.testimonials-section {
  padding: 78px 0;
  background: var(--white);
}

.rating-summary {
  display: grid;
  min-width: 160px;
  gap: 4px;
  border-left: 2px solid var(--gold);
  padding-left: 16px;
}

.rating-summary strong {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.rating-summary span {
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 700;
}

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

.testimonial-card {
  display: grid;
  min-height: 294px;
  align-content: space-between;
  gap: 28px;
  border: 1px solid rgba(15, 39, 68, 0.09);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 26px;
}

.testimonial-card blockquote {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.62;
}

.testimonial-card figcaption {
  display: grid;
  gap: 5px;
}

.testimonial-card figcaption strong {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 800;
}

.testimonial-card figcaption span {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.final-cta-section {
  padding: 86px 0;
  background:
    linear-gradient(135deg, rgba(200, 162, 77, 0.18) 0%, rgba(200, 162, 77, 0) 42%),
    var(--navy);
  color: var(--white);
}

.final-cta-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 44px;
  align-items: center;
}

.final-cta-copy h2 {
  max-width: 760px;
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.final-cta-copy p {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
  line-height: 1.75;
}

.final-cta-actions {
  display: grid;
  min-width: 280px;
  gap: 12px;
}

.final-cta-details {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  border-left: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  padding-left: 14px;
}

.contact-section {
  padding: 86px 0;
  background: var(--light-gray);
}

.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 40px;
  align-items: stretch;
}

.contact-info h2 {
  max-width: 680px;
  margin-top: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.contact-info p {
  max-width: 650px;
  margin-top: 18px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
}

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

.contact-item {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 39, 68, 0.09);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.contact-item span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-item strong {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.map-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(15, 39, 68, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(15, 39, 68, 0.09);
}

.map-visual {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(15, 39, 68, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 39, 68, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #e8edf4 0%, #f8fafc 100%);
  background-size: 66px 66px, 66px 66px, auto;
}

.map-visual::before,
.map-visual::after {
  position: absolute;
  content: "";
}

.map-visual::before {
  top: 44%;
  left: -8%;
  width: 116%;
  height: 28px;
  background: rgba(200, 162, 77, 0.48);
  transform: rotate(-12deg);
}

.map-visual::after {
  top: -8%;
  left: 56%;
  width: 28px;
  height: 116%;
  background: rgba(15, 39, 68, 0.16);
  transform: rotate(18deg);
}

.map-pin {
  position: absolute;
  top: 48%;
  left: 48%;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 8px solid var(--white);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 16px 28px rgba(15, 39, 68, 0.24);
}

.map-pin::after {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.map-caption {
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(15, 39, 68, 0.08);
  padding: 22px;
}

.map-caption strong {
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 800;
}

.map-caption span {
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer {
  background: #081a2e;
  color: var(--white);
  padding: 58px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(0, 0.7fr));
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 34px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-text {
  display: grid;
  line-height: 1;
}

.footer-brand-text strong {
  color: var(--white);
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-brand-text small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand-block p {
  max-width: 280px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.65;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h2,
.footer-contact h2 {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--white);
  outline: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 44px auto 0;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 22px 0;
}

@media (max-width: 820px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .brand {
    margin-right: auto;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 2px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 39, 68, 0.94) 0%, rgba(15, 39, 68, 0.78) 52%, rgba(15, 39, 68, 0.38) 100%),
      linear-gradient(0deg, rgba(15, 39, 68, 0.26), rgba(15, 39, 68, 0.08));
  }

  .hero-content {
    padding: 58px 0 52px;
  }

  .search-section {
    padding-bottom: 24px;
  }

  .search-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .search-heading h2 {
    text-align: left;
  }

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

  .search-field-wide,
  .search-button {
    grid-column: 1 / -1;
  }

  .search-button {
    width: 100%;
  }

  .trust-section {
    padding: 34px 0 62px;
  }

  .trust-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trust-copy h2,
  .trust-copy p {
    max-width: 680px;
  }

  .featured-section {
    padding: 64px 0;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

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

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

  .property-media {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .services-section {
    padding: 64px 0;
  }

  .section-intro {
    max-width: 680px;
  }

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

  .advantages-section {
    padding: 66px 0;
  }

  .advantages-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantages-copy {
    position: static;
  }

  .advantages-copy h2,
  .advantages-copy p {
    max-width: 680px;
  }

  .process-section {
    padding: 64px 0;
  }

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

  .process-step::after {
    display: none;
  }

  .about-section {
    padding: 66px 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .testimonials-section {
    padding: 64px 0;
  }

  .rating-summary {
    min-width: auto;
  }

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

  .testimonial-card {
    min-height: auto;
  }

  .final-cta-section {
    padding: 66px 0;
  }

  .final-cta-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .final-cta-actions {
    min-width: 0;
    width: min(100%, 420px);
  }

  .contact-section {
    padding: 66px 0;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .map-visual {
    min-height: 320px;
  }

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

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-container {
    width: min(100% - 28px, 1180px);
    gap: 14px;
  }

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

  .brand-text strong {
    font-size: 1.02rem;
  }

  .brand-text small {
    font-size: 0.7rem;
  }

  .header-cta {
    min-height: 40px;
    font-size: 0.84rem;
    padding: 0 12px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 46px 0 42px;
  }

  .hero-kicker {
    font-size: 0.68rem;
    min-height: 30px;
  }

  .hero h1 {
    font-size: clamp(2.58rem, 16vw, 4.3rem);
    margin-top: 22px;
  }

  .hero-slogan {
    font-size: 1.2rem;
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.62;
  }

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

  .btn {
    width: 100%;
  }

  .hero-proof span {
    min-width: 132px;
    flex: 1 1 132px;
  }

  .search-section {
    padding-bottom: 20px;
  }

  .search-panel {
    width: min(100% - 28px, 1180px);
    padding: 18px;
  }

  .search-tabs {
    width: 100%;
  }

  .search-tabs label {
    flex: 1;
  }

  .search-tabs span {
    width: 100%;
    padding: 0 10px;
  }

  .search-fields {
    grid-template-columns: 1fr;
  }

  .trust-section {
    padding: 30px 0 48px;
  }

  .trust-container {
    width: min(100% - 28px, 1180px);
  }

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

  .trust-metric,
  .trust-metric:nth-child(1),
  .trust-metric:nth-child(2),
  .trust-metric:nth-child(3),
  .trust-metric:nth-child(4),
  .trust-metric:nth-child(5) {
    grid-column: auto;
  }

  .trust-metric {
    min-height: 128px;
  }

  .featured-section {
    padding: 50px 0;
  }

  .section-container {
    width: min(100% - 28px, 1180px);
  }

  .section-link {
    width: 100%;
  }

  .property-card {
    display: block;
  }

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

  .services-section {
    padding: 50px 0;
  }

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

  .service-card {
    min-height: auto;
  }

  .advantages-section {
    padding: 52px 0;
  }

  .advantages-container {
    width: min(100% - 28px, 1180px);
  }

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

  .advantage-card,
  .advantage-card-wide {
    grid-column: auto;
    min-height: auto;
  }

  .process-section {
    padding: 50px 0;
  }

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

  .process-step {
    min-height: auto;
  }

  .about-section {
    padding: 52px 0;
  }

  .about-container {
    width: min(100% - 28px, 1180px);
  }

  .testimonials-section {
    padding: 50px 0;
  }

  .final-cta-section {
    padding: 52px 0;
  }

  .final-cta-container {
    width: min(100% - 28px, 1180px);
  }

  .final-cta-actions {
    width: 100%;
  }

  .contact-section {
    padding: 52px 0;
  }

  .contact-container {
    width: min(100% - 28px, 1180px);
  }

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

  .map-visual {
    min-height: 260px;
  }

  .site-footer {
    padding-top: 46px;
  }

  .footer-container,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-brand-block {
    grid-column: auto;
  }
}
