/* ===================== СТРАНИЦА КОНТАКТОВ ===================== */

/* запас под фиксированную шапку */
.kc-main--contacts {
  padding-top: 10px;
}

/* ===================== HERO ===================== */

.kc-contacts-hero {
  padding: 80px 16px 40px;
  background: #ffffff;
}

.kc-contacts-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.kc-contacts-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

/* левая часть hero */

.kc-contacts-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2fb48f;
  background: rgba(47, 180, 143, 0.08);
  border: 1px solid rgba(47, 180, 143, 0.3);
}

.kc-contacts-hero__title {
  margin: 16px 0 8px;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  color: #0d2b5b;
}

.kc-contacts-hero__title span {
  background: linear-gradient(90deg, #0f73c9, #2fb48f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kc-contacts-hero__subtitle {
  margin: 0 0 16px;
  font-size: 15px;
  color: #5a6d84;
  max-width: 560px;
}

.kc-contacts-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.kc-contacts-hero__chips span {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f7fc;
  color: #41526b;
}

/* кнопки hero */

.kc-contacts-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.kc-contacts-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.kc-contacts-hero__btn--primary {
  background: linear-gradient(135deg, #0f73c9, #2fb48f);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 115, 201, 0.32);
}

.kc-contacts-hero__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 115, 201, 0.42);
}

.kc-contacts-hero__btn--ghost {
  background: #ffffff;
  color: #0f73c9;
  border: 1px solid rgba(15, 115, 201, 0.2);
  box-shadow: 0 8px 20px rgba(11, 45, 90, 0.08);
}

.kc-contacts-hero__btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(15, 115, 201, 0.04);
}

/* правая карточка hero */

.kc-contacts-hero__card {
  border-radius: 24px;
  padding: 18px 18px 18px;
  background: radial-gradient(
      160% 180% at 0% 0%,
      rgba(234, 245, 255, 0.96),
      rgba(255, 255, 255, 1)
    ),
    #ffffff;
  box-shadow: 0 22px 54px rgba(12, 35, 76, 0.18);
  border: 1px solid rgba(15, 115, 201, 0.06);
}

.kc-contacts-hero__card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #0f73c9;
  background: rgba(15, 115, 201, 0.08);
  margin-bottom: 10px;
}

.kc-contacts-hero__card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #0d2b5b;
}

.kc-contacts-hero__card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #4c5f7c;
}

.kc-contacts-hero__card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
  color: #4c5f7c;
}

.kc-contacts-hero__card-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 4px;
}

.kc-contacts-hero__card-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #2fb48f;
}

.kc-contacts-hero__card-phone {
  margin: 6px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kc-contacts-hero__card-phone span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #7a8da5;
}

.kc-contacts-hero__card-phone a {
  font-size: 18px;
  font-weight: 800;
  color: #0f73c9;
  text-decoration: none;
}

.kc-contacts-hero__card-phone a:hover {
  text-decoration: underline;
}

.kc-contacts-hero__card-btn {
  width: 100%;
  margin-top: 4px;
  border-radius: 14px;
  border: 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(120deg, #0f73c9, #2fb48f);
  box-shadow: 0 14px 36px rgba(15, 115, 201, 0.3);
}

.kc-contacts-hero__card-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(15, 115, 201, 0.38);
}

/* мобилка hero */

@media (max-width: 960px) {
  .kc-contacts-hero__layout {
    grid-template-columns: 1fr;
  }

  .kc-contacts-hero__card {
    max-width: 460px;
    margin: 18px auto 0;
  }
}

@media (max-width: 640px) {
  .kc-contacts-hero {
    padding: 72px 16px 32px;
  }

  .kc-contacts-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .kc-contacts-hero__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===================== КОНТАКТЫ + КАРТА ===================== */

.kc-contacts-main {
  padding: 20px 16px 64px;
  background: #ffffff;
}

.kc-contacts-main__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: flex-start;
}

/* левая колонка */

.kc-contacts-info__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #0d2b5b;
}

.kc-contacts-info__text {
  margin: 0 0 18px;
  font-size: 14px;
  color: #5a6d84;
  max-width: 520px;
}

.kc-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.kc-contacts-card {
  border-radius: 16px;
  padding: 14px 14px 12px;
  background: #f7f9ff;
  box-shadow: 0 10px 26px rgba(9, 30, 66, 0.06);
  border: 1px solid rgba(15, 115, 201, 0.07);
}

.kc-contacts-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f2a4d;
}

.kc-contacts-card p {
  margin: 0;
  font-size: 13px;
  color: #4c5f7c;
  line-height: 1.5;
}

.kc-contacts-card a {
  color: #0f73c9;
  text-decoration: none;
}

.kc-contacts-card a:hover {
  text-decoration: underline;
}

.kc-contacts-highlight {
  margin-top: 10px;
  font-size: 13px;
  color: #845012;
  background: #fff6e5;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(243, 199, 125, 0.6);
}

/* правая колонка — карта */

.kc-contacts-map {
  border-radius: 22px;
  padding: 18px 18px 16px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(9, 30, 66, 0.1);
  border: 1px solid rgba(15, 115, 201, 0.06);
}

.kc-contacts-map__head h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #0d2b5b;
}

.kc-contacts-map__head p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #5a6d84;
}

.kc-contacts-map__frame {
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at 0% 0%, #2fb48f, #0f73c9);
  padding: 2px;
  margin-bottom: 8px;
}

.kc-contacts-map__frame iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 16px;
}

.kc-contacts-map__hint {
  margin: 0;
  font-size: 12px;
  color: #4c5f7c;
}

/* адаптив для блока контактов */

@media (max-width: 960px) {
  .kc-contacts-main__inner {
    grid-template-columns: 1fr;
  }

  .kc-contacts-map {
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .kc-contacts-main {
    padding: 12px 16px 52px;
  }

  .kc-contacts-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================== ФОРМА ОБРАТНОЙ СВЯЗИ ===================== */

/* ===================== ФОРМА ОБРАТНОЙ СВЯЗИ (НОВАЯ) ===================== */

.kc-contact-form-section {
  padding: 40px 16px 80px;
  background: #ffffff;
}

.kc-contact-form-card {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 24px 24px 22px;
  background:
    radial-gradient(160% 180% at 0% 0%, #eaf5ff, #ffffff),
    #ffffff;
  box-shadow: 0 20px 54px rgba(12, 35, 76, 0.14);
  border: 1px solid rgba(15, 115, 201, 0.06);
}

/* Заголовок */

.kc-contact-form-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #0d2b5b;
}

.kc-contact-form-head p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #5a6d84;
}

/* Чипы под заголовком */

.kc-contact-form-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.kc-contact-form-tags span {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 115, 201, 0.06);
  color: #29527c;
}

/* ==== СЕТКА ФОРМЫ ==== */

.kc-contact-form {
  display: grid;
  gap: 16px;
  margin-top: 6px;
}

.kc-contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Поля */

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

.kc-contact-label {
  font-size: 13px;
  font-weight: 600;
  color: #394b61;
}

/* Инпуты / select / textarea */

.kc-contact-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  padding: 10px 12px;
  font-size: 14px;
  color: #0b1f33;
  background-color: #ffffff;
  outline: none;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.kc-contact-input::placeholder {
  color: #94a3b8;
}

.kc-contact-input:focus {
  border-color: #0f73c9;
  box-shadow:
    0 0 0 2px rgba(15, 115, 201, 0.2),
    0 6px 18px rgba(15, 23, 42, 0.14);
}

/* textarea чуть повыше */

.kc-contact-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Чекбокс */

.kc-contact-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #5f6f86;
  margin-top: 4px;
}

.kc-contact-checkbox input[type="checkbox"] {
  margin-top: 3px;
}

/* Кнопка отправки */

.kc-contact-submit {
  margin-top: 10px;
}

/* Подсказка снизу */

.kc-contact-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
  text-align: left;
}

/* Адаптив */

@media (max-width: 640px) {
  .kc-contact-form-section {
    padding: 34px 14px 68px;
  }

  .kc-contact-form-card {
    padding: 20px 14px 18px;
  }

  .kc-contact-form-row {
    grid-template-columns: 1fr;
  }
}
