/* ============================================================
   FOOTER – BASE
============================================================ */

.site-footer {
  position: relative;
  background: var(--color-blue-grey-900);
  color: var(--blue-grey-50);
  padding: 3rem 3rem 1rem;
  font-size: 0.95rem;
  position: relative;
}

.ellipse_13 {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
}

.ellipse_13 img {
  height: 30vh;
  max-height: 400px;
}

.ellipse_14 {
  position: absolute;
  bottom: 0;
  left: 0;
}

.ellipse_14 img {
  min-height: 100px;
  max-height: 150px;
}

.footer__container {
  max-width: 1300px;
  margin: 0 auto;
}

/* LOGO */
.footer__logo-wrap {
  text-align: center;
  margin-bottom: 5rem;
}

.footer__logo-wrap img {
  margin: auto;
}

.footer__logo {
  max-height: 70px;
  width: auto;
  opacity: 0.95;
}

/* ============================================================
   TOP SECTION
============================================================ */

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ============================================================
   COLUMNS LAYOUT
============================================================ */

.footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

/* Column title */
.footer__col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--color-light-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   FOOTER ITEMS (ikonki + tekst)
============================================================ */

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.footer-item span {
  color: var(--blue-grey-50);
}

.footer-item a {
  text-decoration: none;
  color: var(--blue-grey-50);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-item a:hover {
  color: var(--color-light-blue);
}

/* Iconki */
.footer-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.9;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER MENU (WordPress menu)
============================================================ */

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  margin-bottom: 0.7rem;
}

.footer__nav li a {
  text-decoration: none;
  color: var(--blue-grey-50);
  transition: color 0.2s ease;
}

.footer__nav li a:hover {
  color: var(--color-light-blue);
}

/* ============================================================
   SOCIAL ICONS
============================================================ */

.footer__social {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-social-icon:hover {
  opacity: 1;
  transform: scale(1.12);
}

/* ============================================================
   BOTTOM BAR
============================================================ */

.footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--color-blue-grey-600);
  font-size: 0.85rem;
}

.footer__bottom p {
  color: var(--blue-grey-50);
  font-weight: 200;
  font-size: 0.7rem;
}

.footer__bottom a {
  color: var(--color-light-blue);
  margin-left: 0.3rem;
}

.footer__bottom img {
  height: 15px;
  vertical-align: middle;
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 820px) {
  .ellipse_13 img {
    max-height: 200px;
  }
}

@media (max-width: 768px) {
  .ellipse_13 img {
    max-height: 150px;
  }
  .footer__columns {
    gap: 2rem;
  }

  .footer__col h4 {
    margin-bottom: 0.8rem;
  }

  .footer-item {
    gap: 0.6rem;
  }

  .footer__social {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .ellipse_13 img {
    max-height: 120px;
  }
  .footer__logo {
    max-height: 60px;
  }

  .footer-item span {
    font-size: 0.9rem;
  }
}
