/*==============================================================================
  theme/06-footer.css
  FOOTER — Site footer + copyright
  Linked from templates/base.html in numbered order with the other theme modules.
==============================================================================*/

/* --------------------------------------------------------------------------
   FOOTER — Multi-column site footer + copyright bar
   -------------------------------------------------------------------------- */
.info_section.site-footer,
.site-footer {
  background-color: var(--text) !important;
  color: #fff;
  padding: 0 !important;
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.site-footer__inner {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  position: relative;
  z-index: 1;
  border-top: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr 1.3fr;
  gap: 24px 28px;
  align-items: start;
}

.site-footer__col h5 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff !important;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__col li {
  margin: 0 0 10px;
}

.site-footer__col--specs li a,
.site-footer__col--links li a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.site-footer__col--specs li a::before,
.site-footer__col--links li a::before {
  content: ">";
  flex: 0 0 auto;
  font-weight: 600;
  opacity: 0.85;
  line-height: inherit;
}

.site-footer__col a {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.45;
  color: #fff !important;
  text-decoration: none;
  transition: opacity 120ms ease;
}

.site-footer__col a:hover {
  color: #fff !important;
  opacity: 0.8;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  text-decoration: none !important;
  transition: border-color 120ms ease, background-color 120ms ease, opacity 120ms ease;
}

.site-footer__social svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  display: block;
}

.site-footer__social:hover {
  color: #fff !important;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.site-footer__col--map {
  grid-column: auto;
  padding-top: 0;
  margin-top: -2px;
}

.site-footer__map {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 140px;
  max-height: 180px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0;
}

.site-footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

.footer_section {
  background-color: var(--text) !important;
  justify-content: flex-start !important;
  padding: 20px 0 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  flex-shrink: 0;
}

.footer_section__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}

.footer_section p,
.footer_section__copy {
  text-align: left !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #fff !important;
  margin: 0;
  flex: 1 1 280px;
}

.footer_section__line {
  display: inline;
  color: #fff !important;
}

.footer_section__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
}

.footer_section__legal a {
  color: #fff !important;
  text-decoration: none;
}

.footer_section__legal a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.footer_section__sep {
  color: rgba(255, 255, 255, 0.45);
  user-select: none;
}

.footer_section a {
  color: #fff !important;
  text-decoration: underline;
}

.footer_section a:hover {
  color: #fff !important;
  opacity: 0.85;
}

@media (max-width: 767px) {
  .footer_section__inner {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px 16px;
  }

  .footer_section__copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .footer_section__legal {
    margin-left: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .footer_section__line {
    display: block;
  }

  .footer_section__line + .footer_section__line {
    margin-top: 4px;
  }
}

@media (max-width: 1023px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__col--map {
    grid-column: 1 / -1;
  }

  .site-footer__map {
    max-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .site-footer__inner {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 767px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .site-footer__col--specs {
    order: 1;
  }

  .site-footer__col--links {
    order: 2;
  }

  .site-footer__col--contact {
    order: 3;
    grid-column: 1 / -1;
  }

  .site-footer__col--map {
    order: 4;
    grid-column: 1 / -1;
  }

  .site-footer__inner {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
}

@media (max-width: 480px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__col--map,
  .site-footer__col--contact {
    grid-column: 1;
  }
}

