/* Moore's Hauling & Junk Removal
   Identity: the navy trailer with yellow painted lettering. */
:root {
  --navy: #22304F;       /* trailer side */
  --navy-deep: #141D33;  /* trailer in shade: header, rail, footer */
  --rib: #2D3D62;        /* trailer ribs, lines on navy */
  --yellow: #F6CF2F;     /* painted lettering */
  --yellow-dk: #DDB512;
  --bin: #2340B0;        /* the blue trash can */
  --white: #FFFFFF;
  --gray: #EDF0F4;       /* primer gray section ground */
  --ink: #131A2A;
  --muted: #4A556B;
  --line: #D5DAE3;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote, dl, dd, ul, ol, p, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy-deep); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 16px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

h1, h2, .brand__a, .panel__h { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 24px; border: 2px solid transparent; border-radius: 4px; font-weight: 700; font-size: 1.06rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-dk); }
.btn--line { border-color: var(--yellow); color: var(--yellow); }
.btn--line:hover { background: var(--yellow); color: var(--ink); }
.btn--navy { background: var(--navy-deep); color: var(--white); }
.btn--full { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); color: var(--white); }
.header__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; color: var(--yellow); white-space: nowrap; }
.brand__a { font-size: 1.75rem; }
.brand__b { font-weight: 700; font-size: .98rem; color: var(--white); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 1rem; font-weight: 500; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.header__call { display: inline-flex; align-items: center; min-height: 46px; padding: 6px 16px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; border-radius: 4px; white-space: nowrap; }
.header__call:hover { background: var(--yellow-dk); }
.menu-toggle { display: none; width: 48px; height: 48px; margin-left: auto; background: none; border: 2px solid var(--rib); border-radius: 4px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; margin: auto; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; }
.mobile-menu { background: var(--navy-deep); border-top: 1px solid var(--rib); padding: 8px 16px 18px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: 14px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rib); }
.mobile-menu .mobile-menu__call { margin-top: 14px; border: 0; background: var(--yellow); color: var(--ink); text-align: center; border-radius: 4px; }

/* Before / After tag: a strip of painted lettering */
.tag { position: absolute; left: 0; top: 14px; padding: 5px 14px 5px 16px; background: var(--navy-deep); color: var(--white); font-family: var(--display); font-size: 1.05rem; letter-spacing: .03em; line-height: 1.3; }
.tag--after { background: var(--yellow); color: var(--ink); }

/* Hero: the pair on top, the trailer side underneath */
.hero { background: var(--navy); }
.pairhero { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--navy-deep); }
.pairhero figure { position: relative; overflow: hidden; }
.pairhero img { width: 100%; height: clamp(190px, 37vh, 440px); object-fit: cover; object-position: 50% 48%; }
.pairhero .tag { top: auto; bottom: 16px; font-size: 1.25rem; padding: 6px 18px; }

.slab { background: var(--navy); color: var(--white); border-top: 10px solid var(--rib); }
.slab__in { display: grid; grid-template-columns: minmax(0, 1fr) 236px 236px; }
.slab__main { padding: 34px 40px 40px 0; }
h1 { font-size: clamp(2.2rem, 4.3vw, 3.75rem); color: var(--yellow); text-transform: uppercase; max-width: 17em; }
.slab__lead { margin-top: 16px; max-width: 40em; font-size: 1.1rem; color: #E6EAF2; }
.slab__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.panel { padding: 38px 20px 30px 26px; border-left: 8px solid var(--rib); box-shadow: inset 2px 0 0 rgba(0, 0, 0, .28); }
.panel__h { font-size: 1.3rem; color: var(--yellow); margin-bottom: 10px; }
.panel li { font-size: 1rem; line-height: 1.35; padding: 5px 0; color: #F1E6AE; font-weight: 500; }
.rail { background: var(--navy-deep); }
.rail__in { display: flex; flex-wrap: wrap; gap: 6px 0; padding-block: 16px; font-size: 1rem; }
.rail__in li { padding-right: 26px; margin-right: 26px; border-right: 2px solid var(--rib); }
.rail__in li:last-child { border: 0; margin: 0; padding: 0; }
.rail__in strong { color: var(--yellow); font-size: 1.15rem; }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--gray { background: var(--gray); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.sec-head p { color: var(--muted); max-width: 36em; }

/* Services */
.services { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: stretch; }
.services__photos { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; min-height: 520px; }
.ph { position: relative; min-height: 0; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--tall { grid-row: 1 / 3; }
.svc > div { display: grid; grid-template-columns: 15px minmax(0, 1fr); column-gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.svc > div:first-child { border-top: 3px solid var(--navy); }
.svc > div::before { content: ""; grid-row: 1 / 3; width: 15px; height: 15px; margin-top: 7px; background: var(--yellow); border: 2px solid var(--navy); }
.svc dt { font-weight: 700; font-size: 1.12rem; }
.svc dd { color: var(--muted); grid-column: 2; }

/* Before and after */
.pair__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--navy-deep); border: 6px solid var(--navy-deep); }
.pair__imgs figure { position: relative; }
.pair__imgs img { width: 100%; height: 100%; object-fit: cover; }
.pair__cap { margin-top: 12px; color: var(--muted); }
.pair__cap strong { color: var(--ink); }
.pair--big { margin-bottom: 40px; }
.pairs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pairs .tag { font-size: .9rem; top: 10px; padding: 3px 10px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 6px; }
.g-item { padding: 0; border: 0; background: var(--gray); cursor: zoom-in; overflow: hidden; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item--wide { grid-column: span 2; }
.g-item--tall { grid-row: span 2; }

/* Trash service: the blue can */
.trash { background: var(--bin); color: var(--white); }
.trash__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.trash__photo img { width: 100%; border: 6px solid var(--white); }
.trash__text h2 { color: var(--yellow); }
.trash__text p { margin-top: 16px; max-width: 32em; }
.trash__price { display: flex; align-items: baseline; gap: 12px; font-weight: 600; font-size: 1.15rem; }
.trash__price strong { font-family: var(--display); font-weight: 400; font-size: clamp(3.6rem, 7vw, 5.2rem); line-height: 1; color: var(--yellow); }
.trash__text .btn { margin-top: 26px; }

/* Reviews */
.rev-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 36px; }
.score { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.score strong { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.stars { color: #C99A00; letter-spacing: 2px; font-size: 1.2rem; }
.lead-q { padding: 30px 34px; background: var(--navy); color: var(--white); border-left: 10px solid var(--yellow); }
.lead-q blockquote { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.5; max-width: 46em; }
.lead-q figcaption { margin-top: 16px; color: #D5DBE8; }
.lead-q figcaption strong { color: var(--yellow); }
.quotes { columns: 3; column-gap: 40px; margin-top: 40px; }
.quotes figure { break-inside: avoid; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.quotes figcaption { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.quotes figcaption strong { color: var(--ink); }

/* About */
.about { background: var(--gray); }
.about__trailer img { width: 100%; height: clamp(240px, 40vw, 520px); object-fit: cover; object-position: 50% 46%; }
.about__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding-block: clamp(48px, 6vw, 80px); align-items: start; }
.about__text p { margin-top: 16px; max-width: 36em; }
.facts { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; max-width: 36em; }
.facts li { padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; }
.frank { display: grid; grid-template-columns: 1fr; }
.frank img { width: 100%; max-width: 498px; }
.frank figcaption { margin-top: 8px; font-size: 1rem; color: var(--muted); }
.area { margin-top: 34px; max-width: 36em; padding-top: 22px; border-top: 3px solid var(--navy); }
.area__list { margin-top: 8px; font-size: 1.3rem; font-weight: 700; line-height: 1.4; }
.area__note { margin-top: 10px; color: var(--muted); }
.area__note a { color: var(--ink); font-weight: 700; }

/* Quote */
.quote { background: var(--navy); color: var(--white); border-top: 10px solid var(--rib); }
.quote__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; padding-block: clamp(56px, 7vw, 96px); align-items: start; }
.quote h2 { color: var(--yellow); }
.steps { counter-reset: s; margin-top: 26px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 54px; color: #E6EAF2; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-family: var(--display); font-size: 1.25rem; }
.steps strong { color: var(--white); display: block; }
.contact { margin-top: 18px; border-top: 2px solid var(--rib); }
.contact li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 2px solid var(--rib); }
.contact li > span:first-child { color: #C4CCDC; }
.contact a { font-weight: 700; color: var(--yellow); overflow-wrap: anywhere; }
.contact__v { font-weight: 600; }
.form { background: var(--white); color: var(--ink); padding: 30px; border-top: 10px solid var(--yellow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 11px 14px; border: 2px solid #8C96A8; border-radius: 4px; background: var(--white); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid var(--yellow); outline-offset: 0; box-shadow: none; }
.form__err { margin-bottom: 14px; padding: 10px 14px; background: #FDECEC; border-left: 4px solid #B3261E; color: #7A1712; font-weight: 600; }
.form__note { margin-top: 12px; font-size: .95rem; color: var(--muted); }

/* Footer */
.footer { background: var(--navy-deep); color: #D5DBE8; padding-block: 44px; font-size: 1rem; }
.footer__in { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.footer__logo { width: 120px; height: auto; }
.footer__name { color: var(--white); font-weight: 700; margin-bottom: 6px; }
.footer a { color: var(--yellow); }
.footer p + p { margin-top: 8px; }

.sticky-book { display: none; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 19, 34, .97); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox img { max-width: min(92vw, 1200px); max-height: 78vh; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { position: absolute; left: 16px; right: 16px; bottom: 22px; text-align: center; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 0; border-radius: 4px; color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 16px; top: 50%; margin-top: -26px; }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__call { margin-left: auto; }
  .menu-toggle { display: grid; margin-left: 0; }
  .slab__in { grid-template-columns: minmax(0, 1fr) 210px 210px; }
  .quotes { columns: 2; }
}
@media (max-width: 900px) {
  body { padding-bottom: 0; }
  .slab__in { grid-template-columns: 1fr 1fr; }
  .slab__main { grid-column: 1 / -1; padding: 28px 0 30px; }
  .panel { padding: 22px 12px 24px 18px; border-top: 2px solid var(--rib); }
  .panel:nth-of-type(2) { border-left: 0; box-shadow: none; padding-left: 0; }
  .sec-head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .services, .trash__in, .about__in, .quote__in { grid-template-columns: 1fr; gap: 36px; }
  .services__photos { height: 70vw; min-height: 0; }
  .pairs { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .footer__in { grid-template-columns: 90px minmax(0, 1fr); }
  .footer__in > div:last-child { grid-column: 1 / -1; }
  .footer__logo { width: 90px; }
  .sticky-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(20, 29, 51, .18); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-book.is-visible { transform: none; }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .header__in { gap: 10px; min-height: 62px; }
  .brand { flex-direction: column; align-items: flex-start; gap: 0; }
  .brand__a { font-size: 1.35rem; line-height: 1.1; }
  .brand__b { font-size: .74rem; line-height: 1.2; }
  .header__call { padding: 6px 12px; font-size: .98rem; }
  .pairhero { gap: 4px; }
  .pairhero img { height: 30vh; min-height: 180px; }
  .pairhero .tag { font-size: 1rem; bottom: 10px; padding: 4px 12px; }
  .slab__cta .btn { width: 100%; }
  .rail__in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .rail__in li { border: 0; margin: 0; padding: 0; }
  .services__photos { grid-template-columns: 1fr 1fr; min-height: 0; height: 110vw; }
  .quotes { columns: 1; }
  .lead-q { padding: 24px 20px; border-left-width: 6px; }
  .facts { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .contact li { grid-template-columns: 1fr; gap: 2px; padding: 11px 0; }
  .trash__price { flex-wrap: wrap; }
}
@media (max-width: 380px) {
  .header__call { display: none; }
  .menu-toggle { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g-item img, .sticky-book { transition: none; }
  .g-item:hover img { transform: none; }
}
