/* ==========================================================================
   JATS Junk Removal & Dumpster Rentals — jatsjunkremoval.com
   Brand: flyer orange on warm paper. Mobile-first.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("fonts/Barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FBF7F1;
  --white: #FFFFFF;
  --ink: #221C15;
  --muted: #675F53;
  --line: #E6DECF;
  --orange: #E85D04;
  --orange-dark: #BC4A02;
  --charcoal: #1C1712;
  --charcoal-ink: #F4EEE4;
  --radius: 8px;      /* small elements: tags, chips, photos */
  --r-btn: 10px;      /* interactive controls */
  --r-card: 12px;     /* content surfaces */
  --shadow-1: 0 1px 2px rgba(34, 28, 21, 0.08);
  --shadow-2: 0 3px 8px rgba(34, 28, 21, 0.12);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { line-height: 1.05; margin: 0 0 0.5em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-narrow { max-width: 46rem; }

/* ---------- Type scale ---------- */
h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.25rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
h3 {
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.kicker {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin: 0 0 0.75rem;
}
.lede, .section-lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34em;
}
.section-lede { margin-top: -0.25rem; margin-bottom: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.72rem 1.5rem;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease,
              color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  min-height: 48px;
}
.btn-lg { font-size: 1.2rem; padding: 0.85rem 1.75rem; }
.btn-solid {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-1);
}
.btn-solid:hover, .btn-solid:focus-visible {
  background: var(--orange-dark);
  box-shadow: var(--shadow-2);
  transform: translateY(-1px);
}
.btn-solid:active { transform: translateY(0); box-shadow: var(--shadow-1); }
.btn-outline {
  background: var(--white);
  color: var(--orange-dark);
  border-color: rgba(188, 74, 2, 0.45);
  box-shadow: var(--shadow-1);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--orange-dark);
  background: rgba(232, 93, 4, 0.06);
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.ic { width: 1.1em; height: 1.1em; flex: none; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
@media (max-width: 30rem) {
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}
.brand { text-decoration: none; color: var(--ink); margin-right: auto; display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--head);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--orange);
  text-transform: uppercase;
}
.brand-sub {
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-nav { display: none; }
.site-nav a {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0.65rem;
}
.site-nav a:hover { color: var(--orange-dark); }
.nav-phone { color: var(--orange-dark) !important; }
.header-cta { display: none; }
.nav-toggle {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  display: inline-flex;
}
.ic-menu { width: 1.4rem; height: 1.4rem; }

/* Mobile nav open state */
.site-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1.25rem 1rem;
}
.site-nav.open a { padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--line); }
.site-nav.open a:last-child { border-bottom: 0; }

@media (min-width: 60rem) {
  .site-nav { display: flex; align-items: center; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2rem; }
.hero-copy .lede { margin: 0.75rem 0 0; }
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  padding: 0;
  margin: 1.5rem 0 0;
  font-weight: 600;
}
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--orange);
  border-radius: 50%;
  flex: none;
}
.hero-photo { margin: 0; }
.hero-photo img { border-radius: var(--r-card); border: 1px solid var(--line); }
.hero-photo figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }

@media (min-width: 60rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3.5rem; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--charcoal); color: var(--charcoal-ink); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 2rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}
.trust-inner span { display: flex; align-items: center; gap: 0.6rem; }
.trust-inner span::before { content: "★"; color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 60rem) { .section { padding: 5rem 0; } }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--r-card);
  padding: 1.75rem 1.5rem;
}
.service > p { color: var(--muted); }
.service .btn { margin-top: 1rem; }
.service-photo { margin: 0 0 1.25rem; }
.service-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.25rem; }
.check-list li { padding: 0.35rem 0 0.35rem 1.9rem; position: relative; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--orange);
  border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z" fill="black"/%3E%3C/svg%3E') center / contain no-repeat;
          mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z" fill="black"/%3E%3C/svg%3E') center / contain no-repeat;
}
@media (min-width: 60rem) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .service { padding: 2.25rem 2rem; }
}

/* ---------- Before / After ---------- */
.ba-grid { display: grid; gap: 2.5rem; }
.ba { margin: 0; }
.ba-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  touch-action: pan-y;
}
.ba-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba-over {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle::before {
  content: "◂ ▸";
  color: var(--orange-dark);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.ba-tag {
  position: absolute;
  bottom: 0.75rem;
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
  background: rgba(28, 23, 18, 0.82);
  color: var(--white);
  pointer-events: none;
}
.ba-tag-before { left: 0.75rem; }
.ba-tag-after { right: 0.75rem; }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 60rem) { .ba-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 2rem;
}
.steps li { counter-increment: step; position: relative; padding-left: 4.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps p { color: var(--muted); margin: 0.25rem 0 0; }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- Why (dark band) ---------- */
.section-dark { background: var(--charcoal); color: var(--charcoal-ink); }
.section-dark h2 { color: var(--white); }
.why-grid { display: grid; gap: 1.75rem; margin-top: 2rem; }
.why-item h3 { color: var(--orange); }
.why-item p { color: rgba(244, 238, 228, 0.75); margin: 0; }
@media (min-width: 60rem) { .why-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.5rem;
}
.review .stars { color: var(--orange); letter-spacing: 0.2em; margin: 0 0 0.6rem; font-size: 1.05rem; }
.review p { margin: 0 0 0.8rem; }
.review footer {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (min-width: 60rem) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Service area ---------- */
.towns {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 1.75rem 0;
}
.towns li {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45rem 0.9rem;
}
.towns li:first-child { background: var(--orange); border-color: var(--orange); color: var(--white); }
.area-note { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  margin-top: 0.75rem;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 1rem 3rem 1rem 1.25rem;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--orange);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.25rem 1.25rem; margin: 0; color: var(--muted); }

/* ---------- Contact band ---------- */
.cta-band { background: var(--orange); color: var(--white); padding: 3.5rem 0; }
.cta-inner h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-lede { margin: 0; font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); }
.kicker-light { color: rgba(255, 255, 255, 0.85); }
.contact-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-card);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-1);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.contact-card:hover, .contact-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.contact-card:active { transform: translateY(0); }
.contact-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--orange-dark);
}
.contact-value {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
}
.contact-value-email {
  font-size: 1.15rem;
  font-family: var(--body);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-sub { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 60rem) {
  .cta-band { padding: 4.5rem 0; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--charcoal-ink); padding: 3rem 0 0; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand-mark { margin: 0 0 0.5rem; font-size: 2.4rem; }
.footer-blurb { color: rgba(244, 238, 228, 0.7); margin: 0; max-width: 28em; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; letter-spacing: 0.1em; margin-bottom: 0.9rem; }
.footer-nav { display: flex; flex-direction: column; }
.footer-nav a, .footer-contact a {
  color: rgba(244, 238, 228, 0.85);
  text-decoration: none;
  padding: 0.28rem 0;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact address { font-style: normal; display: flex; flex-direction: column; }
.footer-contact span { color: rgba(244, 238, 228, 0.6); padding: 0.28rem 0; }
.footer-legal {
  border-top: 1px solid rgba(244, 238, 228, 0.15);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: rgba(244, 238, 228, 0.6);
}
.footer-legal p { margin: 0; }
@media (min-width: 60rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }

/* ---------- Mobile call/text bar ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  border-top: 1px solid var(--line);
  /* Solid ground under the bar: covers the home-indicator zone and the gap
     iOS browsers reveal while their toolbar collapses during scroll. */
  background: var(--charcoal);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  padding: 0.9rem 0;
}
.mobile-bar-call { background: var(--orange); color: var(--white); }
.mobile-bar-text { background: var(--charcoal); color: var(--white); }
body { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom)); }
@media (min-width: 60rem) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
