/* ============================================================
   MACHINE CSS — производственные мощности (станки и оборудование)
   Взят из дизайна prototype/indmet-production(4).html
   Цвета согласованы с style.css: navy #0C447C, blue #185FA5,
   sky #E6F1FB, sky2 #B5D4F4, line #dfe5ec, muted #5a6675
   ============================================================ */




/* === Спецификации в детальной (сетка характеристик участка) === */
.unit-specs{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:8px}
.unit-spec{background:#fff;border:1px solid #dfe5ec;border-radius:14px;padding:18px 20px;transition:border-color .22s,box-shadow .22s}
.unit-spec:hover{border-color:#185FA5;box-shadow:0 8px 24px #0c447c14}
.unit-spec dt{font-size:.8rem;color:#185FA5;letter-spacing:.06em;text-transform:uppercase;font-weight:700;margin:0 0 4px}
.unit-spec dd{margin:0;line-height:1.6;font-size:.95rem;color:#1A1918}

/* === Hero (верхний блок из прототипа: "Роботизированное напыление и сварка") === */
.hero{background:#0C447C;color:#fff;border-radius:0 0 26px 26px;position:relative;overflow:hidden}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 50%,rgba(255,255,255,.045) 50% 51%,transparent 51% 62%,rgba(255,255,255,.035) 62% 74%,transparent 74%)}
.hero:after{content:"";position:absolute;width:360px;height:360px;border:42px solid rgba(255,255,255,.055);border-radius:50%;right:-130px;top:-170px}
.hero-in{padding:48px 0 40px;position:relative;z-index:1}
.hero .crumbs{font-size:.76rem;color:#B5D4F4;margin-bottom:19px}
.hero .crumbs a{color:#fff}
.hero-grid{display:grid;grid-template-columns:1.45fr .8fr;gap:52px;align-items:end}
.hero .machine-eyebrow{color:#B5D4F4}
.hero h1{font-size:clamp(2rem,5vw,3.55rem);line-height:1.04;letter-spacing:-.035em;max-width:820px;margin:0 0 18px;font-weight:600}
.hero .machine-lead{color:#d7e7f6;max-width:750px;margin-bottom:26px;font-size:1.05rem;line-height:1.65}
.hero-actions{display:flex;gap:11px;flex-wrap:wrap}
.hero .cta{background:#fff;border-color:#fff;color:#0C447C}
.hero .cta.ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.25)}
.hero-small{font-size:.8rem;color:#d7e7f6;margin:15px 0 0}
.hero-visual{position:relative;margin:0;align-self:stretch;min-height:390px;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.08)}
.hero-visual img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.hero-visual .unit-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.hero-visual .unit-placeholder svg{width:110px;height:110px;color:rgba(255,255,255,.75)}

.limit-note{font-size:.875rem;margin:15px 0 0;color:#cfe1f2}

/* === CTA-кнопки (из прототипа hero/cta-band) === */
.cta{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #185FA5;background:#185FA5;color:#fff;padding:10px 17px;border-radius:9px;font-weight:650;font-size:.88rem;transition:.15s;cursor:pointer}
.cta:hover{background:#0C447C;border-color:#0C447C;transform:translateY(-1px)}
.cta.ghost{background:#fff;color:#0C447C;border-color:#cdd6e0}
.cta.ghost:hover{background:#E6F1FB;border-color:#B5D4F4}
.first-screen .cta{background:#fff;border-color:#fff;color:#0C447C}
.first-screen .cta.ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.25)}
.first-screen-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:6px}

/* === Производственные операции (operation-nav/tile из прототипа) === */
.operation-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.operation-tile{position:relative;background:#fff;border:1px solid #dfe5ec;border-radius:14px;padding:23px;display:flex;flex-direction:column;align-items:flex-start;color:#0C447C;min-height:220px;transition:background .2s,border-color .2s,transform .2s;text-decoration:none}
.operation-tile:hover,.operation-tile:focus-visible{background:#E6F1FB;border-color:#185FA5;transform:translateY(-3px)}
.operation-tile h3{font-size:1.08rem;margin:0 0 12px;font-weight:600;line-height:1.25}
.operation-tile p{font-size:.9rem;line-height:1.45;color:#5a6675;margin:0 0 16px}
.operation-tile .operation-icon{width:60px;height:60px;padding:10px;background:#E6F1FB;border-radius:14px;flex-shrink:0;transition:background .2s,color .2s;color:#185FA5}
.operation-tile:hover .operation-icon{background:#0C447C;color:#fff}
.op-top{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:23px}
.op-number{font-size:.85rem;color:#5a6675}
.op-open{font-size:.875rem;font-weight:700;margin-top:auto;color:#185FA5;opacity:.6;transition:opacity .2s,transform .2s}
.operation-tile:hover .op-open,.operation-tile:focus-visible .op-open{opacity:1;transform:translateX(3px)}
.operation-tile:hover .icon-sweep,.operation-tile:focus-visible .icon-sweep{animation:op-sweep 1.3s ease-in-out infinite alternate}
.operation-tile:hover .icon-spin,.operation-tile:focus-visible .icon-spin{animation:op-spin 2.5s linear infinite}
.operation-tile:hover .icon-spark,.operation-tile:focus-visible .icon-spark{animation:op-glow 1.2s ease-in-out infinite alternate}
@keyframes op-sweep{from{transform:translate(0,0)}to{transform:translate(0,2px)}}
@keyframes op-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes op-glow{from{opacity:.35}to{opacity:1}}








/* === Адаптив (брейкпоинты из прототипа) === */
@media (max-width:1080px){
  .production-unit{grid-template-columns:1fr}
  .production-unit.reverse .unit-figure{order:0}
  .unit-figure{min-height:280px}
  .unit-figure img{object-position:center}
  .unit-copy{padding:26px}
  .unit-specs{grid-template-columns:1fr}
  .operation-nav{grid-template-columns:repeat(2,1fr)}
  .equipment{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:25px}
  .hero-visual{min-height:300px}
}
@media (max-width:766px){
  .machine-section-head{display:block}
  .unit-copy{padding:24px}
  .unit-copy h3{font-size:1.45rem}
  .production-unit{margin-top:16px}
  .operation-tile{min-height:0}
  .operation-tile:hover,.operation-tile:focus-visible{transform:none}
  .op-top{margin-bottom:16px}
  .operation-nav{grid-template-columns:1fr}
  .equipment{grid-template-columns:1fr}
  .spec-grid{grid-template-columns:1fr}
  .spec:nth-child(odd){border-right:none}
  .spec+ .spec{border-top:1px solid #dfe5ec}
  .machining-limits{grid-template-columns:1fr}
  .hero-in{padding:34px 0 30px}
  .hero-visual{min-height:250px}
  .metric-strip{grid-template-columns:1fr 1fr;margin-top:30px}
  .hm{min-height:84px}
}
