.visa-form-page .vl-shell {
  background: #f3f3f3;
  border-radius: 28px;
  padding: 34px 34px 40px !important;
}

.visa-form-page .visa-form-intro {
  margin: 0 0 24px;
  color: #2f2f2f;
  font-size: 17px;
  line-height: 1.7;
}

.visa-form-page .visa-form-intro p {
  margin: 0 0 14px;
}

.visa-form-page .visa-form-intro p:last-child {
  margin-bottom: 0;
}

.gov-form {
  margin-top: 10px;
}

.gov-section {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 22px;
  padding: 24px 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.gov-section--muted {
  background: #fcfcfc;
}

.gov-section__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.gov-section__head h2 {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
}

.gov-section__head h2::after {
  display: none !important;
}

.gov-section__desc {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}

.gov-step {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f73938;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  flex: 0 0 38px;
  box-shadow: 0 6px 14px rgba(247, 57, 56, 0.18);
}

.gov-grid {
  display: grid;
  gap: 16px 18px;
}

.gov-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gov-field {
  min-width: 0;
}

.gov-field--full {
  grid-column: 1 / -1;
}

.gov-field--hidden {
  display: none;
}

.gov-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.4;
}

.gov-field .req {
  color: #f73938;
}

.gov-field input[type="text"],
.gov-field input[type="email"],
.gov-field input[type="tel"],
.gov-field input[type="date"],
.gov-field input[type="file"],
.gov-field select,
.gov-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #d9dde3;
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 15px;
  line-height: 1.45;
  color: #222;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  outline: none;
}

.gov-field input[type="text"],
.gov-field input[type="email"],
.gov-field input[type="tel"],
.gov-field input[type="date"],
.gov-field select {
  min-height: 52px;
}

.gov-field input[type="file"] {
  padding: 12px 14px;
  min-height: 52px;
}

.gov-field textarea {
  resize: none;
  overflow: hidden;
  min-height: 52px;
  height: 52px;
}

.gov-field textarea.gov-autogrow {
  min-height: 52px;
  height: 52px;
  resize: none;
  overflow: hidden;
}

.gov-field input:focus,
.gov-field select:focus,
.gov-field textarea:focus,
.gov-field input[type="file"]:focus {
  border-color: #f73938;
  box-shadow: 0 0 0 4px rgba(247, 57, 56, 0.1);
}

.gov-help {
  margin-top: 6px;
  color: #6a6a6a;
  font-size: 13px;
  line-height: 1.45;
}

.gov-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0 4px;
}

.gov-progress {
  margin: 0 0 22px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.gov-progress__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.gov-progress__label {
  font-size: 15px;
  font-weight: 700;
  color: #1f1f1f;
}

.gov-progress__percent {
  font-size: 14px;
  font-weight: 700;
  color: #666;
}

.gov-progress__bar {
  width: 100%;
  height: 10px;
  background: #eceff3;
  border-radius: 999px;
  overflow: hidden;
}

.gov-progress__fill {
  height: 100%;
  background: #f73938;
  border-radius: 999px;
  transition: width .25s ease;
}

.gov-checklist {
  display: grid;
  gap: 10px;
}

.gov-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.gov-check input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.gov-check span {
  font-size: 14px;
  line-height: 1.55;
  color: #222;
}

.gov-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.gov-submit {
  min-width: 260px;
  min-height: 50px;
  font-size: 17px !important;
}

.gov-note {
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.5;
}

.gov-field input.is-invalid,
.gov-field select.is-invalid,
.gov-field textarea.is-invalid {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.10) !important;
  background: #fffafa;
}

.gov-error {
  margin-top: 6px;
  color: #d93025;
  font-size: 13px;
  line-height: 1.4;
}

.gov-form-message {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.gov-form-message--hidden {
  display: none;
}

.gov-form-message--success {
  background: #eef8f0;
  border: 1px solid #b8e0bf;
  color: #1f5f2c;
}

.gov-form-message--error {
  background: #fff3f3;
  border: 1px solid #f0c2c2;
  color: #9b1c1c;
}

@media (max-width: 1024px) {
  .visa-form-page .vl-shell {
    padding: 28px 24px 34px !important;
  }
}

@media (max-width: 768px) {
  .visa-form-page .vl-shell {
    padding: 22px 18px 28px !important;
    border-radius: 22px;
  }

  .gov-section {
    padding: 20px 16px 18px;
    border-radius: 18px;
  }

  .gov-grid-2 {
    grid-template-columns: 1fr;
  }

  .gov-section__head {
    gap: 12px;
    margin-bottom: 16px;
  }

  .gov-step {
    width: 36px;
    height: 36px;
    font-size: 16px;
    flex: 0 0 36px;
  }

  .gov-field input[type="text"],
  .gov-field input[type="email"],
  .gov-field input[type="tel"],
  .gov-field input[type="date"],
  .gov-field input[type="file"],
  .gov-field select,
  .gov-field textarea {
    font-size: 16px;
    padding: 13px 14px;
  }

  .gov-submit {
    width: 100%;
  }
}

/* Появляющиеся (условные) поля */
.gov-field--conditional {
  background: #f8fafc; /* очень лёгкий серо-голубой */
  border-left: 4px solid #ff3b3b; /* фирменный красный */
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 8px;
  transition: all 0.2s ease;
}

/* плавное появление */
.gov-field--conditional.show {
  animation: fadeSlide 0.25s ease;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.conditional-hint {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}