/* ==========================================================================
   South Port Transport — site styles
   Hand-written. No framework. Bump asset_version() in app/helpers.php on change.
   ========================================================================== */

:root {
  --ink: #14161a;
  --ink-2: #23262c;
  --text: #3b4048;
  --muted: #6b7280;
  --line: #e4e6ea;
  --line-2: #d3d6db;
  --bg: #ffffff;
  --bg-2: #f4f5f7;
  --bg-3: #eaecef;
  --red: #d52b1e;
  --red-d: #b3211a;
  --red-l: #fdecea;
  --blue: #1f4e79;
  --blue-l: #e9f1f8;
  --ok: #1a7f4b;
  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .06), 0 10px 28px rgba(20, 22, 26, .08);
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .08);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(56px, 8vw, 104px);
  --admin-bar: 0px;
}
html.is-admin { --admin-bar: 42px; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
html.is-admin body { padding-top: var(--admin-bar); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-d); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 3000; }
.skip:focus { left: 8px; top: calc(var(--admin-bar) + 8px); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; }
.wrap-medium { max-width: 960px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .8em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ff8b80; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.lede p:last-child { margin-bottom: 0; }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.prose { max-width: 70ch; }
.prose-lg { font-size: 1.06rem; }
.prose-narrow { margin-bottom: 40px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.1;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-2); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-sm { padding: 9px 14px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink);
}
.link-more .icon { width: 1em; height: 1em; transition: transform .15s; }
.link-more:hover { text-decoration: none; color: var(--red); }
.link-more:hover .icon { transform: translateX(3px); }

/* ---------- top bar ---------- */
.topbar { background: var(--ink); color: #c9ccd2; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: inherit; white-space: nowrap; }
.topbar-item .icon { width: 1em; height: 1em; }
.topbar-hot { color: #fff; }
.topbar-hot .icon { color: #ff8b80; }
.topbar-phone { color: #fff; font-weight: 600; }
.topbar-phone:hover { color: #ff8b80; text-decoration: none; }
.topbar-social { display: inline-flex; gap: 4px; }
.topbar-social a { display: inline-flex; padding: 4px; color: #c9ccd2; border-radius: 4px; }
.topbar-social a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.topbar-social .icon { width: 1rem; height: 1rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: var(--admin-bar);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; flex: none; }
.brand-logo { width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); white-space: nowrap; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand-sub { font-weight: 700; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 10px 10px; border-radius: var(--radius); white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: .86rem; color: var(--ink);
}
.nav-list a:hover { background: var(--bg-2); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--red); }
.nav-extra { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .9rem; white-space: nowrap; }
@media (max-width: 1240px) { .nav-phone { display: none; } }
.nav-phone:hover { color: var(--red); text-decoration: none; }
.header-actions { display: none; align-items: center; gap: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; padding: 9px; border-radius: 999px; color: var(--ink); border: 2px solid var(--line-2); }
.header-phone span { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius); border: 2px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle-close { display: none; }
body.menu-open .nav-toggle-open { display: none; }
body.menu-open .nav-toggle-close { display: inline-flex; }
.nav-overlay { position: fixed; inset: 0; background: rgba(20, 22, 26, .55); z-index: 40; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 1500; display: flex; align-items: center; gap: 12px;
  max-width: min(560px, calc(100vw - 32px)); padding: 14px 16px 14px 18px;
  border-radius: var(--radius-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: .95rem;
}
.toast-success { border-left: 5px solid #34c47c; }
.toast-error { border-left: 5px solid var(--red); }
.toast-close { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; display: inline-flex; opacity: .8; }
.toast-close:hover { opacity: 1; }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.sec-alt { background: var(--bg-2); }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { margin-bottom: .35em; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-center .eyebrow { justify-content: center; }
.sec-head-center .lede { margin-left: auto; margin-right: auto; }
.sec-head-tight { margin-bottom: 20px; }
.sec-foot { margin: 28px 0 0; }
.grid { display: grid; gap: 24px; }
.chip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px; background: var(--red-l); color: var(--red);
}
.chip-icon .icon { width: 24px; height: 24px; }
.chip-light { background: rgba(255, 255, 255, .15); color: #fff; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks .icon { color: var(--ok); margin-top: .2em; width: 1.1em; height: 1.1em; }
.checks-2col { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #d9dce2; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(31, 78, 121, .35), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero-lede { font-size: 1.12rem; max-width: 54ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6em; }
.hero-phone { font-size: .95rem; color: #aab0ba; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-phone a { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.hero-phone .dot { width: 5px; height: 5px; border-radius: 50%; background: #ff8b80; display: inline-block; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.hero-badge {
  position: absolute; left: -12px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); padding: 12px 16px; border-radius: var(--radius); box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.hero-badge .icon { color: var(--red); }

/* ---------- features ---------- */
.sec-features { padding: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; gap: 14px; padding: 28px 24px 28px 0; }
.feature + .feature { border-left: 1px solid var(--line); padding-left: 24px; }
.feature-icon { display: inline-flex; color: var(--red); flex: none; margin-top: 2px; }
.feature-icon .icon { width: 28px; height: 28px; }
.feature h3 { font-size: 1rem; margin-bottom: .25em; }
.feature p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { display: block; aspect-ratio: 4 / 3; background: var(--bg-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body h3 a { color: var(--ink); }
.card-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.card-body .link-more { margin-top: auto; padding-top: 8px; }
.card-service .chip-icon { margin-top: -43px; position: relative; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.card-sub { color: var(--red) !important; font-family: var(--font-head); font-weight: 700; font-size: .85rem !important; }
.card-post time { font-size: .82rem; color: var(--muted); font-weight: 500; }
.grid-services { grid-template-columns: repeat(4, 1fr); }
.grid-fleet, .grid-posts, .grid-rates, .grid-team { grid-template-columns: repeat(3, 1fr); }
.specs { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { font-size: .8rem; background: var(--bg-2); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--ink); }

/* ---------- daily run ---------- */
.sec-run { background: var(--bg-2); }
.run-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.run-facts { display: grid; gap: 10px; margin: 0 0 28px; }
.run-facts dd { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.run-facts .icon { color: var(--red); }
.run-visual { position: relative; }
.run-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.route { list-style: none; margin: 0; padding: 0; position: relative; }
.run-visual .route {
  margin: -36px 20px 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 18px 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative;
}
.run-visual .route::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 2px; background: var(--line-2); }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; min-width: 0; }
.stop-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); color: var(--ink); position: relative; z-index: 1;
}
.stop-dot .icon { width: 16px; height: 16px; }
.stop-border .stop-dot, .stop-us .stop-dot { border-color: var(--red); color: var(--red); }
.stop-border .stop-dot { background: var(--red); color: #fff; }
.stop-body { display: flex; flex-direction: column; }
.stop-time { font-size: .75rem; color: var(--muted); font-weight: 500; }
.stop-name { font-family: var(--font-head); font-size: .85rem; color: var(--ink); }
.route-detail { display: grid; gap: 0; max-width: 720px; }
.route-detail .stop { flex-direction: row; text-align: left; align-items: flex-start; gap: 18px; padding: 0 0 28px; }
.route-detail .stop::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 0; width: 2px; background: var(--line-2); }
.route-detail .stop:last-child::before { display: none; }
.route-detail .stop-dot { flex: none; }
.route-detail .stop-time { font-size: .85rem; }
.route-detail .stop-name { font-size: 1.1rem; }
.route-detail .stop p { margin: 4px 0 0; color: var(--muted); }

/* ---------- hotshot band ---------- */
.sec-hotshot { position: relative; background: var(--red-d); color: #fff; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0; }
.hotshot-bg { position: absolute; inset: 0; }
.hotshot-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.sec-hotshot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(160, 25, 15, .95), rgba(160, 25, 15, .6)); }
.hotshot-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hotshot-copy h2 { color: #fff; }
.hotshot-copy p { font-size: 1.08rem; color: #ffe1de; max-width: 56ch; margin: 0; }
.hotshot-copy .eyebrow-light { color: #ffc6c0; }
.hotshot-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hotshot-phone { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.hotshot-phone .icon { width: 1.1em; height: 1.1em; }
.hotshot-phone:hover { text-decoration: none; color: #ffd5d0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-media { position: relative; padding-bottom: 56px; padding-right: 48px; }
.about-photo img { width: 100%; border-radius: var(--radius-lg); }
.about-photo-main img { aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo-small { position: absolute; right: 0; bottom: 0; width: 52%; border: 6px solid #fff; border-radius: calc(var(--radius-lg) + 6px); box-shadow: var(--shadow); }
.about-photo-small img { aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy .prose { margin-bottom: 1.2em; }
.counters { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.counter { background: var(--bg-2); border-radius: var(--radius-lg); padding: 22px 24px; display: flex; flex-direction: column; }
.counter-num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.counter-num small { font-size: .55em; color: var(--red); margin-left: 2px; }
.counter-label { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.counters-stack { grid-template-columns: 1fr 1fr; margin-top: 20px; gap: 12px; }
.counters-stack .counter { padding: 18px; }
.counters-stack .counter-num { font-size: 1.9rem; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px 24px; }
.step-num { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--bg-3); line-height: 1; }
.step-icon { display: inline-flex; color: var(--red); margin-bottom: 14px; }
.step-icon .icon { width: 30px; height: 30px; }
.step h3 { font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- rates ---------- */
.sec-rates { background: var(--bg-2); }
.rate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.rate-card h3 { margin: 6px 0 0; font-size: 1.3rem; }
.rate-basis { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .85rem; margin: 0; }
.rate-card p { color: var(--muted); }
.rate-card .checks { margin: 4px 0 8px; }
.rate-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial { position: relative; margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px 24px; display: flex; flex-direction: column; }
.testimonial-mark { position: absolute; top: 18px; right: 22px; color: var(--red-l); }
.testimonial-mark .icon { width: 40px; height: 40px; }
.testimonial blockquote { margin: 0 0 18px; }
.testimonial blockquote p { margin: 0; font-size: 1.02rem; color: var(--ink); }
.testimonial figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--muted); }
.testimonial figcaption strong { color: var(--ink); font-family: var(--font-head); }
.stars { display: inline-flex; gap: 2px; margin-bottom: 6px; }
.stars .icon { width: 14px; height: 14px; color: #f4b400; fill: #f4b400; }
.stars .icon.off { color: var(--line-2); fill: transparent; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-grid .sec-head { margin-bottom: 0; position: sticky; top: calc(var(--admin-bar) + 96px); }
.faqs { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--muted); }
.faq[open] summary .icon { transform: rotate(180deg); color: var(--red); }
.faq-body { padding: 0 20px 18px; color: var(--text); }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- team ---------- */
.team-card { text-align: center; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.team-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; background: var(--bg-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role { color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: .85rem; margin-bottom: .6em; }
.team-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: .95rem; }

/* ---------- quote ---------- */
.sec-quote { background: var(--bg-2); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-phone { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); margin: 12px 0 28px; }
.quote-phone .icon { width: 40px; height: 40px; color: var(--red); }
.quote-phone span { display: flex; flex-direction: column; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1.1; }
.quote-phone small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted); }
.quote-phone:hover { text-decoration: none; color: var(--red); }
.quote-photo img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.quote-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 11px 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-l); }
.field textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }
.quote-off { text-align: center; padding: 20px 8px; }
.quote-off-icon { display: inline-flex; color: var(--red); margin-bottom: 8px; }
.quote-off-icon .icon { width: 40px; height: 40px; }

/* ---------- posts ---------- */
.post-head { padding: clamp(40px, 6vw, 72px) 0 24px; }
.post-head time { font-size: .9rem; color: var(--muted); font-weight: 500; }
.post-head h1 { margin-top: .3em; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.post-lede { font-size: 1.15rem; color: var(--muted); }
.post-figure img { border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 40px; }
.post-body { padding-bottom: 40px; }
.post-cta { padding-bottom: var(--sec); }
.post-cta .aside-card { text-align: left; }

/* ---------- inner page head ---------- */
.page-head { position: relative; background: var(--ink); color: #c9ccd2; overflow: hidden; }
.page-head-bg { position: absolute; inset: 0; }
.page-head-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 26, .95) 20%, rgba(20, 22, 26, .55)); pointer-events: none; }
.page-head-inner { position: relative; z-index: 1; padding: clamp(40px, 6vw, 80px) var(--gutter); max-width: var(--wrap); }
.page-head h1 { color: #fff; margin-bottom: .3em; max-width: 20ch; }
.page-lede { font-size: 1.12rem; max-width: 60ch; margin: 0; }
.crumbs { font-size: .82rem; margin-bottom: 18px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6b7280; }
.crumbs a { color: #c9ccd2; }
.crumbs a:hover { color: #fff; }
.crumbs li[aria-current] { color: #fff; }
.post .crumbs a, .post .crumbs li + li::before { color: var(--muted); }
.post .crumbs li[aria-current] { color: var(--ink); }

/* ---------- detail layouts ---------- */
.detail-grid, .story-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-aside, .story-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--admin-bar) + 96px); }
.aside-card { background: var(--bg-2); border-radius: var(--radius-lg); padding: 26px; }
.aside-card h3 { font-size: 1.25rem; }
.aside-card h4 { margin-bottom: .8em; }
.aside-card p { color: var(--muted); }
.aside-card .btn { width: 100%; }
.aside-cta { background: var(--ink); color: #c9ccd2; }
.aside-cta h3 { color: #fff; }
.aside-cta p { color: #c9ccd2; }
.aside-hot { background: var(--red-d); }
.aside-hot p { color: #ffe1de; }
.aside-hot .chip-icon { margin-bottom: 12px; }
.aside-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.aside-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: var(--radius); color: var(--ink); font-weight: 500; font-size: .95rem; }
.aside-links a:hover { background: #fff; text-decoration: none; color: var(--red); }
.aside-links .icon { color: var(--red); }
.aside-photo img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.story-photo img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.fact-list { margin: 0 0 20px; display: grid; gap: 12px; }
.fact-list dt { display: flex; align-items: center; gap: 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.fact-list dt .icon { color: var(--red); width: 1em; height: 1em; }
.fact-list dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.service-list { display: grid; gap: clamp(40px, 6vw, 80px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.service-row-flip .service-row-media { order: 2; }
.service-row-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.service-row-body .chip-icon { margin-bottom: 14px; }
.service-row-body h2 a { color: var(--ink); }
.service-row-body h2 a:hover { color: var(--red); text-decoration: none; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-side { display: grid; gap: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list .icon { color: var(--red); margin-top: .15em; }
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-list-lg { font-size: 1.05rem; }
.hours-list { margin: 0; display: grid; gap: 4px; font-size: .92rem; }
.hours-list div { display: flex; justify-content: space-between; gap: 12px; }
.hours-list dt { color: var(--muted); }
.hours-list dd { margin: 0; font-weight: 500; color: var(--ink); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.sec-404 { text-align: center; padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(64px, 10vw, 140px); }
.sec-404 .eyebrow { justify-content: center; }
.sec-404 .lede { margin: 0 auto 1.6em; }
.sec-404 .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.footer-cta { background: var(--red); color: #fff; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.footer-cta h2 { color: #fff; margin-bottom: .2em; }
.footer-cta p { margin: 0; color: #ffe1de; }
.footer-cta .eyebrow-light { color: #ffc6c0; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn-primary { background: var(--ink); }
.footer-cta .btn-primary:hover { background: #000; }
.site-footer { background: var(--ink); color: #aab0ba; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 40px; }
.brand-footer { color: #fff; }
.brand-footer img { background: #fff; border-radius: 10px; padding: 4px; }
.brand-footer .brand-sub { color: #aab0ba; }
.footer-tagline { margin: 18px 0 8px; font-family: var(--font-head); font-weight: 700; color: #fff; }
.footer-note { margin: 0 0 18px; }
.footer-social { display: flex; gap: 6px; }
.footer-social a { display: inline-flex; padding: 8px; border-radius: var(--radius); color: #fff; background: rgba(255, 255, 255, .08); }
.footer-social a:hover { background: var(--red); }
.footer-col h4, .footer-col h5 { color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: #c9ccd2; }
.footer-col a:hover { color: #fff; }
.footer-contact .contact-list a { color: #fff; }
.footer-contact .hours { margin-top: 22px; }
.footer-contact h5 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.footer-contact .hours-list dt { color: #aab0ba; }
.footer-contact .hours-list dd { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom a { color: #aab0ba; }
.footer-bottom a:hover { color: #fff; }

/* ---------- admin edit mode ---------- */
.admin-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 42px; z-index: 2000;
  background: #111; color: #fff; font-size: .82rem; border-bottom: 1px solid #333;
}
.admin-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 42px; }
.admin-bar-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.admin-bar-label .icon { color: #ff8b80; }
.admin-bar-links { display: flex; gap: 2px; overflow-x: auto; }
.admin-bar-links a { color: #c9ccd2; padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.admin-bar-links a:hover { background: #333; color: #fff; text-decoration: none; }
.ltk-editable { position: relative; }
.ltk-edit { display: none; }
html.is-admin .ltk-editable:hover { outline: 2px dashed rgba(213, 43, 30, .55); outline-offset: 4px; }
.ltk-pencil {
  position: fixed; z-index: 2147483647; display: none; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: var(--red); color: #fff; font: 700 .78rem var(--font-head);
  box-shadow: var(--shadow); text-decoration: none !important; pointer-events: auto;
}
.ltk-pencil .icon { width: 14px; height: 14px; }
.ltk-pencil.is-visible { display: inline-flex; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature + .feature { border-left: 0; padding-left: 0; }
  .feature:nth-child(even) { border-left: 1px solid var(--line); padding-left: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .header-actions { display: flex; }
  .header-inner { min-height: 68px; }
  .brand-logo { width: 48px; height: 48px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { z-index: 1001; }
  body.menu-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: var(--nav-top, 68px); left: 0; right: 0; bottom: 0;
    background: #fff; overflow-y: auto; padding: 12px var(--gutter) 40px; z-index: 1000;
  }
  body.menu-open .nav-list { flex-direction: column; gap: 0; }
  body.menu-open .nav-list a { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  body.menu-open .nav-extra { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  body.menu-open .nav-cta { width: 100%; }
  body.menu-open .nav-phone { justify-content: center; font-size: 1.1rem; padding: 12px; border: 2px solid var(--line-2); border-radius: 999px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: 2; }
  .hero-badge { left: 12px; bottom: 12px; }
  .run-grid, .about-grid, .quote-grid, .faq-grid, .detail-grid, .story-grid, .contact-grid, .split-grid, .hotshot-inner { grid-template-columns: 1fr; }
  .faq-grid .sec-head, .detail-aside, .story-aside { position: static; }
  .grid-fleet, .grid-posts, .grid-rates, .grid-team { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; }
  .service-row-flip .service-row-media { order: 0; }
  .about-media { max-width: 560px; }
  .hotshot-actions { align-items: flex-start; }
}

@media (max-width: 640px) {
  .topbar-social { display: none; }
  .topbar-inner { font-size: .78rem; }
  .topbar-left .topbar-hot { display: none; }
  .header-cta { display: none; }
  .header-phone span { display: none; }
  .grid-services, .grid-fleet, .grid-posts, .grid-rates, .grid-team, .steps, .counters, .features, .form-grid { grid-template-columns: 1fr; }
  .feature { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .feature:nth-child(even) { border-left: 0; padding-left: 0; }
  .feature:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .run-visual .route { margin: -20px 8px 0; padding: 14px; gap: 4px; }
  .run-visual .route::before { display: none; }
  .run-visual .stop-dot { width: 28px; height: 28px; }
  .run-visual .stop-name { font-size: .7rem; }
  .run-visual .stop-time { font-size: .65rem; }
  .about-media { padding-right: 24px; padding-bottom: 40px; }
  .hero-actions .btn { width: 100%; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { flex: 1; }
  .btn-row .btn { width: 100%; }
  .hotshot-phone { font-size: 1.6rem; }
  .form-actions .btn { width: 100%; }
  html { scroll-padding-top: 80px; }
}

@media (max-width: 400px) {
  .topbar-inner { min-height: 32px; }
  .brand-text { display: none; }
  .header-phone { padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .topbar, .site-header, .footer-cta, .admin-bar, .toast, .ltk-pencil, .hero-actions, .btn { display: none !important; }
  body { color: #000; }
}
