/* JTL Contact Hero — two-column contact section (Figma Transition-Pages 7:754).
   Left: nested JTLText intro atoms. Right: navy contact-form card. */

.jtl-contact-hero {
  padding: 0;
  box-sizing: border-box;
}
.jtl-contact-hero__inner {
  max-width: 1570px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* ---- Left intro column (nested JTLText atoms) ---- */
.jtl-contact-hero__intro {
  flex: 1 1 46%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jtl-contact-hero__intro .jtl-text--paragraph {
  margin-top: 26px;
}

/* ---- Right form card ---- */
.jtl-contact-hero__form {
  flex: 1 1 54%;
  min-width: 0;
  max-width: 654px;
  box-sizing: border-box;
  background-color: #0b1b45;
  border-radius: 46px;
  padding: 46px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.jtl-contact-hero__form-title {
  margin: 0;
  font-family: "Kurdis", "Kurdis Wide Bold", "Inter", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 47px;
  letter-spacing: 0.65px;
  color: #ffffff;
}

.jtl-contact-hero__row--split {
  display: flex;
  gap: 16px;
}
.jtl-contact-hero__row--split .jtl-contact-hero__field {
  flex: 1 1 0;
  min-width: 0;
}

.jtl-contact-hero__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jtl-contact-hero__field > label {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
}

/* Native controls — white pills */
.jtl-contact-hero__field input,
.jtl-contact-hero__field textarea,
.jtl-contact-hero__field select {
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #0b1b45;
}
.jtl-contact-hero__field input[type="text"],
.jtl-contact-hero__field input[type="email"],
.jtl-contact-hero__field input[type="tel"] {
  height: 48px;
  padding: 0 24px;
  border-radius: 24px;
}
.jtl-contact-hero__field textarea {
  min-height: 166px;
  padding: 14px 24px;
  border-radius: 20px;
  resize: vertical;
}
.jtl-contact-hero__field input::placeholder,
.jtl-contact-hero__field textarea::placeholder {
  color: #767676;
}
.jtl-contact-hero__field input:focus-visible,
.jtl-contact-hero__field textarea:focus-visible,
.jtl-contact-hero__field select:focus-visible {
  outline: 2px solid #2722f8;
  outline-offset: 2px;
}

/* Select as a pill with a caret */
.jtl-contact-hero__control--select {
  position: relative;
  display: flex;
  width: 100%;
}
.jtl-contact-hero__control--select select {
  height: 48px;
  padding: 0 46px 0 24px;
  border-radius: 24px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.jtl-contact-hero__control--select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 11px;
  height: 6px;
  transform: translateY(-50%);
  pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6' viewBox='0 0 11 6'%3E%3Cpath d='M1 1l4.5 4L10 1' fill='none' stroke='%230b1b45' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Telefon: country select + phone input */
.jtl-contact-hero__phone {
  display: flex;
  gap: 16px;
}
.jtl-contact-hero__phone .jtl-contact-hero__country {
  flex: 0 0 151px;
  width: 151px;
}
.jtl-contact-hero__phone input[type="tel"] {
  flex: 1 1 auto;
}

/* Consent + submit row */
.jtl-contact-hero__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
}
.jtl-contact-hero__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}
.jtl-contact-hero__consent input[type="checkbox"] {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 2px solid #ffffff;
  border-radius: 5px;
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.jtl-contact-hero__consent input[type="checkbox"]:checked {
  background-color: #fb581f;
  border-color: #fb581f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.4l2.6 2.6L11 4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.jtl-contact-hero__consent input[type="checkbox"]:focus-visible {
  outline: 2px solid #2722f8;
  outline-offset: 2px;
}
.jtl-contact-hero__consent-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #ffffff;
}
.jtl-contact-hero__consent-text a {
  color: #fb581f;
  text-decoration: underline;
}

/* Submit — a form control styled to the primary-NEGATIVE button tokens: orange
   fill / navy label at rest, and on hover it flips to a light-sand fill / navy
   label. The negative variant is required because the button sits on the dark
   navy card — the plain primary hover (navy fill) would make it vanish there.
   It is a <button type="submit">, not a link-CTA, so its appearance lives here
   rather than in the shared button widget. */
.jtl-contact-hero__submit {
  flex: 0 0 auto;
  border: none;
  cursor: pointer;
  background-color: #fb581f;
  color: #0b1b45;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.33px;
  text-transform: uppercase;
  border-radius: 145px;
  padding: 12px 24px;
  transition: background-color .15s ease, color .15s ease;
}
.jtl-contact-hero__submit:hover,
.jtl-contact-hero__submit:focus-visible {
  background-color: #eeeee7;
  color: #0b1b45;
  outline: none;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .jtl-contact-hero__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding: 0 24px;
  }
  .jtl-contact-hero__intro,
  .jtl-contact-hero__form {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .jtl-contact-hero__form {
    padding: 28px 24px;
    border-radius: 32px;
  }
  .jtl-contact-hero__form-title {
    font-size: 28px;
    line-height: 40px;
  }
  .jtl-contact-hero__row--split {
    flex-direction: column;
    gap: 24px;
  }
  .jtl-contact-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .jtl-contact-hero__submit {
    align-self: flex-start;
  }
}
