/* Footer styles */
.site-footer {
  margin-top: 76px;
  background: var(--color-secondary);
  color: #9098af;
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  padding-top: 40px;
  padding-bottom: 34px;
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(167, 186, 224, 0.12);
  border-radius: 7px;
  padding: 16px 14px;
}

.footer-card-title {
  margin: 0;
  color: #9098af;
  font-size: 14px;
  font-weight: 600;
}

.footer-card-subtitle {
  margin: 4px 0 16px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.footer-contact-rows {
  border-top: 1px solid rgba(167, 186, 224, 0.28);
  border-bottom: 1px solid rgba(167, 186, 224, 0.28);
  padding: 10px 0;
}

.footer-contact-row {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9098af;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.footer-contact-row + .footer-contact-row {
  margin-top: 4px;
}

.footer-row-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-whatsapp-btn {
  margin-top: 12px;
  min-height: 40px;
  border-radius: 7px;
  background: #11a63f;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  animation: footerSupportPulse 1.1s ease-in-out infinite;
}

.footer-address {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(167, 186, 224, 0.28);
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  color: #9098af;
  font-size: 14px;
  font-weight: 500;
}

.footer-menu-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-top: 8px;
}

.footer-menu-group {
  margin: 0;
}

.footer-menu-group summary {
  list-style: none;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: default;
}

.footer-menu-group summary::-webkit-details-marker {
  display: none;
}

.footer-menu-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu-group li + li {
  margin-top: 7px;
}

.footer-menu-group a {
  color: #9098af;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.footer-menu-group a:hover {
  color: #9098af;
}

@media (min-width: 1361px) {
  .footer-menu-group summary {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 12px;
  }

  .footer-menu-group summary::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.26);
  }

  .footer-menu-group summary::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: var(--color-primary);
  }

  .footer-services-group ul,
  .footer-sectors-group ul {
    max-height: 262px;
    overflow: auto;
    padding-right: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .footer-services-group ul::-webkit-scrollbar,
  .footer-sectors-group ul::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

.footer-mid {
  border-top: 1px solid rgba(167, 186, 224, 0.2);
  padding-top: 34px;
  padding-bottom: 28px;
  text-align: center;
}

.footer-logo {
  width: auto;
  height: 50px;
  display: block;
  margin: 0 auto;
}

.footer-description {
  max-width: 920px;
  margin: 16px auto 0;
  color: #9098af;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.footer-payment {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-payment a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #9098af;
  border-radius: 7px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-payment a i {
  font-size: 16px;
  line-height: 1;
}

.footer-payment a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  border-top: 1px solid rgba(167, 186, 224, 0.22);
}

.footer-bottom p {
  margin: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9098af;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 10px 0;
}

@keyframes footerSupportPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@media (max-width: 1360px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-menu-columns {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-menu-group {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }

  .footer-menu-group summary {
    min-height: 50px;
    margin: 0;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 15px;
    background-image: linear-gradient(var(--color-primary), var(--color-primary)),
      linear-gradient(rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.26));
    background-repeat: no-repeat, no-repeat;
    background-size: 76px 4px, 100% 1px;
    background-position: left calc(100% - 0px), left calc(100% - 1px);
  }

  .footer-menu-group summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: #ffffff;
    transition: transform 0.2s ease;
  }

  .footer-menu-group[open] summary::after {
    transform: rotate(180deg);
  }

  .footer-menu-group ul {
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .footer-menu-group a {
    font-size: 13.5px;
    line-height: 1.4;
  }

  .footer-logo {
    height: 48px;
  }

  .footer-bottom p {
    min-height: 70px;
    font-size: 14px;
    padding: 14px 0;
  }

  .footer-payment {
    gap: 10px;
  }

  .footer-payment a {
    width: 28px;
    height: 28px;
  }

  .footer-payment a i {
    font-size: 15px;
  }
}
