/*
Theme Name: MJ Tinting – Style C Premium
Theme URI: https://mjtinting.com/
Author: MJ Tinting
Description: Bold automotive, light premium theme with multi-step quote form using NHTSA vehicle API filtered to 70 makers.
Version: 3.8
Text Domain: mj-tinting
*/

/* RESET */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: #f5f7fb;
  color: #0f172a;
}

/* LAYOUT */

.mj-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* BUTTONS */

.mj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.mj-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.5);
}

.mj-btn-outline {
  background: transparent;
  color: #111827;
  border: 1px solid #cbd5f5;
  box-shadow: none;
}

.mj-btn-outline:hover {
  background: rgba(37, 99, 235, 0.04);
}

/* HEADER */

.mj-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.mj-header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mj-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
}

.mj-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: conic-gradient(from 220deg, #0f172a, #2563eb, #38bdf8, #facc15, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mj-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mj-logo-text {
  display: flex;
  flex-direction: column;
}

.mj-logo-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.mj-logo-sub {
  font-size: 11px;
  color: #64748b;
}

.mj-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.mj-nav a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
}

.mj-nav a:hover {
  color: #0f172a;
}

.mj-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

/* HERO (STYLE C – LIGHT PREMIUM) */

.mj-hero {
  background: radial-gradient(circle at top left, #dbeafe 0, #eff6ff 40%, #f8fafc 100%);
  padding: 64px 0 78px;
}

.mj-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.mj-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-size: 11px;
  color: #1d4ed8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.mj-hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.mj-hero-title {
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #020617;
}

.mj-hero-highlight {
  color: #2563eb;
}

.mj-hero-subtitle {
  font-size: 15px;
  color: #475569;
  max-width: 480px;
  margin-bottom: 22px;
}

.mj-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mj-hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mj-hero-note-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #0f172a;
  color: #e5e7eb;
}

/* HERO MEDIA */

.mj-hero-media {
  border-radius: 26px;
  background: #020617;
  overflow: hidden;
  position: relative;
  min-height: 230px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
}

.mj-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.5), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(250, 204, 21, 0.35), transparent 60%);
  mix-blend-mode: screen;
}

.mj-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SERVICES */

.mj-section {
  padding: 70px 0 76px;
}

.mj-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 34px;
}

.mj-section-title {
  font-size: 28px;
  margin: 0 0 8px;
  color: #020617;
}

.mj-section-subtitle {
  font-size: 14px;
  color: #6b7280;
}

.mj-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mj-service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.mj-service-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: #0f172a;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 8px;
}

.mj-service-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.mj-service-text {
  font-size: 13px;
  color: #6b7280;
}

/* QUOTE SECTION */

.mj-quote {
  background: #020617;
  padding: 80px 0 86px;
  color: #e5e7eb;
}

.mj-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.mj-quote-title {
  font-size: 28px;
  margin: 0 0 10px;
}

.mj-quote-sub {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 18px;
}

.mj-quote-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 13px;
}

.mj-quote-bullets li {
  display: flex;
  gap: 8px;
  margin-bottom: 7px;
}

.mj-quote-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #38bdf8;
  margin-top: 6px;
}

.mj-quote-note {
  font-size: 12px;
  color: #64748b;
}

/* CARD / STEPS / FORM */

.mj-card {
  background: #020617;
  border-radius: 20px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

.mj-step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #9ca3af;
}

.mj-step-badges {
  display: flex;
  gap: 6px;
}

.mj-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.mj-step-badge.mj-step-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.mj-step-badge.mj-step-complete {
  background: #22c55e;
  border-color: #22c55e;
  color: #ffffff;
}

.mj-step-label-current {
  font-weight: 600;
  color: #e5e7eb;
}

/* FORM CONTROLS */

.mj-form-group {
  margin-bottom: 12px;
}

.mj-form-label {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.mj-form-input,
.mj-form-select {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #020617;
  color: #f9fafb;
  font-size: 13px;
}

.mj-form-input:focus,
.mj-form-select:focus {
  outline: 2px solid #2563eb;
  outline-offset: 0;
  border-color: transparent;
}

.mj-form-checkbox-row {
  display: flex;
  gap: 7px;
  font-size: 12px;
  color: #d1d5db;
}

.mj-form-checkbox-row input {
  margin-top: 2px;
}

/* CHIPS & PACKAGES */

.mj-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mj-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #1f2937;
  font-size: 12px;
  color: #e5e7eb;
  cursor: pointer;
  user-select: none;
}

.mj-chip.mj-chip-active {
  background: #2563eb;
  border-color: #2563eb;
}

.mj-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mj-package-check {
  background: #020617;
  border-radius: 10px;
  border: 1px solid #1f2937;
  padding: 6px 8px;
  font-size: 12px;
  color: #e5e7eb;
  display: flex;
  gap: 7px;
  align-items: flex-start;
}

.mj-package-check input {
  margin-top: 2px;
}

.mj-fullcar-sub {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #374151;
  font-size: 12px;
  display: none;
}

.mj-fullcar-sub h4 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #9ca3af;
}

/* STEPS */

.mj-step {
  display: none;
}

.mj-step.mj-step-current {
  display: block;
}

/* BANNERS & SPINNER */

.mj-help {
  font-size: 11px;
  color: #6b7280;
}

.mj-banner-error {
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.6);
  color: #fecaca;
  padding: 7px 8px;
  font-size: 12px;
  margin-bottom: 8px;
  display: none;
}

.mj-banner-success {
  border-radius: 10px;
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(22, 163, 74, 0.5);
  color: #bbf7d0;
  padding: 8px 9px;
  font-size: 12px;
  margin-top: 8px;
}

.mj-error {
  font-size: 11px;
  color: #f97373;
  margin-top: 3px;
}

.mj-spinner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 5px;
}

.mj-spinner-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 2px solid #4b5563;
  border-top-color: #60a5fa;
  animation: mj-spin 0.7s linear infinite;
}

@keyframes mj-spin {
  to {
    transform: rotate(360deg);
  }
}

/* STEP ACTIONS */

.mj-step-actions {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.mj-step-actions-right {
  display: flex;
  gap: 7px;
}

/* FOOTER */

.mj-footer {
  background: #020617;
  color: #94a3b8;
  padding: 18px 0;
  font-size: 12px;
}

.mj-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .mj-hero-inner,
  .mj-services-grid,
  .mj-quote-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mj-hero-inner {
    gap: 24px;
  }

  .mj-quote-grid {
    gap: 24px;
  }

  .mj-header-inner {
    height: 58px;
  }

  .mj-nav {
    position: absolute;
    top: 58px;
    right: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 10px 16px 14px;
    gap: 10px;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.18);
    display: none;
  }

  .mj-nav.mj-nav-open {
    display: flex;
  }

  .mj-nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .mj-hero {
    padding-top: 46px;
  }

  .mj-packages-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mj-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
