/* Matos Dumpster Solutions — brand from the official logo (red #B5111A, black, white).
   Headlines: Oswald (close to the MATOS condensed gothic). Body: Source Sans 3.
   Tagline / accent: Libre Baskerville, matching the logo tagline serif. */

:root {
  --red: #B5111A;
  --red-dark: #8E0D14;
  --red-deep: #6C0A10;
  --black: #111111;
  --ink: #181818;
  --muted: #5C5C5C;
  --line: #E3E3E3;
  --bg: #F3F3F3;
  --paper: #F7F7F7;
  --white: #FFFFFF;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.12);
  --radius: 22px;
  --radius-sm: 16px;
  --radius-lg: 32px;
  --pill: 999px;
  --header-h: 88px;
  --callbar-h: 56px;
  --font-head: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--black);
  margin: 0 0 0.7em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); text-transform: uppercase; }
h3 { font-size: 1.35rem; letter-spacing: 0.04em; text-transform: uppercase; }
ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
li { margin: 0.25rem 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.logo img {
  width: 200px;
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-link {
  appearance: none;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 10px;
}
.nav-link:hover,
.nav-link.is-active,
.nav-item.is-active > .nav-link {
  color: var(--red);
  text-decoration: none;
  background: rgba(181, 17, 26, 0.06);
}
.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
}
.nav-item { position: relative; }
.menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.45rem;
  z-index: 20;
}
.menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.menu a:hover, .menu a.is-active {
  background: rgba(181, 17, 26, 0.07);
  color: var(--red);
}
.nav-item:hover .menu,
.nav-item:focus-within .menu,
.nav-item.is-open .menu { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--pill);
  padding: 0.9rem 1.45rem;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary, .btn-header {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover, .btn-header:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-secondary:hover { background: #fff; color: var(--black); }
.btn-secondary.dark {
  color: var(--black);
  border-color: var(--black);
}
.btn-secondary.dark:hover { background: var(--black); color: #fff; }
.btn-header {
  padding: 0.8rem 1.25rem;
  flex-shrink: 0;
  margin-left: 0.4rem;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px 8px;
  margin-left: 0.25rem;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--black);
  margin: 6px 0;
  border-radius: 2px;
}

/* Mobile call bar */
.mobile-call-bar { display: none; }
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--callbar-h);
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section {
  padding: 4.2rem 0;
}
.section.alt { background: var(--bg); }
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
}
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.4rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.card img {
  border-radius: 14px;
  width: 100%;
  margin-bottom: 1rem;
}
.card h2, .card h3 { margin-bottom: 0.55rem; }

/* Hero — rounded frame, huge H1, one support line, two buttons */
.hero-frame {
  max-width: calc(var(--max) + 48px);
  margin: 1.1rem auto 0;
  padding: 0 1.1rem;
}
.hero {
  position: relative;
  min-height: min(72vh, 720px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.82) 0%, rgba(17,17,17,0.55) 48%, rgba(17,17,17,0.28) 100%),
    var(--black) center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
}
.hero-inner {
  padding: clamp(2.4rem, 6vw, 5.5rem) clamp(1.4rem, 5vw, 4.2rem);
  max-width: 920px;
}
.hero h1 {
  color: #fff;
  margin: 0 0 0.45em;
  max-width: 14ch;
}
.hero .support {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.45;
  margin: 0 0 1.7rem;
  max-width: 32rem;
  color: #f3f3f3;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Page hero (interior) */
.page-hero {
  background:
    linear-gradient(90deg, rgba(17,17,17,0.78), rgba(181,17,26,0.45)),
    var(--black) center/cover no-repeat;
  color: #fff;
  border-radius: var(--radius-lg);
  margin: 1.1rem auto 0;
  max-width: calc(var(--max) + 48px);
  padding: clamp(2.2rem, 5vw, 4.2rem) clamp(1.4rem, 4vw, 3.2rem);
}
.page-hero h1 { color: #fff; max-width: 18ch; margin-bottom: 0.4em; }
.page-hero .support {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: #f2f2f2;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1.4rem 0 0;
}
.crumbs a { color: var(--muted); }
.page-hero + .crumbs, .hero-frame + .crumbs { /* default below */ }
.crumbs.light { color: rgba(255,255,255,0.8); margin: 0 0 1rem; }
.crumbs.light a { color: #fff; }

/* Prose */
.prose { max-width: 46rem; }
.prose-wide { max-width: 52rem; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
}
.split img, .media-frame {
  border-radius: var(--radius);
  width: 100%;
  overflow: hidden;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Sizes */
.size-card {
  text-align: left;
}
.size-card .yards {
  font-family: var(--font-head);
  color: var(--red);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
}
.size-art {
  background: #fff;
  border-radius: 16px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.size-art.placeholder {
  background: repeating-linear-gradient(135deg, #f7f7f7, #f7f7f7 12px, #efefef 12px, #efefef 24px);
  color: var(--muted);
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 180px;
}

/* Lists / towns */
.town-groups h3 { margin-top: 1.8rem; }
.town-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem 1.2rem;
}
.town-list a {
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}
.town-list a:hover { color: var(--red); }
.town-list .miles { color: var(--muted); font-weight: 500; font-size: 0.92rem; }

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin: 0 0 0.7rem;
}
.faq summary {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--red); margin-bottom: 0.5rem; }

/* Forms */
.form {
  display: grid;
  gap: 0.9rem;
}
.form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--red);
  border-color: var(--red);
}
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.form-status.is-ok { display: block; background: #e8f6ea; color: #14532d; }
.form-status.is-err { display: block; background: #fde8e8; color: #7f1d1d; }

.contact-aside {
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.7rem;
}
.contact-aside h2, .contact-aside a { color: #fff; }
.contact-aside a:hover { color: #ffd6d6; }
.map-frame {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #d7d7d7;
  margin-top: 3rem;
  padding: 3rem 0 1.4rem;
}
.footer-inner {
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}
.site-footer a { color: #e8e8e8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.footer-logo img { width: 200px; height: auto; background: #fff; border-radius: 14px; padding: 0.4rem; }
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-style: italic;
  margin-top: 0.85rem;
  color: #cfcfcf;
}
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 1.1rem 1.25rem 0;
  max-width: calc(var(--max) + 64px);
  margin: 0 auto;
  font-size: 0.92rem;
  color: #9a9a9a;
}

.cta-band {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { font-family: var(--font-serif); margin-top: 0.4rem; }

/* Reviews placeholder */
.note-card {
  border-left: 6px solid var(--red);
}

@media (max-width: 980px) {
  .grid-3, .grid-4, .town-list, .footer-inner, .split, .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-inner { padding: 0.45rem 0.9rem; }
  .logo img { width: 148px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0.9rem 1rem;
    gap: 0.15rem;
  }
  body.nav-open .nav { display: flex; }
  .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0.4rem 0.8rem; display: none; }
  .nav-item.is-open .menu { display: block; }
  .hamburger { display: block; }
  .btn-header { margin-left: auto; }
  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
  }
  body { padding-bottom: var(--callbar-h); }
  .hero, .page-hero { border-radius: 24px; min-height: 560px; }
  .hero { min-height: 560px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .town-list, .footer-inner, .split {
    grid-template-columns: 1fr;
  }
  .btn-header { padding: 0.7rem 0.95rem; font-size: 0.92rem; }
  .hero { min-height: 520px; }
}

/* Photo-free heroes: brand black and red until real Matos fleet photos exist. */
.hero {
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 14px, rgba(255,255,255,0) 14px 28px),
    linear-gradient(115deg, #111111 0%, #1b1b1b 52%, #6C0A10 100%);
  min-height: min(64vh, 620px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.hero-art { padding: 1.5rem 2rem 1.5rem 0; }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-phone {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: 0.04em;
  color: #fff;
  margin: 1.3rem 0 0;
}
.hero-phone a { color: #fff; }
.hero-phone small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: #cfcfcf;
}
.page-hero {
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 14px, rgba(255,255,255,0) 14px 28px),
    linear-gradient(110deg, #111111 0%, #1b1b1b 55%, #8E0D14 100%);
}

/* Trust strip */
.trust {
  background: var(--black);
  color: #fff;
  margin-top: 1.1rem;
}
.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.02rem;
  line-height: 1.2;
  border-left: 4px solid var(--red);
  padding-left: 0.8rem;
}
.trust-item span {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  color: #c9c9c9;
  margin-top: 0.15rem;
}

/* Size cards with drawn containers */
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.size-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.size-tile svg { width: 100%; height: auto; margin-bottom: 0.7rem; }
.size-tile .yards {
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
  color: var(--black);
  margin: 0 0 0.3rem;
}
.size-tile .yards small { font-size: 1rem; color: var(--red); letter-spacing: 0.08em; }
.size-tile p { margin: 0 0 0.5rem; font-size: 0.98rem; }
.size-tile .loads { color: var(--muted); font-size: 0.9rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.step {
  position: relative;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
}
.step .num {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
  display: block;
  margin-bottom: 0.4rem;
}
.step h3 { color: #fff; margin-bottom: 0.4rem; }
.step p { color: #d9d9d9; margin: 0; }

.card.service { border-top: 6px solid var(--red); }

@media (max-width: 980px) {
  .size-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero { min-height: 480px; }
}
@media (max-width: 640px) {
  .size-grid, .steps, .trust-inner { grid-template-columns: 1fr; }
}

.fee-table {
  width: 100%;
  max-width: 36rem;
  border-collapse: collapse;
  margin: 1.4rem 0 1.8rem;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fee-table th, .fee-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.fee-table th {
  background: var(--black);
  color: #fff;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.fee-table tr:last-child td { border-bottom: 0; }

/* Photo slots: real photo when assets/img/photos/{key}.jpg exists, illustration until then. */
.photo-slot {
  margin: 0 0 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f1f1f1;
  aspect-ratio: 16 / 9;
  max-width: 52rem;
}
.photo-slot img, .photo-slot svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-slot.wide { max-width: none; }
.photo-slot.tile { aspect-ratio: 4 / 3; max-width: none; margin-bottom: 1.2rem; }
.split .photo-slot { margin: 0; max-width: none; }

/* FAQ cards: boxed, brand-colored */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.2rem;
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.06);
}
.faq summary {
  position: relative;
  padding-right: 2rem;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.1rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--red);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] { border-color: var(--red); }
.faq details p { margin: 0 0 0.3rem; }
