/**
 * Footer styles — static port of the plumrocket.com Magento p/d footer
 * (skin/frontend/p/d/css/styles.css, footer region).
 *
 * Shared verbatim across the blog / learn / docs themes — keep in sync.
 * The newsletter subscribe section is intentionally NOT ported (no WP backend);
 * only the trust badges, link columns, and the social bar are kept.
 * Darker Grotesque @font-face is provided by the always-enqueued mega-menu.css.
 * Descendant combinators use SINGLE spaces (project minifier strips doubles).
 */

:root{
  --primary-green: #1B9769;
  --primary-font-family: 'Darker Grotesque', Arial, Helvetica, sans-serif;
  --font-weight-base: 500;
  --font-size-14-scale: 18px;
  --font-size-16-scale: 20px;
  --font-size-21-scale: 25px;
}

/* self-contained container: the themes' own .container differs (Bootstrap-narrow on blog,
   absent on twentynineteen), so anchor the footer width here instead of relying on it */
.footer-wrap .container,
.footer-bottom .container{
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.footer-wrap{
  background: #111827;
  font-family: var(--primary-font-family);
}

.footer{
  padding: 25px 0 65px 0;
}

.footer-top{
  margin-bottom: 46px;
}

.footer-section_title{
  color: #E1E7F0;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  font-size: var(--font-size-21-scale);
  margin-bottom: 28px;
}

.footer_icons{
  display: grid;
  gap: 25px 65px;
}

.footer_review{
  transition: all 0.3s ease-in-out;
}

.footer_review:hover{
  filter: brightness(110%) contrast(110%);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.footer_icons img{
  max-width: 100%;
  height: auto;
}

.footer-badge{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 25px;
}

.footer-badge_item{
  margin-left: -25px;
}

.footer-links_wrap{
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  width: 100%;
  gap: 45px 30px;
}

.footer-links_wrap .footer-section_title{
  margin-bottom: 34px;
}

.footer-links_wrap ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links_wrap li{
  margin-bottom: 15px;
}

.footer-links_col > ul li:last-of-type{
  margin-bottom: 0;
}

/* scoped under .footer-wrap to outrank the theme's global a:link/a:visited (#2f4c81),
   which otherwise ties on specificity and wins on load order */
.footer-wrap .footer-links_wrap a{
  color: #A2ADBD;
  font-size: var(--font-size-16-scale);
  font-weight: var(--font-weight-base);
  line-height: 1.1;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: color .3s ease;
}

.footer-wrap .footer-links_wrap a:hover{
  color: var(--primary-green);
}

.footer-bottom{
  background: #070C17;
  padding: 30px 0 20px 0;
}

.footer-bottom_grid{
  display: grid;
  gap: 25px;
  align-items: center;
  justify-content: center;
}

.plr-footer{
  color: #A2ADBD;
  font-size: var(--font-size-14-scale);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.36px;
}

.footer-social{
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 14px;
  align-items: center;
}

.footer-bottom .footer-social a{
  color: #A2ADBD;
  padding: 10px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-bottom .footer-social a:hover{
  color: var(--primary-green);
}

.footer-social svg{
  display: block;
}

@media (min-width: 768px){
  .footer{
    padding: 45px 0 60px 0;
  }

  .footer-top{
    margin-bottom: 48px;
  }

  .footer-section_title{
    margin-bottom: 22px;
  }

  .footer_icons{
    grid-template-columns: auto 1fr;
  }

  .footer-links_wrap{
    grid-template-columns: repeat(4, auto);
    gap: 45px;
  }

  .footer-links_wrap .footer-section_title{
    margin-bottom: 55px;
  }

  .footer-bottom_grid{
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}

@media (min-width: 768px) and (max-width: 1550px){
  .footer-social{
    margin-right: 65px;
  }
}

@media (min-width: 1024px){
  .footer{
    padding: 75px 0 120px 0;
  }

  .footer-top{
    margin-bottom: 0;
  }

  .footer-top_grid{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 45px;
  }

  .footer-section_title{
    margin-bottom: 35px;
  }

  .footer_icons{
    grid-template-columns: auto auto;
  }
}

@media (min-width: 1280px){
  .footer-top_grid{
    grid-template-columns: minmax(auto, 470px) 1fr;
    gap: 104px;
  }
}
