/* TJ's On The Move — shared stylesheet (tokens + chrome). Owned by orchestrator. */
/* Web fonts are loaded via <link> in each page <head>, not via @import here. */

:root {
  --red: #FC1E31;
  --red-dark: #df3131;
  --black: #111111;
  --near-black: #212121;
  --dark-panel: #1a1a1a;
  --text: #212121;
  --muted: #666664;
  --line: #e7e7e7;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --white: #ffffff;

  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.10);
  --shadow-soft: 0 8px 22px rgba(0, 0, 0, 0.08);
  --maxw: 1180px;
  --space: clamp(56px, 8vw, 104px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); margin: 0; line-height: 1.18; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space) 0; }
.eyebrow { color: var(--red); font-weight: 600; letter-spacing: .04em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 13px 30px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(252, 30, 49, .32); }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); padding: 9px 22px; font-size: 13px; }
.btn-outline:hover { background: var(--red); color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.05; letter-spacing: .01em; }
.brand .brand-top { color: var(--near-black); }
.brand .brand-bot { color: var(--red); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--near-black); position: relative; transition: color .15s ease; }
.main-nav a.active { color: var(--red); }
.main-nav a:hover { color: var(--red); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-cta { flex: none; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.30) 100%); z-index: 1; }
.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 190px; }
.hero-inner { max-width: 620px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); }
.hero p { font-size: 16px; color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 28px; }

/* ---------- Service cards row (overlap hero) ---------- */
.services-row { position: relative; z-index: 5; margin-top: -120px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 34px 26px; text-align: center; }
.svc-card .icon { width: 64px; height: 64px; margin: 0 auto 16px; display: block; object-fit: contain; }
.svc-card h5 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* ---------- Friends / About ---------- */
.friends { display: grid; grid-template-columns: 473px 1fr; gap: 54px; align-items: center; }
.friends .media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.friends h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 18px; }
.friends p { color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 26px 0; }
.stat h5 { font-size: 30px; font-weight: 700; color: var(--near-black); }
.stat h5 span { color: var(--red); }
.stat p { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

.founder { display: grid; grid-template-columns: 1fr 510px; gap: 54px; align-items: center; margin-top: 46px; }
.founder .quote p { color: var(--near-black); font-size: 15px; }
.founder .quote .name { font-weight: 600; font-family: var(--font-head); margin-top: 20px; }
.founder .quote .role { font-size: 13px; color: var(--muted); }
.founder .media img { width: 100%; border-radius: var(--radius); object-fit: cover; }

/* ---------- Dark services grid ---------- */
.dark-services { position: relative; color: #fff; background: var(--black); overflow: hidden; }
.dark-services .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; z-index: 0; }
.dark-services::before { content: ""; position: absolute; inset: 0; background: rgba(8,8,8,.86); z-index: 1; }
.dark-services .container { position: relative; z-index: 2; }
.dark-services h2 { text-align: center; color: #fff; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 44px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-card { background: #fff; color: var(--text); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.grid-card .photo { width: 100%; height: 176px; object-fit: cover; display: block; }
.grid-card .badge {
  position: absolute; top: 152px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
}
.grid-card .badge img { width: 24px; height: 24px; object-fit: contain; }
.grid-card .badge .ph { width: 22px; height: 22px; border-radius: 6px; background: var(--red); opacity: .85; }
.grid-card .body { padding: 30px 22px 26px; text-align: center; }
.grid-card h5 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.grid-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.dark-services .cta-center { text-align: center; margin-top: 44px; }

/* ---------- Locations ---------- */
.locations { background: var(--bg-soft); }
.loc-wrap { display: flex; align-items: stretch; gap: 24px; max-width: 1132px; margin: 0 auto; }
.loc-map { flex: 0 0 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.loc-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.loc-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.loc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 24px 26px; text-align: center; }
.loc-card .loc-head { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 600; margin-bottom: 8px; }
.pin { width: 16px; height: 16px; color: var(--red); flex: none; }
.loc-card .addr { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.loc-card .loc-phone { color: var(--red); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Reviews ---------- */
.reviews { position: relative; color: #fff; overflow: hidden; }
.reviews .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.reviews::before { content: ""; position: absolute; inset: 0; background: rgba(15,15,15,.72); z-index: 1; }
.reviews .container { position: relative; z-index: 2; }
.reviews h2 { text-align: center; color: #fff; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 40px; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 860px; margin: 0 auto; }
.review-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-card); }
.review-card .qmark { color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: 46px; line-height: .6; }
.review-card h6 { font-size: 15px; font-weight: 600; font-family: var(--font-head); margin: 8px 0 12px; }
.review-card p { font-size: 14px; color: var(--muted); }
.review-card .author { font-size: 13.5px; color: var(--near-black); font-weight: 500; margin: 12px 0; }
.review-card .stars { height: 18px; width: auto; }

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: stretch; }
.contact-info { position: relative; color: #fff; background: var(--near-black); border-radius: var(--radius); overflow: hidden; padding: 40px 34px; }
.contact-info .ci-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; z-index: 0; }
.contact-info::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.82); z-index: 1; }
.contact-info > * { position: relative; z-index: 2; }
.contact-info h2 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 26px; }
.ci-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ci-ico { width: 42px; height: 42px; border-radius: 8px; background: var(--red); display: flex; align-items: center; justify-content: center; flex: none; }
.ci-ico svg { width: 20px; height: 20px; color: #fff; }
.ci-row .label { font-size: 12px; color: rgba(255,255,255,.7); }
.ci-row .val { font-size: 14.5px; color: #fff; }

.contact-form { background: var(--bg-soft); border-radius: var(--radius); padding: 34px; }
.contact-form h2 { font-size: 24px; font-weight: 700; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; color: var(--near-black); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 14px; color: var(--text);
  background: #f5c0c3; border: none; border-radius: 6px; padding: 12px 14px;
}
.field input::placeholder, .field textarea::placeholder { color: #b46b6f; }
.field textarea { min-height: 120px; resize: vertical; }
.hp-wrap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn-red { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #fff; }
.site-footer .foot-top { padding: 48px 0 30px; text-align: center; }
.site-footer .brand { display: inline-block; margin-bottom: 22px; }
.site-footer .brand .brand-top { color: #fff; }
.foot-nav { display: flex; justify-content: center; gap: 30px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.foot-nav a { font-family: var(--font-head); font-weight: 500; font-size: 14px; }
.foot-nav a.active, .foot-nav a:hover { color: var(--red); }
.foot-contact { display: flex; justify-content: center; gap: 40px; padding: 26px 0 6px; flex-wrap: wrap; }
.foot-contact .fc { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.9); }
.foot-contact .fc .fc-ico { width: 30px; height: 30px; border-radius: 6px; background: var(--red); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.foot-contact .fc .fc-ico svg { width: 15px; height: 15px; color: #fff; }
.foot-bar { background: var(--red); color: #fff; text-align: center; font-size: 13px; padding: 12px 0; }

/* ============================================================
   CHAT WIDGET (bubble + message-capture panel, JS-injected)
   Manual lead capture — no AI. Posts to the same form relay as
   the Contact form, so an enquiry started here still reaches the
   client's inbox on plain static hosting.
   ============================================================ */
.chat-widget-bubble {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%; border: none;
  background: var(--red); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 26px rgba(252, 30, 49, .4);
  transition: transform .2s ease, background .25s ease;
}
.chat-widget-bubble:hover { background: var(--red-dark); transform: translateY(-2px); }
.chat-widget-bubble .chat-icon-close { display: none; }
.chat-widget-bubble.is-open .chat-icon-open { display: none; }
.chat-widget-bubble.is-open .chat-icon-close { display: block; }

.chat-widget-panel {
  position: fixed; right: 22px; bottom: 94px; z-index: 301;
  width: 360px; max-width: calc(100vw - 40px);
  height: 520px; max-height: calc(100vh - 140px);
  display: flex; flex-direction: column;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .32);
  opacity: 0; visibility: hidden;
  transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.chat-widget-panel.open { opacity: 1; visibility: visible; transform: none; }

.chat-widget-head {
  position: relative; flex: 0 0 auto; padding: 16px 48px 16px 18px;
  background: var(--red); color: #fff;
}
.chat-widget-title { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; margin: 0 0 4px; }
.chat-widget-status {
  display: flex; align-items: center; gap: 7px; margin: 0;
  font-family: var(--font-body); font-size: 12.5px; color: rgba(255,255,255,.94);
}
.chat-status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #2ecc4a; box-shadow: 0 0 0 2px rgba(255,255,255,.35);
  animation: pulseDot 2.4s ease-in-out infinite;
}
.chat-widget-close {
  position: absolute; top: 13px; right: 13px; width: 28px; height: 28px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background .2s ease;
}
.chat-widget-close:hover { background: rgba(255,255,255,.32); }
.chat-widget-close svg { width: 13px; height: 13px; }

.chat-widget-body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-soft);
}
.chat-msg {
  max-width: 88%; padding: 10px 13px; border-radius: 14px;
  font-family: var(--font-body); font-size: 13.5px; line-height: 1.55; white-space: pre-wrap;
}
.chat-msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg-user { align-self: flex-end; background: var(--red); color: #fff; border-bottom-right-radius: 4px; }

/* Lead-capture form — lives inside the message stream, like the original chat. */
.chat-widget-form {
  margin: 2px 0 0; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
}
.chat-widget-form .chat-field { display: flex; flex-direction: column; gap: 5px; }
.chat-widget-form label {
  font-family: var(--font-head); font-size: 11px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; color: #6f6f6f;
}
.chat-widget-form input,
.chat-widget-form textarea {
  width: 100%; font-family: var(--font-body); font-size: 13.5px; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px;
}
.chat-widget-form textarea { min-height: 78px; resize: vertical; }
.chat-widget-form input:focus,
.chat-widget-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(252, 30, 49, .14);
}
.chat-widget-form input.invalid,
.chat-widget-form textarea.invalid { border-color: var(--red); }

.chat-widget-send {
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
  color: #fff; background: var(--red); border: none; border-radius: 8px;
  padding: 11px 16px; cursor: pointer; transition: background .2s ease;
}
.chat-widget-send:hover { background: var(--red-dark); }
.chat-widget-send:disabled { opacity: .6; cursor: default; }

.chat-widget-note { margin: 0; font-family: var(--font-body); font-size: 12.5px; line-height: 1.5; color: var(--red); }
.chat-widget-note:empty { display: none; }
.chat-widget-note a { color: var(--red); text-decoration: underline; }

@media (max-width: 400px) {
  .chat-widget-panel { right: 8px; bottom: 84px; }
  .chat-widget-bubble { right: 12px; }
}

/* ---------- Motion (plain CSS, always ends visible) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .7; } }

.anim-up { animation: fadeUp .7s ease both; }
.anim-in { animation: fadeIn .9s ease both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }
.d4 { animation-delay: .32s; }
.d5 { animation-delay: .40s; }
.d6 { animation-delay: .48s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .friends, .founder, .contact-grid { grid-template-columns: 1fr; }
  .founder .media { order: -1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; background: none; border: none; cursor: pointer; padding: 6px; }
  .nav-toggle svg { width: 26px; height: 26px; color: var(--near-black); }
  .main-nav {
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 24px 22px;
    box-shadow: 0 12px 20px rgba(0,0,0,.08); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; }
  .nav-cta { display: none; }
}
@media (max-width: 720px) {
  .cards-3, .cards-grid, .loc-grid, .review-grid, .stats, .form-row { grid-template-columns: 1fr; }
  .loc-wrap { flex-direction: column; }
  .loc-map { flex-basis: auto; height: 260px; }
  .services-row { margin-top: -60px; }
  .hero .container { padding-bottom: 130px; }
}

/* page:index — page-scoped rules appended below by the page build */
