:root {
  --rc-line: #e3e7ee;
  --rc-navy: #003399;
  --rc-red: #d6001c;
  --rc-slate: #5a6473;
}

/* SSK Reg Check ─ Vehicle Intelligence report */
.ssk-rc {
  --rc-red: #d6001c;
  --rc-navy: #0f172a;
  --rc-slate: #64748b;
  --rc-line: #f1f5f9;
  background: #fff;
  padding: 70px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--rc-navy);
}
.ssk-rc * { box-sizing: border-box; }
.ssk-rc__container { max-width: 1100px; margin: 0 auto; }

.ssk-rc__hero { text-align: center; margin-bottom: 36px; }
.ssk-rc__title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; letter-spacing: -2px; margin: 0; line-height: 1; }
.ssk-rc__red { color: var(--rc-red); }
.ssk-rc__subtitle { font-size: 12px; font-weight: 800; color: var(--rc-slate); letter-spacing: 2px; margin: 14px 0 0; }

.ssk-rc__search {
  display: flex; gap: 14px; padding: 14px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0,0,0,.05);
  max-width: 640px; margin: 0 auto;
}
.ssk-rc__plate {
  flex: 1.5; display: flex; background: #FFD300; border: 3px solid #000;
  border-radius: 10px; height: 60px; overflow: hidden;
}
.ssk-rc__plate-gb {
  background: #003399; color: #fff; width: 42px;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
}
.ssk-rc__plate input {
  flex: 1; border: none; background: transparent; outline: none;
  text-align: center; text-transform: uppercase;
  font-size: 28px; font-weight: 900; color: #000;
  font-family: inherit;
}
.ssk-rc__btn {
  flex: 1; background: var(--rc-navy); color: #fff;
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 800; font-family: inherit;
  transition: background .2s;
}
.ssk-rc__btn:hover { background: var(--rc-red); }
.ssk-rc__spinner {
  width: 20px; height: 20px; display: inline-block;
  border: 3px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: sskRcSpin .8s linear infinite;
}
@keyframes sskRcSpin { to { transform: rotate(360deg); } }

.ssk-rc__trust {
  display: flex; justify-content: center; gap: 28px; margin-top: 32px; opacity: .65;
  flex-wrap: wrap;
}
.ssk-rc__trust-item { font-size: 12px; font-weight: 700; }

/* Report card */
.ssk-rc__card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 24px;
  padding: 44px; margin-top: 50px;
  box-shadow: 0 28px 55px rgba(0,0,0,.05);
  animation: sskRcUp .5s ease;
}
@keyframes sskRcUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ssk-rc__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 2px solid var(--rc-line); padding-bottom: 24px; margin-bottom: 24px;
  gap: 16px;
}
.ssk-rc__head h2 { font-size: 32px; font-weight: 900; margin: 0; }
.ssk-rc__head .meta { font-weight: 700; color: var(--rc-slate); margin: 4px 0 0; font-size: 13px; }

.ssk-rc__badge { padding: 5px 12px; border-radius: 8px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.ssk-rc__pass { background: #dcfce7; color: #166534; }
.ssk-rc__fail { background: #fee2e2; color: #991b1b; }
.ssk-rc__warn { background: #fef3c7; color: #92400e; }

.ssk-rc__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin: 28px 0;
}
.ssk-rc__cell {
  background: #f8fafc; padding: 18px; border-radius: 14px; border: 1px solid var(--rc-line);
}
.ssk-rc__cell label {
  display: block; font-size: 10px; font-weight: 800; color: var(--rc-slate);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 5px;
}
.ssk-rc__cell span { font-size: 15px; font-weight: 700; }

.ssk-rc__history-title {
  font-size: 20px; font-weight: 900; margin: 32px 0 16px;
  border-left: 5px solid var(--rc-red); padding-left: 14px;
}
.ssk-rc__mot {
  border-bottom: 1px solid var(--rc-line); padding: 22px 0;
}
.ssk-rc__mot-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.ssk-rc__mot-date { font-size: 16px; font-weight: 700; }
.ssk-rc__mot-meta { font-size: 12px; font-weight: 700; color: var(--rc-slate); }
.ssk-rc__defect {
  font-size: 13px; padding: 11px 14px; margin-top: 10px;
  border-radius: 10px; background: #fffbeb; border-left: 4px solid #f59e0b;
}
.ssk-rc__defect--dangerous { background: #fef2f2; border-left-color: var(--rc-red); }

.ssk-rc__cta {
  margin-top: 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  padding: 36px; border-radius: 18px; border: 2px dashed #e2e8f0;
  text-align: center;
}
.ssk-rc__cta h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.ssk-rc__cta p { color: var(--rc-slate); font-weight: 600; margin: 0 0 20px; }
.ssk-rc__cta-btn {
  display: inline-block; background: var(--rc-red); color: #fff;
  text-decoration: none; padding: 13px 30px; border-radius: 10px; font-weight: 800;
  transition: background .25s, transform .25s;
}
.ssk-rc__cta-btn:hover { background: var(--rc-navy); transform: translateY(-2px); }

@media (max-width: 600px) {
  .ssk-rc__search { flex-direction: column; }
  .ssk-rc__card { padding: 26px; }
  .ssk-rc__head { flex-direction: column; align-items: flex-start; }
}

/* G1 — Responsive safety net (catch-all) */
@media (max-width: 540px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  .ssk-section-inner { padding-left: 16px !important; padding-right: 16px !important; }
}
img, video, iframe, table { max-width: 100%; height: auto; }
