/* Mobile audit fixes: readable controls, contained pricing, usable fixed navigation. */
@media(max-width:800px){
  html{scroll-padding-top:96px;}
  img,video,iframe{max-width:100%;}
  a,button,input,select,textarea{-webkit-tap-highlight-color:rgba(212,137,26,.25);}
  button,.btn-fill,.btn-ghost,.btn-dark,.plan-btn,.form-submit,.first-lesson-section a,
  #ads-topbar a,#ads-sticky-bar a,#ads-sticky-bar button,
  footer a,.footer-links a,.footer-socials a{
    min-height:44px;min-width:44px;box-sizing:border-box;
  }
  .first-lesson-section a,#ads-topbar a,#ads-sticky-bar a,footer a{
    display:inline-flex!important;align-items:center;justify-content:center;
  }
  .first-lesson-section a{padding:12px 16px;background:var(--amber);color:var(--ink);text-decoration:none;line-height:1.4;}
  input,select,textarea{font-size:16px!important;min-height:48px!important;max-width:100%;box-sizing:border-box;}
  label{font-size:14px!important;line-height:1.5!important;}
  p{font-size:max(14px,1em);}
  .reviews-note,#cookie-text{font-size:14px!important;line-height:1.6!important;}
  #cookie-banner{padding-bottom:max(16px,env(safe-area-inset-bottom));}
  #cookie-banner button{min-height:44px;}
  #main-nav{gap:8px;padding:10px 16px!important;}
  #main-nav .nav-logo{flex-shrink:0;min-height:44px;display:inline-flex;align-items:center;}
  #main-nav .nav-hamburger{width:44px;height:44px;flex-shrink:0;justify-content:center;align-items:center;}
  #main-nav .language-link{min-height:44px;display:inline-flex;align-items:center;white-space:nowrap;font-size:14px;}
  #main-nav>div{gap:8px!important;}
  #nav-panel{max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;}
  #nav-panel ul a{min-height:44px;display:flex;align-items:center;}
  #page-ads a[href*="wa.me"]{min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
  #page-ads>button{min-height:44px;padding:12px 16px!important;}
  #ads-sticky-bar{padding-bottom:max(10px,env(safe-area-inset-bottom))!important;}
  #page-ads{padding-bottom:96px;}
  #ads-form,#first-lesson,#prices{scroll-margin-top:96px;}
  .offer-price-row>div{min-width:0;max-width:100%;}
}
@media(max-width:480px){
  #main-nav .portal-link{display:none!important;}
  #main-nav .gtranslate_wrapper:empty{display:none;}
  #main-nav .nav-logo{font-size:1.2rem;letter-spacing:2px;}
  .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .trust-grid>div{min-width:0;padding:1rem!important;}
  .offer-price-row{flex-direction:column!important;align-items:flex-start!important;gap:12px;}
  .offer-price-row>div{text-align:left!important;}
  .offer-price-row [style*="font-size:1.8rem"]{font-size:1.5rem!important;white-space:normal;overflow-wrap:anywhere;}
  .hero-stats{gap:1rem!important;}
  .hero-stats>div{min-width:0;flex:1;}
  .hero-stats .stat-l{overflow-wrap:anywhere;}
}

@media(max-width:800px){
  p{font-size:16px!important;line-height:1.65!important;}
  .plan-per,.plan-note,.plan-features li,.hero-stats .stat-l,
  .trust-grid>div>div:last-child,.offer-price-row div[style*="font-size:0."]{font-size:14px!important;line-height:1.5!important;}
  #main-nav .portal-link{min-height:44px;display:inline-flex;align-items:center;}
  #cookie-text a{display:inline-flex;min-height:44px;align-items:center;}
  a[href="#main-content"]{min-height:44px;box-sizing:border-box;}
}

@media(max-width:800px){
  :root{--muted:#b5aea3;}
  a[href*="wa.me"]{color:var(--cream)!important;}
  a[href*="wa.me"][style*="background:#25D366"],a[href*="wa.me"].btn-wa{color:#0d0c0b!important;}
  [style*="opacity:0.55"]{opacity:1!important;}
  .btn-ghost[href*="wa.me"],a[href*="wa.me"][style*="background:transparent"]{color:var(--cream)!important;}
  [style*="color:rgba(242,237,228,0.4)"]{color:#b5aea3!important;}
}

@media(max-width:800px){[style*="color:rgba(242,237,228,0.25)"]{color:#b5aea3!important;font-size:14px!important;}}

@media(max-width:800px){
 #page-ads [style*="font-size:0.7rem"],#page-ads [style*="font-size:0.72rem"],
 #page-ads [style*="font-size:0.8rem"],#page-ads [style*="font-size:0.82rem"],
 #page-ads [style*="font-size:0.83rem"],#page-ads [style*="font-size:0.85rem"]{font-size:14px!important;line-height:1.5!important;}
}

/* Final deployment check: comfortably tappable contact links. */
@media(max-width:800px){
 #page-contact a[href*="wa.me"],#page-contact a[href^="tel:"]{
  display:inline-flex;align-items:center;min-height:44px;min-width:44px;
 }
}
