/* ==========================================================================
   23 West — traffic control & work zone safety
   Light, professional, warm-orange palette. No dark backgrounds.
   One typeface (Barlow). No JS required (FAQ uses native <details>).
   ========================================================================== */

@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/barlow-700.woff2") format("woff2");
}

:root {
  --orange: #ea6a1e;
  --orange-dark: #c4551a;
  --orange-soft: #fff3ea;
  --cream: #fbf7f2;
  --ink: #20242c;       /* headings */
  --body: #4a4f5a;      /* paragraph text */
  --muted: #828a96;
  --line: #ece6df;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(32,36,44,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .45em; color: var(--ink); font-weight: 700; }
p { margin: 0 0 1rem; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; color: var(--orange); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--orange); color: #fff;
  padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: 1rem;
  border: 2px solid var(--orange); cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--orange-dark); }
.btn--ghost:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--white { background: #fff; color: var(--orange-dark); border-color: #fff; }
.btn--white:hover { background: var(--orange-soft); border-color: var(--orange-soft); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { font-size: 1.55rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--orange); font-weight: 700; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 700; }
.nav a:hover, .nav a.active { color: var(--orange); text-decoration: none; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); padding: 70px 0 50px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); color: var(--ink); }
.hero p.lead { font-size: 1.14rem; color: var(--body); max-width: 42ch; }
.hero__cta { margin: 24px 0 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { font-size: .95rem; color: var(--muted); font-weight: 700; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 5/4; object-fit: cover; width: 100%; }

.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.badge h3 { font-size: 1.02rem; margin: 0 0 3px; display: flex; align-items: center; gap: 8px; }
.badge h3 svg { color: var(--orange); flex: none; }
.badge p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- stats strip ---------- */
.stats-strip { background: var(--orange-soft); }
.stats-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.stat strong { display: block; font-size: 2.3rem; color: var(--orange-dark); line-height: 1; }
.stat span { color: var(--body); font-weight: 700; font-size: .95rem; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section--soft { background: var(--cream); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section__head p { color: var(--body); font-size: 1.06rem; }

/* about teaser / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--orange); }
.card__body h3 { font-size: 1.3rem; }
.card__body p { color: var(--body); flex: 1; }
.card__link { font-weight: 700; color: var(--orange-dark); margin-top: 10px; }
.card__link:hover { color: var(--orange); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.step { text-align: center; }
.step__num { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; border: 2px solid var(--orange); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--body); }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.benefit { padding: 8px; }
.benefit__icon { width: 54px; height: 54px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 16px; }
.benefit h3 { font-size: 1.12rem; }
.benefit p { color: var(--body); font-size: .96rem; }

/* ---------- CTA band (solid orange — light, not dark) ---------- */
.cta { background: var(--orange); color: #fff; text-align: center; padding: 76px 0; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { color: #fff; opacity: .95; max-width: 56ch; margin: 0 auto 26px; font-size: 1.08rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--orange); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--orange-dark); }
.faq__body { padding: 0 22px 22px; color: var(--body); }
.faq__body ol, .faq__body ul { margin: 0; padding-left: 20px; }
.faq__body li { margin-bottom: 8px; }

/* ---------- about page story ---------- */
.story { max-width: 820px; margin: 0 auto; }
.story h2 { font-size: 1.55rem; margin-top: 42px; }
.story h2:first-child { margin-top: 0; }
.story p { color: var(--body); font-size: 1.06rem; }
.story .lead-p { font-size: 1.18rem; color: var(--ink); }

/* ---------- contact ---------- */
.banner { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/5; object-fit: cover; width: 100%; margin-bottom: 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 22px 0 0; }
.info-list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.info-list .ico { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; }
form.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
form.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form.contact label { display: block; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
form.contact input, form.contact textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fcfaf7;
}
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); background: #fff; }

/* ---------- footer (light) ---------- */
.site-footer { background: var(--cream); color: var(--body); padding: 64px 0 0; border-top: 1px solid var(--line); }
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--orange-dark); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1fr; gap: 40px; }
.footer__brand .brand { font-size: 1.7rem; }
.footer__brand p { margin-top: 14px; max-width: 34ch; color: var(--muted); }
.site-footer h4 { color: var(--ink); font-size: .95rem; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .1em; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 11px; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 54px; padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .container, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; }
  .cards, .steps { grid-template-columns: 1fr; }
  .benefits, .stats-strip .container { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  .site-header .container { flex-wrap: wrap; min-height: 0; padding: 12px 24px; gap: 14px; }
  .nav { gap: 18px; margin: 0; width: 100%; }
  .badges, .benefits, .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  form.contact .row { grid-template-columns: 1fr; }
}
