.pathway-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: linear-gradient(180deg, var(--color-sky), #fff);
}

.pathway-shell {
  max-width: 880px;
  padding: clamp(1.3rem, 4vw, 2.3rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.route-gate { margin-top: 2rem; }
.route-gate fieldset { margin: 0; padding: 0; border: 0; }
.route-gate legend {
  margin-bottom: 1rem;
  color: var(--color-ink);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 850;
  line-height: 1.25;
}

.route-choice-grid,
.route-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.route-choice {
  display: flex;
  gap: 0.75rem;
  min-height: 94px;
  padding: 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: #fff;
  cursor: pointer;
}

.route-choice:has(input:checked) {
  border-color: var(--color-teal);
  background: var(--color-mint);
  box-shadow: 0 0 0 2px rgba(4, 125, 122, 0.08);
}

.route-choice input,
.representative-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--color-teal);
}

.route-choice strong,
.route-choice small { display: block; }
.route-choice small { margin-top: 0.3rem; color: var(--color-muted); line-height: 1.45; }

.route-block,
.international-route-details {
  margin-top: 1.25rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
}

.route-block { border: 1px solid #d6c58e; background: #fff9e6; color: #5e4a12; }
.route-block p { margin-top: 0; }
.international-route-details { border: 1px solid var(--color-border); background: #f9fbfc; }

.route-field { min-width: 0; }
.route-field.full { grid-column: 1 / -1; }
.route-field label { display: block; margin-bottom: 0.4rem; color: var(--color-ink); font-weight: 800; }
.route-field input {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.78rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}
.route-field input:focus { outline: 3px solid rgba(4, 125, 122, 0.18); border-color: var(--color-teal); }
.route-field input[aria-invalid="true"] { border-color: #a52d2d; background: #fffafa; }

.representative-check {
  display: flex;
  gap: 0.65rem;
  margin: 1rem 0;
  color: var(--color-ink);
  font-weight: 750;
}

.representative-fields { margin-bottom: 1rem; }
.route-error { min-height: 1.3rem; margin: 0.35rem 0 0; color: #962626; font-size: 0.88rem; font-weight: 750; }
.route-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1.15rem 0;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--color-sky);
  color: var(--color-ink-soft);
}
.route-note { margin: 0.9rem 0 0; color: var(--color-muted); font-size: 0.9rem; }

[hidden] { display: none !important; }

@media (max-width: 680px) {
  .pathway-hero { padding-top: 2rem; }
  .route-choice-grid,
  .route-form-grid { grid-template-columns: 1fr; }
  .route-field.full { grid-column: auto; }
  .international-route-details .button,
  .route-block .button { width: 100%; white-space: normal; text-align: center; }
}
