@media (max-width: 1040px) {
  .nav-links { position: absolute; top: 82px; inset-inline: 0; width: var(--container); margin:auto; flex-direction:column; align-items:stretch; padding:16px; border-radius:20px; background:rgba(8,10,12,.97); border:1px solid var(--line); opacity:0; visibility:hidden; transform:translateY(-10px); transition:.3s; }
  .nav-links.open { opacity:1; visibility:visible; transform:none; }
  .nav-links a { text-align:center; padding:13px; }
  .menu-toggle { display:block; }
  .hero-grid { grid-template-columns:1fr; }
  .hero { padding-top:150px; }
  .hero-visual { min-height:500px; }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .package-shell { grid-template-columns:1fr; }
  .price-panel { min-height:400px; }
  .preproduction, .command { grid-template-columns:1fr; }
  .stat-grid { grid-template-columns:repeat(3,1fr); }
  .stat:nth-child(3) { border-inline-end:0; }
  .stat:nth-child(n+4) { border-top:1px solid var(--line); }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); --radius:22px; }
  .section { padding:80px 0; }
  .nav-wrap { top:10px; }
  .nav { height:64px; border-radius:18px; padding:7px 9px; }
  .nav-logo { width:38px; height:38px; }
  .brand-pair .nav-logo.tasa { display:none; }
  .brand-pair .brand-x { display:none; }
  .lang { padding:9px; }
  .hero { padding:122px 0 65px; min-height:auto; }
  .hero-visual { min-height:400px; }
  .orbit.one { width:390px; height:390px; }
  .orbit.two { width:300px; height:300px; }
  .partnership-card { padding:17px; }
  .logo-stage { height:120px; }
  .display { font-size:clamp(2.35rem, 12vw, 4rem); }
  .section-head { display:block; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns:1fr; }
  .feature-card { min-height:175px; }
  .feature-card h3 { margin-top:38px; }
  .page-hero { padding-top:140px; min-height:60vh; }
  .deliverables { padding:24px; }
  .deliverable-list { grid-template-columns:1fr; }
  .price-panel { padding:32px 26px; }
  .payment { grid-template-columns:1fr; }
  .payment-line { width:1px; height:55px; justify-self:center; }
  .payment-line::after { top:auto; bottom:0; right:-4px; }
  .preproduction { padding:27px 20px; margin:50px 0; }
  .workflow-step { grid-template-columns:49px 1fr; gap:14px; }
  .workflow-list::before { inset-inline-start:24px; }
  .step-marker { width:49px; height:49px; box-shadow:0 0 0 6px #080a0c; }
  .step-card { padding:23px 20px; }
  .stat-grid { grid-template-columns:1fr 1fr; }
  .stat { min-height:145px; border-bottom:1px solid var(--line); }
  .stat:nth-child(even) { border-inline-end:0; }
  .stat:nth-child(3) { border-inline-end:1px solid var(--line); }
  .stat:last-child { grid-column:1/-1; }
  .model-card { grid-template-columns:1fr; padding:26px; }
  .cycle { grid-template-columns:1fr; }
  .cycle-card::after { content:"↓" !important; inset:auto 50% -18px auto; }
  .bot-flow { grid-template-columns:1fr; }
  .flow-arrow { transform:rotate(90deg); }
  .command { padding:27px 21px; }
  .command-list { grid-template-columns:1fr; }
  .footer-grid { flex-direction:column; align-items:flex-start; }
  .cursor-glow { display:none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
}
