/* Rene's Courier — mobile-first stylesheet */
:root {
  --orange: #f78f1e;
  --orange-dk: #d9740a;
  --blue: #00aeef;
  --blue-dk: #0089bd;
  --cream: #eae6df;
  --cream-lt: #f6f3ee;
  --ink: #222;
  --muted: #5f5f5f;
  --line: #ddd5c8;
  --white: #fff;
  --error: #c62828;
  --ok: #1b7f3b;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(34, 34, 34, .08);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 17px/1.6 "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* room for mobile call bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dk); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 "Barlow", sans-serif; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, .choice input:focus-visible + span {
  outline: 3px solid var(--blue); outline-offset: 2px;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-dk); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-call { background: var(--blue); color: #fff; padding: .6em 1em; }
.btn-call:hover { background: var(--blue-dk); }
.btn-lg { padding: 1em 2em; font-size: 1.1rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-top: 5px solid var(--orange); box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { width: 170px; }
.nav { display: none; }
.btn-call span { display: none; }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(247,143,30,.18), transparent 45%),
    linear-gradient(180deg, var(--cream-lt), var(--cream));
  padding: 40px 0 48px;
}
.hero-inner { display: grid; gap: 32px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .8rem; color: var(--orange-dk); margin: 0 0 .75em; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); font-weight: 700; }
.hero h1 span { color: var(--orange-dk); font-style: italic; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hours { display: flex; align-items: center; gap: .5em; font-weight: 600; margin: 0; }
.hours svg { color: var(--orange); width: 1.4em; height: 1.4em; }
.hours small { font-weight: 400; color: var(--muted); }

.speed-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.speed-cards li {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px 8px; text-align: center; border-top: 4px solid var(--orange);
}
.speed-cards li:nth-child(2) { border-top-color: var(--blue); }
.speed-cards li:nth-child(3) { border-top-color: var(--ink); }
.speed-cards strong { display: block; font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1; }
.speed-cards span { color: var(--muted); font-weight: 500; }

/* Sections */
.section { padding: 56px 0; }
.section-title { font-size: clamp(1.6rem, 4.5vw, 2.3rem); position: relative; padding-bottom: .4em; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--orange); }
.section-intro { color: var(--muted); margin-top: 0; }

.services-grid { display: grid; gap: 24px; margin-top: 24px; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.service-list li {
  display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.05rem;
  background: var(--cream-lt); border-radius: var(--radius); padding: 14px 16px;
}
.service-list svg { width: 28px; height: 28px; color: var(--orange-dk); }
.unique { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px 24px; }
.unique h3 { font-size: 1.5rem; color: var(--orange); }
.unique p { color: #ddd; }
.fleet { display: flex; gap: 18px; margin-top: 24px; color: var(--blue); }
.fleet svg { width: 64px; height: 40px; }

/* Form */
.section-form { background: var(--cream-lt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pickup-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.grid { display: grid; gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.req { color: var(--orange-dk); }
input[type=text], input[type=tel], input[type=number], input[type=date], textarea {
  width: 100%; font: 400 1rem/1.4 "Barlow", sans-serif; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  min-height: 48px; -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 96px; }
input:hover, textarea:hover { border-color: #bfb5a5; }
input:focus, textarea:focus { border-color: var(--blue); outline: none; }
.field-error { color: var(--error); font-weight: 500; font-size: .875rem; min-height: 0; }
.field-error:empty { display: none; }
.has-error input, .has-error textarea { border-color: var(--error); background: #fff8f8; }

.choice-row { display: grid; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: .5em; min-height: 52px;
  padding: 12px 16px 12px 46px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  position: relative; transition: border-color .15s, background .15s;
}
.choice span::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border: 2px solid #b5ab9b; border-radius: 50%; background: #fff;
}
.choice input:checked + span { border-color: var(--orange); background: #fff6ec; }
.choice input:checked + span::before { border-color: var(--orange); box-shadow: inset 0 0 0 4px #fff; background: var(--orange); }
.choices.has-error .choice span { border-color: var(--error); }

.form-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-foot .btn { width: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.form-status.is-ok { background: #e8f6ed; color: var(--ok); border: 1px solid #b7e1c4; }
.form-status.is-error { background: #fdecec; color: var(--error); border: 1px solid #f3c1c1; }

.waybill-link { margin: -8px 0 20px; }
.waybill-link a { display: inline-block; padding: .7em 1.4em; border-radius: 10px; background: var(--orange); color: var(--ink); font-weight: 600; text-decoration: none; }
.waybill-link a:hover { background: var(--orange-dk); color: #fff; }

/* Testimonial */
.testimonial { background: var(--orange); }
.testimonial blockquote { margin: 0 auto; max-width: 820px; text-align: center; }
.testimonial p { font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 700; font-style: italic; line-height: 1.3; margin: 0 0 .6em; }
.testimonial footer { font-weight: 600; }
.testimonial cite { font-style: normal; }

/* Careers */
.careers { display: grid; gap: 24px; }
.careers-card { background: var(--cream-lt); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 22px 24px; }
.careers-card h3 { font-size: 1.25rem; }

/* Footer */
.site-footer { background: var(--ink); color: #ccc; padding: 48px 0 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { width: 180px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--ink); }
.social a:hover { background: #fff; color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.copyright { margin-top: 32px; padding-top: 16px; border-top: 1px solid #3a3a3a; font-size: .85rem; color: #999; }

/* Mobile sticky call bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; height: 56px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 -2px 12px rgba(0,0,0,.15);
}

/* ---------- ≥ 600px ---------- */
@media (min-width: 600px) {
  .btn-call span { display: inline; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .span-2 { grid-column: span 2; }
  .grid-3 .span-2 { grid-column: span 3; }
  .choice-row { grid-template-columns: repeat(3, 1fr); }
  .pickup-form { padding: 32px; }
  .form-foot { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .form-foot .btn { width: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- ≥ 900px ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }
  .brand img { width: 226px; }
  .nav { display: flex; gap: 28px; }
  .nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
  .nav a:hover { color: var(--orange-dk); }
  .hero { padding: 72px 0 80px; }
  .hero-inner { grid-template-columns: 1.5fr 1fr; gap: 48px; }
  .speed-cards { grid-template-columns: 1fr; gap: 14px; }
  .speed-cards li { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 24px; border-top: 0; border-left: 5px solid var(--orange); text-align: left; }
  .speed-cards li:nth-child(2) { border-left-color: var(--blue); }
  .speed-cards li:nth-child(3) { border-left-color: var(--ink); }
  .speed-cards span { font-size: 1.15rem; }
  .section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .unique { padding: 36px; }
  .careers { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
  .section-form .wrap { max-width: 920px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
