/* Sathya Group — phone-first polish for the main site (home, jobs, study abroad, privacy). Loaded last. */

/* the closed menu used to peek out at the top of the page on phones */
@media (max-width:920px){
  .nav{visibility:hidden;opacity:0;transition:transform .3s ease,opacity .2s ease,visibility .3s}
  .nav.open{visibility:visible;opacity:1}
  .nav a{min-height:48px;display:flex;align-items:center}
  .nav a.btn{justify-content:center;margin-top:6px}
  .menu-btn{min-width:48px;min-height:48px;display:grid;place-items:center}
  .top-strip .wrap{flex-wrap:nowrap;white-space:nowrap;overflow:hidden}
}

/* hero: the free check is the main action */
.cf-link.cf-main{background:#fff;color:#2A0866;border-color:#fff;box-shadow:0 18px 34px -16px rgba(0,0,0,.55)}
.cf-link.cf-main:hover{background:#FFF3D6}

/* every tap target is at least 44px */
.btn{min-height:48px}
.pill,.rail a,.opt,.opt2,.tab{min-height:44px}
.faq summary,details>summary{min-height:48px}
.field input,.field select,.field textarea{font-size:16px;min-height:52px}
.field textarea{min-height:110px}
.site-foot li a,.site-foot li{padding:5px 0;display:inline-block}
.site-foot li{display:block}

@media (max-width:720px){
  html{scroll-padding-top:86px}
  .section{padding-top:clamp(44px,11vw,64px);padding-bottom:clamp(44px,11vw,64px)}
  .btn{width:auto}
  .form .btn[type=submit],.hx-ctas .btn,.sh-ctas .btn{width:100%;justify-content:center}

  .grid-2>*,.grid-3>*,.grid-4>*,.wrap>*,.sh-grid>*,.book>*,.quiz>*{min-width:0}

  /* swipe rows instead of long stacks */
  .mk-grid,.checks4,.dgrid,.lsteps,.sectors-sec .grid-4,.steps.journey{
    display:flex!important;grid-template-columns:none!important;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;margin-inline:calc(-1 * var(--pad,20px));padding:6px var(--pad,20px) 18px;scroll-padding-inline:var(--pad,20px)}
  .mk-grid::-webkit-scrollbar,.checks4::-webkit-scrollbar,.dgrid::-webkit-scrollbar,.lsteps::-webkit-scrollbar,.sectors-sec .grid-4::-webkit-scrollbar,.steps.journey::-webkit-scrollbar{display:none}
  .mk-grid>*,.dgrid>*{flex:0 0 84%;scroll-snap-align:start;min-width:0}
  .checks4>*,.lsteps>*,.steps.journey>*{flex:0 0 76%;scroll-snap-align:start;min-width:0}
  .sectors-sec .grid-4>*{flex:0 0 62%;scroll-snap-align:start;min-width:0}
  .steps.journey{padding-top:10px}.steps.journey::before{display:none}
  .dgrid>.dc[hidden],.dgrid>.dc.off{display:none}
  .swipe-hint{display:flex;align-items:center;justify-content:center;gap:8px;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#7B6BA6;margin:2px 0 0}
  .on-dark .swipe-hint,.band .swipe-hint{color:#CDBDF5}
  .swipe-hint::after{content:"\2192";font-size:15px;animation:nudge 1.6s ease-in-out infinite}

  /* filters and jump links scroll sideways instead of wrapping */
  .filter{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--pad,20px));padding:2px var(--pad,20px) 6px}
  .filter::-webkit-scrollbar{display:none}.filter .pill{flex:none}

  /* tighter stats and contact */
  .stats{gap:0}
  .foot-grid{gap:26px}
}
@media (min-width:721px){.swipe-hint{display:none}}
@keyframes nudge{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}
@media (prefers-reduced-motion:reduce){.swipe-hint::after{animation:none}}

/* sections that share the .opening card class must not grow with their contents */
section.opening{grid-template-columns:minmax(0,1fr)}
section.opening>.wrap{min-width:0}

/* study abroad: readable footer and call-to-action on the dark theme, and tidy rows on phones */
.lux .site-foot a,.lux .site-foot li{color:#EDE6FF!important}
.lux .site-foot h4{color:#fff!important}
.lux .cta-band h2{color:#fff!important}
@media (max-width:560px){
  .ukrow{grid-template-columns:1fr}
  .ukrow em{grid-row:auto;grid-column:1;text-align:left;margin-top:6px}
}

/* jobs hero on phones: headline and button first, picture second and smaller */
@media (max-width:720px){
  .sh-art{order:2!important;max-width:210px!important;margin-top:8px}
  .split-hero{padding-bottom:90px!important}
}
.dc .go,.cf-wa{min-height:44px;display:inline-flex;align-items:center}
