/*
  Custom footer — ap-new-footer
  This file will NOT be overwritten on theme update (custom naming).
  Uses .ap-new-footer prefix to avoid conflict with Aspro's .footer classes.
*/

/* ===== Hide standard Aspro footer ===== */
.footer:not(.ap-new-footer) {
  display: none !important;
}

/* ===== Custom footer ===== */
.ap-new-footer {
  background: #343638;
  padding: 0;
}

.ap-new-footer__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 46px;
}

.ap-new-footer__top {
  display: flex;
  gap: 0;
  padding-bottom: 0;
}

.ap-new-footer__info {
  width: 100%;
  padding-right: 61px;
  padding-top: 64px;
  padding-bottom: 74px;
  max-width: 518px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
}

.ap-new-footer__logo {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 30px;
}

.ap-new-footer__desc {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 16px;
  line-height: 26px;
  color: #fff;
  opacity: 0.7;
  margin: 0 0 40px;
  max-width: 457px;
  letter-spacing: 0.16px;
}

/* --- Contacts --- */
.ap-new-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.ap-new-footer__contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ap-new-footer__contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-new-footer__contact-icon svg {
  width: 20px;
  height: 20px;
}

.ap-new-footer__contact-body {
  display: flex;
  flex-direction: column;
}

.ap-new-footer__contact-phones {
  display: flex;
  gap: 30px;
  margin-bottom: 0;
}

.ap-new-footer__contact-phone-group {
  display: flex;
  flex-direction: column;
}

.ap-new-footer__contact-phone {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 24px;
  color: #fff;
  margin-bottom: 5px;
  text-decoration: none;
}

.ap-new-footer__contact-phone:hover {
  opacity: 0.8;
}

.ap-new-footer__contact-link {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
}

.ap-new-footer__contact-link:hover {
  text-decoration: underline;
}

.ap-new-footer__contact-sub {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: #fff;
  opacity: 0.5;
}

.ap-new-footer__contact-text {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 17px;
  line-height: 25px;
  color: #fff;
  opacity: 0.9;
}

.ap-new-footer__contact-email {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
  opacity: 0.9;
  font-weight: 400;
  text-decoration: none;
}

.ap-new-footer__contact-email:hover {
  text-decoration: underline;
}

/* --- Sections --- */
.ap-new-footer__sections {
  flex: 1;
  display: flex;
  gap: 50px;
  padding-left: 75px;
  padding-top: 76px;
}

.ap-new-footer__section {
  flex: 1;
}

.ap-new-footer__section-title {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.36px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}

.ap-new-footer__section-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ap-new-footer__section-list li {
  margin-bottom: 12px;
}

.ap-new-footer__section-list li:last-child {
  margin-bottom: 0;
}

.ap-new-footer__section-link {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 15px;
  line-height: 23px;
  color: #fff;
  opacity: 0.7;
  text-decoration: none;
  font-feature-settings: 'lnum' 1, 'pnum' 1;
}

.ap-new-footer__section-link:hover {
  opacity: 1;
}

/* --- Bottom --- */
.ap-new-footer__divider {
  height: 1px;
  background: #555658;
  opacity: 1;
  margin-top: 0;
}

.ap-new-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0;
}

.ap-new-footer__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 53px;
  padding: 0 25px;
  font-size: 15px;
  background: #fff;
  border: none;
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  line-height: 19px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #343638;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ap-new-footer__cta-btn:hover {
  opacity: 0.85;
}

.ap-new-footer__copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ap-new-footer__copyright-text {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: #fff;
  opacity: 0.7;
}

.ap-new-footer__copyright-link {
  font-family: 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 23px;
  color: #fff;
  opacity: 0.5;
  text-decoration: none;
}

.ap-new-footer__copyright-link:hover {
  opacity: 0.8;
}

.ap-new-footer__socials {
  display: flex;
  gap: 10px;
}

.ap-new-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  text-decoration: none;
}

.ap-new-footer__social img,
.ap-new-footer__social svg {
  width: 100%;
  height: 100%;
  max-height: 16px;
  display: block;
}

.ap-new-footer__section-list li:before{
  display: none !important;
}

.ap-new-footer a:hover {
  color: #fff;
}

.ap-new-footer__cta-btn:hover {
  color: #343638 !important;
}

/* ===== Footer Responsive ===== */

@media (max-width: 1200px) {
  .ap-new-footer__sections {
    gap: 30px;
    padding-left: 40px;
  }
}

@media (max-width: 980px) {
  .ap-new-footer__container {
    padding: 0 20px;
  }

  .ap-new-footer__top {
    flex-direction: column;
  }

  .ap-new-footer__info {
    max-width: 100%;
    border-right: none;
    padding-right: 0;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .ap-new-footer__sections {
    padding-left: 0;
    padding-top: 40px;
    flex-wrap: wrap;
    gap: 30px 40px;
  }

  .ap-new-footer__section {
    flex: 0 0 calc(50% - 20px);
  }

  .ap-new-footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 24px 0;
  }

  .ap-new-footer__copyright {
    order: 2;
  }

  .ap-new-footer__cta-btn {
    width: 100%;
  }

  .ap-new-footer__socials {
    order: 3;
  }

  .ap-new-footer__contact-phones {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 640px) {

  .ap-new-footer {
    position: relative;
    overflow: hidden;
  }

  .ap-new-footer__logo {
    width: 100%;
  }

  .ap-new-footer__sections {
    flex-direction: column;
    gap: 24px;
  }

  .ap-new-footer__section {
    flex: 0 0 100%;
  }

  .ap-new-footer__info {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .ap-new-footer__desc {
    font-size: 14px;
    line-height: 22px;
  }

  .ap-new-footer__contact-phone {
    font-size: 18px;
  }

  .ap-new-footer__section-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .ap-new-footer__cta-btn {
    height: 48px;
    font-size: 13px;
  }

  .ap-new-footer__copyright-text {
    font-size: 14px;
  }
}
