﻿/* Mobile performance and motion tuning */
@media (max-width: 900px){
  body[data-page] .header{
    padding: 8px 0;
  }

  body[data-page] .header-inner{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    min-height: 50px;
    padding: 6px 10px;
  }

  body[data-page] .logo{
    min-width: 0;
    gap: 8px;
  }

  body[data-page] .logo-mark{
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  body[data-page] .logo-mark img{
    width: 22px;
    height: 22px;
    transform: none;
  }

  body[data-page] .logo-text{
    min-width: 0;
    overflow: hidden;
  }

  body[data-page] .brand{
    font-size: 16px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[data-page] .tagline{
    display: none;
  }

  body[data-page] .burger{
    width: 40px;
    height: 40px;
    padding: 0;
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body[data-page] .burger .burger-icon{
    width: 18px;
    height: 18px;
  }

  body[data-page="home"] section#providers .provider-card,
  body[data-page="home"] section#faq .faq-item,
  body[data-page="home"] section#testimonials .t-card,
  body[data-page="home"] section#what-is .seo-intro-card,
  body[data-page="home"] section#single-api .seo-intro-card,
  body[data-page="home"] section#offer .card,
  body[data-page="home"] section#how .step{
    -webkit-backdrop-filter: blur(12px) saturate(1.08) !important;
    backdrop-filter: blur(12px) saturate(1.08) !important;
  }

  body[data-page="home"] section#providers[data-reveal]{
    --reveal-dur: 320ms !important;
    --reveal-y: 10px;
    --reveal-blur: 4px;
  }

  body[data-page="home"] .providers-grid .provider-card[data-reveal]{
    --reveal-dur: 280ms !important;
    --reveal-y: 10px;
    --reveal-blur: 4px;
  }
}

@media (prefers-reduced-motion: reduce){
  [data-reveal]{
    transition: none !important;
    filter: none !important;
    transform: none !important;
  }

  .btn,
  .contact-btn,
  .filter-btn,
  .tabs-tab,
  .tabs-arrow,
  .tabs-rail-btn,
  .sort-dd-btn,
  .sort-dd-item,
  .providers-more-btn,
  .burger{
    transition: none !important;
  }
}
