/* ==========================================================================
   Claim & Repair VDA — styles.css
   Plain CSS, no build step. Colours & type are defined as custom properties.
   ========================================================================== */

:root {
  --navy-950: #06101C;
  --navy-900: #081626;
  --navy-800: #0B1B2E;
  --navy-700: #13263D;
  --navy-600: #1D3450;
  --navy-500: #2A4566;

  --ink: #0F1B2A;
  --slate: #475569;
  --slate-light: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;

  --accent: #FF7A1A;
  --accent-600: #E8650A;
  --accent-700: #B84A00;
  --accent-soft: #FFF1E6;

  --on-dark: #FFFFFF;
  --on-dark-muted: #B6C3D3;

  --success: #16A34A;
  --danger: #C62828;

  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 27, 42, .06), 0 1px 3px rgba(15, 27, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 27, 42, .18), 0 4px 10px -6px rgba(15, 27, 42, .08);
  --shadow-lg: 0 30px 60px -20px rgba(6, 16, 28, .35), 0 12px 24px -12px rgba(6, 16, 28, .2);

  --header-h: 76px;
  --container: 1200px;
  --section-y: clamp(72px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: inherit; }
h2 { text-wrap: balance; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent-700); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--navy-900); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--slate); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-700);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow-light { color: var(--accent); }
.eyebrow-light::before { display: none; }
.eyebrow-line::before { display: block; }
.why-head .eyebrow { color: var(--accent); font-size: .8rem; margin-bottom: 1rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.18); }

.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: inherit; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

.btn-primary { --btn-bg: var(--accent); --btn-fg: var(--navy-900); --btn-bd: var(--accent); box-shadow: 0 8px 20px -8px rgba(255,122,26,.65); }
.btn-primary:hover { --btn-bg: #FF8C3A; --btn-bd: #FF8C3A; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(255,122,26,.7); }
.btn-ghost { --btn-fg: var(--on-dark); --btn-bd: rgba(255,255,255,.28); --btn-bg: rgba(255,255,255,.04); }
.btn-ghost:hover { --btn-bd: rgba(255,255,255,.6); --btn-bg: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-dark { --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: var(--navy-900); }
.btn-dark:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(6,16,28,.6); }
.btn-outline { --btn-fg: var(--navy-800); --btn-bd: var(--line-strong); --btn-bg: #fff; }
.btn-outline:hover { --btn-bd: var(--navy-800); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(8, 22, 38, .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background-color .25s, box-shadow .25s, height .25s;
  color: var(--on-dark);
}
.site-header.is-scrolled { background: rgba(8, 22, 38, .94); box-shadow: 0 10px 30px -14px rgba(0,0,0,.5); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.brand-name .amp { color: var(--accent); }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 6px; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; }
.primary-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(255,255,255,.82); text-decoration: none; font-weight: 500; font-size: .95rem;
  transition: color .2s, background-color .2s;
}
.primary-nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.07); }
.primary-nav a.is-active { color: #fff; }
.primary-nav a.is-active::after { content: ""; display: block; height: 2px; margin-top: 3px; background: var(--accent); border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05); cursor: pointer; position: relative; padding: 0;
}
.nav-toggle-bar { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle-bar:nth-child(1) { top: 16px; }
.nav-toggle-bar:nth-child(2) { top: 22px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.header-login { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; color: rgba(255,255,255,.86); text-decoration: none; font-weight: 600; font-size: .9rem; border: 1px solid rgba(255,255,255,.18); transition: border-color .2s, background-color .2s, color .2s; white-space: nowrap; }
.header-login svg { width: 16px; height: 16px; }
.header-login:hover { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.nav-home-mobile, .nav-mobile-actions { display: none; }
.btn-dark-outline { --btn-fg: var(--navy-900); --btn-bd: rgba(8,22,38,.45); --btn-bg: transparent; }
.btn-dark-outline:hover { --btn-bd: var(--navy-900); --btn-bg: rgba(255,255,255,.18); transform: translateY(-2px); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex: none; }
.job-callout { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 28px; border-radius: var(--radius); background: var(--navy-800); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.job-callout:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.job-callout-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--navy-900); }
.job-callout-icon svg { width: 22px; height: 22px; }
.job-callout strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.job-callout span span { display: block; font-size: .9rem; color: var(--on-dark-muted); }
.job-callout-arrow { margin-left: auto; color: var(--accent); }
.job-callout-arrow svg { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.job-callout:hover .job-callout-arrow svg { transform: translateX(4px); }

/* ---------- Hero (full-bleed photo) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900);
  color: var(--on-dark);
  --hero-h: clamp(700px, 100svh, 960px);
  height: var(--hero-h);
  display: flex; align-items: center;
  padding: var(--header-h) 0 0;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
/* Photo is sized to the hero height and placed so the car sits in the right-hand half */
.hero-media img {
  position: absolute; top: 0; height: 100%; width: auto; max-width: none;
  left: calc(71% - var(--hero-h) * .6675);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,22,38,1) 0%, rgba(8,22,38,.94) 30%, rgba(8,22,38,.7) 44%, rgba(8,22,38,.25) 58%, rgba(8,22,38,.05) 74%, rgba(8,22,38,0) 100%),
    linear-gradient(180deg, rgba(8,22,38,.7) 0%, rgba(8,22,38,0) 18%, rgba(8,22,38,0) 78%, rgba(8,22,38,.45) 100%);
}
.hero-overlay::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 30%, rgba(255,122,26,0) 70%); }
.hero-inner { position: relative; width: 100%; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 3vw, 3.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-bottom: 24px; text-wrap: balance; text-shadow: 0 2px 30px rgba(8,22,38,.35); }
.hero-sub { font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); color: #C9D4E1; max-width: 32em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; color: #DCE4EE; font-size: .92rem; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--accent); padding: 2px; border-radius: 50%; background: rgba(255,122,26,.16); }

.hero-status { position: absolute; right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); bottom: clamp(20px, 2vw, 32px); display: flex; gap: 14px; align-items: flex-end; }
.float-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 12px 18px 12px 12px;
  box-shadow: 0 20px 40px -18px rgba(6,16,28,.55), 0 2px 6px rgba(6,16,28,.12); font-size: .85rem; line-height: 1.3;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: .92rem; }
.float-card span:not(.fc-icon) { color: var(--slate-light); }
.fc-icon { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #E7F6EC; color: var(--success); }
.fc-icon svg { width: 20px; height: 20px; }
.fc-icon-navy { background: var(--accent-soft); color: var(--accent-600); }
.float-a { margin-bottom: 18px; }
.float-b { animation-delay: -3s; }
@media (max-width: 1320px) { .hero-status { display: none; } }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,26,.6); } 70% { box-shadow: 0 0 0 7px rgba(255,122,26,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,26,0); } }

/* ---------- Generic sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-intro { color: var(--slate); font-size: 1.12rem; margin: 0; }

/* Intro */
.intro { padding-bottom: calc(var(--section-y) * .85); }
.intro-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-head h2 { margin: 0; max-width: 16ch; }
.intro-body .lead { margin-bottom: 28px; color: #334155; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { font-size: .9rem; font-weight: 500; color: var(--navy-700); padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }

/* Services */
.services { background: var(--bg-soft); }
.services::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--slate); margin: 0; font-size: 1rem; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-600); margin-bottom: 24px; transition: background-color .3s, color .3s; }
.service-icon svg { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: var(--accent); color: var(--navy-900); }

.service-card-cta { background: var(--navy-800); border-color: var(--navy-800); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background-image: radial-gradient(400px 200px at 100% 0%, rgba(255,122,26,.25), transparent 70%); }
.service-card-cta p { color: var(--on-dark-muted); margin-bottom: 24px; }
.service-card-cta h3 { font-size: 1.4rem; }
.service-card-cta::before { display: none; }

/* How we work */
.process-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: clamp(56px, 7vw, 88px); }
.process-intro h2 { max-width: 20ch; }
.process-intro .lead { color: #334155; }
.process-intro > div > p:not(.lead):not(.eyebrow) { color: var(--slate); margin: 0; }
.familiar-card { background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 30px 30px 26px; position: relative; overflow: hidden;
  background-image: radial-gradient(360px 200px at 100% 0%, rgba(255,122,26,.22), transparent 70%); }
.familiar-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.familiar-card ul { display: grid; gap: 12px; }
.familiar-card li { position: relative; padding-left: 30px; color: #DCE4EE; font-size: .98rem; line-height: 1.45; }
.familiar-card li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--accent); }
.familiar-card li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.familiar-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--font-head); font-weight: 700; color: var(--accent); }

.journey-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.journey-title { font-size: 1.35rem; margin-bottom: 28px; }
.journey { position: relative; display: grid; gap: 14px; }
.journey-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.journey-step:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: -14px; width: 2px; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.journey-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; color: var(--navy-800);
  background: #fff; border: 2px solid var(--line-strong); position: relative; z-index: 1;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.journey-step:first-child .journey-num { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.journey-step:last-child .journey-num { background: var(--accent); border-color: var(--accent); color: var(--navy-900); }
.journey-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; }
.journey-step:hover .journey-body { box-shadow: var(--shadow); transform: translateX(4px); border-color: transparent; }
.journey-step:hover .journey-num { border-color: var(--accent); }
.journey-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.journey-head h3 { margin: 0; font-size: 1.1rem; }
.journey-body p { margin: 0; color: var(--slate); font-size: .98rem; line-height: 1.6; }
.who { flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.who-you { background: #EAF0F8; color: var(--navy-600); }
.who-us { background: var(--accent-soft); color: var(--accent-700); }
.who-ins { background: #EEF2F0; color: #2F6B4F; }

.journey-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.submit-card { background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg);
  background-image: radial-gradient(420px 220px at 0% 100%, rgba(255,122,26,.18), transparent 70%); }
.submit-card .eyebrow { margin-bottom: .6rem; font-size: .74rem; }
.submit-card h3 { font-size: 1.35rem; margin-bottom: 20px; }
.mini-steps { display: grid; gap: 10px; margin-bottom: 26px; counter-reset: none; }
.mini-steps li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: #DCE4EE; }
.mini-steps span { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .8rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.mini-steps li:last-child span { background: var(--accent); border-color: var(--accent); color: var(--navy-900); }
.submit-card .btn { width: 100%; }
.control-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; }
.control-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.control-card p { color: var(--slate); font-size: .95rem; margin: 0; }
.system-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem !important; }
.system-note svg { width: 20px; height: 20px; flex: none; color: var(--accent-600); margin-top: 1px; }

/* Pricing */
.pricing { background: var(--bg-soft); }
.pricing::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier-featured { background: var(--navy-800); color: #fff; border-color: var(--navy-800); box-shadow: var(--shadow-lg);
  background-image: radial-gradient(500px 260px at 100% 0%, rgba(255,122,26,.25), transparent 70%); }
.js .tier-featured.reveal.is-visible, .tier-featured { transform: translateY(-12px); }
.tier-featured:hover { transform: translateY(-18px); }
.tier-badge { position: absolute; top: -14px; left: 30px; background: var(--accent); color: var(--navy-900); font-family: var(--font-head); font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(255,122,26,.8); }
.tier-tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 10px; }
.tier-featured .tier-tag { color: var(--accent); }
.tier h3 { font-size: 1.45rem; margin-bottom: 10px; }
.tier-desc { color: var(--slate); font-size: .98rem; min-height: 4.8em; }
.tier-featured .tier-desc { color: var(--on-dark-muted); }
.tier-price { display: flex; align-items: flex-end; gap: 8px; margin: 8px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.tier-featured .tier-price { border-color: rgba(255,255,255,.12); }
.tier-price .from { font-size: .85rem; font-weight: 600; color: var(--slate-light); padding-bottom: 8px; }
.tier-price .from:empty { display: none; }
.tier-featured .tier-price .from { color: var(--on-dark-muted); }
.tier-price .amount { font-family: var(--font-head); font-weight: 800; font-size: 2.9rem; line-height: 1; letter-spacing: -.03em; }
.tier-price .vat { font-size: .8rem; line-height: 1.3; color: var(--slate-light); padding-bottom: 4px; }
.tier-featured .tier-price .vat { color: var(--on-dark-muted); }
.tier-list { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; align-content: start; }
.tier-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; line-height: 1.45; }
.tier-list svg { width: 20px; height: 20px; flex: none; color: var(--accent-600); margin-top: 1px; }
.tier-featured .tier-list li { color: #E3E9F1; }
.tier-featured .tier-list svg { color: var(--accent); }
.tier-cta { width: 100%; }

.addons { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, 1fr); gap: 32px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.addons-head h3 { font-size: 1.3rem; margin-bottom: 6px; }
.addons-head p { color: var(--slate); margin: 0; font-size: .95rem; }
.addon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.addon-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.addon-list li:nth-last-child(-n+2) { border-bottom: 0; }
.addon-list strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--navy-800); margin-bottom: 2px; }
.addon-list span { display: block; font-size: .9rem; color: var(--slate); line-height: 1.5; }
.addon-list em { flex: none; font-style: normal; font-family: var(--font-head); font-weight: 800; color: var(--navy-800); white-space: nowrap; font-size: .98rem; }
.pricing-note { text-align: center; margin: 24px 0 0; font-size: .9rem; color: var(--slate-light); }

/* Why us */
.why { background: var(--navy-800); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.why-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 400px at 0% 100%, rgba(255,122,26,.12), transparent 70%),
    radial-gradient(800px 500px at 100% 0%, rgba(42,69,102,.7), transparent 70%);
}
.why-bg::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.why-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 40px); }
.why-head h2 { margin-bottom: 20px; }
.why-head p { color: var(--on-dark-muted); font-size: 1.1rem; margin-bottom: 32px; max-width: 30em; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.35;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.why-list li:hover { background: rgba(255,255,255,.07); border-color: rgba(255,122,26,.45); transform: translateY(-3px); }
.why-list-wide { grid-column: 1 / -1; background: linear-gradient(90deg, rgba(255,122,26,.16), rgba(255,122,26,.03)) !important; border-color: rgba(255,122,26,.35) !important; }
.check { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--navy-900); }
.check svg { width: 20px; height: 20px; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--navy-900); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 2px, transparent 2px 22px),
              radial-gradient(600px 300px at 90% 50%, rgba(255,255,255,.25), transparent 70%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(48px, 6vw, 72px); }
.cta-inner h2 { margin: 0; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem); max-width: 22ch; letter-spacing: -.025em; }

/* About */
.about-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-copy h2 { max-width: 18ch; }
.about-copy .lead { color: #334155; }
.about-copy p:not(.lead):not(.eyebrow) { color: var(--slate); }
.about-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.value h3 { font-size: 1.08rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--slate); font-size: .95rem; line-height: 1.55; }
.value-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: var(--accent); }
.value-icon svg { width: 24px; height: 24px; }
.about-values .value:nth-child(2), .about-values .value:nth-child(4) { transform: translateY(24px); }
.about-values .value:nth-child(2):hover, .about-values .value:nth-child(4):hover { transform: translateY(20px); }

/* Contact */
.contact { background: var(--bg-soft); }
.contact::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info .lead { font-size: 1.12rem; margin-bottom: 32px; }
.contact-methods { display: grid; gap: 14px; margin-bottom: 28px; }
.contact-methods li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.cm-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--navy-800); color: #fff; }
.cm-icon svg { width: 22px; height: 22px; }
.cm-icon-amber { background: var(--accent-soft); color: var(--accent-600); }
.cm-label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-light); margin-bottom: 2px; }
.contact-methods a { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy-800); text-decoration: none; word-break: break-word; }
.contact-methods a:hover { color: var(--accent-700); text-decoration: underline; }
.photo-note { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); border: 1px dashed #F5B584; background: #FFF8F2; }
.photo-note h3 { font-size: 1rem; margin-bottom: 4px; }
.photo-note p { margin: 0; font-size: .95rem; color: var(--slate); }

.form-wrap { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.form-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #FFB27A); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--navy-800); margin-bottom: 7px; }
.req { color: var(--accent-700); }
.optional { color: var(--slate-light); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: #fff; font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #94A3B8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #94A3B8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FFF9F9; }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(198,40,40,.14); }
.field-error { min-height: 1.5em; margin: 5px 0 8px; font-size: .84rem; color: var(--danger); font-weight: 500; }
.reg-input { text-transform: uppercase; font-family: var(--font-head) !important; font-weight: 700; letter-spacing: .08em; }
.reg-input::placeholder { text-transform: none; font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select-wrap select { padding-right: 42px; cursor: pointer; }

.form-hint { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--slate); background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; margin: 4px 0 24px; }
.form-hint svg { width: 20px; height: 20px; flex: none; color: var(--accent-600); }
.form-footer { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-privacy { font-size: .85rem; color: var(--slate-light); margin: 0; flex: 1 1 220px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }

.form-success { text-align: center; padding: clamp(24px, 5vw, 56px) 8px; }
.form-success:focus { outline: none; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #E7F6EC; color: var(--success); }
.success-icon svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--slate); max-width: 34em; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.brand-footer { color: #fff; margin-bottom: 20px; }
.footer-brand p { max-width: 30em; margin: 0; }
.footer-title { font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; word-break: break-word; }
.footer-col a:hover { color: #fff; }
.footer-cta { margin-top: 22px; }
.footer-col .footer-cta { color: var(--navy-900); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: .88rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); height: 1px; background: rgba(255,255,255,.09); }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; gap: 24px; }
.legal-links a { color: var(--on-dark-muted); text-decoration: none; }
.legal-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .about-values.reveal.is-visible .value:nth-child(2), .js .about-values.reveal.is-visible .value:nth-child(4) { transform: translateY(24px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1320px) {
  .primary-nav a:not(.btn) { padding: 8px 10px; font-size: .92rem; }
}

@media (max-width: 1180px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: inline-block; }
  .header-actions { margin-left: auto; }
  .primary-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    height: calc(100dvh - var(--header-h));
    background: var(--navy-900);
    padding: 12px clamp(20px, 4vw, 40px) 32px;
    display: flex; flex-direction: column; gap: 20px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-home-mobile { display: block; }
  .primary-nav a:not(.btn) { padding: 15px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; border-radius: 0; color: #fff; display: flex; justify-content: space-between; align-items: center; }
  .primary-nav a:not(.btn)::after { content: "" !important; width: 9px; height: 9px; margin: 0 6px 0 0 !important; border-right: 2px solid var(--accent); border-top: 2px solid var(--accent); background: none !important; transform: rotate(45deg); border-radius: 0 !important; display: block; }
  .primary-nav a:not(.btn):hover { background: none; color: var(--accent); }
  .nav-mobile-actions { display: grid; gap: 12px; margin-top: 4px; }
  .nav-mobile-actions .btn { width: 100%; padding: 15px; font-size: 1.02rem; }
  .nav-login-mobile svg { width: 18px; height: 18px; }
  body.nav-open { overflow: hidden; }
  .site-header.menu-open { background: var(--navy-900); }
}

@media (max-width: 1024px) {
  .intro-inner, .why-inner, .about-inner, .contact-inner, .process-intro, .journey-wrap { grid-template-columns: 1fr; }
  .why-head, .journey-aside { position: static; }
  .journey-aside { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 32px; }
  .tier-featured, .js .tier-featured.reveal.is-visible { transform: none; }
  .tier-featured:hover { transform: translateY(-6px); }
  .tier-desc { min-height: 0; }
  .addons { grid-template-columns: 1fr; gap: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-values .value:nth-child(2), .about-values .value:nth-child(4),
  .js .about-values.reveal.is-visible .value:nth-child(2), .js .about-values.reveal.is-visible .value:nth-child(4) { transform: none; }
  .about-values .value:nth-child(2):hover, .about-values .value:nth-child(4):hover { transform: translateY(-4px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; height: auto; padding: calc(var(--header-h) + 64px) 0 0; }
  .hero-inner { order: 1; }
  .hero-media { order: 2; position: relative; inset: auto; z-index: -2; display: block; margin-top: -6vw; }
  .hero-media img { position: static; width: 100%; height: auto; -webkit-mask-image: none; mask-image: none; }
  .hero-media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; background: linear-gradient(180deg, var(--navy-900) 0%, rgba(8,22,38,.8) 30%, rgba(8,22,38,0) 100%); z-index: 1; }
  .hero-overlay { display: none; }
  .hero-inner { position: relative; z-index: 1; }
  .hero-copy { max-width: 680px; }
  .hero-status { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-media { margin-top: -30vw; }
  .hero-media::before { height: 62%; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 26px 24px; }
  .journey-aside { grid-template-columns: 1fr; }
  .journey-step { grid-template-columns: 44px 1fr; gap: 14px; }
  .journey-num { width: 44px; height: 44px; font-size: .9rem; }
  .journey-step:not(:last-child)::before { left: 21px; top: 46px; }
  .journey-body { padding: 16px 18px; }
  .journey-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .addon-list { grid-template-columns: 1fr; }
  .addon-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .addons { padding: 24px; }
  .why-list { grid-template-columns: 1fr; gap: 12px; }
  .why-list li { padding: 16px 18px; font-size: 1rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .about-values { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand, .footer-inner > .footer-col:last-child { grid-column: 1 / -1; }
  .contact-methods a { font-size: .95rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .header-cta, .header-login { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .28em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { flex-direction: column; gap: 10px; }
  .eyebrow { font-size: .74rem; letter-spacing: .12em; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .form-footer .btn { width: 100%; }
  .tier { padding: 30px 22px 24px; }
}

@media (min-width: 561px) and (max-width: 700px) {
  .header-login span { display: none; }
}

/* Header already shows both buttons between 561px and 1180px, so avoid duplicating them in the open menu */
@media (min-width: 561px) and (max-width: 1180px) {
  .nav-mobile-actions { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .float-card { animation: none; }
}

/* ==========================================================================
   Inner pages: shared page hero
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: #fff;
  padding: calc(var(--header-h) + clamp(40px, 5vw, 64px)) 0 clamp(96px, 10vw, 128px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,22,38,1) 0%, rgba(8,22,38,.92) 45%, rgba(8,22,38,.55) 100%),
    url("images/hero-spray-booth-1280.webp") right 30% center / cover no-repeat; }
.page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.page-hero p { color: #C9D4E1; font-size: 1.12rem; max-width: 36em; margin-bottom: 24px; }
.breadcrumb { display: flex; gap: 10px; font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; font-weight: 500; color: #DCE4EE; }
.page-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.page-hero-points svg { width: 20px; height: 20px; color: var(--accent); padding: 2px; border-radius: 50%; background: rgba(255,122,26,.16); }

/* ==========================================================================
   Submit a Job
   ========================================================================== */
.submit-section { background: var(--bg-soft); padding-bottom: var(--section-y); }
.submit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: clamp(-80px, -6vw, -56px); position: relative; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3.6vw, 44px); min-width: 0; }

.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 8px; position: relative; }
.stepper-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; outline-offset: 4px; }
.stepper-item:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: calc(50% + 26px); right: calc(-50% + 26px); height: 3px; border-radius: 3px; background: var(--line); transition: background-color .3s; }
.stepper-item.is-done:not(:last-child)::after { background: var(--accent); }
.stepper-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  background: #fff; border: 2px solid var(--line-strong); color: var(--slate); transition: all .3s var(--ease); }
.stepper-dot svg { width: 20px; height: 20px; display: none; }
.stepper-item.is-current .stepper-dot { background: var(--navy-800); border-color: var(--navy-800); color: #fff; box-shadow: 0 0 0 6px rgba(11,27,46,.1); }
.stepper-item.is-done .stepper-dot { background: var(--accent); border-color: var(--accent); color: var(--navy-900); }
.stepper-item.is-done .stepper-num { display: none; }
.stepper-item.is-done .stepper-dot svg { display: block; }
.stepper-item[role="button"] { cursor: pointer; }
.stepper-item[role="button"]:hover .stepper-dot { transform: scale(1.08); }
.stepper-label { font-size: .86rem; font-weight: 600; color: var(--slate-light); line-height: 1.3; }
.stepper-item.is-current .stepper-label { color: var(--navy-800); }
.stepper-item.is-done .stepper-label { color: var(--navy-700); }
.stepper-mobile { display: none; margin: 0 0 10px; font-size: .92rem; color: var(--slate); }
.stepper-mobile strong { color: var(--navy-800); }
.stepper-bar { display: none; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.stepper-bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--accent), #FFB27A); border-radius: inherit; transition: width .4s var(--ease); }

.form-step { border: 0; margin: 0; padding: 32px 0 0; min-width: 0; }
.form-step[hidden] { display: none; }
.js .form-step:not([hidden]) { animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-head { margin-bottom: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.step-head h2 { font-size: 1.55rem; margin-bottom: 4px; outline: none; }
.step-head p { color: var(--slate); margin: 0; }
.step-head a { font-weight: 600; }
.field-hint { margin: 6px 0 0; font-size: .84rem; color: var(--slate-light); }

.dropzone { position: relative; border: 2px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg-soft); transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.is-dragging { border-color: var(--accent); background: #FFF8F2; }
.dropzone.has-error { border-color: var(--danger); background: #FFF9F9; }
.dropzone-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.dropzone-input:focus-visible + .dropzone-label { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.dropzone-label { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 36px 20px; cursor: pointer; }
.dropzone-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--accent-600); box-shadow: var(--shadow-sm); margin-bottom: 4px; }
.dropzone-icon svg { width: 32px; height: 32px; }
.dropzone-title { font-size: 1.02rem; color: var(--navy-800); }
.dropzone-title strong { color: var(--accent-700); text-decoration: underline; text-underline-offset: 3px; }
.dropzone-sub { font-size: .86rem; color: var(--slate-light); }
.photo-count { margin: 0 0 10px; font-weight: 600; font-size: .92rem; color: var(--navy-800); }
.photo-count:empty { display: none; }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-bottom: 18px; }
.photo-previews:empty { display: none; }
.photo-thumb { position: relative; border-radius: 12px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.photo-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-meta { display: block; padding: 6px 8px; font-size: .74rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(8,22,38,.78); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.photo-remove:hover { background: var(--danger); }
.photo-remove svg { width: 14px; height: 14px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--ink); cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent-600); cursor: pointer; }
.check-consent { padding: 16px 18px; border-radius: 12px; background: var(--bg-soft); border: 1.5px solid var(--line); margin-top: 20px; font-size: .92rem; line-height: 1.55; }
.check-consent.has-error { border-color: var(--danger); background: #FFF9F9; }

.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 4px; }
.option-card { position: relative; display: flex; gap: 12px; padding: 18px 18px 18px 20px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; background: #fff; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.option-card:hover { border-color: #94A3B8; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.option-card:has(input:checked) { border-color: var(--accent); background: #FFF8F2; box-shadow: 0 0 0 3px rgba(255,122,26,.16); }
.option-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.option-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.option-head strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-800); }
.opt-badge { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--navy-900); padding: 3px 8px; border-radius: 999px; }
.option-desc { font-size: .9rem; color: var(--slate); line-height: 1.5; }
.option-price { font-family: var(--font-head); font-weight: 800; color: var(--navy-800); font-size: .95rem; margin-top: 4px; }
.option-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; color: transparent; transition: all .2s; }
.option-check svg { width: 14px; height: 14px; }
.option-card:has(input:checked) .option-check { background: var(--accent); border-color: var(--accent); color: var(--navy-900); }

.review { display: grid; gap: 14px; }
.review-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-head h3 { font-size: 1rem; margin: 0; }
.review-edit { border: 0; background: none; color: var(--accent-700); font-weight: 600; cursor: pointer; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.review dl { margin: 0; display: grid; gap: 6px; }
.review dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: .93rem; }
.review dt { color: var(--slate-light); }
.review dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; white-space: pre-line; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-nav #step-next, .form-nav #step-submit { margin-left: auto; }
.btn .flip { transform: scaleX(-1); }
.btn:hover .flip { transform: scaleX(-1) translateX(3px); }

.job-success { text-align: center; padding: 40px 8px 12px; outline: none; }
.job-success .success-icon svg { width: 36px; height: 36px; }
.job-success h2 { font-size: 1.7rem; }
.job-success p { color: var(--slate); max-width: 36em; margin: 0 auto 16px; }
.demo-note { background: #FFF8F2; border: 1px dashed #F5B584; border-radius: 12px; padding: 12px 16px; color: var(--ink) !important; font-size: .95rem; }
.job-success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.job-success-actions [hidden] { display: none; }

.submit-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.aside-card h2 { font-size: 1.12rem; margin-bottom: 16px; letter-spacing: -.01em; }
.aside-dark { background: var(--navy-800); border-color: var(--navy-800); color: #fff; box-shadow: var(--shadow-lg);
  background-image: radial-gradient(360px 200px at 100% 0%, rgba(255,122,26,.2), transparent 70%); }
.next-steps { display: grid; gap: 16px; }
.next-steps li { display: flex; gap: 14px; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.5; }
.next-steps strong { display: block; color: #fff; font-family: var(--font-head); font-size: .98rem; margin-bottom: 2px; }
.next-steps li > span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--navy-900); font-family: var(--font-head); font-weight: 800; font-size: .82rem; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink); line-height: 1.45; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--accent-600); }
.aside-contact { display: grid; gap: 6px; margin: 0; }
.aside-contact a { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); text-decoration: none; overflow-wrap: anywhere; }
.aside-contact a:hover { color: var(--accent-700); text-decoration: underline; }

@media (max-width: 1024px) {
  .submit-layout { grid-template-columns: 1fr; }
  .submit-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submit-aside .aside-dark { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .stepper { margin-bottom: 16px; }
  .stepper-label { display: none; }
  .stepper-dot { width: 34px; height: 34px; font-size: .85rem; }
  .stepper-item:not(:last-child)::after { top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px); }
  .stepper-mobile { display: block; }
  .stepper-bar { display: none; }
  .option-grid { grid-template-columns: 1fr; }
  .review dl div { grid-template-columns: 1fr; gap: 0; }
  .submit-aside { grid-template-columns: 1fr; }
  .form-step { padding-top: 8px; }
  .page-hero { padding-bottom: 88px; }
  .page-hero-points { flex-direction: column; }
}
@media (max-width: 560px) {
  .form-nav { flex-wrap: wrap-reverse; }
  .form-nav .btn { width: 100%; }
  .form-nav #step-next, .form-nav #step-submit { margin-left: 0; }
}

/* ==========================================================================
   Client portal — DESIGN PREVIEW (non-functional prototype)
   ========================================================================== */
.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; }
.portal-body { background: var(--bg-soft); }
.preview-banner { background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.06); box-shadow: 0 10px 30px -14px rgba(0,0,0,.5); color: var(--on-dark-muted); font-size: .88rem; position: relative; z-index: 50; }
.preview-banner-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 9px; max-width: none; }
.preview-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--navy-900); padding: 4px 10px; border-radius: 999px; }
.preview-banner a { margin-left: auto; color: rgba(255,255,255,.86); font-weight: 700; transition: color .2s; }
.preview-banner a:hover { color: var(--accent); }
.sample-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7A3A06; background: #FFF4E8; border: 1px solid #F8D2B0; padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }

/* Login */
.login-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 40px); }
.login-side { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 40px; }
.login-side-bg { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(8,22,38,.97) 0%, rgba(8,22,38,.9) 45%, rgba(8,22,38,.55) 100%), url("images/hero-spray-booth-1280.webp") 62% center / cover no-repeat; }
.login-side-copy { margin-block: auto; max-width: 30em; }
.login-side h1, .login-side-title { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 26px; }
.login-features { display: grid; gap: 14px; }
.login-features li { display: flex; gap: 12px; align-items: center; color: #DCE4EE; }
.login-features svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 8px; background: rgba(255,122,26,.16); color: var(--accent); }
.login-side-foot { margin: 0; font-size: .85rem; color: var(--on-dark-muted); }
.login-main { display: grid; place-items: center; padding: clamp(24px, 5vw, 64px) clamp(20px, 4vw, 48px); }
.login-card { width: 100%; max-width: 420px; }
.login-back { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--slate); text-decoration: none; margin-bottom: 28px; }
.login-back svg { width: 16px; height: 16px; transform: scaleX(-1); }
.login-back:hover { color: var(--navy-800); }
.login-card h2, .login-title { font-size: 2rem; margin-bottom: 6px; }
.login-sub { color: var(--slate); margin-bottom: 28px; }
.login-form { display: grid; gap: 18px; }
.login-form .field input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 1rem; }
.login-form .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.18); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.small-link { font-size: .85rem; font-weight: 600; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 50px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--slate); cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { background: var(--bg-soft); color: var(--navy-800); }
.pw-toggle svg { width: 20px; height: 20px; }
.pw-toggle[aria-pressed="true"] { color: var(--accent-700); }
.remember { font-size: .92rem; }
.login-submit { width: 100%; margin-top: 4px; }
.login-note { margin: 14px 0 0; font-size: .84rem; color: var(--slate-light); text-align: center; }
.login-divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 16px; font-size: .88rem; color: var(--slate-light); }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-new { width: 100%; }

/* Dashboard shell */
.app { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 40px); background: linear-gradient(90deg, var(--navy-900) 250px, transparent 250px); }
.app-sidebar { background: var(--navy-900); color: #fff; padding: 24px 16px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 0; height: 100vh; }
.app-sidebar .brand { padding: 0 8px; }
.app-sidebar .brand-mark { width: 40px; height: 40px; }
.app-sidebar .brand-name { font-size: 1rem; }
.app-nav ul { display: grid; gap: 4px; }
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: rgba(255,255,255,.72); text-decoration: none; font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s; }
.app-nav a svg { width: 20px; height: 20px; flex: none; }
.app-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.app-nav a.is-active { background: rgba(255,122,26,.14); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.app-nav a.is-active svg { color: var(--accent); }
.app-sidebar-foot { margin-top: auto; display: grid; gap: 12px; }
.help-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px; font-size: .88rem; }
.help-card strong { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.help-card span { color: var(--on-dark-muted); }
.app-logout { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: rgba(255,255,255,.7); text-decoration: none; border-radius: 12px; font-size: .95rem; }
.app-logout svg { width: 20px; height: 20px; }
.app-logout:hover { background: rgba(255,255,255,.06); color: #fff; }

.app-main { padding: 28px clamp(20px, 3vw, 40px) 48px; min-width: 0; }
.app-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.app-kicker { margin: 0 0 2px; font-size: .82rem; font-weight: 600; color: var(--slate-light); text-transform: uppercase; letter-spacing: .1em; }
.app-topbar h1 { font-size: 1.9rem; margin: 0; }
.app-top-actions { display: flex; align-items: center; gap: 12px; }
.app-top-actions .btn svg { width: 18px; height: 18px; }
.app-search { position: relative; display: block; }
.app-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--slate-light); pointer-events: none; }
.app-search input { width: 280px; padding: 11px 14px 11px 42px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .92rem; }
.app-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.16); }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy-800); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.notif-dot { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .9rem; flex: none; }

.app-greeting { margin-bottom: 24px; }
.greeting-text h2 { font-size: 1.3rem; margin-bottom: 2px; }
.greeting-text p { color: var(--slate); margin: 0 0 18px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line-strong); }
.stat-card:nth-child(1)::before { background: var(--navy-600); }
.stat-card:nth-child(2)::before { background: #D97706; }
.stat-card:nth-child(3)::before { background: var(--accent); }
.stat-card:nth-child(4)::before { background: var(--success); }
.stat-label { font-size: .85rem; font-weight: 600; color: var(--slate); }
.stat-value { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy-800); line-height: 1.15; }
.stat-sub { font-size: .8rem; color: var(--slate-light); }

.app-content { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.jobs-panel { overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1.15rem; margin: 0; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .84rem; font-weight: 600; color: var(--slate); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: all .2s; }
.filter-tabs button span { font-size: .75rem; background: var(--bg-soft); border-radius: 999px; padding: 1px 7px; color: var(--slate); }
.filter-tabs button:hover { border-color: var(--line-strong); color: var(--navy-800); }
.filter-tabs button.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.filter-tabs button.is-active span { background: rgba(255,255,255,.16); color: #fff; }
.table-wrap { overflow-x: auto; }
.jobs-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.jobs-table th { text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); padding: 12px 16px; background: #FAFBFC; border-bottom: 1px solid var(--line); white-space: nowrap; }
.jobs-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.jobs-table tbody tr:last-child td { border-bottom: 0; }
.job-row { cursor: pointer; transition: background-color .15s; }
.job-row:hover { background: #F8FAFC; }
.job-row:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.job-row.is-selected { background: #FFF8F2; box-shadow: inset 3px 0 0 var(--accent); }
.cell-strong { display: block; font-weight: 600; color: var(--navy-800); }
.cell-sub { display: block; font-size: .84rem; color: var(--slate-light); margin-top: 1px; }
.cell-muted { color: var(--slate-light); white-space: nowrap; }
.cell-updated { margin-top: 5px; padding-left: 2px; font-size: .78rem; }
.empty-state { padding: 32px; text-align: center; color: var(--slate); margin: 0; }

.plate { display: inline-block; font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; font-weight: 700; font-size: .92rem; letter-spacing: .06em; color: #111; background: #F7D117; border: 1px solid #C9A800; border-radius: 5px; padding: 3px 9px; white-space: nowrap; box-shadow: inset 0 -1px 0 rgba(0,0,0,.12); }
.status-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.status-chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: none; }
.chip-progress { background: #EAF0F8; color: #1D4F91; }
.chip-awaiting { background: #FEF3C7; color: #92400E; }
.chip-supplement { background: var(--accent-soft); color: var(--accent-700); }
.chip-authorised { background: #DCFCE7; color: #166534; }
.chip-invoiced { background: #EEF0F3; color: #374151; }

.detail-panel { padding: 22px; position: sticky; top: 20px; }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.detail-head h2 { font-size: 1.2rem; margin: 10px 0 2px; }
.detail-head p { margin: 0; font-size: .88rem; color: var(--slate-light); }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 16px 0; }
.detail-facts dt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-light); }
.detail-facts dd { margin: 2px 0 0; font-size: .9rem; font-weight: 600; color: var(--navy-800); overflow-wrap: anywhere; }
.detail-note { background: var(--bg-soft); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.detail-note strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-light); }
.detail-note p { margin: 4px 0 0; font-size: .9rem; color: var(--ink); line-height: 1.5; }
.detail-sub { font-size: .95rem; margin: 0 0 12px; }
.timeline { display: grid; gap: 0; margin-bottom: 20px; }
.timeline li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li.tl-done:not(:last-child)::before { background: var(--accent); }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 2px; border: 2px solid var(--line-strong); background: #fff; position: relative; z-index: 1; }
.tl-done .tl-dot { background: var(--accent); border-color: var(--accent); }
.tl-done .tl-dot::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--navy-900); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tl-current .tl-dot { border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(11,27,46,.12); }
.tl-current .tl-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy-800); }
.timeline strong { display: block; font-size: .9rem; color: var(--navy-800); line-height: 1.3; }
.timeline span { font-size: .8rem; color: var(--slate-light); }
.tl-todo strong { color: var(--slate-light); font-weight: 600; }
.tl-current span { color: var(--accent-700); font-weight: 600; }
.doc-list { display: grid; gap: 8px; margin-bottom: 20px; }
.doc-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; }
.doc-list em { margin-left: auto; font-style: normal; font-size: .75rem; font-weight: 600; color: var(--slate-light); }
.doc-icon { width: 26px; height: 30px; flex: none; border-radius: 4px; background: linear-gradient(135deg, var(--bg-soft) 0 70%, var(--line-strong) 70%); border: 1px solid var(--line-strong); position: relative; }
.doc-icon::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; background: var(--accent); box-shadow: 0 5px 0 var(--line-strong), 0 10px 0 var(--line-strong); }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.detail-actions .btn[disabled] { opacity: .5; cursor: not-allowed; }

@media (max-width: 1180px) {
  .app-content { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-search input { width: 220px; }
}
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; background: none; }
  .app-sidebar { position: static; height: auto; flex-direction: row; align-items: center; gap: 16px; padding: 12px 16px; overflow-x: auto; }
  .app-sidebar .brand-text { display: none; }
  .app-nav ul { display: flex; gap: 4px; }
  .app-nav a { padding: 9px 12px; white-space: nowrap; font-size: .9rem; }
  .app-nav a.is-active { box-shadow: inset 0 -3px 0 var(--accent); }
  .app-sidebar-foot { margin: 0 0 0 auto; }
  .help-card { display: none; }
  .app-logout span { display: none; }
  .login-shell { grid-template-columns: 1fr; }
  .login-side { gap: 24px; }
  .login-side-copy { margin: 0; }
  .login-features { display: none; }
  .login-side-foot { display: none; }
}
@media (max-width: 760px) {
  .app-main { padding: 20px 16px 40px; }
  .app-topbar { align-items: flex-start; }
  .app-top-actions { width: 100%; flex-wrap: wrap; }
  .app-search { flex: 1 1 100%; order: 5; }
  .app-search input { width: 100%; }
  .app-top-actions .btn { margin-left: auto; }
  .stat-grid { gap: 10px; }
  .stat-card { padding: 14px 16px; }
  .stat-value { font-size: 1.6rem; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .filter-tabs button { white-space: nowrap; }
  .jobs-table thead { display: none; }
  .jobs-table, .jobs-table tbody, .jobs-table tr, .jobs-table td { display: block; width: 100%; }
  .jobs-table tr { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .jobs-table td { padding: 0; border: 0; }
  .jobs-table td[data-label="Registration"] { grid-row: span 2; }
  .jobs-table td[data-label="Type"] { display: none; }
  .jobs-table td[data-label="Status"] { grid-column: 2; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .preview-banner a { margin-left: 0; }
}


/* ==========================================================================
   Portal DEMO login + staff admin (design preview)
   ========================================================================== */
.login-side-title { font-family: var(--font-head); line-height: 1.12; color: #fff; }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #E9EDF2; border-radius: 14px; margin-bottom: 22px; }
.login-tabs button { border: 0; background: transparent; border-radius: 10px; padding: 10px 12px; font-family: var(--font-head); font-weight: 700; font-size: .93rem; color: var(--slate); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.login-tabs button:hover { color: var(--navy-800); }
.login-tabs button.is-active { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.login-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.login-sub { margin-bottom: 20px; }
.login-main { padding-block: clamp(20px, 3.5vw, 48px); }
.login-divider { margin: 22px 0 14px; }
.login-msg { border-radius: 12px; padding: 12px 14px; font-size: .9rem; line-height: 1.5; margin-bottom: 18px; }
.login-info { background: #EAF0F8; color: #1D3F6E; border: 1px solid #C9D8EC; }
.login-info a { font-weight: 700; color: inherit; }
.login-alert { background: #FDECEC; color: #8E1B1B; border: 1px solid #F3C1C1; }
.login-alert strong { display: block; margin-bottom: 2px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--accent-700); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.login-alert .link-btn { color: #8E1B1B; }
.login-form { gap: 4px; }
.login-form .field-error:empty { min-height: 0; margin: 0 0 12px; }
.login-form .field.has-error input { border-color: var(--danger); background: #FFF9F9; }
.login-submit { margin-top: 6px; }
.login-submit[disabled] { opacity: .8; cursor: progress; }
.demo-creds { margin-top: 20px; border: 1.5px dashed #F2B98A; background: #FFF8F1; border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.demo-creds-title { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy-800); }
.demo-cred { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid #F3D9C2; border-radius: 12px; padding: 10px 12px; }
.demo-cred > div { display: grid; gap: 1px; min-width: 0; font-size: .86rem; color: var(--slate); }
.demo-cred strong { color: var(--navy-800); font-size: .9rem; }
.demo-cred span { overflow-wrap: anywhere; }
.demo-cred code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; background: var(--bg-soft); color: var(--navy-800); padding: 1px 6px; border-radius: 6px; }
.demo-cred .btn { flex: none; padding: 8px 14px; }
.demo-creds-note { margin: 2px 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: #7A3A06; line-height: 1.45; }
.demo-creds-note svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

/* Shared additions */
.staff-return { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: #EAF0F8; border: 1px solid #C9D8EC; color: #1D3F6E; font-size: .9rem; }
.staff-return a { font-weight: 700; color: inherit; }
.chip-received { background: #E0F2FE; color: #075985; }
.chip-review { background: #EEF0FF; color: #3730A3; }
.chip-final { background: #CCFBF1; color: #115E59; }
.app-nav-label { margin: 0 0 8px; padding: 0 12px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.count-pill { display: inline-block; vertical-align: middle; margin-left: 6px; font-family: var(--font-body); font-size: .75rem; font-weight: 700; color: var(--slate); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.panel-note { margin: 0; font-size: .86rem; color: var(--slate-light); }
.top-link { font-size: .9rem; font-weight: 600; color: var(--navy-800); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); white-space: nowrap; }
.top-link:hover { color: var(--accent-700); text-decoration-color: currentColor; }
.portal-select { padding: 10px 38px 10px 13px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat; font-size: .92rem; color: var(--ink); -webkit-appearance: none; appearance: none; cursor: pointer; min-width: 0; }
.portal-select:hover { border-color: #94A3B8; }
.portal-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.16); }

/* Admin: stat buttons */
.stat-btn { font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.stat-btn:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.stat-btn .stat-sub { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-700); font-weight: 600; }
.stat-btn .stat-sub svg { width: 14px; height: 14px; }

/* Admin: jobs table (container queries switch layouts by panel width) */
.admin-jobs { container-type: inline-size; container-name: jobs; margin-bottom: 24px; }
.jobs-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.jobs-toolbar .app-search input { width: 290px; }
.admin-table td { padding: 13px 14px; }
.admin-table th { padding: 12px 14px; }
.admin-table .c-reg { width: 1%; }
.admin-table .c-status, .admin-table .c-updated, .admin-table .c-assign { white-space: nowrap; }
.cell-shop { font-weight: 600; }
.cell-date { font-size: .88rem; color: var(--slate); white-space: nowrap; }
.u-compact { display: none; }
.assignee { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink); }
.mini-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-700); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .66rem; flex: none; }
@container jobs (max-width: 1000px) {
  .admin-table .c-updated { display: none; }
  .admin-table .u-compact { display: block; }
}
@container jobs (max-width: 720px) {
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody { display: block; width: 100%; }
  .admin-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "reg status" "veh veh" "shop shop" "assign upd"; gap: 8px 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .admin-table td { display: block; width: auto; padding: 0; border: 0; }
  .admin-table .c-reg { grid-area: reg; width: auto; }
  .admin-table .c-status { grid-area: status; justify-self: end; }
  .admin-table .c-status .u-compact { display: none; }
  .admin-table .c-veh { grid-area: veh; }
  .admin-table .c-shop { grid-area: shop; margin-top: -4px; }
  .admin-table .c-veh .cell-strong, .admin-table .c-shop .cell-strong { display: inline; }
  .admin-table .c-veh .cell-sub, .admin-table .c-shop .cell-sub { display: inline; font-size: .84rem; }
  .admin-table .c-veh .cell-sub::before, .admin-table .c-shop .cell-sub::before { content: " · "; }
  .admin-table .c-shop .cell-strong { font-weight: 500; font-size: .88rem; color: var(--slate); }
  .admin-table .c-assign { grid-area: assign; }
  .admin-table .c-updated { display: block; grid-area: upd; justify-self: end; }
  .admin-table .c-updated .cell-date { font-size: .8rem; color: var(--slate-light); }
}

/* Admin: bodyshops */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; padding: 20px; }
.shop-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; align-content: start; background: #fff; }
.shop-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.shop-card h3 { font-size: 1.02rem; margin: 0 0 2px; }
.shop-card-head p { margin: 0; font-size: .82rem; color: var(--slate-light); }
.shop-contact { display: grid; gap: 6px; margin: 0; font-size: .86rem; }
.shop-contact div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
.shop-contact dt { color: var(--slate-light); }
.shop-contact dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.shop-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shop-stats div { background: var(--bg-soft); border-radius: 10px; padding: 8px 10px; }
.shop-stats strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--navy-800); line-height: 1.2; }
.shop-stats span { font-size: .74rem; color: var(--slate-light); }
.shop-card .btn { justify-self: start; }

/* Admin: invoices */
.data-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .9rem; }
.data-table th { text-align: left; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); padding: 12px 16px; background: #FAFBFC; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.cell-sub-inline { font-size: .78rem; color: var(--slate-light); }
.settings-body { padding: 20px; color: var(--slate); max-width: 60ch; }

/* Admin: job drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(6,16,28,.5); z-index: 80; animation: fade-in .2s ease; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: #fff; z-index: 90; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: drawer-in .28s var(--ease); }
body.drawer-open { overflow: hidden; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.drawer-head { padding: 18px 22px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #FAFBFC, #fff); }
.drawer-head-top { display: flex; align-items: center; gap: 10px; }
.drawer-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy-800); display: grid; place-items: center; cursor: pointer; flex: none; }
.drawer-close:hover { border-color: var(--line-strong); background: var(--bg-soft); }
.drawer-close svg { width: 18px; height: 18px; }
.drawer-head h2 { font-size: 1.3rem; margin: 12px 0 2px; }
.drawer-head p { margin: 0; font-size: .86rem; color: var(--slate-light); }
.drawer-body { overflow-y: auto; padding: 20px 22px 32px; flex: 1; overscroll-behavior: contain; }
.admin-controls { background: #FFF8F2; border: 1px solid #F8D9BF; border-radius: 14px; padding: 14px 16px; display: grid; gap: 12px; margin-bottom: 6px; }
.control { display: grid; gap: 6px; }
.control-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.control-row { display: flex; gap: 10px; }
.control-row .portal-select { flex: 1; }
.control-row .btn { flex: none; }
.control-row .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.dd-sub { display: block; font-weight: 500; color: var(--slate-light); font-size: .82rem; }
.note-form { display: grid; gap: 0; margin-bottom: 20px; }
.note-form textarea { width: 100%; min-height: 84px; resize: vertical; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line-strong); font-size: .92rem; line-height: 1.45; }
.note-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.16); }
.note-form textarea[aria-invalid="true"] { border-color: var(--danger); }
.note-form .field-error { min-height: 0; margin: 6px 0; }
.note-form .field-error:empty { margin: 4px 0; }
.note-form .btn { justify-self: start; }
.activity { display: grid; gap: 0; margin-bottom: 22px; }
.activity li { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.activity li:not(:last-child)::before { content: ""; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.act-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; flex: none; background: var(--navy-600); position: relative; z-index: 1; box-shadow: 0 0 0 3px #fff; }
.act-note .act-dot { background: var(--accent); }
.act-assign .act-dot { background: var(--slate-light); }
.activity p { margin: 0; font-size: .9rem; color: var(--ink); line-height: 1.45; overflow-wrap: anywhere; }
.act-kind { display: inline-block; margin-right: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); background: var(--accent-soft); border-radius: 999px; padding: 1px 7px; vertical-align: 1px; }
.act-meta { font-size: .78rem; color: var(--slate-light); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 500; max-width: calc(100% - 32px); animation: fade-in .2s ease; }

@media (max-width: 1180px) {
  .jobs-toolbar { width: 100%; }
  .jobs-toolbar .app-search { flex: 1 1 220px; }
  .jobs-toolbar .app-search input { width: 100%; }
}
@media (max-width: 960px) {
  .app-nav-label { display: none; }
}
@media (max-width: 760px) {
  .portal-admin .app-top-actions { flex-wrap: nowrap; }
  .portal-admin .app-top-actions .top-link { flex: 1; white-space: normal; }
  .portal-admin .app-top-actions .btn { margin-left: 0; }
  .jobs-toolbar .portal-select { flex: 1 1 calc(50% - 5px); }
  .shop-grid { padding: 14px; }
  .drawer-head { padding: 14px 16px; }
  .drawer-body { padding: 16px 16px 28px; }
  .control-row { flex-wrap: wrap; }
  .control-row .portal-select { flex: 1 1 100%; }
  .control-row .btn { width: 100%; }
  .demo-cred { padding: 10px; }
}
@media (max-width: 560px) {
  .portal-admin .app-top-actions .avatar { display: none; }
}
.admin-table .c-assign .cell-muted { font-size: .88rem; }
@media (max-width: 560px) { .demo-cred > div { font-size: .8rem; } .demo-cred span { overflow-wrap: normal; word-break: normal; } }

/* Portal: "Create an account" panel (design preview, saved in this browser only) */
.login-new + .login-new { margin-top: 10px; }
.register-view .login-back { margin-bottom: 18px; }
.field-optional { font-weight: 500; color: var(--slate-light); }
.login-success { background: #EAF7EF; color: #14532D; border: 1px solid #BFE5CC; }
.register-note { text-align: left; }

/* Portal: client Jobs / Estimates / Invoices pages (design preview) */
.client-jobs { margin-bottom: 0; }
.cell-type { font-size: .88rem; color: var(--slate); white-space: nowrap; }
.client-table td { white-space: normal; }
.client-table td[data-label="Amount"], .client-table .cell-date, .client-table td[data-label="Estimate"], .client-table td[data-label="Invoice"] { white-space: nowrap; }
.client-panel-note { padding: 12px 20px; border-top: 1px solid var(--line); }
.empty-account { padding: 40px 24px; }
.empty-account .empty-title { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--navy-800); }
.empty-account p { max-width: 46ch; margin: 6px auto 16px; }
.client-list { container-type: inline-size; container-name: clist; }
@container clist (max-width: 1000px) {
  .client-table .c-type, .client-table td[data-label="Estimate type"] { display: none; }
}
@container clist (max-width: 860px) {
  .client-table { min-width: 0; }
  .client-table thead { display: none; }
  .client-table, .client-table tbody { display: block; width: 100%; }
  .client-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "reg status" "veh veh" "no amt" "no date"; gap: 6px 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .client-table tbody tr:last-child { border-bottom: 0; }
  .client-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .client-table td[data-label="Registration"] { grid-area: reg; }
  .client-table td[data-label="Status"] { grid-area: status; justify-self: end; }
  .client-table td[data-label="Vehicle"] { grid-area: veh; }
  .client-table td[data-label="Vehicle"] .cell-strong, .client-table td[data-label="Vehicle"] .cell-sub { display: inline; }
  .client-table td[data-label="Vehicle"] .cell-sub::before { content: " \00B7  "; }
  .client-table td[data-label="Estimate"], .client-table td[data-label="Invoice"] { grid-area: no; align-self: start; }
  .client-table td[data-label="Estimate type"] { display: none; }
  .client-table td[data-label="Amount"] { grid-area: amt; justify-self: end; }
  .client-table td[data-label="Updated"], .client-table td[data-label="Date"] { grid-area: date; justify-self: end; font-size: .8rem; color: var(--slate-light); }
  .client-table .cell-strong, .client-table .cell-sub { overflow-wrap: anywhere; }
}
@media (max-width: 760px) {
  .client-panel-note { padding: 12px 16px; }
}

/* ==========================================================================
   Mobile compaction (phones). Added Oct 2026.
   Everything below sits inside max-width queries, so the desktop layout is unchanged.
   Goal: shorter pages on phones (less padding, tighter cards, smaller hero),
   44px tap targets and no sideways scrolling.
   ========================================================================== */
@media (max-width: 768px) {
  :root { --section-y: 44px; --header-h: 64px; }
  html, body { max-width: 100%; overflow-x: hidden; }
  img, video, iframe, picture { max-width: 100%; }
  h2 { font-size: clamp(1.5rem, 1.15rem + 1.6vw, 1.9rem); margin-bottom: .4em; }
  h3 { font-size: 1.08rem; }
  .lead, .section-intro { font-size: 1rem; }
  .eyebrow { margin-bottom: .6rem; }
  .section-head { margin-bottom: 24px; }

  /* Header + hamburger menu */
  .brand-mark { width: 38px; height: 38px; }
  .nav-toggle { width: 44px; height: 44px; }
  .nav-toggle-bar:nth-child(1) { top: 15px; }
  .nav-toggle-bar:nth-child(2) { top: 21px; }
  .nav-toggle-bar:nth-child(3) { top: 27px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1),
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { top: 21px; }
  .primary-nav { gap: 14px; padding-top: 4px; }
  .primary-nav a:not(.btn) { padding: 12px 4px; font-size: 1.08rem; min-height: 44px; }

  /* Tap targets: buttons and form controls at least 44px */
  .btn, .btn-sm, .header-login { min-height: 44px; }
  .btn-lg { padding: 14px 24px; }
  .field input, .field select, .login-form .field input, .app-search input, .portal-select { min-height: 46px; }
  .field textarea { min-height: 110px; }
  .filter-tabs button, .login-tabs button { min-height: 44px; }
  .pw-toggle { width: 44px; height: 44px; right: 2px; }

  /* Hero: shorter, smaller heading, shorter photo strip */
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero h1 { font-size: clamp(1.85rem, 1.3rem + 2.8vw, 2.4rem); margin-bottom: 14px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 20px; }
  .hero-actions { gap: 10px; margin-bottom: 18px; }
  .hero-points { flex-direction: row; flex-wrap: wrap; gap: 6px 12px; font-size: .82rem; }
  .hero-points svg { width: 18px; height: 18px; }
  .hero-media { margin-top: -2vw; }
  .hero-media img { height: clamp(190px, 52vw, 300px); object-fit: cover; object-position: center 62%; }
  .hero-media::before { height: 45%; }
  .hero-status, .float-card { display: none; }

  /* Intro */
  .intro { padding-bottom: var(--section-y); }
  .intro-inner { gap: 14px; }
  .intro-body .lead { margin-bottom: 16px; }
  .tag-list { gap: 6px; }
  .tag-list li { font-size: .82rem; padding: 5px 11px; }

  /* Services: one column, icon beside the text */
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 18px; }
  .service-card:not(.service-card-cta) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .service-card:not(.service-card-cta) .service-icon { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; margin: 0; }
  .service-icon svg { width: 24px; height: 24px; }
  .service-card h3 { margin-bottom: 4px; }
  .service-card p { font-size: .95rem; line-height: 1.55; }
  .service-card-cta h3 { font-size: 1.2rem; }
  .service-card-cta p { margin-bottom: 14px; }

  /* How we work */
  .process-intro { gap: 20px; margin-bottom: 28px; }
  .familiar-card { padding: 20px; border-radius: var(--radius); }
  .familiar-card h3 { margin-bottom: 12px; }
  .familiar-card ul { gap: 8px; }
  .familiar-foot { margin-top: 14px; padding-top: 12px; }
  .journey-wrap { gap: 24px; }
  .journey-title { margin-bottom: 16px; }
  .journey { gap: 10px; }
  .journey-step { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .journey-num { width: 36px; height: 36px; font-size: .82rem; }
  .journey-step:not(:last-child)::before { left: 17px; top: 38px; bottom: -10px; }
  .journey-body { padding: 12px 14px; }
  .journey-head { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 4px; }
  .journey-head h3 { font-size: 1rem; }
  .journey-body p { font-size: .93rem; line-height: 1.5; }
  .journey-aside { gap: 14px; }
  .submit-card { padding: 20px; border-radius: var(--radius); }
  .submit-card h3 { margin-bottom: 12px; }
  .mini-steps { gap: 6px; margin-bottom: 16px; }
  .control-card { padding: 18px; border-radius: var(--radius); }

  /* Pricing */
  .tier-grid { gap: 26px; }
  .tier { padding: 26px 20px 20px; border-radius: var(--radius); }
  .tier h3 { font-size: 1.28rem; margin-bottom: 6px; }
  .tier-desc { font-size: .94rem; margin-bottom: 8px; }
  .tier-price { margin: 4px 0 14px; padding-bottom: 14px; }
  .tier-price .amount { font-size: 2.4rem; }
  .tier-list { gap: 7px; margin-bottom: 18px; }
  .tier-list li { font-size: .93rem; }
  .addons { margin-top: 26px; padding: 18px; border-radius: var(--radius); }
  .addon-list li { padding: 11px 0; }
  .pricing-note { margin-top: 14px; }

  /* Why us */
  .why-inner { gap: 20px; }
  .why-head h2 { margin-bottom: 12px; }
  .why-head p { font-size: 1rem; margin-bottom: 18px; }
  .why-list { gap: 8px; }
  .why-list li { padding: 11px 14px; gap: 12px; font-size: .96rem; }
  .check { width: 30px; height: 30px; border-radius: 8px; }
  .check svg { width: 17px; height: 17px; }

  /* CTA band */
  .cta-inner { gap: 18px; padding-block: 34px; }

  /* About: values as compact rows */
  .about-inner { gap: 22px; }
  .about-values { gap: 10px; }
  .value { flex-direction: row; align-items: flex-start; gap: 14px; padding: 14px 16px; }
  .value-icon { width: 38px; height: 38px; border-radius: 10px; flex: none; }
  .value-icon svg { width: 20px; height: 20px; }
  .value h3 { margin-bottom: 2px; }

  /* Contact + enquiry form */
  .contact-inner { gap: 24px; }
  .contact-info .lead { margin-bottom: 18px; }
  .contact-methods { gap: 8px; margin-bottom: 16px; }
  .contact-methods li { padding: 10px 14px; gap: 12px; }
  .cm-icon { width: 40px; height: 40px; border-radius: 10px; }
  .photo-note { padding: 14px; gap: 12px; }
  .job-callout { margin-bottom: 16px; padding: 12px 14px; }
  .form-wrap { padding: 20px 16px; border-radius: var(--radius); }
  .field label { margin-bottom: 5px; }
  .field-error { margin: 4px 0 6px; }
  .field-error:empty { min-height: 0; margin: 0 0 12px; }
  .form-hint { margin: 2px 0 16px; padding: 10px 12px; }
  .form-footer { gap: 12px; }

  /* Footer */
  .site-footer { padding-top: 36px; }
  .footer-inner { gap: 24px 20px; padding-bottom: 28px; }
  .brand-footer { margin-bottom: 12px; }
  .footer-title { margin-bottom: 10px; }
  .footer-col ul { gap: 4px; }
  .footer-col a:not(.btn) { display: inline-block; padding: 4px 0; }
  .footer-cta { margin-top: 14px; }
  .footer-bottom { padding-block: 16px; gap: 8px; }

  /* Inner pages: page hero + Submit a Job */
  .page-hero { padding: calc(var(--header-h) + 22px) 0 76px; }
  .page-hero h1 { font-size: clamp(1.8rem, 1.3rem + 2.6vw, 2.3rem); margin-bottom: 10px; }
  .page-hero p { font-size: 1rem; margin-bottom: 14px; }
  .breadcrumb { margin-bottom: 10px; }
  .page-hero-points { gap: 6px; }
  .submit-section { padding-bottom: var(--section-y); }
  .submit-layout { gap: 18px; }
  .form-card { padding: 18px 16px; border-radius: var(--radius); }
  .step-head { margin-bottom: 16px; padding-top: 16px; }
  .step-head h2 { font-size: 1.35rem; }
  .dropzone-label { padding: 22px 16px; }
  .option-card { padding: 14px; }
  .form-nav { margin-top: 20px; padding-top: 16px; }
  .submit-aside { gap: 14px; }
  .aside-card { padding: 18px; border-radius: var(--radius); }
  .aside-card h2 { margin-bottom: 12px; }
  .next-steps { gap: 12px; }

  /* Portal: login */
  .login-shell { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .login-side { padding: 20px; gap: 14px; }
  .login-side h1, .login-side-title { font-size: clamp(1.45rem, 1.1rem + 1.8vw, 1.9rem); margin-bottom: 0; }
  .login-main { padding: 22px 16px 32px; }
  .login-back { margin-bottom: 16px; }
  .login-card h2, .login-title { font-size: 1.6rem; }
  .demo-creds { margin-top: 16px; padding: 12px; }

  /* Portal: dashboard pages */
  .app-main { padding: 16px 14px 32px; }
  .app-topbar { margin-bottom: 16px; gap: 12px; }
  .app-topbar h1 { font-size: 1.5rem; }
  .app-greeting { margin-bottom: 16px; }
  .greeting-text p { margin-bottom: 12px; }
  .stat-card { padding: 12px 14px; }
  .stat-value { font-size: 1.45rem; }
  .app-content { gap: 14px; }
  .panel { border-radius: var(--radius); }
  .panel-head { padding: 14px 16px; }
  .detail-panel { padding: 16px; }
  .detail-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  :root { --section-y: 36px; }
  .container { padding-inline: 16px; }
  body { font-size: .97rem; line-height: 1.6; }
  .hero h1 { font-size: clamp(1.7rem, 1.25rem + 2.6vw, 2rem); }
  .hero-actions .btn { flex: 1 1 100%; width: 100%; }
  .hero-media img { height: clamp(170px, 48vw, 230px); }
  .service-card { padding: 16px; }
  .tier { padding: 24px 16px 18px; }
  .tier-price .amount { font-size: 2.2rem; }
  .addons { padding: 16px 14px; }
  .addon-list li { gap: 10px; }
  .why-list li { font-size: .93rem; }
  .cta-inner { padding-block: 28px; }
  .form-wrap { padding: 18px 14px; }
  .form-footer .btn, .service-card-cta .btn, .job-success-actions .btn, .login-new { width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .legal-links { gap: 16px; flex-wrap: wrap; }
  .page-hero { padding-bottom: 72px; }
  .form-card { padding: 16px 14px; }
  .stepper-dot { width: 32px; height: 32px; }
  .login-side { padding: 18px 16px; }
  .app-main { padding-inline: 12px; }
  .stat-grid { gap: 8px; }
}

@media (max-width: 360px) {
  .demo-cred span { overflow-wrap: anywhere; }
}
