/*
Theme Name: DMV Development
Theme URI: https://dmvdevelopment.com/
Author: DMV Development
Description: Custom WordPress theme for DMV Development, a general contractor focused on land preparation, utility installation, and infrastructure management.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: dmv-development
*/

:root {
  --ink: #101214;
  --steel: #252a2d;
  --concrete: #f2f0ea;
  --dust: #d9d1c3;
  --safety: #d96f22;
  --safety-dark: #9d4615;
  --white: #ffffff;
  --muted: #6f7477;
  --line: rgba(16, 18, 20, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--concrete);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img,
input,
select,
textarea,
button {
  max-width: 100%;
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(16, 18, 20, 0.94);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-bar .site-header {
  top: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 42px;
  background: var(--safety);
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

.brand-text {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(86svh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.92) 0%, rgba(16, 18, 20, 0.7) 43%, rgba(16, 18, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 18, 20, 0.58), rgba(16, 18, 20, 0.08));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 90px);
  padding: 44px 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--safety);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4.35vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--safety);
  color: var(--ink);
  border-color: var(--safety);
}

.button-primary:hover,
.button-primary:focus {
  background: #ef842f;
  border-color: #ef842f;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.06);
}

.section,
.band-inner,
.cta-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.body-copy {
  color: var(--steel);
  font-size: 1.1rem;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 430px;
  padding: 28px;
  background: var(--white);
  border-top: 6px solid var(--safety);
  box-shadow: 0 18px 42px rgba(16, 18, 20, 0.08);
}

.service-number {
  display: block;
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card p {
  color: var(--steel);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.band {
  background: var(--ink);
  color: var(--white);
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(64px, 9vw, 112px) 0;
}

.approach-list {
  display: grid;
  gap: 18px;
}

.approach-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.coverage-panel {
  padding: 30px;
  background: var(--white);
  border-left: 6px solid var(--safety);
}

.stats {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
}

.stats div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.stats dt {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.stats dd {
  margin: 0;
  color: var(--steel);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  padding: clamp(64px, 9vw, 112px) 0;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
  background: var(--ink);
  color: var(--white);
}

.quote-form label,
.quote-form .full {
  display: grid;
  gap: 8px;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form span {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 13px 14px;
}

.quote-form select option {
  color: var(--ink);
}

.quote-form textarea {
  resize: vertical;
}

.form-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  font-weight: 800;
}

.form-message-success {
  background: rgba(73, 173, 106, 0.18);
  color: #d9ffe4;
  border: 1px solid rgba(161, 232, 183, 0.45);
}

.form-message-error {
  background: rgba(217, 111, 34, 0.18);
  color: #ffe3d0;
  border: 1px solid rgba(239, 132, 47, 0.55);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(18px, 4vw, 56px);
  background: var(--steel);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
}

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

  .admin-bar .site-header {
    top: 0;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 18, 20, 0.94), rgba(16, 18, 20, 0.68)),
      linear-gradient(0deg, rgba(16, 18, 20, 0.64), rgba(16, 18, 20, 0.12));
  }

  .section-grid,
  .split,
  .band-inner,
  .cta-section,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 28px;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .hero-content {
    width: min(100% - 32px, 760px);
    margin: 0 auto;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .stats div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
