:root {
  --orange: #FF6B1A;
  --orange-dark: #E5530A;
  --navy: #0A1F44;
  --navy-2: #142a55;
  --ink: #0b1220;
  --muted: #6b7588;
  --line: #e6e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border: 2px solid transparent; cursor: pointer;
  border-radius: 999px; padding: 12px 22px; font-size: 15px;
  transition: transform .08s ease, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,107,26,.35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(10,31,68,.18); }
.btn-ghost:hover { border-color: var(--navy); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; }
.brand-mark { font-weight: 900; font-size: 24px; letter-spacing: -.02em; color: var(--navy); }
.brand-sub { font-weight: 800; font-size: 14px; letter-spacing: .18em; color: var(--orange); }
.truck { font-size: 16px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-weight: 600; font-size: 14px; color: #2a3656; }
.nav-links a:hover { color: var(--orange); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255,107,26,.18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(10,31,68,.12), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f6f7fb 100%);
}
.hero-inner { display: block; padding: 80px 24px 90px; }
.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,107,26,.12); color: var(--orange-dark);
  font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.03em;
  font-weight: 900; margin: 0 0 18px; color: var(--navy);
}
.hero .accent { color: var(--orange); }
.lede { font-size: 18px; color: #2a3656; max-width: 540px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 8px; }
.trust span { color: var(--orange); font-weight: 800; }
.trust small { color: #4a5775; font-weight: 600; font-size: 13px; }

.hero-card {
  background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-card-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.route { display: flex; flex-direction: column; gap: 0; padding: 14px 16px; background: var(--bg-soft); border-radius: 14px; }
.stop { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.stop strong { display: block; font-weight: 800; color: var(--navy); }
.stop small { color: var(--muted); font-size: 13px; }
.pin {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff; font-weight: 900; font-size: 13px;
}
.line { width: 2px; height: 22px; background: repeating-linear-gradient(to bottom, var(--orange) 0 4px, transparent 4px 8px); margin-left: 15px; }
.quote-preview { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 16px; border: 1px dashed var(--line); border-radius: 14px; }
.quote-preview small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.quote-preview strong { font-weight: 800; color: var(--navy); }

@media (max-width: 900px) { .hero-inner { padding: 56px 24px 70px; } }

/* Strip */
.strip { background: var(--navy); color: #fff; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; padding: 18px 24px; font-weight: 800; letter-spacing: .18em; font-size: 13px; }
.strip i { color: var(--orange); font-style: normal; }

/* Sections */
.section { padding: 90px 0; }
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -.02em; margin: 0 0 12px; color: var(--navy); }
.section-title.light { color: #fff; }
.section-sub { color: var(--muted); font-size: 17px; margin: 0 0 40px; max-width: 640px; }
.section-dark { background: var(--navy); color: #e7ecf7; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.service .ico { font-size: 32px; margin-bottom: 10px; }
.service h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.service p { color: #475066; margin: 0 0 14px; }
.service ul { padding: 0 0 0 18px; margin: 0; color: #2a3656; }
.service li { padding: 4px 0; }

.why { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 28px; }
.why-num { color: var(--orange); font-weight: 900; font-size: 14px; letter-spacing: .15em; margin-bottom: 10px; }
.why h4 { color: #fff; font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.why p { color: #b9c3dc; margin: 0; }

.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; position: relative; }
.step span { position: absolute; top: -16px; left: 26px; width: 36px; height: 36px; border-radius: 10px; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; box-shadow: 0 8px 20px rgba(255,107,26,.4); }
.step h4 { margin: 14px 0 6px; font-weight: 800; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

/* Calculator */
.section-calc { background: var(--bg-soft); }
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 820px) { .calc-wrap { grid-template-columns: 1fr; } }
.calc-inputs { display: grid; gap: 18px; padding: 28px; }
.calc-inputs label { display: block; font-weight: 700; font-size: 13px; color: var(--navy); }
.calc-inputs small { display: block; color: var(--muted); font-size: 12px; margin-top: 6px; font-weight: 600; }
.calc-row { display: flex; align-items: stretch; gap: 0; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.calc-row:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,26,.15); }
.calc-row input { flex: 1; border: 0; outline: 0; padding: 14px 16px; font-size: 20px; font-weight: 800; color: var(--ink); background: transparent; font-family: inherit; }
.calc-row input::-webkit-outer-spin-button, .calc-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-row input[type=number] { -moz-appearance: textfield; }
.calc-unit { display: inline-flex; align-items: center; padding: 0 18px; background: var(--bg-soft); color: var(--muted); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; border-left: 1.5px solid var(--line); }
.calc-total { background: linear-gradient(160deg, var(--navy) 0%, #1a3070 100%); color: #fff; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.calc-total .calc-line { display: flex; align-items: center; justify-content: space-between; }
.calc-total .calc-line span { color: #b9c3dc; font-weight: 600; }
.calc-total .calc-line strong { color: #fff; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.calc-divider { height: 1px; background: rgba(255,255,255,.12); margin: 6px 0; }
.calc-grand span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #fff !important; font-weight: 800; }
.calc-grand strong { font-size: 36px !important; color: var(--orange) !important; }
.calc-foot { color: #8a94b2; font-size: 12px; margin: 4px 0 8px; }
.calc-total .btn-primary { margin-top: auto; }

/* Quote section */
.section-quote { background: linear-gradient(180deg, #f6f7fb, #fff); }
.quote-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .quote-wrap { grid-template-columns: 1fr; } }
.quote-side h2 { font-size: clamp(32px, 4.5vw, 48px); margin: 0 0 12px; color: var(--navy); font-weight: 900; letter-spacing: -.02em; }
.quote-side p { color: #475066; font-size: 17px; }
.quote-contacts { display: grid; gap: 12px; margin-top: 28px; }
.quote-contacts a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.quote-contacts a:hover { border-color: var(--orange); }
.quote-contacts span { font-size: 22px; }
.quote-contacts small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: block; }
.quote-contacts strong { color: var(--navy); font-weight: 800; }

.quote-form { display: grid; gap: 14px; padding: 32px; }
.estimate-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,107,26,.10), rgba(255,107,26,.04));
  border: 1.5px solid rgba(255,107,26,.35);
}
.estimate-banner small { display: block; color: var(--orange-dark); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.estimate-banner strong { display: block; font-size: 24px; font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.est-meta { display: flex; gap: 14px; color: #475066; font-size: 13px; font-weight: 600; }
.est-meta b { color: var(--navy); font-weight: 800; }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .quote-form .row { grid-template-columns: 1fr; } }
.quote-form label { display: block; font-weight: 700; font-size: 13px; color: var(--navy); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,26,.15);
}
.form-foot { color: var(--muted); font-size: 12px; margin: 4px 0 0; text-align: center; }
.form-msg { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.form-msg.loading { background: #f0f3fa; color: #2a3656; }
.form-msg.success { background: #e8f9ee; color: #146c2e; }
.form-msg.error { background: #fdecea; color: #a8261d; }

/* Photo upload field */
.photos-field { border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px; background: #fcfcfd; }
.photos-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.photos-label strong { display: block; font-weight: 700; font-size: 13px; color: var(--navy); }
.photos-label small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.photo-pick { cursor: pointer; }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; margin-top: 12px; }
.photo-previews:empty { display: none; }
.photo-thumb { position: relative; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: #eee; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-rm {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,.65); color: #fff; border: none; font-size: 16px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; line-height: 1;
}
.photo-rm:hover { background: #b42318; }

/* Admin photos */
.qi-photos { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.qi-photos a { display: block; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f3f4f8; }
.qi-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qi-photos a:hover { border-color: var(--orange); }

/* Footer */
.footer { background: var(--navy); color: #b9c3dc; padding: 60px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; } }
.footer .brand-mark { color: #fff; }
.footer h5 { color: #fff; font-size: 13px; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 8px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--orange); }
.muted { color: #8a94b2; }
.copy { padding-top: 22px; font-size: 13px; color: #8a94b2; }

/* Admin shared */
.admin-shell { min-height: 100vh; background: var(--bg-soft); }
.admin-nav { background: var(--navy); color: #fff; }
.admin-nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.admin-nav .brand-mark { color: #fff; }
.admin-nav form { margin: 0; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, var(--navy) 0%, #1a3070 100%); }
.login-card { width: 100%; max-width: 400px; background: #fff; padding: 36px; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.login-card h1 { margin: 0 0 6px; color: var(--navy); font-weight: 900; }
.login-card p { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.login-card label { display: block; font-weight: 700; font-size: 13px; color: var(--navy); margin-bottom: 14px; }
.login-card input { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; }
.login-card input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,26,.15); }
.login-err { background: #fdecea; color: #a8261d; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }

.admin-main { padding: 32px 0 80px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.admin-header h1 { font-size: 28px; font-weight: 900; color: var(--navy); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.stat small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.stat strong { font-size: 26px; font-weight: 900; color: var(--navy); }
.stat.accent strong { color: var(--orange); }

.quotes-list { display: grid; gap: 14px; }
.quote-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: 0 2px 6px rgba(10,31,68,.04); }
.qi-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.qi-head h3 { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: var(--navy); }
.qi-meta { color: var(--muted); font-size: 13px; }
.qi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
@media (max-width: 600px) { .qi-grid { grid-template-columns: 1fr; } }
.qi-field { background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; }
.qi-field small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.qi-field span { color: var(--ink); font-weight: 600; }
.qi-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qi-actions select { padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 8px; font-weight: 700; font-size: 13px; }
.qi-actions a.btn { padding: 8px 14px; font-size: 13px; }
.btn-danger { background: transparent; color: #b42318; border-color: rgba(180,35,24,.3); }
.btn-danger:hover { background: #fdecea; border-color: #b42318; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.badge.new { background: rgba(255,107,26,.15); color: var(--orange-dark); }
.badge.contacted { background: #e6f0ff; color: #1d4ed8; }
.badge.booked { background: #e8f9ee; color: #146c2e; }
.badge.closed { background: #eef0f5; color: #4a5775; }

.empty { background: #fff; border: 2px dashed var(--line); border-radius: 14px; padding: 60px 24px; text-align: center; color: var(--muted); }
.empty .ico { font-size: 40px; margin-bottom: 8px; }
