body.contact-page,
body.model-application-page {
  background: radial-gradient(circle at 20% 15%, rgba(54, 78, 140, 0.55), rgba(3, 5, 12, 0.95));
  background-attachment: fixed;
  background-size: cover;
  color: #f7f7fb;
}

.contact-main {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 40px 5vw 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form-panel {
  background: rgba(7, 10, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.contact-form header h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.contact-form__lead {
  margin: 0;
  max-width: 640px;
  color: rgba(247, 247, 251, 0.8);
  line-height: 1.5;
  font-size: 1rem;
}

.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #f7f7fb;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form select option {
  color: #0b0d13;
  background: #f7f7fb;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__topics {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
}

.contact-form__topics legend {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: rgba(247, 247, 251, 0.6);
}

.topic-checkbox {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  margin-right: 4px;
  margin-bottom: 4px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.topic-checkbox span {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.topic-checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.topic-checkbox input:checked + span {
  color: var(--teal);
}

.topic-checkbox.checked {
  border-color: rgba(131, 249, 216, 0.6);
  background: rgba(131, 249, 216, 0.12);
  transform: translateY(-1px);
}

.contact-form__captcha {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

.contact-form__captcha strong {
  font-size: 1.1rem;
  margin-top: 2px;
  display: block;
}

.contact-form__actions {
  margin-top: 8px;
}

.contact-form__note {
  margin: 0;
  color: rgba(247, 247, 251, 0.7);
  font-size: 0.8rem;
}

.contact-form .btn-primary {
  background: linear-gradient(120deg, var(--teal), var(--purple));
  color: #0b0d13;
  box-shadow: 0 15px 30px rgba(39, 240, 201, 0.3);
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.contact-form .btn-primary:hover,
.contact-form .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(39, 240, 201, 0.35);
}

.contact-form .btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.application-form .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.application-form .form-grid--personal {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.application-form .form-grid--contact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.application-form .form-grid--rates {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.application-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.application-fieldset legend {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 247, 251, 0.6);
}

.options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.option-pill input {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.option-pill span {
  position: relative;
  padding-left: 0;
}

.option-pill input:checked + span {
  color: var(--teal);
}

.option-pill.checked {
  border-color: rgba(131, 249, 216, 0.6);
  background: rgba(131, 249, 216, 0.12);
  transform: translateY(-1px);
}

.option-pill.category-pill {
  border-radius: 16px;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-uploads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.file-upload {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-upload__title {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 247, 251, 0.8);
}

.file-dropzone {
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-dropzone__placeholder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(247, 247, 251, 0.85);
}

.file-dropzone__placeholder strong {
  font-size: 1rem;
}

.file-dropzone__placeholder p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(247, 247, 251, 0.7);
}

.file-dropzone img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.file-dropzone.dragover {
  border-color: var(--teal);
  background: rgba(131, 249, 216, 0.12);
  transform: translateY(-2px);
}

.travel-plan-field textarea {
  min-height: 180px;
}

.application-fieldset--contact .contact-form__note {
  margin-bottom: 0;
}

.application-fieldset--contact .options-row {
  margin-top: 6px;
}

@media (max-width: 720px) {
  .contact-form-panel {
    padding: 28px;
  }

  .contact-form__topics {
    flex-direction: column;
  }

  .options-row {
    flex-direction: column;
  }

  .categories-grid {
    flex-direction: column;
  }

  .file-dropzone {
    min-height: 180px;
  }
}
.contact-hero p {
  max-width: 640px;
  color: rgba(247, 247, 251, 0.85);
  text-align: left;
}

.contact-main {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 40px 5vw 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-form-panel {
  background: rgba(7, 10, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
