/* ═══════════════════════════════════════════════════════════
   AZAU VPM — styles.css
   Бежево-синяя палитра, адаптив от 320px
═══════════════════════════════════════════════════════════ */

:root {
  --beige: #F3EBD9;
  --beige-light: #F8F2E4;
  --blue: #1457A6;
  --blue-dark: #0E4382;
  --blue-light: #1A5CB8;
  --blue-hover: #5B8FD1;
  --blue-glow: rgba(20, 87, 166, 0.45);
  --shadow-soft: 0 4px 20px rgba(14, 67, 130, 0.12);
  --shadow-card: 0 16px 48px rgba(14, 67, 130, 0.18);
  --shadow-btn: 0 8px 24px rgba(26, 92, 184, 0.35);

  --container: 1640px;
  --radius-pill: 27px;
  --radius-btn: 16px;
  --radius-card: 32px;

  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--blue);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }

/* ═══ HEADER ═══ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 235, 217, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 87, 166, 0.06);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.header__logo {
  flex-shrink: 0;
  display: block;
  width: 80px;
}
.header__logo img {
  width: 100%;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-wrap: wrap;
}

/* ═══ КНОПКИ (pill) ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1.5px solid rgba(20, 87, 166, 0.45);
  background: var(--beige);
  color: var(--blue);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(20, 87, 166, 0.18);
  background: var(--beige-light);
}
.btn:active { transform: translateY(0); }

.btn--pill { padding: 14px 22px; }
.btn--pill-text {
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 14px 28px;
}

.btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Главная синяя кнопка */
.btn--primary {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-dark) 100%);
  color: #fff;
  border: 1.2px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-btn);
  padding: 22px 28px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-btn);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 45%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 92, 184, 0.45);
  background: linear-gradient(135deg, #2168c4 0%, #1457A6 100%);
}

.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: 6px;
}
.btn__arrow svg { width: 18px; height: 18px; }

/* ═══ MESSENGER ICONS ═══ */
.messengers {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.messengers--header { gap: 12px; }
.messengers--big { gap: 28px; }

.messenger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.messenger:hover { transform: translateY(-2px); }

.messenger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(20, 87, 166, 0.12), rgba(20, 87, 166, 0.04));
  border: 1.5px solid rgba(20, 87, 166, 0.55);
  color: var(--blue);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.messenger:hover .messenger__icon {
  border-color: var(--blue);
  background: linear-gradient(to bottom, rgba(20, 87, 166, 0.2), rgba(20, 87, 166, 0.08));
}
.messenger__icon svg { width: 26px; height: 26px; }

.messenger__text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.8px;
  color: var(--blue);
}
.messenger__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.3px;
}

/* Большие иконки */
.messenger--big .messenger__icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
}
.messenger--big .messenger__icon svg { width: 32px; height: 32px; }
.messenger--big .messenger__text { font-size: 22px; }
.messenger--big .messenger__label {
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.75;
}

/* ═══ БУРГЕР (моб.) ═══ */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px 32px 32px;
  border-top: 1px solid rgba(20, 87, 166, 0.1);
  background: var(--beige);
}
.mobile-menu[data-open="true"] { display: flex; }

.mobile-menu__link {
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
  padding: 12px 0;
  border-bottom: 1px solid rgba(20, 87, 166, 0.1);
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 96px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__line {
  position: absolute;
  height: 1px;
  background: var(--blue);
  opacity: 0.18;
  transform-origin: left;
}
.hero__line--1 {
  width: 200%;
  top: 100%;
  left: -50%;
  transform: rotate(-29deg);
}
.hero__line--2 {
  width: 200%;
  top: 100%;
  left: -30%;
  transform: rotate(-22deg);
  opacity: 0.1;
}
.hero__glow {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(20, 87, 166, 0.45) 0%, rgba(20, 87, 166, 0.12) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__content { min-width: 0; }

.hero__title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 32px;
}
.hero__price { white-space: nowrap; }

.hero__subtitle {
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 400;
  margin: 0 0 48px;
  opacity: 0.9;
  max-width: 600px;
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 20px;
}
.feature__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(to bottom, rgba(20, 87, 166, 0.12), rgba(20, 87, 166, 0.04));
  border: 1px solid rgba(20, 87, 166, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.feature__icon svg { width: 50px; height: 50px; }
.feature__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}
.feature__text {
  font-size: 15px;
  margin: 0;
  opacity: 0.75;
}

/* CTA + counter */
.hero__cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 40px;
}
.hero__cta .btn--primary {
  flex: 1 1 320px;
  justify-content: space-between;
  min-height: 78px;
}

.counter {
  flex: 1 1 360px;
  padding: 14px 22px;
  background: var(--beige);
  border: 1.2px solid rgba(20, 87, 166, 0.35);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: center;
}
.counter__label {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-size: 11px;
  letter-spacing: 1.8px;
  font-weight: 600;
  opacity: 0.7;
}
.counter__main {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.counter__total {
  font-size: 16px;
  margin-left: 6px;
  opacity: 0.55;
}
.counter__bar {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  height: 7px;
  border-radius: 3.5px;
  background: rgba(20, 87, 166, 0.15);
  overflow: hidden;
}
.counter__fill {
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-hover) 100%);
  border-radius: 3.5px;
  animation: fill 1.4s 0.4s ease-out backwards;
}
@keyframes fill { from { width: 0; } }

.counter__sub {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  font-size: 13px;
  opacity: 0.6;
}

/* Быстрое подключение */
.hero__quick-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin: 0 0 16px;
}

/* Hero phone */
.hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}
.hero__rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__rings span {
  position: absolute;
  border: 1px solid var(--blue);
  border-radius: 50%;
}
.hero__rings span:nth-child(1) { width: 860px; height: 860px; opacity: 0.22; border-width: 1.5px; }
.hero__rings span:nth-child(2) { width: 730px; height: 730px; opacity: 0.16; }
.hero__rings span:nth-child(3) { width: 600px; height: 600px; opacity: 0.10; }

.hero__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__dots span {
  position: absolute;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}
.hero__dots span:nth-child(1) { width: 10px; height: 10px; top: 15%; left: 10%; opacity: 0.55; }
.hero__dots span:nth-child(2) { width: 8px; height: 8px; top: 25%; right: 8%; opacity: 0.45; animation-duration: 4s; }
.hero__dots span:nth-child(3) { width: 10px; height: 10px; bottom: 25%; right: 5%; opacity: 0.7; animation-duration: 2.5s; }
.hero__dots span:nth-child(4) { width: 8px; height: 8px; bottom: 15%; left: 5%; opacity: 0.5; animation-duration: 3.5s; }
@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.85; }
}

.hero__phone-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 370px;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(20, 87, 166, 0.35));
}

/* ═══ SECTION TITLE ═══ */
.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  opacity: 0.7;
  margin: 0 0 32px;
  padding: 0 32px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 240px;
  max-width: 60%;
  height: 1px;
  background: rgba(20, 87, 166, 0.2);
  margin: 16px auto 0;
}

/* ═══ СОВМЕСТИМОСТЬ ═══ */
.compat {
  padding: 64px 0 96px;
}

.compat__card {
  max-width: var(--container);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-card);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  color: var(--beige);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.compat__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}
.compat__card > * { position: relative; }

.compat__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.6;
  margin-bottom: 12px;
}
.compat__title {
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 32px;
}
.compat__text {
  font-size: 17px;
  opacity: 0.75;
  margin: 0 0 32px;
  max-width: 480px;
}

.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.platform:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.platform__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--beige);
}
.platform__icon svg { width: 28px; height: 28px; }
.platform strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}
.platform span {
  display: block;
  font-size: 13px;
  opacity: 0.7;
}
.platform small {
  display: block;
  font-size: 12px;
  opacity: 0.55;
  margin-top: 2px;
}

.compat__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
}
.compat__cta-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--beige);
}
.compat__cta-icon svg { width: 24px; height: 24px; }
.compat__cta strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.compat__cta span {
  font-size: 13px;
  opacity: 0.7;
}

.compat__col--right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.service {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease;
}
.service:hover { transform: translateY(-2px); }
.service svg { width: 34px; height: 34px; }
.service--yt { color: #FF0000; background: #fff; }

.services__note {
  font-size: 13px;
  font-style: italic;
  opacity: 0.55;
  margin: 0;
}

/* Установка */
.compat__install {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: center;
}
.compat__install-title {
  font-size: 17px;
  margin: 0 0 24px;
  opacity: 0.8;
}

/* ═══ FOOTER ═══ */
.footer {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-dark) 100%);
  color: var(--beige);
  padding: 64px 32px 24px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.06) 100%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col--brand { padding-right: 24px; }

.footer__logo {
  width: 100px;
  margin-bottom: 16px;
  filter: brightness(0) saturate(100%) invert(94%) sepia(15%) saturate(330%) hue-rotate(346deg) brightness(99%) contrast(94%);
}

.footer__tagline {
  font-size: 14px;
  margin: 0;
  opacity: 0.5;
  letter-spacing: 0.3px;
}
.footer__tagline + .footer__tagline { opacity: 0.4; }

.footer__heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.6;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(243, 235, 217, 0.2);
}

.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.75;
  transition: opacity 0.2s ease;
  display: inline-block;
  padding: 0;
  background: none;
  text-align: left;
}
.footer__link:hover { opacity: 1; }

.footer__contacts { display: flex; flex-direction: column; gap: 12px; }
.footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer__contact:hover { opacity: 1; }
.footer__contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--beige);
  flex-shrink: 0;
}
.footer__contact-icon svg { width: 20px; height: 20px; }
.footer__contact-text { font-weight: 800; font-size: 14px; letter-spacing: -0.5px; }

.footer__bottom {
  position: relative;
  max-width: var(--container);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { margin: 0; opacity: 0.35; }
.footer__motto { font-style: italic; opacity: 0.25 !important; }

/* ═══ POPUP ═══ */
.popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.popup[hidden] { display: none; }

.popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(243, 235, 217, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } }

.popup__card {
  position: relative;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-card);
  padding: 32px 48px 40px;
  width: min(860px, 100%);
  color: var(--beige);
  box-shadow: 0 24px 60px rgba(20, 87, 166, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.popup__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: linear-gradient(to bottom, rgba(255,255,255,0.07) 0%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
}

.popup__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 28px;
  font-weight: 300;
  color: var(--beige);
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 1;
  border-radius: 50%;
}
.popup__close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.popup__logo {
  width: 110px;
  margin: 0 auto 16px;
  filter: brightness(0) saturate(100%) invert(94%) sepia(15%) saturate(330%) hue-rotate(346deg) brightness(99%) contrast(94%);
}

.popup__title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.3;
  margin-bottom: 28px;
  position: relative;
}
.popup__title::after {
  content: '';
  display: block;
  width: 70%;
  max-width: 600px;
  height: 1px;
  margin: 24px auto 0;
  background: rgba(243, 235, 217, 0.18);
}

.popup__messengers {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.popup__messenger {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}
.popup__messenger:hover { transform: translateY(-3px); }

.popup__messenger-icon {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.13);
  border: 1.2px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(20, 87, 166, 0.25);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.popup__messenger:hover .popup__messenger-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}
.popup__messenger-icon svg { width: 50px; height: 50px; }

.popup__messenger-text {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--beige);
}
.popup__messenger-label {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.85;
}

.popup__back {
  display: block;
  margin: 32px auto 0;
  font-size: 14px;
  color: var(--beige);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.popup__back:hover { opacity: 0.9; }


/* ═══════════════════════════════════════════
   АДАПТИВ
═══════════════════════════════════════════ */

@media (max-width: 1280px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__phone { min-height: 500px; }
  .hero__rings span:nth-child(1) { width: 600px; height: 600px; }
  .hero__rings span:nth-child(2) { width: 500px; height: 500px; }
  .hero__rings span:nth-child(3) { width: 400px; height: 400px; }

  .compat__card { padding: 48px; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  .header__nav {
    display: none;
    flex-basis: 100%;
    order: 99;
    flex-direction: column;
    align-items: stretch;
    padding-top: 16px;
    border-top: 1px solid rgba(20, 87, 166, 0.1);
  }
  .header__nav[data-open="true"] { display: flex; }
  .header__nav .messengers--header { justify-content: center; }
  .burger { display: flex; }

  .hero { padding: 32px 0 64px; }
  .hero__inner { padding: 0 20px; }
  .hero__cta {
    display: block;
    margin-bottom: 32px;
  }
  .hero__cta .btn--primary {
    width: 100%;
    min-height: 64px;
    margin-bottom: 16px;
    flex: none;
  }
  .counter { width: 100%; }

  .compat { padding: 32px 0 64px; }
  .compat__card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
    margin: 0 16px;
  }
  .platforms { grid-template-columns: 1fr; }
  .section-title { font-size: 20px; }

  .footer { padding: 48px 24px 24px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1 / -1; padding-right: 0; }
}

@media (max-width: 560px) {
  .header__inner { padding: 12px 16px; gap: 16px; }
  .header__logo { width: 60px; }

  .hero__inner { padding: 0 16px; }
  .hero__title { font-size: 26px; }
  .hero__subtitle { font-size: 16px; margin-bottom: 32px; }
  .features { gap: 16px; margin-bottom: 32px; }
  .feature { gap: 14px; }
  .feature__icon { width: 44px; height: 44px; }
  .feature__icon svg { width: 44px; height: 44px; }
  .feature__title { font-size: 16px; }
  .feature__text { font-size: 13px; }

  .btn--primary { padding: 18px 22px; font-size: 16px; min-height: 64px; max-height: 80px; }
  .btn--primary > span:first-child { flex: 1; min-width: 0; text-align: left; }
  .btn__arrow { width: 30px; height: 30px; flex-shrink: 0; }

  .counter {
    padding: 16px 18px;
    display: block;
  }
  .counter__label,
  .counter__main,
  .counter__bar,
  .counter__sub { display: block; }
  .counter__label { font-size: 11px; margin-bottom: 6px; }
  .counter__main { font-size: 22px; margin-bottom: 10px; }
  .counter__bar { margin-bottom: 6px; }
  .counter__sub { font-size: 12px; }

  .messengers--big { gap: 18px; }
  .messenger--big .messenger__icon { width: 56px; height: 56px; border-radius: 14px; }
  .messenger--big .messenger__icon svg { width: 26px; height: 26px; }

  .hero__phone-img { width: 280px; }
  .hero__phone { min-height: 420px; }
  .hero__rings span:nth-child(1) { width: 420px; height: 420px; }
  .hero__rings span:nth-child(2) { width: 350px; height: 350px; }
  .hero__rings span:nth-child(3) { width: 280px; height: 280px; }

  .compat__card { padding: 28px 20px; border-radius: 24px; }
  .compat__title { font-size: 24px; margin-bottom: 24px; }
  .platform { padding: 14px; }
  .platform strong { font-size: 15px; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .popup { padding: 12px; }
  .popup__card { padding: 24px 20px 28px; border-radius: 24px; }
  .popup__messengers { gap: 12px; }
  .popup__messenger-icon { width: 72px; height: 72px; border-radius: 18px; }
  .popup__messenger-icon svg { width: 34px; height: 34px; }
  .popup__messenger-text { font-size: 24px; }
  .popup__messenger-label { font-size: 13px; }
  .popup__close { top: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Блокировка скролла когда открыт попап */
body.no-scroll { overflow: hidden; }
