.contact-hero {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  width: 100%;
  padding: 40px 0 80px;
}

/* Sol tərəf — Figma dev-mode CSS-inə əsasən dəqiq tətbiq olunub */
.contact-hero__left {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 522px;
  flex-shrink: 0;
}

.contact-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-hero__eyebrow {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-nav-active);
}

.contact-hero__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: var(--color-heading);
}

.contact-hero__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-hero__card {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 12px 24px;
  background: #ffffff;
  border-radius: 24px;
}

.contact-hero__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  padding: 11px;
  background: #f1f8fd;
  border-radius: 9999px;
  color: var(--color-nav-active);
}

.contact-hero__icon svg {
  width: 32px;
  height: 32px;
}

.contact-hero__card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.contact-hero__card-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.01em;
  color: var(--color-heading);
}

.contact-hero__card-value {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 122%;
  letter-spacing: 0.01em;
  color: var(--color-text-secondary);
}

/* Sağ tərəf (əlaqə forması) — Figma dev-mode CSS-inə əsasən dəqiq tətbiq olunub */
.contact-form {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 694px;
  flex-shrink: 0;
  padding: 40px;
  background: #f1f8fd;
  border: 1px solid var(--color-accent-light);
  border-radius: 24px;
}

.contact-form__row {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.contact-form__row input,
.contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: none;
  outline: none;
  background: #ffffff;
  font-family: var(--font-family);
  color: var(--color-text-secondary);
}

.contact-form__row input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-secondary);
}

.contact-form__row input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 13px;
  border-radius: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 138%;
  letter-spacing: 0.01em;
}

.contact-form textarea {
  height: 138px;
  padding: 13px 16px;
  border-radius: 24px;
  resize: none;
  font-weight: 400;
  font-size: 18px;
  line-height: 122%;
  letter-spacing: 0.01em;
}

.contact-form__submit {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 12px 24px;
  background: var(--color-nav-active);
  border: none;
  border-radius: 20px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 133%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
}

.contact-form__submit:hover {
  background: #3182ce;
}

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

  .contact-hero__left,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-form {
    padding: 24px;
  }

  .contact-form__row {
    flex-direction: column;
    align-items: stretch;
  }
}

/*
 * Xəritə — Figma-nın "background: url(.png)" ilə verdiyi map screenshot-u
 * (yollar/parklar üçün onlarla mikro-vector path daxil idi) partnyor loqoları
 * ilə eyni səbəbdən (bax "Ana səhifə: 'Tərəfdaşlarımız' bölməsi") təkrar
 * çəkilmədi — yerinə şəkil placeholder-i qoyuldu. Marker+ünvan bublesi isə
 * sadə/dəqiq formalar olduğu üçün birbaşa SVG/CSS ilə tətbiq olundu.
 */
.contact-map {
  position: relative;
  width: 100%;
  height: 470px;
  margin-bottom: 80px;
  border-radius: 24px;
  overflow: hidden;
  /* Yol CSS faylına görə hesablanır (css/ → ../assets) */
  background: #eef3f7 url("../assets/images/contact-map.png") center / cover no-repeat;
}

.contact-map__pin {
  position: absolute;
  left: 31%;
  top: 109px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.contact-map__callout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-map__bubble {
  padding: 6px 10px;
  background: #ffffff;
  border-radius: 10px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  white-space: nowrap;
  color: var(--color-heading);
}

.contact-map__arrow {
  width: 12px;
  height: 6px;
  display: block;
}

.contact-map__marker {
  width: 27px;
  height: 41px;
  display: block;
}

@media (max-width: 960px) {
  .contact-map {
    height: 360px;
  }
}

@media (max-width: 600px) {
  .contact-map {
    height: 280px;
  }

  .contact-map__bubble {
    font-size: 12px;
  }
}

/*
 * Figma mobil (390px) dizaynı. Bölmələr arası 100px (hero → xəritə → FAQ).
 * Hero: intro → kartlar → forma 32px. Xəritə tam-en (390×306), radiussuz.
 */
@media (max-width: 600px) {
  .contact-hero {
    gap: 32px;
    padding-bottom: 100px;
  }

  .contact-hero__left {
    gap: 32px;
  }

  .contact-hero__intro {
    gap: 16px;
  }

  .contact-hero__eyebrow {
    font-size: 16px;
    line-height: 24px;
    color: #2386c8;
  }

  .contact-hero__text {
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0;
    color: #626e7a;
  }

  .contact-hero__cards {
    gap: 16px;
  }

  .contact-hero__card {
    gap: 20px;
    padding: 10px 20px;
  }

  .contact-hero__icon {
    width: 40px;
    height: 40px;
    padding: 8px;
    background: #e3effb;
    color: #2386c8;
  }

  .contact-hero__icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-hero__card-title {
    font-size: 16px;
    line-height: 19px;
    color: #0f2942;
  }

  .contact-hero__card-value {
    font-size: 14px;
    line-height: 18px;
    color: #4a5565;
  }

  .contact-form {
    gap: 24px;
    padding: 40px 20px;
    background: #f2f8fd;
    border-color: #e3effb;
  }

  .contact-form__row {
    gap: 24px;
  }

  .contact-form__row input {
    height: 42px;
    padding: 10px 16px;
    font-size: 16px;
    line-height: 22px;
    color: #4a5565;
  }

  .contact-form textarea {
    padding: 10px 16px;
    font-size: 16px;
    line-height: 22px;
    color: #4a5565;
  }

  .contact-form__row input::placeholder,
  .contact-form textarea::placeholder {
    color: #4a5565;
  }

  .contact-form__submit {
    font-size: 16px;
    line-height: 24px;
    background: #2386c8;
  }

  /* Xəritə: tam-en, radiussuz */
  .contact-map {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 306px;
    margin-bottom: 100px;
    border-radius: 0;
  }

  /* Pin: bubble top 30px, mərkəz soldan 133px (390-da 34.1%), bubble → marker ~4px */
  .contact-map__pin {
    left: 34.1%;
    top: 30px;
    gap: 4px;
  }

  .contact-map__bubble {
    padding: 4px 6.5px;
    border-radius: 6.5px;
    font-size: 9.2px;
    line-height: 11px;
    color: #0f2942;
  }

  .contact-map__arrow {
    width: 8px;
    height: 4px;
  }

  .contact-map__marker {
    width: 18.44px;
    height: 28px;
  }
}

/* Desktop: bölmələr arası məsafə 160px (əvvəlki bölmənin alt + növbətinin üst padding-i) */
@media (min-width: 961px) {
  .contact-hero {
    padding-bottom: 160px; /* xəritə şəkildir, öz padding-i yoxdur */
  }
}
