/* VIGNOVATE — responsive layout. Mobile layouts are re-arranged, not just scaled. */
@media (min-width:1700px){
  :root{--max:1600px}
  body{font-size:15.5px}
}
@media (max-width:1200px){
  .svc-grid{grid-template-columns:repeat(2,1fr)}
  .svc-card,.svc-card:nth-child(-n+2){grid-column:span 1}
  .svc-card:last-child{grid-column:span 2}
  .foot-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}
  .foot-brand{grid-column:1/-1}
  .values{grid-template-columns:repeat(3,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:980px){
  .nav-links,.nav-cta .hide-m{display:none}
  .proj-grid{grid-template-columns:repeat(2,1fr)}
  .cards-4{grid-template-columns:repeat(2,1fr)}
  .cards-3{grid-template-columns:repeat(2,1fr)}
  .two,.commit,.contact-grid{grid-template-columns:1fr}
  .strip{grid-template-columns:repeat(2,1fr)}
  .strip div:nth-child(2){border-right:0}
  .strip div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .steps.four{grid-template-columns:repeat(2,1fr)}
  .case-block{grid-template-columns:1fr;gap:14px}
  .foot-grid{grid-template-columns:1fr 1fr}
  .values{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:820px){
  /* hero is re-composed: stacked three-line headline, 3D mark sits over the lower lines */
  .hero{padding-top:92px}
  .hero-stage{align-items:flex-start;min-height:clamp(470px,118vw,640px)}
  .hero-title{line-height:.95}
  .hero-title .ln{width:auto}
  .hero-title .br{display:block}
  .hero-title .ln:last-of-type{margin-left:0}
  .hero-title .ln:first-of-type .br{margin-left:0}
  .hero-foot{flex-direction:column;align-items:stretch}
  .ai-card{max-width:none}
  .ai-toggle{width:100%}
  .ai-panel{right:auto;left:0;width:100%}
  .hero-btns .btn{flex:1 1 auto}
  .row{grid-template-columns:40px 1fr 28px}
  .row p{grid-column:2/3;grid-row:2}
  .row .arrow{grid-row:1;grid-column:3}
  .meta-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  body{font-size:14.5px}
  .proj-grid,.cards-4,.cards-3,.cards-2,.values,.steps,.steps.four{grid-template-columns:1fr}
  .svc-grid{grid-template-columns:1fr}
  .svc-card,.svc-card:last-child{grid-column:span 1;min-height:300px}
  .form .r2{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
  .foot-brand{grid-column:auto}
  .strip{grid-template-columns:1fr}
  .strip div{border-right:0!important;border-bottom:1px solid var(--line)}
  .strip div:last-child{border-bottom:0}
  .meta-grid{grid-template-columns:1fr}
  .panel,.cta{margin:8px;border-radius:22px}
  .float-pill{font-size:10px;padding:4px 12px}
  .sec-head{align-items:flex-start}
  .step{padding-top:14px}
}
@media (max-height:560px) and (orientation:landscape){
  .hero{min-height:auto}
}
@media print{
  .nav,.overlay,.float-wa,.vx-hero-header{display:none!important}
  body{background:#fff}
}
@media (max-width:820px){
  .fp1{left:4%;top:auto;bottom:47%}
  .fp2{right:4%;top:auto;bottom:36%}
  .fp3{left:8%;bottom:12%}
}
