/*
 * Avrasya Mobile App UI — 2.0
 * Professional mobile-only application shell layered over the existing desktop theme.
 * Desktop (>900px) remains untouched. No service-worker caching is introduced.
 */
.avm-nav-backdrop,
.avm-bottom-nav,
.avm-mobile-only,
.avm-header-wa { display:none; }

@media (max-width:900px){
  :root{
    --avm-bg:#f2f5f1;
    --avm-card:#ffffff;
    --avm-card-soft:#f8faf7;
    --avm-ink:#07131d;
    --avm-text:#24323a;
    --avm-muted:#68757c;
    --avm-green:#7fa954;
    --avm-green-2:#678e43;
    --avm-line:#e0e6e1;
    --avm-line-dark:rgba(255,255,255,.10);
    --avm-header:64px;
    --avm-dock:76px;
    --avm-page-pad:14px;
    --avm-radius-xl:26px;
    --avm-radius-lg:20px;
    --avm-radius-md:16px;
    --avm-radius-sm:12px;
    --avm-shadow:0 12px 34px rgba(8,20,29,.08);
    --avm-shadow-lg:0 24px 60px rgba(6,18,27,.16);
    --avm-ease:cubic-bezier(.22,.8,.2,1);
  }

  html{
    scroll-padding-top:calc(var(--avm-header) + env(safe-area-inset-top,0px) + 14px);
    background:#07131d;
    -webkit-text-size-adjust:100%;
  }
  html.av-nav-open{overflow:hidden;overscroll-behavior:none}
  html.avm-mobile{color-scheme:light}

  body.av3-body{
    min-width:320px;
    background:var(--avm-bg);
    padding-bottom:calc(var(--avm-dock) + 12px + env(safe-area-inset-bottom,0px));
    -webkit-tap-highlight-color:transparent;
    text-rendering:optimizeLegibility;
  }
  body.av3-body.admin-bar{--avm-header:64px}
  body.av3-body *{box-sizing:border-box}
  main{overflow:clip}
  main img{max-width:100%;height:auto}
  main section{scroll-margin-top:calc(var(--avm-header) + env(safe-area-inset-top,0px) + 14px)}
  .av3-container,.av-container{width:min(calc(100% - 28px),var(--av3-container,1480px))}

  /* App top bar */
  .av3-site-header,
  body:not(.home) .av3-site-header{
    position:sticky!important;
    top:0;
    z-index:370;
    padding-top:env(safe-area-inset-top,0px);
    background:rgba(7,19,29,.93);
    border-bottom:1px solid rgba(255,255,255,.065);
    box-shadow:none;
    backdrop-filter:saturate(155%) blur(18px);
    -webkit-backdrop-filter:saturate(155%) blur(18px);
    transition:background-color .2s ease,box-shadow .2s ease;
  }
  .av3-site-header.is-scrolled{
    background:rgba(7,19,29,.985);
    box-shadow:0 12px 32px rgba(5,14,21,.18);
  }
  .av3-header-inner{
    width:100%!important;
    min-height:var(--avm-header)!important;
    padding:0 var(--avm-page-pad)!important;
    gap:12px!important;
  }
  .av3-brand{min-width:0;max-width:calc(100% - 62px)}
  .av3-brand img{width:158px!important;max-width:100%;height:auto}
  .av3-nav-toggle{
    display:grid!important;
    place-items:center;
    width:44px!important;
    height:44px!important;
    flex:0 0 44px;
    margin-left:auto!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.13)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.072)!important;
    color:#fff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
    touch-action:manipulation;
    transition:transform .14s ease,background-color .2s ease!important;
  }
  .av3-nav-toggle:active{transform:scale(.95)}
  .av3-nav-toggle .av-icon{width:21px!important;height:21px!important}

  .av3-header-inner{
    grid-template-columns:minmax(0,1fr) auto auto;
  }
  .av3-brand{min-width:0;max-width:calc(100% - 114px)}
  .avm-header-wa{
    position:relative;
    display:grid!important;
    place-items:center;
    width:48px;
    height:48px;
    flex:0 0 48px;
    margin-left:auto;
    margin-right:2px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.12);
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(8,20,30,.24));
    box-shadow:0 10px 24px rgba(6,18,27,.22), inset 0 1px 0 rgba(255,255,255,.08);
    overflow:visible;
    isolation:isolate;
    touch-action:manipulation;
    text-decoration:none!important;
    transform-origin:center;
    animation:avm-whatsapp-float 1.8s ease-in-out infinite;
  }
  .avm-header-wa__icon{
    position:relative;
    z-index:2;
    width:32px!important;
    height:32px!important;
    display:block;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.22));
  }
  .avm-header-wa__pulse{
    position:absolute;
    inset:-4px;
    border-radius:20px;
    z-index:1;
    pointer-events:none;
    background:radial-gradient(circle at center, rgba(37,211,102,.24) 0%, rgba(37,211,102,.16) 35%, rgba(37,211,102,0) 70%);
    animation:avm-whatsapp-pulse 1.45s ease-out infinite, avm-whatsapp-blink 1.05s steps(2,end) infinite;
  }
  .avm-header-wa::after{
    content:"";
    position:absolute;
    top:5px;
    right:5px;
    width:9px;
    height:9px;
    border-radius:999px;
    background:#25D366;
    box-shadow:0 0 0 3px rgba(37,211,102,.14),0 0 12px rgba(37,211,102,.85);
    z-index:3;
    animation:avm-whatsapp-blink .95s steps(2,end) infinite;
  }
  .avm-header-wa:active{transform:scale(.96)}
  .av3-nav-toggle{margin-left:0!important}
  @keyframes avm-whatsapp-pulse{
    0%{transform:scale(.92);opacity:.35}
    45%{opacity:.82}
    100%{transform:scale(1.22);opacity:0}
  }
  @keyframes avm-whatsapp-blink{
    0%,49%{opacity:1}
    50%,100%{opacity:.42}
  }
  @keyframes avm-whatsapp-float{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-1px)}
  }


  /* Drawer + backdrop */
  .avm-nav-backdrop{
    display:block;
    position:fixed;
    inset:0;
    z-index:340;
    background:rgba(1,8,13,.62);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
    transition:opacity .24s ease,visibility .24s ease;
  }
  .avm-nav-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
  .av3-primary-nav{
    position:fixed!important;
    z-index:350!important;
    top:calc(var(--avm-header) + env(safe-area-inset-top,0px) + 8px)!important;
    right:8px!important;
    bottom:calc(var(--avm-dock) + 18px + env(safe-area-inset-bottom,0px))!important;
    left:auto!important;
    width:min(92vw,400px)!important;
    max-height:none!important;
    margin:0!important;
    padding:10px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    overflow:auto!important;
    overscroll-behavior:contain;
    border:1px solid rgba(255,255,255,.11)!important;
    border-radius:24px!important;
    background:linear-gradient(180deg,#0d1d27 0%,#07131d 100%)!important;
    box-shadow:0 30px 90px rgba(0,0,0,.48)!important;
    transform:translate3d(calc(100% + 28px),0,0)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .3s var(--avm-ease),opacity .22s ease,visibility .22s ease!important;
  }
  .av3-primary-nav.is-open{
    transform:translate3d(0,0,0)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  .av3-primary-nav[data-mobile-portal="true"]{
    contain:layout paint style;
    isolation:isolate;
  }
  html.av-nav-open .av3-nav-toggle{
    position:relative;
    z-index:371;
  }
  .av3-menu{display:block!important;flex:1;margin:0!important;padding:2px!important}
  .av3-menu>li{margin:0!important;padding:0!important;border-bottom:1px solid rgba(255,255,255,.07)}
  .av3-menu>li:last-child{border-bottom:0}
  .av3-menu a{
    display:flex!important;
    min-height:48px!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:0 12px!important;
    border-radius:12px!important;
    color:#f4f7f5!important;
    font-size:13px!important;
    font-weight:720!important;
    line-height:1.2!important;
    letter-spacing:0!important;
    text-transform:none!important;
  }
  .av3-menu a:active{background:rgba(255,255,255,.07)!important}
  .av3-menu-chevron{width:14px!important;height:14px!important;opacity:.7}
  .av3-submenu{
    position:static!important;
    display:grid!important;
    gap:2px!important;
    min-width:0!important;
    margin:0 0 9px!important;
    padding:6px!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    border:0!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.045)!important;
    box-shadow:none!important;
  }
  .av3-submenu a{
    min-height:40px!important;
    padding:0 10px!important;
    color:#cbd5da!important;
    font-size:12px!important;
    font-weight:620!important;
  }
  .av3-header-actions{
    position:sticky!important;
    bottom:-1px!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    margin:0!important;
    padding:10px 0 0!important;
    border-top:1px solid rgba(255,255,255,.085)!important;
    background:#07131d!important;
  }
  .av3-header-phone,.av3-header-cta{
    min-width:0!important;
    min-height:48px!important;
    margin:0!important;
    padding:0 10px!important;
    justify-content:center!important;
    border-radius:14px!important;
    font-size:12px!important;
    text-transform:none!important;
  }
  .av3-header-phone{border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.055)!important}
  .av3-header-phone span{font-size:10.5px!important}
  .av3-header-cta{background:linear-gradient(135deg,#85ad59,#688f45)!important}

  /* Native-style bottom dock */
  .avm-bottom-nav{
    position:fixed;
    z-index:360;
    left:8px;
    right:8px;
    bottom:calc(7px + env(safe-area-inset-bottom,0px));
    min-height:68px;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:end;
    padding:5px 5px 6px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:22px;
    background:rgba(7,19,29,.965);
    box-shadow:0 18px 46px rgba(4,13,20,.30),inset 0 1px 0 rgba(255,255,255,.045);
    backdrop-filter:saturate(160%) blur(20px);
    -webkit-backdrop-filter:saturate(160%) blur(20px);
    transition:transform .25s var(--avm-ease),opacity .2s ease;
  }
  .avm-bottom-nav__item{
    min-width:0;
    min-height:56px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    padding:5px 2px;
    border-radius:15px;
    color:#9faab0!important;
    text-decoration:none!important;
    font-size:9px;
    font-weight:700;
    line-height:1;
    letter-spacing:.005em;
    touch-action:manipulation;
    transition:transform .14s ease,color .18s ease,background-color .18s ease;
  }
  .avm-bottom-nav__item .av-icon{width:19px;height:19px;stroke-width:1.8}
  .avm-bottom-nav__item.is-active:not(.avm-bottom-nav__item--primary){color:#c7e39c!important;background:rgba(130,176,84,.095)}
  .avm-bottom-nav__item--primary{
    position:relative;
    min-height:62px;
    margin-top:-17px;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.12);
    background:linear-gradient(145deg,#82aa57,#5f843f)!important;
    box-shadow:0 10px 26px rgba(91,132,61,.28),inset 0 1px 0 rgba(255,255,255,.16);
  }
  .avm-bottom-nav__item--primary .av-icon{width:21px;height:21px}
  .avm-bottom-nav__item--primary.is-active{background:linear-gradient(145deg,#91b867,#6f954d)!important}
  .avm-bottom-nav__item:active{transform:scale(.95)}
  /* Keep the primary app navigation visible while the hamburger drawer is open. */
  html.avm-keyboard-open .avm-bottom-nav{transform:translateY(calc(100% + 32px));opacity:0;pointer-events:none}

  /* Homepage = app dashboard */
  .av3-home{background:var(--avm-bg)!important}
  .av3-hero{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
    padding:10px 10px 0!important;
    background:var(--avm-bg)!important;
  }
  .av3-hero-media{
    order:0;
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:1.12/1;
    margin:0!important;
    overflow:hidden;
    border-radius:var(--avm-radius-xl)!important;
    background:#dfe6dd;
    box-shadow:var(--avm-shadow);
  }
  .av3-hero-media::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(7,19,29,.01) 45%,rgba(7,19,29,.22) 100%);
    pointer-events:none;
  }
  .av3-hero-media img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 55%!important}
  .av3-hero-fade{display:none!important}
  .av3-hero-inner{order:1;min-height:0!important;width:100%!important;padding:0 3px!important}
  .av3-hero-copy{
    position:relative;
    z-index:2;
    width:calc(100% - 12px)!important;
    margin:-54px auto 0!important;
    padding:22px 18px 18px!important;
    border:1px solid rgba(224,230,225,.88);
    border-radius:22px!important;
    background:rgba(255,255,255,.965);
    box-shadow:0 16px 34px rgba(7,19,29,.10);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  .av3-hero-copy h1{
    margin:0 0 12px!important;
    color:var(--avm-ink)!important;
    font-size:clamp(31px,8.7vw,40px)!important;
    line-height:1.015!important;
    letter-spacing:-.045em!important;
  }
  .av3-hero-copy h1 span{display:block!important}
  .av3-hero-accent{color:#668c43!important}
  .av3-hero-copy>p{max-width:34rem;margin:0 0 16px!important;color:#59666c!important;font-size:13.5px!important;line-height:1.55!important}
  .av3-hero-buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0 0 15px!important}
  .av3-btn{
    min-width:0!important;
    min-height:48px!important;
    padding:0 10px!important;
    border-radius:13px!important;
    font-size:11px!important;
    text-transform:none!important;
    box-shadow:none!important;
  }
  .av3-btn--outline{border-color:#d6ddda!important;background:#fff!important;color:var(--avm-ink)!important}
  .av3-hero-benefits{
    display:flex!important;
    grid-template-columns:none!important;
    gap:7px!important;
    margin:0 -3px!important;
    padding:0 3px 2px!important;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .av3-hero-benefits::-webkit-scrollbar{display:none}
  .av3-hero-benefits>div{
    flex:0 0 auto;
    justify-content:flex-start!important;
    gap:7px!important;
    min-height:40px!important;
    padding:7px 9px!important;
    border:1px solid var(--avm-line)!important;
    border-radius:12px!important;
    background:#f8faf7!important;
    box-shadow:none!important;
    scroll-snap-align:start;
  }
  .av3-hero-benefits .av-icon{width:20px!important;height:20px!important;flex:0 0 20px!important}
  .av3-hero-benefits span{display:block!important;color:#314047!important;font-size:9px!important;line-height:1.1!important;font-weight:700!important;white-space:nowrap}

  /* Systems dashboard */
  .av3-feature-panel{
    width:calc(100% - 20px)!important;
    margin:14px auto 18px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    border:1px solid rgba(255,255,255,.06)!important;
    border-radius:24px!important;
    overflow:hidden!important;
    background:linear-gradient(150deg,#0b1a24 0%,#0d2029 100%)!important;
    box-shadow:0 18px 44px rgba(6,19,28,.12)!important;
  }
  .av3-feature-panel>div,.av3-feature-panel>aside{padding:22px 14px 18px!important}
  .av3-feature-panel__why,.av3-feature-panel__project{border-left:0!important;border-top:1px solid rgba(255,255,255,.10)!important}
  .av3-panel-title,.av3-section-title{font-size:15px!important;letter-spacing:.01em!important;margin-bottom:16px!important}
  .av3-system-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .av3-system-card{
    min-width:0;
    border:1px solid rgba(255,255,255,.065)!important;
    border-radius:17px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .av3-system-card__image{aspect-ratio:1.25/1!important;border-radius:0!important}
  .av3-system-card__image img{width:100%!important;height:100%!important;object-fit:cover!important}
  .av3-system-card__icon{
    width:38px!important;height:38px!important;
    left:11px!important;
    margin-top:-19px!important;
    margin-bottom:-6px!important;
    border-width:3px!important;
  }
  .av3-system-card__body{min-height:0!important;padding:0 11px 12px!important}
  .av3-system-card__body h3{font-size:14px!important;line-height:1.12!important;margin:0 0 6px!important}
  .av3-system-card__body p{display:none!important}
  .av3-detail-link{min-height:30px!important;font-size:9px!important;line-height:1!important}
  .av3-why-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .av3-why-item{
    min-height:78px!important;
    padding:10px!important;
    grid-template-columns:34px 1fr!important;
    gap:7px!important;
    border:1px solid rgba(255,255,255,.075)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.035)!important;
  }
  .av3-why-item>.av-icon{width:27px!important;height:27px!important}
  .av3-why-item strong{font-size:11px!important;line-height:1.15!important}
  .av3-why-item span{font-size:9px!important;line-height:1.35!important;color:#aeb9be!important}
  .av3-project-card{height:auto!important;aspect-ratio:1.45/1!important;border-radius:18px!important;overflow:hidden!important}
  .av3-all-projects{min-height:44px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 3px!important}

  /* Process = horizontal app cards */
  .av3-process{padding:22px 0 16px!important;background:transparent!important}
  .av3-process .av3-container{width:100%!important;padding-left:14px!important}
  .av3-process .av3-section-title{color:var(--avm-ink)!important;margin-left:0!important}
  .av3-process-row{
    display:flex!important;
    gap:8px!important;
    justify-content:flex-start!important;
    margin-right:0!important;
    padding:0 14px 10px 0!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .av3-process-row::-webkit-scrollbar{display:none}
  .av3-process-step{
    flex:0 0 112px!important;
    min-width:112px!important;
    min-height:122px!important;
    padding:11px 8px!important;
    border:1px solid var(--avm-line)!important;
    border-radius:17px!important;
    background:#fff!important;
    box-shadow:0 4px 14px rgba(11,23,32,.035)!important;
    scroll-snap-align:start;
  }
  .av3-process-icon{width:48px!important;height:48px!important;border-radius:14px!important}
  .av3-process-icon .av-icon{width:24px!important;height:24px!important}
  .av3-process-step strong{font-size:11px!important}
  .av3-process-step span{font-size:9px!important}
  .av3-process-arrow{display:none!important}

  /* Knowledge = horizontally browseable cards */
  .av3-info-contact{padding:0 0 16px!important;background:transparent!important}
  .av3-info-contact__grid{grid-template-columns:1fr!important}
  .av3-knowledge{min-width:0!important}
  .av3-knowledge .av3-article-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:10px!important;
    margin-right:-14px!important;
    padding-right:14px!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .av3-knowledge .av3-article-grid::-webkit-scrollbar{display:none}
  .av3-knowledge .av3-article-card{
    flex:0 0 min(82vw,315px)!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    min-width:0!important;
    border:1px solid var(--avm-line)!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:0 5px 18px rgba(11,23,32,.045)!important;
    scroll-snap-align:start;
  }
  .av3-knowledge .av3-article-card__media{aspect-ratio:16/9!important}
  .av3-knowledge .av3-article-card__content{padding:14px 15px 16px!important}
  .av3-knowledge .av3-article-card h3{font-size:16px!important;line-height:1.2!important}
  .av3-knowledge .av3-article-card p{font-size:11.5px!important;line-height:1.5!important}

  /* Shared inner-page mobile contract */
  body:not(.home) main{background:var(--avm-bg)!important}
  body:not(.home) main h1{font-size:clamp(30px,8.6vw,41px)!important;line-height:1.03!important;letter-spacing:-.043em!important}
  body:not(.home) main h2{font-size:clamp(24px,6.8vw,32px)!important;line-height:1.08!important;letter-spacing:-.032em!important}
  body:not(.home) main h3{line-height:1.16!important}
  .av-content-shell{padding-block:30px!important}
  .av-page-header{margin-bottom:22px!important}
  .av-page-description,.av-prose{font-size:15px!important}
  .av-prose p,.av-prose li{line-height:1.72!important}
  .av-prose img,.entry-content img{border-radius:18px!important}
  .av-post-grid{grid-template-columns:1fr!important;gap:13px!important}
  .av-post-card,.av-card{border-radius:18px!important;box-shadow:0 5px 18px rgba(11,23,32,.045)!important}
  .av-post-card__body{padding:15px!important}
  .av-page-hero,.avp-hero,.av3-public-hero,.av3-corporate-hero{
    border-radius:0 0 24px 24px!important;
    overflow:hidden!important;
  }
  .av-button,.avp-btn,button,input[type="submit"],input[type="button"]{min-height:48px}
  input:not([type="checkbox"]):not([type="radio"]),select,textarea{
    min-height:48px;
    font-size:16px!important;
    border-radius:12px!important;
  }
  textarea{min-height:130px}
  .av-prose table,.entry-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .avm-touch-scroller{scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .avm-touch-scroller::-webkit-scrollbar{display:none}

  /* Common product / archive cards */
  [class*="grid"] > article,
  [class*="grid"] > .avp-card,
  [class*="grid"] > .av3-card{
    scroll-margin-top:calc(var(--avm-header) + 12px);
  }
  .avp-filter-bar,.avp-filters,[data-model-filters]{overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
  .avp-filter-bar::-webkit-scrollbar,.avp-filters::-webkit-scrollbar,[data-model-filters]::-webkit-scrollbar{display:none!important}

  /* Compact app footer */
  .av3-site-footer.av3-footer-pro{padding:26px 0 8px!important;border-top:0!important}
  .av3-footer-pro__layout{grid-template-columns:1fr!important;gap:16px!important}
  .av3-footer-pro__intro{grid-template-columns:1fr!important;gap:14px!important;padding:0 0 18px!important}
  .av3-footer-pro__identity{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
  .av3-footer-pro__logo{max-width:180px!important}
  .av3-footer-pro__socials{margin-top:0!important;gap:6px!important}
  .av3-footer-pro__socials a{width:35px!important;height:35px!important}
  .av3-footer-pro__statement,.av3-footer-pro__nav,.av3-footer-pro__stats{display:none!important}
  .av3-footer-pro__contact-strip{grid-template-columns:1fr 1fr!important;padding:0!important;border:0!important}
  .av3-footer-pro__contact-item{
    display:grid!important;
    grid-template-columns:28px 1fr!important;
    gap:9px!important;
    min-width:0!important;
    padding:14px 11px!important;
    border-right:0!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
  }
  .av3-footer-pro__contact-item:nth-child(odd){border-right:1px solid rgba(255,255,255,.08)!important}
  .av3-footer-pro__contact-item>.av-icon{width:22px!important;height:22px!important}
  .av3-footer-pro__contact-item strong{font-size:9.5px!important;margin-bottom:4px!important}
  .av3-footer-pro__contact-item span,.av3-footer-pro__contact-item a{font-size:9.5px!important;line-height:1.4!important}
  .av3-footer-pro__cta{grid-template-columns:1fr!important;border-radius:20px!important}
  .av3-footer-pro__cta-copy{padding:22px 18px 20px!important}
  .av3-footer-pro__eyebrow{font-size:10px!important;margin-bottom:9px!important}
  .av3-footer-pro__cta h2{font-size:27px!important;margin-bottom:11px!important}
  .av3-footer-pro__cta p{font-size:11.5px!important;margin-bottom:15px!important}
  .av3-footer-pro__cta-button{min-height:49px!important;width:100%!important;border-radius:13px!important;text-transform:none!important}
  .av3-footer-pro__cta-media{min-height:210px!important;aspect-ratio:1.45/1!important}
  .av3-footer-pro__bottom{
    min-height:0!important;
    margin-top:16px!important;
    padding:16px 0 6px!important;
    gap:9px!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    font-size:8.5px!important;
  }
  .av3-footer-pro__bottom nav{gap:7px!important;flex-wrap:wrap!important}

  /* Standalone/PWA refinements */
  html.avm-standalone .av3-site-header{padding-top:max(env(safe-area-inset-top,0px),4px)}
  html.avm-standalone .avm-bottom-nav{bottom:max(calc(7px + env(safe-area-inset-bottom,0px)),10px)}
}

@media (max-width:460px){
  .av3-brand img{width:150px!important}
  .av3-hero{padding-inline:8px!important}
  .av3-hero-media{aspect-ratio:1.04/1!important;border-radius:23px!important}
  .av3-hero-copy{width:calc(100% - 8px)!important;margin-top:-46px!important;padding:20px 15px 16px!important}
  .av3-hero-copy h1{font-size:33px!important}
  .av3-hero-buttons{grid-template-columns:1fr 1fr!important}
  .av3-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .av3-system-card__image{aspect-ratio:1.15/1!important}
  .av3-why-list{grid-template-columns:1fr!important}
  .avm-bottom-nav{left:6px;right:6px;bottom:calc(6px + env(safe-area-inset-bottom,0px));border-radius:20px}
  .avm-bottom-nav__item{font-size:8.2px}
  .av3-footer-pro__contact-strip{grid-template-columns:1fr!important}
  .av3-footer-pro__contact-item:nth-child(odd){border-right:0!important}
}

@media (max-width:360px){
  .av3-brand img{width:142px!important}
  .av3-hero-copy h1{font-size:30px!important}
  .av3-hero-buttons{grid-template-columns:1fr!important}
  .avm-bottom-nav__item{font-size:7.8px}
}

@media (prefers-reduced-motion:reduce){
  .av3-primary-nav,.avm-nav-backdrop,.avm-bottom-nav,.av3-site-header,.av3-nav-toggle{transition:none!important}
  html{scroll-behavior:auto!important}
}
