/*-----------------
    Footer
-----------------------*/
.footer {
  font-family: var(--font-primary);
  background: var(--color-footer-bg);
  font-size: 14px;
  color: var(--color-white) !important;
  font-weight: 400;
  line-height: 20px;
}

.footer li {
  color: var(--color-white) !important;
}

.footer .footer-top {
  position: relative;
  z-index: 99;
  margin: 0;
  padding: 80px 0 72px;
}

.footer-top__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer__descr {
  max-width: 330px;
}

@media (max-width: 1200px) {
  .footer .footer-top {
    margin: 0;
    padding: 40px 0;
  }

  .footer-top__inner,
  .footer-bottom__inner {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 767.98px) {
  .footer .footer-top {
    margin: 0;
    padding: 40px 0;
  }
}

@media (max-width: 580px) {
  .footer__descr {
    max-width: 100%;
  }
}

.footer .footer-about {
  border-right: 1px solid #000;
}

@media (max-width: 767.98px) {
  .footer .footer-about {
    border: 0;
  }
}

.footer .footer-widget .footer-logo {
  margin-bottom: 36px;
}

.footer .footer-widget .footer-about-content {
  margin-bottom: 50px;
}

.footer .footer-widget .footer-about-content p {
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0;
}

.footer .footer-widget.footer-menu ul {
  list-style: none;
  margin: 0px;
  padding: 0;
}

.footer .footer-widget .footer-title {
  position: relative;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 20px;
}

.footer .footer-widget .footer-title img {
  max-width: 100px;
}

.footer .footer-menu ul li {
  margin: 0 0 10px;
}

.footer .footer-menu ul li:last-child {
  margin-bottom: 0;
}

.footer .footer-menu ul li a {
  color: var(--color-white);
  font-size: 16px;
}

.footer .footer-menu ul li a:hover {
  color: var(--color-blue);
}

.footer .footer-contact h5 {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-white);
  max-width: 336px;
  margin-bottom: 20px;
}

.footer .footer-contact h6 {
  font-size: 16px;
  color: #222;
  margin-bottom: 16px;
  line-height: 20px;
}

.footer .footer-contact .footer-contact-info .footer-address {
  margin-bottom: 10px;
}

.footer .footer-contact .footer-contact-info .footer-address span {
  margin-right: 20px;
  width: 36px;
  height: 36px;
  background: #545556;
  color: var(--color-white);
  font-size: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer .footer-contact .footer-contact-info .footer-address .addr-info a {
  font-weight: 400;
  font-size: 16px;
  color: var(--color-white);
}

.footer .footer-contact .footer-contact-info .footer-address .addr-info a:hover {
  color: var(--color-blue);
}

.footer .footer-contact .footer-contact-info .update-form {
  position: relative;
}

.footer .footer-contact .footer-contact-info .update-form span {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #828282;
  font-size: 20px;
  line-height: 1;
}

.footer .footer-contact .footer-contact-info .update-form .form-control {
  min-height: 56px;
  background: var(--color-white);
  border-radius: 4px;
  border: 1px solid var(--color-white);
  font-size: 14px;
  margin: 0;
  padding: 10px 100px 12px 40px;
  color: #828282;
}

.footer .footer-contact .footer-contact-info .update-form .btn {
  padding: 20px 20px;
  font-size: 16px;
  border-radius: 8px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.footer .footer-contact .footer-contact-info .update-form .btn .feather-send {
  color: var(--color-white);
}

.footer .footer-bottom {
  background: var(--color-footer-bg);
  position: relative;
  color: var(--color-white);
  z-index: 99;
  margin: 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 24px 0;
}

@media (max-width: 767.98px) {
  .footer .footer-bottom {
    margin: 0;
    padding: 16px 0;
  }
}

.footer .footer-bottom .copyright .copyright-text p {
  font-size: 12px;
  color: var(--color-white);
}

.footer .footer-bottom .copyright .vistors-details ul {
  justify-content: end;
  -webkit-justify-content: end;
}

@media (max-width: 767.98px) {
  .footer .footer-bottom .copyright .vistors-details ul {
    justify-content: center;
  }
}

.footer .footer-bottom .copyright .vistors-details ul li {
  margin: 0;
  padding: 0 8px 0;
}

.footer .footer-bottom .copyright .vistors-details ul li a {
  background: var(--color-white);
  width: 46px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.footer .footer-bottom .policy-menu {
  text-align: right;
  margin: 0;
  padding: 0;
}

@media (max-width: 767.98px) {
  .footer .footer-bottom .policy-menu {
    text-align: center;
  }
}

.footer .footer-bottom .policy-menu li {
  display: inline-block;
  margin-right: 30px;
  position: relative;
}

@media (max-width: 767.98px) {
  .footer .footer-bottom .policy-menu li {
    margin-right: 10px;
    margin-top: 10px;
  }
}

.footer .footer-bottom .policy-menu li a {
  color: #000;
}

.footer .footer-bottom .policy-menu li a:hover {
  color: #2f2f2f;
}

.footer .footer-bottom .policy-menu li::after {
  content: "";
  position: absolute;
  background: #2f2f2f;
  width: 4px;
  height: 4px;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.footer .footer-bottom .policy-menu li:last-child {
  margin-right: 0;
}

@-webkit-keyframes toTopFromBottom {
  49% {
    -webkit-transform: translateY(-100%);
  }

  50% {
    opacity: 0;
    -webkit-transform: translateY(100%);
  }

  51% {
    opacity: 1;
  }
}

@-moz-keyframes toTopFromBottom {
  49% {
    -moz-transform: translateY(-100%);
  }

  50% {
    opacity: 0;
    -moz-transform: translateY(100%);
  }

  51% {
    opacity: 1;
  }
}

@keyframes toTopFromBottom {
  49% {
    transform: translateY(-100%);
  }

  50% {
    opacity: 0;
    transform: translateY(100%);
  }

  51% {
    opacity: 1;
  }
}

.footer-social-links h6 {
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 16px;
}

@media (max-width: 767.98px) {
  .footer-social-links h6 {
    margin-bottom: 10px;
  }
}

.footer-social-links .nav li {
  margin-right: 10px;
}

.footer-social-links .nav li:last-child {
  margin-right: 0;
}

.footer-social-links .nav li a:hover {
  color: #000;
}

.footer-social-widget .nav-social li {
  margin-right: 10px;

  border-radius: 50%;
}

.contact-section .footer-social-widget .nav-social {
  margin-top: 10px;
}

.contact-section .footer-social-widget .nav-social li {
  background: var(--color-blue);
}

.footer-social-widget .nav-social li:last-child {
  margin-right: 0;
}

.footer-social-widget .nav-social li a:hover {
  color: #000;
}

.footer-social-widget .nav-social li img {
  height: 24px;
  width: auto;
}

.nav-social-link {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: relative;
}

.nav-social-link::before {
  content: '';
  position: absolute;
  display: block;
  width: 24px;
  height: 24px;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.nav-social-link--facebook::before {
  background-image: url('../img/social/facebook.svg');
}

.nav-social-link--twitter::before {
  background-image: url('../img/social/twitter.svg');
}

.nav-social-link--linkedin::before {
  background-image: url('../img/social/linkedin.svg');
}

.nav-social-link--instagram::before {
  background-image: url('../img/social/instagram.svg');
}

.hi-icon {
  font-size: 0px;
  cursor: pointer;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #2f2f2f;
  background: #DBDBDB;
  border-radius: 50px;
  min-width: 36px;
  height: 36px;
  -webkit-transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  -moz-transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

@media (max-width: 767.98px) {
  .hi-icon {
    min-width: 36px;
    height: 36px;
  }
}

.hi-icon:after {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0;
  content: "";
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  display: none;
}

.hi-icon:before {
  font-size: 18px;
  line-height: 20px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  display: block;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 767.98px) {
  .hi-icon:before {
    font-size: 16px;
  }
}

.hi-icon:hover {
  color: #2f2f2f;
}

.hi-icon:hover:before {
  -webkit-animation: toTopFromBottom 0.5s forwards;
  -moz-animation: toTopFromBottom 0.5s forwards;
  animation: toTopFromBottom 0.5s forwards;
}

.fi-icon {
  font-size: 0px;
  cursor: pointer;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 50px;
  min-width: 36px;
  height: 36px;
  -webkit-transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  -moz-transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

@media (max-width: 767.98px) {
  .fi-icon {
    min-width: 36px;
    height: 36px;
  }
}

.fi-icon:after {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0;
  content: "";
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  display: none;
}

.fi-icon:before {
  font-size: 18px;
  line-height: 20px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  display: block;
  -webkit-font-smoothing: antialiased;
  color: var(--color-white);
}

@media (max-width: 767.98px) {
  .fi-icon:before {
    font-size: 16px;
  }
}

.fi-icon:hover {
  color: #2f2f2f;
}



/* =============================================================
   SITE FOOTER — Figma redesign (Component 20)
   ============================================================= */

.site-footer {
  font-family: var(--font-secondary);
}

/* Top section */
.site-footer__top {
  background: #243c4e;
  padding: 60px 0;
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 156px;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1450px) {
  .site-footer__inner {
    padding: 0 16px;
  }
}

/* Brand / logo + contacts column */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 272px;
  flex-shrink: 0;
}

.site-footer__logo-link {
  display: block;
  line-height: 0;
}

.site-footer__logo {
  width: 212px;
  height: 58px;
  object-fit: contain;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
  text-decoration: none;
  line-height: 1.5;
  white-space: nowrap;
}

.site-footer__contact-item:hover {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.site-footer__contact-icon {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

/* Right: 3 columns */
.site-footer__cols {
  display: flex;
  gap: 200px;
  flex: 1;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.site-footer__col-title {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-white);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.site-footer__col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__col-links a {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s;
  display: block;
}

.site-footer__col-links a:hover {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

/* Plain list (schedule) — no links, just text */
.site-footer__col-links--plain li {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
  line-height: 1;
}

/* Bottom bar */
.site-footer__bottom {
  background: #243c4e;
  border-top: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 1450px;
  margin: 0 auto;
  gap: 20px;
}

.site-footer__copyright {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

/* Social icon buttons in bottom bar */
.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 20px;
  background: transparent;
  transition: background 0.2s;
  flex-shrink: 0;
  padding: 8px;
  box-sizing: border-box;
}

.site-footer__social-btn:hover {
  background: rgba(255,255,255,0.1);
}

.site-footer__social-btn img {
  display: block;
  width: 18px;
  height: 18px;
}

/* Hide the old footer styles when new footer is active */
.site-footer ~ .footer-bottom,
.footer .footer-top {
  display: none;
}

/* Responsive */
@media (max-width: 1280px) {
  .site-footer__top {
    padding: 60px 0;
  }
  .site-footer__bottom-inner {
    padding: 12px 16px;
  }
  .site-footer__cols {
    gap: 60px;
  }
  .site-footer__inner {
    gap: 80px;
  }
}

@media (max-width: 1024px) {
  .site-footer__top {
    padding: 50px 0;
  }
  .site-footer__bottom-inner {
    padding: 12px 16px;
  }
  .site-footer__cols {
    gap: 40px;
  }
  .site-footer__inner {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-footer__top {
    padding: 40px 0;
  }
  .site-footer__bottom-inner {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .site-footer__inner {
    flex-direction: column;
    gap: 36px;
  }
  .site-footer__brand {
    width: 100%;
  }
  .site-footer__cols {
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }
  .site-footer__col-title {
    font-size: 18px;
  }
  .site-footer__copyright {
    font-size: 12px;
    white-space: normal;
  }
}
