/* ZooCentur global footer. Buglo-inspired structure, scoped to footer only. */
#main-footer.zc-site-footer {
  --zc-footer-card: #ffffff;
  --zc-footer-card-soft: #f7fcfd;
  --zc-footer-ink: #123642;
  --zc-footer-muted: #526b73;
  --zc-footer-teal: #219ebc;
  --zc-footer-teal-dark: #0f7188;
  --zc-footer-large-gradient: linear-gradient(135deg, #127f98 0%, #219ebc 100%);
  --zc-footer-orange: #fb8500;
  --zc-footer-orange-deep: #f44603;
  --zc-footer-line: rgba(33, 158, 188, 0.24);
  --zc-footer-shadow: 0 22px 54px rgba(18, 54, 66, 0.16);
  position: relative;
  z-index: 2;
  margin-top: clamp(58px, 7vw, 96px);
  padding: clamp(54px, 6vw, 76px) 0 clamp(44px, 5vw, 64px);
  color: var(--zc-footer-ink);
  background: var(--zc-footer-large-gradient);
  overflow-x: clip;
}

#main-footer.zc-site-footer *,
#main-footer.zc-site-footer *::before,
#main-footer.zc-site-footer *::after {
  box-sizing: border-box;
}

.zc-footer-shell {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.zc-footer-panel {
  position: relative;
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(34px, 4.4vw, 54px) clamp(30px, 4.3vw, 58px) clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 28px;
  background: var(--zc-footer-card);
  box-shadow: var(--zc-footer-shadow);
}

.zc-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.22fr) minmax(124px, 0.7fr) minmax(160px, 0.94fr) minmax(122px, 0.68fr) minmax(205px, 1fr);
  gap: clamp(22px, 2.7vw, 36px);
  align-items: start;
  padding-right: 46px;
}

.zc-footer-column {
  min-width: 0;
}

.zc-footer-column--wide {
  max-width: 360px;
}

.zc-footer-eyebrow {
  margin: 0 0 16px;
  color: var(--zc-footer-orange-deep);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

#main-footer.zc-site-footer h2,
#main-footer.zc-site-footer p,
#main-footer.zc-site-footer a,
#main-footer.zc-site-footer li,
#main-footer.zc-site-footer span,
#main-footer.zc-site-footer strong,
#main-footer.zc-site-footer address {
  letter-spacing: 0;
}

#main-footer.zc-site-footer h2 {
  margin: 0 0 16px;
  color: #0f2f39;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.18;
}

.zc-footer-column--wide h2 {
  max-width: 330px;
  color: var(--zc-footer-teal);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1;
}

#main-footer.zc-site-footer p {
  margin: 0;
  color: var(--zc-footer-muted);
  font-size: 14px;
  line-height: 1.72;
}

.zc-footer-contact-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.zc-footer-contact-list a {
  width: fit-content;
  max-width: 100%;
  color: var(--zc-footer-teal-dark);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.zc-footer-link-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zc-footer-link-list a,
.zc-footer-location a,
.zc-footer-bottom__links a {
  color: var(--zc-footer-ink);
  text-decoration: none;
}

.zc-footer-link-list a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: #334f58;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.zc-footer-contact-list a:hover,
.zc-footer-contact-list a:focus-visible,
.zc-footer-link-list a:hover,
.zc-footer-link-list a:focus-visible,
.zc-footer-location a:hover,
.zc-footer-location a:focus-visible,
.zc-footer-bottom__links a:hover,
.zc-footer-bottom__links a:focus-visible {
  color: var(--zc-footer-orange-deep);
  text-decoration: none;
}

.zc-footer-column--actions {
  display: grid;
  gap: 12px;
}

.zc-footer-action-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  min-height: 30px;
  color: var(--zc-footer-orange-deep);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.zc-footer-action-link span[aria-hidden="true"] {
  color: var(--zc-footer-teal);
  font-size: 17px;
  line-height: 1;
  transition: transform 180ms ease;
}

.zc-footer-action-link:hover span[aria-hidden="true"],
.zc-footer-action-link:focus-visible span[aria-hidden="true"] {
  transform: translateX(3px);
}

.zc-footer-location {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(33, 158, 188, 0.18);
}

.zc-footer-location strong {
  color: #0f2f39;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.zc-footer-location address {
  margin: 0;
  color: #334f58;
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.zc-footer-location a {
  width: fit-content;
  margin-top: 4px;
  border-bottom: 1px solid currentColor;
  color: #0f2f39;
  font-size: 13px;
  font-weight: 900;
}

.zc-footer-quick-icons {
  position: absolute;
  top: clamp(34px, 4vw, 50px);
  right: clamp(20px, 2.4vw, 28px);
  display: grid;
  gap: 12px;
  z-index: 2;
}

.zc-footer-quick-icons a {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, var(--zc-footer-orange) 0%, var(--zc-footer-orange-deep) 100%);
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(244, 70, 3, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.zc-footer-quick-icons a:hover,
.zc-footer-quick-icons a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(244, 70, 3, 0.24);
}

.zc-footer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 4px;
  padding-right: 46px;
}

.zc-footer-services span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  color: #0f7188;
  background: var(--zc-footer-card-soft);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.zc-footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto) minmax(190px, auto);
  gap: 18px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--zc-footer-line);
}

.zc-footer-bottom p {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: end;
  color: #0f2f39;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
}

.zc-footer-logo {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  max-width: 210px;
}

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

.zc-footer-krdesign-credit {
  display: inline-flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-height: 50px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(33, 158, 188, 0.22);
  border-radius: 18px;
  color: var(--zc-footer-teal-dark);
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfd 100%);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(18, 54, 66, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.zc-footer-krdesign-credit span {
  color: var(--zc-footer-teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.zc-footer-krdesign-credit img {
  display: block;
  width: 132px;
  max-width: 40vw;
  height: auto;
  max-height: 52px;
  padding: 6px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--zc-footer-teal-dark) 0%, var(--zc-footer-teal) 100%);
  object-fit: contain;
}

.zc-footer-krdesign-credit:hover,
.zc-footer-krdesign-credit:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(251, 133, 0, 0.36);
  box-shadow: 0 14px 28px rgba(33, 158, 188, 0.16);
  text-decoration: none;
}

.zc-footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2 / span 2;
  grid-row: 2;
  gap: 10px 18px;
  justify-content: flex-end;
}

.zc-footer-bottom__links a {
  color: #334f58;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .zc-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zc-footer-column--wide,
  .zc-footer-column--actions {
    max-width: none;
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .zc-footer-panel {
    padding-right: clamp(26px, 5vw, 42px);
  }

  .zc-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 0;
  }

  .zc-footer-column--wide,
  .zc-footer-column--actions {
    grid-column: 1 / -1;
  }

  .zc-footer-quick-icons {
    position: static;
    display: flex;
    order: -1;
    justify-content: flex-end;
  }

  .zc-footer-services {
    padding-right: 0;
  }

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

  .zc-footer-bottom p,
  .zc-footer-logo,
  .zc-footer-krdesign-credit,
  .zc-footer-bottom__links {
    grid-column: 1;
    grid-row: auto;
  }

  .zc-footer-logo,
  .zc-footer-krdesign-credit,
  .zc-footer-bottom__links {
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  #main-footer.zc-site-footer {
    margin-top: 50px;
    padding: 34px 0 28px;
  }

  .zc-footer-shell {
    width: min(100% - 28px, 1160px);
  }

  .zc-footer-panel {
    gap: 24px;
    padding: 26px 20px 24px;
    border-radius: 22px;
  }

  .zc-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .zc-footer-column--wide h2 {
    font-size: 25px;
  }

  .zc-footer-link-list a,
  .zc-footer-action-link {
    min-height: 34px;
  }

  .zc-footer-services {
    gap: 8px;
  }

  .zc-footer-logo {
    max-width: 180px;
  }
}
