/* ==========================================================
   OWT — Operational Waste Transport
   BRAND COLORS: when your colors are final, change the values
   in this :root block. Everything else on the site follows.
   ========================================================== */
:root {
  --color-primary: #2a584f;      /* logo dark green: headings, dark sections */
  --color-primary-dark: #1d3f39;
  --color-accent: #3b867b;       /* logo teal: icons, highlights */
  --color-accent-dark: #2f6d64;  /* darker teal: small text on white */
  --color-button: #34796f;       /* teal, a touch deeper so white button text stays readable */
  --color-button-hover: #2a584f;
  --color-accent-light: #9fd3c8; /* light teal: text on dark green */
  --color-text: #1b2631;
  --color-muted: #5b6b78;
  --color-bg: #ffffff;
  --color-bg-alt: #f2f5f8;
  --color-border: #dbe2e8;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--color-button);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid var(--color-button);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--color-button-hover); border-color: var(--color-button-hover); }
.hero .btn:hover:not(.btn-ghost) { background: var(--color-accent); border-color: var(--color-accent); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-small { padding: 9px 16px; font-size: .95rem; }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-primary); }
.brand-logo { height: 52px; width: auto; }
.brand-text { font-weight: 700; font-size: 1rem; padding-left: 12px; border-left: 2px solid var(--color-border); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; color: var(--color-text); font-weight: 500; }
.site-nav a:hover { color: var(--color-accent-dark); }
.site-nav a.btn { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(29,63,57,.97), rgba(42,88,79,.9)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.04) 38px 40px);
  color: #fff;
  padding: 110px 0 120px;
}
.hero-inner { max-width: 820px; margin-left: max(20px, calc((100% - var(--max-width)) / 2 + 20px)); }
.hero .lead { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700;
  color: var(--color-accent-dark); margin-bottom: .8em;
}
.eyebrow-light, .hero .eyebrow { color: var(--color-accent-light); }

/* ---------- Facts strip ---------- */
.facts { background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 18px; border-left: 1px solid var(--color-border); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; color: var(--color-primary); font-size: 1.1rem; }
.fact span { color: var(--color-muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-primary); color: #fff; }
.section-dark p { color: rgba(255,255,255,.85); }
.section-intro { max-width: 680px; color: var(--color-muted); font-size: 1.1rem; }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px;
}
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}
.card p { color: var(--color-muted); margin: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(59,134,123,.12);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg {
  width: 26px; height: 26px; fill: none;
  stroke: var(--color-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.note {
  margin-top: 36px; padding: 18px 22px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-alt); border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--color-border); }
.steps p { color: var(--color-muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-primary); color: #fff; font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li {
  padding: 16px 18px 16px 50px; position: relative;
  border: 1px solid var(--color-border); border-radius: var(--radius); font-weight: 500;
}
.check-list li::before {
  content: ""; position: absolute; left: 18px; top: 50%;
  width: 16px; height: 9px; margin-top: -7px;
  border-left: 3px solid var(--color-accent); border-bottom: 3px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-details { display: grid; gap: 20px; margin-top: 30px; }
.contact-details h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--color-muted); margin-bottom: 4px; }
.contact-details p { margin: 0; font-weight: 600; }

.form {
  background: var(--color-bg-alt); padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--color-border); display: grid; gap: 16px;
}
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400;
  padding: 11px 13px; border: 1px solid #c3ced8; border-radius: 8px; background: #fff; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: transparent;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form fieldset { border: 1px solid #c3ced8; border-radius: 8px; padding: 12px 16px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form legend { font-weight: 600; font-size: .95rem; padding: 0 6px; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.form .check input { width: auto; }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,.8); padding: 40px 0; font-size: .95rem; }
.site-footer strong { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-copy { width: 100%; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }

/* ---------- Simple pages (thanks / 404) ---------- */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.simple-page p { color: var(--color-muted); max-width: 520px; margin: 0 auto 1.6em; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--color-border); padding: 10px 20px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .site-nav a.btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .brand-text { display: none; }
  .brand-logo { height: 44px; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .card-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--color-border); }
  .fact:first-child { border-top: 0; }
  .form { padding: 22px; }
}
