/* Inkubator UW footer — canonical component styles. */
.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 56px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, white 9%, transparent), transparent 30%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
}

.footer-container {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: var(--container-width);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.04fr) minmax(200px, .78fr) minmax(200px, .86fr) minmax(420px, 1.55fr);
  gap: 48px 34px;
  align-items: start;
  padding-top: 56px;
}

.footer-brand,
.footer-column {
  min-width: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
}

.footer-logo__image {
  width: 170px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo__fallback {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.035em;
}

.footer-logo__fallback strong {
  color: #fff;
  font-weight: 800;
}

.footer-brand__copy {
  max-width: 290px;
  margin-top: 16px;
}

.footer-brand__copy p {
  margin: 0 0 12px;
  color: #d5dce7;
  font-size: 14px;
  line-height: 1.7;
}

.footer-brand__copy p:last-child {
  margin-bottom: 0;
}

.footer-grid h2 {
  position: relative;
  margin: 6px 0 18px;
  padding-bottom: 12px;
  color: #eef2f7;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-grid h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, white 24%, transparent);
}

.footer-column--services > h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid color-mix(in srgb, white 18%, transparent);
}

.footer-column--services > h2::after {
  display: none;
}

.footer-column a,
.footer-column address,
.footer-grid--iuw-live .footer-contact address span {
  color: #c8d0db;
}

.footer-column a,
.footer-column address {
  margin: 0 0 6px;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.footer-column a {
  display: flex;
  min-height: 32px;
  align-items: center;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff;
  transform: translateX(2px);
}

.footer-grid--iuw-live .footer-column h2 > a {
  min-height: 0;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.footer-menu--static {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu--static li {
  margin: 0;
  padding: 0;
}

.footer-menu--static a {
  min-height: 34px;
}

.footer-column--services .footer-menu--static {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 0;
}

.footer-bottom {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  border-top: 1px solid color-mix(in srgb, white 14%, transparent);
  color: #99a6b7;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  gap: 28px;
}

.footer-bottom--iuw-live .footer-legal {
  align-items: center;
  gap: 10px;
}

.footer-bottom--iuw-live .footer-legal span {
  color: #667085;
}

.footer-bottom a {
  display: flex;
  min-height: 32px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: color .16s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #fff;
}

@media (max-width: 1099px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .footer-column--services .footer-menu--static {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    width: calc(100% - 32px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 38px;
  }

  .footer-brand__copy {
    max-width: none;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
}

@media (hover: none) {
  .footer-column a:hover {
    transform: none;
  }
}


.site-footer a:focus-visible { outline-color: #fff; }
