/* ============================================================
   KCT + MK — B2B Aftermarket Site
   Dark industrial / motorcycle aesthetic
   ============================================================ */

:root {
  --bg: #0b0d10;
  --bg-elevated: #12161c;
  --bg-card: #171c24;
  --bg-card-hover: #1d2430;
  --border: #2a3340;
  --border-strong: #3a4656;
  --text: #e8ecf1;
  --text-muted: #9aa5b5;
  --text-dim: #6b7788;
  --accent-kct: #e8a317;
  --accent-kct-dim: #c47a0a;
  --accent-kct-bg: rgba(232, 163, 23, 0.12);
  --accent-mk: #3db8ff;
  --accent-mk-dim: #1a7acc;
  --accent-mk-bg: rgba(61, 184, 255, 0.12);
  --success: #3dd68c;
  --error: #ff6b6b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --header-h: 68px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-kct); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ffc84a; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-kct);
  outline-offset: 3px;
}
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-kct);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.brand-link img { height: 36px; width: auto; }
.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border-strong);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--bg-card);
}
.site-nav .nav-cta {
  background: var(--accent-kct);
  color: #111 !important;
  font-weight: 700;
  margin-left: 0.5rem;
}
.site-nav .nav-cta:hover {
  background: #ffb82e;
  color: #111 !important;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .site-nav .nav-cta { margin-left: 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-kct);
  color: #111;
}
.btn-primary:hover { background: #ffb82e; color: #111; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--accent-kct);
  color: var(--accent-kct);
  background: var(--accent-kct-bg);
}
.btn-mk {
  background: var(--accent-mk);
  color: #061018;
}
.btn-mk:hover { background: #6accff; color: #061018; }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232, 163, 23, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(61, 184, 255, 0.06), transparent);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  position: relative;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-kct);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-meta dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 600;
}
.hero-meta dd {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.hero-cards {
  display: grid;
  gap: 1rem;
}
.brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), background var(--transition);
}
.brand-card:hover { background: var(--bg-card-hover); }
.brand-card.kct { border-left: 3px solid var(--accent-kct); }
.brand-card.mk { border-left: 3px solid var(--accent-mk); }
.brand-card h3 {
  font-size: 1.15rem;
  margin: 0.5rem 0 0.35rem;
}
.brand-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.brand-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.tag-kct { background: var(--accent-kct-bg); color: var(--accent-kct); }
.tag-mk { background: var(--accent-mk-bg); color: var(--accent-mk); }

/* ---------- Sections ---------- */
.section {
  padding: 3.5rem 0;
}
.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
.section-header {
  margin-bottom: 2rem;
  max-width: 40rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.feature-card .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1408 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}
.cta-band p { color: var(--text-muted); max-width: 28rem; }

/* ---------- Products ---------- */
.product-section {
  margin-bottom: 3rem;
}
.product-section:last-child { margin-bottom: 0; }
.product-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.product-banner img.brand-logo { height: 40px; width: auto; }
.product-banner .info { flex: 1; min-width: 240px; }
.product-banner h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}
.product-banner p { color: var(--text-muted); }
.note-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-top: 0.75rem;
}
.note-pill.kct {
  background: var(--accent-kct-bg);
  color: var(--accent-kct);
  border: 1px solid rgba(232, 163, 23, 0.3);
}
.note-pill.mk {
  background: var(--accent-mk-bg);
  color: var(--accent-mk);
  border: 1px solid rgba(61, 184, 255, 0.3);
}

.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}
.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.product-card.kct-border:hover { border-color: rgba(232, 163, 23, 0.4); }
.product-card.mk-border:hover { border-color: rgba(61, 184, 255, 0.4); }

.product-visual {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #1a1f28, #0e1218);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.product-visual img { width: 56px; height: 56px; opacity: 0.85; }
.product-visual .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.product-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 1rem;
}
.product-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  align-items: center;
}
.catalog-actions .hint {
  font-size: 0.85rem;
  color: var(--text-dim);
  flex: 1;
  min-width: 200px;
}

/* ---------- Why us ---------- */
.timeline {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
}
.timeline-item {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.timeline-item .step {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-kct);
  margin-bottom: 0.5rem;
}
.timeline-item h3 { margin-bottom: 0.4rem; }
.timeline-item p { color: var(--text-muted); font-size: 0.92rem; }

.proof-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-mk);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}
.proof-box h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.proof-box p { color: var(--text-muted); }
.proof-box .channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.channel-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .check-list { grid-template-columns: repeat(2, 1fr); }
}
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}
.check-list strong { color: var(--text); display: block; margin-bottom: 0.15rem; }

/* ---------- Contact / Form ---------- */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr 1.3fr;
    align-items: start;
  }
}
.contact-info h2 { margin-bottom: 0.5rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.info-block {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-block h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}
.info-block p, .info-block a {
  color: var(--text);
  font-size: 0.95rem;
}
.info-block a:hover { color: var(--accent-kct); }

.rfq-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.rfq-form h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}
.rfq-form > .form-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.field label .req { color: var(--accent-kct); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--border-strong); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-kct);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-kct-bg);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%239aa5b5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}
.field .error-msg {
  display: none;
  font-size: 0.8rem;
  color: var(--error);
  margin-top: 0.3rem;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error);
}
.field.has-error .error-msg { display: block; }

.interest-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.interest-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  transition: border-color var(--transition), background var(--transition);
}
.interest-group input { width: auto; accent-color: var(--accent-kct); }
.interest-group label:has(input:checked) {
  border-color: var(--accent-kct);
  background: var(--accent-kct-bg);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
}
.form-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.form-success.is-visible { display: block; }
.rfq-form.is-submitted .form-fields { display: none; }
.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(61, 214, 140, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--success);
}
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); margin-bottom: 1.25rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(232, 163, 23, 0.06), transparent);
}
.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 2.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 22rem;
}
.footer-brand .logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand .logos img { height: 28px; }
.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.footer-col ul { display: grid; gap: 0.4rem; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--accent-kct); }
.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.text-kct { color: var(--accent-kct); }
.text-mk { color: var(--accent-mk); }

/* ---------- Fitment search ---------- */
.fitment-filters {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
}
@media (min-width: 720px) {
  .fitment-filters {
    grid-template-columns: 2fr 1.2fr 0.9fr 1fr auto;
    align-items: end;
  }
}
.fitment-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}
.fitment-field input,
.fitment-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}
.fitment-field input:focus,
.fitment-field select:focus {
  outline: 2px solid rgba(232, 163, 23, 0.45);
  border-color: var(--accent-kct);
}
.fitment-field-action .btn {
  width: 100%;
}
.fitment-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.fitment-results {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 900px) {
  .fitment-results {
    grid-template-columns: 1fr 1fr;
  }
}
.fitment-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.fitment-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.fitment-model {
  font-weight: 500;
  color: var(--text-muted);
}
.fitment-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.fitment-material {
  font-size: 0.75rem;
  color: var(--text-dim);
}
.fitment-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.85rem;
  margin: 0;
}
.fitment-dl dt {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.fitment-dl dd {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: var(--text);
  word-break: break-word;
}
.fitment-dl code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--accent-kct);
}
.fitment-teeth {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tooth-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 163, 23, 0.35);
  background: rgba(232, 163, 23, 0.08);
  color: var(--accent-kct);
  font-size: 0.78rem;
  font-weight: 600;
}
.tooth-pill.muted {
  border-color: var(--border);
  background: transparent;
  color: var(--text-dim);
  font-weight: 500;
}
.fitment-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.fitment-empty h2 {
  margin-bottom: 0.5rem;
}
.fitment-empty p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.fitment-rfq-banner {
  margin-top: 2rem;
  padding: 1.35rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 163, 23, 0.3);
  background:
    linear-gradient(135deg, rgba(232, 163, 23, 0.08), transparent 55%),
    var(--bg-elevated);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.fitment-rfq-banner h2 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.fitment-rfq-banner p {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0;
  font-size: 0.95rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fitment-note {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.85rem;
  color: #9ec5ff;
}

.fitment-field-actions {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}
.fitment-field-actions .btn {
  white-space: nowrap;
}

/* Product photo strip */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.photo-card {
  margin: 0;
  background: #12161e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.photo-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.photo-card figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: #a8b3c7;
}
.product-visual-photo {
  position: relative;
  min-height: 160px;
  padding: 0 !important;
  overflow: hidden;
  background: #0d1118;
}
.product-visual-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.product-visual-photo .badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
}
.mk-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.mk-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #12161e;
}
.mk-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.mk-gallery figcaption {
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  color: #a8b3c7;
}

/* ============================================================
   Home hero (photo backdrop) + product-line cards
   ============================================================ */

.hero.hero-photo {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.22;
  filter: saturate(0.7) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,0.97) 0%, rgba(11,13,16,0.88) 42%, rgba(11,13,16,0.55) 100%),
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(232,163,23,0.12), transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}
.hero.hero-photo h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}
.hero.hero-photo .hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero.hero-photo .hero-meta {
  margin-top: 2rem;
}

.line-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .line-grid { grid-template-columns: 1fr 1fr; }
}
.line-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 100%;
}
.line-card .line-visual {
  aspect-ratio: 16 / 10;
  background: #0a0c10;
  overflow: hidden;
}
.line-card .line-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.line-card .line-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.line-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.line-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  flex: 1;
}
.line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.line-kct { border-color: rgba(232,163,23,0.28); }
.line-mk { border-color: rgba(61,184,255,0.28); }

.line-feature-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .line-feature-grid {
    grid-template-columns: 1.05fr 1fr;
  }
  .line-feature-flip .line-feature-visual { order: 2; }
}
.line-feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c10;
  aspect-ratio: 4 / 3;
}
.line-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.line-feature-copy .brand-logo {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}
.line-feature-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.line-feature-copy > p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Catalogue bike cards */
.catalogue-results {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 900px) {
  .catalogue-results {
    grid-template-columns: 1fr;
  }
}
.cat-bike-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.cat-bike-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.cat-bike-head h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}
.cat-bike-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.cat-coverage {
  color: var(--accent-kct);
  font-weight: 600;
}
.cat-chain {
  margin: 0 0 1rem;
  padding: 0.55rem 0.75rem;
  background: rgba(61,184,255,0.08);
  border: 1px solid rgba(61,184,255,0.22);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text);
}
.cat-chain-label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-mk);
  font-weight: 700;
  margin-right: 0.4rem;
}
.cat-parts {
  display: grid;
  gap: 1rem;
}
@media (min-width: 780px) {
  .cat-parts { grid-template-columns: 1fr 1fr; }
}
.cat-section h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0 0 0.65rem;
}
.cat-section.cat-missing {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.cat-section.cat-missing p { margin: 0; }

.cat-part-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.55rem;
}
.cat-part-row:last-child { margin-bottom: 0; }
.part-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0c10;
  border: 1px solid var(--border);
}
.part-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.part-thumb.is-matched {
  border-color: rgba(232,163,23,0.45);
  box-shadow: 0 0 0 1px rgba(232,163,23,0.15);
}
.part-thumb.is-fallback {
  opacity: 0.92;
}
.cat-part-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.cat-part-pn {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cat-part-pn code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent-kct);
  font-size: 0.92rem;
  font-weight: 600;
}
.cat-part-oem {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .catalogue-filters {
    grid-template-columns: 1.6fr 1.4fr 0.85fr 1fr auto;
  }
}

.text-muted { color: var(--text-dim); }

.part-thumb.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
  color: #9aa3b5;
  text-align: center;
  flex-shrink: 0;
}
.no-image-label {
  font-size: 0.65rem;
  line-height: 1.25;
  padding: 0.25rem;
}
.part-thumb.is-fallback { display: none; }

/* JT-style catalogue lightbox */
.part-thumb.is-matched {
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: transparent;
  display: block;
}
.part-thumb.is-matched:focus-visible {
  outline: 2px solid #c0a062;
  outline-offset: 2px;
}
body.lightbox-open { overflow: hidden; }
.kct-lightbox[hidden] { display: none !important; }
.kct-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.kct-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,0.82);
  cursor: zoom-out;
}
.kct-lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(920px, 96vw);
  max-height: 92vh;
  background: #111;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1rem 1rem 0.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.kct-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain;
}
.kct-lightbox-caption {
  margin: 0.6rem 0 0;
  text-align: center;
  color: #c8c8c8;
  font-size: 0.9rem;
  font-family: ui-monospace, monospace;
}
.kct-lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: 0;
  background: transparent;
  color: #eee;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.45rem;
}
.kct-lightbox-close:hover { color: #fff; }

/* Header + footer social / company */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.75rem;
}
.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e8e8e8;
  text-decoration: none;
  background: rgba(255,255,255,0.04);
}
.header-social a:hover {
  border-color: var(--accent-kct, #c0a062);
  color: #fff;
  background: rgba(192,160,98,0.15);
}
.site-header .header-inner,
.site-header .container {
  /* keep social visible next to nav */
}
@media (max-width: 720px) {
  .header-social { margin-left: 0.25rem; gap: 0.3rem; }
  .header-social a { min-width: 1.75rem; height: 1.75rem; font-size: 0.65rem; }
}
.social-links, .social-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.social-link, .social-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: #eee;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
}
.social-link:hover, .social-chip:hover {
  border-color: var(--accent-kct, #c0a062);
  color: #fff;
}
.footer-company .company-name {
  margin: 0 0 0.15rem;
  font-weight: 700;
  color: #f0f0f0;
}
.footer-company .company-name-en {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted, #9aa3b5);
}
.company-details {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #c8c8c8;
  list-style: none;
  padding: 0;
  margin: 0;
}
.company-details span {
  display: inline-block;
  min-width: 3.6rem;
  color: var(--text-muted, #9aa3b5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.35rem;
}
.company-details a { color: var(--accent-kct, #c0a062); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 0.9fr 1.4fr; }
}

.map-hint { font-size: 0.8em; color: var(--text-muted, #9aa3b5); margin-left: 0.25rem; }
.company-details a[href*="maps"],
.contact-info a[href*="maps"] { text-decoration: underline; text-underline-offset: 2px; }

/* Icon social buttons — recognizable marks, not text */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #f2f2f2;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.social-icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.social-icon-btn .social-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
.header-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.75rem;
}
.header-social .social-icon-btn {
  width: 2.1rem;
  height: 2.1rem;
}
.social-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}
.social-bar .social-icon-btn {
  width: 2.6rem;
  height: 2.6rem;
}
.social-bar .social-icon-btn .social-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.social-fb:hover { background: #1877f2; border-color: #1877f2; }
.social-ig:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  border-color: transparent;
}
.social-tt:hover { background: #010101; border-color: #25f4ee; }
@media (max-width: 720px) {
  .header-social { margin-left: 0.25rem; gap: 0.3rem; }
  .header-social .social-icon-btn { width: 1.9rem; height: 1.9rem; }
}
