/* ======================================================
   STUDIO#RE — ALGEMENE FOOTER
======================================================= */

.sr-footer {
  position: relative;

  width: 100%;

  color: var(--re-white);
  background: var(--re-dark);

  font-family:
    "Inter",
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sr-footer-inner {
  width: min(1440px, calc(100% - 12vw));
  margin: 0 auto;
}


/* ======================================================
   BOVENSTE DEEL
======================================================= */

.sr-footer-top {
  padding: 90px 0 110px;

  display: grid;
  grid-template-columns:
    minmax(220px, 1.5fr)
    minmax(140px, 0.7fr)
    minmax(190px, 0.9fr)
    minmax(120px, 0.6fr);

  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}


/* ======================================================
   LOGO
======================================================= */

.sr-footer-brand{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.sr-footer-logo{
    display:block;
    width:min(165px,100%);
}

.sr-footer-logo img{
    display:block;
    width:100%;
    height:auto;
}

.sr-footer-tagline{

    margin:18px 0 0;

    color:rgba(255,255,255,.46);

    font-size:13px;
    line-height:1.6;
    font-weight:400;

    letter-spacing:.03em;
}


/* ======================================================
   LABELS
======================================================= */

.sr-footer-label {
  margin: 0 0 24px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}


/* ======================================================
   LINKS
======================================================= */

.sr-footer-navigation ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.sr-footer-navigation li + li {
  margin-top: 11px;
}

.sr-footer-navigation a,
.sr-footer-contact a,
.sr-footer-social a {
  position: relative;

  display: block;
  width: max-content;
  max-width: 100%;

  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;

  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.sr-footer-navigation a::after,
.sr-footer-contact a::after,
.sr-footer-social a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 1px;

  background: currentColor;

  transform: scaleX(0);
  transform-origin: right center;

  transition:
    transform 0.4s cubic-bezier(.22, 1, .36, 1);
}

.sr-footer-navigation a:hover,
.sr-footer-contact a:hover,
.sr-footer-social a:hover {
  color: #ffffff;
}

.sr-footer-navigation a:hover::after,
.sr-footer-contact a:hover::after,
.sr-footer-social a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}


/* ======================================================
   CONTACT
======================================================= */

.sr-footer-contact a + a {
  margin-top: 8px;
}

.sr-footer-contact address {
  margin-top: 22px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 13px;
  line-height: 1.55;
  font-style: normal;
}


/* ======================================================
   SOCIAL
======================================================= */

.sr-footer-social a + a {
  margin-top: 8px;
}


/* ======================================================
   ONDERSTE LIJN
======================================================= */

.sr-footer-bottom {
  min-height: 82px;
  padding: 24px 0;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sr-footer-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.42);

  font-size: 11px;
  line-height: 1.4;
}

.sr-footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.sr-footer-legal a {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;

  font-size: 11px;
  line-height: 1.4;

  transition: color 0.25s ease;
}

.sr-footer-legal a:hover {
  color: #ffffff;
}


/* ======================================================
   TERUG NAAR BOVEN
======================================================= */

.sr-footer-top-link {
  justify-self: end;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;

  font-size: 11px;

  transition: color 0.25s ease;
}

.sr-footer-top-link svg {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 0.35s cubic-bezier(.22, 1, .36, 1);
}

.sr-footer-top-link:hover {
  color: #ffffff;
}

.sr-footer-top-link:hover svg {
  transform: translateY(-3px);
}


/* ======================================================
   TABLET
======================================================= */

@media (max-width: 900px) {

  .sr-footer-inner {
    width: calc(100% - 48px);
  }

  .sr-footer-top {
    padding: 75px 0 85px;

    grid-template-columns: 1fr 1fr;
    gap: 65px 40px;
  }

  .sr-footer-logo{
    width:135px;
  }

  .sr-footer-tagline{
      margin-top:14px;
      font-size:12px;
  }

  .sr-footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .sr-footer-legal {
    grid-column: 1 / -1;
    grid-row: 2;

    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 22px;
  }

}


/* ======================================================
   MOBIEL
======================================================= */

@media (max-width: 520px) {

  .sr-footer-inner {
    width: calc(100% - 40px);
  }

  .sr-footer-top {
    padding: 65px 0 70px;

    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sr-footer-logo {
    grid-column: auto;
    width: 165px;
  }

  .sr-footer-label {
    margin-bottom: 18px;
  }

  .sr-footer-navigation a,
  .sr-footer-contact a,
  .sr-footer-social a {
    font-size: 15px;
  }

  .sr-footer-bottom {
    padding: 28px 0 34px;

    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sr-footer-legal {
    grid-column: auto;
    grid-row: auto;

    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sr-footer-top-link {
    justify-self: start;
  }

}