/* Планшет (≤1100px), телефон (≤760px), сниженная анимация. Значения перенесены из исходного дизайна без изменений. */
/* ---------- планшет ---------- */
@media (max-width:1100px){
  .nav{display:none}
  .menu-btn{display:inline-flex}
  .hdr-right .tel{display:none}
  .hdr-right{gap:18px;margin-left:auto}
  .phead .in{grid-template-columns:1fr}
  .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat:nth-child(n+4){border-top:1px solid var(--graphite-line)}
  .hero-map{width:80%;opacity:.55}
  .irow{grid-template-columns:40px minmax(0,1fr) 28px}
  .irow .d{grid-column:2/3;grid-row:2}
  .irow .tag{grid-column:2/3;grid-row:3;text-align:left}
  .irow .go{grid-column:3;grid-row:1}
  .split,.split.wide-l,.why,.svc,.geo,.objs,.cgrid{grid-template-columns:1fr}
  .why .thesis{position:static}
  .svc-panel{position:static}
  .tl-ev{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px clamp(14px,2vw,28px)}
  .tl-line{display:none}
  .ev{border-top:1px solid var(--ink);padding-top:24px}
  .ev::before{top:-7px}
  .fgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .fgrid>div:first-child{grid-column:1/-1}
  .ygrp{grid-template-columns:1fr}
  .ygrp .y-in{position:static;display:flex;gap:16px;align-items:baseline}
  .dhead{display:none}
}
/* ---------- телефон ---------- */
@media (max-width:760px){
  :root{--pad:16px;--indent:30px;--rx:6px;--nodey:76px}
  body{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}
  .hdr .in{height:60px}
  .hdr .btn{display:none}
  .logo img{height:38px}
  .mbar{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:55;background:var(--paper);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px)}
  .mbar a{display:flex;align-items:center;justify-content:center;min-height:60px;font-weight:600;font-size:16px}
  .mbar a+a{background:var(--red);color:#fff}
  .hero .in{min-height:0;display:flex;flex-direction:column;padding-top:28px}
  .hero-copy{order:1}
  .hero-map{order:2}
  .stats{order:3}
  .heromap .mlabel,.heromap .tick{display:none}
  .hero-map{position:static;width:100%;margin:8px 0 8px auto;opacity:1;display:block}
  .hero-copy{padding-block:24px 8px}
  .hero .cta .btn{width:100%}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat:nth-child(n+3){border-top:1px solid var(--graphite-line)}
  .stat:nth-child(5){grid-column:1/-1}
  .nrow{grid-template-columns:minmax(0,1fr) 24px;gap:4px 12px}
  .nrow .tt{grid-column:1;grid-row:2}
  .nrow .go{grid-column:2;grid-row:2}
  .nrow .meta{grid-column:1/-1;grid-row:1;display:flex;gap:14px}
  .adv{grid-template-columns:1fr}
  .tl-ev{grid-template-columns:1fr;gap:0}
  .ev{padding:20px 0 24px 0;border-top:1px solid var(--line)}
  .ev:first-child{border-top:1px solid var(--ink)}
  .ev::before{display:none}
  .ev .yr{display:flex;align-items:center;gap:12px}
  .ev .yr::before{content:"";width:11px;height:11px;border:1.5px solid var(--ink);border-radius:50%;flex:none}
  .ev.cur .yr::before{background:var(--red);border-color:var(--red)}
  .ev .ev-text{max-width:none}
  .fig{grid-template-columns:1fr}
  .svc-btn{grid-template-columns:36px minmax(0,1fr) 20px}
  .params div{grid-template-columns:1fr;gap:2px}
  .orow,.ohead{grid-template-columns:52px minmax(0,1fr) 16px}
  .orow .typ,.orow .adr{grid-column:2/3}
  .orow .go{grid-column:3;grid-row:1}
  .ohead{display:none}
  .cdl{grid-template-columns:1fr}
  .nitem{grid-template-columns:1fr;gap:6px}
  .nitem .meta{flex-direction:row;gap:14px;padding-top:0}
  .drow{grid-template-columns:52px minmax(0,1fr);gap:6px 14px}
  .drow .dmeta,.drow .dsize{grid-column:2}
  .drow .dact{grid-column:2}
  .fgrid{grid-template-columns:1fr 1fr}
  .fgrid>div:last-child{grid-column:1/-1}
  .cta-band .contacts{gap:12px 24px}
  .cta-band .btn{width:100%}
  .next .acts{width:100%}
  .next .acts .btn{width:100%}
  .readout{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}
  .rv.shown{animation:none}
}
