/* ============================================================
   Компоненты: кнопки, бейджи, поля, карточки
   ============================================================ */

/* ----------- Кнопки ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: var(--fw-semibold);
  font-size: var(--fz-16);
  line-height: 1.2;
  transition: background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease);
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-brand);
  color: var(--color-text-on-brand);
  box-shadow: 0 6px 16px rgba(19, 139, 69, 0.18);
}
.btn-primary:hover { background: var(--color-brand-dark); }

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn-secondary:hover { border-color: var(--color-text); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-surface-2); }

.btn-link {
  background: transparent;
  color: var(--color-brand);
  padding: 4px 0;
  border-radius: 0;
}
.btn-link:hover { color: var(--color-brand-dark); }

.btn-sm { padding: 8px 14px; font-size: var(--fz-14); border-radius: var(--r-sm); }
.btn-lg { padding: 16px 24px; font-size: var(--fz-18); }

.btn-icon-only {
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
}

/* ----------- Бейджи / пилюли ----------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fz-12);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-neutral {
  background: var(--color-surface);
  color: var(--color-text-2);
  border: 1px solid var(--color-border);
  font-weight: 700;
}
.pill-brand-soft {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
}
.pill-accent {
  background: var(--color-accent);
  color: var(--color-text-on-accent);
}
.pill-light {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

/* «Хит» бейдж — красный как в эталоне */
.tag-hit {
  display: inline-block;
  background: var(--color-danger);
  color: #fff;
  font-size: 11px;
  font-weight: var(--fw-bold);
  padding: 2px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 6px;
  vertical-align: middle;
  line-height: 1.4;
}

/* ----------- Карточка базовая ----------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  transition: box-shadow var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.card-hover:hover {
  box-shadow: var(--shadow-3);
  border-color: var(--color-border-strong);
  transform: translateY(-2px);
}

/* ----------- Иконка в круге ----------- */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  flex-shrink: 0;
}
.icon-circle svg { width: 22px; height: 22px; }

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--color-brand-soft);
  color: var(--color-brand);
  flex-shrink: 0;
}
.icon-square svg { width: 24px; height: 24px; }

/* ----------- Заголовки секций ----------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
}
.section-title-center {
  text-align: center;
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 auto var(--space-9);
}
.section-link {
  color: var(--color-brand);
  font-weight: var(--fw-semibold);
  font-size: var(--fz-16);
}
.section-link:hover { color: var(--color-brand-dark); }

/* Точки слайдера (используются как «хлебные крошки» из обсуждения) */
.dots { display: inline-flex; gap: 6px; }
.dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background var(--t-base);
}
.dots span.active { background: #fff; width: 24px; border-radius: 4px; }

/* ============================ ГЛОБАЛЬНЫЙ FOCUS-СТИЛЬ ============================ */
/* Убираем browser-default синюю обводку, заменяем на брендовый зелёный focus-ring */
a:focus,
a:focus-visible,
button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible,
.tabs a:focus,
.action-circle:focus,
.slider-dots span:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.tabs a:focus-visible,
.action-circle:focus-visible {
  box-shadow: 0 0 0 3px rgba(19, 139, 69, 0.30);
  border-radius: 8px;
}
/* Поля ввода — зелёный ring внутри */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(19, 139, 69, 0.18);
}

/* ============================ ФОРМА ЗАЯВКИ (с 152-ФЗ) ============================ */
.request-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  max-width: 720px;
  margin: 0 auto;
}
.request-form__head { margin-bottom: 20px; }
.request-form__head h3 { margin: 0 0 6px; font-size: 22px; font-weight: 700; }
.request-form__head p { margin: 0; color: var(--color-text-2); font-size: 14px; }
.request-form__form { display: flex; flex-direction: column; gap: 14px; }
.request-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .request-form__row { grid-template-columns: 1fr; } }
.request-form__field { display: flex; flex-direction: column; gap: 6px; }
.request-form__field > span { font-size: 13px; color: var(--color-text-2); font-weight: 600; }
.request-form__field > span small { color: var(--color-text-3, #999); font-weight: 400; }
.request-form__field input,
.request-form__field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.request-form__field textarea { resize: vertical; min-height: 80px; }
.request-form__consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.5;
  color: var(--color-text-2);
  padding: 8px 0;
}
.request-form__consent input[type="checkbox"] {
  margin-top: 3px; width: 18px; height: 18px;
  accent-color: var(--color-brand);
  cursor: pointer;
}
.request-form__consent a { color: var(--color-brand); text-decoration: underline; }
.request-form__actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 8px;
}
.request-form__note { font-size: 13px; color: var(--color-text-2); }
.request-form__note a { color: var(--color-brand); font-weight: 600; }

/* ============================================================
   Header dropdown menu (Скупка ▾)
   ВАЖНО: Kadence palette8=#fff перебивает обычные селекторы.
   Используем !important + дублируем kadence-селекторы.
   ============================================================ */
.site-header .menu-item-has-children,
.header-navigation .menu-item-has-children { position: relative; }

.site-header .menu-item-has-children > a::after,
.header-navigation .menu-item-has-children > a::after {
  content: " ▾";
  font-size: 0.7em;
  margin-left: 4px;
  opacity: 0.75;
}

/* Контейнер выпадающего списка */
.site-header .sub-menu,
.header-navigation ul.menu ul.sub-menu,
.header-navigation .header-menu-container ul ul {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 260px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18) !important;
  padding: 8px 0 !important;
  list-style: none !important;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1000 !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}

/* Показ при hover/focus */
.site-header .menu-item-has-children:hover > .sub-menu,
.site-header .menu-item-has-children:focus-within > .sub-menu,
.header-navigation .menu-item-has-children:hover > .sub-menu,
.header-navigation .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header .sub-menu li,
.header-navigation .sub-menu li,
.header-navigation .header-menu-container ul ul li.menu-item {
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Пункты dropdown — ТЁМНЫЙ ТЕКСТ на белом */
.site-header .sub-menu a,
.site-header .sub-menu li.menu-item > a,
.header-navigation .sub-menu a,
.header-navigation .header-menu-container ul ul li.menu-item > a,
.header-navigation .header-menu-container ul ul li.menu-item > a:link,
.header-navigation .header-menu-container ul ul li.menu-item > a:visited {
  display: block !important;
  padding: 10px 18px !important;
  color: #1a1a1a !important;
  background: transparent !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  transition: background 0.15s, color 0.15s !important;
  border: 0 !important;
}

/* Hover пункта */
.site-header .sub-menu a:hover,
.site-header .sub-menu a:focus,
.header-navigation .sub-menu a:hover,
.header-navigation .sub-menu a:focus,
.header-navigation .header-menu-container ul ul li.menu-item > a:hover,
.header-navigation .header-menu-container ul ul li.menu-item > a:focus,
.header-navigation .header-menu-container ul ul li.menu-item.current-menu-item > a {
  background: rgba(19,139,69,0.10) !important;
  color: #138B45 !important;
}

/* Мобильная версия */
@media (max-width: 900px) {
  .site-header .sub-menu,
  .header-navigation .sub-menu,
  .header-navigation .header-menu-container ul ul {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.04) !important;
    padding: 4px 0 4px 16px !important;
    border: 0 !important;
  }
  .site-header .sub-menu a,
  .header-navigation .sub-menu a,
  .header-navigation .header-menu-container ul ul li.menu-item > a {
    color: #ffffff !important;
    background: transparent !important;
  }
  .site-header .sub-menu a:hover,
  .header-navigation .sub-menu a:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #F5C518 !important;
  }
}

/* Header .nav dropdown */
.site-header .nav .has-dropdown { position: relative; }
.site-header .nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 200;
  display: block !important;
  flex-direction: column;
}
.site-header .nav ul.dropdown { display: block !important; }
.site-header .nav .has-dropdown:hover > .dropdown,
.site-header .nav .has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-header .nav .dropdown li { display: block; margin: 0; }
.site-header .nav .dropdown a {
  display: block;
  padding: 10px 18px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.site-header .nav .dropdown a:hover,
.site-header .nav .dropdown a:focus {
  background: rgba(19,139,69,0.08);
  color: #138B45;
}

/* ---------- ФОРМА ОЦЕНКИ ПО ФОТО ---------- */
.photo-form {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(19,139,69,0.08), 0 2px 8px rgba(0,0,0,0.04);
  padding: 32px 28px;
}
.photo-form__head { text-align: center; margin-bottom: 24px; }
.photo-form__head h3 { font-size: 26px; margin: 0 0 8px; color: #1a1a1a; }
.photo-form__head p { color: #5a5a5a; margin: 0; font-size: 15px; }

.photo-form__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.photo-form__quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: #f7f7f5;
  color: #1a1a1a;
  transition: transform .15s, box-shadow .15s;
  border: 1.5px solid transparent;
  text-align: center;
  gap: 4px;
}
.photo-form__quick-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.photo-form__quick-btn span { font-weight: 600; font-size: 15px; }
.photo-form__quick-btn small { font-size: 12px; color: #777; }
.photo-form__quick-btn svg { margin-bottom: 4px; }
.photo-form__quick-btn--wa svg { color: #25D366; }
.photo-form__quick-btn--tg svg { color: #229ED9; }
.photo-form__quick-btn--call svg { color: #138B45; }
.photo-form__quick-btn--wa:hover { border-color: #25D366; }
.photo-form__quick-btn--tg:hover { border-color: #229ED9; }
.photo-form__quick-btn--call:hover { border-color: #138B45; }

.photo-form__divider {
  text-align: center;
  position: relative;
  margin: 28px 0 20px;
  color: #999;
  font-size: 13px;
}
.photo-form__divider::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: #eaeaea;
}
.photo-form__divider span { background: #fff; padding: 0 14px; position: relative; }

.photo-form__dropzone {
  border: 2px dashed #cfd9d2;
  border-radius: 14px;
  background: #fafbfa;
  padding: 24px;
  transition: border-color .15s, background .15s;
  margin-bottom: 18px;
}
.photo-form__dropzone.is-drag { border-color: #138B45; background: rgba(19,139,69,0.05); }
.photo-form__dropzone-label {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; color: #555; text-align: center;
}
.photo-form__dropzone-label svg { color: #138B45; }
.photo-form__dropzone-label strong { font-size: 16px; color: #1a1a1a; }
.photo-form__dropzone-label span { font-size: 13px; color: #888; }

.photo-form__preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.photo-form__preview:empty { display: none; }
.photo-form__thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #eaeaea;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.photo-form__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-form__thumb-rm {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65); color: #fff;
  border: none; cursor: pointer;
  font-size: 18px; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.photo-form__thumb-rm:hover { background: #b82105; }

.photo-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.photo-form__field { display: flex; flex-direction: column; gap: 6px; }
.photo-form__field > span { font-size: 13px; color: #555; font-weight: 500; }
.photo-form__field > span small { color: #999; font-weight: 400; }
.photo-form__field input,
.photo-form__field select,
.photo-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.photo-form__field input:focus,
.photo-form__field select:focus,
.photo-form__field textarea:focus {
  outline: none;
  border-color: #138B45;
  box-shadow: 0 0 0 3px rgba(19,139,69,0.15);
}

.photo-form__consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: #555; margin: 14px 0 18px;
}
.photo-form__consent input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  accent-color: #138B45;
}
.photo-form__consent a { color: #138B45; text-decoration: underline; }

.photo-form__actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.photo-form__actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.photo-form__note { font-size: 13px; color: #888; }

@media (max-width: 720px) {
  .photo-form { padding: 22px 18px; }
  .photo-form__quick { grid-template-columns: 1fr; }
  .photo-form__row { grid-template-columns: 1fr; }
}

/* Flash-сообщения */
.proba585-flash {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 9999; padding: 14px 22px; border-radius: 12px;
  font-weight: 600; box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  max-width: 90vw;
}
.proba585-flash--ok { background: #138B45; color: #fff; }
.proba585-flash--err { background: #b82105; color: #fff; }

/* ============================================================
   КАТЕГОРИЙНЫЕ СТРАНИЦЫ СКУПКИ — мощные компоненты v2
   ============================================================ */

/* ---------- CAT-HERO ---------- */
.cat-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  border-radius: 0 0 28px 28px;
  isolation: isolate;
}
.cat-hero__bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(19,139,69,0.10) 0, transparent 38%),
    radial-gradient(circle at 82% 78%, rgba(245,197,24,0.14) 0, transparent 42%);
  z-index: -1;
  animation: catHeroPan 18s ease-in-out infinite alternate;
}
@keyframes catHeroPan {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.06); }
}
.cat-hero__container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.cat-hero__content { max-width: 640px; }
.cat-hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(19,139,69,0.10);
  color: #138B45;
  font-weight: 600; font-size: 13px;
  padding: 8px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
.cat-hero__badge-dot {
  width: 8px; height: 8px;
  background: #138B45;
  border-radius: 50%;
  position: relative;
  animation: badgePulse 1.8s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(19,139,69,0.55); }
  70%      { box-shadow: 0 0 0 10px rgba(19,139,69,0); }
}
.cat-hero__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.cat-hero__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: #4a4a4a;
  line-height: 1.55;
  margin: 0 0 28px;
}
.cat-hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.cat-hero__cta .btn { display: inline-flex; align-items: center; gap: 10px; }
.cat-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.cat-hero__stat { display: flex; flex-direction: column; gap: 4px; }
.cat-hero__stat-num {
  font-family: var(--font-display, Georgia, serif);
  font-size: 38px; font-weight: 700;
  color: #138B45;
  line-height: 1;
}
.cat-hero__stat-lbl {
  font-size: 13px; color: #6b6b6b;
}
.cat-hero__illustration {
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
  animation: heroFloat 6s ease-in-out infinite alternate;
}
.cat-hero__illustration svg { max-width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(19,139,69,0.18)); }
@keyframes heroFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}
@media (max-width: 880px) {
  .cat-hero { padding: 44px 0 56px; }
  .cat-hero__container { grid-template-columns: 1fr; gap: 32px; }
  .cat-hero__illustration { min-height: 220px; order: -1; }
  .cat-hero__illustration svg { max-height: 200px; }
  .cat-hero__stats { gap: 18px; }
  .cat-hero__stat-num { font-size: 28px; }
}

/* ---------- БАННЕР «Сегодня бонус» ---------- */
.today-banner {
  position: relative;
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(135deg, #138B45 0%, #0e6b35 60%, #0a5128 100%);
  color: #fff;
  padding: 22px 28px;
  border-radius: 18px;
  margin: 28px 0;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(19,139,69,0.28);
}
.today-banner__shine {
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: skewX(-22deg);
  animation: bannerShimmer 3.6s ease-in-out infinite;
}
@keyframes bannerShimmer {
  0%   { left: -60%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}
.today-banner__icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: rgba(245,197,24,0.22);
  color: #F5C518;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  animation: starSpin 6s linear infinite;
}
@keyframes starSpin {
  0%, 80%, 100% { transform: rotate(0); }
  85%           { transform: rotate(8deg); }
  90%           { transform: rotate(-8deg); }
}
.today-banner__body { flex: 1; min-width: 0; }
.today-banner__lead {
  font-size: 13px; opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.today-banner__title { font-size: 20px; font-weight: 700; line-height: 1.25; }
.today-banner__title strong { color: #F5C518; }
.today-banner__sub { font-size: 14px; opacity: 0.78; margin-top: 4px; }
.today-banner .btn-accent {
  background: #F5C518; color: #1a1a1a; font-weight: 700;
  box-shadow: 0 6px 18px rgba(245,197,24,0.32);
}
.today-banner .btn-accent:hover {
  background: #ffd429;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(245,197,24,0.42);
}
@media (max-width: 720px) {
  .today-banner { flex-wrap: wrap; padding: 18px 20px; }
  .today-banner__body { flex: 1 1 100%; order: 2; }
  .today-banner .btn-accent { flex: 1 1 100%; order: 3; justify-content: center; }
}

/* ---------- СРАВНИТЕЛЬНАЯ КАРТОЧКА ---------- */
.compare-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
  margin: 32px 0;
}
.compare-card__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  background: linear-gradient(180deg, #F7F7F5 0%, #efefeb 100%);
  border-bottom: 2px solid rgba(0,0,0,0.06);
}
.compare-card__h {
  padding: 16px 22px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 8px;
}
.compare-card__h--metric { color: #4a4a4a; }
.compare-card__h--us {
  color: #138B45;
  background: rgba(19,139,69,0.06);
}
.compare-card__h--them { color: #888; }
.compare-card__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background 0.2s ease;
}
.compare-card__row:last-child { border-bottom: 0; }
.compare-card__row:hover { background: rgba(19,139,69,0.025); }
.compare-card__cell {
  padding: 16px 22px;
  font-size: 15px;
  line-height: 1.4;
  display: flex; align-items: center; gap: 10px;
}
.compare-card__cell--metric { font-weight: 600; color: #1a1a1a; }
.compare-card__cell--us {
  color: #0e5b30;
  background: rgba(19,139,69,0.04);
  font-weight: 500;
}
.compare-card__cell--us svg { color: #138B45; flex-shrink: 0; }
.compare-card__cell--them { color: #6b6b6b; }
.compare-card__cell--them svg { color: #c4392c; flex-shrink: 0; opacity: 0.78; }
@media (max-width: 720px) {
  .compare-card__head, .compare-card__row { grid-template-columns: 1fr 1fr; }
  .compare-card__h--metric, .compare-card__cell--metric { display: none; }
  .compare-card__cell { padding: 12px 14px; font-size: 14px; }
  .compare-card__cell--us::before {
    content: 'ПРОБА 585: ';
    font-size: 11px; color: #888; font-weight: 600;
    text-transform: uppercase; margin-right: 4px;
  }
  .compare-card__cell--them::before {
    content: 'Другие: ';
    font-size: 11px; color: #aaa; font-weight: 600;
    text-transform: uppercase; margin-right: 4px;
  }
}

/* ---------- ПРИНИМАЕМ / НЕ ПРИНИМАЕМ ---------- */
.accept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.accept-grid__col {
  background: #fff;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.accept-grid__col:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}
.accept-grid__col--yes { border-top: 4px solid #138B45; }
.accept-grid__col--no { border-top: 4px solid #c4392c; opacity: 0.92; }
.accept-grid__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.accept-grid__head h3 {
  font-size: 20px; font-weight: 700; margin: 0;
  font-family: var(--font-display, Georgia, serif);
}
.accept-grid__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.accept-grid__icon--yes { background: rgba(19,139,69,0.12); color: #138B45; }
.accept-grid__icon--no  { background: rgba(196,57,44,0.12); color: #c4392c; }
.accept-grid__list { list-style: none; padding: 0; margin: 0; }
.accept-grid__list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0;
  font-size: 15px; line-height: 1.5;
  color: #2a2a2a;
}
.accept-grid__list li svg { flex-shrink: 0; margin-top: 5px; }
.accept-grid__col--yes .accept-grid__list li svg { color: #138B45; }
.accept-grid__col--no  .accept-grid__list li svg { color: #c4392c; opacity: 0.8; }
@media (max-width: 720px) {
  .accept-grid { grid-template-columns: 1fr; }
}

/* ---------- TIMELINE ---------- */
.timeline {
  position: relative;
  margin: 36px 0;
  padding-left: 14px;
}
.timeline__track {
  position: absolute;
  left: 27px; top: 18px; bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, #138B45 0%, #138B45 var(--tl-progress, 0%), rgba(19,139,69,0.18) var(--tl-progress, 0%), rgba(19,139,69,0.18) 100%);
  animation: timelineDraw 1.6s ease-out forwards;
  --tl-progress: 0%;
}
@keyframes timelineDraw {
  0%   { --tl-progress: 0%; }
  100% { --tl-progress: 100%; }
}
@supports not (background: linear-gradient(180deg, red 0%, red var(--p, 0%))) {
  .timeline__track { background: rgba(19,139,69,0.4); }
}
.timeline__step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: flex-start;
  padding: 14px 0 22px;
  opacity: 0;
  transform: translateY(14px);
  animation: tlStepIn 0.55s ease-out forwards;
}
@keyframes tlStepIn {
  to { opacity: 1; transform: translateY(0); }
}
.timeline__num {
  width: 40px; height: 40px;
  background: #fff;
  color: #138B45;
  border: 2px solid #138B45;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
  font-family: var(--font-display, Georgia, serif);
  box-shadow: 0 4px 12px rgba(19,139,69,0.22);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.timeline__step:hover .timeline__num {
  background: #138B45;
  color: #fff;
  transform: scale(1.08);
}
.timeline__body {
  background: #fff;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
}
.timeline__title { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #1a1a1a; }
.timeline__text { margin: 0; font-size: 14.5px; color: #555; line-height: 1.5; }
.timeline__time {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px;
  padding: 4px 10px;
  background: rgba(19,139,69,0.08);
  color: #138B45;
  font-size: 12px; font-weight: 600;
  border-radius: 6px;
}
@media (max-width: 720px) {
  .timeline { padding-left: 0; }
  .timeline__track { left: 19px; }
  .timeline__step { grid-template-columns: 40px 1fr; gap: 14px; }
  .timeline__num { width: 40px; height: 40px; font-size: 15px; }
  .timeline__body { padding: 14px 16px; }
}

/* ---------- TRUST BADGES ---------- */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 36px 0;
}
.trust-badges__item {
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  text-align: center;
  box-shadow: 0 3px 14px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.trust-badges__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(19,139,69,0.15);
  border-color: rgba(19,139,69,0.25);
}
.trust-badges__icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(19,139,69,0.12) 0%, rgba(245,197,24,0.12) 100%);
  color: #138B45;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s ease;
}
.trust-badges__item:hover .trust-badges__icon {
  transform: rotate(-6deg) scale(1.06);
}
.trust-badges__title {
  font-weight: 700;
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.trust-badges__value {
  font-size: 13px; color: #6b6b6b; line-height: 1.4;
}
@media (max-width: 880px) {
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .trust-badges { grid-template-columns: 1fr; }
}

/* ---------- BTN-ACCENT (универсальная жёлтая кнопка) ---------- */
.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: #F5C518;
  color: #1a1a1a;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-accent:hover { background: #ffd429; transform: translateY(-1px); }

/* ---------- БОЛЬШИЕ КНОПКИ ---------- */
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }

/* ============================================================
   ЖИВЫЕ ВИДЖЕТЫ ЯНДЕКС.КАРТ (рейтинг + отзывы)
   ============================================================ */
.ya-rating-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.ya-rating-card__head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ya-rating-card__head svg { flex-shrink: 0; }
.ya-rating-card__widget {
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f5;
  min-height: 56px;
}
.ya-rating-card__widget iframe {
  width: 100%;
  background: #fff;
}
.ya-rating-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px; font-weight: 600;
  color: #138B45;
  text-decoration: none;
}
.ya-rating-card__link:hover { text-decoration: underline; }

.ya-rating-compact {
  display: inline-flex; align-items: center;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ya-rating-compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.ya-rating-compact iframe { background: #fff; }

.about-stat--ya {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.about-stat--ya .lab {
  font-size: 12px; color: #6b6b6b; line-height: 1.3;
}

.ya-reviews-widget {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}
.ya-reviews-widget iframe { background: #fff; }

/* мини-фикс: убрать старый .big и .star из rating-card если где-то остались */
.rating-card .big { display: none; }
.rating-card .badge { display: none; }

/* ============================================================
   TRUST-MINI-BADGES внутри rating-card (заполняем пустоту)
   ============================================================ */
.ya-rating-card__badges {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.trust-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #f4faf6;
  border: 1px solid rgba(19,139,69,0.14);
  border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-width: 0;
}
.trust-mini:hover {
  transform: translateY(-1px);
  border-color: rgba(19,139,69,0.32);
  box-shadow: 0 4px 10px rgba(19,139,69,0.10);
}
.trust-mini__ico {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(19,139,69,0.08);
}
.trust-mini__ico svg { width: 16px; height: 16px; }
.trust-mini__txt {
  font-size: 11px;
  line-height: 1.25;
  color: #6b6b6b;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.trust-mini__txt b {
  display: block;
  font-size: 12px;
  color: #1a1a1a;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trust-mini__txt span {
  color: #777;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trust-mini__txt br { display: none; }

.ya-rating-card__cta {
  display: flex; gap: 10px; margin-top: 16px;
  flex-wrap: wrap;
}
.ya-rating-card__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  font-size: 14px; font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  flex: 1 1 auto;
  white-space: nowrap;
}
.ya-rating-card__btn--primary {
  background: linear-gradient(135deg, #138B45 0%, #0f7a3c 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(19,139,69,0.28);
}
.ya-rating-card__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(19,139,69,0.36);
}
.ya-rating-card__btn--primary svg { animation: star-pulse 2.2s ease-in-out infinite; }
@keyframes star-pulse {
  0%,100% { transform: scale(1) rotate(0deg); }
  50%     { transform: scale(1.18) rotate(8deg); }
}
.ya-rating-card__btn--ghost {
  background: #fff;
  color: #138B45;
  border: 1.5px solid rgba(19,139,69,0.30);
}
.ya-rating-card__btn--ghost:hover {
  background: #f4faf6;
  border-color: #138B45;
}

@media (max-width: 480px) {
  .ya-rating-card__badges { grid-template-columns: 1fr; }
  .ya-rating-card__cta { flex-direction: column; }
}

/* ============================================================
   КАРТА АДРЕСОВ (новая версия: список + iframe)
   ============================================================ */
.adresa-map-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  align-items: stretch;
}
.adresa-map-list {
  display: flex; flex-direction: column; gap: 10px;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #138B45 #eee;
}
.adresa-map-list::-webkit-scrollbar { width: 6px; }
.adresa-map-list::-webkit-scrollbar-track { background: #f0f0ee; border-radius: 3px; }
.adresa-map-list::-webkit-scrollbar-thumb { background: #138B45; border-radius: 3px; }

.adresa-map-list__item {
  display: flex; align-items: flex-start; gap: 12px;
  text-align: left;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 14px 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  font-family: inherit;
  width: 100%;
}
.adresa-map-list__item:hover {
  border-color: rgba(19,139,69,0.45);
  box-shadow: 0 6px 16px rgba(19,139,69,0.10);
  transform: translateX(2px);
}
.adresa-map-list__item.is-active {
  border-color: #138B45;
  background: linear-gradient(180deg, #f4faf6 0%, #fff 80%);
  box-shadow: 0 8px 20px rgba(19,139,69,0.14);
}
.adresa-map-list__num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: #138B45; color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 10px rgba(19,139,69,0.32);
}
.adresa-map-list__item.is-active .adresa-map-list__num {
  background: #F5C518;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(245,197,24,0.5);
  animation: pin-bounce 1.6s ease-in-out infinite;
}
@keyframes pin-bounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-3px); }
}
.adresa-map-list__body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.adresa-map-list__title { font-weight: 700; font-size: 15px; color: #1a1a1a; }
.adresa-map-list__metro { font-size: 12px; color: #138B45; font-weight: 600; }
.adresa-map-list__addr  { font-size: 13px; color: #555; line-height: 1.4; margin-top: 2px; }
.adresa-map-list__hours { font-size: 12px; color: #777; margin-top: 2px; }
.adresa-map-list__actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.adresa-map-list__link {
  font-size: 12.5px; font-weight: 600;
  color: #138B45;
  text-decoration: none;
  border-bottom: 1px dashed rgba(19,139,69,0.4);
  padding-bottom: 1px;
}
.adresa-map-list__link:hover { border-bottom-style: solid; }
.adresa-map-list__link--route { color: #1a1a1a; border-bottom-color: rgba(0,0,0,0.25); }

.adresa-map-frame {
  position: relative;
  height: 560px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 32px rgba(0,0,0,0.10);
  background: #e8eef3;
}

@media (max-width: 900px) {
  .adresa-map-grid { grid-template-columns: 1fr; }
  .adresa-map-list { max-height: none; }
  .adresa-map-frame { height: 480px; }
}

/* ============================================================
   КАРТА НА ГЛАВНОЙ (.fp-map-layout) — список + iframe организации
   ============================================================ */
.fp-map-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: 420px;
}
.fp-map-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 100%;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: #138B45 #eee;
}
.fp-map-list::-webkit-scrollbar { width: 5px; }
.fp-map-list::-webkit-scrollbar-track { background: #f0f0ee; border-radius: 3px; }
.fp-map-list::-webkit-scrollbar-thumb { background: #138B45; border-radius: 3px; }

.fp-map-list__item {
  display: flex; align-items: center; gap: 10px;
  text-align: left;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  font-family: inherit;
  width: 100%;
  min-width: 0;
}
.fp-map-list__item:hover {
  border-color: rgba(19,139,69,0.45);
  box-shadow: 0 4px 12px rgba(19,139,69,0.10);
  transform: translateX(2px);
}
.fp-map-list__item.is-active {
  border-color: #138B45;
  background: linear-gradient(180deg, #f4faf6 0%, #fff 80%);
  box-shadow: 0 6px 14px rgba(19,139,69,0.14);
}
.fp-map-list__num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: #138B45; color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
  box-shadow: 0 2px 6px rgba(19,139,69,0.28);
}
.fp-map-list__item.is-active .fp-map-list__num {
  background: #F5C518;
  color: #1a1a1a;
  box-shadow: 0 3px 10px rgba(245,197,24,0.5);
  animation: pin-bounce 1.6s ease-in-out infinite;
}
.fp-map-list__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.fp-map-list__title {
  font-weight: 700; font-size: 13px; color: #1a1a1a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fp-map-list__metro { font-size: 11px; color: #138B45; font-weight: 600; }

.fp-map-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #e6ebd9;
  min-height: 420px;
  border: 1px solid rgba(0,0,0,0.06);
}
.fp-map-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

@media (max-width: 900px) {
  .fp-map-layout { grid-template-columns: 1fr; min-height: auto; }
  .fp-map-list { max-height: none; flex-direction: row; overflow-x: auto; }
  .fp-map-list__item { min-width: 200px; }
  .fp-map-frame { min-height: 380px; }
}

/* ============================================================
   Компактный балун Yandex Maps (наш кастомный)
   Размер фиксированный, не растягивается на всю карту.
   ============================================================ */
.proba-balloon {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px 14px 16px;
  min-width: 220px;
  max-width: 260px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  font-family: inherit;
  color: #1a1a1a;
  line-height: 1.35;
}
.proba-balloon__close {
  position: absolute;
  top: 6px; right: 8px;
  width: 22px; height: 22px;
  border: 0; background: transparent;
  font-size: 20px; line-height: 20px;
  color: #8a8e87; cursor: pointer;
  padding: 0; border-radius: 4px;
}
.proba-balloon__close:hover { color: #138B45; background: rgba(19,139,69,0.08); }
.proba-balloon__title {
  font-weight: 700; font-size: 14px; color: #1a1a1a;
  padding-right: 22px; margin-bottom: 4px;
}
.proba-balloon__metro {
  font-size: 12px; color: #138B45; font-weight: 600; margin-bottom: 6px;
}
.proba-balloon__addr {
  font-size: 12px; color: #4a4f48; margin-bottom: 10px;
}
.proba-balloon__actions {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.proba-balloon__btn {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: #138B45; color: #fff !important;
  font-size: 12px; font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.proba-balloon__btn:hover { background: #0f6d36; }
.proba-balloon__btn--ghost {
  background: #f1f3ee; color: #1a1a1a !important;
}
.proba-balloon__btn--ghost:hover { background: #e3e6df; }

/* Прячем нативный «хвостик» Яндекса под нашим балуном */
.ymaps-2-1-79-balloon__tail,
[class*="ymaps-"][class*="-balloon__tail"] {
  display: none !important;
}
/* Убираем дефолтные стенки контейнера балуна Яндекса */
.ymaps-2-1-79-balloon,
[class*="ymaps-"][class*="-balloon"]:not([class*="-balloon__"]) {
  box-shadow: none !important;
  background: transparent !important;
  z-index: 9999 !important;
}
.ymaps-2-1-79-balloon__content,
[class*="ymaps-"][class*="-balloon__content"] {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
.ymaps-2-1-79-balloon__close,
[class*="ymaps-"][class*="-balloon__close"]:not(.proba-balloon__close) {
  display: none !important;
}

/* Поднимаем слой балуна над контролами карты (зум, копирайт, кнопка "Все адреса") */
[class*="ymaps-"][class*="-balloon-pane"],
[class*="ymaps-"][class*="balloon-pane"] {
  z-index: 9999 !important;
}
.proba-balloon {
  z-index: 9999 !important;
}
/* Контролы карты Яндекса — ниже балуна */
[class*="ymaps-"][class*="-controls-pane"],
[class*="ymaps-"][class*="-copyrights-pane"] {
  z-index: 100 !important;
}
/* Кнопка "Все адреса" и "Открыть в Яндекс.Картах" — над картой, но под балуном */
.fp-map-cta, .adresa-map-cta, .map-cta {
  z-index: 50 !important;
}

/* ============================================================
   СТРАНИЦА ЦЕНЫ /ceny/ — премиум-версия
   ============================================================ */

/* ----- HERO ----- */
.ceny-hero {
  background: linear-gradient(180deg, #F7F7F5 0%, #fff 100%);
  padding: 32px 0 56px;
}
.ceny-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .ceny-hero__grid { grid-template-columns: 1fr; gap: 32px; }
}
.ceny-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  margin: 16px 0 18px;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.ceny-hero__sub {
  display: block;
  color: #138B45;
  font-weight: 700;
  font-size: 0.6em;
  margin-top: 4px;
}
.ceny-hero__lead {
  font-size: 17px;
  line-height: 1.55;
  color: #4a4f48;
  max-width: 520px;
  margin-bottom: 28px;
}
.ceny-hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.ceny-hero__badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 560px) {
  .ceny-hero__badges { grid-template-columns: 1fr; }
}
.ceny-hero__badge {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e6e8e2;
  border-radius: 12px;
  font-size: 13px;
  color: #2a2e2a;
  line-height: 1.3;
}
.ceny-hero__badge svg { flex-shrink: 0; }

/* ----- ДОСКА КОТИРОВОК ----- */
.ceny-board {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2e2a 100%);
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}
.ceny-board::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(245,197,24,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.ceny-board__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.ceny-board__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #F5C518;
}
.ceny-board__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #F5C518;
  animation: ceny-pulse 1.6s ease-in-out infinite;
}
@keyframes ceny-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.ceny-board__upd {
  font-size: 11px; color: rgba(255,255,255,0.5);
}
.ceny-board__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  position: relative;
}
.ceny-board__row + .ceny-board__row {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ceny-board__metal {
  display: flex; align-items: center; gap: 14px;
}
.ceny-board__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
}
.ceny-board__row--gold .ceny-board__icon { color: #F5C518; background: rgba(245,197,24,0.12); }
.ceny-board__row--silver .ceny-board__icon { color: #c8cbc4; background: rgba(255,255,255,0.08); }
.ceny-board__name {
  font-size: 16px; font-weight: 700; color: #fff;
}
.ceny-board__sub {
  font-size: 12px; color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.ceny-board__value {
  text-align: right;
}
.ceny-board__value .num {
  font-size: 32px; font-weight: 800; color: #fff;
  letter-spacing: -0.01em;
}
.ceny-board__value .unit {
  font-size: 13px; color: rgba(255,255,255,0.55);
  margin-left: 4px;
}
.ceny-board__cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff !important;
  text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.ceny-board__cta:hover { background: rgba(245,197,24,0.15); color: #F5C518 !important; }

/* ----- ТАБЫ МЕТАЛЛОВ ----- */
.ceny-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e6e8e2;
  border-radius: 14px;
  width: fit-content;
}
.ceny-tab {
  padding: 10px 18px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  color: #4a4f48;
  cursor: pointer;
  transition: all 0.15s;
}
.ceny-tab:hover { background: #f1f3ee; color: #1a1a1a; }
.ceny-tab.is-active {
  background: #138B45;
  color: #fff;
  box-shadow: 0 4px 12px rgba(19,139,69,0.25);
}

/* ----- ГРУППА МЕТАЛЛА ----- */
.ceny-group { margin-bottom: 48px; }
.ceny-group__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f3ee;
  flex-wrap: wrap; gap: 12px;
}
.ceny-group__title {
  display: flex; align-items: center; gap: 12px;
  font-size: 28px; font-weight: 800;
  margin: 0;
  color: #1a1a1a;
}
.ceny-group__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.ceny-group__icon--gold { background: linear-gradient(135deg, #fff7c4 0%, #F5C518 100%); color: #8a6500; }
.ceny-group__icon--silver { background: linear-gradient(135deg, #f1f3ee 0%, #c8cbc4 100%); color: #4a4f48; }
.ceny-group__count {
  font-size: 13px; font-weight: 500; color: #7a7f78;
  background: #f7f7f5;
  padding: 4px 10px;
  border-radius: 8px;
  margin-left: 4px;
}
.ceny-group__upd {
  font-size: 12px; color: #138B45; font-weight: 600;
}

/* ----- КАРТОЧКИ ЦЕН ----- */
.ceny-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.ceny-card {
  position: relative;
  background: #fff;
  border: 1px solid #e6e8e2;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.2s;
  display: flex; flex-direction: column; gap: 12px;
}
.ceny-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border-color: #138B45;
}
.ceny-card.is-hit {
  background: linear-gradient(135deg, #fffde8 0%, #fff 60%);
  border-color: #F5C518;
}
.ceny-card__badge {
  position: absolute; top: 12px; right: 12px;
  background: #F5C518;
  color: #1a1a1a;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
  letter-spacing: 0.05em;
}
.ceny-card__fin {
  display: flex; align-items: baseline; gap: 8px;
}
.ceny-card__fin-label {
  font-size: 12px; color: #7a7f78; text-transform: uppercase; letter-spacing: 0.05em;
}
.ceny-card__fin-num {
  font-size: 22px; font-weight: 800; color: #1a1a1a;
}
.ceny-card__price {
  display: flex; align-items: baseline; gap: 6px;
}
.ceny-card__price-num {
  font-size: 30px; font-weight: 800; color: #138B45;
  letter-spacing: -0.01em;
}
.ceny-card__price-unit {
  font-size: 14px; color: #7a7f78; font-weight: 500;
}
.ceny-card__delta {
  font-size: 12px; color: #138B45; font-weight: 600;
}
.ceny-card__delta .arrow { font-weight: 800; }
.ceny-card__cta {
  display: inline-block;
  margin-top: auto;
  padding: 10px 14px;
  background: #f1f3ee;
  color: #1a1a1a !important;
  text-decoration: none;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  text-align: center;
  transition: all 0.15s;
}
.ceny-card__cta:hover {
  background: #138B45;
  color: #fff !important;
}
.ceny-card.is-hit .ceny-card__cta {
  background: #138B45;
  color: #fff !important;
}
.ceny-card.is-hit .ceny-card__cta:hover {
  background: #0f6d36;
}

/* ----- КАЛЬКУЛЯТОР ----- */
.ceny-calc-section {
  background: linear-gradient(180deg, #fff 0%, #f7f7f5 100%);
  padding: 56px 0;
  border-radius: 32px;
  margin: 32px 0;
}
.ceny-calc-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}
.ceny-calc-head .pill { margin-bottom: 12px; }
.ceny-calc-lead {
  color: #4a4f48; font-size: 16px; line-height: 1.5;
  margin-top: 8px;
}

/* ----- КАК ФОРМИРУЕТСЯ ЦЕНА ----- */
.ceny-howto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .ceny-howto-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ceny-howto-grid { grid-template-columns: 1fr; }
}
.ceny-howto__step {
  background: #fff;
  border: 1px solid #e6e8e2;
  border-radius: 16px;
  padding: 24px;
  position: relative;
}
.ceny-howto__num {
  display: inline-block;
  font-size: 32px; font-weight: 800;
  color: #138B45;
  line-height: 1;
  margin-bottom: 12px;
}
.ceny-howto__step h4 {
  font-size: 16px; font-weight: 700;
  margin: 0 0 8px;
  color: #1a1a1a;
}
.ceny-howto__step p {
  font-size: 13px; color: #4a4f48; line-height: 1.5;
  margin: 0;
}
.ceny-howto-note {
  display: flex; gap: 12px;
  background: #f7f7f5;
  border-left: 4px solid #138B45;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px; color: #2a2e2a; line-height: 1.5;
}
.ceny-howto-note__icon { color: #138B45; flex-shrink: 0; margin-top: 2px; }

/* ----- ПОЧЕМУ ВЫГОДНЕЕ ----- */
.ceny-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .ceny-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ceny-why-grid { grid-template-columns: 1fr; }
}
.ceny-why__card {
  background: #fff;
  border: 1px solid #e6e8e2;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.ceny-why__card--accent {
  background: linear-gradient(135deg, #138B45 0%, #0f6d36 100%);
  color: #fff;
  border-color: #138B45;
}
.ceny-why__big {
  font-size: 40px; font-weight: 800;
  line-height: 1;
  color: #138B45;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.ceny-why__card--accent .ceny-why__big { color: #F5C518; }
.ceny-why__title {
  font-size: 15px; font-weight: 700;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.ceny-why__card--accent .ceny-why__title { color: #fff; }
.ceny-why__card p {
  font-size: 13px; color: #4a4f48; line-height: 1.5;
  margin: 0;
}
.ceny-why__card--accent p { color: rgba(255,255,255,0.85); }

/* ============================================================
   FINAL FIX dropdown «Скупка ▾» — текст всегда тёмный
   ============================================================ */
.site-header .nav .dropdown,
.site-header nav.nav ul.dropdown,
header.site-header .nav .has-dropdown ul.dropdown {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18) !important;
  padding: 6px 0 !important;
  min-width: 240px !important;
  z-index: 9999 !important;
}
.site-header .nav .dropdown a,
.site-header .nav .dropdown li a,
.site-header .nav .dropdown li > a,
header.site-header .nav .has-dropdown .dropdown li a {
  color: #1a1a1a !important;
  background: transparent !important;
  display: block !important;
  padding: 10px 18px !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.site-header .nav .dropdown a:hover,
.site-header .nav .dropdown a:focus,
.site-header .nav .dropdown li a:hover,
.site-header .nav .dropdown li a:focus {
  color: #138B45 !important;
  background: rgba(19,139,69,0.10) !important;
}
/* Зона hover-«моста» чтоб не закрывался при движении к dropdown */
.site-header .nav .has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%; left: 0;
  width: 100%; height: 12px;
  background: transparent;
}

/* ============================================================
   DROPDOWN FIX v3: убираем stacking-context конфликт
   z-index 9999 на самом site-header чтоб ВСЁ внутри было сверху
   ============================================================ */
.site-header:hover {
  z-index: 9999 !important;
}
.site-header .nav .has-dropdown {
  position: relative !important;
  z-index: 10000 !important;
}
.site-header .nav .has-dropdown:hover {
  z-index: 10001 !important;
}
.site-header .nav .has-dropdown:hover > .dropdown,
.site-header .nav .has-dropdown:focus-within > .dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  z-index: 10002 !important;
}

/* ============================================================
   PORTAL DROPDOWN — финальные стили текста (клон в <body>)
   ============================================================ */
.dropdown--portal {
  list-style: none !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.dropdown--portal li {
  display: block !important;
  margin: 0 !important;
  list-style: none !important;
}
.dropdown--portal li a,
.dropdown--portal a {
  display: block !important;
  padding: 10px 18px !important;
  color: #1a1a1a !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  border: 0 !important;
  transition: background 0.15s, color 0.15s !important;
}
.dropdown--portal li a:hover,
.dropdown--portal li a:focus,
.dropdown--portal a:hover,
.dropdown--portal a:focus {
  background: rgba(19,139,69,0.10) !important;
  color: #138B45 !important;
}

/* ============================================================
   Скрываем ОРИГИНАЛ dropdown — портал в body заменил его
   ============================================================ */
.site-header .nav .has-dropdown > ul.dropdown:not(.dropdown--portal) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.site-header .nav .has-dropdown:hover > ul.dropdown:not(.dropdown--portal),
.site-header .nav .has-dropdown:focus-within > ul.dropdown:not(.dropdown--portal) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* === Премиум 3D-иллюстрации без фона с левитацией === */
.cat-hero-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 520px;
}
.cat-hero-3d img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.18));
}
.cat-hero-3d--float img {
  animation: proba-float 4.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes proba-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-hero-3d--float img { animation: none; }
}
@media (max-width: 900px) {
  .cat-hero-3d img { max-width: 360px; }
  .cat-hero-3d--float img { animation-duration: 5s; }
}
