/* ── Site Footer ── */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 40px var(--container-padding) 60px;
}

/* ── Newsletter: two equal columns that fill the content width ── */
.newsletter {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
  width: 100%;
}

.newsletter__image {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 676 / 558;
}

.newsletter__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.newsletter__content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  background-color: #0a0a0a;
}

.newsletter__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.newsletter__title {
  width: 100%;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  color: #ffffff;
}

.newsletter__text {
  width: 100%;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  text-transform: uppercase;
  color: #cfcfcf;
}

.newsletter__form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  height: 38px;
}

.newsletter__field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #ffffff;
}

.newsletter__input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 16.8px;
  color: #ffffff;
  outline: none;
}

.newsletter__input::placeholder {
  color: #ffffff;
  text-transform: uppercase;
  opacity: 1;
}

.newsletter__submit {
  flex-shrink: 0;
  width: 140px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.newsletter__submit:hover {
  background-color: #cfcfcf;
}

.newsletter__form .citybilla-form-status {
  color: #ffffff;
}

.newsletter__form .citybilla-form-status--err {
  color: #ffb4b4;
}

/* ── Nav: brand 30% + 72px gap + remaining columns, fills content width ── */
.site-footer__nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
  gap: 72px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid #ffffff;
}

.site-footer__brand {
  flex: 0 0 30%;
  width: 30%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__logo {
  display: inline-flex;
  flex-direction: row-reverse !important;
  align-items: center;
  gap: 14px;
  font-family: var(--font-primary); 
  font-size: 48px;
  font-weight: 500;
  line-height: 57.6px;
  color: #ffffff;
  text-decoration: none;
}

.site-footer__logo .citybilla-logo-mark {
  width: 86px;
  height: 58px;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 39px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.site-footer__social-link .icon {
  width: 24px;
  height: 24px;
}

.site-footer__columns {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer__column {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__column-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  color: #ffffff;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__links li {
  display: flex;
  line-height: 14.4px;
}

.site-footer__link,
.site-footer__legal-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  color: #cfcfcf;
}

.site-footer__link::after,
.site-footer__legal-link::after {
  position: absolute;
  left: 0;
  top: 100%;
}

/* ── Legal bar ── */
.site-footer__bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding-top: 20px;
  border-top: 1px solid #ffffff;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 20px;
}

.site-footer__copyright {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 14.4px;
  color: #ffffff;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .newsletter {
    flex-wrap: wrap;
  }

  .newsletter__image,
  .newsletter__content {
    flex: 1 1 100%;
  }

  .newsletter__image {
    aspect-ratio: 676 / 400;
  }

  .newsletter__content {
    padding: 40px 0;
    align-items: stretch;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 40px;
  }

  .site-footer__brand,
  .site-footer__columns {
    flex: 1 1 100%;
    width: 100%;
  }

  .site-footer__brand {
    gap: 40px;
  }

  .site-footer__columns {
    flex-wrap: wrap;
    gap: 32px;
  }

  .site-footer__column {
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 809px) {
  .site-footer__columns {
    flex-direction: column;
  }

  .site-footer__column {
    flex: none;
    width: 100%;
  }
}
