.main-footer{
  margin-top:36px;
  background:#1e3c72;
  color:#fff;
  border-top-left-radius:22px;
  border-top-right-radius:22px;
  overflow:hidden;
  position:relative;
  box-shadow:none;
  border-top:1px solid #1a3470;
}

.main-footer::before{
  display:none;
}

.footer-top{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr 1fr;
  gap:28px 24px;
  max-width:1200px;
  margin:0 auto;
  padding:40px clamp(20px, 5vw, 72px) 32px;
}

.footer-col h3{
  font-size:1.2rem;
  margin:0 0 14px;
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.2;
}

.footer-col h4{
  position:relative;
  font-size:0.95rem;
  margin:0 0 14px;
  padding-bottom:10px;
  font-weight:700;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:#f8fafc;
}

.footer-col h4::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:32px;
  height:3px;
  border-radius:999px;
  background:#f59e0b;
}

.footer-col p{
  font-size:14px;
  opacity:0.92;
  line-height:1.65;
  margin:0 0 10px;
  max-width:34ch;
}

.footer-social{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:12px;
}

.footer-social a{
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-decoration:none;
  font-size:17px;
  border:1px solid var(--social-icon-border);
  box-shadow:none;
  transition:filter .2s ease;
}

.footer-social .social-facebook{ background:var(--social-facebook-bg); }
.footer-social .social-telegram{ background:var(--social-telegram-bg); }
.footer-social .social-whatsapp{ background:var(--social-whatsapp-bg); }

.footer-social a:hover{
  transform:none;
  box-shadow:none;
  filter:brightness(1.06);
}

.footer-social a:focus-visible{
  outline:2px solid rgba(255,255,255,0.85);
  outline-offset:2px;
}

.footer-col ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-col ul li{
  margin-bottom:2px;
}

.footer-col ul li a,
.footer-col p a{
  color:#e2e8f0;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  transition:color .2s ease, background-color .2s ease, padding-left .2s ease;
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:4px 10px 4px 0;
  border-radius:8px;
}

.footer-col ul li a::before{
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  margin-right:10px;
  background:#fbbf24;
  flex-shrink:0;
  transition:transform .2s ease;
}

.footer-col ul li a:hover,
.footer-col p a:hover{
  color:#fde68a;
  background:#2a5298;
  padding-left:6px;
}

.footer-col ul li a:hover::before{
  transform:scale(1.25);
}

.footer-col p a::before{
  display:none;
}

.footer-bottom{
  text-align:center;
  padding:16px clamp(16px, 4vw, 24px);
  background:#1a3470;
  border-top:1px solid #2a5298;
  font-size:13px;
  letter-spacing:0.03em;
  color:#e2e8f0;
}

.footer-site-brand{
  margin:0 0 6px;
  font-size:14px;
  font-weight:600;
  line-height:1.5;
  color:#f8fafc;
}

.footer-site-brand strong{
  font-weight:800;
  letter-spacing:-0.01em;
}

.footer-site-brand__sep{
  margin:0 0.35em;
  opacity:0.65;
}

.footer-site-brand a{
  color:#fde68a;
  text-decoration:none;
  font-weight:600;
  transition:color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-site-brand a:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-copy{
  margin:0;
  font-size:12px;
  opacity:0.82;
}

@media (max-width: 1024px) {
  .footer-top{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px 20px;
    padding-top:34px;
  }

  .footer-col:first-child{
    grid-column:1 / -1;
  }

  .footer-col p{
    max-width:none;
  }
}

@media (max-width: 768px) {
  .main-footer{
    border-top-left-radius:18px;
    border-top-right-radius:18px;
    margin-top:28px;
  }

  .footer-top{
    grid-template-columns:1fr;
    gap:22px;
    padding:30px 20px 24px;
    text-align:left;
  }

  .footer-col h4::after{
    left:0;
    transform:none;
  }

  .footer-social{
    justify-content:flex-start;
  }
}

@media (max-width: 480px) {
  .footer-top{
    padding:26px 16px 20px;
    gap:20px;
  }

  .footer-col h3{
    font-size:1.1rem;
  }

  .footer-social a{
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;
  }
}
