#footer {
  --footer-bg: var(--color1);
  --footer-surface: #b70c29;
  --footer-icon-bg: #b70c29;
  --footer-text: #fff;
  padding: 0;
  position: relative;
  background-color: var(--footer-bg);
  margin-top: var(--space-section);
}

#footer .footer-main {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 2rem;
}

#footer .footer-main > .container {
  position: relative;
  z-index: 2;
}

#footer .footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#footer .footer-logo {
  max-width: 160px;
  display: block;
  margin: 0 auto 1.25rem;
}

#footer .footer-logo img {
  width: 100%;
  height: auto;
}

#footer .footer-desc-wrap {
  max-width: 100%;
  margin: 0 0 1.5rem;
  text-align: center;
}

#footer .footer-desc,
#footer .footer-desc p {
  color: var(--footer-text);
  line-height: 2;
  margin: 0;
  font-family: var(--regular_font);
  font-size: 14px;
  text-align: center;
}

#footer .footer-desc p + p {
  margin-top: 0.75em;
}

#footer .footer-socials {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

#footer .footer-socials .social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

#footer .footer-socials .social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: 0.3s;
  background-color: var(--footer-icon-bg);
}

#footer .footer-socials .social a:hover {
  color: var(--color1);
  background-color: var(--white);
}
/* 
#footer .footer-socials .social a[title="Aparat"],
#footer .footer-socials .social a[title="aparat"] {
  background-color: var(--color1);
} */

.wrap-contact.footer-menu-column .title,
.wrap-ft-menu.footer-menu-column .title {
  color: var(--white);
  margin-bottom: 0;
  font-size: 1rem;
  position: relative;
  font-family: var(--bold_font);
}

.wrap-contact.footer-menu-column li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.wrap-contact.footer-menu-column li i {
  font-size: 1rem;
  min-width: 2rem;
  min-height: 2rem;
  background-color: #b70c29;
  margin-top: 0;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.wrap-contact.footer-menu-column li a,
.wrap-contact.footer-menu-column li span,
.wrap-ft-menu.footer-menu-column li a,
.wrap-ft-menu.footer-menu-column li span {
  color: var(--footer-text);
  font-size: clamp(14px, 1.2vw, 16px);
  transition: 0.3s;
  line-height: 1.8;
}

.wrap-contact.footer-menu-column .footer-phones {
  display: inline;
}
.wrap-contact.footer-menu-column .footer-phones,
.footer-email,
.footer-code {
  font-family: var(--en_font);
}
.wrap-contact.footer-menu-column .footer-phone-sep {
  color: var(--footer-text);
  margin: 0 0.15rem;
}

.wrap-contact.footer-menu-column li a:hover,
.wrap-ft-menu.footer-menu-column li a:hover,
.wrap-ft-menu.footer-menu-column li.current-menu-item > a,
.wrap-ft-menu.footer-menu-column li.current_page_item > a {
  color: var(--text);
}

.accordion-title + .menu-footer-container {
  margin: 0;
  position: relative;
}

#footer .footer-menu-column {
  background-color: var(--footer-surface);
  border-radius: 14px;
  margin-bottom: 1rem;
}

#footer .footer-menu-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1rem 1.25rem;
}

#footer .title.accordion-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s;
  line-height: 1;
  color: var(--white);
  font-size: 1rem;
  padding: 1rem;
  margin-bottom: 0;
  cursor: pointer;
}

#footer .title.accordion-title:after {
  content: "\e94a";
  font-family: "icomoon";
  transition: 0.4s;
  font-size: 12px;
  color: var(--white);
  width: 50px;
  height: 50px;
  background: var(--footer-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer .title.accordion-title.active:after {
  transform: rotate(180deg);
}

#footer .footer-namads-col {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

#footer .footer-namads {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}

#footer .footer-namad {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
}

#footer .footer-namad__img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

#footer .copyright {
  position: relative;
  z-index: 2;
  padding: 1rem 0;
  background-color: var(--white);
}

#footer .copyright-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

#footer .copyright-inner p {
  color: var(--text);
  font-size: 13px;
  margin: 0;
  line-height: 1.8;
  text-align: center;
  font-variation-settings: "wght" 500;
}

#footer .copyright-inner p span {
  color: var(--color1);
}

#footer .copyright-inner .websima {
  display: inline-flex;
  flex-shrink: 0;
}

#footer .copyright-inner .websima img {
  display: block;
  width: auto;
  height: 24px;
}

@media (width >= 992px) {
  #footer .footer-main {
    padding: 5rem 0 4rem;
  }

  #footer .footer-grid {
    display: grid;
    grid-template-columns:
      minmax(0, 1.45fr) minmax(0, 1.05fr) minmax(0, 0.75fr)
      auto;
    column-gap: clamp(1.5rem, 3vw, 3.5rem);
    row-gap: 0;
    align-items: start;
  }

  #footer .footer-logo {
    max-width: 180px;
    margin: 0 0 1.5rem;
  }

  #footer .footer-desc-wrap {
    margin-bottom: 1.75rem;
    text-align: initial;
  }

  #footer .footer-desc,
  #footer .footer-desc p {
    font-size: 15px;
    text-align: justify;
  }

  #footer .readmore-tab-desc {
    display: none;
  }

  #footer .footer-socials {
    display: block;
    justify-content: initial;
    margin-bottom: 0;
  }

  #footer .footer-socials .social {
    justify-content: flex-start;
  }

  #footer .footer-menu-column {
    background-color: transparent;
    border-radius: 0;
    margin-bottom: 0;
  }

  #footer .footer-menu-column ul {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
  }

  #footer .title.accordion-title {
    display: block;
    padding: 0;
    margin-bottom: 1.5rem;
    border-radius: 0;
    cursor: default;
    pointer-events: none;
    font-size: 1.125rem;
  }

  #footer .title.accordion-title:after {
    display: none;
  }

  #footer .footer-namads-col {
    margin: 0;
  }

  #footer .footer-namads {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  #footer .footer-namad {
    width: 100%;
    flex: none;
    border-radius: 12px;
  }

  #footer .copyright {
    padding: 1.125rem 0;
  }

  #footer .copyright-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: initial;
    gap: 1rem;
  }

  #footer .copyright-inner p {
    font-size: 14px;
    text-align: initial;
  }
}

@media (width >= 1200px) {
  #footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 330px) minmax(0, 160px) 63px;
  }
}
