/* AARAV site footer: dark footer, brand block, link columns, social icons, certifications and legal row.
   Extracted from the site's latest page styles. Load on every page that uses the footer. */

:root {
  --ink: #111111;
  --line: #E4E4E4;
  --night: #0E1012;
  --grad: linear-gradient(90deg,#00A5A3 0%,#39A5B4 8%,#57A5C5 20%,#68A3CF 30%,#74A2D7 50%,#D65497 100%);
  --font: "FuturaNowHeadline", sans-serif;
  --max: 1440px;
  --pad: clamp(20px,4vw,64px);
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
}

/* Footer box model (the site's global border-box reset, scoped to the footer). */
.footer, .footer *, .footer *::before, .footer *::after {
  box-sizing: border-box;
}

/* Footer text and link defaults (the site's global font and link reset, scoped to the footer). */
.footer {
  font-family: var(--font);
}
:where(.footer) a {
  color: inherit;
  text-decoration: none;
}

/* Footer layout container (the page-wide .wrap rule, scoped to the footer). */
.footer .wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Start the footer below the floated newsletter section. */
#section-footer {
  clear: both;
}

/* Keep the footer logo fixed: ScrollSmoother's image effect adds inline transforms to every <img>. */
.footer .ft-brand img {
  display: block;
  transform: none !important;
  will-change: auto !important;
}

.footer {
  position:relative;
  z-index:5;
  background:var(--night);
  color:#fff;
  padding:80px 0 34px;
}

.footer::before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background:var(--grad);
}

.ft-top {
  display:grid;
  grid-template-columns:1.1fr 2.4fr;
  gap:60px;
  padding-bottom:56px;
  border-bottom:1px solid rgba(255,255,255,.14);
}

.ft-brand img {
  height:52px;
  width:auto;
  filter:brightness(0) invert(1);
  margin-bottom:22px;
}

.ft-brand p {
  font-size:14px;
  line-height:1.7;
  color:rgba(255,255,255,.65);
  margin:0 0 22px;
}

.socials {
  display:flex;
  gap:10px;
}

.socials a {
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.3);
  display:grid;
  place-items:center;
  transition:background .3s,border-color .3s;
}

.socials a:hover {
  background:#fff;
  color:var(--ink);
  border-color:#fff;
}

.ft-cols {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:28px;
}

.ft-cols h4 {
  font-size:14px;
  font-weight:500;
  letter-spacing:.8px;
  margin:0 0 16px;
}

.ft-cols a {
  display:block;
  font-size:14px;
  color:rgba(255,255,255,.66);
  padding:5px 0;
  transition:color .25s;
}

.ft-cols a:hover {
  color:#fff;
}

.ft-bottom {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding-top:28px;
  font-size:13px;
  color:rgba(255,255,255,.6);
}

.certs {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.certs span {
  border:1px solid rgba(255,255,255,.25);
  padding:6px 11px;
  border-radius:4px;
}

.legal {
  display:flex;
  flex-wrap:wrap;
  gap:22px;
}

.legal a:hover {
  color:#fff;
}

@media (max-width:980px) {
  .ft-top {
    grid-template-columns:1fr;
  }

  .ft-cols {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px) {
  .ft-cols {
    grid-template-columns:1fr 1fr;
    gap:20px;
  }

  .ft-bottom {
    flex-direction:column;
    align-items:flex-start;
  }

  .legal {
    gap:14px;
  }
}

#section-footer {
  clear: both;
}
