/* Get in Touch - Figma node 1417:15667 */

.contact-form {
  background: #f5f8fb; /* no matching Figma token */
  padding: 64px 0;
}

.contact-form__panel {
  position: relative;
  background: var(--grey-pure-white);
  border: 1px solid var(--primary-blue);
  border-radius: 40px;
  box-shadow: 0px 4px 32px 0px rgba(0, 89, 154, 0.24); /* no matching Figma token */
  display: flex;
  overflow: hidden;
}

.contact-form__fields {
  flex: 1 1 549px;
  min-width: 0;
  padding: 40px 40px 40px 44px;
}

.contact-form__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--grey-pure-black);
}

.contact-form__desc {
  font-size: 16px;
  line-height: 1.35;
  color: var(--grey-dark-grey);
  margin-top: 16px;
}

.contact-form__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-form__row {
  display: flex;
  gap: 20px;
}

.contact-form__field {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form__field label {
  font-size: 16px;
  font-weight: 500;
  color: var(--grey-medium-light-grey);
  text-transform: uppercase;
}

.contact-form__field input,
.contact-form__field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.02); /* no matching Figma token */
  border: 1px solid rgba(160, 160, 160, 0.3); /* no matching Figma token */
  border-radius: 12px;
  padding: 18px 20px;
  font-family: var(--font-base);
  font-size: 16px;
  color: var(--grey-dark-charcoal);
}

.contact-form__field select {
  color: var(--grey-medium-light-grey);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9' viewBox='0 0 16 9' fill='none'%3E%3Cpath d='M1 1L8 8L15 1' stroke='%23a0a0a0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}

.contact-form__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.02); /* no matching Figma token */
  border: 1px solid rgba(160, 160, 160, 0.3); /* no matching Figma token */
  border-radius: 12px;
  padding: 18px 20px;
}

.contact-form__phone span {
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-dark-charcoal);
}

.contact-form__phone input {
  border: none;
  background: none;
  padding: 0;
  flex: 1 1 0;
  min-width: 0;
}

.contact-form__form > div.my-3 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  margin: 0 !important;
}

.contact-form__submit {
  background: var(--primary-blue);
  border: 1px solid rgba(160, 160, 160, 0.3); /* no matching Figma token */
  border-radius: 12px;
  padding: 18px;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  color: var(--grey-pure-white);
  margin-top: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 20px rgba(0, 89, 154, 0.3);
}

.contact-form__submit:active {
  transform: translateY(0);
  filter: brightness(0.92);
  box-shadow: none;
}

.contact-form__submit:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.contact-form__visual {
  flex: 0 0 651px;
  align-self: stretch;
  background: linear-gradient(180deg, #00599a 0%, #001e34 100%); /* placeholder tone behind the map while it loads */
}

.contact-form__visual img,
.contact-form__visual .map-embed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form__visual .map-embed {
  border: 0;
  display: block;
}

@media (max-width: 1180px) {
  .contact-form__fields {
    padding: 32px;
  }

  .contact-form__visual {
    flex-basis: 45%;
  }
}

@media (max-width: 900px) {
  .contact-form__panel {
    flex-direction: column;
  }

  .contact-form__visual {
    flex-basis: auto;
    width: 100%;
    height: 260px;
  }
}

@media (max-width: 639px) {
  .contact-form {
    padding: 48px 0;
  }

  .contact-form__panel {
    border-radius: 24px;
  }

  .contact-form__fields {
    padding: 24px;
  }

  .contact-form__title {
    font-size: 28px;
  }

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

  /* Rendered at its normal, undistorted size - no scaling/resizing. */
  .contact-form__form > div.my-3 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
    margin: 0 auto !important;
    position: relative;
  }
}
