/* ============================================================
   Transious Fleet — marketing site stylesheet
   Brand: Transious  (blue #1F7AC8 / #5AAEEA on navy #0E1A2B)
   ============================================================ */
:root {
  --brand: #1F7AC8;
  --brand-soft: #5AAEEA;
  --brand-deep: #14568F;
  --navy: #0E1A2B;
  --navy-2: #16283F;
  --ink: #22334A;
  --muted: #5B6B80;
  --paper: #FAF6F0;
  --white: #FFFFFF;
  --line: #E7DDD0;
  --green: #1D9E75;
  --red: #C13B3B;
  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(14, 26, 43, 0.35);
  --maxw: 1180px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.12rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--brand); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.lede { font-size: 1.1rem; color: var(--muted); }
.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--muted); margin-top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; transition: top .2s ease; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .98rem; padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 10px 24px -10px rgba(90,174,234,.65); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--white); color: var(--brand-soft); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--paper); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px -12px rgba(14,26,43,.25); }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-logo { height: 42px; width: auto; }
.brand-divider { width: 1px; height: 26px; background: var(--line); }
.brand-word { font-family: var(--font-display); font-weight: 700; letter-spacing: .24em; font-size: .86rem; color: var(--navy); line-height: 1.15; }
.brand-word small { display: block; letter-spacing: .12em; font-size: .62rem; color: var(--brand-soft); font-weight: 600; }
.nav-list { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-list a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .94rem; padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.nav-list a:not(.btn):hover, .nav-list a:not(.btn).active { color: var(--navy); border-bottom-color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle .bar { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle .bar:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(3) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- page hero (interior pages) ---------- */
.page-hero { background: radial-gradient(900px 420px at 82% -10%, rgba(90,174,234,.2), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-2)); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lede { color: rgba(255,255,255,.8); margin-top: 16px; max-width: 46em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- home hero ---------- */
.hero { background: radial-gradient(1100px 480px at 85% -10%, rgba(90,174,234,.22), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-2)); color: var(--white); padding: clamp(52px, 8vw, 100px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 52px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,.8); }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media { position: relative; }
.hero-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid rgba(90,174,234,.5); border-radius: var(--radius); z-index: -1; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; list-style: none; }
.trust-chips li { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 15px; }

/* ---------- stat band ---------- */
.stats-band { background: var(--navy); color: var(--white); }
.stats-band .stat-num { color: #5AAEEA; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 32px 0; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.stat-label { font-size: .87rem; opacity: .94; }

/* ---------- generic sections ---------- */
section.pad { padding: clamp(60px, 8vw, 100px) 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 68px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.alt-bg { background: var(--white); }
.line-top { border-top: 1px solid var(--line); }

/* ---------- feature grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-decoration: none; display: block; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feat:hover, .feat:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand); outline: none; }
.feat-ico { display: inline-flex; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(140deg, rgba(90,174,234,.16), rgba(90,174,234,.05)); color: var(--brand); align-items: center; justify-content: center; margin-bottom: 14px; }
.feat-ico svg { width: 25px; height: 25px; }
.feat h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feat p { color: var(--muted); font-size: .9rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-n { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--brand-soft); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; align-items: center; justify-content: center; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* ---------- feature lists ---------- */
.checklist { list-style: none; display: grid; gap: 12px; margin: 20px 0 26px; }
.checklist li { position: relative; padding-left: 30px; font-size: .96rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: var(--brand); -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.quote-stars { color: var(--brand); letter-spacing: 3px; font-size: .95rem; }
.quote p { color: var(--ink); font-size: .96rem; flex: 1; }
.quote-by { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, var(--brand), var(--brand-soft)); color: var(--white); font-weight: 700; font-family: var(--font-display); display: flex; align-items: center; justify-content: center; font-size: .95rem; flex: none; }
.quote-by strong { display: block; color: var(--navy); font-size: .92rem; }
.quote-by span { font-size: .8rem; color: var(--muted); }

/* ---------- case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-tag { align-self: flex-start; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-deep); background: rgba(90,174,234,.1); padding: 5px 12px; border-radius: 999px; }
.case h3 { font-size: 1.12rem; }
.case p { color: var(--muted); font-size: .92rem; flex: 1; }
.case-metrics { display: flex; gap: 18px; list-style: none; padding-top: 6px; }
.case-metrics li strong { display: block; font-family: var(--font-display); color: var(--brand); font-size: 1.25rem; }
.case-metrics li span { font-size: .76rem; color: var(--muted); }

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; }
.cmp th, .cmp td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 600; }
.cmp thead th:first-child { border-radius: 0; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td.yes { color: var(--green); font-weight: 700; }
.cmp td.no { color: var(--red); font-weight: 600; }
.cmp tbody th { font-weight: 600; color: var(--navy); }

/* ---------- pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: var(--white); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.05rem; }
.plan .price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--navy); }
.plan .price small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; display: grid; gap: 9px; font-size: .89rem; color: var(--ink); flex: 1; }
.plan ul li { padding-left: 24px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.plan .btn { justify-content: center; }

/* ---------- accordion / FAQ ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-q { width: 100%; background: none; border: 0; text-align: left; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: var(--navy); padding: 20px 56px 20px 22px; cursor: pointer; position: relative; }
.acc-q:hover { color: var(--brand-deep); }
.acc-q:focus-visible { outline: 3px solid var(--brand-soft); outline-offset: -3px; }
.acc-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); transition: transform .2s ease; font-family: var(--font-display); }
.acc-item.open .acc-q::after { content: "–"; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-a-inner { padding: 0 22px 22px; color: var(--muted); font-size: .95rem; }
.acc-a-inner a { color: var(--brand-deep); }

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: var(--white); transition: border-color .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(90,174,234,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 600; font-size: .92rem; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(800px 300px at 15% 120%, rgba(90,174,234,.4), transparent 65%), var(--navy); color: var(--white); text-align: center; padding: clamp(60px, 8vw, 96px) 0; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 46em; margin: 0 auto; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: #0A1420; color: rgba(255,255,255,.72); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand .brand-logo { height: 42px; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 30em; }
.site-footer h3 { color: var(--white); font-size: .92rem; margin-bottom: 14px; letter-spacing: .05em; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .89rem; }
.site-footer a:hover { color: var(--brand-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: .83rem; }
.footer-bottom a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand-soft); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .feat, .case { transition: none; }
}

/* ---------- error page ---------- */
.err-page { min-height: 60vh; display: flex; align-items: center; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
}
@media (max-width: 760px) {
  .stats-grid, .steps, .case-grid, .quotes, .feat-grid, .plan-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-list { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; }
  .nav-open .nav-list { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a:not(.btn) { display: block; padding: 13px 0; }
  .nav-list .btn { margin: 10px 0 4px; }
  .hero-media::after { display: none; }
}
