/* ==========================================================================
   site-custom.css — стили новых блоков Fulfillment KG
   (тексты страниц, прайс-лист, FAQ, форма обратной связи, блок «Услуги байера»)
   Цвета и шрифт соответствуют теме сайта: индиго #3100B5 → пурпур #590081, розовая кнопка.
   ========================================================================== */
:root {
  --fk-indigo: #3100B5;
  --fk-purple: #590081;
  --fk-pink: #EC4899;
  --fk-coral: #FB7185;
  --fk-bg: #F4F8F9;
  --fk-lilac: #EEEAFB;
  --fk-text: #2a2a2a;
  --fk-muted: #5b6270;
  --fk-line: #e3e8ee;
}

.fk-prose, .fk-contacts, .fk-buyer, .fk-btn, .fk-hero-extra, .fk-mp, .fk-form, .fk-faq {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--fk-text);
  box-sizing: border-box;
}
.fk-prose *, .fk-contacts *, .fk-buyer * { box-sizing: border-box; }

/* ---------- Текстовые страницы ---------- */
.fk-page { width: 100%; }
.fk-prose { max-width: 100%; font-size: 17px; line-height: 1.7; padding: 4px 0 24px; }
.fk-prose h2 { font-size: 28px; line-height: 1.25; font-weight: 700; margin: 44px 0 14px; color: var(--fk-text); }
.fk-prose h3 { font-size: 20px; line-height: 1.3; font-weight: 600; margin: 26px 0 10px; }
.fk-prose p { margin: 0 0 14px; }
.fk-prose a { color: var(--fk-indigo); text-decoration: underline; text-underline-offset: 3px; }
.fk-prose a.fk-btn, .fk-prose a.fk-card { text-decoration: none; }
.decor-wrap p.fk-lead { font-size: 20px; line-height: 1.6; font-weight: 500; color: #1f1f1f; }
.decor-wrap p.fk-small { font-size: 14px; line-height: 1.55; color: var(--fk-muted); }

.fk-list { list-style: none; padding: 0; margin: 0 0 18px; }
.fk-list li { position: relative; padding-left: 34px; margin: 0 0 10px; }
.fk-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--fk-indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fk-steps { counter-reset: fks; list-style: none; padding: 0; margin: 0 0 22px; }
.fk-steps li { counter-increment: fks; position: relative; padding: 16px 20px 16px 70px; background: var(--fk-bg); border-radius: 18px; margin-bottom: 10px; }
.fk-steps li::before {
  content: counter(fks); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--fk-indigo); color: #fff; font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 10px 14px -8px rgba(49, 0, 181, .7);
}
.fk-result { background: var(--fk-lilac); border-left: 4px solid var(--fk-indigo); padding: 14px 20px; border-radius: 14px; margin: 20px 0; }
.fk-note { background: #FFF6E5; border-left: 4px solid #F2A900; padding: 14px 20px; border-radius: 14px; margin: 18px 0; font-size: 16px; }

/* ---------- Кнопки ---------- */
.fk-btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 15px 30px; border-radius: 60px; font-weight: 600; font-size: 16px; line-height: 1.25;
  color: #fff !important; text-decoration: none !important; cursor: pointer;
  background-image: linear-gradient(35deg, var(--fk-pink) 0%, var(--fk-coral) 100%);
  border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fk-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(236, 72, 153, .75); }
.fk-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff !important; }
.fk-btn--ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: none; }
.fk-btn--ghost-dark { background: transparent; border-color: var(--fk-indigo); color: var(--fk-indigo) !important; }
.fk-btn--ghost-dark:hover { background: var(--fk-lilac); box-shadow: none; }
.fk-btn--wa { background: #25D366; }
.fk-btn--light { background: #fff; color: var(--fk-indigo) !important; }

.fk-hero-extra { margin-top: 14px; position: relative; z-index: 1; }

/* ---------- Блок призыва ---------- */
.fk-cta {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  margin: 48px 0 8px; padding: 32px 36px; border-radius: 28px; color: #fff;
  background: linear-gradient(120deg, var(--fk-indigo) 0%, var(--fk-purple) 100%);
}
.fk-cta__title { font-size: 26px; line-height: 1.25; font-weight: 700; margin-bottom: 8px; }
.decor-wrap .fk-cta p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 520px; font-size: 16px; line-height: 1.55; }
.fk-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Карточки услуг и «Полный пакет» ---------- */
.fk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin: 8px 0 28px; }
.fk-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--fk-bg); border-radius: 22px; color: var(--fk-text) !important; font-size: 15px; line-height: 1.55; transition: transform .25s ease, box-shadow .25s ease; }
.fk-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(49, 0, 181, .45); }
.fk-card__t { font-size: 20px; font-weight: 700; color: var(--fk-indigo); }
.fk-pack { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; margin: 30px 0; padding: 30px; border-radius: 28px; background: var(--fk-lilac); }
.fk-pack__price { font-size: 38px; line-height: 1.1; font-weight: 800; color: var(--fk-indigo); min-width: 190px; }
.fk-pack__price small { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--fk-muted); }
.fk-pack h3 { margin-top: 0; }
.fk-pack > div:last-child { flex: 1 1 360px; }

/* ---------- Прайс ---------- */
.fk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.fk-chips a { padding: 8px 15px; border-radius: 30px; background: var(--fk-bg); color: var(--fk-indigo); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .2s; }
.fk-chips a:hover { background: var(--fk-lilac); }
.fk-tablewrap { overflow-x: auto; margin: 12px 0 14px; border: 1px solid var(--fk-line); border-radius: 18px; }
.fk-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.fk-table th { background: var(--fk-indigo); color: #fff; text-align: left; padding: 13px 18px; font-weight: 600; font-size: 15px; }
.fk-table td { padding: 13px 18px; border-top: 1px solid var(--fk-line); vertical-align: top; }
.fk-table tbody tr:nth-child(even) td { background: #fafbfd; }
.fk-table th:last-child, .fk-table td:last-child { text-align: right; white-space: nowrap; }
.fk-table td b { color: var(--fk-indigo); }
.fk-prose h2[id] { scroll-margin-top: 20px; }

/* ---------- FAQ ---------- */
.fk-faq { margin: 22px 0 8px; }
.fk-faq__item { border: 1px solid var(--fk-line); border-radius: 18px; margin-bottom: 12px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.fk-faq__item[open] { border-color: #cfc4f4; box-shadow: 0 14px 30px -22px rgba(49, 0, 181, .6); }
.fk-faq__item summary { list-style: none; cursor: pointer; padding: 19px 64px 19px 22px; font-size: 18px; font-weight: 600; line-height: 1.4; position: relative; }
.fk-faq__item summary::-webkit-details-marker { display: none; }
.fk-faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--fk-lilac); color: var(--fk-indigo);
  display: grid; place-items: center; font-size: 22px; font-weight: 500; line-height: 1;
}
.fk-faq__item[open] summary::after { content: "–"; background: var(--fk-indigo); color: #fff; }
.fk-faq__a { padding: 0 22px 8px; color: #3a3f4a; }

/* ---------- Контакты + форма ---------- */
.fk-contacts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: start; padding: 4px 0 24px; }
.decor-wrap .fk-contacts p.fk-lead { margin: 0 0 22px; }
.fk-dl { margin: 0 0 24px; display: grid; grid-template-columns: 130px 1fr; gap: 14px 18px; font-size: 17px; line-height: 1.5; }
.fk-dl dt { color: var(--fk-muted); font-size: 14px; padding-top: 3px; text-transform: uppercase; letter-spacing: .04em; }
.fk-dl dd { margin: 0; font-weight: 500; }
.fk-dl a { color: var(--fk-indigo); text-decoration: none; }
.fk-dl a:hover { text-decoration: underline; }
.fk-social { display: flex; gap: 12px; }
.fk-social__i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s; }
.fk-social__i:hover { transform: translateY(-3px); }
.fk-social__i svg { width: 26px; height: 26px; }
.fk-social__i--ig { background: linear-gradient(45deg, #f9a03f 0%, #e1306c 50%, #833ab4 100%); }
.fk-social__i--tg { background: #27a7e7; }
.fk-social__i--wa { background: #25D366; }

.fk-form { background: var(--fk-bg); border-radius: 28px; padding: 32px; }
.fk-form h2 { margin: 0 0 6px; font-size: 26px; font-weight: 700; }
.decor-wrap p.fk-form__hint { margin: 0 0 20px; color: var(--fk-muted); font-size: 15px; }
.fk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fk-field { display: block; margin-bottom: 16px; }
.fk-field > span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.fk-field input, .fk-field select, .fk-field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid #d5dbe5; border-radius: 14px; background: #fff;
  font: inherit; font-size: 16px; color: var(--fk-text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.fk-field textarea { resize: vertical; min-height: 130px; }
.fk-field input:focus, .fk-field select:focus, .fk-field textarea:focus { border-color: var(--fk-indigo); box-shadow: 0 0 0 4px rgba(49, 0, 181, .12); }
.fk-field [aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.fk-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 4px 0 16px; cursor: pointer; }
.fk-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--fk-indigo); flex-shrink: 0; }
.fk-check a { color: var(--fk-indigo); }
.fk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.fk-form__error { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: #FDECEC; color: #b3262b; font-size: 15px; }
.fk-form__ok { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #E8F7EE; color: #11663a; font-size: 16px; line-height: 1.5; }
.fk-form__submit { width: 100%; font-size: 17px; }
.fk-form__submit[disabled] { opacity: .65; cursor: wait; transform: none; box-shadow: none; }
[hidden] { display: none !important; }

/* ---------- Главная: блок «Услуги байера» ---------- */
.fk-buyer {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center;
  padding: 52px; border-radius: 36px; color: #fff;
  background: linear-gradient(120deg, var(--fk-indigo) 0%, var(--fk-purple) 100%);
}
.fk-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 30px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.fk-buyer h2 { margin: 16px 0 14px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; font-weight: 700; color: #fff; }
.fk-buyer p { margin: 0 0 26px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.fk-buyer__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.fk-buyer__cards { display: grid; gap: 14px; }
.fk-bcard { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.fk-bcard img { width: 52px; height: 52px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); flex-shrink: 0; }
.fk-bcard b { display: block; font-size: 18px; font-weight: 600; }
.fk-bcard span { display: block; margin-top: 3px; font-size: 14px; color: rgba(255, 255, 255, .8); }

/* ---------- Главная: названия маркетплейсов вместо логотипов ---------- */
.fk-mp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; background: var(--fk-bg); border-radius: 20px; }
.fk-mp span { font-weight: 800; font-size: clamp(18px, 2.2vw, 30px); color: var(--fk-indigo); letter-spacing: -.01em; }

/* ---------- Логотип в подвале ---------- */
.fk-footer-logo { display: block; height: 48px; width: auto; margin: 0 0 14px; }

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .fk-contacts { grid-template-columns: 1fr; gap: 28px; }
  .fk-buyer { grid-template-columns: 1fr; padding: 34px 26px; gap: 28px; border-radius: 28px; }
  .fk-prose h2 { font-size: 24px; margin-top: 34px; }
  .decor-wrap p.fk-lead { font-size: 18px; }
}
@media (max-width: 600px) {
  .fk-prose { font-size: 16px; }
  .fk-form { padding: 22px 18px; border-radius: 22px; }
  .fk-form__row { grid-template-columns: 1fr; gap: 0; }
  .fk-dl { grid-template-columns: 1fr; gap: 2px; }
  .fk-dl dd { margin-bottom: 12px; }
  .fk-cta { padding: 26px 22px; border-radius: 22px; }
  .fk-cta__title { font-size: 22px; }
  .fk-cta__btns, .fk-cta__btns .fk-btn { width: 100%; }
  .fk-pack { padding: 22px; gap: 14px; }
  .fk-pack__price { font-size: 32px; }
  .fk-table { font-size: 14.5px; }
  .fk-table th, .fk-table td { padding: 11px 12px; }
  .fk-faq__item summary { font-size: 16px; padding: 16px 56px 16px 18px; }
  .fk-buyer__btns .fk-btn { width: 100%; }
}

/* ---------- Логотип в шапке: фиксированный размер значка ---------- */
.imageFit--u-ioa3uczhk { width: 78px; height: 68px; }
.imageFit--u-ioa3uczhk .imageFit__img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 600px) { .imageFit--u-ioa3uczhk { width: 54px; height: 47px; } }

@media (max-width: 600px) {
  .fk-mp { padding: 4px; border-radius: 14px; }
  .fk-mp span { font-size: 11.5px; letter-spacing: -.02em; overflow-wrap: anywhere; }
}

/* Иконки карточек услуг на главной: не обрезать на узких экранах */
.imageFit--u-ijgrl64a3 .imageFit__img { object-fit: contain; object-position: center 35%; }
