:root {
    --primary: #0f407b;
    --primary-hover: #0a2d58;
    --primary-light: #3a6bb0;
    --secondary: #ff9e40;
    --accent: #2ecc71;
    --light: #f8f9fa;
    --dark: #212b36;
    --text: #000;
    --text-dark: #333333;
    --white: #ffffff;
    --gray-100: #f9fafb;
    --transition: all 0.3s ease;
    --radius: 16px;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Базовые исправления для мобильных */
:root {
    --header-height: 70px;
}

body {
    padding-top: var(--header-height);
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .bonus-step {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    
    .bonus-step__icon {
        width: 80px;
        height: 80px;
    }
    
    .hero-bonus__visual {
        min-height: 360px;
    }
}

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #fff;
  color: #111;
}

/* =========================
   HERO
========================= */

/* .hero-bonus {
  position: relative;
  overflow: hidden;

  padding: 100px 20px 0;
}

.hero-bonus__container {
  position: relative;

  max-width: 1440px;
  margin: 0 auto;

  max-height: 860px;

  display: grid;
  grid-template-columns: 620px 1fr;

  background: #fff;
  border-radius: 0;

  overflow: hidden;
} */

/* =========================
   LEFT
========================= */

/* .hero-bonus__content {
  position: relative;
  z-index: 5;

  background: #fff;

  padding:
    90px
    50px
    70px
    70px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bonus__text {
  max-width: 500px;
}

.hero-bonus__subtitle {
  font-size: clamp(38px, 4vw, 72px);
  line-height: 1;
  font-weight: 800;

  color: #1189BF;

  margin-bottom: 24px;
}

.hero-bonus__price-row {
  display: flex;
  align-items: center;
  gap: 22px;

  margin-bottom: 26px;
}

.hero-bonus__price {
  font-size: clamp(110px, 10vw, 170px);
  line-height: 0.9;
  font-weight: 900;

  color: #0F3077;
}

.hero-bonus__currency {
  font-size: clamp(90px, 7vw, 120px);
  line-height: 1;
  font-weight: 800;
font-family: 'Nunito', sans-serif;
  color: #0F3077;
}

.hero-bonus__description {
  font-size: clamp(28px, 2vw, 42px);
  line-height: 1.25;
  font-weight: 600;

  color: #1189BF;
} */

/* =========================
   BUTTON
========================= */

/* .hero-bonus__button {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  margin-top: 70px;

  min-height: 110px;
  padding: 20px 44px;

  background: #FDBD24;

  border-radius: 34px;

  font-size: 34px;
  line-height: 1;
  font-weight: 700;

  color: #000;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.hero-bonus__button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 18px 40px rgba(251, 193, 32, 0.35);
}

.hero-bonus__button:active {
  transform: translateY(0);
}

.hero-bonus__button-icon {
  font-size: 42px;
} */

/* =========================
   RIGHT
========================= */

/* .hero-bonus__visual {
  position: relative;
width: 880px;
  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.hero-bonus__visual img{
  width: 100%;
height: auto;
} */

/* =========================
   LAPTOP
========================= */

@media (max-width: 1440px) {

  .hero-bonus__container {
    grid-template-columns: 540px 1fr;
    min-height: 720px;
  }

  .hero-bonus__content {
    padding: 70px 40px 60px;
  }

  .hero-bonus__button {
    font-size: 28px;
    min-height: 90px;
  }

  .hero-bonus__lion {
    width: 620px;
  }

  .hero-bonus__circle {
    width: 720px;
    height: 720px;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

  .hero-bonus {
    padding: 20px;
  }

  .hero-bonus__container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-bonus__content {
    order: 2;

    padding: 60px 32px 50px;
  }

  .hero-bonus__visual {
    order: 1;

    min-height: 640px;
  }

  .hero-bonus__circle {
    width: 640px;
    height: 640px;

    transform: translate(-50%, -50%);
  }

  .hero-bonus__lion {
    width: 540px;
  }

  .hero-bonus__button {
    width: 100%;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .hero-bonus {
    padding: 0;
  }

  .hero-bonus__container {
    border-radius: 0;
  }

  .hero-bonus__visual {
    min-height: 420px;

    padding-top: 24px;
  }

  .hero-bonus__content {
    padding:
      24px
      20px
      36px;
  }

  .hero-bonus__subtitle {
    font-size: 34px;

    margin-bottom: 12px;
  }

  .hero-bonus__price-row {
    gap: 10px;

    margin-bottom: 18px;
  }

  .hero-bonus__price {
    font-size: 88px;
  }

  .hero-bonus__currency {
    font-size: 62px;
  }

  .hero-bonus__description {
    font-size: 24px;
    line-height: 1.3;
  }

  .hero-bonus__button {
    width: 100%;

    min-height: 74px;

    margin-top: 36px;

    border-radius: 22px;

    font-size: 24px;
    gap: 12px;
  }

  .hero-bonus__button-icon {
    font-size: 28px;
  }

  .hero-bonus__lion {
    width: 360px;
  }

  .hero-bonus__circle {
    width: 420px;
    height: 420px;
  }

  .hero-bonus__star--1 {
    width: 46px;

    top: 70px;
    right: 50px;
  }

  .hero-bonus__star--2 {
    width: 50px;

    left: 24px;
    bottom: 90px;
  }

  .hero-bonus__cloud--1 {
    width: 80px;

    top: 20px;
    left: 20px;
  }

  .hero-bonus__cloud--2 {
    width: 80px;

    bottom: 40px;
    left: 30px;
  }

  .hero-bonus__shape--1 {
    width: 24px;

    top: 110px;
    left: 40px;
  }

  .hero-bonus__shape--2 {
    width: 24px;

    right: 20px;
    bottom: 120px;
  }

  .hero-bonus__star--title {
    width: 32px;
    height: 32px;

    top: 4px;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

  .hero-bonus__visual {
    min-height: 360px;
  }

  .hero-bonus__lion {
    width: 310px;
  }

  .hero-bonus__circle {
    width: 340px;
    height: 340px;
  }

  .hero-bonus__subtitle {
    font-size: 28px;
  }

  .hero-bonus__price {
    font-size: 72px;
  }

  .hero-bonus__currency {
    font-size: 54px;
  }

  .hero-bonus__description {
    font-size: 20px;
  }

  .hero-bonus__button {
    min-height: 68px;

    font-size: 20px;
  }
}

/* ====================================
   SECTION
==================================== */

.bonus-usage {
  padding: 70px 20px 50px;
  background: #fff;
}

.bonus-usage__container {
  max-width: 1500px;
  margin: 0 auto;
}

/* ====================================
   COMMON BOX
==================================== */

.bonus-usage__steps,
.bonus-programs {
  position: relative;

  background: #fff;

  border: 2px solid #61b9eb;
  border-radius: 8px;

  padding: 20px 44px 44px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.04);
}

.bonus-programs {
  margin-top: 90px;
}

/* ====================================
   TITLES
==================================== */

.bonus-usage__title,
.bonus-programs__title {
  text-align: center;

  font-size: clamp(34px, 3vw, 60px);
  line-height: 1.1;
  font-weight: 700;

  letter-spacing: -0.02em;

  color: #118fd9;

  margin-bottom: 0px;
}

.bonus-programs__title {
  color: #15378e;
  margin-bottom: 40px;
}

/* ====================================
   STEPS
==================================== */

.bonus-usage__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.bonus-step {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.bonus-step__icon {
  width: 200px;
  height: 200px;

  /* border-radius: 50%; */

  margin-bottom: 0px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* background:
    radial-gradient(
      circle,
      rgba(248,248,250,1) 0%,
      rgba(240,241,245,1) 100%
    ); */
}

.bonus-step__icon img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.bonus-step__title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;

  color: #15378e;
}

.bonus-step__desc {
  margin-top: 4px;

  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;

  color: #717171;
}

/* ====================================
   PROGRAMS GRID
==================================== */

.bonus-programs__grid {
  display: grid;

  grid-template-columns: repeat(12, 1fr);

  gap: 34px;

  max-width: 1320px;
  margin: 0 auto;
}

/* Верхний ряд */
.bonus-programs__grid .program-card:nth-child(1),
.bonus-programs__grid .program-card:nth-child(2),
.bonus-programs__grid .program-card:nth-child(3),
.bonus-programs__grid .program-card:nth-child(4) {
  grid-column: span 3;
}

/* Нижний ряд по центру */
.bonus-programs__grid .program-card:nth-child(5) {
  grid-column: 2 / span 3;
}

.bonus-programs__grid .program-card:nth-child(6) {
  grid-column: 5 / span 3;
}

.bonus-programs__grid .program-card:nth-child(7) {
  grid-column: 8 / span 3;
}

/* ====================================
   CARD
==================================== */

.program-card {
  position: relative;

  max-height: 320px;

  background: #fff;

  border: 2px solid #61b9eb;
  border-radius: 8px;

  padding: 0px 20px 22px;

  text-align: center;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.program-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(17, 143, 217, 0.15);
}

.program-card__image {
  width: 200px;
  height: 200px;

  margin: 0 auto 0px;

  /* border-radius: 50%; */

  /* background:
    radial-gradient(
      circle,
      rgba(248,248,250,1) 0%,
      rgba(240,241,245,1) 100%
    ); */

  display: flex;
  align-items: center;
  justify-content: center;
}

.program-card__image img {
  width: 130px;
  object-fit: contain;
}

.program-card__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.program-card__title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;

  color: #15378e;
}

.program-card__desc {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;

  color: #6f6f6f;
}

/* ====================================
   BADGES
==================================== */

.program-card__badges {
  position: absolute;

  top: -16px;
  left: 14px;

  display: flex;
  align-items: center;
  gap: 10px;

  z-index: 2;
}

.program-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;
  padding: 8px 14px;

  border-radius: 8px;

  font-size: 13px;
  line-height: 1;
  font-weight: 700;

  white-space: nowrap;
}

.program-card__badge--blue {
  background: #1793d7;
  color: #fff;
}

.program-card__badge--dark {
  background: #17378f;
  color: #fff;
}

.program-card__badge--yellow {
  background: #f9be16;
  color: #000;
}

/* ====================================
   CTA
==================================== */

.bonus-programs__cta {
  display: flex;
  justify-content: center;

  margin-top: 70px;
}

.bonus-programs__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 88px;

  padding: 18px 48px;

  background: #fbc120;

  border-radius: 28px;

  font-size: clamp(24px, 2vw, 42px);
  line-height: 1;
  font-weight: 700;

  color: #000;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.bonus-programs__button:hover {
  transform: translateY(-3px);

  box-shadow:
    0 18px 40px rgba(251, 193, 32, 0.35);
}

/* ====================================
   TABLET
==================================== */

@media (max-width: 1200px) {

  .bonus-programs__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {

  .bonus-usage__steps-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .bonus-programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bonus-usage__steps,
  .bonus-programs {
    padding: 34px 24px 40px;
  }
}

/* ====================================
   MOBILE
==================================== */

@media (max-width: 768px) {

  .bonus-usage {
    padding: 40px 14px 80px;
  }

  .bonus-programs {
    margin-top: 50px;
  }

  .bonus-usage__title,
  .bonus-programs__title {
    margin-bottom: 34px;
  }

  .bonus-step__icon {
    width: 130px;
    height: 130px;
  }

  .bonus-step__icon img {
    width: 92px;
  }

  .bonus-step__title {
    font-size: 20px;
  }

  .bonus-step__desc {
    font-size: 17px;
  }

  .bonus-programs__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .program-card {
    min-height: auto;
    padding: 24px 16px 20px;
  }

  .program-card__image {
    width: 140px;
    height: 140px;
  }

  .program-card__image img {
    width: 100px;
  }

  .program-card__title {
    font-size: 18px;
  }

  .program-card__desc {
    font-size: 16px;
  }

  .bonus-programs__button {
    width: 100%;
    min-height: 72px;

    border-radius: 20px;

    padding: 16px 22px;

    text-align: center;
  }
}

/* ====================================
   SMALL MOBILE
==================================== */

@media (max-width: 480px) {

  .bonus-usage__steps,
  .bonus-programs {
    padding:
      26px
      16px
      28px;
  }

  .program-card__badges {
    position: static;

    justify-content: center;
    flex-wrap: wrap;

    margin-bottom: 18px;
  }

  .program-card__badge {
    font-size: 12px;
    min-height: 30px;
  }
}

@media (max-width: 992px) {

  .bonus-programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bonus-programs__grid .program-card {
    grid-column: auto !important;
  }
}

@media (max-width: 768px) {

  .bonus-programs__grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Footer
=============================== */
footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-info {
background: rgba(255,255,255,0.03); 
padding: 20px 12px; 
border-radius: 12px;
}

.footer-info p {
    color: #cbd5e0;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 300px;
}

/* Стили для блоков филиалов */
.footer-branch {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary);
    backdrop-filter: blur(10px);
}

.footer-branch h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-branch h3 i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.branch-contacts p {
    margin-bottom: 12px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.branch-contacts i {
    color: var(--secondary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.branch-contacts a {
    color: #e2e8f0;
    transition: var(--transition);
    text-decoration: none;
}

.branch-contacts a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Соцсети для каждого филиала */
.branch-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.branch-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--secondary); /* Иконки акцентного цвета */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none; /* Убираем подчеркивание */
    position: relative;
}

.branch-social a i {
    color: var(--secondary);
}

.branch-social a:hover {
    background: transparent; /* Прозрачный фон при наведении */
    color: var(--secondary); /* Сохраняем акцентный цвет */
    transform: translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(255, 193, 7, 0.3),
        0 0 0 2px var(--secondary); /* Акцентная обводка */
}

.branch-social a:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: var(--secondary);
    opacity: 0.1;
    z-index: -1;
}

/* Альтернативный вариант с glow эффектом */
.branch-social a.alternative:hover {
    background: transparent;
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 
        0 0 20px rgba(255, 193, 7, 0.4),
        inset 0 0 0 1px var(--secondary);
}

/* Вариант с pulsating glow */
.branch-social a.glow:hover {
    animation: socialGlow 1.5s ease-in-out infinite alternate;
    background: transparent;
    color: var(--secondary);
}

.max-logo {
  width: 24px; /* Настройте под нужный размер */
  height: 24px;
  object-fit: contain; /* Сохраняет пропорции */
  vertical-align: middle;
}

.custom-max-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


@keyframes socialGlow {
    from {
        box-shadow: 0 0 10px rgba(255, 193, 7, 0.2),
                   0 0 0 1px var(--secondary);
    }
    to {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.6),
                   0 0 0 2px var(--secondary);
    }
}

/* Убираем стандартное подчеркивание для всех ссылок в футере */
.branch-social a,
.branch-social a:hover,
.branch-social a:focus {
    text-decoration: none !important;
}

/* Дополнительно: улучшаем доступность */
.branch-social a:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Планшеты - 2 колонки */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки */
        gap: 25px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 колонка */
        gap: 25px;
    }

    .branch-social a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .branch-social a:hover {
        transform: translateY(-1px);
        box-shadow: 
            0 3px 10px rgba(255, 193, 7, 0.25),
            0 0 0 1px var(--secondary);
    }
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
    color: #a0aec0;
}

/* Адаптивность */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        gap: 25px;
        grid-template-columns: 1fr;
    }
    
    .footer-branch {
        padding: 20px;
    }
    
    .branch-social a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-branch {
    animation: fadeInUp 0.6s ease-out;
}

.footer-branch:nth-child(2) {
    animation-delay: 0.1s;
}

.footer-branch:nth-child(3) {
    animation-delay: 0.2s;
}

/* ===============================
   Анимации
=============================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bonus-programs__result-link {
  color: #858585;
  font-size: 24px;
}

.bonus-programs__result-link:hover {
  color: var(--secondary);

}

.bonus-programs__result {
text-align: center;
  padding-bottom: 50px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    z-index: 1100;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    display: block;
    height: 60px;
    width: auto;
}

.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}

.nav-list .btn-nav {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

/* Бургер */
.burger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
    margin: 3px 0;
}

/* ===== ДЕСКТОПНОЕ ВЫПАДАЮЩЕЕ МЕНЮ ===== */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    padding: 8px 0;
        /* Увеличиваем область клика */
    position: relative;
    z-index: 1001;
}

/* Создаём невидимый мост между кнопкой и меню */
.nav-item.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    z-index: 999;
}

.dropdown-icon {
    transition: transform 0.3s ease;
    width: 12px;
    height: 8px;
}

.nav-item.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
        /* Убираем задержку при появлении, но оставляем при исчезновении */
    transition-delay: 0s, 0s, 0s;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Дополнительная защита - меню не исчезает при наведении на него */
.dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.dropdown-container {
    padding: 8px;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.dropdown-item-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.dropdown-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
    line-height: 1.3;
}

.dropdown-item-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.badge-soon {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-item[data-soon] {
    opacity: 0.8;
    cursor: default;
}

.dropdown-item[data-soon]:hover {
    background: transparent;
    transform: none;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 8px 12px;
}

.dropdown-item[data-action="request-presentation"] .dropdown-item-title {
    color: #92400e;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 992px) {
    .header-container {
        padding: 0.8rem 1rem;
    }

    .logo-image {
        height: 50px;
    }

    .burger {
        display: flex;
    }

    /* ИСПРАВЛЕНО: убираем все лишние отступы и контейнеры */
    .nav {
        position: fixed;
        top: var(--header-height, 70px);
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 9999;
        padding: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        display: block;
        width: 100%;
    }

    .nav.active {
        transform: translateX(0);
    }

    /* Убираем стандартный контейнер внутри nav */
    .nav .container {
        width: 100vw;
        max-width: none;
        padding: 0;
        margin: 0;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        padding: 0 0 80px 0;
        margin: 0;
        list-style: none;
        width: 100vw;
        transform: none;
        gap: 0;
        align-items: stretch;
        text-align: left;
        min-height: 100%;
    }

    .nav-list > li {
        width: 100vw;
        margin: 0;
        opacity: 1;
        transform: none;
    }

    .nav-link {
        display: block;
        padding: 16px 20px;
        font-size: 16px;
        color: #1f2937 !important;
        text-decoration: none;
        transition: background 0.2s;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
        background: #ffffff;
        white-space: normal;
        font-weight: 500;
        box-sizing: border-box;
    }

    .nav-link:hover,
    .nav-link:active {
        background: #f9fafb;
        color: #1f2937 !important;
    }

    .nav-link::after {
        display: none;
    }

    /* Кнопка "Записаться" */
    .nav-list > li:last-child {
        margin-top: auto;
        padding: 20px 20px 10px;
        border-bottom: none;
        background: #ffffff;
        position: sticky;
        bottom: 0;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    }

    .btn-nav {
        display: block;
        width: 100%;
        padding: 16px 20px;
        text-align: center;
        background: transparent;
        border: 2px solid #1790c9;
        border-radius: 50px;
        color: #1790c9 !important;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s;
        margin: 0;
        box-sizing: border-box;
    }

    .btn-nav:hover,
    .btn-nav:active {
        background: #1790c9;
        color: white !important;
        transform: none;
    }

    /* Мобильное выпадающее меню */
    .nav-item.dropdown {
        position: relative;
        width: 100%;
        background: #ffffff;
    }

    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 20px;
        background: #ffffff;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
        font-weight: 500;
        color: #1f2937 !important;
        cursor: pointer;
        text-align: left;
        margin: 0;
        box-sizing: border-box;
    }

    .dropdown-toggle .dropdown-icon {
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: 10px;
        width: 12px;
        height: 8px;
    }

    .nav-item.dropdown.active .dropdown-toggle {
        border-bottom-color: transparent;
        background: #f9fafb;
    }

    .nav-item.dropdown.active .dropdown-toggle .dropdown-icon {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static !important;
        display: block !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background: #f9fafb;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin: 0;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        min-width: auto;
        left: 0;
        right: 0;
        top: 0;
        box-sizing: border-box;
    }

    .nav-item.dropdown.active .dropdown-menu {
        max-height: 800px !important;
        overflow-y: visible;
    }

    .dropdown-container {
        padding: 0;
        background: #f9fafb;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 20px 14px 36px;
        text-decoration: none;
        color: #1f2937 !important;
        border-bottom: 1px solid #e5e7eb;
        background: #f9fafb;
        width: 100%;
        text-align: left;
        cursor: pointer;
        transition: background 0.2s;
        box-sizing: border-box;
        margin: 0;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item:hover,
    .dropdown-item:active {
        background: #f3f4f6;
        transform: none;
    }

    /* Бургер анимация */
    .burger span {
        background: #1f2937;
    }

    .burger.active span:first-child {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:last-child {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    body.menu-open {
        overflow: hidden;
    }
}


  /* =========================
<!-- Popup для QR -->
  ========================= */

  .bonus-popup {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: .3s ease;

  z-index: 9999;
}

.bonus-popup.active {
  opacity: 1;
  visibility: visible;
}

.bonus-popup__overlay {
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,.55);

  backdrop-filter: blur(6px);
}

.bonus-popup__body {
  position: relative;

  width: 90%;
  max-width: 520px;

  background: #fff;

  border-radius: 28px;

  padding: 42px;

  z-index: 2;

  transform: translateY(20px);

  transition: .3s ease;
}

.bonus-popup.active .bonus-popup__body {
  transform: translateY(0);
}

.bonus-popup__title {
  font-size: 36px;
  font-weight: 800;

  margin-bottom: 16px;
}

.bonus-popup__subtitle {
  font-size: 18px;
  color: #666;

  margin-bottom: 28px;
}

.bonus-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bonus-form input {
  height: 60px;

  border: 1px solid #ddd;
  border-radius: 16px;

  padding: 0 20px;

  font-size: 16px;
}

.bonus-form button {
  height: 64px;

  border: none;
  border-radius: 18px;

  background: #fbc120;

  font-size: 20px;
  font-weight: 700;

  cursor: pointer;
}

.bonus-popup__close {
  position: absolute;

  top: 16px;
  right: 16px;

  border: none;
  background: none;

  font-size: 32px;

  cursor: pointer;
}

@media (max-width: 992px) {
    .nav {
        top: var(--header-height, 70px); /* Переменная не определена */
    }
}

/* В media-запросах конфликт */
@media (max-width: 992px) {
    .bonus-programs__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .bonus-programs__grid {
        grid-template-columns: 1fr; /* Переопределяет */
    }
}

@media (max-width: 768px) {
    .hero-bonus__visual {
        min-height: 360px; /* Уменьшите с 420px */
    }
    .hero-bonus__content {
        padding: 20px 16px 30px; /* Уменьшите отступы */
    }
    .hero-bonus__button {
        font-size: 20px; /* С 24px */
        min-height: 60px; /* С 74px */
    }
}

@media (max-width: 768px) {
    .bonus-step {
        flex-direction: row; /* Горизонтально на телефонах */
        text-align: left;
        gap: 16px;
    }
    .bonus-step__icon {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }
    .bonus-step__icon img {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .bonus-popup__body {
        padding: 24px 20px;
        width: 95%;
    }
    .bonus-popup__title {
        font-size: 24px;
    }
    .bonus-form input,
    .bonus-form button {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-bonus__subtitle {
        font-size: 24px; /* С 28px */
    }
    .hero-bonus__price {
        font-size: 56px; /* С 72px */
    }
    .bonus-usage__title {
        font-size: 28px; /* С 34px */
    }
}

/* ===== HERO BONUS - ОПТИМИЗАЦИЯ ПОД МОБИЛЬНЫЕ ===== */

.hero-bonus {
    position: relative;
    overflow: hidden;
    padding: 0; /* Убираем padding, будет внутри контейнера */
}

.hero-bonus__container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    background: #fff;
    min-height: 600px;
}

/* Левая часть с текстом */
.hero-bonus__content {
    position: relative;
    z-index: 5;
    background: #fff;
    padding: 80px 50px 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bonus__text {
    max-width: 500px;
}

.hero-bonus__subtitle {
    font-size: clamp(32px, 5vw, 72px);
    line-height: 1.1;
    font-weight: 800;
    color: #1189BF;
    margin-bottom: 20px;
}

.hero-bonus__price-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Чтобы переносилось на маленьких */
}

.hero-bonus__price {
    font-size: clamp(80px, 12vw, 170px);
    line-height: 0.9;
    font-weight: 900;
    color: #0F3077;
}

.hero-bonus__currency {
    font-size: clamp(60px, 8vw, 120px);
    line-height: 1;
    font-weight: 800;
    color: #0F3077;
}

.hero-bonus__description {
    font-size: clamp(22px, 4vw, 42px);
    line-height: 1.25;
    font-weight: 600;
    color: #1189BF;
}

/* Кнопка */
.hero-bonus__button {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    min-height: 90px;
    padding: 18px 40px;
    background: #FDBD24;
    border-radius: 34px;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    color: #000;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.hero-bonus__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(251, 193, 32, 0.35);
}

.hero-bonus__button:active {
    transform: translateY(0);
}

.hero-bonus__button-icon {
    font-size: clamp(28px, 5vw, 42px);
}

/* Правая часть с изображением */
.hero-bonus__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
}

.hero-bonus__lion {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
}


/* ===== ПЛАНШЕТЫ (768px - 1024px) ===== */
@media (max-width: 1024px) {
    .hero-bonus__content {
        padding: 60px 40px 60px 50px;
    }
    
    .hero-bonus__button {
        min-height: 80px;
        padding: 15px 35px;
    }
    
    .hero-bonus__lion {
        max-width: 480px;
    }
}

/* ===== МОБИЛЬНЫЕ ТЕЛЕФОНЫ (до 768px) ===== */
@media (max-width: 768px) {
    .hero-bonus {
        padding: 0;
    }
    
    /* Меняем порядок: картинка сверху, текст снизу */
    .hero-bonus__container {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
    }
    
    /* Картинка - первая */
    .hero-bonus__visual {
        order: 1;
        padding: 30px 20px 0;
        min-height: auto;
        background: #fff;
    }
    
    .hero-bonus__lion {
        max-width: 320px;
        margin: 0 auto;
    }
    
    /* Текст - второй */
    .hero-bonus__content {
        order: 2;
        padding: 20px 20px 40px;
        text-align: center;
    }
    
    .hero-bonus__text {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-bonus__subtitle {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .hero-bonus__price-row {
        justify-content: center;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .hero-bonus__price {
        font-size: 68px;
    }
    
    .hero-bonus__currency {
        font-size: 48px;
    }
    
    .hero-bonus__description {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .hero-bonus__description br {
        display: none; /* Убираем перенос на мобильных */
    }
    
    /* Кнопка на всю ширину */
    .hero-bonus__button {
        width: 100%;
        min-height: 60px;
        margin-top: 30px;
        padding: 14px 20px;
        font-size: 20px;
        border-radius: 50px;
    }
    
    .hero-bonus__button-icon {
        font-size: 24px;
    }
}

/* ===== ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) ===== */
@media (max-width: 480px) {
    .hero-bonus__visual {
        padding: 20px 15px 0;
    }
    
    .hero-bonus__lion {
        max-width: 260px;
    }
    
    .hero-bonus__content {
        padding: 15px 16px 30px;
    }
    
    .hero-bonus__subtitle {
        font-size: 24px;
    }
    
    .hero-bonus__price {
        font-size: 54px;
    }
    
    .hero-bonus__currency {
        font-size: 38px;
    }
    
    .hero-bonus__description {
        font-size: 18px;
    }
    
    .hero-bonus__button {
        min-height: 54px;
        font-size: 18px;
        margin-top: 24px;
        gap: 10px;
    }
    
    .hero-bonus__button-icon {
        font-size: 20px;
    }
}