:root {
  --blue-dark: #114a80;
  --blue: #1E73BE;
  --blue-light: #29b6e8;
  --ink: #17324d;
  --muted: #5c7288;
  --bg: #f2f6fa;
  --card: #ffffff;
  --accent: #f5a623;
  --teal: #0ea5a3;
}

* { box-sizing: border-box; }

html, body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.load-in {
  opacity: 0;
  animation: fade-in-up 0.7s ease forwards;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  background: var(--bg);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  max-width: 1220px;
  width: 100%;
  margin: 16px auto 0;
  padding: 0 16px;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--card);
  border-radius: 999px;
  padding: 10px 28px;
  box-shadow: 0 10px 30px rgba(17, 74, 128, 0.15), 0 2px 8px rgba(17, 74, 128, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled .header-inner {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(17, 74, 128, 0.12), 0 2px 6px rgba(17, 74, 128, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  max-width: 150px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
  color: var(--blue-dark);
}

.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-sep {
  color: var(--muted);
  font-size: 0.9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  position: relative;
  flex-shrink: 0;
}

.lang-switch-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.lang-switch-btn:hover {
  background: #e5edf5;
}

.lang-switch-btn:active {
  transform: scale(0.95);
}

.lang-switch-btn .caret {
  font-size: 0.65rem;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.lang-switch.open .caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17, 74, 128, 0.18), 0 2px 8px rgba(17, 74, 128, 0.08);
  padding: 6px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lang-switch.open .lang-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-menu button {
  border: none;
  background: transparent;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-menu button:hover {
  background: var(--bg);
}

.lang-menu button.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.cta-btn {
  background: var(--blue);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 74, 128, 0.25);
}

.cta-btn:active {
  transform: translateY(0) scale(0.97);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  background: var(--bg);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.menu-toggle:hover {
  background: #e5edf5;
}

.menu-toggle:active {
  transform: scale(0.92);
}

.menu-toggle .bar {
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(290px, calc(100vw - 32px));
  background: var(--card);
  border-radius: 18px;
  padding: 6px 20px;
  box-shadow: 0 10px 30px rgba(17, 74, 128, 0.15), 0 2px 8px rgba(17, 74, 128, 0.08);
  z-index: 60;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-card {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 50, 77, 0.08);
}

.menu-card:last-child {
  border-bottom: none;
}

.menu-card-question {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
  margin-bottom: 6px;
}

.menu-card-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--blue);
}

.menu-card-cta .arrow {
  transition: transform 0.15s ease;
}

.menu-card:hover .menu-card-cta {
  color: var(--blue-dark);
}

.menu-card:hover .menu-card-cta .arrow {
  transform: translateX(3px);
}

/* Планшет и мобильный: меню сворачивается в иконку, кнопка "Подать заявку" скрывается */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .menu-toggle { display: flex; }

  .mobile-nav-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .header-inner {
    padding: 8px 10px 8px 18px;
    gap: 10px;
  }

  .header-actions { gap: 10px; }
  .brand-icon { width: 32px; height: 32px; }
}

/* Мелкие телефоны: сжимаем бренд и элементы, чтобы круглая шапка не выходила за экран */
@media (max-width: 420px) {
  .site-header { padding: 0 10px; }

  .header-inner {
    padding: 6px 8px 6px 14px;
    gap: 8px;
  }

  .brand { gap: 8px; }
  .brand-icon { width: 28px; height: 28px; }
  .brand-text {
    max-width: 120px;
    font-size: 0.66rem;
  }

  .header-actions { gap: 6px; }
  .lang-switch-btn { padding: 6px 10px; font-size: 0.75rem; }
  .menu-toggle { width: 34px; height: 34px; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 16px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-eyebrow-icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow-icon svg {
  width: 19px;
  height: 19px;
}

.hero-eyebrow-icon .status-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  animation: status-blink 1.4s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.hero-eyebrow span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.hero-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  scroll-margin-top: 110px;
}

.hero-title .accent {
  color: var(--blue);
}

.hero-bar {
  width: 70px;
  height: 5px;
  border-radius: 4px;
  background: var(--accent);
  margin: 26px 0;
}

.bank-card {
  background: #fff;
  border: 1px solid #eaf0f5;
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 30px;
  box-shadow: 0 12px 30px rgba(17, 74, 128, 0.08);
  transition: box-shadow 0.2s ease;
}

.bank-card:hover {
  box-shadow: 0 18px 40px rgba(17, 74, 128, 0.12);
}

.bank-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.bank-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #eaf3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.bank-card-icon svg {
  width: 22px;
  height: 22px;
}

.bank-card-heading h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.bank-card-heading p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.bank-options {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.bank-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3e9f0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.bank-btn:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 18px rgba(17, 74, 128, 0.14);
  transform: translateY(-2px);
}

.bank-btn:active {
  transform: translateY(0) scale(0.98);
}

.bank-btn-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.bank-btn:hover .bank-btn-icon {
  transform: scale(1.1) rotate(-4deg);
}

.bank-btn-icon.bog { background: #fdece2; }
.bank-btn-icon.tbc { background: #e3f2fb; }

.bank-btn-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.bank-btn-name {
  flex: 1;
  text-align: left;
}

.bank-btn-chevron {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.bank-card-note {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-points .point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-teal { background: var(--teal); }
.dot-amber { background: var(--accent); }

.hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(17, 74, 128, 0.18);
}

.hero-image {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .hero { gap: 32px; }
  .hero-image { height: 460px; }
}

/* Мобильный и планшет: "Безопасно через банк" переезжает внутрь карточки, под кнопками */
@media (max-width: 900px) {
  .bank-card-note { display: flex; }
  .hero-points .point-bank-safe { display: none; }
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 16px 64px;
    gap: 32px;
  }

  .hero-media { order: -1; }
  .hero-image { height: 320px; }
}

@media (max-width: 420px) {
  .hero { padding: 24px 10px 48px; }
  .bank-card { padding: 16px; }
  .bank-options { flex-direction: column; }
  .bank-btn { padding: 11px 12px; font-size: 0.85rem; }
  .hero-image { height: 260px; }
}

/* ---------- Разделитель между секциями ---------- */

.section-divider {
  max-width: 640px;
  margin: 0 auto 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-divider-line {
  flex: 1;
  height: 1px;
}

.section-divider-line:first-child {
  background: linear-gradient(to right, transparent, #d7e2ec);
}

.section-divider-line:last-child {
  background: linear-gradient(to left, transparent, #d7e2ec);
}

.section-divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(30, 115, 190, 0.12);
}

/* ---------- Программы поддержки ---------- */

.programs {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px 110px;
}

.programs-title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.programs-subtitle {
  max-width: 640px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.program-card {
  background: var(--card);
  border: 1px solid #e3e9f0;
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(17, 74, 128, 0.12);
  border-color: #cfe0f0;
}

.program-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eaf3fb;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}

.program-card:hover .program-icon {
  transform: scale(1.1) rotate(-4deg);
}

.program-icon svg {
  width: 22px;
  height: 22px;
}

.program-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.program-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .programs-grid { grid-template-columns: minmax(0, 1fr); }
  .programs { padding: 10px 16px 70px; }
}

/* ---------- Как это работает ---------- */

.how {
  background: #101f33;
  padding: 90px 16px;
}

.how-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.how-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.how-title {
  margin: 0 0 48px;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 17px;
  bottom: 17px;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(41, 182, 232, 0.12);
  border: 1px solid rgba(41, 182, 232, 0.4);
  color: var(--blue-light);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item:first-child .timeline-marker {
  animation: marker-pulse 1.8s ease-out infinite;
}

@keyframes marker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(41, 182, 232, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(41, 182, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 182, 232, 0); }
}

.timeline-content h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.timeline-content p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.how-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.how-image {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .how-image { height: 400px; }
}

@media (max-width: 780px) {
  .how { padding: 60px 16px; }
  .how-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how-image { height: 320px; }
}

@media (max-width: 420px) {
  .how { padding: 48px 10px; }
  .how-title { margin-bottom: 36px; }
  .how-image { height: 240px; }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  border-top: 1px solid #e3e9f0;
}

.site-footer-inner {
  margin: 0 auto;
  padding: 26px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eaf3fb;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon svg {
  width: 18px;
  height: 18px;
}

.footer-text {
  margin: 0;
  max-width: 620px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-copyright {
  margin: 0;
  flex-shrink: 0;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-footer {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    background: linear-gradient(to right, transparent, var(--bg));
    pointer-events: none;
  }

  .site-footer-inner {
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap;
    padding: 22px 5%;
    animation: footer-scroll-hint 1.6s ease 0.9s;
  }

  .footer-text {
    max-width: none;
    white-space: nowrap;
  }
}

@keyframes footer-scroll-hint {
  0%, 20% { transform: translateX(0); }
  45% { transform: translateX(18px); }
  70% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* ---------- Плавающая кнопка поддержки ---------- */

.support-fab-wrapper {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
}

.support-fab-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(17, 74, 128, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.support-fab-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue);
  z-index: -1;
  animation: fab-pulse 2.6s ease-out infinite;
}

.support-fab-wrapper.open .support-fab-btn::before {
  animation: none;
}

@keyframes fab-pulse {
  0% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}

.support-fab-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(17, 74, 128, 0.4);
}

.support-fab-btn svg {
  width: 24px;
  height: 24px;
}

.support-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 290px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 45px rgba(17, 74, 128, 0.22);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.support-fab-wrapper.open .support-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.support-popover-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-popover-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fdece2;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-popover-icon svg {
  width: 18px;
  height: 18px;
}

.support-popover-head strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.support-popover-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 0.76rem;
  color: var(--muted);
}

.support-popover p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.support-viber-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #7360f2;
  color: #fff;
  text-decoration: none;
  padding: 11px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.support-viber-btn:hover {
  background: #5f4dd6;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .support-fab-wrapper { right: 16px; bottom: 16px; }
  .support-fab-btn { width: 50px; height: 50px; }
  .support-fab-btn svg { width: 21px; height: 21px; }
  .support-popover { width: 260px; }
}
