@charset "utf-8";

.contact-page {
  background: #f4f6f8;
}

.contact-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 10vw, 150px) 24px clamp(68px, 8vw, 112px);
  background:
    radial-gradient(circle at 88% 12%, rgba(208, 0, 0, .35), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(243, 109, 48, .2), transparent 30%),
    #12151a;
  color: #ffffff;
}

.contact-page-hero::after {
  position: absolute;
  right: -130px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255, 255, 255, .02), 0 0 0 144px rgba(255, 255, 255, .012);
  content: "";
  pointer-events: none;
}

.contact-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.contact-page-hero__inner > span {
  display: inline-block;
  color: #F36D30;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

.contact-page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.35;
}

.contact-page-hero p {
  max-width: 860px;
  margin: 22px auto 0;
  color: #d8dce1;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 700;
  line-height: 1.9;
}

.contact-form-section {
  padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 60px);
  max-width: 1280px;
  margin: 0 auto;
}

.contact-form-guide {
  align-self: start;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 109, 48, .22), transparent 30%),
    #171b21;
  color: #ffffff;
  box-shadow: 0 20px 48px rgba(17, 21, 26, .16);
}

.contact-form-guide__label {
  color: #F36D30;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.contact-form-guide h2 {
  margin: 16px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.5;
}

.contact-form-guide > p {
  margin: 18px 0 0;
  color: #d3d7dc;
  font-size: 15px;
  line-height: 1.9;
}

.contact-form-steps {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact-form-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 0 0 28px;
}

.contact-form-steps li:not(:last-child)::after {
  position: absolute;
  top: 39px;
  bottom: 6px;
  left: 18px;
  width: 1px;
  background: rgba(255, 255, 255, .18);
  content: "";
}

.contact-form-steps li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d00000;
  font-size: 13px;
  font-weight: 900;
  place-items: center;
}

.contact-form-steps strong,
.contact-form-steps small {
  display: block;
}

.contact-form-steps strong {
  font-size: 15px;
  line-height: 1.5;
}

.contact-form-steps small {
  margin-top: 4px;
  color: #aeb4bc;
  font-size: 12px;
  line-height: 1.6;
}

.contact-form-guide__note {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.contact-form-guide__note strong {
  color: #aeb4bc;
  font-size: 11px;
}

.contact-form-guide__note span {
  font-size: 15px;
  font-weight: 800;
  word-break: break-all;
}

.contact-form-panel {
  min-width: 0;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid #dfe3e8;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(17, 21, 26, .09);
}

.contact-alert {
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid #efb2a7;
  border-radius: 12px;
  background: #fff3f0;
  color: #a92d1b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.contact-form-group {
  min-width: 0;
  margin: 0;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid #e4e7eb;
}

.contact-form-group:first-of-type {
  padding-top: 0;
}

.contact-form-group legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
  color: #15181d;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 900;
}

.contact-form-group legend small {
  color: #6a727c;
  font-size: 12px;
  font-weight: 700;
}

.contact-required {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffe0d7;
  color: #b52f1e;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
}

.contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid #d8dde3;
  border-radius: 12px;
  background: #f7f8fa;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.contact-choice:hover {
  border-color: #ff9a51;
  transform: translateY(-1px);
}

.contact-choice input,
.contact-consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-choice > span,
.contact-consent > span {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid #b7bec7;
  border-radius: 5px;
  background: #ffffff;
}

.contact-choice input:checked + span,
.contact-consent input:checked + span {
  border-color: #d00000;
  background: #d00000;
}

.contact-choice input:checked + span::after,
.contact-consent input:checked + span::after {
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.contact-choice:has(input:checked) {
  border-color: #e35a41;
  background: #fff3ef;
}

.contact-choice input:focus-visible + span,
.contact-consent input:focus-visible + span {
  outline: 3px solid rgba(243, 109, 48, .32);
  outline-offset: 3px;
}

.contact-choice strong {
  color: #272c33;
  font-size: 14px;
  line-height: 1.55;
}

.contact-demo-notice {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #ffc79e;
  border-radius: 12px;
  background: #fff6ef;
}

.contact-demo-notice[hidden] {
  display: none;
}

.contact-demo-notice strong {
  display: block;
  color: #ad4200;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.contact-demo-notice p {
  margin: 5px 0 0;
  color: #5e4a3d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.contact-demo-notice--confirmation {
  margin-top: 24px;
}

.contact-field-error {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: #b52f1e;
  font-size: 12px;
  font-weight: 700;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #30353c;
  font-size: 13px;
  font-weight: 800;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  margin: 0;
  border: 1px solid #cdd3da;
  border-radius: 10px;
  background: #ffffff;
  color: #15181d;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field input,
.contact-field select {
  height: 56px;
  padding: 0 15px;
}

.contact-field textarea {
  min-height: 170px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #F36D30;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(243, 109, 48, .13);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #9aa1aa;
}

.contact-character-count {
  display: block;
  margin-top: 7px;
  color: #7a828c;
  font-size: 11px;
  text-align: right;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
  padding: 18px;
  border-radius: 12px;
  background: #f3f5f7;
  cursor: pointer;
}

.contact-consent > span {
  margin-top: 1px;
}

.contact-consent strong {
  color: #3b4149;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}

.contact-consent em {
  margin-left: 7px;
  color: #b52f1e;
  font-size: 11px;
  font-style: normal;
}

.contact-form-note {
  margin: 18px 0 0;
  color: #68717b;
  font-size: 12px;
  text-align: center;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 440px);
  min-height: 68px;
  margin: 20px auto 0;
  padding: 10px 14px 10px 26px;
  border: 0;
  border-radius: 999px;
  background: #F36D30;
  box-shadow: 0 13px 30px rgba(243, 109, 48, .25);
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(243, 109, 48, .3);
}

.contact-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.contact-submit i {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #F36D30;
  font-style: normal;
  place-items: center;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  overflow: hidden;
  width: 1px !important;
  height: 1px !important;
}

.contact-confirmation__heading {
  margin-bottom: 32px;
  text-align: center;
}

.contact-confirmation__heading > span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff0e5;
  color: #c94f00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.contact-confirmation__heading h2 {
  margin: 14px 0 0;
  color: #15181d;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.45;
}

.contact-confirmation__heading p {
  margin: 12px 0 0;
  color: #626b75;
  font-size: 14px;
  line-height: 1.8;
}

.contact-confirmation-list {
  margin: 0;
  border-top: 1px solid #dfe3e8;
}

.contact-confirmation-list > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-bottom: 1px solid #dfe3e8;
}

.contact-confirmation-list dt,
.contact-confirmation-list dd {
  margin: 0;
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.8;
}

.contact-confirmation-list dt {
  background: #f4f6f8;
  color: #343a42;
  font-weight: 900;
}

.contact-confirmation-list dd {
  color: #252a31;
  overflow-wrap: anywhere;
}

.contact-confirmation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-confirmation-tags span {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff0e5;
  color: #b94700;
  font-size: 12px;
  font-weight: 900;
}

.contact-confirmation-actions {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin-top: 30px;
}

.contact-confirmation-actions form {
  margin: 0;
}

.contact-confirmation-actions .contact-submit,
.contact-confirm-back {
  width: 100%;
  min-height: 68px;
  margin: 0;
}

.contact-confirm-back {
  padding: 10px 22px;
  border: 1px solid #aeb5be;
  border-radius: 999px;
  background: #ffffff;
  color: #343a42;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.contact-confirm-back:hover,
.contact-confirm-back:focus-visible {
  border-color: #F36D30;
  color: #c94f00;
  transform: translateY(-2px);
}

.contact-result {
  padding: clamp(40px, 6vw, 72px) 24px;
  text-align: center;
}

.contact-result > span {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  border-radius: 50%;
  background: #d00000;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  place-items: center;
}

.contact-result h2 {
  margin: 24px 0 0;
  color: #15181d;
  font-size: clamp(26px, 3.5vw, 38px);
}

.contact-result p {
  margin: 15px 0 0;
  color: #59616b;
}

.contact-result a {
  display: inline-flex;
  margin-top: 28px;
  padding: 13px 24px;
  border: 1px solid #242930;
  border-radius: 999px;
  color: #242930;
  font-weight: 800;
}

@media (max-width: 960px) {
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 32px;
  }

  .contact-form-guide__label,
  .contact-form-guide h2,
  .contact-form-guide > p {
    grid-column: 1 / -1;
  }

  .contact-form-steps {
    margin-top: 0;
  }

  .contact-form-guide__note {
    align-self: end;
  }
}

@media (max-width: 640px) {
  .contact-page-hero h1 {
    font-size: clamp(28px, 7.8vw, 36px);
  }

  .contact-form-guide h2 {
    font-size: clamp(23px, 6.5vw, 26px);
  }

  .contact-page-hero {
    padding-inline: 18px;
  }

  .contact-form-section {
    padding-inline: 14px;
  }

  .contact-form-guide,
  .contact-form-panel {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .contact-form-guide {
    display: block;
  }

  .contact-form-guide__note {
    margin-top: 6px;
  }

  .contact-choice-grid,
  .contact-fields {
    grid-template-columns: 1fr;
  }

  .contact-field--full {
    grid-column: auto;
  }

  .contact-form-group {
    padding-block: 28px;
  }

  .contact-submit {
    min-height: 62px;
    padding-left: 20px;
    font-size: 14px;
  }

  .contact-confirmation-list > div {
    grid-template-columns: 1fr;
  }

  .contact-confirmation-list dt,
  .contact-confirmation-list dd {
    padding: 14px 16px;
  }

  .contact-confirmation-list dt {
    padding-bottom: 8px;
  }

  .contact-confirmation-list dd {
    padding-top: 8px;
  }

  .contact-confirmation-actions {
    grid-template-columns: 1fr;
  }

  .contact-confirmation-actions form:last-child {
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-choice,
  .contact-confirm-back,
  .contact-submit,
  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    transition: none;
  }
}
