/* Yana footer contacts — four direct app actions, all public pages. */
.footer .footer-socials {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  max-width:370px;
  margin:17px 0 0;
}
.footer .footer-socials a.footer-social-link{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-width:0;
  min-height:53px;
  gap:9px;
  padding:7px 10px;
  border:1px solid rgba(108,83,151,.15);
  border-radius:14px;
  background:rgba(255,255,255,.83);
  box-shadow:0 5px 18px rgba(74,50,108,.055);
  color:#352846;
  text-decoration:none;
  font-family:var(--sans,system-ui,sans-serif);
  font-size:12.5px;
  font-weight:780;
  line-height:1.25;
  white-space:nowrap;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.footer .footer-socials a.footer-social-link:hover{
  transform:translateY(-2px);
  border-color:rgba(109,78,210,.34);
  background:#fff;
  box-shadow:0 8px 22px rgba(74,50,108,.12);
}
.footer .footer-socials a.footer-social-link:focus-visible{
  outline:3px solid #7751d8;
  outline-offset:2px;
}
.footer .footer-social-icon{
  display:grid;
  flex:0 0 34px;
  width:34px;
  height:34px;
  place-items:center;
  border-radius:11px;
}
.footer .footer-social-icon svg{
  display:block;
  width:20px;
  height:20px;
}
.footer .footer-social-link--telegram .footer-social-icon{color:#229ed9;background:#e5f5fd}
.footer .footer-social-link--viber .footer-social-icon{color:#7360f2;background:#eeeafd}
.footer .footer-social-link--instagram .footer-social-icon{
  color:#fff;
  background:linear-gradient(140deg,#fdbb54 0%,#e34769 36%,#af37a6 67%,#595cd7 100%);
}
.footer .footer-social-link--call .footer-social-icon{color:#13885f;background:#e0f8ee}
.footer .footer-col a.footer-contact-link{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  align-self:flex-start;
  max-width:100%;
  overflow-wrap:anywhere;
  line-height:1.4;
  border-radius:7px;
  padding:2px 3px;
  margin-left:-3px;
  text-decoration:none;
  transition:color .18s ease,background .18s ease;
}
.footer .footer-col a.footer-contact-link:hover{
  color:var(--primary,#7b5ddc);
  background:rgba(123,93,220,.07);
}
.footer .footer-col a.footer-contact-link:focus-visible{
  outline:2px solid #7751d8;
  outline-offset:2px;
}
@media(max-width:820px){
  .footer .footer-socials{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    max-width:none;
    margin-top:15px;
  }
  .footer .footer-socials a.footer-social-link{min-height:51px;font-size:12px;padding:7px 9px}
}
@media(max-width:380px){
  .footer .footer-socials a.footer-social-link{font-size:11.5px;gap:7px}
  .footer .footer-social-icon{flex-basis:31px;width:31px;height:31px}
  .footer .footer-social-icon svg{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){
  .footer .footer-socials a.footer-social-link,
  .footer .footer-col a.footer-contact-link{transition:none}
  .footer .footer-socials a.footer-social-link:hover{transform:none}
}


/* FOOTER COMPACT V2 — consistent across the public site. */
footer.footer.section{
  grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr) minmax(0,1.02fr) minmax(0,.85fr);
  gap:15px 22px;
  padding:20px 0 15px;
  margin-bottom:0;
  align-items:start;
}
footer.footer.section > *{min-width:0}
footer.footer.section .footer-brand .brand{gap:9px}
footer.footer.section .footer-brand .brand-mark{
  width:39px;height:39px;flex:0 0 39px;border-radius:13px;
}
footer.footer.section .footer-brand .brand-mark svg{width:28px;height:28px}
footer.footer.section .footer-brand .brand-text b{font-size:17px;line-height:1.12}
footer.footer.section .footer-brand .brand-text small{font-size:11px;line-height:1.25}
footer.footer.section .footer-brand p{
  margin:9px 0 0;
  max-width:370px;
  font-size:13px;
  line-height:1.42;
}
footer.footer.section .footer-socials{
  max-width:340px;
  gap:7px;
  margin-top:12px;
}
footer.footer.section .footer-socials a.footer-social-link{
  min-height:45px;
  padding:6px 9px;
  gap:8px;
  border-radius:12px;
  font-size:12px;
}
footer.footer.section .footer-social-icon{
  flex:0 0 31px;
  width:31px;height:31px;
  border-radius:10px;
}
footer.footer.section .footer-social-icon svg{width:19px;height:19px}
footer.footer.section .footer-col{
  gap:6px;
}
footer.footer.section :is(.footer-col h3,.footer-cta h3){
  margin:0 0 6px;
  font-size:19px;
  line-height:1.2;
}
footer.footer.section .footer-col :is(a,span){
  font-size:12.5px;
  line-height:1.4;
}
footer.footer.section .footer-col a.footer-contact-link{
  min-height:27px;
  margin:0;
  padding:2px 0;
}
footer.footer.section .footer-col a.footer-contact-link:hover,
footer.footer.section .footer-col a.footer-contact-link:focus-visible{
  margin:0;
  padding:2px 0;
}
footer.footer.section > .footer-col:nth-child(3){
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-content:start;
  gap:5px 10px;
}
footer.footer.section > .footer-col:nth-child(3) h3{
  grid-column:1/-1;
  margin-bottom:5px;
}
footer.footer.section > .footer-col:nth-child(3) a{
  display:flex;
  align-items:center;
  min-width:0;
  width:100%;
  min-height:27px;
  margin:0;
  padding:4px 6px;
  border-radius:8px;
  font-size:12px;
  line-height:1.32;
  overflow-wrap:normal;
}
footer.footer.section > .footer-col:nth-child(3) a:hover,
footer.footer.section > .footer-col:nth-child(3) a:focus-visible,
footer.footer.section > .footer-col:nth-child(3) a[aria-current="page"]{
  margin:0;
  padding:4px 6px;
}
footer.footer.section > .footer-col:nth-child(3) a[href="/privacy.php"]{
  grid-column:1/-1;
  width:max-content;
  max-width:100%;
}
footer.footer.section .footer-cta.app-card{
  align-self:start;
  padding:15px 16px;
  border-radius:19px;
}
footer.footer.section .footer-cta h3{
  font-size:18px;
  line-height:1.22;
  margin:0 0 9px;
}
footer.footer.section .footer-cta p{
  margin:0 0 12px;
  font-size:12.5px;
  line-height:1.46;
}
footer.footer.section .footer-cta .btn{
  min-height:42px;
  padding:8px 12px;
  font-size:12.5px;
  line-height:1.25;
  border-radius:11px;
}
footer.footer.section .copyright{
  grid-column:1/-1;
  margin:0;
  padding:12px 0 0;
  font-size:11px;
  line-height:1.4;
  text-align:center;
}

/* Tablet: avoid squeezing the columns and keep the links easy to scan. */
@media (min-width:821px) and (max-width:1120px){
  footer.footer.section{
    grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
    gap:17px 28px;
    padding-top:19px;
  }
  footer.footer.section .footer-socials{max-width:360px}
  footer.footer.section > .footer-col:nth-child(3){
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  footer.footer.section .footer-cta.app-card{max-width:440px}
}
@media(max-width:820px){
  footer.footer.section{
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    padding:16px 0 calc(74px + env(safe-area-inset-bottom,0px));
    margin:0 auto;
  }
  footer.footer.section .footer-brand p{
    margin:8px 0 0;
    max-width:510px;
    font-size:12.5px;
    line-height:1.4;
  }
  footer.footer.section .footer-socials{
    max-width:none;
    gap:7px;
    margin-top:11px;
  }
  footer.footer.section .footer-socials a.footer-social-link{
    min-height:46px;
    padding:6px 9px;
    font-size:12px;
  }
  footer.footer.section > .footer-col:nth-child(2){
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px 12px;
    align-items:start;
  }
  footer.footer.section > .footer-col:nth-child(2) h3{
    grid-column:1/-1;
    margin:0;
  }
  footer.footer.section > .footer-col:nth-child(2) a[href^="mailto:"]{
    grid-column:1/-1;
  }
  footer.footer.section > .footer-col:nth-child(2) :is(a,span){
    font-size:12.5px;
  }
  footer.footer.section > .footer-col:nth-child(3){
    gap:5px 8px;
  }
  footer.footer.section > .footer-col:nth-child(3) a{
    min-height:31px;
    padding:6px 7px;
    font-size:12.5px;
  }
  footer.footer.section > .footer-col:nth-child(3) a:hover,
  footer.footer.section > .footer-col:nth-child(3) a:focus-visible,
  footer.footer.section > .footer-col:nth-child(3) a[aria-current="page"]{
    padding:6px 7px;
  }
  footer.footer.section .footer-cta.app-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:6px 12px;
    padding:13px 14px;
    border-radius:16px;
  }
  footer.footer.section .footer-cta h3{
    grid-column:1;
    grid-row:1;
    font-size:16px;
    margin:0;
  }
  footer.footer.section .footer-cta p{
    grid-column:1;
    grid-row:2;
    margin:0;
    font-size:12px;
    line-height:1.4;
  }
  footer.footer.section .footer-cta .btn{
    grid-column:2;
    grid-row:1/span 2;
    width:auto;
    min-height:44px;
    font-size:12px;
    text-align:center;
  }
  footer.footer.section .copyright{
    padding-top:11px;
    font-size:10.5px;
    text-align:left;
  }
}
@media(max-width:420px){
  footer.footer.section{gap:12px}
  footer.footer.section .footer-brand .brand-mark{
    width:36px;height:36px;flex:0 0 36px;
  }
  footer.footer.section .footer-socials a.footer-social-link{
    font-size:11.5px;
  }
  footer.footer.section .footer-col :is(a,span){font-size:12px}
  footer.footer.section > .footer-col:nth-child(3) a{font-size:12px}
  footer.footer.section .footer-cta.app-card{
    grid-template-columns:1fr;
    gap:7px;
  }
  footer.footer.section .footer-cta :is(h3,p,.btn){
    grid-column:1;
    grid-row:auto;
  }
  footer.footer.section .footer-cta .btn{width:100%}
}
