.site-footer {
  background: #041B47;
  color: rgba(255,255,255,0.92);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -8%;
  width: 40%; height: 90%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-wave { display: block; width: 100%; height: 48px; position: relative; z-index: 1; }

.footer-top { padding: 64px 0 44px; position: relative; z-index: 1; }
.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.1fr 0.8fr 1.15fr 0.95fr 1fr;
}

.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);
  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: #FFD54A; font-weight: 700; }

.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: #0A4FBF; 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 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: #FFD54A;
  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, #FFD54A 0%, #F5B429 100%);
  color: #041B47;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(245, 180, 41, 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: #FFD54A; }
.footer-link-list li a:hover { color: #FFD54A; 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: 13.5px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
}
.footer-icon-list li a span:last-child {
  white-space: nowrap;
}
.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, #FFD54A 0%, #F5B429 100%); color: #041B47; }
.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: #FFD54A;
  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: #FFD54A;
  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: #FFD54A; }

.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 #041B47;
  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, #FFD54A 0%, #F5B429 100%); color: #041B47; }
.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 (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: 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; }
  .footer-icon-list li a { font-size: 15px; white-space: nowrap; gap: 12px; }
  .footer-icon-list-ico { width: 30px; height: 30px; }
}