/**
 * WEB ARCHI
 * Footer
 */

/* =========================================================
   FOOTER
========================================================= */

.wa-footer {
  background: #062f31;
  color: #ffffff;
}

/* =========================================================
   MAIN FOOTER
========================================================= */

.wa-footer-main {
  width: min(1200px, calc(100% - 48px));

  margin: 0 auto;

  padding: 54px 0 48px;

  display: grid;

  grid-template-columns:
    minmax(260px, 1.55fr)
    minmax(130px, 0.8fr)
    minmax(150px, 0.9fr)
    minmax(250px, 1.25fr);

  gap: 48px;

  position: relative;
}

/* =========================================================
   BRAND
========================================================= */

.wa-footer-brand {
  min-width: 0;
}

/* ---------------------------------------------------------
   Brand link
--------------------------------------------------------- */

.wa-footer-brand-link {
  display: inline-flex;

  align-items: flex-start;

  gap: 12px;

  color: #ffffff;

  text-decoration: none;
}

/* ---------------------------------------------------------
   Footer logo
--------------------------------------------------------- */

.wa-footer-logo {
  display: flex;

  align-items: flex-start;
  justify-content: flex-start;

  width: 56px;
  height: 56px;

  flex: 0 0 56px;

  overflow: hidden;
}

.wa-footer-logo-image {
  display: block !important;

  width: 56px !important;
  height: 56px !important;

  max-width: 56px !important;
  max-height: 56px !important;

  min-width: 0 !important;
  min-height: 0 !important;

  object-fit: contain !important;
}

/* ---------------------------------------------------------
   Brand text
--------------------------------------------------------- */

.wa-footer-brand-text {
  display: flex;

  flex-direction: column;

  gap: 2px;

  padding-top: 2px;
}

.wa-footer-brand-text strong {
  font-size: 14px;

  line-height: 1.25;

  font-weight: 700;

  letter-spacing: -0.01em;
}

.wa-footer-brand-text span {
  font-size: 11px;

  line-height: 1.3;

  color: #a9bfbb;
}

/* =========================================================
   ADDRESS
========================================================= */

.wa-footer-address {
  margin: 22px 0 0;

  display: flex;

  flex-direction: column;

  gap: 5px;

  color: #d0dcda;

  font-size: 12px;

  line-height: 1.55;

  font-style: normal;

  max-width: 390px;
}

.wa-footer-address a {
  color: #d0dcda;

  text-decoration: none;
}

.wa-footer-address a:hover,
.wa-footer-address a:focus-visible {
  color: #ffffff;
}

/* =========================================================
   SOCIAL
========================================================= */

.wa-footer-social {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 20px;
}

.wa-footer-social-link {
  width: 35px;
  height: 35px;

  flex: 0 0 35px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 0px;

  color: #ffffff;

  text-decoration: none;

  font-size: 14px;
  line-height: 1;

  border: 1px solid rgba(255, 255, 255, 0.25);

  background: transparent;

  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

/* SVG icon alignment */
.wa-footer-social-link svg {
  display: block;

  width: 22px;
  height: 22px;

  flex: 0 0 22px;
}

/* Hover */
.wa-footer-social-link:hover,
.wa-footer-social-link:focus-visible {
  background: #009572;

  border-color: #009572;

  color: #ffffff;
}

.wa-footer-social-link:hover,
.wa-footer-social-link:focus-visible {
  background: #009572;

  border-color: #009572;

  color: #ffffff;
}

/* =========================================================
   COLUMNS
========================================================= */

.wa-footer-column {
  min-width: 0;
}

.wa-footer-heading {
  margin: 2px 0 16px;

  color: #ffffff;

  font-size: 13px;

  line-height: 1.4;

  font-weight: 700;
}

.wa-footer-links {
  display: flex;

  flex-direction: column;

  gap: 7px;
}

.wa-footer-links a {
  color: #b9c9c5;

  text-decoration: none;

  font-size: 12px;

  line-height: 1.5;

  transition: color 160ms ease;
}

.wa-footer-links a:hover,
.wa-footer-links a:focus-visible {
  color: #ffffff;
}

/* =========================================================
   CONTACT
========================================================= */

.wa-footer-contact {
  position: relative;
}

.wa-footer-contact-item {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  margin-bottom: 12px;

  color: #c8d6d3;

  font-size: 12px;

  line-height: 1.5;
}

.wa-footer-contact-icon {
  width: 17px;

  flex: 0 0 17px;

  color: #ffffff;

  text-align: center;
}

.wa-footer-contact-item a {
  color: #c8d6d3;

  text-decoration: none;
}

.wa-footer-contact-item a:hover,
.wa-footer-contact-item a:focus-visible {
  color: #ffffff;
}

/* =========================================================
   ARCHITECTURAL DECORATION
========================================================= */

.wa-footer-architecture {
  position: absolute;

  right: 0;
  bottom: -48px;

  width: 210px;
  height: 120px;

  opacity: 0.45;

  pointer-events: none;
}

.wa-footer-building {
  position: absolute;

  bottom: 0;

  display: block;

  border: 1px solid #5b9991;

  border-bottom: 0;
}

.wa-footer-building-1 {
  right: 128px;

  width: 34px;
  height: 72px;
}

.wa-footer-building-1::before,
.wa-footer-building-1::after {
  content: "";

  position: absolute;

  left: 7px;

  width: 18px;

  border-top: 1px solid #5b9991;
}

.wa-footer-building-1::before {
  top: 18px;
}

.wa-footer-building-1::after {
  top: 36px;
}

.wa-footer-building-2 {
  right: 87px;

  width: 42px;
  height: 92px;
}

.wa-footer-building-3 {
  right: 39px;

  width: 50px;
  height: 66px;
}

.wa-footer-building-4 {
  right: 0;

  width: 35px;
  height: 48px;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

.wa-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.wa-footer-bottom-inner {
  width: min(1200px, calc(100% - 48px));

  min-height: 58px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;
}

.wa-footer-bottom p {
  margin: 0;

  color: #9eb1ad;

  font-size: 11px;

  line-height: 1.5;
}

.wa-footer-legal {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  white-space: nowrap;
}

.wa-footer-legal a {
  color: #b6c5c2;

  text-decoration: none;

  font-size: 11px;

  line-height: 1.5;
}

.wa-footer-legal a:hover,
.wa-footer-legal a:focus-visible {
  color: #ffffff;
}

.wa-footer-legal span {
  color: #617b76;

  font-size: 11px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  .wa-footer-main {
    grid-template-columns:
      minmax(230px, 1.4fr)
      minmax(130px, 0.8fr)
      minmax(140px, 0.9fr);

    gap: 40px;
  }

  .wa-footer-contact {
    grid-column: 1 / -1;
  }

  .wa-footer-architecture {
    right: 0;
    bottom: -35px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {
  .wa-footer-main {
    width: calc(100% - 32px);

    padding: 48px 0 42px;

    grid-template-columns: 1fr;

    gap: 34px;
  }

  .wa-footer-column {
    width: 100%;
  }

  .wa-footer-heading {
    margin-bottom: 13px;
  }

  .wa-footer-links {
    gap: 9px;
  }

  .wa-footer-contact {
    grid-column: auto;
  }

  .wa-footer-architecture {
    display: none;
  }

  .wa-footer-bottom-inner {
    width: calc(100% - 32px);

    padding: 18px 0;

    min-height: auto;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
  }

  .wa-footer-legal {
    white-space: normal;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .wa-footer-main {
    width: calc(100% - 24px);

    padding-top: 42px;
    padding-bottom: 36px;
  }

  .wa-footer-bottom-inner {
    width: calc(100% - 24px);
  }

  .wa-footer-brand-text strong {
    font-size: 13px;
  }

  .wa-footer-address,
  .wa-footer-links a,
  .wa-footer-contact-item {
    font-size: 12px;
  }

  .wa-footer-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .wa-footer-logo-image {
    width: 48px !important;
    height: 48px !important;

    max-width: 48px !important;
    max-height: 48px !important;
  }
}

/* =========================================================
   FOOTER RESPONSIVE REFINEMENT
========================================================= */

@media (max-width: 1000px) {
  .wa-footer-main {
    row-gap: 30px;
  }
}

@media (max-width: 700px) {
  .wa-footer-main {
    padding-top: 32px;
    padding-bottom: 28px;
    row-gap: 24px;
  }

  .wa-footer-brand-link {
    gap: 10px;
  }

  .wa-footer-address {
    margin-top: 14px;
    gap: 4px;
  }

  .wa-footer-social {
    margin-top: 14px;
    gap: 10px;
  }

  .wa-footer-heading {
    margin-top: 0;
    margin-bottom: 9px;
  }

  .wa-footer-links {
    gap: 6px;
  }

  .wa-footer-contact-item {
    margin-bottom: 8px;
  }

  .wa-footer-bottom-inner {
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .wa-footer-main {
    padding-top: 28px;
    padding-bottom: 24px;
    row-gap: 21px;
  }

  .wa-footer-address {
    margin-top: 12px;
  }

  .wa-footer-social {
    margin-top: 12px;
  }

  .wa-footer-bottom-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
