:root{--blue:#046bd2;--blue-dark:#045cb4;--ink:#1e293b;--slate:#334155;--fill:#f9fafb;--fill-2:#e2e8f0;--border:#cbd5e1;--white:#fff;
--font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}
*{box-sizing:border-box}html,body{overflow-x:hidden}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--white);line-height:1.6}
a{color:var(--blue)}
ul{margin:0;padding:0;list-style:none}

/* Layout container — shared by header, footer, and page content. */
.wrap{max-width:1200px;margin:0 auto;padding:0 1.25rem}

/* Skip-to-content link: visually hidden until focused. */
.skip{position:absolute;left:-9999px;top:0;background:var(--blue);color:var(--white);padding:.6rem 1rem;z-index:1000;text-decoration:none}
.skip:focus{left:.75rem;top:.75rem}

/* ---------------------------------------------------------------- Header / nav
   Reproduces the real site's black Astra header: a white "above header" phone strip, then a
   black primary bar (logo left, 4-item nav right). Verified against a live screenshot of
   https://okaloosafl.thedumpsterguyusa.com/ — see .superpowers/sdd/rework-visual-match-brief.md. */
.hdr{border-bottom:1px solid var(--border)}
.hdr__top{background:var(--white);border-bottom:0}
.hdr__phone{display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.5rem 1.25rem;
  color:var(--ink);text-decoration:none;font-weight:600;font-size:.9rem}
.hdr__phone:hover{color:var(--blue)}
.hdr__phone-icon{width:1em;height:1em}

.hdr__main{background:#000}
.hdr__in{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1rem;padding:.75rem 1.25rem}

.hdr__brand{display:flex;align-items:center;text-decoration:none;flex:0 0 auto}
.hdr__logo{display:block;max-width:170px;width:100%;height:auto}

/* Mobile hamburger toggle — CSS-only disclosure, no JS dependency. */
.nav__toggle-input{position:absolute;opacity:0;pointer-events:none;width:0;height:0}
.nav__toggle{margin-left:auto;flex:0 0 auto;width:2.25rem;height:2.25rem;display:flex;align-items:center;
  justify-content:center;cursor:pointer;border:1px solid #444;border-radius:.25rem}
.nav__toggle-bars,.nav__toggle-bars::before,.nav__toggle-bars::after{content:"";display:block;
  background:var(--white);height:2px;width:1.35rem}
.nav__toggle-bars{position:relative}
.nav__toggle-bars::before{position:absolute;top:-6px;left:0}
.nav__toggle-bars::after{position:absolute;top:6px;left:0}

.nav{flex:0 0 100%;display:none}
.nav__toggle-input:checked ~ .nav{display:block}
.nav__list{border-top:1px solid #333;margin-top:.75rem;padding-top:.5rem}
.nav__item{border-bottom:1px solid #222}
.nav__link{display:block;padding:.65rem .25rem;color:var(--white);text-decoration:none;font-weight:600;
  cursor:pointer}
.nav__link:hover{color:var(--blue)}

.nav__drop{border:0}
.nav__drop > summary{list-style:none}
.nav__drop > summary::-webkit-details-marker{display:none}
.nav__caret{font-size:.7em}
.nav__mega{padding:0 0 .5rem 1rem}
.nav__mega li a,.nav__mega .nav__link{display:block;padding:.4rem .25rem;color:var(--white);text-decoration:none}
.nav__mega li a:hover,.nav__mega .nav__link:hover{color:var(--blue)}
/* Nested "Service Areas" flyout inside "Dumpster Rentals" — indented further on mobile. */
.nav__mega--sub{padding-left:1rem}

@media (min-width:960px){
  .hdr__in{flex-wrap:nowrap}
  .nav__toggle,.nav__toggle-input{display:none}
  .nav{flex:1 1 auto;display:block !important;margin-left:auto}
  .nav__list{display:flex;align-items:center;justify-content:flex-end;gap:.25rem;border-top:0;margin-top:0;padding-top:0}
  .nav__item{border-bottom:0}
  .nav__link{padding:.5rem .6rem;white-space:nowrap}
  .nav__item--drop{position:relative}
  .nav__mega{display:none;position:absolute;top:100%;left:0;min-width:230px;background:var(--white);
    border-radius:.25rem;box-shadow:0 8px 20px rgba(0,0,0,.25);
    padding:.4rem 0;margin-top:0;z-index:20}
  .nav__drop[open] > .nav__mega,.nav__drop:hover > .nav__mega,.nav__drop:focus-within > .nav__mega{display:block}
  .nav__mega li a,.nav__mega .nav__link{padding:.5rem .9rem;color:var(--ink)}
  .nav__mega li a:hover,.nav__mega .nav__link:hover{color:var(--blue)}
  /* Nested flyout opens to the right of its parent row instead of stacking below. */
  .nav__mega--sub{position:absolute;top:0;left:100%;padding:.4rem 0;margin:0}
  .nav__item--drop .nav__item--drop{position:relative}
}

/* ---------------------------------------------------------------- Footer
   Black, centered, stacked lines — reproduces the real footer exactly (verified against a live
   screenshot: "Dumpster Rentals" is a link, "Demolition Services" is plain text, both followed
   by the same 4-city list; see rework-visual-match-brief.md). */
.ftr{background:#000;color:#cbd5e1;margin-top:2rem}
.ftr__in{padding:2.5rem 1.25rem 1.5rem;text-align:center}
.ftr__in p{margin:0 0 .5rem}
.ftr__line a,.ftr__legal a,.ftr__social a{color:var(--blue);text-decoration:none}
.ftr__line a:hover,.ftr__legal a:hover,.ftr__social a:hover{text-decoration:underline}
.ftr__plain{color:#cbd5e1}
.ftr__name{color:var(--white);font-weight:600;margin-top:1rem}
.ftr__social{margin-bottom:.75rem}
.ftr__legal{font-size:.85rem;color:#94a3b8;padding-top:.5rem}

/* ---------------------------------------------------------------- Buttons */
.btn{display:inline-block;text-decoration:none;font-weight:700;padding:.75rem 1.4rem;
  border-radius:.25rem;text-align:center}
.btn--primary{background:var(--blue);color:var(--white)}
.btn--primary:hover{background:var(--blue-dark)}
.btn--secondary{background:transparent;color:var(--blue);border:2px solid var(--blue)}
.btn--secondary:hover{background:var(--blue);color:var(--white)}

/* ---------------------------------------------------------------- Home page sections */
img{max-width:100%;height:auto;display:block}

.sect{padding:2.5rem 0}
.sect--alt{background:var(--fill)}
.sect__in h2{margin:0 0 .5rem;color:var(--ink);font-size:1.6rem}
.sect__in h3{margin:0 0 1rem;color:var(--slate);font-size:1.15rem;font-weight:600}
.sect__in p{color:var(--slate);max-width:70ch}
.sect__in > a{margin-top:1rem}

/* Small H1 section (home page) — a plain heading, no hero banner/photo/CTA. */
.sect--h1{padding-bottom:0}
.sect--h1 h1{margin:0;color:var(--ink);font-size:2rem;line-height:1.2}

/* Intro (text + photo) — shared by home and several other pages' opening sections. */
.intro{display:flex;flex-direction:column;gap:1.5rem}
.intro__img{border-radius:.25rem}
.intro__links{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}
@media (min-width:820px){
  .intro{flex-direction:row;align-items:flex-start}
  /* min-width:0 lets the flex items shrink; without it the 1024px image keeps its
     intrinsic width and squeezes the text column to a sliver. */
  .intro__copy{flex:1 1 55%;min-width:0}
  .intro__img{flex:1 1 45%;min-width:0;max-width:45%;height:auto}
}
/* Home's intro is the real site's ~44/56 split (narrower copy column, larger photo). */
@media (min-width:820px){
  .sect--top .intro__copy{flex:1 1 44%}
  .sect--top .intro__img{flex:1 1 54%;max-width:54%}
}

/* Gray "Contact Us" band (home) — short blurb + two white cards. */
.contact-band{display:flex;flex-direction:column;gap:1.5rem}
.contact-band__copy p{margin-top:.5rem}
.contact-band__cards{display:flex;flex-direction:column;gap:1.25rem}
@media (min-width:820px){
  .contact-band{flex-direction:row;align-items:center}
  .contact-band__copy{flex:1 1 34%}
  .contact-band__cards{flex:1 1 66%;flex-direction:row}
}
.card{background:var(--white);border:1px solid var(--border);padding:1.75rem 1.25rem;
  text-align:center;flex:1 1 50%}
.card__icon{display:inline-flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;
  background:#000;color:var(--white);border-radius:50%;margin-bottom:.9rem}
.card__icon svg{width:1.3rem;height:1.3rem}
.card p{margin:0;color:var(--ink)}
.card a{font-weight:600}

/* "Why Choose" — full-width running text, wider than the default 70ch clamp. */
.why-choose .sect__in p{max-width:none}

/* Service Areas — right-aligned two-column: an empty left column, content right. */
.service-areas{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media (min-width:960px){
  .service-areas{grid-template-columns:1fr 1fr;gap:2.5rem}
  .service-areas__spacer{display:block}
}
.service-areas__spacer{display:none}
.service-areas h3{color:var(--ink)}
/* Bulleted, non-chip city links — scoped to this section only (other pages keep the chip style).
   Overrides the base .city-list's flex layout: a flex-item <li> never draws its marker box, so
   this needs display:block on both the <ul> and each <li>, not just a list-style declaration. */
.service-areas .city-list{display:block;padding-left:1.25rem;margin-top:1.25rem;max-width:70ch}
.service-areas .city-list li{display:list-item;list-style:disc;background:none;border:0;margin-bottom:.5rem}
.service-areas .city-list a{display:inline;padding:0;font-weight:400}

/* Service-area city list (other pages) — bordered chips. */
.city-list{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.25rem}
.city-list li{background:var(--white);border:1px solid var(--border)}
.city-list a{display:block;padding:.55rem 1rem;color:var(--ink);text-decoration:none;font-weight:600}
.city-list a:hover{color:var(--blue)}

/* Bottom "Contact Us" section (home) — gray box, NAP + map left, form right. */
.contact-bottom{display:grid;grid-template-columns:1fr;gap:2rem;background:var(--fill-2);
  border:1px solid var(--border);padding:1.75rem;margin-top:1.25rem}
.contact-bottom__nap h3{margin:0 0 .75rem;color:var(--ink)}
.contact-bottom__nap p{margin:.3rem 0}
.contact-bottom__form h2{margin-top:0}
.contact-bottom .form{margin-top:1rem}
@media (min-width:820px){
  .contact-bottom{grid-template-columns:1fr 1fr}
}
/* Google Map iframe — sized via this class, never inline style. */
.contact-bottom__map{display:block;width:100%;max-width:100%;height:320px;border:0;margin-top:1.25rem}
@media (min-width:820px){
  .contact-bottom__map{height:450px}
}

/* Closing contact CTA */
.sect--cta{background:var(--blue);color:var(--white)}
.sect--cta h2{color:var(--white)}
.sect--cta p{color:var(--white)}
.cta__actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.25rem}
.sect--cta .btn--secondary{color:var(--white);border-color:var(--white)}
.sect--cta .btn--secondary:hover{background:var(--white);color:var(--blue)}

/* ---------------------------------------------------------------- City page (Task 7) */
/* Bulleted "when you partner with us" lists inside city body copy (global ul reset above
   removes list-style, so restore it scoped to this class only). */
.check-list{margin:1rem 0;padding-left:1.25rem;max-width:70ch}
.check-list li{list-style:disc;color:var(--slate);margin-bottom:.5rem}

/* Dumpster Sizes & Prices cards — shared boilerplate rendered from $site['sizes']. */
.size-grid{display:grid;grid-template-columns:1fr;gap:1.25rem;margin-top:1.25rem}
.size-card{background:var(--white);border:1px solid var(--border);padding:1.25rem}
.size-card h3{margin:0 0 .5rem;color:var(--ink);font-size:1.15rem}
.size-card p{color:var(--slate);margin:.4rem 0}
.size-card__price{font-weight:700;color:var(--ink);font-size:1.1rem}
.size-card .btn{margin-top:.5rem}
@media (min-width:720px){
  .size-grid{grid-template-columns:repeat(3,1fr)}
}

/* ---------------------------------------------------------------- Task 8: service pages */
/* Key Takeaways dimensions table (dumpster-sizes) — wrapped so a narrow viewport scrolls the
   table horizontally instead of the page overflowing. */
.table-wrap{overflow-x:auto;margin-top:1.25rem}
.key-table{border-collapse:collapse;width:100%;min-width:480px}
.key-table th,.key-table td{border:1px solid var(--border);padding:.6rem .9rem;text-align:left;color:var(--slate)}
.key-table th{background:var(--fill-2);color:var(--ink)}

/* FAQ Q&A blocks (prices/sizes/demo-cost) — a plain question/answer stack, ruled apart. */
.faq-list{margin-top:1.25rem}
.faq-item{padding:1.25rem 0;border-bottom:1px solid var(--border)}
.faq-item:first-child{padding-top:0}
.faq-item:last-child{border-bottom:0}
.faq-item h3{margin:0 0 .5rem}

/* ---------------------------------------------------------------- Task 10: blog post + category */
/* Single-article template — h2/h3/p inside .post__body already inherit .sect__in's heading/copy
   rules above; these just add article-specific spacing/rhythm on top. */
.post__meta{color:var(--slate);font-size:.95rem;margin:.25rem 0 1.25rem}
.post__img{border-radius:.25rem;margin-bottom:1.5rem;max-width:100%}
.post__body h2{margin-top:2rem}
.post__body h3{margin-top:1.5rem}
.post__body>:first-child{margin-top:0}

/* Category archive — a simple list of post links + published dates. */
.archive-list{list-style:none;margin:1.25rem 0 0;padding:0;display:flex;flex-direction:column;gap:1px}
.archive-list__item{background:var(--white);border:1px solid var(--border);padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.25rem}
.archive-list__item a{color:var(--ink);text-decoration:none;font-weight:700;font-size:1.05rem}
.archive-list__item a:hover{color:var(--blue)}
.archive-list__item time{color:var(--slate);font-size:.9rem}
@media (min-width:720px){
  .archive-list__item{flex-direction:row;justify-content:space-between;align-items:center;gap:1rem}
}

/* ---------------------------------------------------------------- Task 11: legal pages */
/* Privacy Policy / Terms of Use — long-form running text with many sequential H2/H3/H4
   sections; capped to a comfortable reading width (.sect__in already caps <p> at 70ch, this
   just tightens the heading rhythm for a dense sequence of short sections). */
.legal{max-width:70ch}
.legal h1{margin:0 0 .25rem}
.legal__updated{color:var(--slate);font-style:italic;margin:0 0 1.5rem}
.legal h2{margin-top:2rem;margin-bottom:.5rem;font-size:1.3rem}
.legal h3{margin-top:1.25rem;margin-bottom:.4rem;font-size:1.05rem}
.legal h4{margin-top:1rem;margin-bottom:.4rem;color:var(--ink);font-size:.95rem}
.legal p{margin:0 0 1rem}
.legal>*:first-child{margin-top:0}

/* ---------------------------------------------------------------- Task 11: HTML sitemap */
.sitemap-groups{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:.5rem}
.sitemap-group h2{margin:0 0 .75rem;color:var(--ink);font-size:1.15rem}
.sitemap-group ul{display:flex;flex-direction:column;gap:.45rem}
.sitemap-group a{color:var(--slate);text-decoration:none}
.sitemap-group a:hover{color:var(--blue);text-decoration:underline}
@media (min-width:720px){.sitemap-groups{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.sitemap-groups{grid-template-columns:repeat(3,1fr)}}

/* ---------------------------------------------------------------- Task 11: 404 + thank-you */
/* Short, centered status messages with a way back into the site. Shared ruleset — both pages
   are "heading + one line + button(s)" with no other content. */
.oops,.thanks{padding:3.5rem 0;text-align:center}
.oops .eyebrow{display:block;color:var(--blue);font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;font-size:.8rem;margin:0 0 .75rem}
.oops h1,.thanks h1{margin:0 0 1rem;color:var(--ink);font-size:1.9rem}
.oops p,.thanks p{color:var(--slate);max-width:60ch;margin:0 auto 1.25rem}
.oops .btn,.thanks .btn{margin:.25rem .4rem}

/* ---------------------------------------------------------------- Task 12: contact form */
/* Honeypot field: off-screen, out of tab order, hidden from assistive tech — never display:none
   (some bots skip filling display:none inputs; a display:none MUST still be avoided for real
   sighted users seeing nothing, so this is positioned off-canvas instead). */
.form__hp{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden}

.form{max-width:640px;margin-top:1.25rem}
.form__row{margin-bottom:1.25rem}
.form__label{display:block;margin-bottom:.4rem;color:var(--ink);font-weight:600}
.form__opt{color:var(--slate);font-weight:400;font-size:.9em}
.form__input,.form__textarea{width:100%;max-width:100%;box-sizing:border-box;padding:.65rem .8rem;
  border:1px solid var(--border);border-radius:.25rem;font:inherit;color:var(--ink);background:var(--white)}
.form__input:focus,.form__textarea:focus{outline:2px solid var(--blue);outline-offset:1px}
.form__textarea{resize:vertical;min-height:8rem}
.form__err{color:#b91c1c;margin:.4rem 0 0;font-size:.9rem}
.form__notice{background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;padding:.75rem 1rem;
  border-radius:.25rem;margin:0 0 1.25rem;max-width:640px}
.form button[type="submit"]{border:0;cursor:pointer;font:inherit}
.form button[type="submit"]:disabled{opacity:.6;cursor:not-allowed}
.form__success{background:var(--white);border:1px solid var(--border);padding:1.5rem;max-width:640px}
.form__success-h{margin:0 0 .4rem;color:var(--ink);font-weight:700;font-size:1.15rem}
