/* ============================================
   FOOTER
   ============================================ */

.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(58, 192, 189, 0.14), transparent 28%),
    linear-gradient(135deg, #101e2e 0%, #08131f 70%, #061019 100%);
  color: var(--color-white);
  isolation: isolate;
}

.footer::before {
  content: "FLY";
  position: absolute;
  right: 3%;
  bottom: -40px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.025);
  font-family: Arial, sans-serif;
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -12px;
  pointer-events: none;
}

.footer-flight-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.footer-flight-pattern svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.footer-flight-dots {
  opacity: 0.32;
}

.footer-flight-route {
  fill: none;
  stroke: url(#footerRouteGradient);
  stroke-width: 1.6;
  stroke-dasharray: 7 9;
  vector-effect: non-scaling-stroke;
  animation: footerRouteFlow 14s linear infinite;
}

.footer-flight-route--muted {
  opacity: 0.36;
  stroke-width: 1;
  animation-duration: 20s;
  animation-direction: reverse;
}

.footer-flight-point {
  fill: #00FACE;
  filter: drop-shadow(0 0 7px rgba(0, 250, 206, 0.9));
  animation: footerPointPulse 2s ease-in-out infinite;
}

.footer-flight-point--muted {
  opacity: 0.55;
  animation-delay: -0.8s;
}

.footer-vector-plane {
  fill: #00FACE;
  filter: drop-shadow(0 0 8px rgba(0, 250, 206, 0.65));
  transform: translate(-12px, -12px) scale(0.9);
}

.footer-vector-plane--two {
  fill: rgba(255, 255, 255, 0.68);
  opacity: 0.52;
  transform: translate(-10px, -10px) scale(0.72);
}

.footer-main {
  position: relative;
  z-index: 2;
  padding: 58px 0 48px;
}

.footer-main__content {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto 48px;
  align-items: center;
  gap: 55px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-brand > a {
  width: 145px;
  flex: 0 0 145px;
  padding: 9px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
}

.footer-brand img {
  width: 100%;
}

.footer-brand p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.67);
  font-family: "font_medium";
  font-size: 17px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "font_medium";
  font-size: 17px;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  right: 12px;
  left: 12px;
  bottom: 5px;
  height: 1px;
  background: #00FACE;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.footer-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #00FACE;
}

.footer-nav a:hover::before {
  transform: scaleX(1);
}

@keyframes footerRouteFlow {
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes footerPointPulse {
  0%, 100% {
    opacity: 0.5;
    r: 4px;
  }
  50% {
    opacity: 1;
    r: 7px;
  }
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
  z-index: 2;
  background: rgba(7, 16, 26, 0.76);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom .main-container {

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-route {
  max-width: 100px;
  height: auto;
}

.footer-legal {
  display: grid;
  gap: 6px;
}

.copyright {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  text-align: center;
}

.tax-number {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "font_medium";
  font-size: 17px;
}

.tax-number span {
  color: #00FACE;
  font-family: "font_bold";
  letter-spacing: 0.5px;
}


/* ---- Legacy styles ---- */

.end-page p {
  color: var(--color-gray);
  font-size: 17px;
}

.end-page a {
  display: flex;
  gap: 10px;
  color: var(--color-Primary1);
  align-items: center;
}



.end-page {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  padding: 20px 5%;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 75px;
}

.end-page a i {
  color: red;
}

.remove-mune {
  position: absolute;
  top: 30px;
  right: 30px;
}

.remove-mune span {
  width: 40px;
  height: 40px;
  display: block;
  transition: all 0.2s linear;
  position: relative;
  cursor: pointer;
  transform: rotate(0deg);

  transition-delay: 0.8s;
}

.remove-mune span::after {
  content: "";
  height: 2px;
  background-color: #54595f;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  transition: all 0.6s linear;
}

.remove-mune span::before {
  content: "";
  height: 2px;
  background-color: #54595f;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  transition: all 0.2s linear;

  transition-delay: 0.6s;
}

.menu_responsive.active .remove-mune span::before {
  transform: rotate(90deg) translateY(-50%);
}

.menu_responsive.active .remove-mune span {
  transform: rotate(45deg);
}

.element_menu_responsive ul li {
  transform: translateY(100%);
  transition: all 0.2s linear;
  transition-delay: 0.4s;
  display: block;
  opacity: 0;
}

.menu_responsive {
  transition-delay: 1s;
}

.menu_responsive.active {
  transition-delay: 0.3s;
}

.menu_responsive.active .element_menu_responsive ul li {
  transform: translateY(0%);
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(1) {
  transition-delay: 0.4s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(2) {
  transition-delay: 0.6s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(3) {
  transition-delay: 0.8s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(4) {
  transition-delay: 1s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(5) {
  transition-delay: 1.2s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(6) {
  transition-delay: 1.4s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(7) {
  transition-delay: 1.6s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(8) {
  transition-delay: 1.8s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(9) {
  transition-delay: 2s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(10) {
  transition-delay: 2.2s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(11) {
  transition-delay: 2.4s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(12) {
  transition-delay: 2.6s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(13) {
  transition-delay: 2.8s;
  opacity: 1;
}

.menu_responsive.active .element_menu_responsive ul li:nth-of-type(14) {
  transition-delay: 3s;
  opacity: 1;
}

.footer-top-link {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  border: 1px solid rgba(0, 250, 206, 0.28);
  border-radius: 50%;
  background: #00FACE;
  color: #172436 !important;
  box-shadow: 0 12px 24px rgba(0, 250, 206, 0.18);
}

.footer-top-link:hover {
  transform: translateY(-4px);
  background: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  .footer-flight-route,
  .footer-flight-point {
    animation: none;
  }

  .footer-vector-plane {
    display: none;
  }
}

@media (max-width: 1200px) {
  .footer-main__content {
    grid-template-columns: 1fr auto;
    gap: 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 48px 0 38px;
  }

  .footer-main__content {
    grid-template-columns: 1fr auto;
    gap: 26px 18px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-brand p {
    max-width: 520px;
  }

  .footer-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav a {
    min-height: 38px;
    padding: 0;
  }

  .footer-nav a::before {
    right: 0;
    left: 0;
  }

  .footer-bottom .main-container {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .copyright {
    text-align: right;
  }

  .footer-cta {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    gap: 14px;
    flex-direction: column;
  }
}
