*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--color-body-bg);
}

body {
  min-height: 100vh;
  direction: rtl;
  text-align: right;
  color: var(--color-neutral-11);
}

img,
svg {
  display: block;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.contact-page {
  overflow-x: clip;
}

.contact-hero {
  position: relative;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 58px 0 0;
  display: flex;
  align-items: stretch;
  direction: ltr;
}

.contact-hero__shell {
  flex: 1 1 auto;
  min-width: 0;
  padding-inline-end: clamp(54px, 5vw, 72px);
}

.contact-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 1.02fr) minmax(332px, 0.9fr) minmax(180px, 0.48fr);
  gap: 22px;
  align-items: start;
  direction: ltr;
}

.contact-form-card,
.contact-hero__content {
  direction: rtl;
}

.contact-links {
  direction: ltr;
}

.contact-form-card {
  padding: 22px 20px 24px;
  border-radius: 12px;
  background: var(--color-violet-900);
  box-shadow: 0 18px 38px rgb(14 10 24 / 16%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field__label {
  padding-inline-end: 6px;
}

.contact-field__control {
  appearance: none;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: rgb(var(--color-neutral-1-rgb) / 39%);
  color: var(--color-white);
  font: inherit;
  line-height: inherit;
  text-align: right;
  direction: rtl;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0%);
}

.contact-field__control::placeholder {
  color: var(--color-neutral-6);
  opacity: 1;
}

#contact-consultation-form .contact-field__control:not(:disabled):hover {
  box-shadow: inset 0 0 0 1px #faa7c5, 0 4px 5px rgb(0 0 0 / 10%);
}

.contact-field__control:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--color-green-500), 0 0 0 3px rgb(var(--color-green-500-rgb) / 12%);
}

.contact-field--select .contact-field__select-wrap {
  position: relative;
  display: block;
}

.contact-field__control--select {
  padding-inline-end: 44px;
  cursor: pointer;
  color-scheme: light;
}

.contact-field__control--select option,
.contact-field__control--select optgroup {
  background: var(--color-white);
  color: var(--color-neutral-11);
}

.contact-field__select-icon {
  position: absolute;
  inset-inline-end: 14px;
  inset-block-start: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-field__select-icon img {
  width: 100%;
  height: 100%;
}

.contact-form-card__submit {
  --button-width: 224px;

  margin-top: 2px;
  margin-inline-start: auto;
  min-height: 42px;
}

.contact-form-card__submit .spec-button__icon {
  width: 40px;
  height: 40px;
}

.contact-form-card__submit .spec-button__label {
  padding-inline-end: 14px;
}

.contact-links {
  padding-top: 2px;
}

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

.contact-links--standalone {
  width: min(1312px, calc(100% - 48px));
  margin: 48px auto;
}

.contact-links--standalone .contact-links__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .contact-links--standalone {
    width: min(100% - 32px, 680px);
    margin-block: 32px;
  }

  .contact-links--standalone .contact-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .contact-links--standalone .contact-links__grid {
    grid-template-columns: 1fr;
  }
}

.contact-link-card {
  min-height: 136px;
  padding: 18px 16px 16px;
  border-radius: 11px;
  background: var(--color-green-500);
  color: var(--color-white);
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  box-shadow: 0 16px 30px rgb(7 161 82 / 16%);
}

.contact-link-card__icon {
  width: 28px;
  height: 28px;
  color: var(--color-white);
}

.contact-link-card__icon svg {
  width: 100%;
  height: 100%;
}

.contact-link-card__copy {
  margin: 0;
  color: var(--color-white);
  line-height: 1.6;
}

.contact-hero__content {
  min-height: 446px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 10px;
}

.contact-hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--color-neutral-11);
  letter-spacing: -0.03em;
}

.contact-hero__title-line {
  display: block;
}

.contact-hero__rail {
  position: fixed;
  right: 8px;
  left: auto;
  top: 50%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 52px;
  color: var(--color-neutral-9);
  font-family: var(--font-primary);
  font-size: 12px;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  z-index: 3;
  pointer-events: auto;
  text-decoration: none;
  height: auto;
  opacity: 1;
  transition: opacity 180ms ease;
}

.contact-hero__rail.is-scrolled {
  opacity: 0.72;
}

.contact-hero__social-link {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.contact-hero__social-link:hover,
.contact-hero__social-link:focus-visible {
  color: var(--color-neutral-11);
  outline: none;
}

.contact-map-section {
  width: 100%;
  padding: 120px 0 0;
}

.contact-map-section__shell {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
}

.contact-map-section__frame {
  height: 378px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
}

.contact-map-section__map {
  position: relative;
  width: 100%;
  height: 100%;
}

.contact-map-section__iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.contact-map-section__canvas {
  width: 100%;
  height: 100%;
}

.contact-map-section__canvas .leaflet-control-attribution {
  font-size: 10px;
}

.contact-map-section__marker {
  position: absolute;
  inset-block-start: 44%;
  inset-inline-start: 53%;
  transform: translate(-50%, -100%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 10px 22px rgb(12 12 12 / 14%);
  color: var(--color-neutral-11);
  pointer-events: none;
}

.contact-map-section__marker-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  background: var(--color-green-500);
  box-shadow: 0 0 0 3px rgb(var(--color-green-500-rgb) / 18%);
}

.contact-map-section__marker-label {
  white-space: nowrap;
  color: var(--color-neutral-11);
}

.contact-page__closing {
  margin-top: 84px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .contact-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .contact-hero__content {
    min-height: 0;
    padding-top: 0;
    justify-content: flex-start;
    display: none;
  }

  .contact-hero__title {
    width: 100%;
  }

  .contact-links {
    order: 2;
  }

  .contact-form-card {
    order: 3;
  }
}

@media (max-width: 767px) {
  .contact-hero__rail {
    display: none;
  }

  .contact-hero__shell {
    padding-inline-end: 0;
  }

  .contact-map-section__shell {
    width: calc(100% - 40px);
  }
}

@media (max-width: 767px) {
  .contact-hero {
    width: calc(100% - 24px);
    padding-top: 36px;
  }

  .contact-hero__shell {
    padding-inline-end: 0;
  }

  .contact-map-section__shell {
    width: calc(100% - 24px);
  }

  .contact-form-card {
    padding: 16px 14px 16px;
    gap: 10px;
    border-radius: 12px;
  }

  .contact-field {
    gap: 5px;
  }

  .contact-field__control {
    min-height: 40px;
    padding-block: 8px;
  }

  .contact-links__grid {
    gap: 12px;
  }

  .contact-link-card {
    min-height: 110px;
    padding: 14px 12px;
    border-radius: 10px;
    gap: 12px;
  }

  .contact-link-card__icon {
    width: 24px;
    height: 24px;
  }

  .contact-hero__content {
    min-height: 0;
    padding-top: 6px;
  }

  .contact-map-section {
    padding-top: 42px;
  }

  .contact-map-section__frame {
    height: 236px;
  }

  .contact-map-section__marker {
    inset-block-start: 46%;
    inset-inline-start: 50%;
    padding: 7px 9px;
    gap: 6px;
  }

  .contact-map-section__marker-label {
    font-size: var(--fs-body-4);
    line-height: var(--lh-body-4);
  }

  .contact-page__closing {
    margin-top: 56px;
  }
}
