/* Выпадающий список — общий компонент ads-dd (как на «Стать партнёром»). */
@import url('../components/ads-dd.css?v=20261016-3');
/* ===================== ДЛЯ ПРОФЕССИОНАЛОВ (/professionalam) =====================
   ТЗ владельца 05.10.2026. Тексты — Pages/ProfessionalamContent.cs, классы с префиксом pro-.
   Заголовки h1–h4 — Lora глобально, свой font-family здесь не задаём. */

.pro-page { padding: 8px 56px 64px; }
.pro-page [id] { scroll-margin-top: calc(var(--header-height, 70px) + 16px); }

.pro-eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
}
.pro-h2 { margin: 0; font-size: 34px; line-height: 1.15; color: var(--ink); }
.pro-h3 { margin: 0; font-size: 20px; line-height: 1.3; color: var(--ink); }
.pro-sub { margin: 8px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--ink-3); max-width: 760px; }
.pro-text { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-3); }

.pro-section { margin-top: 56px; }
.pro-head { margin-bottom: 24px; }

/* ——— Кнопки и ссылки ——— */
.pro-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.pro-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1.25; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.pro-btn [data-lucide], .pro-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.pro-btn--primary { background: var(--green-600); color: #fff; }
.pro-btn--primary:is(:hover, :active, :focus-visible) { background: var(--green-700); color: #fff; }
.pro-btn--primary:disabled { opacity: .7; cursor: wait; }
.pro-btn--ghost { background: #fff; color: var(--green-700); border-color: var(--line); }
.pro-btn--ghost:hover { border-color: var(--green-500); }
.pro-btn--outline { background: transparent; color: var(--green-700); border-color: var(--green-500); }
.pro-btn--outline:hover { background: var(--green-50); }
.pro-btn:focus-visible,
.pro-link:focus-visible,
.pro-dir:focus-visible,
.pro-book:focus-visible,
.pro-icon:focus-visible,
.pro-chip:focus-visible,
.pro-faq__q:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }

.pro-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-700); font-weight: 600; font-size: 15px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.pro-link [data-lucide], .pro-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.pro-link:hover { color: var(--green-600); text-decoration-thickness: 2px; }
.pro-link--btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* ===== 1. Первый экран ===== */
.pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}
.pro-hero--noimg { grid-template-columns: minmax(0, 1fr); }
.pro-hero--noimg .pro-hero__text { max-width: 860px; }
.pro-hero__title { margin: 0; font-size: 46px; line-height: 1.12; color: var(--ink); }
.pro-hero__sub { margin: 18px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); font-weight: 600; }
.pro-hero__lead { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-3); }
.pro-hero__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 22px; background: var(--line-2);
}
.pro-hero__media img { object-fit: cover; }

/* ===== 2. Направления ===== */
.pro-dirs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.pro-dirs > li { display: flex; }
.pro-dir {
  position: relative;
  display: flex; flex-direction: column; gap: 14px; width: 100%;
  padding: 20px 20px 22px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.pro-dir:hover { border-color: var(--green-500); box-shadow: 0 18px 36px -26px rgba(20,24,26,.3); }
.pro-dir__ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-600);
}
.pro-dir__ico [data-lucide], .pro-dir__ico svg { width: 24px; height: 24px; }
.pro-dir__body { display: flex; flex-direction: column; gap: 4px; padding-right: 22px; }
.pro-dir__title { font-weight: 700; font-size: 16.5px; line-height: 1.3; color: var(--ink); }
.pro-dir__sub { font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.pro-dir__go { position: absolute; right: 18px; bottom: 20px; width: 18px; height: 18px; color: var(--green-600); }

/* ===== 3. Материалы ===== */
.pro-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pro-mat {
  display: flex; flex-direction: column;
  border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden;
}
.pro-mat__vis {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  margin: 0; background: var(--line-2); border-bottom: 1px solid var(--line);
}
/* Скриншоты — верхний левый угол страницы, там заголовок раздела. */
.pro-mat__vis--shot img { object-fit: cover; object-position: 0 0; }
.pro-mat__cap { margin: 10px 20px 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.pro-mat__cap a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pro-mat__body { display: flex; flex-direction: column; padding: 14px 20px 22px; flex: 1 1 auto; }
.pro-mat__body .pro-h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.pro-mat__ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-600);
}
.pro-mat__ico [data-lucide], .pro-mat__ico svg { width: 18px; height: 18px; }
.pro-mat__body .pro-text { flex: 1 1 auto; }
.pro-mat__links { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pro-link--main { font-weight: 700; }

/* До / после: две половины, каждая — левая часть кадра. Водяной знак у фото отчётов стоит справа
   (значок 255–330 px от правого края при ширине 940), в узкую половину он не попадает. */
.pro-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.pro-ba__half { position: relative; display: block; overflow: hidden; background: var(--line-2); }
.pro-ba__half img { object-fit: cover; }
.pro-ba__half--before img { object-position: 22% 50%; }
.pro-ba__half--after img { object-position: 0 50%; }
.pro-ba__tag {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(20,24,26,.72); color: #fff; font-size: 12.5px; font-weight: 700;
}
.pro-ba__tag--after { background: var(--green-600); }

/* Обложки книг */
.pro-books {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  align-content: center; padding: 14px; background: var(--green-50);
}
.pro-book { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; min-width: 0; }
.pro-book__pic {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 8px; background: var(--line-2); box-shadow: 0 6px 14px -8px rgba(20,24,26,.4);
}
.pro-book__title { font-size: 12.5px; line-height: 1.3; font-weight: 600; }
.pro-book:hover .pro-book__title { color: var(--green-700); text-decoration: underline; }

/* Иконки услуг */
.pro-icons {
  list-style: none; padding: 16px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: center;
  background: var(--green-50);
}
.pro-icon {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  height: 100%; padding: 10px 6px; border-radius: 12px; background: #fff;
  color: var(--ink-2); font-size: 13px; font-weight: 600; text-align: center; text-decoration: none;
}
.pro-icon:hover { color: var(--green-700); }
.pro-icon__ico { color: var(--green-600); }
.pro-icon__ico [data-lucide], .pro-icon__ico svg { width: 24px; height: 24px; }

/* ===== 4. Аудитории ===== */
.pro-auds { display: flex; flex-direction: column; gap: 20px; }
.pro-aud {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 32px; border-radius: 22px; background: #fff; border: 1px solid var(--line);
}
.pro-aud--noimg { grid-template-columns: minmax(0, 1fr); }
.pro-aud--noimg .pro-aud__text { max-width: 860px; }
.pro-aud__kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font-size: 13.5px; font-weight: 600; color: var(--green-700);
}
.pro-aud__ico {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-600);
}
.pro-aud__ico [data-lucide], .pro-aud__ico svg { width: 19px; height: 19px; }
.pro-aud__title { margin: 0; font-size: 27px; line-height: 1.2; color: var(--ink); }
.pro-aud__label {
  margin: 18px 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.pro-aud__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pro-aud__extra { font-weight: 600; }
.pro-aud__media { margin: 0; }
.pro-aud__pic {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 16px; background: var(--line-2);
}
.pro-aud__pic img { object-fit: cover; }
.pro-aud__media figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pro-aud:nth-child(even) { background: var(--page); }

/* ===== 5. Форматы ===== */
.pro-fmts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pro-fmt {
  display: flex; flex-direction: column;
  padding: 26px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
}
.pro-fmt__ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-50); color: var(--green-600);
}
.pro-fmt__ico [data-lucide], .pro-fmt__ico svg { width: 26px; height: 26px; }
.pro-fmt__for { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pro-fmt__label { font-weight: 700; }
.pro-fmt .pro-text { flex: 1 1 auto; }
.pro-fmt__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 20px; }
.pro-fmt__actions .pro-btn { width: 100%; }

/* ===== 6. Как начать ===== */
.pro-steps {
  list-style: none; margin: 0; padding: 0; counter-reset: pro-step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.pro-step {
  counter-increment: pro-step; position: relative;
  padding: 24px 24px 26px 84px; border-radius: 18px; background: #fff; border: 1px solid var(--line);
}
.pro-step::before {
  content: counter(pro-step);
  position: absolute; left: 24px; top: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-600); color: #fff; font-weight: 700; font-size: 18px;
}
.pro-step .pro-h3 { font-size: 18px; }

/* ===== 7. Вопросы ===== */
.pro-faq { display: flex; flex-direction: column; gap: 10px; max-width: 980px; }
.pro-faq__item { border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.pro-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 16px; line-height: 1.4; color: var(--ink); border-radius: 14px;
}
.pro-faq__q::-webkit-details-marker { display: none; }
.pro-faq__q [data-lucide], .pro-faq__q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-600); transition: transform .2s; }
.pro-faq__item[open] .pro-faq__q svg { transform: rotate(180deg); }
.pro-faq__a { margin: 0; padding: 0 20px 18px; font-size: 15.5px; line-height: 1.6; color: var(--ink-3); }

/* ===== 8. Форма ===== */
.pro-form-card {
  max-width: 860px; padding: 32px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line);
}
.pro-form { display: flex; flex-direction: column; gap: 18px; }
.pro-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; }
.pro-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pro-fieldset { border: 0; margin: 0; padding: 0; }
.pro-field__label { padding: 0; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.pro-fieldset > .pro-field__label { margin-bottom: 8px; }
.pro-opt { font-weight: 500; color: var(--muted); font-size: 13px; }
.pro-req { color: #B42318; }
.pro-input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; font-size: 15.5px; color: var(--ink);
}
.pro-input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(60,139,79,.18); }
.pro-input[aria-invalid="true"] { border-color: #B42318; }
.pro-textarea { height: 140px; min-height: 110px; max-height: 280px; resize: vertical; overflow-y: auto; }
.pro-select { appearance: auto; }
.pro-chip {
  align-self: flex-start; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--page); color: var(--ink-3);
  font: inherit; font-size: 13px; cursor: pointer;
}
.pro-chip:hover { border-color: var(--green-500); color: var(--green-700); }
.pro-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.pro-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--ink-2); cursor: pointer; }
.pro-check input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--green-600); }
.pro-check input:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; }
.pro-check--agree { font-size: 14px; color: var(--ink-3); }
.pro-check--agree a { color: var(--green-700); }
.pro-error {
  padding: 14px 16px; border-radius: 12px; background: #FEF3F2; border: 1px solid #FDA29B; color: #912018;
  font-size: 14.5px; line-height: 1.5;
}
.pro-error p { margin: 0; }
.pro-error__alt { margin-top: 8px !important; color: var(--ink-2); }
.pro-error a { color: var(--green-700); font-weight: 600; }
.pro-form__submit { align-self: flex-start; min-width: 240px; }
.pro-form__note { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
/* Ловушка для ботов — вне экрана, не display:none (часть ботов такие поля пропускает). */
.pro-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pro-done { display: flex; gap: 16px; align-items: flex-start; outline: none; }
.pro-done__ico {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: var(--green-600); color: #fff;
}
.pro-done__ico [data-lucide], .pro-done__ico svg { width: 24px; height: 24px; }
.pro-done__title { font-size: 20px; color: var(--ink); }
.pro-done p { margin: 6px 0 10px; color: var(--ink-3); }

/* ===== 9. Частным заказчикам ===== */
.pro-private {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 56px; padding: 20px 24px; border-radius: 16px;
  background: var(--page); border: 1px dashed var(--line);
}
.pro-private__title { margin: 0; font-size: 19px; color: var(--ink); }
.pro-private p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-3); }
.pro-private .pro-btn { flex-shrink: 0; }

/* ===== Адаптив ===== */

/* Список формата — во всю ширину поля, в высоту как остальные поля; плейсхолдер серым (05.10.2026) */
.pro-page .ads-dd, .pro-field .ads-dd { width: 100%; }
.pro-field .ads-dd__btn { width: 100%; }
.pro-field .ads-dd__value.is-placeholder { color: var(--muted); font-weight: 500; }

/* Книги: фото автора с главных страниц книг — вертикаль 2:3, целиком (05.10.2026) */
.pro-book__pic { aspect-ratio: 2 / 3; background: #2b2f30; }
.pro-book__pic img { object-fit: cover; object-position: 50% 0; }
.pro-field .ads-dd__btn { min-height: 48px; border-radius: 12px; font-size: 15.5px; }
