@media(max-width:1000px){
  .nav-links{display:none}.menu-btn{display:block}
  .nav-links.open{display:flex;position:absolute;top:78px;left:0;right:0;padding:20px;background:rgba(255,255,255,.98);flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line);box-shadow:var(--shadow-soft)}
  .hero-grid,.problem-grid,.founder,.two-col{grid-template-columns:1fr}.hero-art{min-height:330px}
  .division-grid,.service-grid{grid-template-columns:1fr 1fr}.package-grid{grid-template-columns:1fr}.method{grid-template-columns:repeat(3,1fr)}.work-grid{grid-template-columns:1fr}.article-list{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .container{width:min(var(--max),calc(100% - 28px))}.nav{min-height:68px}.brand img{width:155px}.nav-links.open{top:68px}
  .hero-grid{padding:70px 0}.hero{min-height:auto}.hero h1{font-size:3rem}.section{padding:70px 0}.page-hero{padding:75px 0 55px}.section-head{display:block}
  .division-grid,.service-grid,.problem-list,.method,.article-list,.form-grid,.footer-grid{grid-template-columns:1fr}
  .method div{border-right:0;border-bottom:1px solid var(--line)}.method div:last-child{border-bottom:0}.field.full{grid-column:auto}.work-card img{height:240px}
}
@media(max-width:1200px){
  .brand img{width:270px}
  .nav-links{gap:20px}
  .hero-grid{grid-template-columns:1fr 1fr;gap:28px}
  .hero h1{font-size:clamp(3rem,5vw,4.7rem)}
  .hero-art,.hero-art img{min-height:500px}
}
@media(max-width:1000px){
  .nav{min-height:86px}.brand img{width:250px;max-height:70px}
  .hero-grid{grid-template-columns:1fr;padding:64px 0 70px}
  .hero{min-height:auto}
  .hero h1{font-size:clamp(3rem,8vw,4.5rem);max-width:850px}
  .hero-art,.hero-art img{min-height:430px}
}
@media(max-width:640px){
  .nav{min-height:72px}.brand img{width:205px;max-height:58px}
  .hero-grid{padding:52px 0 58px}.hero h1{font-size:3rem;line-height:1}
  .hero p{font-size:.98rem}.hero-art,.hero-art img{min-height:300px;border-radius:22px}
  .hero-art img{object-fit:cover}
}
