/* ============================================================
   DE-ARM — корпоративный сайт (лендинг + каталог)
   Светлая тема в фирменном стиле каталога ДЭ-ГРУПП:
   белый фон, синие плашки #0080FF, Oswald + моноширинный текст.
   Тёмными остаются шапка, hero-баннер и подвал.
   ============================================================ */

:root{
  --blue:#0080ff;
  --blue-dark:#0071e0;
  --blue-soft:#e8f2fe;
  --blue-line:#c4dcf8;
  --bg:#f6f6f6;
  --panel:#ffffff;
  --line:#e3e8ee;
  --line2:#cfdae5;
  --txt:#10151b;
  --muted:#5d6b7a;
  --muted2:#8a97a6;
  --ok:#12a150;
  --warn:#d97706;
  --radius:18px;
  --font-head:'Oswald','Arial Narrow',system-ui,sans-serif;
  --font-body:'JetBrains Mono','Consolas',monospace;
  --shadow:0 10px 30px rgba(13,42,80,.08);
  --shadow-hover:0 18px 40px rgba(13,42,80,.14);
  /* тёмные поверхности (шапка/hero/подвал) */
  --dark0:#04080f;
  --dark1:#0a1420;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--txt);
  font-size:13.5px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
::selection{background:rgba(0,128,255,.25)}

.container{width:min(1240px,92%);margin-inline:auto}

/* ---------- типографика ---------- */
.kicker{
  display:inline-block;
  font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--blue);
  border:1.5px solid var(--blue);
  border-radius:8px;
  padding:7px 16px;
  background:#fff;
}
.kicker.solid{background:var(--blue);color:#fff}
h1,h2,h3{font-family:var(--font-head);line-height:1.15;font-weight:600;text-transform:uppercase}
.h2{font-size:clamp(26px,3.4vw,44px);letter-spacing:.01em;color:var(--txt)}
.section-head{max-width:760px;margin-bottom:44px}
.section-head .lead{color:var(--muted);margin-top:16px;font-size:13.5px}
.section{padding:92px 0;position:relative}
.section.tint{background:var(--bg);border-block:1px solid var(--line)}
.section.white{background:#fff}

.bp-bg{
  background-image:
    linear-gradient(rgba(0,128,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,128,255,.05) 1px,transparent 1px);
  background-size:24px 24px;
}

/* ---------- кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:13px 26px;border-radius:999px;
  font-size:12.5px;font-weight:700;letter-spacing:.04em;
  transition:.2s ease;white-space:nowrap;
}
.btn svg{width:16px;height:16px;flex:none}
.btn-primary{
  background:var(--blue);color:#fff;
  box-shadow:0 8px 22px rgba(0,128,255,.32);
}
.btn-primary:hover{background:var(--blue-dark);transform:translateY(-1px);box-shadow:0 12px 28px rgba(0,128,255,.4)}
.btn-ghost{
  border:1.5px solid var(--line2);color:var(--txt);background:#fff;
}
.btn-ghost:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-1px)}
.btn-sm{padding:9px 18px;font-size:12px}

/* ---------- шапка (тёмная на всех страницах) ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:60;
  background:linear-gradient(180deg,rgba(5,10,18,.92),rgba(5,10,18,.78));
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(130,170,220,.16);
}
.header-in{display:flex;align-items:center;gap:26px;height:74px}
.logo img{height:30px;width:auto}
.main-nav{display:flex;gap:22px;margin-inline:auto}
.main-nav a{
  font-size:12px;font-weight:500;color:#c9d6e6;letter-spacing:.04em;
  padding:6px 2px;position:relative;transition:color .2s;
}
.main-nav a::after{
  content:'';position:absolute;left:0;bottom:0;width:0;height:2px;
  background:var(--blue);transition:width .22s;border-radius:2px;
}
.main-nav a:hover{color:#fff}
.main-nav a:hover::after{width:100%}
.header-actions{display:flex;align-items:center;gap:14px}
.header-contacts{display:flex;flex-direction:column;gap:2px}
.header-phone{font-size:13px;font-weight:700;color:#e6eef8;white-space:nowrap}
.header-mail{font-size:12.5px;font-weight:600;color:#c9d6e6;white-space:nowrap}
.header-mail:hover{color:#fff}
.header-inn{
  background:none;border:0;padding:0;margin:0;text-align:left;cursor:pointer;
  font-family:inherit;font-size:10px;font-weight:400;color:#8296ad;letter-spacing:.05em;
}
.header-inn:hover{color:#c9d6e6}
.header-phone small{display:block;font-size:9.5px;font-weight:400;color:#8296ad;letter-spacing:.06em}
.icon-btn{
  width:40px;height:40px;border-radius:12px;border:1px solid rgba(130,170,220,.25);
  display:grid;place-items:center;color:#c9d6e6;transition:.2s;background:rgba(255,255,255,.05);
}
.icon-btn:hover{border-color:var(--blue);color:#fff}
.icon-btn svg{width:19px;height:19px}
.burger{display:none}

/* ---------- мобильное меню (тёмное) ---------- */
.drawer{position:fixed;inset:0;z-index:70;pointer-events:none}
.drawer-overlay{position:absolute;inset:0;background:rgba(2,5,10,.66);opacity:0;transition:.25s;backdrop-filter:blur(3px)}
.drawer-panel{
  position:absolute;top:0;right:0;height:100%;width:min(360px,88vw);
  background:linear-gradient(160deg,#0a1424,#060c16);
  border-left:1px solid rgba(130,170,220,.2);
  transform:translateX(102%);transition:transform .28s ease;
  display:flex;flex-direction:column;padding:26px 26px 34px;gap:6px;overflow-y:auto;
}
.drawer.open{pointer-events:auto}
.drawer.open .drawer-overlay{opacity:1}
.drawer.open .drawer-panel{transform:none}
.drawer-panel .logo{margin-bottom:18px}
.drawer-panel a.dlink{
  padding:12px 4px;font-size:14px;font-weight:500;color:#d5e0ee;
  border-bottom:1px solid rgba(130,170,220,.14);transition:color .2s;
}
.drawer-panel a.dlink:hover{color:var(--blue)}
.drawer-close{position:absolute;top:18px;right:18px}
.drawer-foot{margin-top:auto;display:grid;gap:12px;padding-top:24px}
.drawer-foot .header-phone{font-size:16px}

/* ---------- hero (тёмный, как обложка каталога) ---------- */
.hero{position:relative;min-height:94vh;display:flex;align-items:center;overflow:hidden}
.hero-bg{
  position:absolute;inset:0;
  background:url('../img/hero-bg.jpg') right center/cover no-repeat;
  opacity:.6;
}
.hero-veil{position:absolute;inset:0;background:
  linear-gradient(90deg,#050b14 4%,rgba(5,11,20,.9) 30%,rgba(5,11,20,.32) 68%,rgba(5,11,20,.5) 100%),
  linear-gradient(0deg,#050b14 0%,transparent 24%,transparent 78%,rgba(5,11,20,.85) 100%);
}
.hero-gridlines{position:absolute;inset:0;opacity:.45}
.hero .container{position:relative;padding:112px 0 90px;width:min(1240px,92%)}
.hero .kicker{background:transparent;border-color:rgba(0,128,255,.85);color:#4db2ff}
.hero h1{
  font-size:clamp(36px,5.4vw,70px);
  font-weight:600;
  letter-spacing:.02em;
  margin:20px 0 22px;max-width:840px;color:#fff;
  text-shadow:0 4px 40px rgba(2,6,14,.8);
}
.hero h1 .accent{color:#3aa9ff;text-shadow:0 0 32px rgba(0,128,255,.4)}
.hero .sub{max-width:580px;color:#b8c7d9;font-size:13.5px;margin-bottom:34px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}

.hero-stats{
  margin-top:64px;
  border:1px solid rgba(130,170,220,.22);border-radius:18px;
  background:rgba(7,13,24,.55);backdrop-filter:blur(10px);
  display:grid;grid-template-columns:repeat(5,1fr);
}
.hero-stats .stat{
  padding:18px 20px;display:flex;align-items:center;gap:12px;
  border-left:1px solid rgba(130,170,220,.18);
}
.hero-stats .stat:first-child{border-left:none}
.stat svg{width:24px;height:24px;color:#3aa9ff;flex:none}
.stat b{display:block;font-family:var(--font-head);font-size:15px;font-weight:600;line-height:1.25;text-transform:uppercase;letter-spacing:.03em;color:#eef4fb}
.stat span{font-size:11px;color:#8ba0b8}

.hero-deco{
  position:absolute;right:4%;top:16%;width:min(340px,28vw);opacity:.55;pointer-events:none;
  filter:drop-shadow(0 0 24px rgba(0,128,255,.3));
  animation:float 9s ease-in-out infinite;
}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}

/* ---------- компактные серые плитки категорий без декоративных теней ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:10px;max-width:1160px;margin:0 auto}
.cat-tile{
  position:relative;border:1px solid #d8dde2;border-radius:10px;
  background:#f1f2f3;overflow:hidden;transition:background-color .18s,border-color .18s;
  display:flex;flex-direction:column;box-shadow:none;
}
.cat-tile:hover{border-color:#aeb7bf;background:#e9ecef;box-shadow:none;transform:none}
.cat-media{
  height:106px;display:grid;place-items:center;position:relative;
  background:transparent;
  border-bottom:1px solid #d8dde2;
}
.cat-media img{
  max-height:86px;max-width:76%;width:auto;
  filter:none;
  transition:transform .2s;
}
.cat-media img.photo-tile{filter:none;border-radius:0}
.cat-tile:hover .cat-media img{transform:scale(1.025)}
.cat-body{padding:8px 5px 9px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px}
.cat-body h3{font-size:11px;letter-spacing:.02em;color:var(--txt);line-height:1.25}
.cat-body small{font-size:8.5px;line-height:1.45;color:#6f7983;font-weight:400;font-family:var(--font-body);text-transform:none;letter-spacing:0}
.cat-arrow{display:none}

/* ---------- о компании ---------- */
.about-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:56px;align-items:stretch}
.about-media{
  display:grid;
}
.about-media img{
  width:100%;height:100%;min-height:420px;object-fit:cover;border-radius:20px;border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.about-text p{color:var(--muted);margin-top:16px;font-size:13.5px}
.about-list{margin-top:24px;display:grid;gap:12px}
.about-list li{list-style:none;display:flex;gap:12px;align-items:flex-start;color:#2c3a49;font-size:12.5px}
.about-list svg{width:18px;height:18px;color:var(--blue);flex:none;margin-top:3px}

.cert-list{margin-top:30px;border-top:1px solid var(--line);padding-top:22px;display:grid;gap:14px}
.cert-list .cl-row{display:flex;gap:14px;align-items:flex-start}
.cl-badge{
  flex:none;min-width:64px;text-align:center;
  font-family:var(--font-head);font-size:13px;font-weight:600;letter-spacing:.06em;
  color:var(--blue);border:1.5px solid var(--blue-line);background:var(--blue-soft);
  border-radius:9px;padding:8px 12px;
}
.cl-row div b{font-size:12.5px;font-weight:700;display:block}
.cl-row div span{color:var(--muted);font-size:11.5px}

/* ---------- таймлайн истории ---------- */
.timeline{display:grid;grid-template-columns:1fr 1fr;gap:34px 56px}
.tl-item{position:relative;padding-left:0}
.tl-year{
  display:inline-block;background:var(--blue);color:#fff;
  font-family:var(--font-head);font-size:14px;font-weight:600;letter-spacing:.08em;
  border-radius:9px;padding:5px 16px;
}
.tl-item h3{font-size:15px;letter-spacing:.03em;margin:12px 0 8px;color:var(--txt)}
.tl-item p{color:var(--muted);font-size:12.5px}

/* ---------- география и партнеры ---------- */
.geo-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.geo-map{
  border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;box-shadow:var(--shadow);
}
.geo-map img{width:100%}
.geo-side .geo-badge{
  display:inline-flex;align-items:center;gap:12px;
  border:1.5px solid var(--blue-line);background:var(--blue-soft);border-radius:14px;
  padding:14px 20px;margin-bottom:22px;
}
.geo-badge svg{width:26px;height:26px;color:var(--blue);flex:none}
.geo-badge b{font-family:var(--font-head);font-size:15px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;display:block}
.geo-badge span{font-size:11.5px;color:var(--muted)}
.geo-partners{
  border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:var(--shadow);
  margin-bottom:22px;
}
.geo-partners img{width:100%}
.city-chips{display:flex;flex-wrap:wrap;gap:8px}
.city-chip{
  font-size:11px;color:#33465a;border:1px solid var(--line2);background:#fff;
  border-radius:999px;padding:5px 13px;
}

/* ---------- преимущества ---------- */
.adv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.adv-card{
  border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 24px;background:#fff;transition:.22s;position:relative;
}
.adv-card:hover{transform:translateY(-4px);border-color:var(--blue-line);box-shadow:var(--shadow-hover)}
.adv-ico{
  width:52px;height:52px;border-radius:12px;display:grid;place-items:center;margin-bottom:18px;
  background:#fff;border:1px solid var(--line2);color:var(--txt);
}
.adv-ico svg{width:26px;height:26px}
.adv-card h3{font-size:15.5px;margin-bottom:8px;letter-spacing:.03em;color:var(--txt)}
.adv-card p{color:var(--muted);font-size:12.5px}

/* ---------- применение ---------- */
.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.app-card{
  border:1px solid var(--line);border-radius:var(--radius);padding:24px;
  display:flex;gap:16px;align-items:flex-start;background:#fff;transition:.22s;
}
.app-card:hover{transform:translateY(-3px);border-color:var(--blue-line);box-shadow:var(--shadow)}
.app-ico{
  width:52px;height:52px;flex:none;border-radius:12px;display:grid;place-items:center;
  border:1px solid var(--line2);background:#fff;
}
.app-ico .app-img{width:30px;height:30px;object-fit:contain}
.app-card h3{font-size:14.5px;margin-bottom:6px;letter-spacing:.03em;color:var(--txt)}
.app-card p{color:var(--muted);font-size:12px}

/* ---------- подбор ---------- */
#select{scroll-margin-top:126px}
.select-panel{
  border:1px solid var(--line);border-radius:20px;background:#fff;
  padding:32px;box-shadow:var(--shadow);
}
.select-panel form{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:14px;align-items:end}
.field label{display:block;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted2);margin-bottom:8px}
.field select,.field input,.form input,.form textarea{
  width:100%;background:#fff;border:1.5px solid var(--line2);border-radius:11px;
  padding:12px 14px;font-size:12.5px;color:var(--txt);outline:none;transition:.2s;
}
.field select:focus,.field input:focus,.form input:focus,.form textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,128,255,.15)}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6b7a' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:34px}
.field select option{background:#fff}

/* ---------- детали трубопровода ---------- */
.fit-cap{
  display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:#0f66b8;background:#d9eafb;border-radius:7px;padding:4px 10px;
}
.parts-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:40px;align-items:stretch}
.parts-media{
  border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,#fbfdff,#eef4fa);
  display:grid;place-items:center;padding:40px;min-height:380px;box-shadow:var(--shadow);
}
.parts-media img{max-width:100%;max-height:430px;width:auto;filter:drop-shadow(0 16px 30px rgba(13,42,80,.16))}
.parts-list{display:flex;flex-direction:column}
.part-row{padding:18px 4px;border-bottom:1px solid var(--line);display:flex;gap:18px;align-items:flex-start}
.part-row:first-child{padding-top:0}
.part-row .fit-cap{flex:none;min-width:104px;text-align:center;margin-top:2px}
.part-row h3{font-size:15px;letter-spacing:.03em;color:var(--txt)}
.part-row p{color:var(--muted);font-size:12px;margin-top:4px}
.part-row .fit-specs{margin-left:auto;flex:none;align-self:center;font-size:10.5px;color:var(--muted2);white-space:nowrap}
@media (max-width:900px){
  .parts-grid{grid-template-columns:1fr}
  .parts-media{min-height:280px;padding:28px}
  .part-row{flex-wrap:wrap}
  .part-row .fit-specs{margin-left:122px;white-space:normal}
}
@media (max-width:680px){
  .part-row .fit-specs{margin-left:0}
}

/* ---------- документы ---------- */
.doc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.doc-card{
  border:1px solid var(--line);border-radius:var(--radius);padding:24px;
  background:#fff;display:flex;flex-direction:column;gap:12px;transition:.22s;
}
.doc-card:hover{transform:translateY(-3px);border-color:var(--blue-line);box-shadow:var(--shadow)}
.doc-card .doc-ico{
  width:46px;height:46px;border-radius:12px;display:grid;place-items:center;
  color:var(--txt);border:1px solid var(--line2);background:#fff;
}
.doc-card .doc-ico svg{width:22px;height:22px}
.doc-card h3{font-size:14.5px;letter-spacing:.03em;color:var(--txt)}
.doc-card p{color:var(--muted);font-size:12px;flex:1}
.doc-card .btn{align-self:flex-start}

/* ---------- сертификаты ---------- */
.cert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cert-tile{
  border:1px solid var(--line);border-radius:var(--radius);
  padding:28px 22px;text-align:center;background:#fff;transition:.22s;position:relative;
}
.cert-tile::after{
  content:'';position:absolute;inset:10px;border:1.5px dashed var(--blue-line);border-radius:12px;pointer-events:none;
}
.cert-tile:hover{transform:translateY(-3px);border-color:var(--blue-line);box-shadow:var(--shadow)}
.cert-tile b{font-family:var(--font-head);font-size:24px;font-weight:600;letter-spacing:.06em;color:var(--blue);display:block}
.cert-tile span{display:block;margin-top:10px;font-size:11.5px;color:var(--muted)}

/* ---------- контакты ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:40px;align-items:start}
.contact-info{display:grid;gap:14px}
.ci-row{
  display:flex;gap:16px;padding:18px;border:1px solid var(--line);border-radius:14px;
  background:#fff;align-items:flex-start;
}
.ci-row .ci-ico{
  width:44px;height:44px;flex:none;border-radius:12px;display:grid;place-items:center;
  color:var(--txt);border:1px solid var(--line2);background:#fff;
}
.ci-row .ci-ico svg{width:20px;height:20px}
.ci-row b{font-size:14px;font-weight:700;display:block}
.ci-row b a:hover{color:var(--blue)}
.ci-row span{color:var(--muted);font-size:12px}
.contact-form-panel{
  border:1px solid var(--line);border-radius:20px;padding:30px;background:#fff;box-shadow:var(--shadow);
}
.contact-form-panel h3{font-size:18px;margin-bottom:6px;letter-spacing:.03em;color:var(--txt)}
.contact-form-panel .note{color:var(--muted);font-size:12.5px;margin-bottom:20px}
.form{display:grid;gap:14px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form .consent{display:flex;gap:10px;align-items:flex-start;font-size:11.5px;color:var(--muted)}
.form .consent input{width:17px;height:17px;margin-top:2px;accent-color:var(--blue);flex:none}
.form-success{display:none;text-align:center;padding:36px 20px}
.form-success.show{display:block}
.form-success .fs-ico{
  width:64px;height:64px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;
  background:#e9f9f0;border:1.5px solid #b7e6cd;color:var(--ok);
}
.form-success .fs-ico svg{width:30px;height:30px}
.form-success h4{font-family:var(--font-head);text-transform:uppercase;font-size:17px;letter-spacing:.04em;margin-bottom:8px;color:var(--txt)}
.form-success p{color:var(--muted);font-size:12.5px}

/* ---------- карточка предприятия ---------- */
.req-card{
  margin-top:34px;border:1px solid var(--line);border-radius:20px;
  background:#fff;overflow:hidden;box-shadow:var(--shadow);
}
.req-head{
  padding:22px 30px;border-bottom:1px solid var(--line);
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
}
.req-head .req-ico{
  width:46px;height:46px;border-radius:12px;display:grid;place-items:center;flex:none;
  border:1px solid var(--line2);color:var(--txt);background:#fff;
}
.req-head .req-ico svg{width:22px;height:22px}
.req-head h3{font-size:16px;letter-spacing:.03em;color:var(--txt)}
.req-head p{font-size:11.5px;color:var(--muted2);margin-top:3px}
.req-body{padding:14px 30px 26px}
.req-row{
  display:grid;grid-template-columns:250px 1fr;gap:14px;
  padding:11px 0;border-bottom:1px solid var(--line);font-size:12.5px;
}
.req-row:last-child{border-bottom:none}
.req-row span{color:var(--muted2);padding-top:1px}
.req-row b{font-weight:700;color:#22303f;line-height:1.55}

/* ---------- подвал (тёмный) ---------- */
.site-footer{background:var(--dark0);border-top:1px solid rgba(130,170,220,.14);padding:56px 0 0;margin-top:40px;color:#aebccb}
.site-footer .f-col h4{color:#e6edf6}
.site-footer .f-col a{color:#9db0c4}
.site-footer .f-col a:hover{color:#3aa9ff}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:36px;padding-bottom:44px}
.footer-grid .logo img{height:28px}
.footer-grid p{color:#8498ae;font-size:12.5px;margin-top:16px;max-width:320px}
.f-col h4{font-family:var(--font-head);font-size:13px;text-transform:uppercase;letter-spacing:.14em;margin-bottom:16px}
.f-col a{display:block;font-size:12.5px;padding:5px 0;transition:color .2s}
.f-col .fc-line{display:flex;gap:10px;font-size:12.5px;padding:5px 0;align-items:flex-start;color:#9db0c4}
.f-col .fc-line svg{width:16px;height:16px;color:#3aa9ff;flex:none;margin-top:3px}
.footer-bottom{
  border-top:1px solid rgba(130,170,220,.14);padding:20px 0;
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  color:#6f8399;font-size:11.5px;
}
.footer-bottom a:hover{color:#3aa9ff}

/* ============================================================
   КАТАЛОГ
   ============================================================ */
.page-head{padding:172px 0 34px;position:relative}
.page-head::after{content:'';position:absolute;inset:auto 0 0;border-bottom:1px solid var(--line)}
.crumbs{font-size:11.5px;color:var(--muted2);margin-bottom:14px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--blue)}
.page-head h1{font-size:clamp(26px,3.6vw,44px);letter-spacing:.01em;color:var(--txt)}
.page-head .lead{color:var(--muted);margin-top:12px;max-width:640px}

.cat-toolbar{display:flex;gap:14px;align-items:center;margin:26px 0 18px;flex-wrap:wrap}
.search-box{flex:1;min-width:240px;position:relative}
.search-box>svg{position:absolute;left:15px;top:23px;transform:translateY(-50%);width:18px;height:18px;color:var(--muted2)}
.search-box input{
  width:100%;background:#fff;border:1.5px solid var(--line2);border-radius:999px;
  padding:12px 18px 12px 44px;font-size:12.5px;outline:none;transition:.2s;
}
.search-box input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,128,255,.15)}
.search-examples{display:flex;align-items:center;gap:2px 9px;flex-wrap:wrap;margin:7px 16px 0;font-size:12px;line-height:1.5;color:var(--muted2)}
.search-examples button{min-height:28px;padding:3px 1px;color:#0f66b8;background:none;border:0;border-bottom:1px dashed #9fc7e9;cursor:pointer;transition:color .2s,border-color .2s}
.search-examples button:hover{color:var(--blue-dark);border-color:var(--blue-dark)}
.search-examples button:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:2px}
.search-insight{margin:7px 18px 0;color:var(--muted);font-size:12px;line-height:1.55}
@media (max-width:680px){
  .search-examples{margin-left:8px;margin-right:8px}
  .search-examples button{min-height:44px}
}
.sort-select{
  background:#fff;border:1.5px solid var(--line2);border-radius:999px;
  padding:12px 38px 12px 18px;font-size:12px;color:var(--txt);outline:none;appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235d6b7a' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 15px center;
}
.sort-select option{background:#fff}
.filters-toggle{display:none}

.cat-chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px}
.chip{
  display:inline-flex;align-items:center;gap:9px;min-height:44px;
  padding:8px 19px 8px 12px;border-radius:999px;border:1px solid var(--line2);
  font-size:13px;font-weight:700;color:#33465a;transition:.2s;background:#fff;cursor:pointer;
}
.chip:hover{border-color:var(--blue);color:var(--blue)}
.chip:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.chip.active{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 6px 18px rgba(0,128,255,.3)}
.chip .cnt{opacity:.7;font-weight:400;font-size:12px}
.chip .chip-img{height:28px;width:auto;max-width:34px;object-fit:contain}

.catalog-layout{display:grid;grid-template-columns:262px 1fr;gap:26px;align-items:start;margin-bottom:60px}

.filters{
  border:1px solid var(--line);border-radius:18px;padding:22px;
  background:#fff;position:sticky;top:96px;box-shadow:var(--shadow);
}
.filters h3{font-size:13px;letter-spacing:.12em;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center;color:var(--txt)}
.filters h3 .reset{font-family:var(--font-body);font-size:11px;font-weight:700;color:var(--blue);text-transform:none;letter-spacing:0;padding:3px 8px;border-radius:8px}
.filters h3 .reset:hover{background:var(--blue-soft)}
.f-group{border-top:1px solid var(--line);padding:16px 0}
.f-group:first-of-type{border-top:none;padding-top:0}
.f-group > b{display:block;font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted2);margin-bottom:11px}
.f-group .f-list{max-height:190px;overflow:auto;padding-right:6px;display:grid;gap:8px}
.f-group .f-list::-webkit-scrollbar{width:4px}
.f-group .f-list::-webkit-scrollbar-thumb{background:#c9d6e4;border-radius:4px}
.f-check{display:flex;align-items:center;gap:9px;font-size:12px;color:#2c3a49;cursor:pointer}
.f-check input{width:15px;height:15px;accent-color:var(--blue);flex:none}
.f-check .cnt{color:var(--muted2);font-size:10.5px;margin-left:auto}

.catalog-main{min-width:0}
.results-meta{margin-bottom:16px;font-size:12.5px;color:var(--muted)}
.results-line{display:flex;justify-content:space-between;align-items:center;gap:14px}
.results-found{flex:none;white-space:nowrap}
.results-meta b{color:var(--txt)}
.results-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.results-sort{
  width:auto;min-width:0;max-width:210px;height:36px;margin:0;padding:7px 30px 7px 13px;
  font-size:11px;background-position:right 11px center;
}
.view-toggle{display:flex;align-items:center;gap:3px;flex:none}
.view-label{margin-right:5px;font-size:11px;color:var(--muted2)}
.view-toggle button{
  min-height:36px;padding:7px 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border:1px solid var(--line2);border-radius:8px;background:#fff;color:var(--muted);
  font-size:11px;font-weight:600;line-height:1;cursor:pointer;transition:background .2s,border-color .2s,color .2s;
}
.view-toggle button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.view-toggle button:hover{border-color:var(--blue-line);color:var(--blue);background:var(--blue-soft)}
.view-toggle button.active{border-color:var(--blue);background:var(--blue-soft);color:var(--blue-dark)}
.view-toggle button:active{transform:translateY(1px)}
.active-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.active-tags:empty{display:none}
.atag{
  display:inline-flex;align-items:center;gap:6px;
  border:1px solid var(--blue-line);border-radius:999px;
  padding:4px 11px;font-size:11px;color:#0f66b8;background:var(--blue-soft);
}
.atag button{color:var(--blue);display:grid;place-items:center}
.atag button:hover{color:var(--blue-dark)}
.atag svg{width:11px;height:11px}

.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(258px,1fr));gap:18px}
.p-card{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:#fff;display:flex;flex-direction:column;transition:.22s;position:relative;
}
.p-card:hover{transform:translateY(-4px);border-color:var(--blue-line);box-shadow:var(--shadow-hover)}
.p-media{
  height:172px;display:grid;place-items:center;position:relative;cursor:pointer;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.p-media img{max-height:140px;max-width:70%;width:auto;transition:transform .3s}
.p-media img.photo{max-height:142px;max-width:76%;border-radius:10px}
.p-card:hover .p-media img{transform:scale(1.06)}
.p-badge{
  position:absolute;top:10px;left:10px;z-index:2;
  font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:4px 10px;border-radius:999px;display:inline-flex;align-items:center;gap:6px;
  background:#fff;border:1px solid var(--line2);color:#33465a;
  box-shadow:0 2px 8px rgba(13,42,80,.08);
}
.p-badge .dot{width:6px;height:6px;border-radius:50%;background:var(--ok);box-shadow:0 0 6px rgba(18,161,80,.6)}
.p-badge.order .dot{background:var(--warn);box-shadow:0 0 6px rgba(217,119,6,.6)}
.p-badge.unknown .dot{background:var(--muted2);box-shadow:none}
.p-body{padding:16px 18px 6px;flex:1}
.p-cat{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:7px}
.p-name{font-size:13px;font-weight:700;line-height:1.5;cursor:pointer;transition:color .2s}
.p-name:hover{color:var(--blue)}
.p-brand{font-size:10.5px;color:var(--muted2);margin-top:5px}
.p-brand b{color:#3b4c5e}
.p-specs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 16px}
.spec{
  font-size:10px;font-weight:500;color:#46586c;
  border:1px solid var(--line2);border-radius:999px;padding:3px 10px;background:#f7fafc;
}
.p-foot{
  border-top:1px solid var(--line);padding:13px 18px;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.p-price b{font-family:var(--font-head);font-size:16px;letter-spacing:.02em;display:block;line-height:1.15;color:var(--txt)}
.p-price span{font-size:10px;color:var(--muted2)}
.p-actions{display:flex;gap:8px}
.p-actions .btn{padding:8px 15px;font-size:11.5px}

.catalog-foot{display:flex;justify-content:center;margin-top:28px}
.empty-state{
  border:1.5px dashed var(--line2);border-radius:18px;padding:64px 24px;text-align:center;color:var(--muted);background:#fff;
}
.empty-state svg{width:44px;height:44px;margin:0 auto 14px;color:var(--muted2)}
.empty-state b{display:block;font-family:var(--font-head);text-transform:uppercase;font-size:15px;color:var(--txt);margin-bottom:6px;letter-spacing:.04em}

/* ---------- модальные окна ---------- */
.modal-backdrop{
  position:fixed;inset:0;z-index:90;background:rgba(12,26,44,.55);backdrop-filter:blur(5px);
  display:grid;place-items:center;padding:20px;
  opacity:0;pointer-events:none;transition:.22s;
}
.modal-backdrop.open{opacity:1;pointer-events:auto}
.modal{
  width:min(880px,100%);max-height:92vh;overflow:auto;position:relative;
  border:1px solid var(--line);border-radius:22px;
  background:#fff;box-shadow:0 30px 80px rgba(6,20,40,.35);
  transform:translateY(14px) scale(.985);transition:.24s;
}
.modal-backdrop.open .modal{transform:none}
.modal-close{
  position:absolute;top:16px;right:16px;z-index:3;
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
  border:1px solid var(--line2);background:#fff;color:#4c5d70;transition:.2s;
}
.modal-close:hover{border-color:var(--blue);color:var(--blue)}
.modal-close svg{width:17px;height:17px}

.modal.product-modal .pm-grid{display:grid;grid-template-columns:330px 1fr}
.pm-media{
  border-right:1px solid var(--line);min-height:100%;
  display:grid;place-items:center;padding:36px;position:relative;
  background:#fff;
}
.pm-media img{max-height:250px;max-width:88%;width:auto;filter:drop-shadow(0 10px 22px rgba(13,42,80,.16))}
.pm-media img.photo{max-width:270px;height:auto;border-radius:14px;filter:none}
.pm-thumbs{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap;justify-content:center}
.pm-thumbs img{
  width:56px;height:46px;object-fit:cover;border-radius:8px;cursor:pointer;
  border:1.5px solid var(--line2);background:#fff;opacity:.75;transition:.2s;
}
.pm-thumbs img:hover{opacity:1}
.pm-thumbs img.active{border-color:var(--blue);opacity:1}
.pm-body{padding:30px 30px 26px}
.pm-cat{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue)}
.pm-body h3{font-size:19px;line-height:1.35;margin:10px 0 6px;letter-spacing:.01em;text-transform:none;color:var(--txt)}
.pm-model{font-size:11.5px;color:var(--muted2);margin-bottom:16px}
.pm-desc{color:var(--muted);font-size:12.5px;margin-bottom:18px}
.spec-table{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:20px}
.spec-table .row{
  display:grid;grid-template-columns:190px 1fr;gap:10px;
  padding:9px 15px;font-size:12px;border-top:1px solid var(--line);
}
.spec-table .row:first-child{border-top:none}
.spec-table .row:nth-child(odd){background:#f7fafc}
.spec-table .row span{color:var(--muted2)}
.spec-table .row b{font-weight:700;color:#22303f}
.pm-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pm-price b{font-family:var(--font-head);font-size:22px;color:var(--txt)}
.pm-price span{display:block;font-size:11px;color:var(--muted2)}
.pm-actions{display:flex;gap:10px;flex-wrap:wrap}

.modal.request-modal{width:min(520px,100%)}
.rm-body{padding:30px}
.rm-body h3{font-size:19px;letter-spacing:.02em;margin-bottom:8px;color:var(--txt)}
.rm-subject{
  font-size:12px;color:#0f66b8;border:1.5px dashed var(--blue-line);
  background:var(--blue-soft);border-radius:11px;padding:9px 14px;margin-bottom:18px;
}
.rm-body .form{margin-top:6px}

/* ============================================================
   ЕДИНЫЙ СТИЛЬ КАРТОЧЕК — серые поверхности, без теней и подъёма
   ============================================================ */
:root{
  --card-bg:#f1f2f3;
  --card-hover:#e9ecef;
  --card-line:#d8dde2;
  --card-line-hover:#aeb7bf;
}
:is(.cat-tile,.adv-card,.app-card,.doc-card,.cert-tile,.p-card,.filters,.select-panel,.contact-form-panel,.req-card,.ci-row,.empty-state){
  background:var(--card-bg);border-color:var(--card-line);box-shadow:none;
}
:is(.cat-tile,.adv-card,.app-card,.doc-card,.cert-tile,.p-card,.ci-row):hover{
  background:var(--card-hover);border-color:var(--card-line-hover);box-shadow:none;transform:none;
}
:is(.geo-map,.geo-partners,.about-media img,.parts-media){
  background:var(--card-bg);border-color:var(--card-line);box-shadow:none;
}
:is(.cat-tile,.adv-card,.app-card,.doc-card,.cert-tile,.p-card,.filters,.select-panel,.contact-form-panel,.req-card,.geo-map,.geo-partners,.parts-media,.about-media img){border-radius:12px}
.adv-grid,.app-grid,.doc-grid,.cert-grid{gap:16px}
.adv-card{padding:22px}
.adv-ico{width:46px;height:46px;margin-bottom:14px;border-color:#c9d0d6;background:#e7eaed}
.app-card{padding:20px;gap:14px}
.app-ico{width:46px;height:46px;border-color:#c9d0d6;background:#e7eaed}
.doc-card{padding:20px}
.doc-card .doc-ico{border-color:#c9d0d6;background:#e7eaed}
.cert-tile{padding:22px 20px}
.cert-tile::after{border-color:#c6cdd4;border-radius:8px}
.select-panel{padding:26px}
.contact-form-panel{padding:26px}
.ci-row{padding:16px}
.ci-row .ci-ico,.req-head .req-ico{border-color:#c9d0d6;background:#e7eaed}
.req-head{background:#e9ecef}
.parts-media{padding:32px;min-height:340px}
.parts-media img{filter:none}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.p-media{height:150px;background:var(--card-bg);border-bottom-color:var(--card-line)}
.p-media img{max-height:122px;max-width:72%}
.p-media img.photo{max-height:124px;max-width:78%;border-radius:0;mix-blend-mode:multiply}
.p-card:hover .p-media img{transform:scale(1.025)}
.p-body{padding:14px 16px 6px}
.p-foot{padding:12px 16px;border-top-color:var(--card-line);background:#e7eaed}
.p-badge{box-shadow:none}
.spec{background:#e7eaed;border-color:#c9d0d6}
.p-variant{
  display:inline-flex;align-items:center;gap:5px;min-height:27px;
  padding:2px 4px 2px 9px;border:1px solid var(--blue-line);border-radius:999px;
  background:#fff;color:var(--blue-dark);font-size:10px;font-weight:700;
}
.p-variant select{
  max-width:105px;min-height:23px;padding:2px 23px 2px 7px;border:0;border-radius:999px;
  appearance:none;cursor:pointer;outline:none;background-color:var(--blue-soft);color:var(--blue-dark);
  font-size:10px;font-weight:700;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230f66b8' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 7px center;
}
.p-variant select:hover{background-color:#dceeff}
.p-variant select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.filters{padding:20px}

/* ---------- вид каталога: компактная панель и список ---------- */
.product-grid.list-view{grid-template-columns:minmax(0,1fr)}
.product-grid.list-view .p-card{
  display:grid;grid-template-columns:160px minmax(0,1fr) 190px;
  min-height:180px;
}
.product-grid.list-view .p-media{
  height:100%;min-height:180px;border-bottom:0;border-right:1px solid var(--card-line);
}
.product-grid.list-view .p-media img{max-height:135px;max-width:82%}
.product-grid.list-view .p-media img.photo{max-height:138px;max-width:84%}
.product-grid.list-view .p-body{padding:20px 22px;align-self:center}
.product-grid.list-view .p-name{font-size:14px}
.product-grid.list-view .p-specs{margin-bottom:8px}
.product-grid.list-view .p-foot{
  padding:20px 18px;border-top:0;border-left:1px solid var(--card-line);
  flex-direction:column;align-items:stretch;justify-content:center;gap:16px;
}
.product-grid.list-view .p-actions .btn{width:100%;white-space:normal}
@media (max-width:680px){
  .results-line{gap:8px}
  .results-found{font-size:11px}
  .results-controls{flex:1;gap:6px}
  .results-sort{
    flex:1 1 auto;width:0;min-width:90px;max-width:145px;height:44px;
    padding:6px 23px 6px 9px;font-size:10px;background-position:right 8px center;
  }
  .view-toggle{gap:3px}
  .view-label,.view-toggle button span{display:none}
  .view-toggle button{width:44px;height:44px;min-height:44px;padding:0}
  .view-toggle button svg{width:18px;height:18px}
  .product-grid.list-view .p-card{grid-template-columns:112px minmax(0,1fr);min-height:0}
  .product-grid.list-view .p-media{min-height:152px;height:100%;border-right:1px solid var(--card-line);border-bottom:0}
  .product-grid.list-view .p-media img{max-height:110px;max-width:88%}
  .product-grid.list-view .p-media img.photo{max-height:112px;max-width:90%}
  .product-grid.list-view .p-badge{
    top:7px;left:7px;max-width:calc(100% - 14px);padding:3px 6px;gap:4px;
    font-size:7.5px;letter-spacing:.035em;white-space:normal;line-height:1.25;
  }
  .product-grid.list-view .p-badge .dot{width:4px;height:4px;flex:none}
  .product-grid.list-view .p-body{padding:14px 12px 10px;align-self:start}
  .product-grid.list-view .p-name{font-size:12px;line-height:1.4}
  .product-grid.list-view .p-specs{gap:4px;margin:9px 0 4px}
  .product-grid.list-view .spec{padding:3px 7px;font-size:9px}
  .product-grid.list-view .p-foot{
    grid-column:1/-1;padding:12px;flex-direction:row;align-items:center;gap:12px;
    border-left:0;border-top:1px solid var(--card-line);
  }
  .product-grid.list-view .p-actions .btn{width:auto}
}
@media (max-width:360px){
  .results-found{font-size:10px}
  .results-sort{min-width:82px;padding-left:7px;font-size:9px}
}
@media (prefers-reduced-motion:reduce){
  .view-toggle button{transition:none}
}

/* ---------- появление при скролле ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}

/* ---------- адаптив ---------- */
@media (max-width:1180px){
  .hero-stats{grid-template-columns:repeat(3,1fr)}
  .hero-stats .stat{border-top:1px solid rgba(130,170,220,.18)}
  .hero-stats .stat:nth-child(-n+3){border-top:none}
  .doc-grid,.cert-grid{grid-template-columns:repeat(2,1fr)}
  .select-panel form{grid-template-columns:repeat(2,1fr)}
  .select-panel form .btn{grid-column:1/-1}
  .timeline{gap:30px 40px}
}
@media (max-width:1020px){
  .main-nav{display:none}
  .burger{display:grid}
  .cat-grid{grid-template-columns:repeat(4,1fr)}
  .adv-grid,.app-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid,.geo-grid{grid-template-columns:1fr;gap:34px}
  .timeline{grid-template-columns:1fr}
  .catalog-layout{grid-template-columns:1fr}
  .filters{position:static;display:none}
  .filters.open{display:block}
  .filters-toggle{display:inline-flex}
  .modal.product-modal .pm-grid{grid-template-columns:1fr}
  .pm-media{border-right:none;border-bottom:1px solid var(--line);padding:28px}
}
@media (max-width:680px){
  .section{padding:66px 0}
  .header-actions .header-phone{display:none}
  .hero .container{padding-top:88px}
  .hero-stats{grid-template-columns:repeat(2,1fr)}
  .hero-stats .stat{border-top:1px solid rgba(130,170,220,.18);padding:14px 16px}
  .hero-stats .stat:nth-child(-n+2){border-top:none}
  .hero-stats .stat:nth-child(odd){border-left:none}
  .hero-deco{display:none}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .adv-grid,.app-grid,.doc-grid,.cert-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .select-panel form{grid-template-columns:1fr}
  .spec-table .row{grid-template-columns:150px 1fr}
  .hero-cta .btn{flex:1 1 auto}
  .req-head,.req-body{padding-left:20px;padding-right:20px}
  .req-row{grid-template-columns:1fr;gap:3px;padding:9px 0}
  .about-media img{height:260px}
}

/* ---------- кнопка «наверх» ---------- */
.to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:900;
  width:52px;
  height:52px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue);
  box-shadow:0 12px 28px rgba(0,128,255,.35);
  opacity:0;
  visibility:hidden;
  transform:translateY(14px);
  transition:opacity .25s ease,transform .25s ease,visibility .25s,background .2s ease;
}
.to-top svg{width:22px;height:22px;stroke:#fff;stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.to-top:hover{background:var(--blue-dark)}
.to-top:active{transform:translateY(1px)}
@media (max-width:760px){
  .to-top{right:14px;bottom:14px;width:46px;height:46px;border-radius:12px}
}

/* ---------- страница политики ---------- */
.legal{max-width:860px}
.legal h2{font-size:19px;margin:34px 0 12px;color:var(--ink, #12233a)}
.legal p{margin:10px 0;line-height:1.65;font-size:14.5px}
.legal ul{margin:10px 0 10px 22px;line-height:1.65;font-size:14.5px}
.legal li{margin:6px 0}
.legal a{color:var(--blue)}

/* ---------- cookie-баннер ---------- */
.cookie-bar{
  position:fixed;left:50%;bottom:18px;transform:translate(-50%,140%);
  z-index:950;width:min(720px,calc(100% - 28px));
  display:flex;align-items:center;gap:18px;
  background:#0e1c2e;color:#dbe7f5;border:1px solid rgba(130,170,220,.25);
  border-radius:16px;padding:14px 18px;box-shadow:0 18px 44px rgba(4,12,24,.45);
  font-size:13px;line-height:1.5;
  transition:transform .35s ease;
}
.cookie-bar.show{transform:translate(-50%,0)}
.cookie-bar a{color:var(--blue);text-decoration:underline}
.cookie-bar .btn{flex:none}
@media (max-width:640px){
  .cookie-bar{flex-direction:column;align-items:flex-start;gap:10px}
}

/* ---------- подсказка «ближайшие позиции» ---------- */
.relax-note{
  grid-column:1/-1;background:#fff8e6;border:1px solid #f0dfa8;color:#6b5410;
  padding:12px 16px;border-radius:12px;font-size:13px;line-height:1.55;
}
.relax-note a{color:var(--blue)}

/* ---------- аварийная бегущая строка ---------- */
.outage-bar{
  position:fixed;top:0;left:0;right:0;z-index:70;height:38px;
  background:#c81e1e;color:#fff;display:flex;align-items:center;overflow:hidden;
  box-shadow:0 2px 10px rgba(120,0,0,.35);
}
.outage-track{
  display:flex;flex:none;white-space:nowrap;
  font-size:13px;font-weight:600;letter-spacing:.02em;
  animation:outage-scroll 25s linear infinite;
}
.outage-track span{padding-right:80px;display:inline-block}
@keyframes outage-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
section[id]{scroll-margin-top:160px}
@media (max-width:640px){
  .outage-track{font-size:12px}
}

/* ---------- вторая строка под меню: контакты ---------- */
.sub-header{
  position:fixed;top:74px;left:0;right:0;z-index:59;height:36px;
  display:flex;align-items:center;
  background:rgba(5,10,18,.72);backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(130,170,220,.12);
  font-size:12.5px;
}
.sub-header-in{display:flex;align-items:center;gap:24px}
.sub-header a{color:#dbe7f5;font-weight:600;white-space:nowrap}
.sub-header a:hover{color:#fff}
.sub-header a small{color:#8296ad;font-weight:400;margin-right:6px;font-size:10px;letter-spacing:.05em}
.sub-header .header-inn{font-size:11px}
.sub-header .sub-right{margin-left:auto;color:#8296ad;white-space:nowrap}
@media (max-width:900px){
  .sub-header{display:none}
}

/* ---------- страница полного описания товара ---------- */
:where(a,button,input,select,textarea):focus-visible{
  outline:3px solid rgba(0,128,255,.48);
  outline-offset:3px;
}
.pm-details{width:100%;margin-top:2px}
.product-page{padding:146px 0 72px;min-height:70vh}
.product-back{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
  margin-bottom:16px;color:var(--muted);font-size:12.5px;font-weight:700;
  transition:color .2s ease;
}
.product-back:hover{color:var(--blue)}
.product-back svg{width:16px;height:16px;transform:rotate(180deg)}
.product-overview{
  display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  overflow:hidden;background:#fff;border:1px solid var(--card-line);border-radius:12px;
}
.product-gallery{
  min-width:0;min-height:500px;padding:38px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:var(--card-bg);border-right:1px solid var(--card-line);
}
.product-main-photo-wrap{width:100%;min-height:340px;display:grid;place-items:center}
.product-main-photo{max-width:100%;max-height:360px;width:auto;height:auto;object-fit:contain}
.product-thumbs{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:24px}
.product-thumb{
  width:68px;height:60px;padding:4px;border:1.5px solid var(--line2);border-radius:9px;
  display:grid;place-items:center;background:#fff;opacity:.72;cursor:pointer;
  transition:opacity .2s ease,border-color .2s ease;
}
.product-thumb:hover{opacity:1;border-color:var(--blue)}
.product-thumb.active{border-color:var(--blue);opacity:1}
.product-thumb img{max-width:100%;max-height:48px;object-fit:contain}
.product-summary{min-width:0;padding:40px;display:flex;flex-direction:column;justify-content:center}
.product-category{
  color:var(--blue);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
}
.product-summary h1{
  margin:12px 0 10px;font-size:clamp(25px,3vw,36px);line-height:1.25;
  letter-spacing:.01em;text-transform:none;overflow-wrap:anywhere;
}
.product-code{color:var(--muted2);font-size:12px;overflow-wrap:anywhere}
.product-stock{
  width:fit-content;display:inline-flex;align-items:center;gap:7px;margin-top:18px;
  padding:5px 11px;border:1px solid #b7e6cd;border-radius:999px;
  background:#e9f9f0;color:#137844;font-size:11px;font-weight:700;
}
.product-stock::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--ok)}
.product-stock.order{border-color:#ecd6ae;background:#fff7e8;color:#8b5b0b}
.product-stock.order::before{background:var(--warn)}
.product-stock.unknown{border-color:var(--line2);background:var(--card-bg);color:var(--muted)}
.product-stock.unknown::before{background:var(--muted2)}
.product-lead{margin:20px 0 24px;color:var(--muted);font-size:14px;line-height:1.7;max-width:65ch}
.product-purchase{
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding-top:24px;border-top:1px solid var(--line);
}
.product-price b{display:block;font-family:var(--font-head);font-size:30px;line-height:1.2;color:var(--txt)}
.product-price span{display:block;margin-top:4px;color:var(--muted2);font-size:11px}
.product-top-actions{display:flex;gap:10px;flex-wrap:wrap}
.product-top-actions .btn{min-height:46px}
.product-details-grid{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;
  align-items:start;margin-top:24px;
}
.product-details-card{min-width:0;padding:32px;background:#fff;border:1px solid var(--card-line);border-radius:12px}
.product-details-card h2{margin:8px 0 20px;font-size:28px;text-transform:none}
.product-section-kicker{color:var(--blue);font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.product-description{max-width:70ch;color:#435163;font-size:15px;line-height:1.75}
.product-description p+p{margin-top:16px}
.product-notes{list-style:none;margin-top:24px;display:grid;gap:12px}
.product-notes li{position:relative;padding-left:20px;color:#435163;font-size:13.5px;line-height:1.65}
.product-notes li::before{
  content:'';position:absolute;left:0;top:.68em;width:7px;height:7px;border-radius:2px;background:var(--blue);
}
.product-specs{margin:0}
.product-specs .row{grid-template-columns:minmax(130px,.85fr) minmax(0,1.15fr);padding:12px 15px;font-size:13px}
.product-specs .row b{overflow-wrap:anywhere}
.product-state{
  min-height:320px;padding:48px 24px;display:grid;place-content:center;gap:14px;text-align:center;
  background:#fff;border:1px solid var(--card-line);border-radius:12px;color:var(--muted);
}
.product-state h1{font-size:28px;text-transform:none;color:var(--txt)}
.product-state .btn{justify-self:center;margin-top:8px}
@media (max-width:1020px){
  .product-details-grid{grid-template-columns:1fr}
}
@media (max-width:900px){
  .product-page{padding-top:106px}
  .product-overview{grid-template-columns:1fr}
  .product-gallery{min-height:420px;border-right:none;border-bottom:1px solid var(--card-line)}
}
@media (max-width:680px){
  .product-page{padding-bottom:48px}
  .product-gallery{min-height:340px;padding:28px 18px}
  .product-main-photo-wrap{min-height:250px}
  .product-main-photo{max-height:270px}
  .product-summary{padding:28px 20px}
  .product-summary h1{font-size:25px}
  .product-purchase{align-items:flex-start}
  .product-top-actions{width:100%}
  .product-top-actions .btn{width:100%;white-space:normal}
  .product-details-card{padding:26px 20px}
  .product-details-card h2{font-size:25px}
  .product-description{font-size:14px}
  .pm-actions{width:100%}
  .pm-actions .btn:not(.pm-details){flex:1 1 180px;white-space:normal}
}
@media (max-width:420px){
  .product-specs .row{grid-template-columns:1fr;gap:3px}
}
@media (prefers-reduced-motion:reduce){
  .product-back,.product-thumb{transition:none}
}

/* вторая бегущая строка под баннером (в потоке, не фиксированная) */
.outage-bar--static{position:static;height:38px}

/* ---------- импортированные описания и технические таблицы ---------- */
.product-technical{margin-top:24px}
.product-description h2,.product-description h3,.product-description h4,
.product-technical-content h2,.product-technical-content h3,.product-technical-content h4{
  margin:24px 0 12px;font-size:20px;line-height:1.35;text-transform:none;
}
.product-description ul,.product-description ol,
.product-technical-content ul,.product-technical-content ol{
  margin:16px 0;padding-left:24px;
}
.product-description li,.product-technical-content li{margin:8px 0}
.product-selection-note{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.product-table-scroll{max-width:100%;margin:20px 0;overflow-x:auto;overscroll-behavior-inline:contain}
.product-table-scroll table{
  width:max-content;min-width:100%;border-collapse:collapse;
  color:#435163;font-size:12.5px;line-height:1.55;
}
.product-table-scroll th,.product-table-scroll td{
  padding:10px 12px;border:1px solid var(--line);text-align:left;vertical-align:top;
  overflow-wrap:anywhere;
}
.product-table-scroll th{background:#e9ecef;color:var(--txt);font-weight:700}
.product-table-scroll tr:nth-child(even) td{background:#f7fafc}
.product-technical-content{max-width:100%;color:#435163;font-size:14px;line-height:1.75}
.product-technical-content p+p{margin-top:16px}
@media (max-width:680px){
  .product-table-scroll table{font-size:12px}
  .product-table-scroll th,.product-table-scroll td{padding:8px 9px}
  .product-technical-content{font-size:14px}
}
