@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&display=swap');

/* =====================================================================
   === БЛОК 0. ПЕРЕМЕННЫЕ / ТЕМА =======================================
   Меняйте значения ниже — цвета, градиенты и тени обновятся везде.
   ===================================================================== */
:root{
  /* — Базовые цвета — */
  --c-bg: #fff;
  --c-text: #1e1e1e;
  --c-text-muted: #444;
  --c-text-muted-2: #667085;
  --c-text-muted-3: #6b6b6b;
  --c-gray-700: #7a7a7a;
  --c-gray-500: #cfd8d3;
  --c-gray-400: #aab3ae;
  --c-border: #e3e3e3;

  /* — Акцентные/зелёные — */
  --c-green-ink: #76010b;      /* заголовки на зелёном, ссылки в сайд-меню */
  --c-green-link: #c41b2c;     /* offcanvas ссылки (обычное состояние) */
  --c-green-solid: #c41b2c;    /* сплошная зелёная кнопка (cookie) */
  --c-green-ink-2: #76010b;    /* насыщенный тёмный текст в хедере */

  /* — Градиенты — */
  --grad-start: rgba(196,27,44,1);
  --grad-end:   rgba(118,1,11,1);
  --g-primary: linear-gradient(90deg, var(--grad-start) 0%, var(--grad-end) 100%);

  /* — Оверлеи/прозрачности — */
  --c-overlay: rgba(12,24,20,.55);
  --c-footer-bg: #1f2426;
  --c-footer-text: #cfd5d1;
  --c-footer-link: #e9f7ed;
  --c-footer-border: rgba(255,255,255,.08);
  --c-quote-shadow: rgba(0,0,0,.08);
  --c-quote-shadow-2: rgba(0,0,0,.10);
  --c-pulse-border: #00c244;           /* 1px обводка (тот же зелёный) */
  --c-pulse-glow:   rgba(196,27,44,1);/* цвет свечения (как тень)    */

  /* — Тени — */
  --shadow-card: 0 6px 20px rgba(0,0,0,.08);
  --shadow-card-hover: 0 10px 28px rgba(0,0,0,.12);
  --shadow-btn: 0 4px 10px rgba(196,27,44,.25);
  --shadow-btn-hover: 0 6px 14px rgba(196,27,44,.28);
  --shadow-cta: 0 8px 22px rgba(196,27,44,.25);
  --shadow-modal: 0 10px 30px rgba(0,0,0,.12);

  /* — Хедер (подпись/дата) — */
  --c-hdr-caption: #717a82;

  /* — Шрифты — */
  --font-base: "Jura", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* — Контейнер — */
  --container-max: 1196px;
}

/* =====================================================================
   === БЛОК 0. БАЗА / РЕЗЕТ ============================================
   ===================================================================== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 16px/1.5 var(--font-base);
  color: var(--c-text);
  background: var(--c-bg);
}
.site-wrapper { min-height: 100%; display: flex; flex-direction: column; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 10px; }

/* =====================================================================
   === БЛОК 1. ШАПКА (HEADER) ==========================================
   ===================================================================== */
.site-header { background:var(--c-bg); border-bottom:1px solid var(--c-border); }
.header-grid {
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:16px;
  padding:30px 0;
}
.logo img { height:46px; display:block; }

/* Правый блок шапки: инфо-стек + бургер */
.site-header .header-right{
  display:flex; align-items:center; gap:12px;
}
.hdr-info{ display:flex; flex-direction:column; line-height:1.15; }
.hdr-caption{ font-size:14px; color:var(--c-hdr-caption); }
.hdr-date{ font-size:18px; font-weight:800; color:var(--c-green-ink-2); text-align: right;}

/* Бургер */
.burger{
  display:inline-block; width:40px; height:36px;
  background:var(--c-bg); border:1.5px solid transparent;
  border-image: var(--g-primary) 1;
  cursor:pointer; transition:background .2s ease, border-color .2s ease;
}
.burger span{
  display:block; width:100%; height:2px;
  background: var(--g-primary);
  margin:4px 0;
}

/* Offcanvas */
.offcanvas-backdrop{
  position:fixed; inset:0; background:var(--c-overlay);
  opacity:0; transition:opacity .2s ease; z-index:1090;
}
.offcanvas-backdrop.is-open{ opacity:1 }

.offcanvas{
  position:fixed; top:0; right:0; height:100%; width:340px; max-width:92vw;
  background:var(--c-bg); box-shadow:-10px 0 28px rgba(0,0,0,.18);
  transform:translateX(100%); transition:transform .25s ease; z-index:1100;
  display:flex; flex-direction:column; padding:18px;
}
.offcanvas.is-open{ transform:translateX(0) }

.offcanvas__close{
  align-self:flex-end; border:0; background:var(--c-bg); color:#839093;
  font-size:24px; line-height:1; width:40px; height:40px; border-radius:10px;
  cursor:pointer; transition:background .2s ease, color .2s ease;
}
.offcanvas__close:hover{ background:#f3f5f6; color:#5b666a }

.offcanvas__list{
  list-style:none; margin:8px 0 0; padding:0; display:flex; flex-direction:column; gap:10px;
}
.offcanvas__link{
  display:block; text-decoration:none; font-weight:700; letter-spacing:.02em;
  color:var(--c-green-link); padding:12px 14px; border-radius:12px;
  transition:transform .2s ease, color .2s ease;
}
.offcanvas__link:hover{ transform:translateX(-4px); color:var(--c-green-ink); }

/* Header: адаптив */
@media (max-width:700px){
  .header-grid { padding:10px 0; }
  .logo img { height:28px; }
  .hdr-date { font-size: 14px; }
  .hdr-caption { font-size: 10px; }
}

/* =====================================================================
   === БЛОК 2. ГЛАВНЫЙ КОНТЕНТ / ПОРЯДОК СЕКЦИЙ =======================
   ===================================================================== */
.site-main { flex: 1 0 auto; display: flex; flex-direction: column; }
.site-main > * { order: 0; }
.site-main > #offers { order: -1; }

/* =====================================================================
   === БЛОК 3. HERO =====================================================
   ===================================================================== */
.hero { padding: 24px 0; }
.hero > .container { padding: 28px; }
.hero h1 { margin:0 0 10px; font-size:32px; line-height:1.2; }
.hero p  { margin:0; color:var(--c-text-muted); }

/* =====================================================================
   === БЛОК 4. OFFERS (ВИТРИНА) ========================================
   ===================================================================== */
.offers{
  width: 100%;
  background-image: url("/assets/img/background.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-attachment: fixed;
  padding: clamp(40px, 4vw, 100px) 0 clamp(80px, 6vw, 140px) 0;
}

.offers__intro { text-align: center; margin-bottom: 50px; }
.offers__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.15; font-weight: 800;
  color: var(--c-green-ink);
}
.offers__desc { margin: 0; font-size: 16px; color: var(--c-text-muted); }

.offers .offers__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width:1024px){
  .offers .offers__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width:700px) {
  .offers .offers__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap:10px; }
}

/* Вспомогательная полоска над карточкой (ИНН + иконки) */
.offers .offers__grid .offers__top {
  display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:15px;
}
.offers .offers__grid .offers__top .offers__inn { font-size:12px; color:var(--c-gray-700); }
.offers .offers__grid .offers__top .offers__icons { display:flex; gap:6px; }
.offers .offers__grid .offers__top .offers__icons img { width:25px; height:25px; }

/* Карточка оффера */
.offers .offers__card {
  background:var(--c-bg);
  box-shadow:var(--shadow-card);
  padding:10px 10px 15px 10px;
  text-align:center;
  display:flex; flex-direction:column;
  transition: transform .15s ease, box-shadow .15s ease;
  pointer-events:none;
}
.offers .offers__card:hover { transform:translateY(-2px); box-shadow:var(--shadow-card-hover); }

/* Логотип */
.offers .offers__logo { height:70px; margin-bottom:12px; display:flex; align-items:center; justify-content:center; }
.offers .offers__logo img { max-height:70px; max-width:100%; height:auto; width:auto; }

@media (max-width:700px) {
  .offers .offers__logo { height:40px; margin-bottom:6px; }
  .offers .offers__grid .offers__top .offers__inn { font-size:10px; }
  .offers .offers__grid .offers__top .offers__icons img { width:20px; height:20px; }
}

/* Контент карточки */
.offers .offers__amount { font-weight:700; font-size:clamp(24px,2.2vw,36px); letter-spacing:.3px; margin:6px 0; }
.offers .offers__approve { font-size:14px; color:var(--c-text-muted-2); margin-bottom:24px; }

/* Кнопка карточки */
.offers .offers__btn {
  margin:0 auto; display:inline-block; border:none; width:90%;
  padding:12px 0; font-weight:700; font-size:20px; color:#fff; cursor:pointer;
  background:var(--g-primary);
  box-shadow:var(--shadow-btn);
  transition: transform .06s ease, opacity .15s ease, box-shadow .15s ease;
  text-decoration:none; pointer-events:auto;
}
@media (max-width:700px) {
  .offers .offers__btn {font-size:14px;}
}
.offers .offers__btn:hover { opacity:.95; box-shadow:var(--shadow-btn-hover); }
.offers .offers__btn:active { transform:translateY(1px); }
.offers .offers__btn:focus-visible { outline:2px solid #168c49; outline-offset:2px; border-radius:12px; }

/* Pulsating CTA */
/* 1) Карточка — колонка с растяжением по высоте */
.offers .offers__grid { align-items: stretch; }            /* если это CSS Grid */
.offers .offers__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  overflow: visible;                                       /* чтобы пульс не обрезался */
}

/* 2) Нормализуем переменные блоки высотой */
.offers .offers__top     { min-height: 24px; }             /* ИНН + иконки */
.offers .offers__logo    { display:flex; align-items:center; justify-content:center; }
.offers .offers__approve { min-height: 22px; }             /* «на срок до … дней» в одну строку */

/* 3) Кнопка уже имеет margin-top:auto — теперь он сработает,
      так как родитель .offers__card стал flex-колонкой */

/* 4) Пульс — не даём клику перебивать анимацию и якорим низ */
.offers .offers__btn.btn-pulse {
  animation: btnPulse var(--pulse-duration, 2s) ease-in-out infinite;
  transform-origin: bottom center;
  will-change: transform;
}
.offers .offers__btn.btn-pulse:active { transform: none !important; }

@keyframes btnPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); } /* ~5% */
}



/* Исчезновение карточки при клике */
.offers .offers__card.is-hiding{
  opacity:0; transform:translateY(2px);
  transition:opacity .18s ease, transform .18s ease;
}

/* Низ секции OFFERS (desktop: row centered; mobile: stacked) */
.offers__footer{
  margin:50px 0 0;
  background-color: #fff;
  padding: 24px;
  display:flex;
  align-items:center;        /* вертикально по центру */
  justify-content:center;    /* вся пара по центру контейнера */
  gap:16px;                  /* отступ между текстом и кнопкой */
  text-align:left;           /* сам текст выровнен влево */
  flex-wrap:wrap;            /* на всякий случай, если мало места */
  box-shadow: var(--shadow-card);
}

.offers__footer .offers__note{
  margin:0;
  font-size:26px;
  line-height:1.1;
}

.offers__footer .offers__footer__btn {
  display:inline-block;
  padding:12px 18px;
  font-weight:700;
  color: #fff;
  font-size: 18px;
  text-decoration:none;
  white-space:nowrap;        /* чтобы кнопка не переносилась */
  background: var(--g-primary);
  box-shadow: var(--shadow-btn);
  transition:all .2s ease;
}

.offers__footer .offers__footer__btn:hover,
.offers__footer .offers__footer__btn:focus-visible {
  transform:translateY(-1px);
}

/* Мобильная адаптация: текст сверху, кнопка ниже */
@media (max-width:700px){
  .offers__footer{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:12px;
  }
  .offers__footer .offers__note{
    font-size: 28px;
    line-height: 1.1;
  }
  .offers__footer .offers__footer__btn{
    width:100%;
    max-width:320px;         /* чтобы кнопка не растягивалась слишком */
    text-align:center;
  }
}

/* =====================================================================
   === БЛОК 5. ПЛАШКА ФИЛЬТРОВ =========================================
   ===================================================================== */
.offers__filters__title { font-weight: 600; padding-left: 20px; margin-bottom: 10px; }

.offers__filters{
  position: sticky; top: 0; z-index: 30;
  background: var(--c-bg);
  display: flex; gap: 10px; align-items: center;
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 20px; padding: 20px;
}
.offers__filters.is-sticky{ box-shadow: 0 5px 20px rgba(0, 0, 0, .3); }

.filters__scroller{
  display:flex; align-items:center; gap:10px;
  overflow-x:auto; -webkit-overflow-scrolling:touch;
}
.filters__scroller::-webkit-scrollbar{height:4px}
.filters__scroller::-webkit-scrollbar-thumb{background:#d9e5df;border-radius:8px}

.filters__btn{
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; font-weight: 700; text-decoration: none; cursor:pointer;
  border: 2px solid transparent;
  background: var(--g-primary);
  background-clip: padding-box, text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  border-image: var(--g-primary) 1;
  transition: all .2s ease; white-space: nowrap;
}
.filters__btn:hover{ box-shadow:0 4px 12px rgba(20,120,60,.18) }
.filters__btn.is-active{
  background: var(--g-primary);
  color: #fff; -webkit-text-fill-color: #fff; outline: none;
}

@media (max-width:700px){
  .filters__btn{font-size:13px; padding:9px 12px}
  .filters__scroller{gap:8px}
  .filters__btn{margin-bottom: 5px;}
  .offers__filters{padding: 10px;}
  .offers__filters__title {text-align: center; padding-left: 0;}
}

/* =====================================================================
   === БЛОК 6. HOWGET (как получить) ===================================
   ===================================================================== */
.howget { padding: clamp(80px, 6vw, 140px) 0; }

.howget .howget__grid {
  display:grid; grid-template-columns:1fr 1fr; align-items:center;
  gap:clamp(16px, 4vw, 48px); min-height:380px;
}
.howget .howget__media {
  width:100%; height:100%; min-height:320px; border-radius:18px; overflow:hidden;
}
.howget .howget__media img { display:block; width:100%; height:100%; object-fit:cover; }

.howget .howget__content { color:#0e2c1b; }
.howget .howget__title { margin:0 0 16px; font-weight:800; line-height:1.15; letter-spacing:.2px; font-size:clamp(22px,3vw,40px); }
.howget .howget__steps { margin:40px 0 40px 0; padding-left:1.6em; color:#364a3f; }
.howget .howget__steps li { margin:10px 0; }

/* CTA-кнопка */
.howget .howget__btn{
  display:inline-block; padding:12px 18px; font-weight:700; text-decoration:none; border:2px solid transparent;
  background: var(--g-primary);
  background-clip: padding-box, text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  border-image: var(--g-primary) 1; transition: all .2s ease;
}
.howget .howget__btn:hover,
.howget .howget__btn:focus-visible{
  background: var(--g-primary);
  color:#fff; -webkit-text-fill-color: #fff;
  box-shadow:var(--shadow-cta); outline:none;
}
.howget .howget__btn:active { transform:translateY(1px); }

@media (max-width:900px){
  .howget .howget__grid{ grid-template-columns:1fr; }
  .howget .howget__media{ min-height:240px; }
}

/* =====================================================================
   === БЛОК 7. BENEFITS (преимущества) =================================
   ===================================================================== */
.benefits {
  width:100%;
  background:var(--g-primary);
  padding: clamp(80px, 6vw, 140px) 0;
}
.benefits .benefits__title {
  margin:0 0 10px; color:#fff; font-weight:800; font-size:clamp(22px, 3vw, 40px); text-align: center;
}
.benefits .benefits__lead {
  margin:0 0 50px; color:rgba(255,255,255,.9); text-align: center;
}
.benefits .benefits__grid { display:grid; gap:20px; grid-template-columns:repeat(3, minmax(0,1fr)); }
@media (max-width:980px){ .benefits .benefits__grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:640px){ .benefits .benefits__grid{ grid-template-columns:1fr; } }
.benefits .benefits__card { background:var(--c-bg); border-radius:0; padding:50px 26px; text-align:center; box-shadow:0 10px 26px var(--c-quote-shadow-2); }
.benefits .benefits__icon { height:120px; margin:0 0 20px; display:flex; align-items:center; justify-content:center; }
.benefits .benefits__icon img { max-height:100px; width:auto; height:auto; filter:hue-rotate(0deg) saturate(1.2); }
.benefits .benefits__card-title { margin:0 0 8px; font-size:18px; font-weight:700; color:var(--c-green-ink); }
.benefits .benefits__text { margin:0; font-size:14px; color:#4a5a51; }

/* =====================================================================
   === БЛОК 8. TESTIMONIALS (отзывы) ===================================
   ===================================================================== */
.testimonials { padding: clamp(80px, 6vw, 140px) 0; }
.testimonials .t-head { text-align: center; margin-bottom: 22px; }
.testimonials .t-title { margin: 0 0 8px; font-weight: 800; font-size: clamp(22px, 3vw, 40px); color: var(--c-green-ink); }
.testimonials .t-subtitle { margin: 0; color: #525d57; }

.t-carousel { position: relative; overflow: hidden; }
.t-carousel .t-track { display: flex; will-change: transform; transition: transform 450ms ease; transform: translate3d(0,0,0); }
.t-carousel .t-slide{ box-sizing:border-box; flex:0 0 auto; max-width:none; padding: clamp(16px, 3vw, 22px) clamp(8px, 2vw, 12px); display:flex; flex-direction:column; align-items:flex-start; }

.t-quote{
  position:relative; margin:0 0 24px 0;
  font-size:clamp(18px, 2.2vw, 24px); line-height:1.5; color:#1c1c1c; padding:40px;
}
.t-quote::before{
  content:""; position:absolute; top:-24px; left:-10px;
  width:120px; height:120px; background:url('/assets/img/quotes.png') no-repeat center / contain;
  z-index:-999; pointer-events:none;
}
@media (max-width: 700px){
  .t-quote::before{ width:56px; height:56px; left:-8px; top:-18px; }
  .t-quote{ padding:20px; }
}

.t-author{ display:flex; align-items:center; gap:14px; }
.t-avatar{
  width:100px; height:100px; border-radius:50%; object-fit:cover; display:block;
  border:4px solid #f2f7f3; box-shadow:0 2px 8px var(--c-quote-shadow);
}
@media (max-width:700px){ .t-avatar{ width:64px; height:64px; } }
.t-author-meta{ line-height:1.25; }
.t-name{ font-weight:800; }
.t-role{ font-size:14px; color:var(--c-text-muted-3); }

.t-dots{ display:flex; gap:8px; height:10px; justify-content:center; margin-top:18px; }
.t-dot{
  width:8px; height:8px; border-radius:50%; background:var(--c-gray-500); border:0; padding:0; cursor:pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.t-dot.is-active{ background:#db161d; transform:scale(1.2); }
.t-dot:focus-visible{ outline:2px solid #1a8f52; outline-offset:2px; }

/* =====================================================================
   === БЛОК 9. ПРОЧЕЕ КОНТЕНТ ==========================================
   ===================================================================== */
.free__offers__text, .pa-text { padding: clamp(40px, 6vw, 140px) 0 clamp(40px, 6vw, 140px) 0; }
.pa-text h1 { text-align:center; }

.nf{ padding:56px 0; text-align:center }
.nf__t{ font-size:32px; line-height:1.2; margin:0 0 12px }
.nf__d{ max-width:680px; margin:0 auto 22px; opacity:.85 }

/* =====================================================================
   === БЛОК 10. COOKIE-ПАНЕЛЬ ==========================================
   ===================================================================== */
.cc-wrap{
  position:fixed; left:0; right:0; bottom:16px; z-index:1000;
  display:none; justify-content:center; pointer-events:none
}
.cc-wrap.is-visible{ display:flex }
.cc-wrap .container{ max-width:var(--container-max); width:100%; padding:0 10px }
.cc-box{
  background:var(--c-bg); box-shadow:var(--shadow-modal); border-radius:12px;
  padding:12px 14px; display:flex; align-items:center; gap:16px; pointer-events:auto;
  font-size:14px; line-height:1.45
}
.cc-text{ color:rgb(0,0,0,0.5); }
.cc-text a{ color:rgb(0,0,0,0.5); text-decoration:underline }
.cc-btn{
  margin-left:auto; background:var(--c-green-solid); color:#fff; border:0; border-radius:10px;
  padding:12px 20px; font-weight:700; cursor:pointer
}
.cc-btn:hover{ opacity:.9 }

@media (max-width:700px){
  .cc-box{ flex-direction:column; align-items:flex-start; gap:10px }
  .cc-btn{ margin-left:0; align-self:stretch; text-align:center }
  .cc-text { font-size: 10px; }
}

/* =====================================================================
   === БЛОК 11. ПОДВАЛ (FOOTER) НОВЫЙ ==================================
   ===================================================================== */
.site-footer{ background:var(--c-footer-bg); color:var(--c-footer-text); padding:0; padding-top:50px; }

.footer-grid{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px; padding:28px 0 16px;
}
@media (max-width:1024px){ .footer-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .footer-grid{ grid-template-columns:1fr; } }

.footer-col h4{ margin:0 0 10px; font-size:18px; font-weight:800; color:var(--c-footer-link); }
.footer-col p{ margin:0 0 10px; color:var(--c-footer-text); font-size:12px; }
.footer-col a{ color:var(--c-footer-link); text-decoration:underline; }
.footer-col a:hover{ color:#fff; }

.footer-list{ margin:0; padding-left:0; list-style:none; font-size: 12px; }

.footer-docs {
  background-color: rgba(255,255,255,0.1);
  padding:15px 20px; margin:25px 0;
  display:flex; flex-wrap:wrap; gap:20px;
}
.footer-docs__item {
  display:flex; align-items:center; font-size:12px; color:var(--c-footer-link);
  text-decoration:underline; transition: color .2s ease, text-decoration .2s ease;
}
.footer-docs__item:hover { color:#ffffff; }
.footer-docs__icon { width:18px; height:18px; margin-right:8px; }

/* Список кредиторов */
.site-footer .footer-subtitle{ margin:8px 0 8px; font-size:18px; color:var(--c-footer-link); }
.site-footer .creditors{ margin:0 0 16px; padding-left:0; color:var(--c-footer-text); list-style:none; }

.creditors-grid{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px 24px; margin:12px 0 10px;
}
@media (max-width:1024px){ .creditors-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .creditors-grid{ grid-template-columns:1fr; } }

.creditor{ font-size:12px; color:var(--c-footer-text); line-height:1; text-align:left; }
.creditor .sep{ margin:0 6px; }
.creditors-grid.is-collapsed .creditor.is-hidden{ display:none; }

.creditors-toggle{
  background:transparent; border:1px solid var(--c-footer-text); color:var(--c-footer-text);
  padding:6px 12px; font-size:14px; cursor:pointer;
  text-transform:none; border-radius:0; margin-top:10px;
}
.creditors-toggle:hover{ background:var(--c-footer-text); color:var(--c-footer-bg); }
.creditors-toggle:focus-visible{ outline:2px solid var(--c-footer-text); outline-offset:2px; }

/* Нижняя строка */
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  border-top:1px solid var(--c-footer-border);
  padding:12px 0 24px;
  font-size:13px; color:var(--c-gray-400);
}
@media (max-width:700px){
  .footer-bottom{ flex-direction:column; gap:8px; text-align:center; }
}

/* Меню в подвале */
.footer-menu { margin-bottom:25px; }
.footer-menu ul { list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:25px; }
@media (max-width:700px){ .footer-menu ul { line-height:0; } }
.footer-menu a{
  font-size:15px; color:#e5e5e5; text-decoration:underline;
  transition: color .2s ease, text-decoration .2s ease;
}
.footer-menu a:hover { color:#ffffff; }


/* ===================================================================
   === OVERLAY & POPUP =====================================
   Описание: полноэкранный оверлей с карточкой и попап с пульсацией.
   =================================================================== */

/* --- Бэкдроп оверлея: затемнение + лёгкий blur --- */
.ew-ovl {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
}
.ew-ovl.is-open { display: flex; }

/* --- Карточка в центре --- */
.ew-ovl__card {
  position: relative;
  width: min(520px, 92vw);
  background: var(--c-bg);
  border-radius: 12px;
  padding: 28px 22px 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  text-align: center;
}

/* крестик */
.ew-ovl__close,
.ew-pop__close{
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: #f3f5f6; color:#5b666a; cursor: pointer;
}
.ew-ovl__close:hover,
.ew-pop__close:hover{ background:#e8ebed; }

/* логотип/сумма/кнопка внутри карточки */
.ew-card__logo { height: 52px; margin: 10px 0 20px; display:flex; align-items:center; justify-content:center; }
.ew-card__logo img { max-height: 52px; width:auto; height:auto; }

.ew-card__sum { font-size: 42px; font-weight: 800; letter-spacing: .08em; margin: 10px 0 2px; }
.ew-card__caption { font-size: 11px; opacity:.7; margin-bottom: 12px; }

.ew-card__btn{
  display:inline-block; width:100%; padding:14px 0;
  font-weight:700; color:#fff; text-decoration:none;
  background: var(--g-primary);
  box-shadow: var(--shadow-btn);
  border-radius: 8px;
}
.ew-card__btn:hover{ opacity:.95; box-shadow: var(--shadow-btn-hover); }

/* --- POPUP (ПК: правый низ; моб.: по центру по горизонтали у низа) --- */
.ew-pop {
  position: fixed; z-index: 2000; display: none;
  right: 50px; bottom: 50px;
}
.ew-pop.is-open{ display:block; }

/* карточка попапа с «волной» (без пульса туда-обратно) */
.ew-pop__card{
  position: relative;
  width: min(380px, 100vw);
  background: var(--c-bg);
  border-radius: 12px;
  padding: 24px 18px 18px;
  text-align: center;

  /* статичная рамка 1px того же цвета, что и свечение */
  border: 1px solid var(--c-gray-500);
  box-shadow: 0 0 0 0 var(--c-pulse-glow); /* базовое состояние */
}

/* волна: появляется, расширяется и исчезает */
.ew-pop__card::after{
  content:"";
  position:absolute; inset:0px; border-radius:inherit;
  pointer-events:none;
  /* начальное состояние волны невидимо */
  opacity:0; box-shadow: 0 0 0 0 var(--c-pulse-glow);
  animation: ew-wave 2.4s ease-out infinite;
}

/* ключевые кадры: без возврата в исходное — цикл начинается заново */
@keyframes ew-wave{
  0%   { opacity:1;  box-shadow: 0 0 0   0   var(--c-pulse-glow); }
  65%  { opacity:.0;  box-shadow: 0 0 26px 18px var(--c-pulse-glow); }
  100% { opacity:0;   box-shadow: 0 0 0   0   var(--c-pulse-glow); }
}

/* мобилка: снизу по центру (без затемнения фона) */
@media (max-width:700px){
  .ew-pop{
    right:auto; left:50%; bottom:16px; top:auto;
    transform:translateX(-50%);
  }
  .ew-pop.is-open{ display:block; }
}

/* ===================================================================
   === BREADCRUMBS =====================================
   =================================================================== */

.breadcrumbs { padding:12px 0; font-size:14px; color:#6b7280; }
.breadcrumbs__list { display:flex; gap:8px; flex-wrap:wrap; list-style:none; margin:0; padding:0; }
.breadcrumbs__item a { text-decoration:none; color:var(--c-green-link) }
.breadcrumbs__item.is-current span { color:#111827; font-weight:500; }
.breadcrumbs__item + .breadcrumbs__item::before { content:"/"; color:#9ca3af; margin-right:8px; }

.site-main:has(#offers-pa) { 
  display: flex; 
  flex-direction: column; 
  gap: 24px;
}
.site-main:has(#offers-pa) #offers-pa { order: 1; }
.site-main:has(#offers-pa) .pa-text   { order: 2; }

/* Заголовок-сепаратор занимает всю ширину строки и не ломает сетку */
.offers__grid .offers__section-title{
  display:block;
  width:100%;
  flex-basis:100%;       /* для flex-сетки */
  grid-column:1 / -1;    /* для css-grid */
  margin:28px 0 14px;
  text-align:center;
}
.offers__section-title__inner{
  display:inline-block;
  font-weight:700;
  font-size:32px;
  line-height:1.2;
  color:#1f2c2b;
  background:rgba(255,255,255,.92);
  padding:10px 16px;
  box-shadow: var(--shadow-card);
}

/* Если ваша .offers__grid — flex и вдруг ряды «съезжают»,
   зафиксируйте выравнивание влево (безопасно для grid — просто проигнорится) */
.offers__grid{ justify-content: flex-start; }

@media (max-width:700px){
  .offers__grid .offers__section-title{ margin:20px 0 8px; }
}