/* St. Mary's County Junk Removal — shared stylesheet (used by every page) */
:root {
  --marsh: #1f4d3f;        /* main brand green */
  --marsh-deep: #143328;   /* footer, dark sections */
  --hauler: #f2b705;       /* safety yellow: calls to action */
  --hauler-dark: #d9a204;
  --ink: #15201c;          /* headings and body text */
  --steel: #55655f;        /* secondary text */
  --mist: #eef2ef;         /* light section background */
  --line: #d5ddd8;         /* borders */
  --white: #ffffff;
  --wrap: 1120px;
}

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

body {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem;
}

h1, h2, h3 {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { max-width: 68ch; }

a { color: var(--marsh); }
a:hover { color: var(--marsh-deep); }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--hauler); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section-tint { background: var(--mist); }
.lede { color: var(--steel); font-size: 1.1rem; margin-bottom: 34px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 70px; position: relative;
}
.brand {
  font-weight: 800; font-stretch: 125%; font-size: 1.12rem;
  color: var(--marsh); text-decoration: none; line-height: 1.15;
}
.brand span { display: block; font-weight: 500; font-stretch: 100%; font-size: 0.78rem; color: var(--steel); }
.main-nav { display: flex; gap: 24px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { color: var(--marsh); }
.header-call {
  background: var(--hauler); color: var(--ink); text-decoration: none;
  font-weight: 700; padding: 10px 16px; border-radius: 6px; white-space: nowrap;
}
.header-call:hover { background: var(--hauler-dark); color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 6px 10px; font-size: 1.2rem; cursor: pointer; color: var(--ink);
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); padding: 6px 22px 14px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--mist); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 26px; border-radius: 7px; font-size: 1.05rem; border: 2px solid transparent;
  cursor: pointer; font-family: inherit;
}
.btn-call { background: var(--hauler); color: var(--ink); }
.btn-call:hover { background: var(--hauler-dark); color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { background: var(--marsh); color: var(--white); padding: 70px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin-bottom: 18px; }
.hero p { color: #d7e3dd; font-size: 1.15rem; margin-bottom: 30px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: #d7e3dd; font-size: 0.95rem; }
.hero-facts li::before { content: "✓ "; color: var(--hauler); font-weight: 700; }

/* The haul list: one load animation where items get crossed off */
.haul-list {
  background: var(--white); color: var(--ink); border-radius: 10px;
  padding: 26px 28px 22px; transform: rotate(-1.5deg);
  border-top: 10px solid var(--hauler);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.haul-list h2 { font-size: 1.15rem; font-stretch: 100%; margin-bottom: 4px; }
.haul-list .haul-date { color: var(--steel); font-size: 0.85rem; margin-bottom: 14px; }
.haul-list ul { list-style: none; }
.haul-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 1.05rem; }
.haul-list li span { position: relative; }
.haul-list li span::after {
  content: ""; position: absolute; left: -2px; top: 54%; height: 3px; width: 0;
  background: var(--marsh); border-radius: 2px;
  animation: strike 0.45s ease-out forwards;
}
.haul-list li:nth-child(1) span::after { animation-delay: 0.6s; }
.haul-list li:nth-child(2) span::after { animation-delay: 1.0s; }
.haul-list li:nth-child(3) span::after { animation-delay: 1.4s; }
.haul-list li:nth-child(4) span::after { animation-delay: 1.8s; }
.haul-list li:nth-child(5) span::after { animation-delay: 2.2s; }
.haul-list li.done { border-bottom: none; font-weight: 700; color: var(--marsh); }
.haul-list li.done span::after { display: none; }
@keyframes strike { to { width: calc(100% + 4px); } }

@media (prefers-reduced-motion: reduce) {
  .haul-list li span::after { animation: none; width: calc(100% + 4px); }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .haul-list { transform: none; }
  .btn-row .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- What we haul ---------- */
.haul-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.item-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.item-groups h3 a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--hauler); }
.item-groups h3 a:hover { color: var(--marsh); }
.item-groups p { color: var(--steel); font-size: 0.98rem; }
.photo-frame { border-radius: 10px; overflow: hidden; background: var(--mist); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-caption { font-size: 0.85rem; color: var(--steel); margin-top: 8px; }
@media (max-width: 860px) {
  .haul-split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .item-groups { grid-template-columns: 1fr; }
}

/* ---------- PCS / move-out band ---------- */
.pcs-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.pcs-band ul { margin: 14px 0 24px 20px; }
.pcs-band li { margin-bottom: 6px; }
@media (max-width: 860px) { .pcs-band { grid-template-columns: 1fr; } }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--marsh); padding-top: 18px; }
.steps li::before {
  content: counter(step); display: inline-block; font-weight: 800; font-stretch: 125%;
  font-size: 2.2rem; color: var(--marsh); line-height: 1; margin-bottom: 10px;
}
.steps p { color: var(--steel); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: start; }
.town-links { list-style: none; columns: 2; column-gap: 24px; margin-bottom: 22px; }
.town-links li { padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.town-links a { font-weight: 600; text-decoration: none; }
.town-links a:hover { text-decoration: underline; }
.map-embed { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 400px; border: 0; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.08rem; list-style-position: outside; }
.faq details p { margin-top: 10px; color: var(--steel); }

/* ---------- Quote form ---------- */
.quote { background: var(--marsh-deep); color: var(--white); }
.quote-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.quote-grid p { color: #c9d8d0; }
.quote-call { display: inline-block; margin-top: 18px; font-size: 1.6rem; font-weight: 800; font-stretch: 125%; color: var(--hauler); text-decoration: none; }
.quote-call:hover { color: var(--white); }
.quote-form { background: var(--white); color: var(--ink); border-radius: 10px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #b9c5bf; border-radius: 6px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(242,183,5,0.6); border-color: var(--marsh); }
.field textarea { min-height: 110px; resize: vertical; }
.submit-btn { width: 100%; background: var(--hauler); color: var(--ink); border: 0; padding: 15px; border-radius: 7px; font: inherit; font-weight: 700; font-size: 1.08rem; cursor: pointer; }
.submit-btn:hover { background: var(--hauler-dark); }
.form-note { font-size: 0.85rem; color: var(--steel); margin-top: 12px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } .quote-form { padding: 24px 18px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c4be; padding: 50px 0 34px; font-size: 0.95rem; }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.site-footer h3 { color: var(--white); font-size: 1rem; font-stretch: 100%; margin-bottom: 10px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #dfe8e3; text-decoration: none; }
.site-footer a:hover { color: var(--hauler); }
.footer-legal { border-top: 1px solid #2c3a35; padding-top: 22px; font-size: 0.82rem; color: #8fa198; }
.footer-legal p { max-width: none; margin-bottom: 6px; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call bar ---------- */
.mobile-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--hauler); color: var(--ink); text-align: center; font-weight: 800;
  padding: 15px; text-decoration: none; font-size: 1.05rem;
  padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 700px) {
  .mobile-call { display: block; }
  body { padding-bottom: 60px; }
}

/* ---------- Inner pages ---------- */
.page-head { background: var(--marsh); color: var(--white); padding: 54px 0 50px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 12px; }
.page-head p { color: #d7e3dd; font-size: 1.12rem; }
.crumbs { font-size: 0.88rem; margin-bottom: 14px; color: #b9cdc3; }
.crumbs a { color: var(--white); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 36px 0 10px; }
.prose p, .prose li { color: #2d3a35; margin-bottom: 12px; }
.prose ul { margin: 0 0 16px 22px; }
.prose .updated { color: var(--steel); font-size: 0.92rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-facts { list-style: none; margin: 18px 0 26px; }
.contact-facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-facts strong { display: block; font-size: 0.9rem; color: var(--steel); font-weight: 600; }
.contact-facts a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact-grid .map-embed { margin-top: 26px; }
.contact-grid .quote-form { border: 1px solid var(--line); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.thanks-box { max-width: 640px; }
.thanks-box ol { margin: 10px 0 26px 22px; }
.thanks-box li { margin-bottom: 8px; }

/* ---------- Town pages ---------- */
.town-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.town-intro .photo-frame img { aspect-ratio: 16 / 10; }
.zip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
.zip-list li { border: 1px solid var(--line); background: var(--white); border-radius: 6px; padding: 8px 12px; font-size: 0.95rem; }
.zip-list li strong { color: var(--marsh); margin-right: 6px; }
.zip-list li.primary { border-color: var(--marsh); border-width: 2px; }
.service-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; margin-top: 12px; }
.service-links a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--hauler); color: var(--ink); }
.service-links p { color: var(--steel); font-size: 0.96rem; margin-top: 4px; }
.nearby { margin-top: 18px; color: var(--steel); }
.zip-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.zip-table th, .zip-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.zip-table th { font-size: 0.9rem; color: var(--steel); font-weight: 600; }
.table-scroll { overflow-x: auto; }
@media (max-width: 860px) { .town-intro { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .service-links { grid-template-columns: 1fr; } }
