.jea-survey {
  --jea-blue: #008CB3;
  --jea-blue-bright: #00ACDB;
  --jea-blue-light: #00C8FF;
  --jea-blue-dark: #004C61;
  --jea-blue-hover: #006C8A;
  --jea-ink: #163744;
  --jea-muted: #557184;
  --jea-line: rgba(0, 76, 97, .14);
  --jea-paper: #ffffff;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 48px);
  color: var(--jea-ink);
  background: var(--jea-paper);
  border: 1px solid var(--jea-line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 76, 97, .10);
  font-family: inherit;
}

.jea-survey *, .jea-survey *::before, .jea-survey *::after { box-sizing: border-box; }
.jea-survey [hidden] { display: none !important; }
.jea-survey__brand { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.jea-survey__mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--jea-blue) 0%, var(--jea-blue-bright) 100%); color: #fff; font-size: 26px; font-weight: 700; }
.jea-survey__eyebrow { margin: 0 0 3px; color: var(--jea-blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.jea-survey h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); line-height: 1.08; }
.jea-survey h3 { margin: 0 0 14px; font-size: 21px; }
.jea-survey__intro { max-width: 720px; margin: 14px 0 18px; color: var(--jea-muted); font-size: 17px; line-height: 1.65; }
.jea-survey__trip { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 16px; margin-bottom: 22px; border-left: 4px solid var(--jea-blue); background: linear-gradient(135deg, #eef9fc 0%, #f8fdff 100%); border-radius: 0 10px 10px 0; }
.jea-survey__trip span { color: var(--jea-muted); }
.jea-survey__progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 22px 0 30px; }
.jea-survey__progress span { height: 5px; border-radius: 999px; background: rgba(0, 76, 97, .14); transition: background .2s ease; }
.jea-survey__progress span.is-active { background: var(--jea-blue); }
.jea-step { display: none; padding: 0; margin: 0; border: 0; }
.jea-step.is-active { display: block; animation: jeaFade .22s ease; }
.jea-step legend { width: 100%; margin-bottom: 20px; padding: 0; color: var(--jea-ink); font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.jea-help { margin: -8px 0 18px; color: var(--jea-muted); }
.jea-grid { display: grid; gap: 16px; }
.jea-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jea-field { display: grid; gap: 8px; margin: 0 0 20px; font-weight: 700; }
.jea-field > span, .jea-rating-row > span { line-height: 1.45; }
.jea-survey input[type="text"],
.jea-survey input[type="email"],
.jea-survey select,
.jea-survey textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--jea-ink);
  background: #fff;
  border: 1px solid #bdd5dd;
  border-radius: 9px;
  font: inherit;
  font-weight: 400;
}
.jea-survey textarea { resize: vertical; }
.jea-survey input:focus, .jea-survey select:focus, .jea-survey textarea:focus { outline: 3px solid rgba(0, 140, 179, .16); border-color: var(--jea-blue); }
.jea-score { display: grid; grid-template-columns: repeat(11, minmax(34px, 1fr)); gap: 6px; margin-top: 4px; }
.jea-score label { position: relative; cursor: pointer; }
.jea-score input { position: absolute; opacity: 0; pointer-events: none; }
.jea-score span { display: grid; min-height: 44px; place-items: center; border: 1px solid #c5dce3; border-radius: 8px; background: #fff; font-weight: 800; transition: .15s ease; }
.jea-score input:checked + span { color: #fff; background: var(--jea-blue); border-color: var(--jea-blue); transform: translateY(-1px); }
.jea-score input:focus-visible + span { outline: 3px solid rgba(0, 140, 179, .28); }
.jea-scale-labels { display: flex; justify-content: space-between; gap: 20px; margin-top: 7px; color: var(--jea-muted); font-size: 12px; font-weight: 500; }
.jea-rating-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 280px); gap: 22px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--jea-line); font-weight: 700; }
.jea-rating-row select { margin: 0; }
.jea-divider { height: 1px; margin: 28px 0; background: var(--jea-line); }
.jea-check { display: flex; gap: 11px; align-items: flex-start; margin: 18px 0; line-height: 1.55; }
.jea-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--jea-blue); flex: 0 0 auto; }
.jea-check a { color: var(--jea-blue); text-decoration: underline; }
.jea-survey__nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--jea-line); }
.jea-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid var(--jea-blue); border-radius: 9px; color: #fff !important; background: var(--jea-blue); font: inherit; font-weight: 800; text-decoration: none !important; cursor: pointer; transition: .18s ease; }
.jea-btn:hover { background: var(--jea-blue-hover); border-color: var(--jea-blue-hover); transform: translateY(-1px); }
.jea-btn--secondary { color: var(--jea-blue) !important; background: #fff; }
.jea-btn--secondary:hover { color: #fff !important; }
.jea-btn[disabled] { opacity: .65; cursor: wait; transform: none; }
.jea-survey__errors { min-height: 0; margin-top: 14px; color: #9d1515; font-weight: 700; }
.jea-survey__errors:not(:empty) { padding: 12px 14px; background: #fff4f3; border-radius: 8px; }
.jea-survey__success { padding: 28px; border: 1px solid #c5dce3; border-radius: 14px; background: #fff; }
.jea-survey__success h3 { margin-top: 0; color: var(--jea-blue); font-size: 28px; }
.jea-review-box { margin-top: 24px; padding: 20px; border-radius: 12px; background: linear-gradient(135deg, #eef9fc 0%, #f8fdff 100%); }
.jea-review-box p { margin-top: 0; }
.jea-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.jea-invalid { border-color: #a11616 !important; box-shadow: 0 0 0 3px rgba(161, 22, 22, .12); }
@keyframes jeaFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .jea-grid--2 { grid-template-columns: 1fr; }
  .jea-score { grid-template-columns: repeat(6, 1fr); }
  .jea-rating-row { grid-template-columns: 1fr; gap: 8px; }
  .jea-survey__nav { justify-content: stretch; }
  .jea-survey__nav .jea-btn { flex: 1; }
}
@media (max-width: 460px) {
  .jea-survey { padding: 20px 16px; border-radius: 12px; }
  .jea-survey__brand { align-items: flex-start; }
  .jea-survey__mark { width: 44px; height: 44px; font-size: 21px; }
  .jea-score { grid-template-columns: repeat(4, 1fr); }
}
