/* VIX Hosting — footer, social links and Peru marker */

.peru-flag{
  width:22px;
  height:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  overflow:hidden;
  border-radius:3px;
  box-shadow:0 0 0 1px rgba(255,255,255,.28);
}
.peru-flag img{display:block;width:100%;height:100%;object-fit:cover}

.site-page .site-footer{
  padding:62px 0 22px;
  background:#041126;
  color:#9fb3ce;
}
.site-page .site-footer .home-wide{width:min(100% - 44px,1380px)}
.site-footer__main{
  display:grid;
  grid-template-columns:minmax(250px,1.35fr) minmax(0,3.65fr);
  gap:64px;
  align-items:start;
}
.site-footer__brand{min-width:0}
.site-footer__brand .footer-brand{display:inline-flex;padding:0;margin:0 0 20px}
.site-footer__brand .footer-brand-logo{display:block;width:214px;max-width:100%;height:auto}
.site-footer__brand>p{max-width:390px;margin:0 0 22px;color:#9fb3ce;font-size:13px;line-height:1.72}
.site-footer__contact{display:grid;gap:7px;margin-bottom:22px}
.site-footer__contact a{display:inline-flex;align-items:center;gap:9px;width:max-content;max-width:100%;padding:0!important;color:#c5d4e7!important;font-size:12px!important}
.site-footer__contact .icon{width:14px;height:14px;color:#6ea9ff;flex:0 0 auto}
.site-footer__contact a:hover{color:#fff!important}

.site-footer__social{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.site-footer__social-link{
  width:36px;
  height:36px;
  display:grid!important;
  place-items:center;
  padding:0!important;
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  background:rgba(255,255,255,.045);
  color:#d8e7fb!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease;
}
.site-footer__social-link img{display:block;width:16px;height:16px;object-fit:contain;filter:brightness(0) invert(1);opacity:.88}
.site-footer__social-link:hover{transform:translateY(-2px);border-color:rgba(91,151,255,.58);background:rgba(28,107,255,.16);color:#fff!important}
.site-footer__social-link.is-pending{cursor:default;opacity:.72}
.site-footer__social-link.is-pending:hover{transform:none;border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.045)}

.site-footer__nav{
  display:grid;
  grid-template-columns:repeat(4,minmax(130px,1fr));
  gap:36px;
  min-width:0;
}
.site-footer__column{min-width:0}
.site-footer__column h4{margin:0 0 16px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.site-footer__column a{display:block;padding:5px 0!important;color:#a9bdd4!important;font-size:12px!important;line-height:1.4}
.site-footer__column a:hover{color:#fff!important}

.site-footer__trust{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:32px;
  align-items:center;
  margin-top:42px;
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-footer__company-meta{display:flex;flex-wrap:wrap;gap:10px 24px;min-width:0}
.site-footer__company-meta>span{display:inline-flex;align-items:center;gap:8px;color:#8499b3;font-size:11px;line-height:1.5}
.site-footer__company-meta .icon{width:14px;height:14px;color:#5c8fdc;flex:0 0 auto}

.site-footer__complaints{display:flex;align-items:center;gap:18px;justify-self:end}
.site-footer__complaints-copy{display:grid;gap:3px;text-align:right;max-width:220px}
.site-footer__complaints-copy strong{color:#dce9f9;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.site-footer__complaints-copy span{color:#778da8;font-size:10.5px;line-height:1.45}
.site-footer__complaints-logo{display:flex!important;align-items:center;justify-content:center;padding:0!important;flex:0 0 auto}
.site-footer__complaints-logo img{display:block;width:116px;height:auto;max-height:84px;object-fit:contain}
.site-footer__complaints-logo:is(a):hover img{opacity:.86}

.site-footer__bottom{margin-top:18px!important;padding-top:0!important;border-top:0!important;align-items:center;color:#7087a3!important}
.site-footer__legal{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 16px}
.site-footer__legal a{position:relative;padding:0!important;color:#8298b2!important;font-size:11px!important}
.site-footer__legal a:hover{color:#fff!important}
.site-footer__legal a+a::before{content:"";position:absolute;left:-8px;top:50%;width:2px;height:2px;border-radius:50%;background:#50657d;transform:translateY(-50%)}

@media(max-width:1100px){
  .site-footer__main{grid-template-columns:1fr;gap:38px}
  .site-footer__brand{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"logo social" "copy social" "contact social";column-gap:30px}
  .site-footer__brand .footer-brand{grid-area:logo}
  .site-footer__brand>p{grid-area:copy}
  .site-footer__contact{grid-area:contact}
  .site-footer__social{grid-area:social;align-self:center;justify-content:flex-end;max-width:140px}
  .site-footer__trust{grid-template-columns:1fr}
  .site-footer__complaints{justify-self:start}
  .site-footer__complaints-copy{text-align:left}
}

@media(max-width:760px){
  .site-page .site-footer{padding-top:48px}
  .site-page .site-footer .home-wide{width:min(100% - 28px,1380px)}
  .site-footer__brand{display:block}
  .site-footer__brand .footer-brand-logo{width:194px}
  .site-footer__social{margin-top:18px;justify-content:flex-start;max-width:none}
  .site-footer__nav{grid-template-columns:1fr 1fr;gap:30px 24px}
  .site-footer__trust{gap:24px;margin-top:34px;padding:20px 0}
  .site-footer__company-meta{display:grid;gap:8px}
  .site-footer__complaints{width:100%;justify-content:space-between;gap:16px}
  .site-footer__complaints-copy{max-width:190px;text-align:left}
  .site-footer__complaints-logo img{width:102px;max-height:74px}
  .site-footer__bottom{display:grid!important;gap:13px!important}
  .site-footer__legal{justify-content:flex-start;gap:8px 14px}
}

@media(max-width:480px){
  .site-footer__nav{grid-template-columns:1fr}
  .site-footer__complaints{align-items:flex-end}
  .site-footer__complaints-copy span{display:none}
  .site-footer__legal a+a::before{display:none}
}

@media(prefers-reduced-motion:reduce){
  .site-footer__social-link{transition:none!important}
}
