/* ============================================
   ATME Footer Styles (global)
   Loaded on ALL pages to style the child-theme footer.php override.
   ============================================ */

:root {
  --atme-color-navy: #19144B;
  --atme-color-white: #FFFFFF;
  --atme-color-dark-gray: #C8C8C8;
  --atme-font-footer: 'Montserrat', sans-serif;
  --atme-container-width: 1285px;
}

.atme-footer {
  background: var(--color-navy, var(--atme-color-navy));
  padding: 80px 20px 0;
  position: relative;
}

.atme-footer__inner {
  display: flex;
  gap: 60px;
  max-width: var(--container-width, var(--atme-container-width));
  margin-left: auto;
  margin-right: auto;
}

.atme-footer__brand {
  width: 353px;
  flex-shrink: 0;
}

.atme-footer__logo {
  display: block;
  width: 125px;
  max-width: 125px;
  height: 36px;
  margin-bottom: 32px;
  overflow: hidden;
  flex-shrink: 0;
}

.atme-footer__logo img {
  width: 125px;
  max-width: 125px;
  min-width: 125px;
  height: auto;
  object-fit: contain;
}

.atme-footer__license {
  font-family: var(--font-footer, var(--atme-font-footer));
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-white, var(--atme-color-white));
  margin-bottom: 8px;
}

.atme-footer__license-link {
  font-family: var(--font-footer, var(--atme-font-footer));
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-dark-gray, var(--atme-color-dark-gray));
}

.atme-footer__badges {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 60px;
  max-width: 353px;
  flex-wrap: wrap;
}

.atme-footer__badge-appstore {
  height: 48px;
  width: 144px;
  display: block;
}

.atme-footer__badge-appstore img {
  width: 144px;
  height: 48px;
}

.atme-footer__badge-google {
  height: 48px;
  width: 162px;
}

.atme-footer__badge-google img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.atme-footer__nav {
  flex: 1;
  display: flex;
  gap: 16px;
}

.atme-footer__nav-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atme-footer__nav-heading {
  font-family: var(--font-footer, var(--atme-font-footer));
  font-weight: 600;
  font-size: 14px;
  line-height: 28.8px;
  color: rgba(200, 200, 200, 0.6);
  text-transform: uppercase;
}

.atme-footer__nav-list,
.atme-footer__nav-list ul,
.atme-footer__nav-column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.atme-footer__nav-list li,
.atme-footer__nav-column ul li {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.atme-footer__nav-link,
.atme-footer__nav-list li a {
  font-family: var(--font-footer, var(--atme-font-footer));
  font-weight: 400;
  font-size: 16px;
  line-height: 28.8px;
  color: var(--color-white, var(--atme-color-white));
  text-decoration: none;
  transition: opacity 0.2s;
}

.atme-footer__nav-link:hover,
.atme-footer__nav-list li a:hover {
  opacity: 0.8;
  color: var(--color-white, var(--atme-color-white));
}

.atme-footer__social {
  display: flex;
  gap: 16px;
  padding: 8px 0;
}

.atme-footer__social-icon {
  width: 32px;
  height: 32px;
}

.atme-footer__social-icon img {
  width: 100%;
  height: 100%;
}

.atme-footer__bottom {
  margin-top: 40px;
  max-width: var(--container-width, var(--atme-container-width));
  margin-left: auto;
  margin-right: auto;
}

.atme-footer__bottom-line {
  height: 1px;
  background: #454077;
}

.atme-footer__copyright {
  font-family: var(--font-footer, var(--atme-font-footer));
  font-weight: 400;
  font-size: 14px;
  line-height: 19.6px;
  color: var(--color-white, var(--atme-color-white));
  opacity: 0.5;
  text-align: center;
  padding: 24px 0;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
  .atme-footer {
    padding: 46px 20px 0;
  }

  .atme-footer__inner {
    flex-direction: column;
    gap: 40px;
  }

  .atme-footer__brand {
    width: 100%;
    order: -1;
  }

  .atme-footer__logo {
    width: 138px;
    max-width: 138px;
    height: 40px;
    margin-bottom: 40px;
  }

  .atme-footer__logo img {
    width: 138px;
    max-width: 138px;
    min-width: 138px;
  }

  .atme-footer__nav {
    flex-direction: column;
    gap: 40px;
  }

  .atme-footer__badges {
    margin-top: 40px;
  }

  .atme-footer__bottom {
    margin-top: 40px;
  }
}
