/* ============================================================
   FINKI – FOOTER (десктоп + мобилно)
   (извадено од main.css без промени во правилата)
   ============================================================ */

/* ============================================================
   FOOTER – FULL WIDTH BACKGROUND, CENTERED CONTENT
   ============================================================ */

.site-footer {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;

  background: linear-gradient(
    270deg,
    rgba(43, 146, 208, 1) 0%,
    rgba(44, 49, 121, 1) 100%
  );
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.2;

  padding: 3rem 0 2rem;
  margin-top: 0;
}

/* Внатрешниот контент – ширина 86% (var(--layout-width)) */
.site-footer__inner {
  width: var(--layout-width);
  margin: 0 auto;
  padding: 0;
}

/* ГОРЕН ДЕЛ – ЛЕВ БЛОК (МЕНИ) + ДЕСЕН БЛОК (ИНФО) */

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;   /* НЕ space-between */
  gap: 3.75rem;                  /* фиксно растојание помеѓу левиот и десниот блок */
}

.footer-nav-columns {
  flex: 1 1 auto;                /* да може да се растегне */
}

.footer-mega-menu {
  width: 100%;
}

.footer-info {
  flex: 0 0 22.5rem;
  max-width: 22.5rem;
}

/* MEGA MENU – 4 КОЛОНИ */

.footer-mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: space-between; /* внатрешните колони да се растегаат */
  gap: 2rem;                      /* основен gap меѓу нив */
}

.footer-mega-menu__list > li {
  flex: 1 1 0;                    /* сите колони да делат простор */
  min-width: 10.625rem;
}

.footer-mega-menu__list > li > a {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  text-decoration: none;
  color: #ffffff;
}

.footer-mega-menu__list > li > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-mega-menu__list > li > ul > li + li {
  margin-top: 0.25rem;
}

.footer-mega-menu__list > li > ul a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 400;
}

.footer-mega-menu__list > li > ul a:hover {
  color: #e1e1e1;
}

.footer-mega-menu__list a:hover,
.footer-mega-menu__list a:focus {
  text-decoration: none;
}

/* ДЕСЕН БЛОК – АДРЕСА / КОНТАКТ / СОЦИЈАЛНИ */

.footer-logo img {
  max-width: 13.75rem;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer-info__block {
  margin-bottom: 1rem;
}

.footer-col__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.625rem;
  text-align: left;
}

.footer-info__block p {
  margin: 0;
  text-align: left;
}

.footer-info__block a {
  color: #ffffff;
  text-decoration: none;
}

.footer-info__block a:hover {
  text-decoration: none;
  color: #e1e1e1;
}

/* СОЦИЈАЛНИ ИКОНИ */

.footer-social {
  list-style: none;
  margin: 0.375rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.footer-social__item a {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-social__item img {
  width: 1.6875rem;
  height: 1.6875rem;
  display: block;
}

/* COPYRIGHT – исто центриран во 86% ширина */

.site-footer__bottom {
  width: var(--layout-width);
  margin: 1.75rem auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 0.625rem;
  font-size: 0.875rem;
}

.footer-bottom-right {
  text-align: center;
}

/* ============================================================
   FOOTER – TABLET & MOBILE (≤900px)
   ============================================================ */

@media (max-width: 900px) {
  .site-footer {
    padding: 2rem 0 1.5rem;
  }

  /* 86% од ширината и на tablet/phone */
  .site-footer__inner {
    width: 86vw;
    margin: 0 auto;
    padding: 0;
  }

  .site-footer__top {
    flex-direction: column;   /* левиот и десниот блок еден под друг */
    gap: 2rem;
  }

  .footer-nav-columns,
  .footer-info {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Секоја мени-колона под друга */
  .footer-mega-menu__list {
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .footer-mega-menu__list > li {
    flex: 0 0 auto;
    min-width: 100%;
  }

  /* И долниот дел да користи 86% */
  .site-footer__bottom {
    width: 86vw;
    margin: 1.25rem auto 0;
    font-size: 0.8125rem;
    padding: 0.625rem 0 0;
  }

  .footer-bottom-right {
    text-align: center;
  }
}


.footer-pattern {
    width: 100%;
    height: 600px;
    margin-top: -600px;
    background-image: url(https://newsite.finki.ukim.mk/wp-content/themes/FINKI/assets/images/pattern.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.quick-icons {
  position: relative;
  z-index: 1;
}