/* ============================================================
   MOTORCHECK V4 — COMPONENTS
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ── EYEBROW ── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow--inv { color: var(--text-inv); }
.eyebrow--inv::before { background: var(--text-inv); }

/* ── HEADINGS ── */
.h-xl { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--text); }
.h-lg { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.2; color: var(--text); }
.h-md { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.3; color: var(--text); }
.h-sm { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--text); }
.accent-italic { color: var(--green); font-style: italic; }

/* ── BODY TEXT ── */
.lead { font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 60ch; }
.lead strong { color: var(--text); font-weight: 600; }
.lead--inv { color: var(--text-inv-mid); }
.lead--inv strong { color: var(--text-inv); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-green { background: var(--green); color: var(--green-deep); }
.btn-green:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--bg-dark); color: var(--text-inv); }
.btn-dark:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-mid); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }
.btn-lg { font-size: 15px; padding: 16px 30px; }
.btn-sm { font-size: 12px; padding: 10px 18px; }
.btn-block { width: 100%; }

/* ── FORM ── */
.fg { margin-bottom: 14px; }
.fg label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  background: var(--field-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--text-faint); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}
.fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
}
.fg select option { background: #fff; color: var(--text); }
.fg textarea { resize: vertical; min-height: 80px; line-height: 1.55; }
.fg input.error, .fg select.error, .fg textarea.error { border-color: #E24B4A; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-msg {
  display: none;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  border-radius: var(--radius-sm);
}
.form-msg-ok  { background: #EAF6EE; color: var(--green-dark); }
.form-msg-err { background: #FBEAEA; color: #B33; }

/* ── CHECKLIST ── */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}
.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.check-dot svg { width: 10px; height: 10px; }

/* ── SR ONLY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
