.nextoria-footer {
  --nx-bg0: #04060b;
  --nx-bg1: #060a13;
  --nx-text: rgba(245, 247, 255, 0.94);
  --nx-muted: rgba(245, 247, 255, 0.7);
  --nx-muted2: rgba(245, 247, 255, 0.52);
  --nx-stroke: rgba(255, 255, 255, 0.12);
  --nx-stroke2: rgba(255, 255, 255, 0.08);
  --nx-accent: #24c7ff;
  --nx-accent2: #ff7a1a;
  --nx-gold: #d9c07d;
  --nx-radius: 18px;
  --nx-radius2: 26px;
  --nx-maxw: 1180px;

  --nx-padY: 34px;

  --nx-card-bg: rgba(255, 255, 255, 0.045);
  --nx-card-bg2: rgba(255, 255, 255, 0.03);
  --nx-card-border: rgba(255, 255, 255, 0.1);
  --nx-card-shadow: 0 26px 66px rgba(0, 0, 0, 0.55);

  color: var(--nx-text);
  font-family:
    Vazirmatn,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial;
}

.nextoria-footer *,
.nextoria-footer *::before,
.nextoria-footer *::after {
  box-sizing: border-box;
}

.nextoria-footer a {
  color: inherit;
  text-decoration: none;
}

.nextoria-footer .nextoria-wrap {
  max-width: var(--nx-maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.nextoria-footer {
  position: relative;
  padding: var(--nx-padY) 0;
  background: var(--nx-bg0);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  direction: ltr;
  overflow: hidden;
}

.nextoria-footer .nextoria-footer-shell {
  position: relative;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
}

.nextoria-footer .nextoria-footer-shell::before {
  content: none;
}

.nextoria-footer .nextoria-footer-inner {
  position: relative;
  padding: 22px 0 18px;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.nextoria-footer .nextoria-footer-brand {
  display: grid;
  gap: 10px;
  align-content: start;
  grid-column: 2;
  justify-self: end;
  justify-items: start;
  text-align: left;
  direction: ltr;
}

.nextoria-footer .nextoria-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.nextoria-footer .nextoria-brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  -webkit-filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.nextoria-footer .nextoria-brand-fallback {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(245, 247, 255, 0.9);
  background: radial-gradient(circle at 30% 30%, rgba(36, 199, 255, 0.18), rgba(255, 122, 26, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.nextoria-footer .nextoria-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nextoria-footer .nextoria-brand-name strong {
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.nextoria-footer .nextoria-brand-name span {
  color: var(--nx-muted2);
  font-size: 12px;
}

.nextoria-footer .nextoria-footer-desc {
  margin: 0;
  color: var(--nx-muted);
  font-size: 13px;
  line-height: 1.65;
  max-width: 62ch;
}

.nextoria-footer .nextoria-footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  direction: ltr;
}

.nextoria-footer .nextoria-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 247, 255, 0.86);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.nextoria-footer .nextoria-footer-pill svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: rgba(245, 247, 255, 0.78);
}

.nextoria-footer .nextoria-footer-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.nextoria-footer .nextoria-footer-pill--icon {
  padding: 10px 10px;
  width: 40px;
  height: 40px;
  justify-content: center;
  border-radius: 14px;
}

.nextoria-footer .nextoria-footer-pill--icon span:not(.sr-only) {
  display: none;
}

.nextoria-footer .nextoria-footer-nav {
  display: grid;
  align-content: start;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
  justify-items: start;
  text-align: left;
  direction: ltr;
}

.nextoria-footer .nextoria-footer-nav-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 247, 255, 0.86);
}

.nextoria-footer .nextoria-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  align-items: flex-start;
  direction: ltr;
}

.nextoria-footer .nextoria-footer-menu a {
  color: rgba(245, 247, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 180ms ease, color 180ms ease;
}

.nextoria-footer .nextoria-footer-menu a:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.045);
}

.nextoria-footer .nextoria-footer-bottom {
  position: relative;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.nextoria-footer .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nextoria-footer .nextoria-footer-bottom small {
  color: rgba(245, 247, 255, 0.6);
  letter-spacing: 0.06em;
}

.nextoria-footer a:focus-visible {
  outline: 2px solid rgba(36, 199, 255, 0.55);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .nextoria-footer .nextoria-footer-inner {
    grid-template-columns: 1fr;
  }
  .nextoria-footer .nextoria-footer-brand {
    grid-column: auto;
    justify-self: start;
    justify-items: start;
    text-align: left;
  }
  .nextoria-footer .nextoria-footer-contact {
    justify-content: flex-start;
  }
  .nextoria-footer .nextoria-footer-nav {
    grid-column: auto;
    grid-row: auto;
    justify-items: start;
  }
  .nextoria-footer .nextoria-footer-menu {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nextoria-footer .nextoria-footer-menu {
    align-items: flex-start;
  }
  .nextoria-footer .nextoria-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nextoria-footer * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Hello Elementor fallback: hide theme footer when plugin footer is injected. */
body.nextoria-footer-injected #site-footer.site-footer {
  display: none !important;
}
