/* footer */
.footer {
  background: #232323;
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 30px;
}
.footer-logo img {
  max-width: 200px;
  max-height: 82px;
}
.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.75;
}
.footer h5 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 13px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.ipv-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* margin-top: 35px; */
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

/* ============================================================
   IPROVAKALAT MEGA FOOTER
   FINAL CSS FOR CURRENT HTML
============================================================ */

.ipv-mega-footer {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 52px 0 0 !important;

  background: #232323 !important;
  color: rgba(255, 255, 255, 0.72);

  font-family: "Montserrat", sans-serif;
}

.ipv-mega-footer *,
.ipv-mega-footer *::before,
.ipv-mega-footer *::after {
  box-sizing: border-box;
}

/* ============================================================
   MAIN CONTAINER

   IMPORTANT:
   override the global .container without shrinking footer
============================================================ */

.ipv-mega-footer > .container {
  width: min(1300px, calc(100% - 50px)) !important;
  max-width: 1300px !important;

  margin: 0 auto !important;
  padding: 0 !important;
}

/* ============================================================
   BRAND / LOGO TOP
============================================================ */

.ipv-mega-footer .ipv-footer-brand {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: 205px minmax(0, 100%);
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0 0 34px;
}

/* LOGO */

.ipv-mega-footer .ipv-footer-logo {
  display: block;

  margin: 0;
  padding: 0;
}

.ipv-mega-footer .ipv-footer-logo img {
  display: block;

  width: auto;
  height: auto;

  max-width: 175px;
  max-height: 80px;

  object-fit: contain;
  object-position: left center;
}

/* BRAND INTRO */


.ipv-footer-intro {
  width: 100%;
  /* max-width: 480px; */
}

.ipv-footer-intro p {
  margin: 0 0 7px !important;

  color: rgba(255, 255, 255, 0.82) !important;

  font-size: 16px !important;
  font-weight: 500;

  line-height: 1.65 !important;
}

.ipv-footer-intro > span {
  display: block;

  color: rgba(255, 255, 255, 0.48);

  font-size: 14px;
  font-weight: 400;

  line-height: 1.65;
}

/* ============================================================
   MEGA FOOTER — PERFECT ROW ALIGNMENT
============================================================ */

.ipv-footer-mega-grid {
  width: 100%;

  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

  column-gap: 55px;

  align-items: start;

  margin: 0;
  padding: 35px 0 0px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   EACH COLUMN
   All columns use exactly same vertical row structure
============================================================ */

.ipv-mega-footer .ipv-footer-column {
  width: 100%;
  min-width: 0;

  display: grid !important;

  /*
       ROW 1 = first group
       ROW 2 = second group
       ROW 3 = third group
       ROW 4 = fourth group

       Same height in every column = headings stay aligned.
    */

  grid-template-rows:
    215px
    215px
    215px
    auto;

  align-content: start;

  margin: 0;
  padding: 0;
  gap: 115px;
}

/* ============================================================
   EACH GROUP
============================================================ */

.ipv-mega-footer .ipv-footer-group {
  width: 100%;

  margin: 0 !important;

  padding: 0 0 25px !important;

  align-self: start;
}

/* ============================================================
   HEADINGS
============================================================ */

.ipv-mega-footer .ipv-footer-group h5 {
  min-height: 20px;

  margin: 0 0 13px !important;
  padding: 0 !important;

  color: #d0aa66 !important;

  font-family: "Montserrat", sans-serif !important;

  font-size: 17px !important;
  font-weight: 800 !important;

  line-height: 1.4;

  letter-spacing: 0.01em !important;

  text-transform: none !important;
}

/* ============================================================
   LIST
============================================================ */

.ipv-mega-footer .ipv-footer-group ul {
  display: flex !important;

  flex-direction: column !important;

  gap: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

.ipv-mega-footer .ipv-footer-group li {
  margin: 0 !important;
  padding: 0 !important;

  min-height: 27px;
}

/* ============================================================
   LINKS
============================================================ */

.ipv-mega-footer .ipv-footer-group li a {
  display: inline-block !important;
  padding: 4px 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.85 !important;
  text-decoration: none !important;
}

.ipv-mega-footer .ipv-footer-group li a:hover {
  color: #d0aa66 !important;
}

/* ============================================================
   CONTACT
============================================================ */

.ipv-mega-footer .ipv-footer-contact {
  margin: 0 !important;
  padding: 0 !important;
}

.ipv-mega-footer .ipv-footer-contact p {
  min-height: 27px;

  margin: 0 !important;
  padding: 4px 0 !important;

  color: rgba(255, 255, 255, 0.72) !important;

  font-size: 15px !important;

  line-height: 1.45 !important;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 991px) {
  .ipv-footer-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 40px 50px;
  }

  .ipv-mega-footer .ipv-footer-column {
    grid-template-rows:
      auto
      auto
      auto
      auto;

    row-gap: 30px;
  }
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {
  .ipv-footer-mega-grid {
    grid-template-columns: 1fr !important;

    gap: 0;
  }

  .ipv-mega-footer .ipv-footer-column {
    display: block !important;
  }

  .ipv-mega-footer .ipv-footer-group {
    margin-bottom: 30px !important;
    padding-bottom: 0 !important;
  }
}
@media (max-width: 700px) {
    .mobile-hidden {
        display: none !important;
    }
    .ipv-mega-footer .ipv-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: self-start;
    }
}
@media (max-width: 360px) {
    .mobile-hidden {
        display: none !important;
    }
    .ipv-mega-footer .ipv-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: self-start;
    }
}
@media (max-width: 412px) {
    .mobile-hidden {
        display: none !important;
    }
    .ipv-mega-footer .ipv-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: self-start;
    }
}