:root {
  --navy: #050814;
  --navy-2: #0d1326;
  --blue: #132238;
  --gold: #c8b45a;
  --gold-soft: #f4edc7;
  --teal: #2f7d7a;
  --sky: #dbeaf3;
  --ink: #1f2933;
  --muted: #667085;
  --line: #d9e0ea;
  --paper: #f5f7fb;
  --white: #ffffff;
  --green: #dfeadd;
  --clay: #eaded6;
  --shadow: 0 18px 48px rgba(13, 25, 55, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdf5 0, var(--paper) 320px),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.wrap {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.98), rgba(12, 22, 39, 0.98) 58%, rgba(5, 8, 20, 0.98)),
    var(--navy);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(5, 8, 20, 0.22);
}

.header-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
}

.brand img {
  width: 244px;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

nav a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

nav a:hover {
  background: var(--gold);
  color: #111827;
  transform: translateY(-1px);
}

.hero {
  padding: clamp(58px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(200, 180, 90, 0.26), transparent 28%),
    radial-gradient(circle at 7% 90%, rgba(47, 125, 122, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(5, 8, 20, 0.95), rgba(13, 19, 38, 0.82)),
    linear-gradient(135deg, var(--navy), var(--navy-2) 70%, #4d4730);
  color: var(--white);
}

.hero-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.contact-grid p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 690px;
}

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

.button,
.listing-card a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #111827;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.agent-card,
.contact-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}

.agent-card {
  grid-template-columns: 92px 1fr;
  align-items: center;
}

.agent-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
}

.agent-card strong,
.contact-card strong {
  display: block;
  font-size: 1.2rem;
}

.agent-card span,
.contact-card span {
  color: var(--muted);
}

.agent-card a,
.contact-card a {
  color: var(--blue);
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
}

input,
select {
  width: 100%;
  height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.listings-section {
  padding: clamp(54px, 8vw, 88px) 0;
  background:
    linear-gradient(180deg, var(--white), #fbf8ea 54%, var(--white));
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

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

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

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(5, 8, 20, 0.18);
}

.listing-card:nth-child(3n + 1) {
  border-top: 5px solid var(--gold);
}

.listing-card:nth-child(3n + 2) {
  border-top: 5px solid var(--teal);
}

.listing-card:nth-child(3n) {
  border-top: 5px solid #8a6f3d;
}

.listing-photo {
  position: relative;
  overflow: hidden;
  background: #eef1f6;
}

.listing-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #eef1f6;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(5, 8, 20, 0.78);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.gallery-arrow:hover {
  background: var(--gold);
  color: #111827;
}

.gallery-arrow.prev {
  left: 10px;
}

.gallery-arrow.next {
  right: 10px;
}

.gallery-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(5, 8, 20, 0.76);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
}

.listing-card div {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.status {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 4px;
  background: #f3edcf;
  color: #5a4e19;
  font-size: 0.76rem;
  font-weight: 900;
}

.location,
.listing-card p {
  margin: 0;
  color: var(--muted);
}

.price {
  color: var(--navy);
  font-size: 1.45rem;
}

.listing-card a {
  width: fit-content;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
}

.steps-section,
.tool-section,
.seller-section,
.about-section {
  padding: clamp(48px, 7vw, 76px) 0;
  background: var(--white);
}

.seller-section {
  background:
    linear-gradient(135deg, var(--sky), var(--paper) 42%, #fffaf0);
}

.about-section {
  background:
    linear-gradient(135deg, var(--white), #eef7f4);
}

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

.tool-grid,
.seller-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.tool-grid p,
.seller-grid p,
.about-grid p {
  color: var(--muted);
}

.calculator-card,
.value-card,
.about-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}

.calculator-card label {
  color: var(--ink);
}

.calculator-card input,
.calculator-card select {
  border: 1px solid var(--line);
  background: var(--paper);
}

.calc-result {
  display: block;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 900;
  text-align: center;
}

.value-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  padding-left: 20px;
  position: relative;
  color: var(--muted);
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.value-card a,
.about-card a {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.about-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.about-card strong {
  font-size: 1.25rem;
}

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

.step-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), #f8f4e8 58%, #edf7f4);
}

.step-card span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

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

.contact-section {
  padding: clamp(50px, 8vw, 86px) 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(200, 180, 90, 0.24), transparent 26%),
    linear-gradient(135deg, var(--navy), var(--navy-2) 62%, #14302f);
  color: var(--white);
}

footer {
  padding: 22px 0;
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 980px) {
  .header-row,
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    padding: 12px 0;
    justify-items: center;
  }

  nav {
    justify-content: center;
  }

  .listing-grid,
  .steps-grid,
  .tool-grid,
  .seller-grid,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 190px;
  }

  .listing-grid,
  .steps-grid,
  .tool-grid,
  .seller-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .agent-card {
    grid-template-columns: 1fr;
  }
}
