/* KAVIR V36.5.17 — independent mobile homepage and iTell-inspired bottom navigation.
   Desktop layout and all application/business logic remain unchanged. */
.kv-hero-title-mobile,.kv-hero-lead-mobile,.kv-mobile-hero-actions{display:none}
.kv33-account-fab{display:none}

@media(max-width:760px){
  html{scroll-padding-top:82px!important}
  body.kv33-home-header-page{padding-bottom:112px!important;overflow-x:hidden}

  /* Compact glass header: brand on the right, consultation CTA on the left. */
  body.kv33-home-header-page .kv33-header-shell{
    position:sticky!important;top:7px!important;z-index:55!important;
    width:calc(100% - 20px)!important;margin:8px auto 0!important;
    border:1px solid rgba(218,197,255,.20)!important;border-radius:19px!important;
    background:linear-gradient(120deg,rgba(34,29,45,.94),rgba(20,20,27,.96))!important;
    box-shadow:0 12px 34px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08)!important;
    backdrop-filter:blur(22px) saturate(145%)!important;
    -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
  }
  body.kv33-home-header-page .kv33-header-shell>.topline{display:none!important}
  body.kv33-home-header-page .site-header{
    height:58px!important;min-height:58px!important;padding:0!important;
    position:relative!important;background:transparent!important;border:0!important;
    box-shadow:none!important;backdrop-filter:none!important;
  }
  body.kv33-home-header-page .header-inner{
    width:100%!important;max-width:none!important;height:58px!important;
    display:flex!important;flex-direction:row!important;align-items:center!important;
    justify-content:space-between!important;gap:8px!important;padding:0 10px!important;
  }
  body.kv33-home-header-page .header-inner>.brand{
    order:1!important;flex:0 1 auto!important;min-width:0!important;max-width:48%!important;
    height:43px!important;padding:0 4px!important;margin:0!important;
    border:0!important;border-radius:0!important;background:transparent!important;
    box-shadow:none!important;justify-content:flex-start!important;
  }
  body.kv33-home-header-page .header-inner>.brand .kv-v11-logo-pair{
    width:clamp(94px,29vw,124px)!important;height:42px!important;overflow:visible!important;
  }
  body.kv33-home-header-page .header-inner>.brand .kv-v11-logo-pair img{
    display:block!important;width:100%!important;height:42px!important;max-width:100%!important;object-fit:contain!important;
  }
  body.kv33-home-header-page .header-inner>.mobile-menu,
  body.kv33-home-header-page .header-inner>.main-nav,
  body.kv33-home-header-page .header-inner>.header-actions{display:none!important}
  body.kv33-home-header-page .header-inner>.kv33-mobile-consult{
    order:2!important;display:inline-flex!important;flex:0 0 auto!important;
    align-items:center!important;justify-content:center!important;gap:6px!important;
    min-width:116px!important;min-height:38px!important;padding:0 13px!important;
    border:1px solid rgba(255,193,145,.48)!important;border-radius:13px!important;
    background:linear-gradient(135deg,#ffb777,#f28b42)!important;color:#26170f!important;
    font-size:10px!important;font-weight:800!important;white-space:nowrap!important;
    box-shadow:0 7px 20px rgba(242,139,66,.23)!important;animation:none!important;
  }
  body.kv33-home-header-page .kv33-mobile-consult:before{display:none!important}
  body.kv33-home-header-page .kv33-mobile-consult b{font-size:13px!important}

  /* Mobile hero is an intentionally separate composition, not a compressed desktop grid. */
  body.kv33-home-header-page .kv-cinematic-hero.hero{
    width:100%!important;max-width:none!important;min-height:0!important;
    margin:0!important;padding:34px 16px 38px!important;
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;gap:0!important;overflow:hidden!important;
    border-radius:0 0 28px 28px!important;
  }
  .kv-cinematic-hero .hero-copy{
    order:1!important;width:100%!important;max-width:600px!important;margin:0 auto!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;
    text-align:center!important;
  }
  .kv-cinematic-hero .hero-copy .eyebrow{
    width:100%!important;justify-content:center!important;flex-wrap:wrap!important;
    gap:8px!important;margin:0 0 15px!important;font-size:9px!important;letter-spacing:1.25px!important;
  }
  .kv-cinematic-hero .hero-copy .eyebrow-chip{font-size:9px!important;padding:4px 9px!important}
  .kv-hero-title-desktop,.kv-hero-lead-desktop{display:none!important}
  .kv-hero-title-mobile,.kv-hero-lead-mobile{display:inline!important}
  .kv-cinematic-hero .hero-copy h1{
    width:100%!important;max-width:560px!important;margin:0 auto 13px!important;
    font-size:clamp(31px,8.1vw,42px)!important;line-height:1.52!important;
    letter-spacing:-.45px!important;font-weight:900!important;
    text-wrap:balance;
  }
  .kv-cinematic-hero .hero-copy h1 em{
    background:linear-gradient(100deg,#c7a7ff 4%,#e4a5e9 48%,#ff9d56 94%)!important;
    -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
  }
  .kv-cinematic-hero .hero-lead{
    width:100%!important;max-width:440px!important;margin:0 auto 18px!important;
    font-size:12px!important;line-height:2.15!important;color:#c9c1d2!important;
    text-align:center!important;
  }
  .kv-cinematic-hero .hero-actions{display:none!important}
  .kv-cinematic-hero .kv-mobile-hero-actions{
    width:100%!important;max-width:460px!important;margin:0 auto!important;
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
  }
  .kv-cinematic-hero .kv-mobile-hero-actions .btn{
    width:100%!important;min-width:0!important;min-height:48px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    gap:6px!important;padding:9px 8px!important;border-radius:15px!important;
    font-size:10px!important;line-height:1.65!important;white-space:normal!important;
    text-align:center!important;
  }
  .kv-cinematic-hero .kv-mobile-hero-actions .btn-primary{background:linear-gradient(115deg,#f28b42,#ffbd78)!important;color:#24170f!important;box-shadow:0 9px 24px rgba(242,139,66,.24)!important}
  .kv-cinematic-hero .kv-mobile-hero-actions .btn-glass{background:rgba(255,255,255,.055)!important;border:1px solid rgba(211,187,255,.28)!important;color:#f4eefb!important}
  .kv-cinematic-hero .hero-proof{
    width:100%!important;max-width:330px!important;margin:19px auto 0!important;
    justify-content:center!important;text-align:right!important;gap:9px!important;
  }
  .kv-cinematic-hero .proof-icon{width:35px!important;height:35px!important;flex:0 0 35px!important}
  .kv-cinematic-hero .hero-proof strong{font-size:10px!important}
  .kv-cinematic-hero .hero-proof small{font-size:9px!important}

  .kv-cinematic-hero .hero-stage{
    order:2!important;width:100%!important;max-width:440px!important;
    height:clamp(350px,94vw,420px)!important;margin:22px auto 0!important;
    overflow:visible!important;isolation:isolate!important;
  }
  .kv-cinematic-hero .hero-portrait,.kv-cinematic-hero .portrait-shade{
    width:min(260px,67vw)!important;height:clamp(300px,78vw,345px)!important;
    border-radius:145px 145px 24px 24px!important;
  }
  .kv-cinematic-hero .hero-portrait{border-width:2px!important}
  .kv-cinematic-hero .hero-portrait img{object-position:center 18%!important}
  .kv-cinematic-hero .stage-orbit.orbit-one{width:min(315px,84vw)!important;height:min(315px,84vw)!important}
  .kv-cinematic-hero .stage-orbit.orbit-two{width:min(355px,94vw)!important;height:min(355px,94vw)!important}
  .kv-cinematic-hero .floating-note{
    width:max-content!important;max-width:40%!important;min-width:0!important;
    padding:8px 9px!important;gap:6px!important;border-radius:13px!important;
    backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;
  }
  .kv-cinematic-hero .floating-note b{font-size:9px!important;line-height:1.45!important;white-space:nowrap!important}
  .kv-cinematic-hero .floating-note small{font-size:7.5px!important;line-height:1.5!important;white-space:nowrap!important}
  .kv-cinematic-hero .note-icon{width:27px!important;height:27px!important;flex:0 0 27px!important;font-size:15px!important;border-radius:9px!important}
  .kv-cinematic-hero .note-top{left:0!important;right:auto!important;top:24px!important}
  .kv-cinematic-hero .kv-note-resources{right:0!important;left:auto!important;top:24px!important}
  .kv-cinematic-hero .kv-note-consult{left:0!important;right:auto!important;bottom:57px!important}
  .kv-cinematic-hero .note-bottom{right:0!important;left:auto!important;bottom:57px!important}
  .kv-cinematic-hero .founder-chip{
    right:50%!important;left:auto!important;bottom:0!important;transform:translateX(50%)!important;
    min-width:180px!important;padding:9px 13px!important;text-align:center!important;
    border-radius:14px!important;z-index:7!important;
  }
  .kv-cinematic-hero .founder-chip .chip-kicker{font-size:7px!important;margin-bottom:3px!important}
  .kv-cinematic-hero .founder-chip strong{font-size:13px!important}
  .kv-cinematic-hero .founder-chip small{font-size:9px!important;margin-top:2px!important}
  .kv-cinematic-hero .stage-caption{display:none!important}
  .kv-hero-route{opacity:.22!important;transform:scale(1.1)!important;transform-origin:bottom center!important}

  /* Compact horizontally scrollable trust strip; content never pushes the viewport wider. */
  body.kv33-home-header-page .trust-inner{
    justify-content:flex-start!important;overflow-x:auto!important;overscroll-behavior-x:contain;
    scrollbar-width:none!important;gap:13px!important;padding:13px 17px!important;
  }
  body.kv33-home-header-page .trust-inner::-webkit-scrollbar{display:none!important}
  body.kv33-home-header-page .trust-inner span{flex:0 0 auto!important;font-size:10px!important}
  body.kv33-home-header-page .trust-inner i{flex:0 0 5px!important;width:5px!important;height:5px!important}

  /* iTell-inspired bottom dock and independent account shortcut. */
  body.kv33-home-header-page .kv33-mobile-dock{
    position:fixed!important;left:75px!important;right:10px!important;
    bottom:max(10px,env(safe-area-inset-bottom))!important;z-index:70!important;
    display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:center!important;gap:0!important;height:62px!important;
    padding:5px 5px!important;border:1px solid rgba(255,255,255,.14)!important;
    border-radius:25px!important;direction:ltr!important;
    background:linear-gradient(180deg,rgba(38,38,48,.94),rgba(19,20,27,.97))!important;
    box-shadow:0 13px 34px rgba(0,0,0,.44),inset 0 1px 0 rgba(255,255,255,.09)!important;
    backdrop-filter:blur(24px) saturate(145%)!important;
    -webkit-backdrop-filter:blur(24px) saturate(145%)!important;
  }
  body.kv33-home-header-page .kv33-mobile-dock .kv33-dock-item{
    position:relative!important;min-width:0!important;width:100%!important;height:50px!important;
    min-height:50px!important;padding:3px 1px!important;margin:0!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;gap:4px!important;border:0!important;
    border-radius:16px!important;background:transparent!important;color:#a9a4b5!important;
    text-decoration:none!important;transform:none!important;
  }
  body.kv33-home-header-page .kv33-mobile-dock .kv33-dock-item svg{
    display:block!important;width:19px!important;height:19px!important;flex:0 0 19px!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  body.kv33-home-header-page .kv33-mobile-dock .kv33-dock-item b{
    display:block!important;position:static!important;width:auto!important;height:auto!important;
    max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important;
    clip:auto!important;clip-path:none!important;border:0!important;color:inherit!important;
    font-size:8.5px!important;font-weight:600!important;line-height:1.2!important;
    white-space:nowrap!important;text-indent:0!important;
  }
  body.kv33-home-header-page .kv33-mobile-dock .kv33-dock-item.active{
    color:#ffc18e!important;background:rgba(242,139,66,.10)!important;
  }
  body.kv33-home-header-page .kv33-mobile-dock .kv33-dock-item.active:after{
    content:"";position:absolute;bottom:1px;left:50%;width:4px;height:4px;
    transform:translateX(-50%);border-radius:50%;background:#ffad70;
    box-shadow:0 0 0 3px rgba(255,173,112,.10);
  }
  body.kv33-home-header-page .kv33-dock-install{cursor:pointer!important}
  body.kv33-home-header-page .kv33-dock-install:active,
  body.kv33-home-header-page .kv33-dock-item:active{transform:scale(.96)!important}
  body.kv33-home-header-page .kv33-account-fab{
    position:fixed!important;left:10px!important;right:auto!important;
    bottom:max(12px,env(safe-area-inset-bottom))!important;z-index:71!important;
    width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    border:1px solid rgba(255,255,255,.24)!important;border-radius:50%!important;
    background:linear-gradient(145deg,#8870ff,#6549df)!important;color:#fff!important;
    box-shadow:0 10px 26px rgba(101,73,223,.38),inset 0 1px 0 rgba(255,255,255,.22)!important;
    padding:0!important;touch-action:manipulation!important;
  }
  body.kv33-home-header-page .kv33-account-fab svg{width:23px!important;height:23px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  body.kv33-home-header-page .kv33-account-fab b{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
  body.kv33-home-header-page .kv33-account-fab.is-panel{background:linear-gradient(145deg,#ffb777,#ed823c)!important;color:#26170f!important}
  body.kv33-home-header-page .install-nudge{display:none!important}
  body.kv33-home-header-page .site-footer{padding-bottom:34px!important}
  body.kv33-home-header-page.kv33-in-workspace .kv33-account-fab,
  body.kv33-home-header-page.kv-exam-active .kv33-account-fab{display:none!important}
}

@media(max-width:390px){
  body.kv33-home-header-page .kv33-mobile-dock{left:70px!important;right:8px!important}
  body.kv33-home-header-page .kv33-mobile-dock .kv33-dock-item b{font-size:7.8px!important}
  body.kv33-home-header-page .kv33-mobile-dock .kv33-dock-item svg{width:18px!important;height:18px!important;flex-basis:18px!important}
  body.kv33-home-header-page .kv33-account-fab{left:8px!important;width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important}
}
@media(max-width:360px){
  .kv-cinematic-hero .kv-mobile-hero-actions{grid-template-columns:1fr!important;max-width:300px!important}
  .kv-cinematic-hero .kv-mobile-hero-actions .btn{min-height:44px!important}
  .kv-cinematic-hero .floating-note{max-width:36%!important;padding:7px 7px!important}
  .kv-cinematic-hero .floating-note b{font-size:8px!important}
  .kv-cinematic-hero .floating-note small{font-size:7px!important}
  .kv-cinematic-hero .note-icon{width:24px!important;height:24px!important;flex-basis:24px!important}
}
@media(prefers-reduced-motion:reduce){
  body.kv33-home-header-page .kv33-mobile-dock,
  body.kv33-home-header-page .kv33-mobile-dock * ,
  body.kv33-home-header-page .kv33-account-fab,
  .kv-cinematic-hero .floating-note{animation:none!important;transition:none!important}
}
