:root {
  --ink: #1d2430;
  --muted: #667083;
  --paper: #f6f4ef;
  --panel: #ffffff;
  --line: #ded8cc;
  --red: #c51f2f;
  --blue: #173d63;
  --green: #2f7a57;
  --gold: #c79b3c;
  --shadow: 0 18px 55px rgba(29, 36, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  text-decoration: none;
  font-weight: 700;
  color: var(--blue);
}

.brand img {
  width: 70px;
  height: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-content: end;
  gap: 34px;
  padding: clamp(84px, 12vw, 150px) clamp(20px, 6vw, 76px) 48px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23, 61, 99, 0.96) 0%, rgba(23, 61, 99, 0.82) 38%, rgba(29, 36, 48, 0.42) 100%),
    url("assets/property-hero.jpg") center / cover;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 900px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.16;
}

.intro {
  max-width: 680px;
  color: #edf3f8;
  font-size: 21px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #fff;
  border-radius: 6px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 910px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  min-height: 112px;
  padding: 22px;
  background: rgba(246, 244, 239, 0.94);
  color: var(--ink);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 28px;
}

.hero-metrics span {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 76px);
}

.strip {
  padding-top: 24px;
  padding-bottom: 24px;
  background: var(--blue);
  color: #fff;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
}

.section-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow),
.feature p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid,
.fee-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.fee-grid article,
.form-grid a,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 32px rgba(29, 36, 48, 0.07);
}

.service-grid article {
  min-height: 260px;
  padding: 24px;
}

.service-grid span {
  color: var(--red);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 900;
}

.service-grid p,
.fee-grid p,
.form-grid span,
.contact-card p,
footer {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.feature,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #fff;
}

.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eee8db;
  color: var(--blue);
}

.checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.checks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.fees {
  background: #efe9dd;
}

.compact {
  max-width: 680px;
}

.fee-grid article {
  padding: 24px;
}

.fee-grid strong {
  display: block;
  margin: 18px 0 12px;
  color: var(--red);
  font-size: 38px;
}

.forms {
  background: var(--paper);
}

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

.form-grid a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  text-decoration: none;
}

.form-grid strong,
.contact-card a {
  color: var(--blue);
  font-size: 20px;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 28px;
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 76px);
  background: #172033;
  color: #d7dfec;
  font-size: 14px;
}

.form-page {
  padding: clamp(34px, 5vw, 64px) clamp(18px, 5vw, 64px);
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1480px;
  margin: 0 auto;
}

.form-menu,
.engagement-form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 32px rgba(29, 36, 48, 0.07);
}

.form-menu {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.form-menu h1 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 36px;
  line-height: 1.05;
}

.form-menu p:not(.eyebrow),
.form-actions p {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.form-menu nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.form-menu nav a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.form-menu nav a.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.engagement-form-panel {
  padding: clamp(24px, 4vw, 44px);
}

.engagement-form-panel h2 {
  color: var(--blue);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field-textarea,
.field-checkbox,
.field-radio {
  grid-column: 1 / -1;
}

.field label,
.choice,
.notice {
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.field > label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.field > label span {
  color: var(--red);
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfc7b8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: 16px "Trebuchet MS", Verdana, sans-serif;
}

textarea {
  resize: vertical;
}

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

.choice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 32px;
  color: var(--muted);
  font-size: 15px;
}

.choice input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.form-actions p {
  margin: 0;
}

.notice {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 800;
}

.notice.success {
  background: #e7f4ed;
  color: #1f6b49;
}

.notice.error {
  background: #f8e6e8;
  color: #9d1d2b;
}

.website-field {
  position: absolute;
  left: -9999px;
}

.resource-page h1 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

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

.bank-card {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 172px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 32px rgba(29, 36, 48, 0.07);
  color: var(--blue);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.bank-card img {
  max-width: 190px;
  max-height: 82px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-metrics,
  .summary,
  .service-grid,
  .fee-grid,
  .form-grid,
  .form-shell,
  .bank-grid,
  .feature,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .form-menu {
    position: static;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 58px;
  }

  .nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-metrics,
  .summary,
  .service-grid,
  .fee-grid,
  .form-grid,
  .form-shell,
  .field-grid,
  .choice-group,
  .bank-grid,
  .feature,
  .contact {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  footer {
    flex-direction: column;
  }
}
