/* ==========================================================================
   Metcalf Asphalt of Overland Park — Site Styles
   ========================================================================== */

:root {
  --ink: #14171c;
  --ink-2: #2b2f36;
  --charcoal: #1c2026;
  --asphalt: #23272e;
  --slate: #4a525e;
  --muted: #6b7280;
  --line: #e3e6ea;
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --amber: #f5a623;
  --amber-dark: #d8890c;
  --amber-soft: #fff4df;
  --green: #2e7d32;
  --shadow-sm: 0 1px 2px rgba(20, 23, 28, 0.06), 0 1px 3px rgba(20, 23, 28, 0.08);
  --shadow-md: 0 6px 18px rgba(20, 23, 28, 0.10);
  --shadow-lg: 0 18px 48px rgba(20, 23, 28, 0.16);
  --radius: 12px;
  --radius-lg: 18px;
  --wrap: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--charcoal); color: #e9ecf1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.6rem;
}
.section--dark .eyebrow { color: var(--amber); }

.lead { font-size: 1.15rem; color: var(--slate); max-width: 60ch; }
.section--dark .lead { color: #c2c8d2; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--amber); color: #1a1205; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--amber-dark); color: #1a1205; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { background: rgba(255,255,255,0.10); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

/* Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--charcoal);
  color: #d7dce3;
  font-size: 0.86rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 7px;
  padding-bottom: 7px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar__nap { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.topbar .topbar__nap span { display: inline-flex; align-items: center; gap: 0.4rem; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--ink);
  display: grid; place-items: center;
  color: var(--amber);
  font-weight: 900;
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.brand__sub { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }

.nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink-2); font-weight: 600; font-size: 0.98rem; }
.nav__links a:hover, .nav__links a.is-active { color: var(--amber-dark); text-decoration: none; }
.nav__cta { margin-left: 0.4rem; }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 8px; border-radius: 8px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.2s; }

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15,17,21,0.78) 0%, rgba(15,17,21,0.86) 100%),
    repeating-linear-gradient(115deg, #20242b 0 38px, #1b1f25 38px 76px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 46px, #1a1d23 46px 92px);
}
.hero__inner { padding: 96px 0 104px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero p { color: #d4d9e1; font-size: 1.2rem; max-width: 56ch; }
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero__badges { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 2.2rem; color: #cfd5de; font-size: 0.95rem; }
.hero__badges span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__badges strong { color: var(--amber); }

/* Grid utilities ------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Cards ---------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--amber-soft); color: var(--amber-dark);
  display: grid; place-items: center; margin-bottom: 14px;
}
.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--slate); margin-bottom: 0; font-size: 0.98rem; }

/* Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat__num { font-size: 2.4rem; font-weight: 900; color: var(--amber); line-height: 1; }
.stat__label { color: #c2c8d2; font-size: 0.92rem; margin-top: 6px; }

/* Feature split -------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-card {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(20,23,28,0.05), rgba(20,23,28,0.18)),
    repeating-linear-gradient(120deg, #2a2f37 0 34px, #23272e 34px 68px);
  min-height: 340px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-card::before {
  content: "";
  position: absolute; left: 8%; right: 8%; top: 50%; height: 4px;
  background: repeating-linear-gradient(90deg, #f5d77e 0 34px, transparent 34px 64px);
  transform: translateY(-50%);
  opacity: 0.85;
}
.media-card__tag {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--amber); color: #1a1205;
  font-weight: 700; font-size: 0.85rem;
  padding: 6px 12px; border-radius: 8px;
}

/* Checklist ------------------------------------------------------------ */
.checklist { list-style: none; margin: 1rem 0 0; padding: 0; }
.checklist li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 8px 0; color: var(--slate);
}
.checklist li::before {
  content: "✓";
  color: var(--green); font-weight: 900;
  background: #e6f4e7; border-radius: 50%;
  width: 22px; height: 22px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 0.8rem;
  margin-top: 3px;
}

/* Steps ---------------------------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--amber);
  font-weight: 900; font-size: 1.2rem;
  display: grid; place-items: center;
}

/* CTA band ------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--amber) 0%, #ffc257 100%);
  color: #1a1205;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #1a1205; margin-bottom: 0.3rem; }
.cta-band p { color: #4a3608; margin-bottom: 0; font-weight: 500; }

/* Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .info-ico {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px;
  background: var(--amber-soft); color: var(--amber-dark);
  display: grid; place-items: center;
}
.info-list .info-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.info-list .info-val { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.info-list .info-val a { color: var(--ink); }

form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--ink-2); }
form input, form select, form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; transition: border 0.12s ease, box-shadow 0.12s ease;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
}
form textarea { resize: vertical; min-height: 130px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 26px;
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 320px; border: 0; }

/* Page header ---------------------------------------------------------- */
.page-head {
  background: var(--charcoal);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  border-bottom: 5px solid var(--amber);
}
.page-head h1 { color: #fff; margin-bottom: 0.4rem; }
.page-head p { color: #c2c8d2; margin: 0; max-width: 60ch; }
.crumbs { font-size: 0.85rem; color: #9aa3b0; margin-bottom: 1rem; }
.crumbs a { color: #c9d0da; }

/* FAQ ------------------------------------------------------------------ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 4px 20px; margin-bottom: 12px; background: #fff;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 16px 0;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber-dark); font-weight: 900; font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--slate); padding-bottom: 16px; margin: 0; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #b8c0cc; padding: 60px 0 26px; font-size: 0.95rem; }
.site-footer h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer a { color: #cdd4de; }
.site-footer a:hover { color: var(--amber); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-nap { font-style: normal; line-height: 1.8; }
.footer-nap strong { color: #fff; display: block; margin-bottom: 6px; font-size: 1.02rem; }
.footer-bottom {
  border-top: 1px solid #2c313a; margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.86rem; color: #8b94a2;
}
.footer-bottom a { color: #8b94a2; }

/* Misc ----------------------------------------------------------------- */
.pill {
  display: inline-block; background: var(--amber-soft); color: var(--amber-dark);
  font-weight: 700; font-size: 0.8rem; padding: 4px 12px; border-radius: 999px;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--amber); color: #1a1205;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 920px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 18px; box-shadow: var(--shadow-md);
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 10px 0; width: 100%; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .topbar .topbar__nap { display: none; }
  .cta-band { padding: 30px; }
  .hero__inner { padding: 64px 0 72px; }
}
