/* 3 Bros Junk Removal LLC
   Graphite and steel greys, gold from the logo for calls to action,
   logo green only in small doses. Frosted glass over the two job photos. */
:root {
  --asphalt: #1c1e1e;      /* page background */
  --steel: #252828;        /* alternate section */
  --steel-2: #2f3333;
  --line: rgba(255, 255, 255, 0.12);
  --text: #ecece7;
  --muted: #a9aca6;
  --gold: #f2c641;         /* call buttons */
  --gold-hover: #ffd75e;
  --green: #7ac143;        /* logo green: step numbers, focus ring */
  --glass: rgba(34, 37, 37, 0.5);
  --glass-edge: rgba(255, 255, 255, 0.16);
  --glass-shine: rgba(255, 255, 255, 0.22);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--asphalt);
  padding-bottom: 100px; /* room for the mobile call bar */
}

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

h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; }

/* Wide cut of Archivo for headings, like lettering on a truck door */
h2 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.01em;
}
h3 { font-size: 1.15rem; font-weight: 700; font-stretch: 110%; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: #1c1e1e;
  padding: 8px 12px;
}
.skip:focus { left: 8px; top: 8px; }

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

/* Frosted glass surface */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1.05rem;
  font-stretch: 110%;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-gold { background: var(--gold); color: #1c1e1e; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.1rem; }

/* Header: floating glass bar over the hero photo */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 10px 10px 0;
}
.header-bar {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 8px 7px 10px;
  border-radius: 18px;
}
.brand img { height: 42px; width: auto; border-radius: 8px; }
.header-actions { display: flex; gap: 8px; }

/* Photo-backed sections */
.hero, .services { position: relative; isolation: isolate; overflow: hidden; }
.bg-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after, .services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 22, 22, 0.42);
}

/* Hero */
.hero { min-height: clamp(620px, 100svh, 900px); display: flex; align-items: flex-end; }
.hero .bg-photo { object-position: 42% 50%; }
.hero-inner { padding-top: 220px; padding-bottom: 100px; }
.hero-panel {
  border-radius: 26px;
  padding: 26px 22px 22px;
  max-width: 640px;
}
.hero h1 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.slogan {
  margin-top: 6px;
  font-size: clamp(2.6rem, 12vw, 5rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.lede {
  margin-top: 16px;
  font-size: 1.15rem;
  max-width: 32ch;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta-row .btn { flex: 1 1 100%; }
.hours-note { margin-top: 14px; font-size: 0.95rem; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }

/* Services: one glass panel over the loaded trailer photo */
.services .bg-photo { object-position: 40% 50%; }
.services::after { background: rgba(20, 22, 22, 0.66); }
.services-inner { display: grid; gap: 28px; }
.services-head p { margin-top: 14px; max-width: 46ch; color: #d6d7d2; }
.service-list {
  list-style: none;
  margin: 0;
  padding: 6px 22px;
  border-radius: 24px;
}
.service-list li { padding: 18px 0; }
.service-list li + li { border-top: 1px solid var(--line); }
.service-list p { margin-top: 4px; color: #c9cbc6; }

/* How it works */
.how { background: var(--asphalt); }
.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 30px;
}
.step-num {
  display: block;
  font-size: 3.4rem;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  color: var(--green);
  margin-bottom: 10px;
}
.steps li { display: grid; grid-template-columns: 52px 1fr; align-items: start; }
.steps li .step-num { grid-row: span 2; font-size: 2.6rem; margin: 0; }
.steps p { margin-top: 6px; color: var(--muted); max-width: 34ch; }

/* Service area */
.area { background: var(--steel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.towns {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.towns li {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--steel-2);
  border: 1px solid var(--line);
  font-weight: 600;
}
.area-note { margin-top: 22px; color: var(--muted); }

/* Contact */
.contact { background: var(--asphalt); }
.contact-lede { margin-top: 12px; color: var(--muted); max-width: 40ch; }
.big-phone {
  display: inline-block;
  margin-top: 26px;
  font-size: clamp(1.8rem, 9vw, 4.6rem);
  white-space: nowrap;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--gold);
  text-decoration: none;
}
.big-phone:hover { color: var(--gold-hover); }
.contact .cta-row { max-width: 460px; }
.contact-list {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
.contact-list dt { font-size: 0.9rem; color: var(--muted); }
.contact-list dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Footer */
.site-footer {
  background: #161818;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 26px 0;
}
.footer-inner { display: grid; gap: 4px; }
.site-footer a { color: var(--text); }

/* Sticky call/text bar, phones only */
.mobile-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(34, 37, 37, 0.62);
}
.mobile-bar .btn { min-height: 50px; font-size: 1.1rem; }

/* Older browsers without blur: make glass solid so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(34, 37, 37, 0.92); }
}

/* Phones: the bottom bar carries Call/Text, so the header is just the logo */
@media (max-width: 899px) {
  .site-header { padding: 12px 12px 0; }
  .header-bar { display: inline-flex; padding: 6px; border-radius: 14px; }
  .header-actions { display: none; }
  .contact .cta-row { display: none; } /* bottom bar is already on screen here */
  .brand img { height: 40px; }

  .towns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 20px; }
  .towns li {
    padding: 14px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }
}

/* Phones: keep the bottom bar out of the way until the hero buttons scroll off */
@supports (animation-timeline: scroll()) {
  @media (max-width: 899px) {
    .hero-inner { padding-bottom: 24px; }
    .mobile-bar {
      animation: bar-in linear both;
      animation-timeline: scroll(root);
      animation-range: 45vh 75vh;
    }
  }
}
@keyframes bar-in {
  from { opacity: 0; transform: translateY(130%); visibility: hidden; }
  to { opacity: 1; transform: none; visibility: visible; }
}

@media (max-width: 380px) {
  .brand img { height: 36px; }
  .btn-sm { padding: 0 14px; }
}

@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .cta-row .btn { flex: 0 0 auto; }
  .hero-panel { padding: 34px 34px 30px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps li { display: block; }
  .steps li .step-num { font-size: 3.4rem; margin-bottom: 10px; }
  .service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; padding: 10px 30px; }
  .service-list li:nth-child(2) { border-top: 0; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .site-header { padding: 16px 24px 0; }
  .brand img { height: 52px; }
  .btn-sm { min-height: 44px; padding: 0 22px; font-size: 1rem; }

  .hero { min-height: clamp(640px, 92vh, 900px); align-items: center; }
  .hero .bg-photo { object-position: 50% 55%; }
  .hero-inner { display: flex; justify-content: flex-end; padding-top: 140px; padding-bottom: 80px; }
  .hero-panel { padding: 44px 44px 38px; }

  .section { padding: 112px 0; }
  .services-inner { grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
  .contact-list { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 72px; }
  .footer-inner { grid-template-columns: 1fr auto auto; gap: 32px; }
}

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