.contact-page {
  background: #eaf3ff;
}

.contact-main {
  padding: 61px 0 36px;
}

.contact-section {
  padding: 0 0 40px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 611px minmax(0, 1fr);
  min-height: 850px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.contact-panel-copy {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px;
  background:
    linear-gradient(180deg, rgba(14, 22, 120, 0.12) 0%, rgba(14, 22, 120, 0.06) 100%),
    url("../images/contact-panel-bg.webp") center center / cover no-repeat;
  color: #ffffff;
}

.contact-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.contact-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
}

.contact-copy-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 8px;
}

.contact-copy-text h1,
.contact-copy-text p {
  margin: 0;
}

.contact-copy-text h1 {
  max-width: 100%;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.15;
}

.contact-copy-text p {
  max-width: 445px;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.contact-panel-form-wrap {
  display: flex;
  flex-direction: column;
  padding: 50px;
  background: #ffffff;
}

.contact-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 30px;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.contact-form .field-group {
  width: 100%;
}

.contact-form .field-label {
  line-height: 1.2;
}

.contact-form .field-control {
  width: 100%;
}

.contact-form-note {
  margin-top: auto;
  color: #777777;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
}

.contact-form-note p,
.contact-form-note ul {
  margin: 0;
}

.contact-form-note ul {
  display: inline-block;
  padding-left: 18px;
  text-align: left;
}

.contact-submit {
  width: 100%;
  min-height: 45px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #4bacff 0%, #584cff 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  box-shadow: 0 12px 24px rgba(88, 76, 255, 0.24);
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-panel-copy,
  .contact-panel-form-wrap {
    min-height: auto;
  }

  .contact-copy-text h1,
  .contact-copy-text p {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .contact-main {
    padding: 40px 0 24px;
  }

  .contact-panel-copy,
  .contact-panel-form-wrap {
    padding: 36px 24px;
  }

  .contact-panel-copy {
    gap: 36px;
  }

  .contact-copy-text {
    gap: 24px;
    margin-top: 0;
  }

  .contact-copy-text h1 {
    font-size: 40px;
    line-height: 1.18;
  }

  .contact-copy-text p,
  .contact-form .field-label,
  .contact-form .field-control,
  .contact-submit {
    font-size: 18px;
  }

  .contact-copy-text p {
    line-height: 28px;
  }

  .contact-form-note {
    font-size: 15px;
    line-height: 24px;
  }
}

@media (max-width: 680px) {
  .contact-main {
    padding-top: 24px;
  }

  .contact-status-pill {
    font-size: 14px;
    line-height: 24px;
  }

  .contact-copy-text h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .contact-form {
    gap: 24px;
  }

  .contact-form-fields {
    gap: 24px;
  }

  .contact-submit {
    font-size: 18px;
  }
}
