/* ===== AI READINESS ASSESSMENT ===== */
/* Styles assume the services.css variables are loaded (--ink, --amber, etc.). */

/* ===== HERO (compact, not full viewport — quiz is the focus) ===== */
.air-hero {
  padding: 160px clamp(24px, 5vw, 80px) 80px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(244, 162, 42, 0.07) 0%, transparent 70%),
    var(--ink);
  position: relative;
  overflow: hidden;
}

.air-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.air-hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.air-hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.air-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--warm-white);
  margin-bottom: 24px;
}

.air-hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.air-hero-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--faint);
  max-width: 640px;
  margin-bottom: 40px;
}

.air-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ===== INLINE CTA STRIP ===== */
.air-cta-strip {
  padding: 32px clamp(24px, 5vw, 80px);
  background: var(--deep-navy);
  border-top: 1px solid rgba(244, 162, 42, 0.08);
  border-bottom: 1px solid rgba(244, 162, 42, 0.08);
  text-align: center;
}

.air-cta-strip-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.9375rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.air-cta-strip-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--warm-cream);
  letter-spacing: 0.02em;
}

.air-cta-strip-tag::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
}

/* ===== QUIZ ===== */
.air-quiz {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--ink);
}

.air-quiz-inner {
  max-width: 720px;
  margin: 0 auto;
}

.air-progress {
  margin-bottom: 48px;
}

.air-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.air-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(244, 162, 42, 0.12);
  overflow: hidden;
}

.air-progress-fill {
  height: 100%;
  width: 0;
  background: var(--amber);
  transition: width 0.35s ease;
}

.air-step {
  display: none;
  border: 1px solid rgba(244, 162, 42, 0.12);
  background: var(--deep-navy);
  padding: 40px 36px;
}

.air-step.is-active {
  display: block;
  animation: air-step-in 0.3s ease;
}

@keyframes air-step-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.air-step-q-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--amber);
  opacity: 0.6;
  margin-bottom: 16px;
  display: block;
}

.air-step-q-label {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 500;
  color: var(--warm-white);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 32px;
}

.air-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.air-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--ink);
  border: 1px solid rgba(244, 162, 42, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.air-option:hover {
  border-color: rgba(244, 162, 42, 0.4);
  background: rgba(244, 162, 42, 0.03);
}

.air-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.air-option-marker {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(244, 162, 42, 0.5);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.air-option-marker::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--amber);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.air-option input[type="radio"]:checked ~ .air-option-marker {
  border-color: var(--amber);
}

.air-option input[type="radio"]:checked ~ .air-option-marker::after {
  opacity: 1;
  transform: scale(1);
}

.air-option input[type="radio"]:checked ~ .air-option-text {
  color: var(--warm-white);
}

.air-option.is-selected {
  border-color: var(--amber);
  background: rgba(244, 162, 42, 0.05);
}

.air-option-text {
  font-size: 0.9375rem;
  color: var(--faint);
  line-height: 1.5;
  transition: color 0.2s ease;
}

.air-step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}

.air-btn {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.air-btn:hover:not(:disabled) {
  opacity: 0.85;
}

.air-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.air-btn-ghost {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid rgba(244, 162, 42, 0.3);
  color: var(--warm-white);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.air-btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.air-step-nav .air-btn-back {
  visibility: hidden;
}

/* ===== RESULTS ===== */
.air-results {
  padding: 80px clamp(24px, 5vw, 80px) 60px;
  background: var(--ink);
  border-top: 1px solid rgba(244, 162, 42, 0.08);
  display: none;
}

.air-results.is-visible {
  display: block;
  animation: air-step-in 0.4s ease;
}

.air-results-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.air-result-tier-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.air-result-tier-label::before,
.air-result-tier-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.air-result-tier {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--warm-white);
  margin-bottom: 16px;
}

.air-result-score {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.air-result-score strong {
  color: var(--amber);
  font-weight: 600;
}

.air-result-summary {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--faint);
  max-width: 560px;
  margin: 0 auto 40px;
}

.air-result-recommendation {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-style: italic;
  color: var(--warm-cream);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(244, 162, 42, 0.15);
  border-bottom: 1px solid rgba(244, 162, 42, 0.15);
}

.air-results-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== CAPTURE FORM ===== */
.air-capture {
  padding: 60px clamp(24px, 5vw, 80px) 120px;
  background: var(--deep-navy);
  border-top: 1px solid rgba(244, 162, 42, 0.08);
  display: none;
}

.air-capture.is-visible {
  display: block;
  animation: air-step-in 0.4s ease;
}

.air-capture-inner {
  max-width: 640px;
  margin: 0 auto;
}

.air-capture-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--warm-white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.air-capture-body {
  font-size: 0.9375rem;
  color: var(--faint);
  line-height: 1.7;
  margin-bottom: 32px;
}

.air-capture-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.air-capture-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.air-capture-status {
  font-size: 0.875rem;
  padding: 10px 14px;
  border-radius: 4px;
  display: none;
  margin-top: 8px;
}

.air-capture-status.success {
  background: rgba(74, 222, 128, 0.12);
  color: var(--success-green);
  border: 1px solid rgba(74, 222, 128, 0.2);
  display: block;
}

.air-capture-status.error {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.2);
  display: block;
}

/* ===== CAPTURE FORM CLASSES =====
   The svc-* helpers were originally defined inline on services-contact.ejs;
   mirror them here so the capture form picks up the same look without a
   dependency on services.css being loaded on this page. */
.svc-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.svc-required { color: var(--amber); }

.svc-form-control {
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(244, 162, 42, 0.18);
  color: var(--warm-white);
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 11px 14px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.svc-form-control:focus { border-color: var(--amber); }
.svc-form-control::placeholder { color: var(--muted); }

.svc-form-submit {
  background: var(--amber);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}

.svc-form-submit:hover:not(:disabled) { opacity: 0.85; }
.svc-form-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.air-capture-form > div { margin-bottom: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .air-hero {
    padding-top: 120px;
  }

  .air-step {
    padding: 28px 22px;
  }

  .air-results {
    padding-top: 56px;
  }

  .air-step-nav {
    flex-direction: column-reverse;
  }

  .air-step-nav .air-btn,
  .air-step-nav .air-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .air-results-actions {
    flex-direction: column;
  }

  .air-results-actions .air-btn,
  .air-results-actions .air-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}
