/*
 * Mobile-only footer theme based on the final Business Websites footer styling.
 * Loaded by pages with footers except index.php. Desktop styles are untouched.
 */
@media screen and (max-width: 767.98px) {
  body:not(.index-page) .orbi-premium-footer {
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    background:
      radial-gradient(circle at 12% 18%, rgba(124, 58, 237, .22), transparent 32%),
      radial-gradient(circle at 88% 20%, rgba(232, 69, 69, .18), transparent 30%),
      linear-gradient(135deg, #05070d 0%, #071426 48%, #05070d 100%) !important;
    color: #ffffff !important;
    font-family: "Open Sans", sans-serif !important;
  }

  body:not(.index-page) .orbi-premium-footer,
  body:not(.index-page) .orbi-premium-footer *,
  body:not(.index-page) .orbi-premium-footer *::before,
  body:not(.index-page) .orbi-premium-footer *::after {
    box-sizing: border-box !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-grid-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-image:
      linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) !important;
    background-size: 48px 48px !important;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 95%) !important;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 95%) !important;
    pointer-events: none !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-glow {
    position: absolute !important;
    z-index: 0 !important;
    width: 420px !important;
    height: 420px !important;
    border-radius: 50% !important;
    filter: blur(90px) !important;
    opacity: .35 !important;
    pointer-events: none !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-glow-one {
    left: -140px !important;
    top: 80px !important;
    background: #7c3aed !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-glow-two {
    right: -130px !important;
    bottom: 70px !important;
    background: #e84545 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-top {
    position: relative !important;
    z-index: 2 !important;
    width: calc(100% - 36px) !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 70px 0 30px !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 35px !important;
    padding: 30px !important;
    margin: 0 0 55px !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 34px !important;
    background:
      radial-gradient(circle at top right, rgba(249, 115, 22, .16), transparent 35%),
      radial-gradient(circle at bottom left, rgba(124, 58, 237, .18), transparent 38%),
      rgba(255, 255, 255, .08) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .30) !important;
    backdrop-filter: blur(22px) !important;
    -webkit-backdrop-filter: blur(22px) !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-cta h2 {
    color: #ffffff !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -1.5px !important;
    margin: 0 0 14px !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-cta p {
    color: #dbeafe !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
    max-width: 760px !important;
    margin: 0 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-cta-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 11px 20px !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 50px !important;
    margin-bottom: 18px !important;
    background: rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-cta-badge i {
    color: #fbbf24 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-cta-actions {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-btn-primary,
  body:not(.index-page) .orbi-premium-footer .footer-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 54px !important;
    padding: 15px 26px !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-btn-primary {
    border: 1px solid rgba(255, 255, 255, .14) !important;
    background: #e84545 !important;
    box-shadow: 0 18px 45px rgba(232, 69, 69, .30) !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-btn-secondary {
    border: 1px solid rgba(255, 255, 255, .16) !important;
    background: rgba(255, 255, 255, .08) !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-main-row {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important;
    padding: 32px !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 34px !important;
    background:
      radial-gradient(circle at top left, rgba(124, 58, 237, .10), transparent 32%),
      radial-gradient(circle at bottom right, rgba(232, 69, 69, .10), transparent 34%),
      rgba(255, 255, 255, .055) !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-main-row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: unset !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-main-row > :first-child,
  body:not(.index-page) .orbi-premium-footer .footer-main-row > :last-child {
    grid-column: 1 / -1 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-brand-card,
  body:not(.index-page) .orbi-premium-footer .footer-link-card,
  body:not(.index-page) .orbi-premium-footer .footer-contact-card {
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-brand-card:hover,
  body:not(.index-page) .orbi-premium-footer .footer-link-card:hover,
  body:not(.index-page) .orbi-premium-footer .footer-contact-card:hover {
    transform: none !important;
    background: transparent !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-logo {
    margin-bottom: 22px !important;
    text-decoration: none !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-logo-img {
    display: block !important;
    width: 185px !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 22px !important;
    padding: 8px 12px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22) !important;
    object-fit: contain !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-logo .sitename {
    color: #ffffff !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 42px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -2px !important;
    margin: 0 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-logo span {
    color: #e84545 !important;
    font-size: 44px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-brand-card p {
    max-width: 430px !important;
    margin: 0 !important;
    color: #d8e3f5 !important;
    font-size: 15.5px !important;
    line-height: 1.85 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-social-links {
    gap: 10px !important;
    margin-top: 28px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .075) !important;
    color: #ffffff !important;
    text-decoration: none !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-link-card h4,
  body:not(.index-page) .orbi-premium-footer .footer-contact-card h4 {
    position: relative !important;
    color: #ffffff !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    margin: 0 0 26px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-link-card h4::after,
  body:not(.index-page) .orbi-premium-footer .footer-contact-card h4::after {
    content: "" !important;
    display: block !important;
    width: 42px !important;
    height: 3px !important;
    margin-top: 12px !important;
    border-radius: 50px !important;
    background: linear-gradient(90deg, #e84545, #f97316) !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-link-card ul {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-link-card ul li {
    margin: 0 0 13px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-link-card ul li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #dbeafe !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-link-card ul li a i {
    color: #fbbf24 !important;
    font-size: 15px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 13px !important;
    padding: 0 0 18px !important;
    margin: 0 0 18px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-contact-item:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-contact-item i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 13px !important;
    background: rgba(249, 115, 22, .12) !important;
    color: #fbbf24 !important;
    font-size: 18px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-contact-item strong {
    display: block !important;
    margin-bottom: 4px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-contact-item span {
    display: block !important;
    color: #dbeafe !important;
    font-size: 14.5px !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-links-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 34px 0 0 !important;
    padding: 18px 22px !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .045) !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 34px 0 0 !important;
    padding: 20px 24px !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .045) !important;
    color: #dbeafe !important;
    font-size: 14px !important;
    text-align: center !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-bottom strong {
    color: #ffffff !important;
    font-weight: 900 !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-bottom div:last-child {
    color: #94a3b8 !important;
    font-weight: 700 !important;
  }

  body:not(.index-page) .orbi-premium-footer .copyright {
    display: none !important;
  }

  body:not(.index-page) footer.admin-footer,
  body:not(.index-page) #footer.footer:not(.orbi-premium-footer) {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    color: #ffffff !important;
    background:
      radial-gradient(circle at 12% 18%, rgba(124, 58, 237, .22), transparent 32%),
      radial-gradient(circle at 88% 20%, rgba(232, 69, 69, .18), transparent 30%),
      linear-gradient(135deg, #05070d 0%, #071426 48%, #05070d 100%) !important;
  }

  body:not(.index-page) footer.admin-footer::before,
  body:not(.index-page) #footer.footer:not(.orbi-premium-footer)::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-image:
      linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) !important;
    background-size: 48px 48px !important;
    pointer-events: none !important;
  }

  body:not(.index-page) footer.admin-footer > *,
  body:not(.index-page) #footer.footer:not(.orbi-premium-footer) > * {
    position: relative !important;
    z-index: 1 !important;
  }

  body:not(.index-page) .portal-footer-note {
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 16px !important;
    color: #dbeafe !important;
    background:
      radial-gradient(circle at 12% 18%, rgba(124, 58, 237, .22), transparent 38%),
      radial-gradient(circle at 88% 20%, rgba(232, 69, 69, .18), transparent 36%),
      linear-gradient(135deg, #05070d 0%, #071426 48%, #05070d 100%) !important;
  }
}

@media screen and (max-width: 575.98px) {
  body:not(.index-page) .orbi-premium-footer .footer-top {
    width: calc(100% - 24px) !important;
    padding: 50px 0 24px !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-cta {
    padding: 24px !important;
    border-radius: 26px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-main-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 26px !important;
    border-radius: 28px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-logo-img {
    width: 160px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-logo .sitename {
    font-size: 34px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-brand-card p {
    font-size: 14.5px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-link-card h4,
  body:not(.index-page) .orbi-premium-footer .footer-contact-card h4 {
    margin-top: 12px !important;
  }

  body:not(.index-page) .orbi-premium-footer .footer-cta-actions,
  body:not(.index-page) .orbi-premium-footer .footer-btn-primary,
  body:not(.index-page) .orbi-premium-footer .footer-btn-secondary {
    width: 100% !important;
  }

  body:not(.index-page) .orbi-premium-footer .orbi-footer-bottom {
    font-size: 13px !important;
  }
}
