/* KDG Housing — kdghousing.com */
:root {
  --navy: #0a2a4d;
  --navy-deep: #071d36;
  --green: #2f9e5f;
  --green-dark: #247a49;
  --ink: #1b2b3c;
  --muted: #5b6b7d;
  --bg: #ffffff;
  --bg-soft: #f4f8f6;
  --line: #e2e9e5;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(10, 42, 77, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: #bcd6c6;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  color: #dce8e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  padding: 9px 14px;
  border-radius: 9px;
}
.main-nav a:hover { background: rgba(255,255,255,0.10); color: #fff; }
.main-nav a.active { background: rgba(255,255,255,0.14); color: #fff; }
.header-cta {
  background: var(--green);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-dark) !important; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 60%, #0d3a2a 100%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  max-width: 16ch;
  margin-bottom: 16px;
}
.hero .sub {
  font-size: clamp(17px, 2.4vw, 21px);
  color: #cfe3d7;
  max-width: 52ch;
  margin-bottom: 28px;
}
.hero .badge {
  display: inline-block;
  background: rgba(47, 158, 95, 0.18);
  border: 1px solid rgba(47, 158, 95, 0.55);
  color: #9fe0b8;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(47,158,95,0.35); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border: 2px solid rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.section h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.25;
}
.section .lede { color: var(--muted); font-size: 18.5px; max-width: 62ch; margin-bottom: 30px; }
.eyebrow {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 16px; }

.check-list { list-style: none; margin: 18px 0; }
.check-list li {
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 24px; height: 24px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps { counter-reset: step; list-style: none; margin: 20px 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 20px 72px;
  position: relative;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px; top: 18px;
  width: 36px; height: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { color: var(--navy); }

.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption {
  background: var(--navy);
  color: #cfe3d7;
  font-size: 14px;
  padding: 12px 18px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 10px; }
.cta-band p { color: #e6f4ec; font-size: 18px; margin-bottom: 24px; }
.cta-band .btn { background: #fff; color: var(--green-dark); }
.cta-band .btn:hover { background: #f0f7f2; }
.cta-band .alt-contact { margin-top: 18px; color: #e6f4ec; font-size: 16px; }
.cta-band .alt-contact a { color: #fff; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9bdcf; padding: 48px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer a { color: #cfe3d7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #7e93a8;
}

/* ---------- Contact rows ---------- */
.contact-rows { display: grid; gap: 14px; margin: 24px 0 30px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
}
.contact-row:hover { border-color: var(--green); }
.contact-row .icon {
  width: 46px; height: 46px; flex: 0 0 46px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.contact-row strong { display: block; color: var(--navy); font-size: 17px; }
.contact-row span { color: var(--muted); font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .header-inner { padding: 12px 18px; }
  .section { padding: 48px 0; }
  .hero { padding: 54px 0 48px; }
}
