/* Commercial pages — additive styles for /commercial and /commercial/buy-here-pay-here */

/* ---------- Persona cards (dual column) ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.persona-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.persona-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.persona-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.persona-card-icon.is-service {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-accent-dark);
}

.persona-card-icon.is-dealer {
  background: rgba(30, 111, 184, 0.12);
  color: var(--color-primary);
}

.persona-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5em;
}

.persona-card ul {
  padding-left: 1.1em;
  margin: 0;
}

.persona-card li {
  margin-bottom: 0.4em;
  color: var(--color-text-soft);
}

/* ---------- Anti-feature cards ---------- */
.anti-card {
  text-align: center;
  padding: 28px 20px;
}

.anti-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

/* ---------- Calculator widget ---------- */
.calculator-widget {
  background: var(--color-bg);
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.calculator-widget h3 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.3rem;
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.calc-field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1.1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg-soft);
  transition: border-color 0.15s ease;
}

.calc-field input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 111, 184, 0.12);
}

.calc-result {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-top: 24px;
}

.calc-result-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #dc2626;
  margin: 8px 0;
}

.calc-result-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #92400e;
}

.calc-pitch {
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--color-text-soft);
  line-height: 1.5;
}

/* ---------- Blueprint cards ---------- */
.blueprint-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}

.blueprint-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.blueprint-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.blueprint-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.blueprint-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.blueprint-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 16px 0 8px;
}

.blueprint-card p {
  margin-bottom: 0.75em;
}

/* ---------- QR Kit section ---------- */
.qr-kit-section {
  text-align: center;
  padding: 40px 28px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.qr-kit-section h2 {
  margin-bottom: 12px;
}

.qr-kit-section p {
  max-width: 52ch;
  margin: 0 auto 20px;
}

.qr-kit-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.qr-kit-step {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.9rem;
  max-width: 220px;
  text-align: center;
  color: var(--color-text-soft);
}

.qr-kit-step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text);
}

/* ---------- Color indicators ---------- */
.indicator-green { color: #10b981; }
.indicator-orange { color: #f59e0b; }
.indicator-red { color: #dc2626; }

/* ---------- Responsive: 2-col grids at desktop ---------- */
@media (min-width: 768px) {
  .persona-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blueprint-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
