/* ==========================================================================
   Assessment Hero
   ========================================================================== */
.asmt-hero {
  background: linear-gradient(135deg, #0B0B0B 0%, #1a1e22 60%, #121518 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.asmt-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(209, 34, 48, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.asmt-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.asmt-hero h1 {
  color: var(--text-light);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.asmt-hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 6px;
}

.asmt-hero-sub {
  color: var(--yellow);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.asmt-hero-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.asmt-hero-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.asmt-hero-meta span i {
  color: var(--yellow);
  font-size: 1rem;
}

/* ==========================================================================
   Info & How It Works Sections
   ========================================================================== */
.asmt-info {
  background: var(--bg-darker, #0a0c0e);
  padding: 80px 0;
  text-align: center;
}

.asmt-info-heading {
  color: var(--text-light);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
}

.asmt-info-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.asmt-dimensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.asmt-dimension-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 12px);
  padding: 32px 20px;
  transition: border-color 0.3s, transform 0.3s;
}

.asmt-dimension-card:hover {
  border-color: rgba(209, 34, 48, 0.3);
  transform: translateY(-4px);
}

.asmt-dimension-icon {
  width: 48px;
  height: 48px;
  background: rgba(209, 34, 48, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.asmt-dimension-icon i {
  color: var(--primary, #d12230);
  font-size: 1.15rem;
}

.asmt-dimension-card h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 8px;
}

.asmt-dimension-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.asmt-how {
  background: var(--bg-dark, #121518);
  padding: 80px 0;
  text-align: center;
}

.asmt-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 48px auto 0;
  flex-wrap: wrap;
}

.asmt-step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
}

.asmt-step-number {
  width: 44px;
  height: 44px;
  background: var(--primary, #d12230);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.asmt-step h3 {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.asmt-step p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Assessment Modal Overlay
   ========================================================================== */
.asmt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
  padding: 40px 16px;
  animation: asmtFadeIn 0.3s ease;
}

@keyframes asmtFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.asmt-modal {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.asmt-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg-darker, #0a0c0e);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.asmt-modal-close:hover {
  background: var(--primary, #d12230);
  color: #fff;
}

.asmt-card {
  background: var(--bg-darker);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Progress
   ========================================================================== */
.asmt-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.asmt-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--yellow));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.asmt-step-label {
  font-size: 0.85rem;
  color: var(--yellow);
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 28px;
}

/* ==========================================================================
   Question Block
   ========================================================================== */
.asmt-question h3 {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.asmt-dimension-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 10px;
  opacity: 0.7;
}

.asmt-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.asmt-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
}

.asmt-option:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--yellow);
}

.asmt-option.selected {
  background: rgba(230, 176, 15, 0.1);
  border-color: var(--yellow);
}

.asmt-option input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.asmt-nav {
  display: flex;
  gap: 12px;
}

.asmt-nav .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ==========================================================================
   Contact Gate Form
   ========================================================================== */
.asmt-gate-header {
  margin-bottom: 28px;
}

.asmt-gate-header h2 {
  color: var(--yellow);
  font-size: 1.4rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.asmt-gate-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
  line-height: 1.6;
}

.asmt-form-group {
  margin-bottom: 18px;
}

.asmt-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.78);
}

.asmt-form-group .required {
  color: var(--primary);
}

.asmt-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.asmt-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(230, 176, 15, 0.15);
}

.asmt-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.asmt-input.field-error {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(209, 34, 48, 0.15);
}

.asmt-submit-btn {
  width: 100%;
  margin-top: 8px;
}

.asmt-reassurance {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  text-align: center;
}

.asmt-reassurance a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.asmt-reassurance a:hover {
  color: var(--yellow);
}

/* ==========================================================================
   Results Screen
   ========================================================================== */
.asmt-results-header {
  text-align: center;
  margin-bottom: 36px;
}

.asmt-results-header h2 {
  color: var(--yellow);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.asmt-results-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* Classification card */
.asmt-classification {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.asmt-classification-label {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.asmt-classification-summary {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

/* Dimension scores */
.asmt-dimensions {
  margin-bottom: 32px;
}

.asmt-dimensions h3 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.asmt-dim-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.asmt-dim-name {
  flex: 0 0 180px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.asmt-dim-bar-track {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  overflow: hidden;
}

.asmt-dim-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s ease;
}

.asmt-dim-score {
  flex: 0 0 40px;
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Attention areas */
.asmt-attention {
  background: rgba(230, 176, 15, 0.06);
  border: 1px solid rgba(230, 176, 15, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.asmt-attention h3 {
  color: var(--yellow);
  font-size: 1.05rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.asmt-attention-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
  line-height: 1.5;
}

.asmt-attention-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.asmt-attention-item strong {
  color: var(--text-light);
}

/* Cash pressure warning */
.asmt-pressure {
  background: rgba(209, 34, 48, 0.08);
  border: 1px solid rgba(209, 34, 48, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.asmt-pressure-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(209, 34, 48, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.asmt-pressure p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
  line-height: 1.6;
}

.asmt-pressure strong {
  color: var(--primary);
}

/* CTA section */
.asmt-cta {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
}

.asmt-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 18px;
}

.asmt-cta .btn {
  min-width: 260px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .asmt-hero {
    padding: 120px 0 60px;
  }

  .asmt-hero h1 {
    font-size: 2rem;
  }

  .asmt-hero-meta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .asmt-modal-overlay {
    padding: 20px 12px;
  }

  .asmt-modal-close {
    top: -8px;
    right: 4px;
  }

  .asmt-card {
    padding: 32px 20px;
  }

  .asmt-dim-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .asmt-dim-name {
    flex: 1 1 100%;
    font-size: 0.85rem;
  }

  .asmt-dim-bar-track {
    flex: 1;
  }

  .asmt-dim-score {
    flex: 0 0 36px;
  }

  .asmt-classification-label {
    font-size: 1.3rem;
  }

  .asmt-cta .btn {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .asmt-card {
    padding: 24px 16px;
  }

  .asmt-option {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
}
