.site-footer {
  background: linear-gradient(160deg, #5c0e17 0%, #7A0E18 45%, #9e1420 100%);
  color: rgba(255,255,255,0.92);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -35%; right: -12%;
  width: 55%; height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, transparent 70%);
  pointer-events: none;
  animation: footerGlowPulse 8s ease-in-out infinite;
}
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -22%; left: -8%;
  width: 38%; height: 85%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: footerGlowPulse 8s ease-in-out infinite;
  animation-delay: 3s;
}
@keyframes footerGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.18); }
}

.footer-edge-accent {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3px;
}
.footer-edge-accent span {
  width: 90px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #C79A3E, #D7141A);
}

.footer-top { padding: 60px 0 44px; position: relative; z-index: 1; }
.footer-top.container,
.footer-top .container,
.footer-bottom .container {
  max-width: 1400px;
}
.footer-top-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.85fr 1.1fr;
  gap: 32px;
}
.footer-top-inner--wide {
  grid-template-columns: 1.25fr 0.9fr 1.1fr 1.05fr 1fr;
  gap: 56px;
}

.footer-brand-block { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border-bottom: 3px solid #E4C577;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  width: fit-content;
}
.footer-logo-img { max-height: 92px; object-fit: contain; }

.footer-tagline { font-size: 15px; line-height: 1.7; max-width: 320px; color: rgba(255,255,255,0.85); }
.footer-tagline em { font-style: normal; color: #E4C577; font-weight: 700; }

.footer-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(228,197,119,0.25);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.78);
}
.footer-live-dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #D7141A;
  flex-shrink: 0;
}
.footer-live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(215,20,26,0.5);
  animation: footerLiveDotPulse 1.8s ease-out infinite;
}
@keyframes footerLiveDotPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2); opacity: 0; }
}

.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-row a {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.social-row a:hover { transform: translateY(-3px); filter: brightness(1.05); }
.social-row a.facebook { background: #1877F2; color: #fff; }
.social-row a.instagram { background: radial-gradient(circle at top left, #feda75 0%, #d62976 55%, #962fbf 100%); color: #fff; }
.social-row a.mail { background: #1877F2; color: #fff; }

.app-block { margin-top: 6px; }
.app-block h5 {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}
.store-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px 8px 12px;
  text-decoration: none;
  line-height: 1.15;
  transition: background 0.2s ease, transform 0.2s ease;
}
.store-badge:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.store-badge.app-store-unavailable { cursor: not-allowed; opacity: 0.65; }
.store-badge.app-store-unavailable:hover { background: rgba(255,255,255,0.1); transform: none; }
.store-badge span { display: flex; flex-direction: column; }
.store-badge span em {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.4px;
  opacity: 0.85;
  text-transform: uppercase;
}
.store-badge span { font-size: 13px; font-weight: 600; }

.footer-col {
  position: relative;
  padding-left: 30px;
}
.footer-col::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(228,197,119,0.6), rgba(255,255,255,0.12));
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.footer-col h4 .title-bar {
  display: inline-block;
  width: 6px; height: 20px;
  border-radius: 4px;
  background: #E4C577;
  flex-shrink: 0;
}
.footer-heading-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E4C577 0%, #C79A3E 100%);
  color: #0D1B3D;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(199, 154, 62, 0.35);
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-link-list li a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease, padding-left 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-link-list li a::before { content: '›'; font-weight: 700; color: #E4C577; }
.footer-link-list li a:hover { color: #E4C577; padding-left: 2px; }

.footer-icon-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-icon-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-icon-list li a:hover { color: #fff; padding-left: 2px; }
.footer-icon-list-ico {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: #fff;
  transition: transform 0.2s ease;
}
.footer-icon-list li a:hover .footer-icon-list-ico { transform: translateY(-2px) scale(1.05); }
.footer-icon-list-ico--pink   { background: linear-gradient(135deg, #F0468C 0%, #C22A6B 100%); }
.footer-icon-list-ico--green  { background: linear-gradient(135deg, #22B573 0%, #158A57 100%); }
.footer-icon-list-ico--gold   { background: linear-gradient(135deg, #E4C577 0%, #C79A3E 100%); color: #0D1B3D; }
.footer-icon-list-ico--blue   { background: linear-gradient(135deg, #3B7DF0 0%, #2158C4 100%); }
.footer-icon-list-ico--purple { background: linear-gradient(135deg, #9B5DE5 0%, #7135BE 100%); }

.footer-check-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.footer-check-list-ico {
  flex-shrink: 0;
  font-size: 16px;
  color: #E4C577;
  margin-top: 1px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-contact-list li > div {
  min-width: 0;
  flex: 1;
}
.contact-list-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #E4C577;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.contact-list-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 3px;
}
.footer-contact-list li a,
.footer-contact-list li > div > span:not(.contact-list-label) {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}
.contact-nowrap {
  white-space: nowrap;
  font-size: 13px;
}
.contact-address {
  white-space: normal;
  overflow-wrap: break-word;
}
.footer-contact-list li a:hover { color: #E4C577; }

.enrolled-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.enrolled-avatars { display: flex; }
.enrolled-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid #0D1B3D;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  margin-left: -10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 15px;
}
.enrolled-avatar:first-child { margin-left: 0; }
.enrolled-avatar--pink  { background: linear-gradient(135deg, #F0468C 0%, #C22A6B 100%); }
.enrolled-avatar--gold  { background: linear-gradient(135deg, #E4C577 0%, #C79A3E 100%); color: #0D1B3D; }
.enrolled-avatar--green { background: linear-gradient(135deg, #22B573 0%, #158A57 100%); }
.enrolled-avatar--blue  { background: linear-gradient(135deg, #3B7DF0 0%, #2158C4 100%); }
.enrolled-text {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}
.enrolled-text strong { color: #fff; font-size: 15px; }

.footer-bottom {
  background: rgba(255,255,255,0.96);
  border-top: 1px solid rgba(4,27,71,0.08);
  padding: 18px 0;
  position: relative;
  z-index: 1;
}
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--color-text-light); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a {
  color: var(--color-primary);
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}
.footer-legal a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}
.footer-legal a:hover { color: var(--color-accent); }
.footer-legal a:hover::after { width: 100%; }

@media (max-width: 480px) {
  .contact-nowrap { white-space: normal; overflow-wrap: break-word; }
}

@media (min-width: 1600px) {
  .footer-top .container,
  .footer-bottom .container {
    max-width: 1520px;
    padding: 0 40px;
  }
}

@media (max-width: 1200px) {
  .footer-top-inner--wide { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
  .footer-top-inner--wide { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .footer-col { padding-left: 0; }
  .footer-col::before { display: none; }
}

@media (max-width: 600px) {
  .footer-top-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-top-inner--wide { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}