/* Marquee */
.footer-marquee {
  width: 100%;
  overflow: hidden;
  padding: 32px 0;
  z-index: 2;
}

.marquee-item {
  display: flex !important;
  align-items: center;
  gap: 32px;
  color: var(--neutral-900);
  font-size: var(--font-size-24);
  line-height: 140%;
  font-family: "Funnel Display", serif;
  font-weight: 600;
  white-space: nowrap;
  width: auto !important;
}

.square {
  min-width: 12px;
  width: 12px;
  height: 12px;
  background-color: var(--neutral-900);
}

.swiper-wrapper {
  transition-timing-function: linear !important;
}

/* Nadpisz domyślne style Swipera */
.marquee-swiper .swiper-slide {
  width: auto !important;
}

/* CTA section */
.footer-cta {
  position: relative;
  background-color: var(--primary-100);
  padding: 96px 0;
}

.footer-cta .horizontal-line {
  width: 100%;
  height: 1px;
  background-color: var(--primary-300);
  opacity: 0.4;
}

.footer-cta .line-1 {
  margin-bottom: 16px;
}

.footer-cta .line-2 {
  margin-bottom: 37px;
}

.footer-cta .line-3 {
  margin-top: 67px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.footer-cta h5 {
  color: var(--neutral-900);
  z-index: 2;
}

.footer-cta h2 {
  color: var(--neutral-900);
  max-width: 900px;
  z-index: 2;
}

.footer-cta .body-large {
  color: var(--neutral-900);
  max-width: 700px;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  z-index: 2;
}

.cta-buttons .btn-secondary {
  padding: 14px 32px;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.cta-buttons svg path {
  stroke: var(--neutral-900);
}

/* Columns section */
.footer-columns {
  margin-top: 96px;
  padding: 0 118px 0;
}

.columns-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Logo & Social */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo-link {
  display: block;
}

.footer-logo {
  height: 64px;
  width: auto;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.social-link {
  color: var(--primary-500);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link:hover {
  color: var(--primary-700);
}

/* Content Columns */
.footer-content-columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.column-text {
  white-space: pre-line;
  color: var(--neutral-900);
  max-width: 450px;
}

.column-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.column-image img {
  height: auto;
  width: 100%;
  display: block;
}

/* Menu */
.footer-menu .menu,
.footer-menu .menu > ul {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-menu .menu a {
  font-weight: 400;
}

.footer-menu .menu a:hover {
  color: var(--primary-500);
}

/* Newsletter */
.newsletter-form {
  margin-top: 32px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  width: 364px;
}

.input-wrapper input {
  flex-grow: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  background: none;
  color: var(--neutral-900);
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-16);
  line-height: 140%;
  z-index: 2;
}

.input-wrapper input::placeholder {
  color: var(--neutral-500);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: var(--font-size-16);
  line-height: 140%;
}

.input-wrapper button {
  padding: 12px 16px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottom section */
.footer-bottom {
  margin-top: 48px;
  padding: 0 118px 96px;
}

/* EU Disclaimer */
.eu-disclaimer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.disclaimer-content .body-xs {
  color: var(--neutral-900);
  z-index: 2;
}

.disclaimer-image {
  background-color: #fff;
}

.disclaimer-image img {
  width: 270px;
  height: auto;
}

/* Copyright & Links */
.copyright-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright-section .body-small {
  color: var(--neutral-900);
  z-index: 2;
}

.legal-links {
  display: flex;
  gap: 32px;
}

.legal-links a {
  color: var(--neutral-900);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--primary-500);
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Footer CTA */
  .footer-cta {
    margin-top: 20px;
  }

  .footer-columns {
    padding: 0 64px;
  }

  .footer-content-columns {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
  }

  .column-text {
    max-width: 100%;
    text-align: left;
  }

  .content-column {
    text-align: center;
  }

  .footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-menu .menu {
    text-align: center;
  }

  .footer-column:first-child {
    gap: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-cta {
    padding: 48px 0;
  }

  .footer-cta .line-1 {
    margin-bottom: 8px;
  }

  .footer-cta .line-2 {
    margin-bottom: 16px;
  }

  .footer-cta .line-3 {
    margin-top: 16px;
  }

  .cta-content {
    padding: 0;
  }

  .cta-content h2 {
    font-size: var(--font-size-32);
  }

  .copyright-section {
    gap: 24px;
    flex-wrap: wrap;
  }

  /* Columns section */
  .footer-columns {
    margin-top: 48px;
    padding: 0;
  }

  .footer-column {
    width: 100%;
  }

  .footer-column:first-child {
    width: 100%;
  }

  .input-wrapper {
    width: 100%;
    max-width: 364px;
  }

  /* Bottom section */
  .footer-bottom {
    margin-top: 48px;
    padding: 0 0 48px 0;
  }

  .eu-disclaimer {
    flex-direction: column;
    gap: 24px;
    text-align: left;
    align-items: flex-start;
    margin-bottom: 48px;
  }

  .disclaimer-content {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .footer-columns {
    margin-top: 48px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .columns-wrapper {
    gap: 48px;
  }

  .footer-logo {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 16px;
  }

  .cta-buttons .btn {
    width: auto !important;
  }
}
