/* MIA CONSULT GROUP — Duo / foldable layer for the MCG components (linked LAST, after MIA css/foldable-index.css).
   Same idea as MIA: every rule sits inside 640–1100, so phone (≤639) and PC (>1100) are not affected.
   A 640–768: widen the phone layout · B 769–1100: un-squeeze the desktop layout. */

/* ---------- A: 640–768 ---------- */
@media (min-width:640px) and (max-width:768px){
  /* services: 2 columns, the 9th card centred (MIA zalety trick) */
  .svc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
  .svc-grid > .svc{grid-column:span 2}
  .svc-grid > .svc:nth-child(odd):last-child{grid-column:2/span 2}
  .tr-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .tr-google{grid-column:span 6}.tr-stat{grid-column:span 2}.tr-lang{grid-column:span 2}.tr-rf{grid-column:span 6;flex-direction:row;align-items:center;gap:16px}
  .tr-n{font-size:30px}.tr-lang .tr-n{font-size:22px}
  .b-fcols.f-cols5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .h-trust{gap:8px}
}
/* ---------- whole band 640–1100 ---------- */
@media (min-width:640px) and (max-width:1100px){
  .hero-v3 .hero-copy{max-width:680px}
}
/* ---------- B: 769–1100 ---------- */
@media (min-width:769px) and (max-width:1100px){
  /* MIA keeps zalety at 3 columns here; MCG tiles carry a sentence, so the icon goes on top to give the text the full tile width */
  .zt.zt-txt{flex-direction:column;gap:14px}
  .ct-card{padding:44px}
}
@media (min-width:769px) and (max-width:1023px){
  .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .svc-grid > .svc:nth-child(odd):last-child{grid-column:1/-1}
  .b-fcols.f-cols5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tr-lang .tr-n{font-size:22px}
}
/* landscape fold (e.g. 920×700): MIA keeps the hero mockup from towering (foldable-index.css); same here for the trust row */
@media (min-width:769px) and (max-width:1100px) and (max-height:780px) and (orientation:landscape){
  .h-trust{margin-top:20px}
}
