/* ============================================================
   SHARIFF AUTO CONSULTANTS
   Clean RTO service-portal UI (motolic-inspired structure)
   carrying Shariff's own brand: MINI racing-stripe orange,
   charcoal ink, generous white space.
   ============================================================ */

:root {
  /* ---- color ---- */
  --bg: #ffffff;
  --bg-soft: #f6f7f4;
  --bg-soft-2: #eef0ea;
  --ink: #14161a;
  --ink-2: #20242b;
  --muted: #5b626c;
  --muted-2: #899099;
  --line: #e6e8e3;
  --line-2: #d6d9d2;

  --brand: #e1582a;          /* MINI racing-stripe orange */
  --brand-dark: #c2431b;
  --brand-soft: #fdf0ea;
  --brand-tint: #fbe5db;

  --ok: #2f9e63;
  --ok-soft: #e7f4ec;
  --info: #2563a8;

  /* dark surfaces (footer / hero accents) */
  --dark: #14161a;
  --dark-2: #1d2127;
  --on-dark: #edeeea;
  --on-dark-mut: rgba(237, 238, 234, .60);
  --on-dark-faint: rgba(237, 238, 234, .32);
  --line-dark: rgba(237, 238, 234, .12);

  /* ---- type ---- */
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;

  /* ---- metrics ---- */
  --shell: 1200px;
  --gutter: clamp(18px, 4.5vw, 56px);
  --r: 8px;
  --r-lg: 16px;
  --r-pill: 100px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-sm: 0 2px 8px -3px rgba(20, 22, 26, .12);
  --shadow: 0 18px 40px -26px rgba(20, 22, 26, .30);
  --shadow-lg: 0 30px 70px -40px rgba(20, 22, 26, .45);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4, h5 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }

/* ---------- primitives ---------- */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(54px, 7vw, 96px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.eyebrow {
  font-family: var(--body);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); display: inline-flex; align-items: center; gap: .55em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }
.section--dark .section-head p { color: var(--on-dark-mut); }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.topbar { background: var(--dark); color: var(--on-dark); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark-mut); transition: color .2s var(--ease); white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar .track { color: #fff; font-weight: 600; }
.topbar .track svg { color: var(--brand); }
.topbar svg { width: 14px; height: 14px; flex: none; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header { position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--dark); display: grid; place-items: center; position: relative; overflow: hidden; }
.brand__mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, transparent 42%, var(--brand) 42% 58%, transparent 58%); }
.brand__mark b { font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.15rem; z-index: 1; }
.brand__txt b { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: .01em; display: block; line-height: 1; }
.brand__txt small { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }

.mainnav { display: flex; align-items: center; gap: 4px; }
.mainnav > a, .navitem > button {
  font-family: var(--body); font-size: .94rem; font-weight: 600; color: var(--ink-2);
  padding: 10px 14px; border-radius: var(--r); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s var(--ease), background .2s var(--ease);
}
.mainnav > a:hover, .navitem > button:hover, .navitem.open > button { color: var(--brand); background: var(--brand-soft); }
.mainnav > a[aria-current="page"] { color: var(--brand); }
.navitem > button .chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.navitem.open > button .chev { transform: rotate(180deg); }

.navitem { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease); z-index: 80;
}
.navitem.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r); transition: background .18s var(--ease); }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown a .di { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.dropdown a b { font-size: .92rem; font-weight: 600; display: block; line-height: 1.2; }
.dropdown a small { font-size: .76rem; color: var(--muted); }

.header__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--r); width: 46px; height: 42px; cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); margin-inline: auto; border-radius: 2px; transition: .25s var(--ease); position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; } .nav__toggle span::after { position: absolute; top: 6px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { --bg: var(--brand); --fg: #fff; display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--body); font-size: .95rem; font-weight: 600; line-height: 1;
  background: var(--bg); color: var(--fg); padding: 14px 24px; border: 1px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease); }
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(225,88,42,.6); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--ink); box-shadow: none; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-soft); box-shadow: none; }
.btn--wa { background: #25D366; color: #0a3d1f; }
.btn--wa:hover { background: #1fb858; box-shadow: 0 12px 24px -12px rgba(37,211,102,.6); }
.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ============================================================
   HERO (service picker)
   ============================================================ */
.hero { position: relative; background: var(--bg-soft); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 380px at 88% -8%, var(--brand-tint), transparent 60%),
  radial-gradient(700px 320px at 6% 110%, #e8eef2, transparent 55%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; padding-block: clamp(48px, 6vw, 92px); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); letter-spacing: -.03em; }
.hero h1 .hl { color: var(--brand); }
.hero__sub { margin-top: 20px; font-size: 1.14rem; color: var(--muted); max-width: 44ch; }
.hero__trust { margin-top: 26px; display: flex; gap: 26px; flex-wrap: wrap; }
.hero__trust .t strong { font-family: var(--display); font-size: 1.5rem; font-weight: 800; display: block; }
.hero__trust .t span { font-size: .8rem; color: var(--muted); }

/* picker card */
.picker { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); position: relative; }
.picker__tag { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill); }
.picker h3 { font-size: 1.3rem; margin-bottom: 6px; }
.picker p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.picker label { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.picker select, .picker input { width: 100%; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 14px; font-size: .98rem; margin-bottom: 16px; transition: border-color .2s var(--ease); }
.picker select:focus, .picker input:focus { outline: none; border-color: var(--brand); background: #fff; }
.picker .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ============================================================
   POPULAR SERVICES GRID
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.svc-card { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); position: relative; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card__ic { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.svc-card h3 { font-size: 1.18rem; }
.svc-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.svc-card .more { font-size: .86rem; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.svc-card .more .arr { transition: transform .2s var(--ease); }
.svc-card:hover .more .arr { transform: translateX(4px); }
.svc-card .price { position: absolute; top: 22px; right: 22px; font-family: var(--display); font-size: .82rem; font-weight: 700; color: var(--muted); }

/* ============================================================
   PROCESS (road)
   ============================================================ */
.road-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.road-steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background-image: linear-gradient(90deg, var(--line-2) 0 14px, transparent 14px 28px); background-size: 28px 2px; }
.rstep { text-align: center; position: relative; }
.rstep__n { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); color: var(--brand); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.25rem; position: relative; z-index: 2; }
.section--soft .rstep__n { box-shadow: 0 0 0 6px var(--bg-soft); }
.rstep h4 { font-size: 1.05rem; margin-bottom: 6px; }
.rstep p { font-size: .9rem; color: var(--muted); }

/* ============================================================
   DRIVING LESSONS BLOCK
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.feature-list h4 { font-size: 1.04rem; }
.feature-list p { color: var(--muted); font-size: .92rem; margin-top: 3px; }
.section--dark .feature-list p { color: var(--on-dark-mut); }
.section--dark .feature-list .ic { background: rgba(225,88,42,.16); }

.media-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--dark); aspect-ratio: 4/3; position: relative; display: grid; place-items: center; }
.media-card .badge { position: absolute; bottom: 20px; left: 20px; background: #fff; border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-sm); display: flex; gap: 12px; align-items: center; }
.media-card .badge .n { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--brand); }
.media-card .badge span { font-size: .82rem; color: var(--muted); line-height: 1.25; }

/* ============================================================
   STAT BAND
   ============================================================ */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-dark); }
.statband .cell { background: var(--dark); padding: 30px 24px; text-align: center; }
.statband strong { font-family: var(--display); font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; display: block; color: #fff; }
.statband span { font-size: .82rem; color: var(--on-dark-mut); margin-top: 8px; display: block; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.quote .stars { color: var(--brand); letter-spacing: 2px; font-size: .9rem; }
.quote p { margin: 14px 0 20px; font-size: .98rem; color: var(--ink-2); }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.quote .who b { font-size: .92rem; display: block; }
.quote .who span { font-size: .8rem; color: var(--muted); }

/* ============================================================
   LOCATION / MAP / CONTACT ROWS
   ============================================================ */
.map-block { display: grid; grid-template-columns: .92fr 1.08fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-block__info { background: var(--dark); color: var(--on-dark); padding: clamp(28px, 4vw, 48px); }
.map-block__info h3 { font-size: 1.7rem; margin-bottom: 22px; color: #fff; }
.contact-rows { display: flex; flex-direction: column; gap: 18px; }
.contact-rows .row { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.contact-rows .row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-rows .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(225,88,42,.16); color: var(--brand); display: grid; place-items: center; }
.contact-rows label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); display: block; margin-bottom: 3px; font-weight: 600; }
.contact-rows a, .contact-rows span { color: #fff; word-break: break-word; font-size: .98rem; }
.map-block__map { min-height: 380px; background: var(--bg-soft-2); }
.map-block__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.pagehead { background: var(--dark); color: var(--on-dark); padding-block: clamp(40px, 5vw, 68px); position: relative; overflow: hidden; }
.pagehead::after { content: ""; position: absolute; right: -50px; top: 50%; transform: translateY(-50%) rotate(-8deg); width: 280px; height: 80px; background: var(--brand); opacity: .16; border-radius: 8px; }
.pagehead h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 14px; color: #fff; position: relative; }
.pagehead p { color: var(--on-dark-mut); margin-top: 14px; max-width: 60ch; position: relative; }
.crumbs { font-size: .8rem; color: var(--on-dark-faint); position: relative; }
.crumbs a { color: var(--on-dark-mut); } .crumbs a:hover { color: var(--brand); }

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.svc-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
.svc-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 36px 0 14px; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body p { color: var(--muted); margin-bottom: 14px; }
.svc-body .step-list { counter-reset: step; display: flex; flex-direction: column; gap: 14px; margin: 8px 0 8px; }
.svc-body .step-list li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.svc-body .step-list li::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-family: var(--display); font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.svc-body .step-list li b { display: block; }
.svc-body .step-list li span { color: var(--muted); font-size: .94rem; }
.svc-body .benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.svc-body .benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.svc-body .benefits li svg { color: var(--ok); flex: none; margin-top: 3px; }

/* sidebar */
.svc-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.aside-box__head { background: var(--dark); color: #fff; padding: 16px 20px; font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.aside-box__body { padding: 20px; background: #fff; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.kv:last-child { border-bottom: 0; padding-bottom: 0; }
.kv span { color: var(--muted); } .kv b { text-align: right; }
.kv b.hot { color: var(--brand); }
.doclist { display: flex; flex-direction: column; gap: 11px; }
.doclist li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.doclist li svg { color: var(--ok); flex: none; margin-top: 3px; }
.aside-cta { background: var(--brand-soft); border: 1px solid var(--brand-tint); border-radius: var(--r-lg); padding: 22px; text-align: center; }
.aside-cta h4 { font-size: 1.1rem; margin-bottom: 6px; }
.aside-cta p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }

/* FAQ */
.faq { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.faq summary { padding: 16px 18px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; transition: transform .25s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; }
.faq summary .pm::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.faq summary .pm::after { left: 10px; top: 3px; bottom: 3px; width: 2px; transition: opacity .2s var(--ease); }
.faq details[open] summary .pm::after { opacity: 0; }
.faq details[open] summary { color: var(--brand); }
.faq .ans { padding: 0 18px 16px; color: var(--muted); font-size: .94rem; }

/* ============================================================
   REQUIRED DOCUMENTS (tabbed)
   ============================================================ */
.doctabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.doctabs button { font-family: var(--body); font-weight: 600; font-size: .94rem; color: var(--muted); background: none; border: 0; padding: 14px 18px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: .2s var(--ease); }
.doctabs button:hover { color: var(--ink); }
.doctabs button.active { color: var(--brand); border-bottom-color: var(--brand); }
.docpanel { display: none; }
.docpanel.active { display: block; }
.doc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
.doc-subnav { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; }
.doc-subnav button { text-align: left; font-family: var(--body); font-weight: 600; font-size: .92rem; color: var(--ink-2); background: none; border: 0; padding: 13px 14px; border-radius: var(--r); cursor: pointer; transition: .18s var(--ease); }
.doc-subnav button:hover { background: var(--bg-soft); }
.doc-subnav button.active { background: var(--brand); color: #fff; }
.doc-content { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); min-height: 320px; }
.doc-content h3 { font-size: 1.5rem; margin-bottom: 18px; }
.doc-content .grp-title { color: var(--brand); font-weight: 700; margin: 22px 0 10px; font-size: .95rem; }
.doc-content .checks { display: flex; flex-direction: column; gap: 10px; }
.doc-content .checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.doc-content .checks li svg { color: var(--ok); flex: none; margin-top: 3px; }
.doc-note { margin-top: 22px; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--r); border-left: 3px solid var(--brand); font-size: .9rem; color: var(--muted); }

/* ============================================================
   APPLY WIZARD
   ============================================================ */
.apply-shell { background: var(--bg-soft); }
.wiz-progress { display: flex; align-items: center; margin-top: 28px; }
.wiz-progress .seg { flex: 1; display: flex; align-items: center; }
.wiz-progress .seg:last-child { flex: none; }
.wiz-progress .node { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: transparent; color: var(--on-dark-mut); border: 1px solid var(--line-dark); cursor: pointer; transition: .25s var(--ease); }
.wiz-progress .bar { flex: 1; height: 2px; margin-inline: 8px; background: var(--line-dark); }
.wiz-progress .seg[data-state="done"] .node { background: var(--brand); color: #fff; border-color: var(--brand); }
.wiz-progress .seg[data-state="active"] .node { background: #fff; color: var(--dark); border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.14); }
.wiz-progress .seg[data-state="done"] .bar { background: var(--brand); }
.wiz-labels { display: flex; margin-top: 12px; }
.wiz-labels span { flex: 1; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-mut); font-weight: 600; }
.wiz-labels span:last-child { flex: none; }

.wiz-layout { display: grid; grid-template-columns: 1.45fr .9fr; gap: clamp(26px, 4vw, 52px); align-items: start; padding-block: clamp(36px, 5vw, 60px); }
.wiz-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.wiz-step { display: none; }
.wiz-step.is-active { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wiz-step__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.wiz-step h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 6px; }
.wiz-step > p { color: var(--muted); margin-bottom: 24px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field.col-2 { grid-column: span 2; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 13px; font-size: .96rem; transition: .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; min-height: 88px; }
.field .hint { font-size: .76rem; color: var(--muted-2); }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label { display: block; cursor: pointer; border: 1px solid var(--line-2); border-radius: var(--r); padding: 15px; transition: .2s var(--ease); height: 100%; }
.choice b { display: block; font-size: .98rem; }
.choice small { display: block; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.choice input:checked + label { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }

.uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.uploads.full { grid-template-columns: 1fr; }
.drop { border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 22px; text-align: center; cursor: pointer; background: var(--bg-soft); transition: .22s var(--ease); position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; min-height: 162px; justify-content: center; }
.drop:hover, .drop.dragover { border-color: var(--brand); background: var(--brand-soft); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .ic { color: var(--brand); }
.drop b { font-size: .94rem; }
.drop small { font-size: .76rem; color: var(--muted-2); }
.drop .req-tag { position: absolute; top: 10px; right: 12px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.drop__preview { display: none; width: 100%; }
.drop.has-file { border-style: solid; border-color: var(--ok); background: var(--ok-soft); }
.drop.has-file .drop__prompt { display: none; }
.drop.has-file .drop__preview { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; }
.drop__preview img { width: 50px; height: 50px; object-fit: cover; border-radius: 7px; flex: none; border: 1px solid var(--line); }
.drop__preview .doc-ic { width: 50px; height: 50px; border-radius: 7px; background: #fff; color: var(--brand); display: grid; place-items: center; flex: none; border: 1px solid var(--line); }
.drop__preview .fname { font-size: .85rem; font-weight: 600; word-break: break-all; line-height: 1.2; }
.drop__preview .fsize { font-size: .74rem; color: var(--muted); }
.drop__preview .remove { margin-left: auto; background: none; border: 0; color: var(--brand-dark); cursor: pointer; font-size: .76rem; font-weight: 600; flex: none; }
.drop__preview .remove:hover { text-decoration: underline; }

.wiz-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.wiz-error { color: var(--brand-dark); font-size: .86rem; font-weight: 500; margin-top: 14px; display: none; }
.wiz-error.show { display: block; }
.wiz-busy { display: none; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin-top: 14px; }
.wiz-busy.show { display: flex; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.wiz-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: 24px; }
.aside-card h3 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 18px; font-weight: 700; }
.aside-note { font-size: .74rem; color: var(--on-dark-faint); text-align: center; margin-top: 14px; line-height: 1.5; }
.checklist { display: flex; flex-direction: column; gap: 11px; }
.checklist li { display: flex; align-items: center; gap: 11px; font-size: .9rem; color: var(--muted); }
.checklist .tick { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; display: grid; place-items: center; color: transparent; transition: .22s var(--ease); }
.checklist li.done { color: var(--ink); } .checklist li.done .tick { background: var(--ok); border-color: var(--ok); color: #fff; }

.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.review-grid .item { padding: 11px 0; border-bottom: 1px solid var(--line); }
.review-grid .item.col-2 { grid-column: span 2; }
.review-grid label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); display: block; font-weight: 600; }
.review-grid b { font-size: .96rem; display: block; margin-top: 3px; }
.review-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.review-files .chip { display: inline-flex; align-items: center; gap: 7px; background: var(--ok-soft); color: var(--ok); font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: var(--r-pill); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px; background: var(--bg-soft); border-radius: var(--r); border: 1px solid var(--line); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.consent label { font-size: .88rem; color: var(--muted); }

.wiz-success { display: none; text-align: center; padding: clamp(36px, 6vw, 72px) 20px; }
.wiz-success.show { display: block; animation: fade .5s var(--ease); }
.wiz-success .seal { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 8px var(--ok-soft); }
.wiz-success h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.wiz-success p { color: var(--muted); max-width: 48ch; margin: 14px auto 0; }
.wiz-success .ref { font-family: var(--display); margin-top: 22px; display: inline-block; background: var(--dark); color: #fff; padding: 12px 22px; border-radius: var(--r); letter-spacing: .06em; font-weight: 700; }
.wiz-success .ref b { color: var(--brand); }
.wiz-success .acts { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   STATUS TRACKER
   ============================================================ */
.track-card { max-width: 560px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow); }
.track-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.track-card p { color: var(--muted); margin-bottom: 22px; }
.track-result { max-width: 620px; margin: 32px auto 0; display: none; }
.track-result.show { display: block; }
.track-head { background: var(--dark); color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.track-head .ref { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.track-head .pill { background: rgba(225,88,42,.18); color: var(--brand); font-size: .8rem; font-weight: 700; padding: 6px 14px; border-radius: var(--r-pill); }
.track-body { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 28px; }
.pipeline { display: flex; flex-direction: column; gap: 0; }
.pipe { display: grid; grid-template-columns: 40px 1fr; gap: 16px; position: relative; padding-bottom: 26px; }
.pipe:last-child { padding-bottom: 0; }
.pipe::before { content: ""; position: absolute; left: 19px; top: 30px; bottom: -4px; width: 2px; background: var(--line-2); }
.pipe:last-child::before { display: none; }
.pipe .dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; display: grid; place-items: center; color: var(--muted-2); z-index: 1; }
.pipe.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.pipe.done::before { background: var(--ok); }
.pipe.current .dot { background: var(--brand); border-color: var(--brand); color: #fff; animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(225,88,42,.4); } 50% { box-shadow: 0 0 0 7px rgba(225,88,42,0); } }
.pipe h4 { font-size: 1.02rem; } .pipe.pending h4 { color: var(--muted-2); }
.pipe p { font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--on-dark); padding-block: clamp(48px, 6vw, 76px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h5 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-mut); margin-bottom: 18px; font-weight: 700; }
.footer__col a { display: block; color: var(--on-dark-mut); font-size: .92rem; padding-block: 6px; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--brand); }
.footer__logo { display: inline-block; }
.footer__logo img { width: 230px; max-width: 78%; height: auto; border-radius: 10px; }
.footer__about p { color: var(--on-dark-mut); font-size: .92rem; max-width: 36ch; margin-top: 16px; }
.footer__rating { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; }
.footer__rating .stars { color: var(--brand); }
.footer__svc { border-top: 1px solid var(--line-dark); margin-top: 44px; padding-top: 32px; }
.footer__svc .row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding-block: 10px; font-size: .84rem; }
.footer__svc .row b { color: #fff; font-weight: 600; }
.footer__svc .row span { color: var(--on-dark-faint); line-height: 1.9; }
.footer__svc .row a { color: var(--on-dark-mut); } .footer__svc .row a:hover { color: var(--brand); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: var(--on-dark-faint); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(237,238,234,.08); display: grid; place-items: center; color: var(--on-dark-mut); transition: .2s var(--ease); }
.footer__social a:hover { background: var(--brand); color: #fff; }

/* ============================================================
   LIVE DL CARD (signature element in the apply wizard)
   ============================================================ */
.dlcard { width: 100%; aspect-ratio: 1.585 / 1; border-radius: 12px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #fbfbf8, #e9eae4 55%, #dadbd4); color: var(--ink);
  box-shadow: 0 18px 36px -22px rgba(0,0,0,.6); border: 1px solid rgba(0,0,0,.08); }
.dlcard::before { content: ""; position: absolute; top: -40%; right: -10%; width: 60%; height: 180%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.65), transparent); transform: rotate(8deg); pointer-events: none; }
.dlcard__top { background: linear-gradient(90deg, var(--dark), var(--dark-2)); color: #fff; padding: 8px 13px; display: flex; justify-content: space-between; align-items: center; }
.dlcard__top b { font-family: var(--display); font-size: .78rem; letter-spacing: .04em; }
.dlcard__top span { font-size: .52rem; letter-spacing: .16em; color: var(--brand); font-weight: 700; }
.dlcard__body { display: grid; grid-template-columns: 74px 1fr; gap: 11px; padding: 13px; }
.dlcard__photo { width: 74px; height: 92px; border-radius: 4px; overflow: hidden; border: 1px solid rgba(0,0,0,.12);
  background: repeating-linear-gradient(45deg, #cfd0c9, #cfd0c9 6px, #c6c7c0 6px, #c6c7c0 12px); display: grid; place-items: center; }
.dlcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.dlcard__photo span { font-size: .48rem; letter-spacing: .1em; color: rgba(0,0,0,.4); font-weight: 700; }
.dlcard__fields { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dlcard__field label { font-size: .44rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(0,0,0,.45); display: block; font-weight: 700; }
.dlcard__field b { font-size: .8rem; font-weight: 700; line-height: 1.1; display: block; min-height: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--body); }
.dlcard__field--row { display: flex; gap: 14px; }
.dlcard__cov { position: absolute; bottom: 11px; left: 13px; font-size: .54rem; font-weight: 600; }
.dlcard__cov b { background: var(--dark); color: #fff; padding: 2px 6px; border-radius: 3px; }
.dlcard__sign { position: absolute; bottom: 11px; right: 13px; width: 86px; text-align: center; }
.dlcard__sign img { height: 24px; margin-inline: auto; object-fit: contain; }
.dlcard__sign .line { border-top: 1px solid rgba(0,0,0,.4); margin-top: 2px; }
.dlcard__sign small { font-size: .42rem; letter-spacing: .08em; color: rgba(0,0,0,.5); font-weight: 600; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .wiz-step.is-active, .wiz-success.show { animation: none; }
  .pipe.current .dot { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero__grid, .split, .map-block, .svc-layout, .wiz-layout, .doc-layout { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .road-steps { grid-template-columns: 1fr 1fr; gap: 32px 22px; } .road-steps::before { display: none; }
  .quotes, .grid--3 { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr 1fr; }
  .svc-aside, .wiz-aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mainnav, .topbar { display: none; }
  .nav__toggle { display: block; }
  .header__cta .btn:not(.nav__toggle) { display: none; }
}
@media (max-width: 1000px) {
  .mobnav { position: fixed; inset: 76px 0 0 0; background: #fff; z-index: 60; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; padding: 20px var(--gutter); display: flex; flex-direction: column; gap: 4px; }
  .mobnav.open { transform: translateX(0); }
  .mobnav a, .mobnav > div > b { display: block; padding: 13px 0; font-size: 1.02rem; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobnav .grp b { color: var(--muted-2); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; border: 0; padding-bottom: 4px; }
  .mobnav .grp a { padding-left: 14px; font-weight: 500; font-size: .96rem; }
}
@media (min-width: 1001px) { .mobnav { display: none; } }
@media (max-width: 620px) {
  .grid--4, .field-grid, .uploads, .choices, .review-grid, .picker .row2 { grid-template-columns: 1fr; }
  .field.col-2, .review-grid .item.col-2 { grid-column: auto; }
  .road-steps, .statband { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__svc .row { grid-template-columns: 1fr; gap: 2px; }
  .hero__trust { gap: 18px; }
}
