/* Let the solution consultation card breathe before the shared footer. */
main > #contact:is(.consultation,.fde-contact) {
  margin-bottom:clamp(40px,5vw,72px);
}

.site-footer {
  --footer-muted:#5f6e80;
  --ground:#f1f6fe;
  --ink:#14191f;
  --accent:#1767e8;
  padding:44px 0 24px;
  background:var(--ground);
  color:var(--ink);
  font-size:16px;
  font-weight:400;
  line-height:normal;
  letter-spacing:normal;
}

.site-footer .shell {
  width:86.5%;
  max-width:1280px;
  margin-inline:auto;
}

.site-footer .footer-inner {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1.1fr) minmax(0,.9fr) minmax(0,.8fr);
  gap:56px;
  align-items:start;
}

.site-footer .footer-brand { grid-column:auto; }

.site-footer .footer-brand .brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:28px;
  font-weight:750;
  letter-spacing:-1px;
  white-space:nowrap;
}

.site-footer .footer-brand .brand img {
  width:48px;
  height:48px;
  mix-blend-mode:multiply;
}

.site-footer .footer-brand p {
  max-width:none;
  margin:18px 0 0;
  color:var(--footer-muted);
  font-size:15px;
  line-height:1.8;
}

.site-footer .footer-group h3 {
  margin:9px 0 14px;
  font-size:16px;
  font-weight:650;
  line-height:1.5;
}

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

.site-footer .footer-group a,
.site-footer .footer-group button {
  display:flex;
  align-items:center;
  width:fit-content;
  min-height:34px;
  padding:5px 0;
  color:var(--footer-muted);
  font-size:14px;
  line-height:1.7;
  transition:color .18s ease;
}

.site-footer .footer-group button { border:0; background:none; text-align:left; }

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer .footer-group button:hover,
.site-footer .footer-group button:focus-visible {
  color:var(--accent);
}

.site-footer .footer-legal {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px 32px;
  margin-top:36px;
  padding:0;
  border:0;
  grid-column:auto;
  align-self:auto;
  color:var(--footer-muted);
  font-size:12px;
  line-height:1.8;
}

.site-footer .footer-registration {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 24px;
}

.site-footer .footer-registration a {
  transition:color .18s ease;
}

@media (max-width:1200px) and (min-width:761px) {
  .site-footer .shell { width:90%; }
  .site-footer .footer-inner {
    grid-template-columns:minmax(0,1.3fr) minmax(0,1.1fr) minmax(0,.9fr) minmax(0,.8fr);
    gap:28px;
  }

  .site-footer .footer-brand .brand { font-size:25px; }
  .site-footer .footer-brand .brand img { width:44px; height:44px; }
  .site-footer .footer-brand p { max-width:210px; font-size:14px; }
  .site-footer .footer-legal { align-items:flex-start; }
  .site-footer .footer-registration { justify-content:flex-end; }
}

@media (max-width:760px) {
  .site-footer { padding:32px 0 22px; }
  .site-footer .shell { width:calc(100% - 32px); }

  .site-footer .footer-inner {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:26px 20px;
  }

  .site-footer .footer-brand,
  .site-footer .footer-solutions { grid-column:1/-1; }

  .site-footer .footer-brand .brand { font-size:25px; }
  .site-footer .footer-brand .brand img { width:43px; height:43px; }
  .site-footer .footer-brand p { margin-top:12px; font-size:14px; }
  .site-footer .footer-group h3 { margin:0 0 8px; font-size:15px; }
  .site-footer .footer-solutions ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:20px; }
  .site-footer .footer-group a,.site-footer .footer-group button { min-height:44px; padding:8px 0; }

  .site-footer .footer-legal {
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    margin-top:28px;
  }

  .site-footer .footer-registration {
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

  .site-footer .footer-registration a { display:flex; align-items:center; min-height:44px; }
}
