/* ==========================================================================
   MECHAGO — Design System
   Bike Breakdown & Roadside Assistance Platform
   Violet brand theme, premium mobility/startup aesthetic.
   ========================================================================== */

:root {
  /* Violet scale */
  --violet-50: #F5F3FF;
  --violet-100: #EDE9FE;
  --violet-200: #DDD6FE;
  --violet-300: #C4B5FD;
  --violet-400: #A78BFA;
  --violet-500: #8B5CF6;
  --violet-600: #7C3AED;
  --violet-700: #6D28D9;
  --violet-800: #5B21B6;
  --violet-900: #4C1D95;
  --violet-950: #2E1065;

  /* Neutrals (violet-tinted for warmth) */
  --ink-900: #171122;
  --ink-800: #251C36;
  --ink-700: #3F3A4A;
  --ink-500: #6B6478;
  --ink-400: #8B839B;
  --ink-300: #ADA5BF;
  --surface-0: #FFFFFF;
  --surface-1: #FAF9FD;
  --surface-2: #F4F1FA;
  --surface-3: #ECE7F6;
  --border: #E7E2F3;
  --border-strong: #D9D1EC;

  --success: #158A54;
  --success-bg: #E9F8F0;
  --warning: #B45309;
  --warning-bg: #FEF3E2;

  /* Gradients */
  --grad-violet: linear-gradient(135deg, var(--violet-600) 0%, var(--violet-800) 100%);
  --grad-violet-soft: linear-gradient(135deg, var(--violet-50) 0%, var(--violet-100) 100%);
  --grad-hero: radial-gradient(120% 120% at 15% 0%, var(--violet-50) 0%, var(--surface-0) 55%);

  /* Type */
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Shape / motion */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(46, 16, 101, 0.06), 0 1px 3px rgba(46, 16, 101, 0.08);
  --shadow-md: 0 8px 24px rgba(46, 16, 101, 0.10);
  --shadow-lg: 0 20px 48px rgba(46, 16, 101, 0.16);
  --shadow-violet: 0 12px 28px rgba(124, 58, 237, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--surface-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { color: var(--ink-500); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-500); }

/* ---------------------------------------------------------------------- */
/* Layout helpers                                                         */
/* ---------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--surface-1); }
.section--dark { background: var(--grad-violet); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--violet-700);
  background: var(--violet-100); padding: 7px 14px; border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.section--dark .eyebrow { background: rgba(255,255,255,0.14); color: #EDE6FF; }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 14px 26px; border-radius: var(--radius-full);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--violet-600); color: #fff; box-shadow: var(--shadow-violet); }
.btn-primary:hover { background: var(--violet-700); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(124,58,237,0.34); }
.btn-secondary { background: var(--surface-0); color: var(--violet-700); border: 1.5px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--violet-400); background: var(--violet-50); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.32); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------------------------------------------------------------------- */
/* Header / Nav                                                            */
/* ---------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 20px rgba(46,16,101,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--ink-900); flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--grad-violet); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-violet); flex-shrink: 0; }
.brand-mark svg { width: 21px; height: 21px; }
.brand-name { letter-spacing: -0.01em; }

.primary-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.primary-nav a {
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 600;
  color: var(--ink-700); padding: 9px 13px; border-radius: var(--radius-full);
  transition: color 0.2s, background-color 0.2s; white-space: nowrap;
}
.primary-nav a:hover { color: var(--violet-700); background: var(--violet-50); }
.primary-nav a.active { color: var(--violet-700); background: var(--violet-100); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .header-actions .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile nav panel */
.mobile-nav { position: fixed; top: 76px; right: 0; bottom: 0; left: 0; background: var(--surface-0); z-index: 99; transform: translateX(100%); transition: transform 0.35s var(--ease); overflow-y: auto; }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-inner { padding: 20px 24px 40px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-800); padding: 15px 6px; border-bottom: 1px solid var(--border); }
.mobile-nav a.active { color: var(--violet-700); }
.mobile-nav .btn { margin-top: 20px; }
body.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */
.hero { background: var(--grad-hero); padding: 76px 0 96px; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--ink-700); }
.hero-badge svg { width: 18px; height: 18px; color: var(--violet-600); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-card { background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; position: relative; z-index: 2; }
.hero-glow { position: absolute; width: 480px; height: 480px; background: radial-gradient(circle, var(--violet-200) 0%, transparent 70%); top: -120px; right: -140px; opacity: 0.7; z-index: 1; pointer-events: none; }
.hero-glow-2 { position: absolute; width: 360px; height: 360px; background: radial-gradient(circle, var(--violet-100) 0%, transparent 70%); bottom: -140px; left: -120px; z-index: 0; pointer-events: none; }

.status-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-md); background: var(--surface-1); margin-bottom: 12px; }
.status-row:last-child { margin-bottom: 0; }
.status-dot { width: 34px; height: 34px; border-radius: 10px; background: var(--violet-100); color: var(--violet-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.status-dot svg { width: 18px; height: 18px; }
.status-dot.is-done { background: var(--success-bg); color: var(--success); }
.status-text strong { display: block; font-family: var(--font-display); font-size: 0.92rem; color: var(--ink-900); }
.status-text span { font-size: 0.8rem; color: var(--ink-400); }

/* ---------------------------------------------------------------------- */
/* Cards                                                                    */
/* ---------------------------------------------------------------------- */
.card {
  background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--violet-200); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--violet-100); color: var(--violet-700); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; margin: 0; }

.icon-tile { width: 40px; height: 40px; border-radius: 11px; background: var(--violet-600); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-tile svg { width: 20px; height: 20px; }

/* Service pill cards (11 problem categories) */
.service-pill {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--violet-200); }
.service-pill .icon-tile { background: var(--violet-100); color: var(--violet-700); }
.service-pill span { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink-900); }

/* "Other" — the catch-all request option, deliberately distinct from the
   10 predefined problem cards so it doesn't read as just another
   technical category (see services.html's own copy). */
.card--other {
  background: var(--violet-50);
  border: 1.5px dashed var(--violet-300);
}
.card--other:hover { border-color: var(--violet-400); background: var(--violet-100); }
.card--other .card-icon { background: var(--violet-600); color: #fff; }

/* ---------------------------------------------------------------------- */
/* Pricing (Labour + Spare Parts = Final Invoice)                          */
/* ---------------------------------------------------------------------- */
.pricing-row { display: flex; align-items: stretch; gap: 18px; }
.pricing-card {
  flex: 1; background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center;
}
.pricing-card--result { background: var(--grad-violet); border-color: transparent; color: #fff; }
.pricing-card--result h4, .pricing-card--result p { color: #fff; }
.pricing-card--result p { color: rgba(255,255,255,0.82); }
.pricing-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--violet-700); line-height: 1; margin-bottom: 6px; }
.pricing-amount span { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: var(--ink-400); }
.pricing-card h4 { margin-bottom: 8px; }
.pricing-card p { font-size: 0.9rem; margin: 0; }
.pricing-operator {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 40px; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--violet-400);
}
@media (max-width: 860px) {
  .pricing-row { flex-direction: column; }
  .pricing-operator { width: auto; padding: 4px 0; }
}

/* Steps (How It Works) */
.steps { position: relative; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 44px; position: relative; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--border-strong); }
.step:last-child::before { display: none; }
.step-num { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-violet); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; box-shadow: var(--shadow-violet); flex-shrink: 0; z-index: 1; }
.step-body h3 { margin-bottom: 8px; }
.step-body p { margin: 0; max-width: 560px; }
.step-tag { display: inline-block; margin-top: 10px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet-700); background: var(--violet-50); padding: 4px 10px; border-radius: var(--radius-full); }

/* Split feature row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-visual { order: 2; }
@media (max-width: 900px) { .split, .split.reverse .split-visual { grid-template-columns: 1fr; order: 0; } }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-item .icon-tile { background: var(--violet-100); color: var(--violet-700); width: 36px; height: 36px; border-radius: 10px; }
.feature-item .icon-tile svg { width: 18px; height: 18px; }
.feature-item h4 { margin-bottom: 3px; font-size: 1rem; }
.feature-item p { font-size: 0.92rem; margin: 0; }

.panel { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.panel-dark { background: var(--ink-900); color: #fff; border-radius: var(--radius-lg); padding: 36px; }
.panel-dark h3, .panel-dark h4 { color: #fff; }
.panel-dark p { color: rgba(255,255,255,0.7); }

/* Verified-capability badge — used to visually distinguish real, shipped
   features from anything aspirational, per the "verify every claim"
   requirement this site was built under. */
.verified-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 700; color: var(--success); background: var(--success-bg); padding: 4px 10px; border-radius: var(--radius-full); letter-spacing: 0.02em; }
.verified-badge svg { width: 13px; height: 13px; }

/* Placeholder notice callout */
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--warning-bg); border: 1px solid #F5D9A8; }
.notice svg { width: 22px; height: 22px; color: var(--warning); flex-shrink: 0; margin-top: 1px; }
.notice p { color: #7C4A0A; margin: 0; font-size: 0.9rem; }
.notice strong { color: #7C4A0A; }

/* ---------------------------------------------------------------------- */
/* Stats strip — capability counts only, never invented numbers            */
/* ---------------------------------------------------------------------- */
.strip { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.strip-item { flex: 1; min-width: 180px; }
.strip-item strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--violet-700); margin-bottom: 4px; }
.section--dark .strip-item strong { color: #fff; }
.strip-item span { font-size: 0.88rem; color: var(--ink-500); }
.section--dark .strip-item span { color: rgba(255,255,255,0.75); }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                 */
/* ---------------------------------------------------------------------- */
.cta-band { border-radius: var(--radius-lg); background: var(--grad-violet); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 70%); top: -160px; right: -100px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0; max-width: 460px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                    */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.66); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-placeholder { color: rgba(255,255,255,0.4); font-style: italic; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 0.83rem; color: rgba(255,255,255,0.45); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: var(--radius-full); background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: rgba(255,255,255,0.16); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------------- */
/* Page hero (inner pages)                                                  */
/* ---------------------------------------------------------------------- */
.page-hero { background: var(--grad-hero); padding: 64px 0 60px; text-align: center; }
.page-hero .eyebrow { margin-left: auto; margin-right: auto; }
.page-hero h1 { max-width: 780px; margin: 0 auto 18px; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.84rem; color: var(--ink-400); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--violet-600); }

/* ---------------------------------------------------------------------- */
/* Content pages (legal, support)                                          */
/* ---------------------------------------------------------------------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 44px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin-bottom: 16px; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-500); }
.prose li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-500); }
.draft-banner { display: flex; align-items: center; gap: 12px; background: var(--warning-bg); border: 1px solid #F5D9A8; border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 40px; }
.draft-banner svg { width: 22px; height: 22px; color: var(--warning); flex-shrink: 0; }
.draft-banner p { margin: 0; color: #7C4A0A; font-size: 0.92rem; }
.draft-banner strong { color: #7C4A0A; }
.toc { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 26px; margin-bottom: 40px; }
.toc h4 { margin-bottom: 12px; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-500); }
.toc ol { display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.toc li { counter-increment: toc; font-size: 0.92rem; }
.toc li a { color: var(--violet-700); font-weight: 500; }
.toc li a:hover { text-decoration: underline; }
.meta-line { font-size: 0.85rem; color: var(--ink-400); margin-bottom: 6px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; text-align: left; width: 100%; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink-900); }
.faq-q svg { width: 20px; height: 20px; color: var(--violet-600); flex-shrink: 0; transition: transform 0.3s var(--ease); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 4px 22px; margin: 0; font-size: 0.94rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-item h4 { margin-bottom: 4px; }
.contact-item p { margin: 0; font-size: 0.92rem; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--ink-800); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface-0); color: var(--ink-900); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 4px var(--violet-100); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-400); margin-top: -8px; margin-bottom: 20px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--violet-700); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 36px 26px; flex-direction: column; align-items: flex-start; }
  .footer-top { padding-bottom: 32px; }
}


/* ---- Story in pictures (home page) ---- */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.story-card { background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 30px rgba(46, 16, 101, 0.06); transition: transform .25s ease, box-shadow .25s ease; }
.story-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(46, 16, 101, 0.12); }
.story-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.story-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.story-card:hover .story-media img { transform: scale(1.04); }
.story-body { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px 26px; }
.story-step { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--violet-600); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.story-body h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.story-body p { margin: 0; font-size: 0.95rem; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---- Download band with photo ---- */
.cta-band--photo { background: linear-gradient(90deg, rgba(46, 16, 101, 0.96) 0%, rgba(91, 33, 182, 0.88) 45%, rgba(124, 58, 237, 0.25) 100%), url('../img/banner-back-on-road.webp') right center / cover no-repeat; min-height: 340px; }
@media (max-width: 760px) { .cta-band--photo { background: linear-gradient(180deg, rgba(46, 16, 101, 0.92) 0%, rgba(91, 33, 182, 0.88) 60%, rgba(124, 58, 237, 0.55) 100%), url('../img/banner-back-on-road.webp') 75% center / cover no-repeat; } }


/* ---- Full Job Flow with phone demo (For Mechanics page) ---- */
.jobflow { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.jobflow-steps .step { cursor: pointer; padding-bottom: 32px; border-radius: 18px; transition: opacity .25s ease; opacity: .55; }
.jobflow-steps .step:last-child { padding-bottom: 0; }
.jobflow-steps .step .step-num { background: var(--violet-100); color: var(--violet-700); box-shadow: none; transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease; }
.jobflow-steps .step:hover, .jobflow-steps .step:focus-visible { opacity: .85; outline: none; }
.jobflow-steps .step.is-active { opacity: 1; }
.jobflow-steps .step.is-active .step-num { background: var(--grad-violet); color: #fff; box-shadow: var(--shadow-violet); transform: scale(1.06); }
.jobflow-steps .step.is-active::before { background: linear-gradient(var(--violet-500), var(--border-strong)); }
.jobflow-demo { position: sticky; top: 100px; text-align: center; }
.phone-shell { position: relative; width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 358 / 764; border-radius: 46px; overflow: hidden; background: #0d0d12; box-shadow: 0 30px 60px rgba(46, 16, 101, 0.25), 0 0 0 1px rgba(46, 16, 101, 0.08); }
.phone-shell::before { content: ''; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 65%); }
.phone-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.jobflow-caption { margin: 18px 0 0; font-size: 0.85rem; color: var(--ink-500); }
.jobflow-extra { margin-top: 56px; }
@media (max-width: 900px) {
  .jobflow { grid-template-columns: 1fr; gap: 40px; }
  .jobflow-demo { position: static; order: -1; }
  .phone-shell { width: 240px; }
}
