:root {
  --navy: #17233a;
  --navy-soft: #243755;
  --green: #55745f;
  --green-dark: #31543b;
  --cream: #f7f5ef;
  --stone: #eeebe4;
  --text: #233044;
  --muted: #667085;
  --white: #ffffff;
  --border: #dedbd2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 30px;
}

.brand { display: flex; gap: 14px; align-items: center; }

.logo-mark {
  width: 54px;
  height: 54px;
  background: var(--navy);
  color: white;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: .08em;
}

.brand h1 { font-size: 22px; margin: 0; color: var(--navy); }
.brand p { margin: 0; font-size: 13px; color: var(--muted); }

nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav-button {
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
}

.hero {
  background:
    linear-gradient(rgba(23,35,58,0.60), rgba(23,35,58,0.60)),
    url('/hero-house.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  padding: 130px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.11);
  color: inherit;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.eyebrow.dark {
  background: #e5ece7;
  color: var(--green-dark);
}

.hero h2 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  margin: 22px 0;
  letter-spacing: -0.05em;
}

.hero p {
  color: #d9dee8;
  font-size: 18px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.primary-btn, .secondary-btn, .outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 700;
}

.primary-btn { background: var(--green); color: white; }
.secondary-btn { border: 1px solid rgba(255,255,255,.65); color: white; }
.outline-btn { border: 1px solid var(--navy); color: var(--navy); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px,1fr));
  gap: 10px;
  color: #e7eaf0;
  font-size: 14px;
}

.form-card {
  background: white;
  color: var(--text);
  padding: 30px;
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.form-card.light { box-shadow: none; border: 1px solid var(--border); }

.form-card h3 { margin: 0 0 6px; font-size: 26px; color: var(--navy); }
.form-card p { color: var(--muted); margin: 0 0 18px; }

form { display: grid; gap: 12px; }

input, textarea, select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font: inherit;
  background: white;
}

textarea { min-height: 105px; resize: vertical; }

button {
  border: 0;
  background: var(--navy);
  color: white;
  padding: 15px 18px;
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
}

.section { padding: 78px 0; background: var(--cream); }
.section.muted { background: var(--stone); }

.section-heading {
  max-width: 760px;
  text-align: center;
  margin: 0 auto 42px;
}

.section-heading h2, .split-heading h2, .two-col h2, .about-box h2 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  margin: 12px 0;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.section-heading p, .split-heading p, .two-col p, .about-box p { color: var(--muted); }

.cards, .service-grid, .listing-grid, .faq-grid {
  display: grid;
  gap: 20px;
}

.cards.four { grid-template-columns: repeat(4, 1fr); }

.cards article, .service-grid div, details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 25px;
}

.cards h3 { margin-top: 0; color: var(--navy); }

.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-grid div { font-weight: 700; color: var(--navy); }

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

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

.listing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
}

.listing-image {
  height: 230px;
  overflow: hidden;
}

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

.listing-content { padding: 24px; }
.listing-content h3 { margin: 0; color: var(--navy); }
.listing-content p { color: var(--muted); margin: 6px 0 14px; }
.listing-content strong { display: block; font-size: 20px; margin-bottom: 4px; }
.listing-content span { display: block; color: var(--muted); font-size: 14px; }
.listing-content a {
  display: block;
  text-align: center;
  background: var(--navy);
  color: white;
  margin-top: 18px;
  padding: 13px;
  border-radius: 16px;
  font-weight: 700;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.check-list { padding: 0; list-style: none; }
.check-list li { margin: 10px 0; }
.check-list li::before { content: "✓ "; color: var(--green-dark); font-weight: 700; }

.compliance-list {
  display: grid;
  gap: 14px;
}

.compliance-list div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  font-weight: 700;
}

.about-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 46px;
  text-align: center;
}

.faq-grid { grid-template-columns: 1fr 1fr; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details p { color: var(--muted); }

.cta {
  background: var(--green-dark);
  color: white;
  text-align: center;
  padding: 78px 0;
}

.cta h2 {
  font-size: clamp(32px,4vw,50px);
  margin: 0;
  letter-spacing: -0.04em;
}

.cta p { color: #d8eadc; font-size: 18px; }
.light-btn { background: white; color: var(--navy); margin-top: 10px; }

.legal {
  padding: 60px 0;
  background: white;
  border-top: 1px solid var(--border);
}

.legal h2 { color: var(--navy); font-size: 22px; }
.legal p { color: var(--muted); }

footer {
  background: var(--navy);
  color: white;
  padding: 38px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer p { color: #d5dbe6; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .cards.four, .service-grid, .listing-grid, .faq-grid { grid-template-columns: 1fr; }
  .split-heading, .footer-grid { flex-direction: column; align-items: start; }
  .hero { padding: 54px 0; }
  .form-card { padding: 22px; }
}
.logo-image {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(23, 35, 58, 0.18);
}

.brand {
  gap: 18px;
}

.brand h1 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.brand p {
  font-size: 14px;
}
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .nav {
    padding: 10px 0;
    gap: 12px;
  }

  .logo-image {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand h1 {
    font-size: 16px;
    line-height: 1.05;
  }

  .brand p {
    font-size: 11px;
    line-height: 1.2;
  }

  .hero {
    padding: 72px 0 48px;
    background-position: center;
  }

  .hero h2 {
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .outline-btn {
    width: 100%;
    padding: 15px 18px;
  }

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

  .form-card {
    padding: 22px;
    border-radius: 26px;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .split-heading h2,
  .two-col h2,
  .about-box h2 {
    font-size: 32px;
  }

  .listing-image {
    height: 210px;
  }

  .about-box {
    padding: 30px 22px;
    text-align: left;
  }
}
