/* ==========================================================================
   Contact Us — Figma node 197:3087
   Nav, footer, buttons, and tokens live in hb-home.css.
   ========================================================================== */

:root {
  --ct-form-grad: linear-gradient(90deg, #6957ff 0%, #b59dff 100%);
  --ct-input-border: #e6e2ff;
  --ct-required: #e84f4f;
  --ct-font-form: "Arimo", var(--hb-font);
  --ct-font-head: "Inter", var(--hb-font-ui);
}

.ct-page {
  background: var(--hb-white);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.ct-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: -12px;
  min-height: 1018px;
  padding: 60px 74px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
}

.ct-hero__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 1440px;
  height: 1018px;
  pointer-events: none;
}

.ct-hero__bg img {
  display: block;
  width: 1440px;
  height: 1018px;
  max-width: none;
  object-fit: fill;
}

.ct-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 1292px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Form card
   -------------------------------------------------------------------------- */

.ct-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 826px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.ct-form__head {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 28px 10px;
  background: var(--ct-form-grad);
}

.ct-form__title {
  margin: 0;
  font-family: var(--ct-font-head);
  font-size: 33px;
  font-weight: 500;
  line-height: 42.9px;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  white-space: nowrap;
}

.ct-form__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-bottom: 20px;
}

.ct-form__fields {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 0 5px;
}

.ct-form__cols {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  width: 680px;
  max-width: 100%;
}

.ct-form__col {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  min-width: 0;
}

.ct-form__col--left {
  max-width: 344.76px;
}

.ct-form__col--right {
  max-width: 335.24px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.ct-field--name {
  gap: 10px;
  padding-bottom: 5px;
}

.ct-field--phone {
  gap: 10px;
  padding-top: 4px;
}

.ct-field--company {
  gap: 10px;
  padding-bottom: 5px;
}

.ct-field--website {
  gap: 10px;
  padding: 5px 0;
}

.ct-field--email {
  gap: 9.99px;
  padding-top: 5px;
}

.ct-name-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.ct-name-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding-bottom: 0.89px;
}

.ct-label {
  margin: 0;
  width: 100%;
  font-family: var(--ct-font-form);
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  letter-spacing: 0;
  color: #000;
}

.ct-label--sms,
.ct-label--desc {
  font-size: 15.9px;
}

.ct-req {
  color: var(--ct-required);
}

.ct-hint {
  margin: 0;
  font-family: var(--ct-font-form);
  font-size: 13px;
  font-weight: 400;
  line-height: 16.9px;
  letter-spacing: 0;
  color: #000;
  opacity: 0.8;
  white-space: nowrap;
}

.ct-input,
.ct-select,
.ct-textarea {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid var(--ct-input-border);
  border-width: 1px;
  border-radius: 4px;
  background: transparent;
  font-family: var(--ct-font-form);
  font-size: 15px;
  font-weight: 400;
  line-height: 19.5px;
  letter-spacing: 0;
  color: #000;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.ct-input,
.ct-select {
  height: 43px;
  padding: 0 12px;
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  outline: none;
  border-color: var(--ct-input-border);
}

.ct-phone {
  position: relative;
  width: 100%;
}

.ct-phone .ct-input {
  padding-left: 80px;
}

.ct-phone__dial {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1px;
  display: flex;
  align-items: center;
  width: 70px;
  padding: 1px 0 1px 8px;
  pointer-events: none;
}

.ct-phone__flag {
  display: block;
  width: 20px;
  height: 11px;
  object-fit: cover;
  box-shadow: 0 0 1px 0 #888;
}

.ct-phone__code {
  padding-left: 5px;
  font-family: var(--ct-font-form);
  font-size: 15px;
  font-weight: 400;
  line-height: 19.5px;
  color: #000;
}

.ct-phone__caret {
  display: block;
  width: 0;
  height: 0;
  margin-left: auto;
  margin-right: 0;
  border-style: solid;
  border-width: 4px 4px 0;
  border-color: #000 transparent transparent;
}

.ct-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

.ct-band--sms {
  gap: 10px;
  padding-top: 9px;
  padding-bottom: 5px;
}

.ct-band--service {
  gap: 9.99px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.ct-band--desc {
  gap: 10px;
  padding-top: 4px;
  padding-bottom: 5px;
}

.ct-sms {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ct-sms__box {
  width: 100%;
  min-height: 96px;
  max-height: 276px;
  padding: 13px 11px 28.59px;
  overflow: auto;
  border: 1px solid #000;
  border-radius: 4px;
}

.ct-sms__copy {
  margin: 0;
  font-family: var(--ct-font-form);
  font-size: 15px;
  font-weight: 400;
  line-height: 19.51px;
  letter-spacing: 0;
  color: #000;
}

.ct-sms__copy a {
  color: #000;
  text-decoration: underline;
  text-underline-position: from-font;
}

.ct-consent {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.ct-consent__check {
  flex: none;
  padding-bottom: 20px;
}

.ct-consent__box {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #000;
  border-radius: 3px;
  background: transparent;
}

.ct-consent__box:checked {
  background: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 10px;
}

.ct-consent__text {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding-left: 10px;
  font-family: var(--ct-font-form);
  font-size: 14.9px;
  font-weight: 400;
  line-height: 19.5px;
  letter-spacing: 0;
  color: #000;
}

.ct-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 12px;
  min-height: 43px;
  height: auto;
  color: rgba(0, 0, 0, 0.5);
}

.ct-select:valid {
  color: #000;
}

.ct-select:invalid {
  color: rgba(0, 0, 0, 0.5);
}

.ct-textarea {
  height: 100px;
  min-height: 100px;
  padding: 10px 12px;
  resize: none;
}

.ct-form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 680px;
  max-width: 100%;
}

.ct-form__status {
  width: 100%;
  margin: 0 0 8px;
  font-family: var(--ct-font-form);
  font-size: 14px;
  line-height: 19.5px;
  text-align: center;
  color: #000;
}

.ct-form__status:empty {
  display: none;
}

.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 12px 37px 13px;
  border: 1px solid transparent;
  border-radius: 150px;
  background: var(--ct-form-grad);
  font-family: var(--ct-font-form);
  font-size: 16px;
  font-weight: 400;
  line-height: 20.8px;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.ct-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

/* --------------------------------------------------------------------------
   Responsive — existing HB breakpoints only
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .ct-hero {
    padding: 60px 40px;
  }
}

@media (max-width: 1024px) {
  .ct-hero {
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    padding: 40px 20px;
  }

  .ct-hero__bg,
  .ct-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
  }

  .ct-hero__inner {
    justify-content: center;
  }

  .ct-form__cols,
  .ct-form__actions {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }

  .ct-form__col--left,
  .ct-form__col--right {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .ct-hero {
    margin-top: 0;
    padding: 24px 16px 40px;
  }

  .ct-form__head {
    padding: 22px 10px;
  }

  .ct-form__title {
    font-size: 28px;
    line-height: 36px;
  }

  .ct-form__cols {
    flex-direction: column;
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .ct-band,
  .ct-form__actions {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ct-form__title {
    white-space: normal;
  }
}
