/* ============================================================
   DMV Journey Guru — DMVJourneyGuru.com
   Mobile-first stylesheet. Palette:
   - Highway green  #14532D  (primary, trust)
   - Work-zone orange #E87722 (accent, warmth)
   - Cream          #FFF8EC  (page background)
   - Charcoal       #1F2937  (text)
   - Soft white     #FFFFFF  (cards)
   Fonts: Fraunces (headings) + Inter (body), Google Fonts.
   ============================================================ */

:root {
  --green: #14532d;
  --green-dark: #0d3a1f;
  --green-soft: #e6f2ea;
  --orange: #e87722;
  --orange-dark: #c85f14;
  --cream: #fff8ec;
  --white: #ffffff;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --line: #e5ddd0;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(20, 83, 45, .10);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.15;
  color: var(--green-dark);
  margin: 0 0 .5em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--green); }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

section { padding: 48px 0; }
section.alt { background: var(--white); }

.lead { font-size: 1.15rem; color: var(--ink-soft); }
.small { font-size: .9rem; color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  background: var(--green);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.1;
  flex: 1;
}
.brand span { display: block; font-size: .72rem; font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ffd9b3; }

.main-nav { display: none; }
.main-nav.open {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--green-dark);
  padding: 8px 20px 16px;
}
.main-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.main-nav a:last-child { border-bottom: 0; }
.main-nav a[aria-current="page"] { color: #ffd9b3; }

.nav-toggle {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  min-height: 44px;
}
.lang-toggle {
  background: #fff;
  color: var(--green-dark);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  padding: 8px 14px;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  min-height: 52px;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 2px 6px rgba(200, 95, 20, .35);
}
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn-green { background: var(--green); box-shadow: 0 2px 6px rgba(20, 83, 45, .35); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  box-shadow: none;
}
.btn-outline:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-block { display: block; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--green);
  color: #fff;
  padding: 56px 0 64px;
}
.hero h1 { color: #fff; font-size: 2.4rem; }
.hero p { color: #e6f2ea; font-size: 1.15rem; }
.hero .btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.hero .btn-outline { color: #fff; border-color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero img { margin-top: 28px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card img { margin-bottom: 16px; }
.price { font-size: 1.3rem; font-weight: 800; color: var(--green); }
.price-note { font-size: .9rem; color: var(--ink-soft); }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding: 8px 0 8px 34px; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  width: 24px; height: 24px;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 50%;
  text-align: center;
  font-weight: 800;
  line-height: 24px;
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 24px 76px;
  position: relative;
  box-shadow: var(--shadow);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 20px; top: 20px;
  width: 40px; height: 40px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 40px;
}

.quote {
  background: var(--green-soft);
  border-left: 5px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 0 0 20px;
}
.quote p { margin: 0; font-size: 1.1rem; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--green); }

/* ---------- Forms ---------- */
form label { display: block; font-weight: 700; margin: 16px 0 6px; }
form input, form select, form textarea {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 3px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--green);
}
form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #d9e8dd;
  padding: 40px 0 24px;
}
.site-footer h3 { color: #fff; }
.site-footer a { color: #ffd9b3; }
.footer-grid { display: grid; gap: 28px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  margin-top: 28px;
  padding-top: 16px;
  font-size: .9rem;
  text-align: center;
}
.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.social-row a {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  min-height: 44px;
}

/* ---------- Bigger screens ---------- */
@media (min-width: 720px) {
  h1 { font-size: 2.8rem; }
  .hero h1 { font-size: 3rem; }
  .hero .btn-row { flex-direction: row; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .nav-toggle { display: none; }
  .main-nav { display: flex; gap: 4px; margin-left: auto; }
  .main-nav a { border-bottom: 0; padding: 10px 12px; border-radius: 8px; }
  .main-nav a:hover { background: rgba(255,255,255,.12); }
  .brand { flex: none; }
}
