/* India Studios screenshot/UI polish layer — 27 Nov 2026
   Guardrails: responsive sizing, accessible controls, prevent overlaps and text clipping. */
:root{scroll-padding-top:88px}
*,*::before,*::after{box-sizing:border-box}
html,body{max-width:100%;overflow-x:clip}
body{min-width:0}
main,.container,.content,.page-content,.section,.site-header,.site-footer{min-width:0;max-width:100%}
img,svg,video,canvas,iframe{max-width:100%}
p,li,a,button,label,small,strong,td,th{overflow-wrap:anywhere}
input,select,textarea{max-width:100%;min-width:0;box-sizing:border-box}
button,a,input,select,textarea{touch-action:manipulation}
button:not(.menu-toggle),input[type=submit],input[type=button]{min-height:42px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f5c64f!important;outline-offset:3px}
@media(max-width:760px){
 .container{width:min(100% - 28px,100%)!important;margin-inline:auto!important}
 .page-head,.section-head{max-width:100%;overflow-wrap:anywhere}
 .grid,.cards-grid,.services-grid,.classes-grid,.dashboard-grid{grid-template-columns:minmax(0,1fr)!important}
 .card,.panel,.service-card,.class-card,.form-card{min-width:0!important;max-width:100%!important}
 .form-row,.form-grid,.fields-grid{grid-template-columns:minmax(0,1fr)!important}
 .table-wrap,.responsive-table,.table-responsive{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 table{max-width:100%}
 .modal,.dialog,.video-dialog{width:min(100% - 20px,680px)!important;max-width:calc(100vw - 20px)!important}
}
@media(max-width:480px){
 .container{width:calc(100% - 22px)!important}
 h1{font-size:clamp(24px,7vw,36px)}
 h2{font-size:clamp(20px,6vw,29px)}
 .btn,.button,.cta,.nav-cta{max-width:100%;white-space:normal}
 .site-footer .is-footer-v51__wrap{gap:10px!important}
}
/* Floating CTA stays out of footer content; JS visibility observer is supplemented by layout guard. */
.music-floating-promo{max-width:calc(100vw - 20px);left:10px;right:10px;width:auto}
.music-floating-promo>*{min-width:0}
.music-floating-promo a,.music-floating-promo button{min-height:40px}
@media(max-width:560px){
 .music-floating-promo{display:grid;grid-template-columns:minmax(0,1fr) auto 38px;gap:8px;align-items:center}
 .music-floating-promo small{display:block;line-height:1.35}
 .music-floating-promo a{padding-inline:10px;white-space:normal}
 .music-floating-promo button{width:38px;min-width:38px}
 .floating-wa{width:48px;height:48px}
}

/* Screenshot follow-up: refined customer sign-in, footer rhythm and brand visibility */
.auth-card .section-label{display:none!important}
.auth-wrap{max-width:560px!important;margin:clamp(16px,3vh,30px) auto!important;padding:clamp(12px,3vw,22px)!important}
.auth-card{padding:clamp(20px,4vw,32px)!important;border-radius:22px!important}
.auth-card .auth-logo{max-width:min(340px,88%)!important;margin:0 auto 14px!important;filter:drop-shadow(0 5px 10px rgba(23,36,91,.12))}
.auth-card h1{margin:.18em 0 .3em!important;font-size:clamp(32px,7vw,42px)!important}
.auth-card p{margin:0 0 18px!important;line-height:1.48!important}
.auth-card form>button[type=submit]{width:100%!important;margin-top:10px!important}
.auth-card .auth-links{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin-top:14px!important}
.auth-card .auth-links .auth-button{width:100%!important;box-sizing:border-box!important}
.auth-card .auth-links .secondary{box-shadow:none!important}
.auth-page #musicFloatingPromo{display:none!important}
.auth-page .floating-wa{width:56px!important;height:56px!important;right:12px!important;bottom:12px!important}
.site-header .brand-logo{max-width:clamp(190px,38vw,280px)!important;width:auto!important;height:auto!important;filter:drop-shadow(0 2px 5px rgba(23,36,91,.12))}
.site-header .brand{transition:transform .2s ease,filter .2s ease!important}
.site-header .brand:hover{transform:translateY(-1px)!important;filter:drop-shadow(0 3px 8px rgba(245,190,48,.25))!important}
.site-footer.is-footer-v51 .is-footer-v51__wrap{align-items:start!important;gap:clamp(12px,2vw,20px)!important}
.site-footer.is-footer-v51 .is-footer-v51__brandmark{width:52px!important;height:52px!important;flex-basis:52px!important;box-shadow:0 0 0 2px rgba(245,198,79,.18),0 4px 16px rgba(245,198,79,.12)!important}
.site-footer.is-footer-v51 .is-footer-v51__brandcopy strong{font-size:clamp(16px,2vw,20px)!important;letter-spacing:.04em!important}
.site-footer.is-footer-v51 .is-footer-v51__brandcopy small{font-size:10px!important;letter-spacing:1.15px!important;line-height:1.45!important}
.site-footer.is-footer-v51 .is-footer-v51__quick-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.site-footer.is-footer-v51 .is-footer-v51__quick-grid>a{min-width:0!important;justify-content:flex-start!important;overflow-wrap:anywhere!important}
.site-footer.is-footer-v51 .is-footer-v51__contact-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.site-footer.is-footer-v51 .is-footer-v51__contact-grid>a{min-width:0!important;overflow-wrap:anywhere!important}
.site-footer.is-footer-v51 .is-footer-v51__socials{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
.site-footer.is-footer-v51 .is-footer-v51__socials .is-brand-circle{transition:transform .2s ease,box-shadow .2s ease!important}
.site-footer.is-footer-v51 .is-footer-v51__socials .is-brand-circle:hover{transform:translateY(-3px)!important;box-shadow:0 0 0 2px rgba(245,198,79,.3),0 6px 18px rgba(245,198,79,.12)!important}
@media(max-width:680px){
 .site-footer.is-footer-v51 .is-footer-v51__wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .site-footer.is-footer-v51 .is-footer-v51__brand{grid-column:1/-1!important}
 .site-footer.is-footer-v51 .is-footer-v51__quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .site-footer.is-footer-v51 .is-footer-v51__contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .site-footer.is-footer-v51 .is-footer-v51__contact-grid>a{font-size:10.5px!important}
 .site-footer.is-footer-v51 .is-footer-v51__brandmark{width:48px!important;height:48px!important;flex-basis:48px!important}
 .site-footer.is-footer-v51 .is-footer-v51__brandcopy strong{font-size:17px!important}
 .site-footer.is-footer-v51 .is-footer-v51__brandcopy small{font-size:9px!important;letter-spacing:1px!important}
}
@media(max-width:360px){
 .site-footer.is-footer-v51 .is-footer-v51__contact-grid{grid-template-columns:1fr!important}
 .site-footer.is-footer-v51 .is-footer-v51__quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
