/* Downey's Excavation - site styles */
:root {
  --charcoal: #1b1c1e;
  --charcoal-light: #2a2c2f;
  --steel: #4a5259;
  --safety-orange: #e8590c;
  --safety-orange-dark: #c9490a;
  --dirt-tan: #c9a870;
  --off-white: #f4f2ee;
  --white: #ffffff;
  --text-muted: #8a8f94;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--safety-orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand span { color: var(--safety-orange); }

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--off-white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--safety-orange);
  border-bottom-color: var(--safety-orange);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.phone-link span { color: var(--safety-orange); }

.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--safety-orange);
  color: var(--white);
}

.btn-primary:hover { background: var(--safety-orange-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--charcoal); }

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(27,28,30,0.88), rgba(27,28,30,0.72)), repeating-linear-gradient(135deg, #3a3d40 0 40px, #34373a 40px 80px);
  color: var(--white);
  padding: 100px 0 80px;
}

.hero .eyebrow {
  color: var(--safety-orange);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 3rem;
  max-width: 720px;
  margin-bottom: 20px;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 620px;
  color: var(--off-white);
  margin-bottom: 32px;
}

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

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 64px 0;
  border-bottom: 4px solid var(--safety-orange);
}

.page-hero .eyebrow {
  color: var(--safety-orange);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.page-hero h1 { font-size: 2.4rem; }
.page-hero p { color: var(--off-white); max-width: 640px; margin-top: 14px; }

/* Trust bar */
.trust-bar {
  background: var(--charcoal-light);
  padding: 18px 0;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  color: var(--off-white);
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trust-bar span { color: var(--safety-orange); margin-right: 8px; }

/* Sections */
section { padding: 72px 0; }

.section-tan { background: var(--dirt-tan); background: #efe8da; }

.section-head { max-width: 680px; margin-bottom: 44px; }

.section-head .eyebrow {
  color: var(--safety-orange-dark);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-head h2 { font-size: 2rem; margin-bottom: 14px; }
.section-head p { color: var(--steel); font-size: 1.05rem; }

/* Service grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid #e2ded4;
  border-top: 4px solid var(--safety-orange);
  padding: 30px 26px;
  border-radius: 4px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.card p { color: var(--steel); font-size: 0.98rem; }

.card ul { margin-top: 14px; padding-left: 20px; color: var(--steel); }
.card ul li { margin-bottom: 6px; }

/* Process steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding-top: 12px;
}

.step .num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.6rem;
  color: var(--safety-orange);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--steel); font-size: 0.92rem; }

/* CTA band */
.cta-band {
  background: var(--charcoal);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 { font-size: 1.9rem; margin-bottom: 14px; }
.cta-band p { color: var(--off-white); margin-bottom: 26px; }

/* Area list */
.area-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
}

.area-list li {
  background: var(--white);
  border: 1px solid #e2ded4;
  border-left: 4px solid var(--safety-orange);
  padding: 12px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.98rem;
}

/* Testimonial */
.testimonial {
  background: var(--white);
  border: 1px solid #e2ded4;
  border-left: 4px solid var(--safety-orange);
  padding: 28px 30px;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--charcoal);
}

.testimonial cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: 'Oswald', sans-serif;
  color: var(--steel);
  font-size: 0.9rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.info-block {
  background: var(--charcoal);
  color: var(--white);
  padding: 34px;
  border-radius: 4px;
}

.info-block h3 { color: var(--safety-orange); font-size: 1.1rem; margin-bottom: 8px; }
.info-block p, .info-block a { color: var(--off-white); margin-bottom: 18px; display: block; }

form { background: var(--white); border: 1px solid #e2ded4; padding: 30px; border-radius: 4px; }

.form-row { margin-bottom: 18px; }

label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--steel);
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc9ba;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--off-white);
}

textarea { min-height: 120px; resize: vertical; }

/* Footer */
footer {
  background: var(--charcoal);
  color: var(--off-white);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 0.92rem; }
footer a:hover { color: var(--safety-orange); }

.footer-bottom {
  border-top: 1px solid var(--charcoal-light);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive */
@media (max-width: 860px) {
  nav { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .grid-3, .grid-2, .steps, .area-list, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}
