/* NEW CSS */
html{scroll-behavior:smooth}
body { font-family:"Inter", "Segoe UI", system-ui, -apple-system, sans-serif; color:#16202e; font-size:16px; font-weight:300; position:relative; background:#f5f7fa}
a { font-family:"Inter", "Segoe UI", system-ui, -apple-system, sans-serif; color:#16202e; font-size:16px; font-weight:300; text-decoration:none; }
a:hover { font-family:"Inter", "Segoe UI", system-ui, -apple-system, sans-serif; color:#16202e; font-size:16px; font-weight:300; text-decoration:none; }

a, img, input, button, textarea, select { outline:none; }

* { margin:0; padding:0; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -o-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box; }
.clearfix:after { clear:both; content:""; display:block; font-size:0; height:0; visibility:hidden; }

a, .trans { -webkit-transition:all 0.5s ease; -moz-transition:all 0.5s ease; -ms-transition:all 0.5s ease; -o-transition:all 0.5s ease; transition:all 0.5s ease; }

.preloader { background-image:linear-gradient( -45deg,#C819AE 0%, #191722 100%); position:fixed; left:0; top:0; right:0; bottom:0; z-index:10; display:none}


#wrapper { position:relative; overflow:hidden; padding-top:140px}
.wrapper { width:1200px; margin:auto; }
.wrapper.small { max-width:760px}


.btn { display:flex; align-items:center; justify-content:center; padding:10px 10px; border-radius:10px; color:#5a6675; font-size:14px; font-weight:500; cursor:pointer; border:1px solid #dfe5ec; white-space:nowrap; -webkit-transition:all 0.5s ease; -moz-transition:all 0.5s ease; -ms-transition:all 0.5s ease; -o-transition:all 0.5s ease; transition:all 0.5s ease; }
.btn:hover {  background:#E6F1FB; color:#0C447C; border-color:#dfe5ec; font-size:14px; }
.btn:hover svg .hover {fill:#239211; }

.btn.blue { color: #fff; background: #185fa5}
.btn.blue:hover { background: #0C447C}

.btns { display:flex; width:100%; flex-direction:row; gap:10px; }
.btns a { list-style-type:none; flex-grow:1; }

.arrow-link { color:#185FA5; font-size:13px; font-weight:600; }
a.arrow-link, a.arrow-link:hover { color:#185FA5; font-size:13px; font-weight:600; }


strong { font-weight:700}
.center { text-align:center}

.sidebar { float:left; width:32%; }
.common { float:right; width:66%; }

.sidebar.reverse { float:right; }
.common.reverse { float:left; }

.row { display:flex; flex-direction:row; position:relative; z-index:1; margin:0 -10px}
.row .col { flex-grow:1; position:relative; min-height:46px; padding:10px; }

.row .col-12 { width:100%; }
.row .col-11 { width:91.666%; }
.row .col-10 { width:83.333%; }
.row .col-9 { width:75%; }
.row .col-8 { width:66.666%; }
.row .col-7 { width:58.333%; }
.row .col-6 { width:50%; }
.row .col-5 { width:41.333%; }
.row .col-4 { width:33.333%; }
.row .col-3 { width:25%; }
.row .col-2 { width:16.666%; }
.row .col-1 { width:8.333%; }

/* HEADER */
.header { position:absolute; top:0; left:0; width:100%; z-index:4; padding-top:10px; height:140px; background:#fff}
.header .first-line { padding-bottom:10px}

.header .logo { display:block; float:left; position:relative}
.header .logo a, .header .logo a img { display:block; width: 162px }

.header .phone { float:right; margin-top:15px; }
.header .phone a { color:#0C447C; font-size:16px; font-weight:600; display:flex; align-items:center; }
.header .phone svg { width:18px; height:18px; flex-shrink:0; margin-right:5px; }

.header .menu { }
.header .menu ul { display:flex; width:100%; flex-direction:row; gap:10px; }
.header .menu li { list-style-type:none; flex-grow:1; }
.header .menu li a.mi { position:relative; }

.header .menu li a.mi, .header .menu li a.contact {
    display:flex; align-items:center; justify-content:center; padding:10px 5px; border-radius:10px; color:#5a6675; font-size:14px; font-weight:500; cursor:pointer; border:1px solid transparent; white-space:nowrap; -webkit-transition:all 0.5s ease; -moz-transition:all 0.5s ease; -ms-transition:all 0.5s ease; -o-transition:all 0.5s ease; transition:all 0.5s ease; 
}

.header .menu li a.mi:hover, .header .menu li a.mi.active { background:#E6F1FB; color:#0C447C; border-color:#dfe5ec; }
.header .menu li a.mi svg { width:15px; height:15px; flex-shrink:0; margin-right:5px }
.header .menu li a.mi .chev { width:12px; height:12px; transition:transform .15s; margin-left:5px}
.header .menu li a.mi:hover .chev { transform:rotate(180deg); }
.header .menu li a.contact { background:#185FA5; color:#fff}
.header .menu li a.contact:hover { border:1px solid #0C447C; background:#0C447C}

.header .toggle-nav { display:none; float:right; position:relative; z-index:10; width:40px; height:40px; top:8px; border:1px solid #dfe5ec; border-radius:5px; margin-left:20px; }
.header .toggle-nav i { position:absolute; display:block; height:2px; background:#0C447C; width:20px; right:9px; }

.header .toggle-nav i:nth-child(1) { top:12px; }
.header .toggle-nav i:nth-child(2) { top:19px; }
.header .toggle-nav i:nth-child(3) { top:26px; }

.header .toggle-nav.active { border-radius:40px; }
.header .toggle-nav.active i:nth-child(1) { top:19px; -webkit-transform:rotateZ(45deg); -moz-transform:rotateZ(45deg); -o-transform:rotateZ(45deg); transform:rotateZ(45deg); }
.header .toggle-nav.active i:nth-child(2) { background:transparent; }
.header .toggle-nav.active i:nth-child(3) { top:19px; -webkit-transform:rotateZ(-45deg); -moz-transform:rotateZ(-45deg); -o-transform:rotateZ(-45deg); transform:rotateZ(-45deg); }


/* Форма в шапке */
.header-search { float:left; width:45%; margin:10px 0 0 10% }
.header-search form{border:1px solid #dfe5ec;border-radius:22px;background:#fff;overflow:hidden;transition:border-color .15s}
.header-search:focus-within{border-color:#185FA5}
.header-search input{ float: left; border:none;outline:none;background:transparent;padding:10px 10px 10px 20px;font-size:13px;width:calc(100% - 45px);color:#1A1918}
.header-search input::placeholder{color:#888480}
.header-search button{float: right; border:none;background:#E6F1FB;color:#185FA5;cursor:pointer;padding:10px 12px;display:flex;align-items:center;justify-content:center}
.header-search button:hover{background:#0C447C;color:#fff}
.header-search button svg{width:16px;height:16px}

/* Форма на странице результатов */
.search-page-form{display:flex;max-width:560px;margin:6px 0 0;border:1px solid rgba(255,255,255,.35);border-radius:24px;overflow:hidden;background:rgba(255,255,255,.1)}
.search-page-form input{flex:1;border:none;outline:none;background:transparent;color:#fff;padding:13px 20px;font-size:15px}
.search-page-form input::placeholder{color:#B5D4F4}
.search-page-form button{border:none;background:#fff;color:#0C447C;cursor:pointer;padding:0 22px;font-size:14px;font-weight:600;display:flex;align-items:center;gap:7px}
.search-page-form button:hover{background:#E6F1FB}
.search-page-form button svg{width:16px;height:16px}

/* Пустой результат */
.search-empty{color:#5a6675;font-size:15px;padding:20px;background:#fff;border:1px solid #dfe5ec;border-radius:14px}



/* BREADCRUMB */
.breadcrumbs { color:#B5D4F4; padding-bottom:10px; font-size:12px; }
.breadcrumbs ul { float:left}
.breadcrumbs ul li { float:left; list-style-type:none; color:#F9F9F9}
.breadcrumbs ul li a { color:#ffffff; font-size:12px; opacity:0.85; text-decoration:none}
.breadcrumbs ul li a:hover { opacity:1}
.breadcrumbs ul li:after { content:'›'; padding:0 10px}
.breadcrumbs ul li:last-child:after { display:none}
.breadcrumbs ul li:last-child a { color:#B5D4F4; }



/* FIRST SCREEN */
.first-screen { position:relative; color:#fff; padding:50px 0; font-weight:500; background:#0C447C; }
.first-screen::after { content:""; position:absolute; right:-80px; top:-80px; width:300px; height:300px; border:34px solid rgba(255, 255, 255, .05); border-radius:50%; }
.first-screen .badge { display:inline-block; background:rgba(255, 255, 255, .12); color:#fff; font-size:12px; padding:5px 12px; border-radius:20px; margin-bottom:16px; }
.first-screen .subname { font-size:11px; letter-spacing: .12em; color:#B5D4F4; font-weight:600; margin-bottom:10px; text-transform:uppercase}
.first-screen .title { z-index:1; position:relative; font-size:clamp(26px, 3.6vw, 40px); margin:0 0 14px 0; letter-spacing:-.01em; font-weight:600; line-height:1.2; }
.first-screen .title a { font-size:clamp(26px, 3.6vw, 40px); color:#fff; }
.first-screen p { font-size:16px; color:#B5D4F4; max-width:620px; margin-bottom:26px; }
.first-screen a { text-decoration:underline; color:#B5D4F4; }
.first-screen a:hover { text-decoration:none}
.first-screen .note { color: #fff; font-size: 14px}

.first-screen .metric-f {display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.16); margin-top:40px; border:1px solid rgba(255,255,255,.16); border-radius:15px; overflow:hidden}
.first-screen .hm {background:rgba(4,39,72,.45); padding:17px 18px; min-height:90px}
.first-screen .hm b {font-size:1.3rem; display:block; line-height:1.2}
.first-screen .hm span {font-size:.76rem; color:#B5D4F4; display:block; margin-top:6px}

.first-screen .category-btn { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:#fff !important; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); padding:6px 12px; border-radius:18px; margin-top:15px; text-decoration:none !important }
.first-screen .category-btn:hover { background:rgba(255,255,255,.2); font-size:12px; }
.first-screen .category-btn svg { width:13px; height:13px }


.first-screen .detail-photo { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; }
.first-screen .detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.first-screen .detail-photo figcaption { position: absolute; bottom: 12px; left: 12px; font-size: .75rem; background: #fffffff0; color:#0C447C; border-radius: 6px; padding: 4px 9px; }

.bar-btn ul { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.bar-btn ul li { list-style-type: none}
.bar-btn ul li a {font-size: 12px; border: 1px solid rgba(255, 255, 255, .28); color: #dce7f1; padding: 6px 12px; border-radius: 18px; transition: .12s; text-decoration: none; }
.bar-btn ul li a b { color: #fff}
.bar-btn ul li a:hover, .bar-btn ul li a.active { background: rgba(255,255,255,.14) }


.bg.white { background:#fff}
.bg.blue { background:#E6F1FB}

/* BLOCK */
.block { padding:45px 0}
.block-header { margin-bottom:24px; }
.block-header .badge { font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:#185FA5; font-weight:600; margin-bottom:10px; }
.block-header .badge span { display:inline-block; font-size:10px; font-weight:600; padding:2px 7px; border-radius:6px; background:#eaf3de; color:#1e7e34; vertical-align:1px; margin-left:6px; }
.block-header .title { font-size:clamp(21px, 2.6vw, 28px); margin-bottom:8px; font-weight:600; line-height:1.2; }
.block-header p { color:#5a6675; font-size:15px; }
.block-content { }

/* GRID */
.grid { display:grid; gap:15px; }
.grid.g3 { grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); }
.grid.g2 { grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); }

/* BOX */
.box { background:#ffffff; border:1px solid #dfe5ec; border-radius:15px; transition:.15s; display:block; overflow: hidden}
.box .box-content { padding: 15px}
.box .box-content .subname { color:#5a6675; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.box .box-content a.subname { color: #185FA5; text-decoration: underline; text-underline-offset: 2px; font-family: monospace; }
.box .box-content .ic { width: 42px; height: 42px; border-radius: 10px; background:#E6F1FB; display: flex; align-items: center; justify-content: center; margin-bottom: 14px }
.box .box-content .ic svg { width: 22px; height: 22px; color:#185FA5 }
.box .box-content .num { float: right; margin-top: 10px; color: #5a6675; font-size: 14px}

.box .box-content .lk { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color:#5a6675; display: flex; align-items: center; gap: 6px; margin-bottom: 8px}
.box .box-content .lk svg { width: 14px; height: 14px; color:#185FA5 }

.box .box-content h3 { font-size:16px; margin-bottom:5px; }
.box .box-content a h3 { margin-bottom: 0; color:#185FA5}
.box .box-content strong { color: #000}
.box .box-content p { color:#5a6675; font-size:14px; padding-bottom: 14px }
.box .box-content p:last-child { padding-bottom: 0}
a.box:hover { border-color:#185FA5; box-shadow:0 6px 18px rgba(12, 68, 124, .08); transform:translateY(-2px); }
.box .box-content ul { padding-left: 20px}
.box .box-content ul li { padding: 2px 0}

.box .box-header { padding: 10px 15px; font-size: 14px; font-weight: 600; }
.box .box-header.red {  background: #fcebeb; color: #b52a2a; }
.box .box-header.green {  background: #eaf3de; color: #2a5a0f; }




.vg-scroll{max-height:330px; overflow-y:auto; padding-right:4px}
.vg-scroll::-webkit-scrollbar{width:6px}
.vg-scroll::-webkit-scrollbar-thumb{background:#cdd6e0; border-radius:3px}
.vg-count{font-size:11px; color:#5a6675; margin:0 0 8px; display:flex; align-items:center; gap:5px}
.vg-count svg{width:13px; height:13px}


.vg { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px }
.vg-stage { position: relative; border-radius: 15px; overflow: hidden; background-color:linear-gradient(135deg,#0C447C,#185FA5); background-position:50% 50%; background-size: cover; aspect-ratio: 16/9; display: flex; align-items: flex-end; cursor: pointer; border: 1px solid #dfe5ec }
.vg-stage .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center }
.vg-stage .play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; transition: .15s }
.vg-stage .play span svg { width: 24px; height: 24px; color: #0C447C; margin-left: 3px }
.vg-stage:hover .play span { transform: scale(1.08) }
.vg-meta { position: relative; z-index: 1; width: 100%; padding: 16px 18px; background: linear-gradient(transparent,rgba(8,22,40,.8)) }
.vg-meta .t { color: #fff; font-size: 16px; font-weight: 600; margin: 0 }
.vg-meta .d { color: #cfe0f3; font-size: 12px; margin: 4px 0 0 }
.vg-list { display: flex; flex-direction: column; gap: 6px }
.vg-li { display: flex; gap: 11px; align-items: center; padding: 10px 11px; border-radius:10px; cursor: pointer; border: 1px solid transparent; transition: .12s }
.vg-li:hover,.vg-li.on { background: #E6F1FB; border-color: #cdd6e0 }
.vg-li .vt { width: 50px; height: 34px; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg,#0C447C,#185FA5); flex-shrink: 0; display: flex; align-items: center; justify-content: center}
.vg-li .vt img { display: block; width: 100%}
.vg-li .vx { min-width: 0 }
.vg-li .vx p { margin: 0; font-size: 13px; font-weight: 500; color: #16202e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.vg-li .vx span { font-size: 11px; color: #5a6675 }


/* ===== CASES SCROLLER ===== */
.case-nav {display:flex; gap:8px; margin-top: 22px; float: right}
.case-nav button{width:36px; height:36px; border-radius:50%; border:1px solid #cdd6e0; background:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; color:#0C447C; transition:.12s}
.case-nav button:hover{background:#E6F1FB}
.case-nav button svg{width:18px; height:18px}
.case-list.track {display:flex; gap:16px; overflow-x:auto; scroll-behavior:smooth; padding:2px 2px 14px; scroll-snap-type:x mandatory}
.case-list.track::-webkit-scrollbar{height:7px}
.case-list.track::-webkit-scrollbar-thumb{background:#cdd6e0; border-radius:4px}
.case-list .case-item {flex:0 0 300px; scroll-snap-align:start; background:#fff; border:1px solid #dfe5ec; border-radius:15px; overflow:hidden; cursor:pointer; transition:.15s}
.case-list .case-item:hover{border-color:#185FA5; transform:translateY(-3px); box-shadow:0 8px 20px rgba(12,68,124,.1)}
.case-list .case-item .thumb {aspect-ratio:16/10; background:linear-gradient(135deg,#0C447C,#185FA5); position:relative; display:flex; align-items:flex-end; background-size: cover}
.case-list .case-item .thumb .ind{position:absolute; top:11px; left:11px; font-size:11px; font-weight:600; padding:3px 10px; border-radius:6px; background:rgba(255,255,255,.94); color:#0C447C}
.case-list .case-item .thumb .ico{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:.5}
.case-list .case-item .thumb .ico svg{width:46px; height:46px; color:#fff}
.case-list .case-item .info {padding:14px 16px}
.case-list .case-item .info h3{font-size:16px; font-weight:600; margin:0 0 7px; line-height:1.25}
.case-list .case-item .info p{font-size:12.5px; color:#5a6675; margin:0 0 12px; line-height:1.45}
.case-list .case-item .info .foot {display:flex; align-items:flex-start; justify-content:space-between; border-top:1px solid #dfe5ec; padding-top:11px; gap:10px}
.case-list .case-item .info .c-metric{font-size:19px; font-weight:700; color:#185FA5; line-height:1}
.case-list .case-item .info .c-metric span{font-size:11px; color:#5a6675; font-weight:400; display:block; margin-top:3px}
.case-list .case-item .info .client{font-size:11px; color:#5a6675; text-align:right}
.case-list .case-item .info .verif{display:inline-flex; align-items:center; gap:3px; font-size:10px; color:#1e7e34; margin-top:4px; justify-content:flex-end; width:100%}
.case-list .case-item .info .verif svg{width:12px; height:12px}



.content p { color:#5a6675; font-size:14px; padding-bottom: 14px }
.content p:last-child { padding-bottom: 0}


.chain { font-size: 12px; color: #cdd6e0; padding-top: 40px}
.chain li { list-style-type: none; float: left; position: relative}
.chain li:after { position: absolute; content: '→'; right:10px; top: 6px; }
.chain li:last-child:after { display: none}
.chain a { display: block; border: 1px solid #cdd6e0; color: #5a6675; font-size: 12px; padding: 6px 12px; background: #fff; border-radius: 15px; margin-right: 30px}
.chain a.active { background: #0C447C; border-color: #0C447C; color: #fff; font-weight: 600}
.chain a:hover { border: 1px solid #0C447C; color: #0C447C; font-size: 12px; }




.metrics {display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:14px ; margin-bottom:18px}
.metric {background:#fff; border-radius:15px; padding:18px; text-align:left; border:1px solid #dfe5ec}
.metric .v {font-size:30px; font-weight:700; color:#0C447C; line-height:1}
.metric .l {font-size:12px; color:#5a6675; margin-top:6px}



/* ABOUT PAGE */
.timeline{position:relative; padding-left:28px}
.timeline::before{content:""; position:absolute; left:8px; top:4px; bottom:4px; width:2px; background:#cdd6e0}
.tl{position:relative; margin-bottom:20px}
.tl::before{content:""; position:absolute; left:-24px; top:4px; width:12px; height:12px; border-radius:50%; background:#185FA5; border:2px solid #fff; box-shadow:0 0 0 2px #cdd6e0}
.tl .y{font-size:13px; font-weight:700; color:#0C447C}
.tl p{font-size:14px; color:#5a6675; margin:3px 0 0; line-height:1.55}


.org-top{display:flex; justify-content:center; margin-bottom:8px}
.org-node{background:#fff; border:1px solid #cdd6e0; border-radius:10px; padding:10px 16px; text-align:center; min-width:150px}
.org-node.lead{background:#0C447C; color:#fff; border-color:#0C447C}
.org-node .t{font-size:14px; font-weight:600; margin:0}
.org-node .s{font-size:11px; opacity:.8; margin:2px 0 0}
.org-row{display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:8px}

.note { color:#5a6675; font-size: 12px; padding-top: 20px }

/* END ABOUT PAGE */


.field{margin-bottom:18px}
.field label{display:block; font-size:13px; font-weight:600; color:#16202e; margin-bottom:7px}
.field select,.field input,.field textarea{width:100%; padding:11px 13px; font-size:14px; border:1px solid #cdd6e0; border-radius:10px; background:#fff; font-family:inherit; color:#16202e}
.field select:focus,.field input:focus,.field textarea:focus{outline:none; border-color:#185FA5; box-shadow:0 0 0 3px rgba(24,95,165,.12)}

.im-status { font-size: 14px; font-weight: 600; margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; display: none; }
.im-status.ok { display: block; background: #E1F5EE; color: #0F6E56; }
.im-status.err { display: block; background: #FCEBEB; color: #791F1F; }

.row2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.result{background:#E6F1FB; border-radius:15px; padding:20px; margin-top:6px}
.result .big{font-size:32px; font-weight:700; color:#0C447C; line-height:1}
.result .sub{font-size:13px; color:#5a6675; margin-top:6px}
.doc-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:16px}
.doc{display:flex; gap:14px; background:#fff; border:1px solid #dfe5ec; border-radius:15px; padding:16px; transition:.14s}
.doc:hover{border-color:#185FA5; box-shadow:0 6px 16px rgba(12,68,124,.08)}
.doc .pdf{width:46px; height:46px; border-radius:9px; background:#fcebeb; color:#b52a2a; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:11px; font-weight:700}
.doc h3{font-size:15px; margin:0 0 4px}
.doc p{font-size:12px; color:#5a6675; margin:0 0 8px; line-height:1.4}
.doc .dl{font-size:12px; font-weight:600; color:#185FA5; display:inline-flex; align-items:center; gap:4px}

.team{display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:14px}
.member{background:#fff; border:1px solid #dfe5ec; border-radius:15; overflow:hidden; transition:.14s}
.member:hover{border-color:#185FA5; box-shadow:0 6px 16px rgba(12,68,124,.08)}
.member .ava{aspect-ratio:1; background:linear-gradient(135deg,#0C447C,#185FA5); background-size: cover; display:flex; align-items:center; justify-content:center; color:#fff; font-size:30px; font-weight:700}
.member .mb{padding:13px 14px}
.member .mb .fio{font-size:15px; font-weight:600; margin:0}
.member .mb .pos{font-size:12px; color:#185FA5; font-weight:600; margin:2px 0 7px}
.member .mb .fn{font-size:12px; color:#5a6675; margin:0 0 9px; line-height:1.45}
.member .mb .ct{font-size:12px; color:#0C447C; display:inline-flex; align-items:center; gap:5px}
.member .mb .ct svg{width:13px; height:13px}


.welcome{display:grid; grid-template-columns:160px 1fr; gap:24px; align-items:start}
.welcome .ph{width:160px; height:190px; border-radius:15px; background:linear-gradient(135deg,#0C447C,#185FA5); display:flex; align-items:center; justify-content:center; color:#fff; font-size:34px; font-weight:700}
.welcome blockquote{margin:0; font-size:16px; line-height:1.7; color:#16202e}
.welcome .sign{margin-top:14px; font-size:14px}
.welcome .sign b{color:#0C447C}
.welcome .sign span{color:#5a6675; display:block; font-size:13px}




/* === Карточка участка (production-unit из прототипа) === */
.machine-equipment-item{display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid #dfe5ec; border-radius:14px; background:#fff; overflow:hidden; margin-top:24px; transition:border-color .22s,box-shadow .22s,background .22s}
.machine-equipment-item.reverse .unit-figure{order:2}
.machine-equipment-item:is(:hover,:focus-within){border-color:#185FA5; box-shadow:0 8px 24px #0c447c14}

.machine-equipment-item .unit-figure{position:relative; margin:0; min-height:430px; background:#E6F1FB}
.machine-equipment-item .unit-figure img{width:100%; height:100%; object-fit:cover; position:absolute; inset:0}
.unit-figure .unit-placeholder{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#E6F1FB 0 55%,#d7e8f8 55% 56%,#E6F1FB 56% 72%,#cde0f5 72% 73%,#E6F1FB 73%)}
.machine-equipment-item .unit-figure .unit-placeholder svg{width:86px; height:86px; color:#185FA5; opacity:.55}
.machine-equipment-item .image-label{position:absolute; left:14px; bottom:14px; background:rgba(255,255,255,.95); color:#0C447C; font-size:.75rem; padding:4px 9px; border-radius:6px}

.machine-equipment-item .unit-copy{padding:34px}
.machine-equipment-item .unit-copy h3{font-size:1.65rem; color:#0C447C; margin:0 0 16px; font-weight:600; line-height:1.25}
.machine-equipment-item .unit-index{color:#185FA5; font-size:.875rem; font-weight:600; display:block; margin-bottom:10px}
.machine-equipment-item .unit-copy p{color:#5a6675; margin:0 0 18px; font-size:.95rem; line-height:1.65}
.machine-equipment-item .unit-copy dl{margin:0}
.machine-equipment-item .unit-copy dt{font-size:.8rem; color:#185FA5; letter-spacing:.06em; text-transform:uppercase; font-weight:700; margin-top:18px}
.machine-equipment-item .unit-copy dd{margin:4px 0 0; line-height:1.6; font-size:.95rem; color:#1A1918}
.machine-equipment-item .unit-benefit{border-top:1px solid #dfe5ec; padding-top:18px; margin-top:22px; color:#0C447C; font-weight:600; font-size:.95rem}


/* === Ссылка "Подробнее" (detail-entry из прототипа) === */
.detail-entry{display:flex; align-items:center; gap:12px; background:#E6F1FB; border:1px solid #B5D4F4; border-radius:10px; color:#0C447C; padding:15px 15px; margin:20px 0 0 0; font-size:16px; text-decoration:none}
.detail-entry .operation-icon{width:29px; height:29px; flex-shrink:0}
.detail-entry>span{flex:1}
.detail-entry .entry-arrow{margin-left:auto; font-size:1.25rem}
.detail-entry:hover,.detail-entry:focus-visible{font-size:16px; background:#d7e8f8; border-color:#185FA5; color:#0C447C}




/* === Станочный парк (секция #equipment из прототипа) === */
.machining-limits{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:#dfe5ec; border:1px solid #dfe5ec; border-radius:14px; overflow:hidden}
.machining-limits>div{padding:22px; background:#E6F1FB}
.machining-limits b{display:block; font-size:1.45rem; color:#0C447C}
.machining-limits span{font-size:.875rem; color:#5a6675}
.filterbar{display:flex; gap:8px; flex-wrap:wrap; margin:24px 0 20px}
.filter{border:1px solid #cdd6e0; background:#fff; border-radius:22px; padding:8px 14px; color:#5a6675; font-size:.82rem; font-weight:650; cursor:pointer}
.filter:hover,.filter.active{background:#0C447C; border-color:#0C447C; color:#fff}
.equipment{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.equipment-group,.equipment-subgroup{grid-column:1/-1}
.equipment-group{margin-bottom:2px; padding:20px 20px; background:#0C447C; color:#fff; border-radius:15px}
.equipment-group b{font-size:1.15rem; font-weight:600}
.equipment-group span{display:block; color:#cfe1f2; font-size:.78rem; margin-top:3px}
.group-label[hidden]{display:none}
.machine{background:#fff; border:1px solid #dfe5ec; border-radius:14px; overflow:hidden; transition:border-color .16s,box-shadow .16s,transform .16s}
.machine:hover{border-color:#185FA5; box-shadow:0 12px 36px rgba(12,68,124,.09); transform:translateY(-2px)}
.machine[hidden]{display:none}
.machine .detail-entry { margin:15px; }
.machine-photo{aspect-ratio:3/2; position:relative; overflow:hidden; background:#E6F1FB}
.machine-photo img{width:100%; height:100%; display:block; object-fit:cover}
.machine-photo span{position:absolute; left:10px; bottom:9px; background:rgba(255,255,255,.92); color:#0C447C; border-radius:6px; padding:3px 8px; font-size:.62rem; font-weight:700}
.machine-photo .machine-ph-noimg{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#E6F1FB 0 60%,#d7e8f8 60% 61%,#E6F1FB 61% 78%,#cde0f5 78% 79%,#E6F1FB 79%)}
.machine-photo .machine-ph-noimg svg{width:64px; height:64px; color:#185FA5; opacity:.5}
.machine-head{padding:15px 15px 11px; display:flex; justify-content:space-between; gap:12px}
.machine-type{font-size:.67rem; text-transform:uppercase; letter-spacing:.08em; color:#185FA5; font-weight:750}
.machine h3{font-size:1.12rem; margin:4px 0 0; font-weight:600; line-height:1.25}
.count{font-size:.67rem; color:#5a6675; border:1px solid #dfe5ec; border-radius:14px; padding:4px 8px; height:max-content}
.spec-grid{display:grid; grid-template-columns:repeat(2,1fr); border-top:1px solid #dfe5ec}
.spec{padding:10px 16px; background:#fafbfd}
.spec:nth-child(odd){border-right:1px solid #dfe5ec}
.spec .label{font-size:.65rem; color:#5a6675; display:block}
.spec b { color:#0C447C; display:block; margin-top:2px}
.machine-note{padding:15px; font-size:12px; max-height: 50px; overflow: hidden}
.gallery-open{display:block; width:100%; padding:0; border:0; background:#E6F1FB; position:relative; cursor:zoom-in; color:#0C447C}
.gallery-open img{display:block; width:100%; height:100%; object-fit:cover}
.machine-photo>.gallery-open{height:100%}
.enlarge-mark{position:absolute; right:12px; bottom:12px; background:#fff; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-size:1.6rem; line-height:1}


.detail-note {
    font-size:14px !important; 
    background:#E6F1FB ; 
    padding: 15px !important; 
    border-radius: 10px; 
    color:#0C447C !important; 
    margin-top: 20px; 
}

.footer { background:#0C447C; color:#fff; padding:40px 0 30px; margin-top:46px; font-size:12px; }
.footer .fgrid {display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:24px; margin-bottom:24px}
.footer h4{color:#fff; font-size:12px; margin-bottom:12px; font-weight:600}
.footer li { list-style-type:none}
.footer a { display:inline-block; padding:3px 0; color: #B5D4F4; font-size:12px; position:relative; background-image:linear-gradient(currentColor, currentColor); background-size:0 1px; background-position:0 100%; background-repeat:no-repeat; transition:background-size 0.5s cubic-bezier(0, 0.57, 0.55, 1); will-change:background-size; }
.footer a:hover { background-size:100% 1px; color:#fff; font-size:12px; }

.footer .fbottom{border-top:1px solid rgba(255,255,255,.1); padding-top:18px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }


.iframe {position:relative; overflow:hidden; padding-top:56.25%; margin-bottom:20px}
.iframe iframe {position:absolute; top:0; left:0; width:100%; height:100%; border:0; }



@media (max-width:1200px) {
	.wrapper { width:100%; padding:0 10px}

	.sidebar { float:left; width:49%; }
    .common { float:right; width:49%; }
	
}

/* Portrait tablet to landscape and desktop */
@media (min-width:768px) and (max-width:979px) { 
	#wrapper { padding-top:77px}
	.wrapper { width:100%; padding:0 10px; }
	
	.header { height:77px}
	.header .menu { display:none; }
	.header .toggle-nav { display:block; }



}

/* Landscape phone to portrait tablet */
@media (max-width:767px) {
	#wrapper { padding-top:77px}
	.wrapper { width:100%; padding:0 10px}
	
	.header { height:77px}
	.header .menu { display:none; }
	.header .toggle-nav { display:block; }

    .header-search{display:none}
    .search-page-form button span{display:none}
    .search-page-form button{padding:0 16px}
	
}

/* Landscape phones and down */
@media (max-width:480px) { 
	.wrapper { width:100%; padding:0 10px}
	
	.header .phone { display:none; }
	
	
	.org-top { display: block; }
	.org-row { display: block; }
	.org-node { margin-bottom: 8px }
	
	/* GRID */
	.row { display:block; }
	.row .col-12, .row .col-11, .row .col-10, .row .col-9, .row .col-8, .row .col-7, .row .col-6, .row .col-5, .row .col-4, .row .col-3, .row .col-2, .row .col-1 { width:100%; }
	
	.pay-tab li a img { height:40px; }
}




  .mega{display:none; position:absolute; left:0; right:0; top:100%; background:#fff; border-top:1px solid #dfe5ec; border-bottom:1px solid #dfe5ec; box-shadow:0 12px 28px rgba(12,68,124,.10)}
  .mega.on{display:block; animation:drop .16s ease}
  @keyframes drop{from{opacity:0; transform:translateY(-6px)}to{opacity:1; transform:none}}
  .mega-in{ padding-top: 20px; padding-bottom: 20px}
  .mega-hint{font-size:12px; color:#5a6675; display:flex; align-items:center; gap:6px; margin-bottom:14px}
  .mega-hint svg{width:14px; height:14px}
  .mega-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px}
  /* three-level mega: subcats column + articles panel */
  .mega-2col{display:grid; grid-template-columns:260px 1fr; gap:0; min-height:230px}
  .mega-subs{border-right:1px solid #dfe5ec; padding-right:14px; display:flex; flex-direction:column; gap:2px}
  .mega-sub{display:flex; align-items:center; justify-content:space-between; gap:8px; padding:11px 12px; border-radius:9px; cursor:pointer; transition:.12s; border:1px solid transparent}
  .mega-sub:hover,.mega-sub.on{background:#E6F1FB; border-color:#cdd6e0}
  .mega-sub .st{font-size:14px; font-weight:600; color:#16202e; margin:0}
  .mega-sub .ss{font-size:11px; color:#5a6675; margin:2px 0 0; line-height:1.3}
  .mega-sub .sc{width:15px; height:15px; color:#185FA5; flex-shrink:0}
  .mega-arts{padding-left:18px}
  .mega-arts .ah{font-size:11px; letter-spacing:.04em; text-transform:uppercase; color:#5a6675; margin:0 0 10px}
  .mega-artgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:8px}
  .mega-art{display:block; padding:10px 12px; border-radius:9px; background:#f5f7fa; transition:.12s; border:1px solid transparent}
  .mega-art:hover{background:#E6F1FB; border-color:#cdd6e0}
  .mega-art .at{font-size:13px; font-weight:600; color:#16202e; margin:0; display:flex; align-items:center; gap:6px}
  .mega-art .ad{font-size:11px; color:#5a6675; margin:3px 0 0; line-height:1.4}
  .mega-alllink{display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:600; color:#185FA5; margin-top:14px}
  .mega-alllink svg{width:14px; height:14px}



@media (max-width:767px) {
	.header .menu ul { display: block}
    #nav{display:none; position:absolute; left:0; right:0; top:100%; flex-direction:column; background:#fff; border-bottom:1px solid #dfe5ec; padding:8px 20px 16px; gap:0; box-shadow:0 12px 28px rgba(12,68,124,.1)}
    #nav.open{display:flex}
    #nav .mi {width:100%; justify-content:space-between; padding:13px 4px; border-radius:0; border-bottom:1px solid #dfe5ec}
    .mi:hover,.mi.on{background:none; border-color:transparent; border-bottom:1px solid #dfe5ec; color:#0C447C}
    .mega{position:static; box-shadow:none; border:none}
    .mega-grid{grid-template-columns:1fr}
    .mega-2col{grid-template-columns:1fr; min-height:0}
    .mega-subs{border-right:none; border-bottom:1px solid #dfe5ec; padding-right:0; padding-bottom:8px; margin-bottom:8px}
    .mega-arts{padding-left:0}
    .mega-artgrid{grid-template-columns:1fr}
}
