/* DVT Construction & Designs LLC — clean, professional, responsive */
:root {
  --navy: #1a2a3a;
  --navy-2: #243a52;
  --accent: #b8893c;        /* warm brass accent, used sparingly */
  --ink: #1a1a1a;
  --text: #3a3a3a;
  --muted: #6b7280;
  --line: #e6e8eb;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --radius: 6px;
  --container: 1140px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 4px 16px rgba(15,23,42,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 .6rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { height: 44px; width: auto; flex-shrink: 0; }
.brand:hover { opacity: .85; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--line); border-radius: 6px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; display: block;
  width: 20px; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top:  6px; }

.nav-links {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: .5rem 1.25rem 1rem;
}
.nav-links.open { display: flex; }
.nav-links a {
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 500;
}
.nav-links a:last-of-type { border-bottom: 0; }
.nav-links a.active { color: var(--accent); }
.nav-cta { margin-top: .75rem; }

@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .nav-links a { padding: 0; border: 0; font-size: .95rem; }
  .nav-cta { margin: 0 0 0 .5rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  background: var(--navy); color: #fff;
  padding: .8rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--navy);
  font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn.btn-outline {
  background: transparent; color: var(--navy);
}
.btn.btn-outline:hover { background: var(--navy); color: #fff; }
.btn.btn-light {
  background: #fff; color: var(--navy); border-color: #fff;
}
.btn.btn-light:hover { background: var(--bg-soft); color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15,23,35,.55), rgba(15,23,35,.7)),
    url("/images/hero.jpg") center/cover no-repeat;
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: rgba(255,255,255,.9); max-width: 56ch; font-size: 1.1rem; }
.hero .actions {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem;
}

/* ---------- Page header (sub pages) ---------- */
.page-header {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
}
.page-header h1 { margin-bottom: .5rem; }
.page-header p { color: var(--muted); max-width: 60ch; margin: 0; }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.bg-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-head { max-width: 680px; margin-bottom: 2.25rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- Layout helpers ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .split.reverse > :first-child { order: 2; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover { border-color: #d8dde3; box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--bg-soft); color: var(--navy);
  display: grid; place-items: center;
  margin-bottom: .9rem;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .35rem; font-size: 1.1rem; }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--navy); color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 1.5rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
}

.contact-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child  { padding-bottom: 0; border-bottom: 0; }
.contact-item .icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg-soft); color: var(--navy);
  display: grid; place-items: center;
}
.contact-item .icon svg { width: 20px; height: 20px; }
.contact-item h4 {
  margin: 0 0 .15rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-item p, .contact-item a {
  margin: 0;
  color: var(--ink); font-weight: 500;
  word-break: break-word;
}

form.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label {
  font-size: .82rem; font-weight: 600;
  color: var(--ink); margin-bottom: .35rem;
}
.field input,
.field textarea,
.field select {
  font: inherit; color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .75rem .85rem;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,42,58,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.form-status {
  margin-top: .75rem; font-size: .9rem;
  color: var(--navy); min-height: 1.2em;
}

.map-block {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.map-block iframe {
  width: 100%;
  height: clamp(260px, 40vw, 380px);
  border: 0; display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.25rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
}
.site-footer .footer-brand img { height: 40px; margin-bottom: .75rem; }
.site-footer p { color: var(--muted); font-size: .92rem; max-width: 38ch; margin: 0; }
.site-footer h4 {
  color: var(--ink);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .75rem;
}
.site-footer a { display: block; padding: .2rem 0; color: var(--text); font-size: .95rem; }
.site-footer a:hover { color: var(--navy); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  justify-content: space-between;
  font-size: .82rem; color: var(--muted);
}

/* ---------- Skip link / accessibility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
