:root {
  --ink: #17202a;
  --muted: #5e6b78;
  --line: #dbe3ea;
  --panel: #f6f8fa;
  --white: #ffffff;
  --navy: #001d31;
  --blue: #0f5f8f;
  --teal: #0c7c75;
  --gold: #c89434;
  --red: #b81f32;
  --shadow: 0 18px 40px rgba(20, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  text-decoration: none;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 228px;
}

.brand-logo {
  width: 224px;
  max-width: 34vw;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--panel);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 6px;
  font-size: 1.4rem;
  cursor: pointer;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.secondary {
  color: var(--white);
  background: var(--navy);
}

.button.ghost {
  color: var(--navy);
  border-color: var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 29, 49, 0.9) 0%, rgba(0, 29, 49, 0.74) 38%, rgba(0, 29, 49, 0.2) 72%),
    url("relocation-hero.png") center / cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 95px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  z-index: -1;
}

.hero-content {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 118px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 750px;
  font-size: clamp(2.55rem, 6vw, 5.5rem);
}

.hero p {
  max-width: 650px;
  margin: 22px 0 28px;
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 74px 0;
}

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

.section.dark {
  background: var(--navy);
  color: var(--white);
}

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

.section-title h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 760px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 430px;
}

.dark .section-title p,
.dark .muted {
  color: rgba(255, 255, 255, 0.76);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 4px 18px rgba(20, 32, 42, 0.05);
}

.card h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
}

.card p {
  margin: 0;
}

.card ul,
.check-list {
  margin: 14px 0 0;
  padding-left: 19px;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: var(--white);
  padding: 24px;
}

.stat strong {
  display: block;
  color: var(--red);
  font-size: 1.85rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 42px;
  align-items: center;
}

.split h2,
.page-hero h1 {
  font-size: clamp(2.15rem, 4vw, 4rem);
}

.split p,
.page-hero p {
  color: var(--muted);
  font-size: 1.06rem;
}

.image-panel {
  min-height: 390px;
  border-radius: 8px;
  background: url("relocation-hero.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 78px 0;
  background: linear-gradient(90deg, #eef4f8 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 42px;
  align-items: center;
}

.page-hero p {
  max-width: 680px;
}

.quick-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 28px;
}

.quick-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
}

.process .card::before {
  counter-increment: step;
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.search-frame {
  width: 100%;
  height: 760px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.widget-wrap {
  display: grid;
  place-items: center;
  padding: 26px;
  background: #eef4f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-strip {
  background: var(--red);
  color: var(--white);
  padding: 34px 0;
}

.contact-strip .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-strip h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.contact-strip p {
  margin: 6px 0 0;
}

.site-footer {
  background: #101820;
  color: var(--white);
  padding: 48px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(140px, 0.7fr));
  gap: 28px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

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

.site-footer a {
  display: block;
  text-decoration: none;
  margin: 7px 0;
}

.fine-print {
  width: min(1160px, calc(100% - 32px));
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  font-weight: 800;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  background: var(--white);
}

.contact-form textarea {
  min-height: 140px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 10px;
  }

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

  .grid.three,
  .grid.two,
  .split,
  .page-hero .section-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-title,
  .contact-strip .section-inner {
    display: block;
  }

  .section-title p,
  .contact-strip .btn-row {
    margin-top: 14px;
  }

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

@media (max-width: 620px) {
  .topbar-inner {
    display: block;
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 170px;
    max-width: 56vw;
  }

  .hero {
    min-height: 580px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 29, 49, 0.94) 0%, rgba(0, 29, 49, 0.74) 62%, rgba(0, 29, 49, 0.38) 100%),
      url("relocation-hero.png") center / cover no-repeat;
  }

  .section {
    padding: 54px 0;
  }

  .stat-band {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .search-frame {
    height: 680px;
  }
}
