/* Hazmat Solutions L.L.C. — shared styles
   Brand colours taken from the logo and company poster: deep maroon, logo red, soft blush. */

:root {
  --maroon-ink: #3A0A0F;   /* darkest: footer, dark bands */
  --maroon: #6B1119;       /* headings, primary buttons */
  --red: #B01E2A;          /* logo red: accents, rules, icons */
  --blush: #F8F2F2;        /* light section background */
  --line: #E6D6D7;         /* dividers */
  --text: #2A1C1E;
  --muted: #6A585A;
  --paper: #FFFFFF;
  --measure: 68ch;
  --wrap: 1180px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  color: var(--text); background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; color: var(--maroon); margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--maroon); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; }

/* The poster's rule-with-a-dot divider */
.rule-dot { display: block; width: 180px; height: 2px; background: var(--red); position: relative; margin: 1.4rem 0 1.6rem; }
.rule-dot::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 1rem; }
.brand img { height: 66px; width: auto; }
.nav-toggle { display: none; background: none; border: 2px solid var(--maroon); color: var(--maroon); font: 600 1rem var(--sans); padding: .4rem .8rem; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.8rem; align-items: center; }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--text); }
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { color: var(--maroon); box-shadow: inset 0 -2px 0 var(--red); }
.site-nav .nav-call { background: var(--maroon); color: #fff; padding: .6rem 1.1rem; border-radius: 3px; }
.site-nav .nav-call:hover { background: var(--red); color: #fff; }
@media (max-width: 860px) {
  .brand img { height: 50px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .site-nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--blush); }
  .site-nav .nav-call { text-align: center; margin-top: .8rem; }
}

/* Buttons */
.btn { display: inline-block; font: 700 1.05rem var(--sans); text-decoration: none; padding: .85rem 1.4rem; border: 2px solid var(--maroon); border-radius: 3px; cursor: pointer; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-line { background: transparent; color: var(--maroon); }
.btn-line:hover { background: var(--maroon); color: #fff; }
.btn-light { background: #fff; color: var(--maroon); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-lead { font-size: 1.25rem; }
.hero-art { justify-self: center; width: min(100%, 420px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* Spill strip: urgent contact under the hero */
.alert-strip { background: var(--maroon-ink); color: #fff; }
.alert-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding: 1.1rem 0; }
.alert-strip p { margin: 0; font-size: 1.1rem; }
.alert-strip strong { font-family: var(--serif); }
.alert-strip a { color: #fff; font-weight: 700; font-size: 1.25rem; }
.alert-strip a:hover { color: #F3C9CC; }

/* Page intro (inner pages) */
.page-intro { background: var(--blush); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-intro p { font-size: 1.2rem; }
.page-intro .rule-dot { margin: 1rem 0 1.4rem; }
.crumbs { font-size: .95rem; margin-bottom: 1rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-blush { background: var(--blush); }
.section-dark { background: var(--maroon-ink); color: #F2E6E7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.section-dark .section-head p { color: #D9C3C5; }

/* Hexagon badge (from the poster's icon style) */
.hex { width: 64px; height: 72px; flex: none; background: var(--maroon);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: grid; place-items: center; }
.hex svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Services list */
.service-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.5rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.service-item h3 { margin: .15rem 0 .35rem; }
.service-item p { margin: 0; color: var(--muted); }
.service-item .more { font-weight: 700; white-space: nowrap; align-self: center; }
@media (max-width: 640px) { .service-item { grid-template-columns: 64px 1fr; } .service-item .more { grid-column: 2; } }

/* Why choose us: bordered panel with a tab label, as on the poster */
.why { border: 1px solid var(--line); border-radius: 4px; position: relative; padding: 3rem 1.5rem 2rem; margin-top: 1rem; background: #fff; }
.why-tab { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--maroon); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.5rem); padding: .45rem 1.4rem; border-radius: 3px; white-space: nowrap; margin: 0; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.why li { text-align: center; padding: 0 1rem; border-left: 1px solid var(--line); }
.why li:first-child { border-left: 0; }
.why svg { width: 40px; height: 40px; margin: 0 auto .8rem; stroke: var(--maroon); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.why p { font-size: .98rem; color: var(--muted); margin: 0 auto; }
@media (max-width: 900px) {
  .why ul { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .why li { border-left: 0; }
}
@media (max-width: 520px) { .why ul { grid-template-columns: 1fr; } .why-tab { font-size: 1.1rem; } }

/* Nine hazard classes */
.classes { display: grid; grid-template-columns: repeat(9, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.classes li { text-align: center; font-size: .95rem; line-height: 1.3; }
.diamond { width: 62px; height: 62px; margin: 0 auto .9rem; transform: rotate(45deg); border: 3px solid var(--red); background: #fff; display: grid; place-items: center; }
.diamond span { transform: rotate(-45deg); font-family: var(--serif); font-weight: 700; font-size: 1.6rem; color: var(--maroon-ink); }
@media (max-width: 900px) { .classes { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; } }

/* Process steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--red); padding-top: 1rem; }
.steps li::before { content: "Step " counter(step); display: block; font-weight: 700; color: #F3A9AF; margin-bottom: .3rem; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: #D9C3C5; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Two columns */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding: .6rem 0 .6rem 1.8rem; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.05rem; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

/* Service detail blocks */
.service-detail { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail .title { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1rem; }
.service-detail .title h2 { margin: 0; }
.service-detail .lead { font-size: 1.15rem; }
.who { color: var(--muted); font-size: 1rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .95rem; font-size: 1.7rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 1rem; }

/* CTA band: the poster's footer bar */
.cta-band { background: var(--maroon); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin: 0; max-width: 22ch; }
.cta-band .btn-row { margin-top: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-family: var(--serif); color: var(--maroon); font-size: 1.15rem; }
.contact-list a { font-size: 1.15rem; font-weight: 600; }
form label { display: block; font-weight: 700; margin: 0 0 .35rem; }
form .field { margin-bottom: 1.1rem; }
form input, form select, form textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid #BFA9AB; border-radius: 3px; padding: .75rem .85rem; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--maroon); }
form textarea { min-height: 150px; resize: vertical; }
form .hint { font-size: .92rem; color: var(--muted); margin-top: .3rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.form-error { color: var(--red); font-weight: 600; min-height: 1.5em; }
.map-frame { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-top: 1rem; }
.map-frame iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Footer */
.site-footer { background: var(--maroon-ink); color: #D9C3C5; padding: 3.5rem 0 2rem; font-size: 1rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1.25rem; color: #fff; margin-bottom: .8rem; }
.site-footer .tagline { font-family: var(--serif); font-size: 1.3rem; color: #fff; line-height: 1.3; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #F3A9AF; }
.site-footer address { font-style: normal; }
.site-footer .legal { max-width: none; border-top: 1px solid #5A2A30; margin-top: 2.5rem; padding-top: 1.3rem; font-size: .92rem; }

/* Floating WhatsApp on small screens */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; display: none; background: var(--maroon); color: #fff; font-weight: 700; text-decoration: none; padding: .8rem 1.1rem; border-radius: 3px; box-shadow: 0 4px 14px rgba(58,10,15,.35); }
.wa-float:hover { color: #fff; background: var(--red); }
@media (max-width: 860px) { .wa-float { display: block; } }
