:root {
  --navy: #071425;
  --navy-2: #0d2038;
  --gold: #c8932d;
  --gold-light: #e3ba63;
  --cream: #f7f4ed;
  --white: #ffffff;
  --ink: #132033;
  --muted: #647084;
  --line: #e5e8ec;
  --shadow: 0 20px 50px rgba(4, 14, 29, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10,22,38,.08);
}
.nav-wrap {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img {
  width: 380px;
  height: 92px;
  object-fit: contain;
  object-position: left center;
}
.nav { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 14px; }
.nav a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta {
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}

.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,15,29,.94) 0%, rgba(5,18,34,.78) 47%, rgba(5,18,34,.28) 100%),
    url("multifamily-building.jpg") center / cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 5%, black 50%, transparent 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 70px;
  padding: 88px 0;
}
.hero-copy { color: var(--white); max-width: 650px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.eyebrow.dark { color: #9a6c15; }
h1, h2, h3 { margin-top: 0; }
h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 24px;
}
.hero-copy > p {
  font-size: 20px;
  line-height: 1.7;
  color: #d8e0e9;
  max-width: 610px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0; }
.btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
  font: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #16110a; }
.btn-secondary { border-color: rgba(255,255,255,.3); color: white; background: rgba(255,255,255,.06); }
.btn-full { width: 100%; margin-top: 4px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; color: #afbbc9; font-size: 13px; }
.trust-row span:before { content: "•"; color: var(--gold-light); margin-right: 8px; }

.lead-card {
  background: rgba(255,255,255,.98);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.card-kicker { color: #9a6c15; font-weight: 800; font-size: 11px; letter-spacing: .16em; }
.lead-card h2 { font-family: "Playfair Display", serif; font-size: 31px; margin: 10px 0 8px; }
.lead-card > p { color: var(--muted); line-height: 1.6; margin-bottom: 24px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
input, textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d7dde4;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfd;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,147,45,.12); }
.optional { color: var(--muted); font-weight: 400; }
.form-note { font-size: 11px; color: var(--muted); margin: 11px 0 0; }
.form-success { margin-top: 12px; font-size: 13px; font-weight: 700; color: #306b3b; }

.section { padding: 96px 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.body-copy { font-size: 18px; line-height: 1.8; color: var(--muted); }
.body-copy p:first-child { margin-top: 0; }

.process { background: var(--cream); }
.section-heading { max-width: 670px; margin-bottom: 48px; }
.section-heading p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: white;
  padding: 34px;
  border-radius: 14px;
  border: 1px solid rgba(13,32,56,.08);
}
.step-number { font-family: "Playfair Display", serif; font-size: 42px; color: var(--gold); margin-bottom: 28px; }
.step-card h3 { font-size: 20px; }
.step-card p { color: var(--muted); line-height: 1.7; margin-bottom: 0; }

.why { background: var(--navy); color: white; }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.why-panel p { color: #bdc8d5; font-size: 17px; line-height: 1.8; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit { padding: 24px; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; background: rgba(255,255,255,.035); }
.icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #17110a; font-weight: 900; margin-bottom: 18px; }
.benefit h3 { font-size: 17px; margin-bottom: 8px; }
.benefit p { color: #aebac7; font-size: 14px; line-height: 1.6; margin: 0; }

.cta-section { padding: 72px 0; background: white; }
.cta-card {
  padding: 46px 52px;
  border-radius: 18px;
  background: linear-gradient(120deg, #0a1a2e, #112d4d);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-card h2 { font-family: "Playfair Display", serif; font-size: 38px; margin-bottom: 10px; }
.cta-card p { color: #b9c5d1; margin: 0; max-width: 700px; }

.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; }
.footer-brand img {
  width: 185px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}
.footer-copy { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.footer-copy span { color: var(--muted); }
.placeholder { font-size: 12px; }
.copyright { color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-grid, .split, .why-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; padding: 64px 0; }
  .hero-copy { max-width: 760px; }
  .split, .why-grid { gap: 42px; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-wrap { grid-template-columns: auto 1fr; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, 1160px); }
  .nav-wrap { min-height: 84px; }
  .brand img { width: 125px; height: 68px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .hero-grid { padding: 48px 0; }
  h1 { font-size: 47px; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .lead-card { padding: 24px; }
  .section { padding: 72px 0; }
  .benefits { grid-template-columns: 1fr; }
  .cta-card { padding: 32px 26px; }
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-brand img { width: 78px; }
}

/* v4: larger Lake Group 770 logo only */
@media (max-width: 620px) {
  .brand img {
    width: 155px;
    height: 78px;
  }
  .nav-wrap {
    min-height: 94px;
  }
}

/* v5: tightly cropped, more visible original logo */
@media (max-width: 620px) {
  .brand img {
    width: 190px;
    height: 68px;
    object-position: left center;
  }
  .nav-wrap {
    min-height: 82px;
  }
}

/* Final horizontal logo sizing */
@media (max-width: 900px) {
  .brand img {
    width: 285px;
    height: 78px;
  }
}
@media (max-width: 620px) {
  .brand img {
    width: 210px;
    height: 62px;
  }
}

/* FINAL approved high-resolution horizontal logo */
@media (max-width: 900px) {
  .brand img { width: 285px; height: 78px; }
}
@media (max-width: 620px) {
  .brand img { width: 210px; height: 62px; }
  .footer-brand img { width: 155px; height: 62px; }
}

/* CTA button cleanup */
.btn,
.nav-cta {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .01em;
}

.btn-primary,
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #17110a;
  box-shadow: 0 8px 18px rgba(200,147,45,.18);
}

.btn-primary:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

#contact {
  scroll-margin-top: 130px;
}

/* Corrected clean logo: no duplicate/mixed logo artwork */
@media (max-width: 900px) {
  .brand img { width: 300px; height: 78px; }
}
@media (max-width: 620px) {
  .brand img { width: 205px; height: 58px; }
  .footer-brand img { width: 155px; height: 50px; }
}

.hidden-field { display: none !important; }
