/* ============================================================
   Mille Lacs Dirt Work — Site Styles
   Per Brand Sheet V1.0 (July 2026) — Blaze and Earth palette,
   Highway Grade type (Barlow Condensed + Barlow)

   Safety Orange #F26722  — primary / CTA
   Asphalt       #373A36  — dark anchor
   Equipment Gold #FFC72C — accent on dark ONLY (fails on light)
   Clay Rust     #9E5A2B  — earth accent
   Mille Lacs Steel #4F758B — cool accent
   Bone White    #EFEDE3  — default background (no pure white next to it)
   ============================================================ */

:root {
  --orange: #F26722;
  --asphalt: #373A36;
  --asphalt-light: #42463f; /* derived shade for gradients/menus */
  --asphalt-deep: #2b2e2a;  /* derived shade for gradients */
  --gold: #FFC72C;
  --rust: #9E5A2B;
  --steel: #4F758B;
  --bone: #EFEDE3;
  --card: #f7f5ec;          /* card surface: a hair above bone, not pure white */
  --line: #d8d4c4;          /* derived hairline on bone */
  --text: #373A36;
  --muted: #6f6c62;
  --max: 1100px;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(55, 58, 54, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bone);
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--asphalt);
}

h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: 1.45rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--steel); }

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

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

/* ---------- Buttons — orange/white or asphalt/gold only ---------- */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Orange / white */
.btn-primary {
  background: var(--orange);
  color: var(--bone);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--rust); border-color: var(--rust); color: var(--bone); }

/* Gold outline — dark backgrounds only */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--asphalt); }

/* Asphalt / gold */
.btn-dark {
  background: var(--asphalt);
  color: var(--gold);
  border-color: var(--asphalt);
}
.btn-dark:hover { background: var(--asphalt-deep); border-color: var(--asphalt-deep); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--asphalt);
  border-bottom: 4px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-decoration: none;
  line-height: 1.1;
}
.brand span { color: var(--orange); }
.brand small {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #b9b6a9;
}

/* Phone in headline font at the top of every page (brand rule) */
.header-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 1.3rem;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-links .nav-cta {
  background: var(--orange);
  color: var(--bone);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  border-bottom: none;
}
.nav-links .nav-cta:hover { background: var(--rust); color: var(--bone); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-phone { font-size: 1.15rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--asphalt-light);
    border-bottom: 4px solid var(--orange);
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; padding: 0.8rem 1rem; border-bottom: none; }
  .nav-links .nav-cta { margin: 0.5rem 1.25rem; }
}
@media (max-width: 560px) {
  .header-phone { display: none; } /* phone still in hero + footer on small screens */
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--bone);
  background:
    repeating-linear-gradient(-45deg, rgba(242, 103, 34, 0.05) 0 18px, transparent 18px 36px),
    linear-gradient(160deg, var(--asphalt-light) 0%, var(--asphalt) 55%, var(--asphalt-deep) 100%);
  padding: 5.5rem 0 5rem;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 22px, var(--asphalt) 22px 44px);
}

.hero h1 { color: var(--bone); margin-bottom: 1rem; }
.hero .sub {
  font-size: 1.25rem;
  max-width: 44rem;
  margin: 0 auto 2rem;
  color: #ddd9cb;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.hero-inner-page { padding: 3.5rem 0 3rem; }

/* ---------- Sections ---------- */
section { padding: 3.5rem 0; }

.section-title { margin-bottom: 1.5rem; }
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--orange);
  margin-top: 0.6rem;
}
.center .section-title::after { margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.intro { font-size: 1.15rem; max-width: 50rem; }

/* ---------- Featured callout — clay rust earth accent ---------- */
.callout {
  background: var(--rust);
  color: var(--bone);
}
.callout h2 { color: var(--bone); }
.callout h2::after { background: var(--gold); }
.callout p { color: #f3e9da; max-width: 50rem; }
.callout .btn { margin-top: 0.75rem; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card ul { margin: 0.5rem 0 0.75rem 1.2rem; }
.card li { margin-bottom: 0.3rem; }

/* Why-us strip — steel cool accent */
.why-strip { background: #e4e1d3; }
.why-strip .card { border-top-color: var(--steel); text-align: center; }
.why-strip .card strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--asphalt);
  margin-bottom: 0.4rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--asphalt);
  color: var(--bone);
  text-align: center;
}
.cta-band h2 { color: var(--bone); }
.cta-band h2::after { background: var(--gold); }
.cta-band p { color: #ddd9cb; max-width: 44rem; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 0.75rem; }
.cta-band p a { color: var(--gold); }

/* ---------- Lists / service area ---------- */
.area-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.area-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.town-list { max-width: 50rem; }

/* Equipment — asphalt/gold (gold on dark only, per brand rule) */
.equip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.equip-list li {
  background: var(--asphalt);
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
}

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  margin-top: 2rem;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info .card { margin-bottom: 1.25rem; }
.contact-info .big {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.contact-info .big a { color: var(--steel); text-decoration: none; }
.contact-info .big a:hover { text-decoration: underline; }
.contact-info .big.email { font-size: 1.2rem; word-break: break-all; }

form.estimate {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
}

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1.5px solid #c6c2b1;
  border-radius: var(--radius);
  background: var(--bone);
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}
.field textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--asphalt);
  color: #cfccbe;
  padding: 2.5rem 0 2rem;
  border-top: 6px solid var(--orange);
  text-align: center;
  font-size: 0.98rem;
}
.site-footer .foot-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bone);
  margin-bottom: 0.35rem;
}
.site-footer .foot-brand span { color: var(--orange); }
.site-footer .foot-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}
.site-footer .foot-phone a { color: inherit; text-decoration: none; }
.site-footer .foot-phone a:hover { text-decoration: underline; }
.site-footer p { margin-bottom: 0.35rem; }
.site-footer .fine { font-size: 0.85rem; color: #939081; margin-top: 0.9rem; }
