/* ==========================================================================
   Footer - Based on casaeditora/css/component/footer.css
   ========================================================================== */

footer.site-footer {
  background: #222;
  background-image: url(../assets/images/dotted-map.png);
  background-size: contain;
  position: relative;
}

.cc--footer {
  background-color: transparent;
}

.cc--footer .c--footer .footer-main {
  padding-top: 3.125rem;
  padding-bottom: 1.875rem;
}

@media screen and (min-width: 768px) {
  .cc--footer .c--footer .footer-main {
    padding-top: 5rem;
    padding-bottom: 1.875rem;
  }
}

.cc--footer .c--footer a {
  color: #fff;
}

/* ---------- Footer Top - Logo ---------- */

.cc--branding-footer {
  margin-bottom: 2.5rem;
  max-width: 16.875rem;
}

@media screen and (min-width: 768px) {
  .cc--branding-footer {
    margin-bottom: 3.125rem;
    max-width: 16.5rem;
  }
}

.cc--branding-footer img {
  max-width: 100%;
  height: auto;
}

/* ---------- Footer Middle - 4 columns ---------- */

.footer-middle {
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

@media screen and (min-width: 768px) {
  .footer-middle {
    padding-top: 3.125rem;
    padding-bottom: 2.1875rem;
  }
}

.cc--footer-menu {
  width: 100%;
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {
  .cc--footer-menu {
    width: 25%;
    margin-bottom: 0;
    padding-right: 1rem;
  }
}

.mc--footer h3 {
  color: #fff;
  font-family: 'Epilogue', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.m--menu.m--footer {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m--menu.m--footer li {
  margin-bottom: 0.625rem;
}

.m--menu.m--footer li a {
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.m--menu.m--footer li a:hover {
  color: #fff;
  opacity: 0.8;
}

/* ---------- Footer Service Icons ---------- */

.m--footer-icons a i {
  width: 20px;
  text-align: center;
  margin-right: 6px;
  font-size: 0.8125rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.m--footer-icons a:hover i {
  opacity: 1;
}

/* ---------- Footer Social Column ---------- */

.cc--footer-social-col {
  display: flex;
  align-items: flex-start;
  padding-top: 0;
}

.cc--footer-social-col .social-media-links--platforms {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.cc--footer-social-col .social-media-links--platforms li {
  display: flex;
  align-items: center;
}

.cc--footer-social-col .social-media-links--platforms li a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.cc--footer-social-col .social-media-links--platforms li .fa {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc--footer-social-col .social-media-links--platforms li .fa svg {
  display: block;
  width: auto;
  height: 1.125rem;
  fill: #fff;
}

@media screen and (min-width: 768px) {
  .cc--footer-social-col .social-media-links--platforms li .fa svg {
    height: 1.375rem;
  }
}

.cc--footer-social-col .social-media-links--platforms li .fa:hover svg {
  opacity: 0.7;
}

.cc--footer-social-col .social-media-links--platforms li .fa-facebook::before,
.cc--footer-social-col .social-media-links--platforms li .fa-twitter::before,
.cc--footer-social-col .social-media-links--platforms li .fa-instagram::before,
.cc--footer-social-col .social-media-links--platforms li .fa-youtube::before,
.cc--footer-social-col .social-media-links--platforms li .fa-linkedin::before,
.cc--footer-social-col .social-media-links--platforms li .fa-tiktok::before,
.cc--footer-social-col .social-media-links--platforms li .fa-apps::before {
  display: none;
}

/* ---------- Footer Copyright ---------- */

.cc--footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cc--footer-copyright .c--footer-copyright {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media screen and (min-width: 768px) {
  .cc--footer-copyright .c--footer-copyright {
    padding-top: 1.875rem;
    padding-right: 4%;
    padding-left: 4%;
  }
}

.cc--footer-copyright .f--description p {
  margin-top: 0.9375rem;
  margin-bottom: 0.9375rem;
  font-size: 0.75rem;
  line-height: 2;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .cc--footer-copyright .f--description p {
    font-size: 0.8125rem;
    line-height: 1.8462;
  }
}

.cc--footer-copyright .f--description p a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cc--footer-copyright .f--description p a:hover {
  color: #fff;
  text-decoration: none;
}

/* ---------- Scroll to Top Button ---------- */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ff4f26;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top:hover {
  background: #f5ac3c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  margin-top: -9px;
}

@media screen and (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
