/* ============================================================
   footer.css — Site footer
   ============================================================ */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
}

/* ── Row (set of 3 columns) ────────────────────────────────── */
.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.footer-content hr {
  display: none;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.15);
  width: 40vw;
  margin: 0 2rem;
}

/* ── Individual column ─────────────────────────────────────── */
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
  padding: 2rem;
}

.footer-column .footer-logo {
  align-self: flex-start;
  max-height: 2rem;
  height: auto;
  margin-bottom: 0.6rem;
}

.footer-column p,
.footer-column a,
.footer-column .underline-link {
  color: var(--footer-dark);
  font-size: 0.72rem;
  margin: 0.2rem 0;
  line-height: 1.5;
}

.footer-column a {
  text-decoration: underline;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}
.footer-column a:hover { opacity: 0.6; }

.footer-column a ion-icon {
  font-size: 0.65rem;
  transform: translateY(0.07rem);
  flex-shrink: 0;
}

.underline-link {
  text-decoration: underline;
  cursor: pointer;
}
.underline-link:hover { opacity: 0.6; }

/* ── Social buttons ────────────────────────────────────────── */
.social-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.social-buttons a {
  background: var(--color-black);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.social-buttons a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.social-buttons a img {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

/* ── Language row ──────────────────────────────────────────── */
.footer-lang-row {
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 0;
}

.footer-lang-row .footer-column a {
  font-size: 0.8rem;
}

/* ── Copyright bar ─────────────────────────────────────────── */
.footer-copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--footer-dark);
  width: 100%;
  padding: 12px 20px;
}

.footer-copyright p {
  color: var(--color-white);
  font-size: 0.7rem;
  text-align: center;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 750px) {
  .footer-content {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-content hr {
    display: block;
  }

  .footer-column {
    padding: 1.25rem 1.5rem;
    width: 100%;
  }

  .footer-column p,
  .footer-column a,
  .footer-column .underline-link {
    font-size: 1rem;
    margin: 0.4rem 0;
  }

  .footer-column .footer-logo {
    height: 2rem;
    margin-bottom: 0.75rem;
  }

  .social-buttons {
    gap: 12px;
    max-width: unset;
    width: 100%;
    justify-content: flex-start;
  }

  .social-buttons a {
    width: 2.5rem;
    height: 2.5rem;
  }

  .social-buttons a img {
    width: 1.25rem;
    height: 1.25rem;
  }

  .footer-column a ion-icon {
    font-size: 0.95rem;
  }
}

@media (min-width: 1600px) {
  .footer-column {
    min-width: 360px;
  }
}


/* ── Cookie banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 9999;
  max-width: 40vw;
  max-height: calc(100vh - 70px);
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: scroll;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-title {
  font-size: 0.8rem;
  color: var(--color-black);
  margin: 0;
  line-height: 1.4;
}

.cookie-banner-text {
  font-size: 0.8rem;
  color: var(--color-black);
  line-height: 1.55;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  background: var(--color-black);
  color: var(--color-white);
}
.cookie-btn:hover  { opacity: 0.85; transform: translateY(-1px); }
.cookie-btn:active { transform: translateY(0); }

.cookie-banner-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-links a {
  font-size: 0.8rem;
  color: var(--color-black);
  text-decoration: underline;
  transition: color 0.2s;
}
.cookie-banner-links a:hover { color: var(--color-black); }

.material-symbols-outlined {
  font-size: 0.8rem !important;
  vertical-align: middle;
  margin-right: 0.1rem;
  color: inherit;
}

@media screen and (max-width: 750px) {
    .cookie-banner {
        width: 100vw;
        max-width: unset;
        margin-bottom: -5px;
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    border-radius: 16px;
  }
}