@import url('../components/ads-dd.css?v=20261016-3');
/* Страница «Контакты» (/kontakty) по макету владельца: тёмная шапка с фото, три канала связи,
   форма заявки с карточкой-цитатой, полоса преимуществ, быстрые ответы и призыв внизу.
   Все классы с префиксом kt-. */

/* Светлая полоса между меню и тёмной шапкой страницы. Две причины: у .header-bg снизу
   полупрозрачная белая граница (на светлых страницах её не видно, на тёмной — видно) и
   полупиксельный зазор: шапка кончается на 79.5px, а main отступает ровно на 80px
   (--header-height округляется вверх). Граница здесь не нужна, зазор перекрываем. */
body:has(.kt-page) .header-bg { border-bottom-color: transparent; }

.kt-page {
  margin-top: -1px;
  --kt-green: var(--green-700);
  --kt-green-2: var(--green-600);
  --kt-dark: #0e1411;
  --kt-radius: 16px;
  --kt-shadow: 0 1px 2px rgba(20, 24, 26, .04), 0 12px 32px -18px rgba(20, 24, 26, .18);
  background: var(--page);
  color: var(--ink);
}

.kt-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.kt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.kt-section { padding: 48px 0 0; }

.kt-h2 {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.kt-sub {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-3);
}

.kt-eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--kt-green);
}

.kt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s;
}

.kt-btn :is(i, svg) { width: 17px; height: 17px; flex: none; }
.kt-btn--primary { background: var(--kt-green); color: #fff; }
.kt-btn--primary:hover { background: var(--kt-green-2); color: #fff; }
.kt-btn--primary:disabled { opacity: .65; cursor: default; }
.kt-btn--light { background: #fff; color: var(--ink); }
.kt-btn--light:hover { background: var(--green-50); color: var(--ink); }

.kt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--kt-green);
  text-decoration: none;
}

.kt-link :is(i, svg) { width: 16px; height: 16px; }
.kt-link:hover { color: var(--kt-green-2); }

/* Содержимое страниц лежит в .shell (максимум 1440px). Шапка и нижняя полоса должны доходить до
   краёв экрана на любой ширине, поэтому выходят из обёртки. Лишние пиксели от полосы прокрутки
   срезает body { overflow-x: clip } из core.css. Текст внутри остаётся на одной вертикали с
   остальными блоками: и .shell, и эти секции центрированы. */
.kt-hero,
.kt-cta {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* ——— шапка ——— */
.kt-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--kt-dark);
  color: #fff;
}

.kt-hero__media,
.kt-cta__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.kt-hero__img,
.kt-cta__img,
.kt-quote__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kt-hero__img { object-position: 78% 40%; }

/* Текст слева читается по затемнению, фото справа остаётся живым. */
.kt-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 10, .94) 0%, rgba(8, 12, 10, .82) 36%, rgba(8, 12, 10, .35) 62%, rgba(8, 12, 10, .1) 100%),
    linear-gradient(0deg, rgba(8, 12, 10, .35) 0%, transparent 40%);
}

.kt-hero__inner { padding-block: 4px 44px; }

.kt-hero .breadcrumbs { padding: 16px 0 26px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.kt-hero .breadcrumbs__link { color: rgba(255, 255, 255, .88); }
.kt-hero .breadcrumbs__sep { color: rgba(255, 255, 255, .5); }
.kt-hero .breadcrumbs__current { color: rgba(255, 255, 255, .72); }

.kt-hero__title {
  margin: 0 0 18px;
  font-family: 'Lora', Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.02;
  color: #fff;
}

.kt-hero__lead {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .86);
}

.kt-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kt-hero__fact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .86);
}

.kt-hero__fact-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
}

.kt-hero__fact-ico :is(i, svg) { width: 20px; height: 20px; }

/* ——— каналы связи ——— */
.kt-channels__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.kt-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--green-50);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  text-decoration: none;
}

.kt-trust:hover { color: var(--kt-green); }
.kt-trust__ico { color: var(--kt-green); }
.kt-trust__ico :is(i, svg) { width: 26px; height: 26px; }

.kt-channels__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.kt-channel {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--kt-radius);
  background: #f3f2ee;
}

.kt-channel--whatsapp { background: #eaf3e8; }
.kt-channel--telegram { background: #e8f3fa; }

.kt-channel__top {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.kt-channel__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  background: var(--kt-green);
  color: #fff;
}

.kt-channel__ico :is(i, svg) { width: 24px; height: 24px; }
.kt-channel--whatsapp .kt-channel__ico { background: #1f9d55; }
.kt-channel--whatsapp .kt-channel__ico svg { width: 26px; height: 26px; }
.kt-channel--telegram .kt-channel__ico { background: #229ed9; }
.kt-channel--telegram .kt-channel__ico svg { margin-left: -2px; }

.kt-channel__title {
  margin: 2px 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.kt-channel__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

.kt-channel__btn { width: 100%; margin-top: auto; }

/* Высота подписи — три строки у всех карточек: иначе кнопки в соседних карточках встают на разной высоте. */
.kt-channel__note {
  min-height: 4.5em;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}

.kt-channel__value {
  display: block;
  font-weight: 700;
  color: var(--ink-2);
}

/* ——— форма и карточка-цитата ——— */
.kt-request__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.kt-form-card {
  padding: 30px 30px 24px;
  border-radius: var(--kt-radius);
  background: #fff;
  box-shadow: var(--kt-shadow);
}

.kt-form-card__title { margin-top: 2px; }

.kt-form { margin-top: 24px; }

.kt-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kt-field {
  position: relative;
  display: block;
  margin-bottom: 14px;
}

.kt-field :is(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}

.kt-field :is(input, select, textarea)::placeholder { color: var(--muted); }

.kt-field :is(input, select, textarea):focus {
  outline: 0;
  border-color: var(--kt-green-2);
  box-shadow: 0 0 0 3px rgba(44, 122, 63, .12);
}

.kt-field--select select {
  padding-right: 44px;
  appearance: none;
  cursor: pointer;
}

.kt-field--select select.is-empty { color: var(--muted); }

.kt-field--select > :is(i, svg) {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 16px;
  color: var(--ink-3);
  transform: translateY(-50%);
  pointer-events: none;
}

.kt-field--area {
  padding: 12px 16px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.kt-field--area:focus-within {
  border-color: var(--kt-green-2);
  box-shadow: 0 0 0 3px rgba(44, 122, 63, .12);
}

.kt-field__label {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
}

.kt-field--area textarea {
  min-height: 72px;
  max-height: 260px;
  padding: 4px 0;
  border: 0;
  resize: vertical;
}

.kt-field--area textarea:focus { box-shadow: none; }

.kt-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.kt-photos__item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--line-2);
}

.kt-photos__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.kt-photos__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 20, 17, .72);
  cursor: pointer;
}

.kt-photos__remove svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 2.5; fill: none; }

.kt-form__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.kt-attach {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s;
}

.kt-attach:hover,
.kt-attach:focus-within { border-color: var(--kt-green-2); }
.kt-attach.is-full { cursor: default; opacity: .7; }
.kt-attach > :is(i, svg) { width: 20px; height: 20px; flex: none; color: var(--kt-green); }
.kt-attach strong { display: block; font-size: 13px; color: var(--ink); }
.kt-attach small { display: block; font-size: 12px; color: var(--muted); }

.kt-form__submit { min-height: 56px; }

.kt-form__error {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: #b3261e;
}

.kt-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.kt-form__privacy :is(i, svg) { width: 15px; height: 15px; }

.kt-done {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 12px;
  background: var(--green-50);
}

.kt-done__ico { color: var(--kt-green); }
.kt-done__ico :is(i, svg) { width: 26px; height: 26px; }
.kt-done strong { display: block; margin-bottom: 4px; font-size: 16px; }
.kt-done p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.kt-done a { color: var(--kt-green); }

.kt-quote {
  position: relative;
  min-height: 460px;
  margin: 0;
  border-radius: var(--kt-radius);
  overflow: hidden;
  background: var(--kt-dark);
}

.kt-quote picture { position: absolute; inset: 0; }
.kt-quote__img { object-position: 50% 30%; }

.kt-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 12, 10, .9) 0%, rgba(8, 12, 10, .55) 42%, rgba(8, 12, 10, .05) 72%);
}

.kt-quote__body {
  position: absolute;
  inset: auto 32px 30px;
  z-index: 1;
  color: #fff;
}

.kt-quote__text {
  max-width: 300px;
  margin: 0 0 18px;
  font-family: 'Lora', Georgia, serif;
  font-size: 27px;
  line-height: 1.25;
}

.kt-quote__note {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .45);
  max-width: 220px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}

/* ——— преимущества ——— */
.kt-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
  padding: 4px 16px;
  border-radius: var(--kt-radius);
  background: #fff;
  box-shadow: var(--kt-shadow);
}

.kt-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.kt-benefit__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--kt-green);
}

.kt-benefit__ico :is(i, svg) { width: 21px; height: 21px; }

/* ——— быстрые ответы ——— */
.kt-faq__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.kt-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  align-items: start;
}

.kt-faq__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.kt-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.kt-faq__item summary::-webkit-details-marker { display: none; }

.kt-faq__plus {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--ink-2);
  stroke-width: 2;
  fill: none;
  transition: transform .2s;
}

.kt-faq__item[open] .kt-faq__plus { transform: rotate(45deg); }

.kt-faq__item p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ——— призыв внизу ——— */
.kt-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 56px;
  background: var(--kt-dark);
  color: #fff;
}

.kt-cta__img { object-position: 30% 55%; }

.kt-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 10, .25) 0%, rgba(8, 12, 10, .82) 32%, rgba(8, 12, 10, .9) 100%);
}

.kt-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 200px;
  padding-block: 36px;
}

.kt-cta__copy { margin-left: min(26%, 300px); }

.kt-cta__title {
  margin: 0 0 12px;
  font-family: 'Lora', Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.12;
  color: #fff;
}

.kt-cta__copy p {
  max-width: 440px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}

.kt-cta .kt-btn { flex: none; }

/* ——— адаптив ——— */

/* Тема обращения — ads-dd вместо нативного select: по высоте и рамке как поля формы. */
.kt-field--dd .ads-dd__btn { min-height: 48px; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 400; }
.kt-field--dd .ads-dd__value.is-placeholder { color: var(--muted); }
.kt-field--dd .ads-dd__menu { z-index: 30; }
