/* footer styles */
.footer {
  background-image: url(../../images/footer-bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: top right;
  min-height: 300px;
  position: relative;
  padding-top: 50px;
  padding-bottom: 20px;
  overflow: hidden;
}

/* Mobile instrument decorations — hidden on desktop (footer-bg.png used there) */
.footer .footerDecor {
  display: none;
  pointer-events: none;
}

.footer .footerDecor img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  user-select: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer .footerNav {
  display: grid;
  gap: 25px;
  color: var(--textInverse);
  font-size: var(--textBodyMedium);
  text-align: center;
}

.footer .footerNav .footerNavTitle {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--textWarning);
  margin-bottom: var(--space-sm);
}

.footer .footerNav ul li {
  list-style: none;
  margin-bottom: var(--space-xs);
}

.footer p,
.footer .footerNav a {
  color: var(--textInverse);
  text-decoration: none;
  font-size: var(--textBodySmall);
  line-height: 1.4;
}

.footer p {
  margin-bottom: 0px;
}

.footer .footerNav a:hover {
  color: var(--textWarning);
}

.footer .footerCopyright {
  text-align: center;
  border-top: 2px solid var(--surfaceBase);
  padding-top: 20px;
  max-width: 100%;
}

.footer .footerCopyright span {
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .footer .footerCopyright {
    max-width: 100%;
  }
}

@media screen and (min-width: 992px) {
  .footer {
    background-position: top center;
    margin-top: 30px;
  }

  .footer .footerNav {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer .footerNav .footerNavTitle {
    font-size: 36px;
  }

  .footer p,
  .footer .footerNav a {
    font-size: var(--textBodyMedium);
  }

  .footer .footerCopyright {
    text-align: center;
    max-width: 100%;
  }
}

@media screen and (max-width: 992px) {


  .menu-footer {
    margin-bottom: 10px;
  }

  .footer {
    padding-top: 20px;
  }

  .footerCopyright p {
    margin-bottom: 0px;
  }
}

/* Mobile — Figma “Bottom” frame 498×362 + full footer mockup */
@media screen and (max-width: 991px) {
  .footer .footerNav {
    gap: 0px;
  }
  .footer .footerCopyright{
    margin-top: 15px;
    padding-top: 15px;
  }
  .footer {
    background-color: #0265F5;
    background-image: none;
    min-height: 362px;
    padding-top: 20px;
    padding-bottom: 15px;
  }

  .footer .footerDecor {
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 0;
    max-height: 100%;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .footer .footerDecor img {
    position: absolute;
    display: block;
    max-width: none;
    user-select: none;
  }

  .footer .footerDecor__mic {
    top: 16px;
    left: 0px;
    width: 64.2px;
    height: 64.2px;
    margin: 0;
    transform: none;
    opacity: 0.4;
    filter: none;
    z-index: 0;
    border: none;
    right: 0px;
    margin-right: auto;
    margin-left: auto;
  }

  .footer .footerDecor__left {
    top: 38%;
    left: 0px;
    width: 81px;
    height: auto;
    transform: none;
    opacity: 0.85;
  }

  .footer .footerDecor__right {
    
    top: calc(140.47 / 362 * 100%);
    left: auto;
    right: 0;
    width: 65px;
    height: auto;
    object-fit: contain;
    transform: none;
    opacity: 0.85;
  }

  /* Exact Figma Bottom Instrument: 405.72×87.15 @ 46.14, 274.85 */
  .footer .footerDecor__bottom {
    top: auto;
    left: 0px;
    bottom: 0;
    width: 405px;
    transform: none;
    opacity: 0.2;
    filter: none;
    right: 0;
    margin: 0 auto;
  }
}
