/* ═══════════════════════════════════════
   ОБЪЁМ — main.css ФИНАЛЬНАЯ ВЕРСИЯ
   ═══════════════════════════════════════ */
:root {
  --orange:      #F04E1F;
  --orange-dark: #C93E14;
  --dark:        #12131A;
  --dark2:       #1C1D27;
  --dark3:       #252636;
  --dark4:       #2E2F42;
  --white:       #F0EDE8;
  --grey:        #8A8A9A;
  --grey2:       #A0A0B4;
  --border:      rgba(240,78,31,0.2);
  --border-dim:  rgba(255,255,255,0.07);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background:var(--dark); color:var(--white);
  font-family:'Montserrat',sans-serif; overflow-x:hidden;
}
body::before {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(rgba(240,78,31,0.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(240,78,31,0.035) 1px,transparent 1px);
  background-size:48px 48px;
}
img { max-width:100%; }
a   { color:inherit; }

/* ══ NAVBAR ══ */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 48px; height:64px;
  background:rgba(18,19,26,0.9); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border); transition:border-color .3s;
}
.navbar.scrolled { border-bottom-color:rgba(240,78,31,0.4); }
.logo { font-family:'Bebas Neue',sans-serif; font-size:28px; letter-spacing:4px; text-decoration:none; color:var(--white); }
.logo em { color:var(--orange); font-style:normal; }
.nav-links { display:flex; gap:32px; list-style:none; }
.nav-links a { color:var(--grey); text-decoration:none; font-size:12px; font-weight:600; letter-spacing:2px; text-transform:uppercase; transition:color .2s; }
.nav-links a:hover { color:var(--white); }
.nav-cta { background:var(--orange) !important; color:var(--white) !important; padding:8px 20px; border-radius:2px; transition:background .2s !important; }
.nav-cta:hover { background:var(--orange-dark) !important; }
.nav-burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.nav-burger span { display:block; width:22px; height:2px; background:var(--white); border-radius:1px; transition:all .25s; }

/* ══ BUTTONS ══ */
.btn-primary {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--orange); color:var(--white); text-decoration:none;
  font-size:13px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  padding:15px 28px; border-radius:2px; border:none; cursor:pointer;
  transition:background .2s, transform .15s;
}
.btn-primary:hover { background:var(--orange-dark); transform:translateY(-1px); }
.btn-ghost {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:transparent; color:var(--white); text-decoration:none;
  font-size:13px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  padding:15px 28px; border-radius:2px; border:1px solid rgba(255,255,255,0.2);
  cursor:pointer; transition:all .2s;
}
.btn-ghost:hover { border-color:var(--orange); color:var(--orange); transform:translateY(-1px); }

/* ══ SECTIONS ══ */
section { position:relative; z-index:1; padding:96px 48px; }
.section-tag {
  font-size:11px; letter-spacing:3px; text-transform:uppercase;
  color:var(--orange); font-weight:700;
  display:flex; align-items:center; gap:10px; margin-bottom:20px;
}
.section-tag::before { content:''; width:20px; height:2px; background:var(--orange); }
.section-title { font-family:'Bebas Neue',sans-serif; font-size:clamp(40px,6vw,72px); letter-spacing:2px; line-height:1; margin-bottom:16px; }
.section-desc { color:var(--grey); font-size:15px; line-height:1.7; max-width:520px; }

/* ══ ALERTS ══ */
.messages-wrap { position:relative; z-index:10; padding:72px 48px 0; }
.alert { padding:14px 20px; border-radius:3px; margin-bottom:12px; font-size:14px; font-weight:600; }
.alert-success { background:rgba(76,175,80,.15); border:1px solid rgba(76,175,80,.3); color:#81c784; }
.alert-error   { background:rgba(220,50,50,.12); border:1px solid rgba(220,50,50,.3); color:#f08080; }

/* ══ HERO ══ */
.hero {
  min-height:100vh;
  display:grid; grid-template-columns:1fr 340px;
  align-items:center; gap:48px;
  padding:120px 64px 80px;
  position:relative; overflow:hidden;
}
.hero-grid-bg {
  position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(240,78,31,0.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(240,78,31,0.05) 1px,transparent 1px);
  background-size:48px 48px;
}
.hero-glow {
  position:absolute; width:560px; height:560px;
  right:-80px; top:50%; transform:translateY(-50%);
  background:radial-gradient(circle,rgba(240,78,31,0.14) 0%,transparent 70%);
  pointer-events:none;
}
/* Моргающие точки */
.hero-lines { position:absolute; inset:0; pointer-events:none; z-index:0; overflow:hidden; }
.hero-line  { display:none; }
.hero-dot {
  position:absolute; width:6px; height:6px;
  background:var(--orange); border-radius:50%;
  transform:translate(-50%,-50%);
  animation:dotPulse 3s ease-in-out infinite;
  box-shadow:0 0 12px var(--orange);
}
@keyframes dotPulse {
  0%,100% { opacity:.3; transform:translate(-50%,-50%) scale(.7); }
  50%      { opacity:1;  transform:translate(-50%,-50%) scale(1.3); }
}

.hero-content { position:relative; z-index:1; min-width:0; }
.hero-tag {
  font-size:11px; letter-spacing:3px; text-transform:uppercase;
  color:var(--orange); font-weight:700;
  display:flex; align-items:center; gap:10px; margin-bottom:24px;
}
.hero-tag::before { content:''; width:22px; height:2px; background:var(--orange); }
.hero-title {
  font-family:'Bebas Neue',sans-serif;
  font-size:clamp(72px,10vw,140px);
  line-height:.92; letter-spacing:2px; margin-bottom:10px;
  animation:fadeUp .8s ease both;
}
.hero-title .outline { -webkit-text-stroke:2px var(--orange); color:transparent; }
.hero-title .solid   { color:var(--white); }
.hero-sub {
  font-size:clamp(14px,1.8vw,18px); color:var(--grey);
  max-width:480px; line-height:1.65;
  margin-top:20px; margin-bottom:36px;
  animation:fadeUp .8s .15s ease both;
}
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; animation:fadeUp .8s .3s ease both; }
.hero-stats {
  display:flex; gap:40px; margin-top:52px; padding-top:28px;
  /*border-top:1px solid var(--border);*/
  animation:fadeUp .8s .45s ease both; flex-wrap:wrap;
}
.stat-val { font-family:'Bebas Neue',sans-serif; font-size:40px; color:var(--orange); line-height:1; }
.stat-label { font-size:10px; letter-spacing:1.5px; color:var(--grey); text-transform:uppercase; margin-top:3px; }

/* Hero visual — правая колонка */
.hero-visual {
  position:relative; z-index:1;
  display:flex; flex-direction:column;
  align-items:flex-start; gap:20px;
  margin-left:-20px;
  animation:fadeUp .8s .3s ease both;
  
}

.hero-cube {
  width:160px; height:160px;
  position:relative; margin:0 auto 4px;
  animation:floatCube 4s ease-in-out infinite;
}
@keyframes floatCube {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-10px); }
}
.cube-face { position:absolute; }
.cube-front {
  width:120px; height:120px; bottom:0; left:20px;
  background:rgba(240,78,31,0.1); border:2px solid var(--orange);
  display:flex; align-items:center; justify-content:center;
  font-family:'Bebas Neue',sans-serif; font-size:56px; letter-spacing:4px; color:var(--orange);
}
.cube-top {
  width:120px; height:40px; bottom:120px; left:20px;
  background:rgba(240,78,31,0.07);
  border:2px solid rgba(240,78,31,0.5); border-bottom:none;
  transform:skewX(-45deg) scaleY(0.6); transform-origin:bottom left;
}
.cube-right {
  width:40px; height:120px; bottom:0; left:140px;
  background:rgba(240,78,31,0.05);
  border:2px solid rgba(240,78,31,0.35); border-left:none;
  transform:skewY(-45deg) scaleX(0.6); transform-origin:top left;
}
.hero-specs { display:flex; flex-direction:column; gap:8px; width:100%; }
.hero-spec-item {
  display:flex; align-items:center; gap:12px;
  background:var(--dark2); border:1px solid var(--border-dim);
  border-left:3px solid var(--orange);
  padding:10px 14px; border-radius:3px; transition:background .2s;
}
.hero-spec-item:hover { background:rgba(240,78,31,0.05); }
.spec-icon  { font-size:16px; flex-shrink:0; width:20px; text-align:center; }
.spec-title { font-size:12px; font-weight:700; margin-bottom:1px; }
.spec-sub   { font-size:10px; color:var(--grey); }

/* ══ TICKER ══ */
.ticker-wrap {
  background:var(--orange); padding:14px 0;
  overflow:hidden; white-space:nowrap;
  position:relative; z-index:1;
}
.ticker { display:inline-flex; animation:ticker 22s linear infinite; }
.ticker-item { font-family:'Bebas Neue',sans-serif; font-size:18px; letter-spacing:4px; padding:0 32px; color:rgba(18,19,26,0.65); }
@keyframes ticker {
  from { transform:translateX(0); }
  to   { transform:translateX(-50%); }
}

/* ══ SERVICES ══ */
.services { background:var(--dark2); }
.services-header { display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:24px; margin-bottom:52px; }
.services-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:2px; }
.service-card {
  background:var(--dark3); padding:36px 32px;
  border-top:3px solid transparent; transition:border-color .25s;
  position:relative; overflow:hidden;
}
.service-card:hover { border-color:var(--orange); }
.service-num { position:absolute; top:24px; right:24px; font-family:'Bebas Neue',sans-serif; font-size:52px; color:rgba(255,255,255,0.04); line-height:1; pointer-events:none; }
.service-icon { width:44px; height:44px; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; margin-bottom:20px; font-size:20px; }
.service-name { font-size:17px; font-weight:700; margin-bottom:10px; }
.service-desc { font-size:14px; color:var(--grey); line-height:1.6; }
.service-detail { display:flex; flex-wrap:wrap; gap:6px; margin-top:16px; }
.tag { font-size:10px; letter-spacing:1px; padding:3px 9px; border:1px solid var(--border); color:var(--grey); border-radius:1px; text-transform:uppercase; }

/* ══ PROCESS ══ */
.process { background:var(--dark); }
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); margin-top:52px; border:1px solid var(--border); }
.step { padding:32px 24px; border-right:1px solid var(--border); position:relative; }
.step:last-child { border-right:none; }
.step-num { font-family:'Bebas Neue',sans-serif; font-size:56px; color:var(--orange); opacity:.3; line-height:1; margin-bottom:14px; }
.step-title { font-size:15px; font-weight:700; margin-bottom:8px; }
.step-text  { font-size:13px; color:var(--grey); line-height:1.6; }

/* ══ CTA ══ */
.cta-section { background:var(--dark2); }

/* ══ ORDER FORM ══ */
.order-inner { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:start; max-width:1100px; margin:0 auto; }
.order-info-item { display:flex; gap:16px; margin-bottom:28px; align-items:flex-start; }
.order-info-icon { width:42px; height:42px; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:18px; }
.order-info-title { font-size:15px; font-weight:700; margin-bottom:4px; }
.order-info-text  { font-size:13px; color:var(--grey); line-height:1.6; }

/* ══ FORMS ══ */
.form-group { margin-bottom:18px; }
.form-label { display:block; font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--grey); margin-bottom:8px; font-weight:600; }
.form-input, .form-select, .form-textarea,
input[type=text], input[type=email], input[type=number], textarea, select {
  width:100%; background:var(--dark3); border:1px solid rgba(255,255,255,0.08);
  color:var(--white); font-family:'Montserrat',sans-serif; font-size:14px;
  padding:13px 15px; border-radius:2px; outline:none; transition:border-color .2s; appearance:none;
}
.form-input:focus, input[type=text]:focus, input[type=email]:focus,
input[type=number]:focus, textarea:focus, select:focus { border-color:var(--orange); }
.form-textarea, textarea { resize:vertical; min-height:110px; }
select { cursor:pointer; }
select option { background:var(--dark3); }
input[type=checkbox] { width:18px; height:18px; accent-color:var(--orange); cursor:pointer; }
.form-error, .field-error { font-size:12px; color:#f08080; margin-top:5px; }

/* ══ FILE UPLOAD ══ */
.upload-zone {
  position:relative; border:1.5px dashed rgba(240,78,31,0.35);
  border-radius:3px; background:var(--dark3); padding:28px 20px;
  text-align:center; cursor:pointer; transition:border-color .2s,background .2s; margin-bottom:12px;
}
.upload-zone:hover, .upload-zone.drag-over { border-color:var(--orange); background:rgba(240,78,31,0.06); }
.upload-zone input[type=file] { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.upload-icon  { font-size:30px; margin-bottom:8px; display:block; pointer-events:none; }
.upload-title { font-size:14px; font-weight:700; margin-bottom:4px; pointer-events:none; }
.upload-hint  { font-size:12px; color:var(--grey); line-height:1.5; pointer-events:none; }
.upload-hint strong { color:var(--orange); }
.upload-formats { display:flex; justify-content:center; gap:8px; margin-top:12px; flex-wrap:wrap; pointer-events:none; }
.upload-fmt { font-size:10px; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; padding:4px 10px; border:1px solid var(--border); color:var(--grey); border-radius:1px; }
.file-list { display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.file-item { display:flex; align-items:center; gap:12px; background:var(--dark3); border:1px solid var(--border); border-radius:3px; padding:11px 14px; animation:fileIn .25s ease both; }
@keyframes fileIn { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.file-type-badge { font-family:'Bebas Neue',sans-serif; font-size:12px; letter-spacing:1px; padding:3px 8px; border-radius:1px; flex-shrink:0; }
.file-type-badge.stl { background:var(--orange); color:var(--dark); }
.file-type-badge.pdf { background:#4A90D9; color:#fff; }
.file-name   { font-size:13px; font-weight:600; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-size   { font-size:11px; color:var(--grey); flex-shrink:0; }
.file-remove { background:none; border:none; cursor:pointer; color:var(--grey); font-size:18px; line-height:1; flex-shrink:0; transition:color .15s; }
.file-remove:hover { color:var(--orange); }
.upload-no-file { font-size:12px; color:var(--grey); margin-bottom:16px; padding:10px 13px; background:var(--dark3); border-radius:3px; border-left:2px solid var(--border); }
.file-error { background:rgba(220,50,50,.1); border:1px solid rgba(220,50,50,.3); color:#f08080; font-size:12px; padding:9px 12px; border-radius:3px; margin-bottom:8px; }

/* ══ FOOTER ══ */
.footer { background:var(--dark2); border-top:1px solid var(--border); padding:56px 48px 36px; position:relative; z-index:1; }
.footer-top { display:flex; justify-content:space-between; flex-wrap:wrap; gap:36px; margin-bottom:40px; padding-bottom:40px; border-bottom:1px solid var(--border-dim); }
.footer-logo { font-family:'Bebas Neue',sans-serif; font-size:30px; letter-spacing:4px; margin-bottom:10px; }
.footer-logo span { color:var(--orange); }
.footer-tagline { font-size:13px; color:var(--grey); line-height:1.6; max-width:200px; }
.footer-col-title { font-size:11px; letter-spacing:2.5px; text-transform:uppercase; color:var(--orange); font-weight:700; margin-bottom:18px; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:9px; }
.footer-links a { color:var(--grey); text-decoration:none; font-size:14px; transition:color .2s; }
.footer-links a:hover { color:var(--white); }
.footer-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; color:var(--grey); font-size:12px; }

/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
.fade-in { opacity:0; transform:translateY(18px); transition:opacity .6s ease,transform .6s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ══ KNOWLEDGE & MODELS ══ */
.filter-row { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.filter-btn { font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; text-decoration:none; color:var(--grey); padding:8px 16px; border:1px solid var(--border-dim); border-radius:2px; transition:all .2s; }
.filter-btn:hover { border-color:var(--orange); color:var(--white); }
.filter-btn.active { background:var(--orange); border-color:var(--orange); color:var(--white); }

.articles-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:2px; }
.article-card { display:block; text-decoration:none; background:var(--dark2); padding:28px 24px; border-top:3px solid transparent; transition:border-color .2s; color:var(--white); }
.article-card:hover { border-color:var(--orange); }
.article-card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.article-cat    { font-size:11px; color:var(--grey); letter-spacing:1px; text-transform:uppercase; }
.article-title  { font-size:17px; font-weight:800; line-height:1.3; margin-bottom:10px; }
.article-excerpt{ font-size:13px; color:var(--grey); line-height:1.65; margin-bottom:16px; }
.article-meta   { display:flex; justify-content:space-between; font-size:11px; color:var(--grey); }

.article-diff, .model-diff { font-size:10px; letter-spacing:1.5px; text-transform:uppercase; font-weight:700; padding:3px 8px; border-radius:1px; }
.diff-beginner, .diff-easy       { background:rgba(76,175,80,.15); color:#81C784; }
.diff-intermediate, .diff-medium { background:rgba(255,193,7,.12);  color:#FFD54F; }
.diff-advanced, .diff-hard       { background:rgba(240,78,31,.15);  color:var(--orange); }

.article-body { font-size:15px; line-height:1.75; color:var(--grey2); }
.article-body h2 { font-family:'Bebas Neue',sans-serif; font-size:32px; letter-spacing:1px; color:var(--white); margin:40px 0 14px; }
.article-body h3 { font-size:18px; font-weight:700; color:var(--white); margin:28px 0 10px; }
.article-body p  { margin-bottom:16px; }
.article-body ul, .article-body ol { padding-left:20px; margin-bottom:16px; }
.article-body li { margin-bottom:6px; }
.article-body code { font-family:monospace; background:var(--dark3); padding:2px 7px; border-radius:2px; font-size:13px; color:var(--orange); }
.article-body pre { background:var(--dark3); border:1px solid var(--border-dim); padding:20px; border-radius:3px; overflow-x:auto; margin-bottom:20px; }
.article-body blockquote { border-left:3px solid var(--orange); padding-left:20px; color:var(--grey2); font-style:italic; margin:20px 0; }
.article-body img { max-width:100%; border-radius:3px; border:1px solid var(--border-dim); }
.article-body a { color:var(--orange); }
.article-body strong { color:var(--white); }

.models-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:16px; }
.model-card { background:var(--dark2); border:1px solid var(--border-dim); border-radius:3px; overflow:hidden; transition:border-color .2s; }
.model-card:hover { border-color:var(--orange); }
.model-preview { height:200px; background:var(--dark3); position:relative; overflow:hidden; }
.model-preview img { width:100%; height:100%; object-fit:cover; }
.model-preview .model-diff { position:absolute; top:10px; right:10px; }
.model-preview-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:56px; }
.model-body    { padding:20px; }
.model-title   { font-size:15px; font-weight:700; margin-bottom:8px; }
.model-title a { color:var(--white); text-decoration:none; }
.model-title a:hover { color:var(--orange); }
.model-desc    { font-size:12px; color:var(--grey); line-height:1.6; margin-bottom:12px; }
.model-params  { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; font-size:11px; color:var(--grey); }
.model-actions { display:flex; gap:8px; flex-wrap:wrap; }
.model-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }

.pagination { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:56px; }
.page-btn { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border:1px solid var(--border-dim); text-decoration:none; color:var(--white); font-size:16px; border-radius:2px; transition:all .2s; }
.page-btn:hover { border-color:var(--orange); color:var(--orange); }
.page-current { font-size:13px; color:var(--grey); }


/* ══ ПЛАНШЕТ (до 1024px) ══ */
@media(max-width:1024px) {
  .hero-visual{display: none;}
  .hero { grid-template-columns:1fr; padding:100px 32px 60px; }
  
  .hero-title { font-size:clamp(60px,12vw,110px); }
  .process-steps { grid-template-columns:1fr 1fr; }
  .order-inner { grid-template-columns:1fr; gap:40px; }
  .services-header { flex-direction:column; align-items:flex-start; }
  .model-detail-grid { grid-template-columns:1fr; gap:28px; }
}


/* ══ МОБИЛЬНЫЕ (до 768px) ══ */
@media(max-width:768px) {
  /* Navbar */
  .navbar { padding:0 16px; height:56px; }
  .nav-links { display:none; }
  .nav-burger { display:flex; }
  .nav-links.open {
    display:flex; flex-direction:column;
    position:fixed; top:56px; left:0; right:0; bottom:0;
    background:var(--dark2); padding:24px 16px; gap:16px;
    z-index:99; overflow-y:auto; border-top:1px solid var(--border);
  }
 .nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark2);
  
  height:max-content;
  gap: 0;
  z-index: 99;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  line-height: 45px;
}
.nav-links.open li {
  border-bottom: 1px solid var(--border-dim);
}
.nav-links.open a {
  display: block;
  padding:  0;
  font-size: 18px !important;
  letter-spacing: 3px;
  color: var(--white) !important;
}
.nav-links.open a:hover {
  color: var(--orange) !important;
}
.nav-links.open .nav-cta {
  margin-top: 24px;
  background: var(--orange) !important;
  text-align: center;
  padding: 16px 24px !important;
  border-radius: 2px;
}

  /* Hero */
  .hero { padding:80px 16px 48px; grid-template-columns:1fr; min-height:auto; }
  .hero-title { font-size:clamp(48px,13vw,80px); line-height:.95; }
  .hero-sub { font-size:15px; margin-bottom:24px; }
  .hero-actions { flex-direction:column; gap:10px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width:100%; font-size:13px; }
  .hero-stats { gap:20px; margin-top:32px; padding-top:20px; }
  .stat-val { font-size:32px; }
  

  /* Sections */
  section { padding:48px 16px; }
  .section-title { font-size:clamp(34px,9vw,52px); }

  /* Ticker */
  .ticker-wrap { padding:10px 0; }
  .ticker-item { font-size:13px; padding:0 18px; }

  /* Services */
  .services-grid { grid-template-columns:1fr; }
  .services-header .btn-primary { width:100%; }
  .service-card { padding:24px 18px; }

  /* Process */
  .process-steps { grid-template-columns:1fr; border:none; gap:2px; }
  .step { border-right:none; border-bottom:1px solid var(--border); padding:22px 18px; }
  .step:last-child { border-bottom:none; }
  .step-num { font-size:44px; }

  /* Order */
  .order-inner { grid-template-columns:1fr; gap:28px; }
  .order-info-item { gap:12px; }
  .order-info-icon { width:36px; height:36px; font-size:15px; }

  /* Upload */
  .upload-zone { padding:20px 12px; }

  /* Footer */
  .footer { padding:40px 16px 24px; }
  .footer-top { flex-direction:column; gap:24px; }
  .footer-logo { font-size:24px; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }

  /* Alerts */
  .messages-wrap { padding:64px 16px 0; }

  /* Knowledge & Models */
  .articles-grid { grid-template-columns:1fr; }
  .models-grid   { grid-template-columns:1fr; gap:12px; }
  .filter-row { gap:6px; }
  .filter-btn { font-size:11px; padding:6px 10px; }
  .pagination { margin-top:32px; }
}

/* ══ МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 380px) ══ */
@media(max-width:380px) {
  .hero-title { font-size:44px; }
  .navbar { padding:0 12px; }
  section { padding:36px 12px; }
  .hero { padding:70px 12px 36px; }
  .footer { padding:32px 12px 20px; }
  .stat-val { font-size:28px; }
}

.hero-cube {
  width:180px; height:180px;
  position:relative; margin:0 auto 12px;
  animation:floatCube 4s ease-in-out infinite;
}
.cube-front {
  width:140px; height:140px; bottom:0; left:20px;
  background:rgba(240,78,31,0.1); border:2px solid var(--orange);
  display:flex; align-items:center; justify-content:center;
  font-family:'Bebas Neue',sans-serif; font-size:64px;
  letter-spacing:4px; color:var(--orange);
}
.cube-top {
  width:140px; height:44px; bottom:140px; left:20px;
  background:rgba(240,78,31,0.07);
  border:2px solid rgba(240,78,31,0.5); border-bottom:none;
  transform:skewX(-45deg) scaleY(0.6); transform-origin:bottom left;
}
.cube-right {
  width:44px; height:140px; bottom:0; left:160px;
  background:rgba(240,78,31,0.05);
  border:2px solid rgba(240,78,31,0.35); border-left:none;
  transform:skewY(-45deg) scaleX(0.6); transform-origin:top left;
}
.hero-specs { display:flex; flex-direction:column; gap:8px; width:100%; }
.hero-spec-item {
  display:flex; align-items:center; gap:16px;
  background:var(--dark2); border:1px solid var(--border-dim);
  border-left:3px solid var(--orange);
  padding:14px 18px; border-radius:3px; transition:background .2s;
}
.hero-spec-item:hover { background:rgba(240,78,31,0.05); }
.spec-icon  { font-size:22px; flex-shrink:0; width:28px; text-align:center; }
.spec-title { font-size:15px; font-weight:700; margin-bottom:3px; letter-spacing:0.3px; }
.spec-sub   { font-size:12px; color:var(--grey); letter-spacing:0.3px; }
