/*
Theme Name: Divit.pro
Theme URI: https://divit.pro/
Author: Divit.pro
Description: Тема сайта Divit.pro — ИТ-аутсорсинг, 1С и разработка сайтов. Главная страница, услуги, цены, блог со статьями и новостями, форма заявки.
Version: 1.7.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: divit
License: Proprietary
*/

:root {
	--accent: #C8F04B;
	--ink: #0B0D12;
	--ink-2: #151923;
	--line-dark: #262B38;
	--muted-dark: #A3A9B7;
	--soft-dark: #C4C8D2;
	--paper: #F5F5F1;
	--card: #FFFFFF;
	--sand: #E9E9E2;
	--line: #E2E1DA;
	--muted: #555B69;
	--display: 'Unbounded', system-ui, sans-serif;
	--body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: #3A4050; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100; clip: auto; width: auto; height: auto;
	padding: 12px 18px; background: var(--accent); color: var(--ink); border-radius: 12px;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight-top { padding-top: 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark a { color: #FFFFFF; }

/* Typography */
.h-display {
	font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
	font-size: clamp(36px, 6.2vw, 84px); line-height: 1.04;
}
.h-section {
	font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
	font-size: clamp(30px, 4.2vw, 56px); line-height: 1.08;
}
.h-card { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--soft-dark); }
.sub { font-size: 19px; color: var(--muted); max-width: 440px; }
.accent { color: var(--accent); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head .h-section { max-width: 820px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
	font: 700 17px/1.2 var(--body); text-decoration: none; cursor: pointer; text-align: center;
}
.btn--accent { background: var(--accent); color: var(--ink) !important; }
.btn--accent:hover { filter: brightness(0.95); }
.btn--ink { background: var(--ink); color: #FFFFFF !important; }
.btn--ink:hover { background: #262B38; }
.btn--ghost-dark { border-color: #3A4050; color: #FFFFFF !important; background: transparent; }
.btn--ghost { border-color: var(--ink); color: var(--ink) !important; background: transparent; }
.pill {
	display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
	font-size: 14px; font-weight: 700; line-height: 1.2;
}
.pill--accent { background: var(--accent); color: var(--ink); }
.pill--ink { background: var(--ink); color: var(--accent); }
.pill--line { border: 1px solid #3A4050; color: var(--soft-dark); }

/* Header */
.site-header { background: var(--ink); color: var(--paper); position: relative; z-index: 20; }
.site-header__bar { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--paper) !important; text-decoration: none; }
.logo span { color: var(--accent); }
.main-nav { flex-grow: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.main-nav a { color: #D9DCE3 !important; text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: #FFFFFF !important; }
.header-support { color: var(--muted-dark) !important; text-decoration: none; font-size: 15px; font-weight: 500; }
.header-phone { color: #FFFFFF !important; padding: 10px 18px; border: 1px solid #3A4050; border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-toggle {
	display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 999px;
	border: 1px solid #3A4050; background: transparent; color: #FFFFFF; cursor: pointer;
}
@media (max-width: 1080px) {
	.header-support { display: none; }
}
@media (max-width: 1060px) {
	.site-header__bar { flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.header-phone { order: 3; width: 100%; text-align: center; }
	.main-nav { order: 4; width: 100%; display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 4px; padding: 8px 0 12px; }
	.main-nav a { display: block; padding: 12px 0; font-size: 18px; }
}

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero__kicker { display: flex; align-items: center; gap: 12px; color: var(--muted-dark); font-weight: 500; font-size: 15px; margin-bottom: 28px; }
.hero__dot { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); flex-shrink: 0; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; margin: 32px 0 40px; }
.hero__row .lead { max-width: 680px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.benefit { padding: 24px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 24px; display: flex; flex-direction: column; gap: 10px; }
.benefit__title { font-size: 20px; font-weight: 700; }
.benefit__text { font-size: 15px; color: var(--muted-dark); }
.stats { display: flex; gap: 24px 56px; flex-wrap: wrap; padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line-dark); }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.stat__label { font-size: 15px; color: var(--muted-dark); }
.ticker { border-top: 1px solid var(--line-dark); padding: 22px 0; color: var(--muted-dark); font-weight: 500; }
.ticker .wrap { display: flex; gap: 14px 28px; flex-wrap: wrap; }
.ticker span.sep { color: var(--accent); }
@media (max-width: 1000px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* Generic cards & grids */
.card { background: var(--card); border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.card--ink { background: var(--ink); color: var(--paper); }
.card--ink .card__text { color: var(--soft-dark); }
.card--accent { background: var(--accent); color: var(--ink); }
.card--sand { background: var(--sand); }
.card__title { font-size: 21px; font-weight: 700; line-height: 1.3; }
.card__text { font-size: 16px; color: var(--muted); }
.card--accent .card__text { color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px 80px; }
@media (max-width: 1000px) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.icon { width: 40px; height: 40px; flex-shrink: 0; }

/* Leader */
.leader { margin-top: 16px; padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); background: var(--sand); border-radius: 32px; display: flex; gap: 32px 48px; align-items: center; flex-wrap: wrap; }
.leader__photo { width: 160px; height: 160px; border-radius: 999px; background: #D4D3CB; object-fit: cover; flex-shrink: 0; }
.leader__quote { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.leader__quote blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; }
.leader__contact { display: flex; flex-direction: column; gap: 12px; }
.leader__phone { font-family: var(--display); font-weight: 700; font-size: 24px; text-decoration: none; text-align: center; }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento > * { grid-column: span 3; }
.bento .span-7 { grid-column: span 7; }
.bento .span-5 { grid-column: span 5; }
.bento .span-4 { grid-column: span 4; }
.bento .card { min-height: 220px; }
.bento .big { min-height: 340px; }
.service-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.service-list li::before { content: "— "; color: var(--muted); }
.card--ink .service-list li::before { color: var(--accent); }
@media (max-width: 1000px) {
	.bento > *, .bento .span-7, .bento .span-5, .bento .span-4 { grid-column: span 6; }
}
@media (max-width: 640px) {
	.bento > *, .bento .span-7, .bento .span-5, .bento .span-4 { grid-column: span 12; }
}

/* Included block */
.included { margin: 0 clamp(0px, 3vw, 40px); padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); background: var(--ink); color: var(--paper); border-radius: 40px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px 80px; align-items: center; }
.included__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.included__item { padding: 20px 24px; background: var(--ink-2); border-radius: 20px; font-weight: 600; display: flex; gap: 14px; align-items: center; }
.included__item svg { flex-shrink: 0; }
@media (max-width: 1000px) { .included { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .included__list { grid-template-columns: 1fr; } }

/* Numbered list */
.numbered { display: flex; flex-direction: column; gap: 16px; }
.numbered li { display: flex; gap: 14px; list-style: none; }
.numbered { padding: 0; margin: 0; counter-reset: n; }
.numbered li::before {
	counter-increment: n; content: counter(n); flex-shrink: 0; width: 30px; height: 30px; border-radius: 999px;
	background: var(--ink); color: var(--accent); font-weight: 700; font-size: 15px;
	display: flex; align-items: center; justify-content: center;
}

/* Prices */
.prices { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; }
.price-big { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4vw, 56px); line-height: 1.05; }
.price-table { background: var(--card); border-radius: 32px; padding: 8px clamp(20px, 3vw, 44px); }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.price-row:last-child { border-bottom: 0; }
.price-row strong { white-space: nowrap; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* Steps */
.step__num { font-family: var(--display); font-weight: 700; font-size: 44px; color: #C9CBC2; line-height: 1; }
.card--ink .step__num { color: var(--accent); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* SEO text */
.seo-text { columns: 2; column-gap: 40px; color: #3A4050; line-height: 1.7; }
.seo-text p { margin: 0 0 18px; break-inside: avoid; }
@media (max-width: 800px) { .seo-text { columns: 1; } }

/* Contacts + form */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px 80px; align-items: start; }
.contacts__lines { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; color: var(--muted-dark); }
.contacts__phone { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); text-decoration: none; color: #FFFFFF !important; }
.lead-form { background: var(--paper); color: var(--ink); border-radius: 32px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.lead-form__title { font-size: 24px; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.field input, .field textarea, .field select {
	min-height: 56px; padding: 14px 20px; border: 1.5px solid #D4D3CB; border-radius: 16px;
	font: 400 17px/1.3 var(--body); background: #FFFFFF; color: var(--ink); width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }
.notice { padding: 16px 20px; border-radius: 16px; font-weight: 600; }
.notice--ok { background: var(--accent); color: var(--ink); }
.notice--err { background: #FFE1DC; color: #7A1D0E; }
@media (max-width: 1000px) { .contacts { grid-template-columns: 1fr; } }

/* Subscribe */
.subscribe { padding: clamp(24px, 3vw, 44px) clamp(24px, 3.4vw, 56px); background: var(--sand); border-radius: 32px; display: flex; gap: 20px 32px; align-items: flex-end; flex-wrap: wrap; }
.subscribe__text { flex: 1 1 340px; display: flex; flex-direction: column; gap: 6px; }
.subscribe .field { flex: 1 1 280px; }

/* Blog cards */
.post-card { background: var(--card); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-height: 260px; transition: transform .15s ease; }
.post-card:hover { transform: translateY(-3px); color: var(--ink); }
.post-card__meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.post-card__title { font-size: 22px; font-weight: 700; line-height: 1.3; flex-grow: 1; }
.post-card__excerpt { font-size: 16px; color: var(--muted); }
.post-card__thumb { border-radius: 18px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; padding: clamp(28px, 4vw, 56px); background: var(--ink); color: var(--paper); border-radius: 40px; text-decoration: none; }
.featured:hover { color: var(--paper); }
.featured__body { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.featured__title { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 44px); line-height: 1.12; letter-spacing: -0.02em; }
.featured__excerpt { color: var(--muted-dark); font-size: 18px; }
.featured__media { border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line-dark); min-height: 260px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .featured { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 11px 20px; background: var(--card); border-radius: 999px; font-weight: 600; text-decoration: none; }
.chip.is-active { background: var(--ink); color: #FFFFFF !important; }
.pagination .nav-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 48px; }
.pagination .page-numbers { min-width: 52px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--card); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: #FFFFFF; }
.cta-band { padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px); background: var(--accent); border-radius: 40px; display: flex; gap: 24px 56px; align-items: center; flex-wrap: wrap; }
.cta-band__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.cta-band__title { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; }

/* Page hero (blog, article) */
.page-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 72px); }
.crumbs { font-size: 15px; color: var(--muted-dark); margin-bottom: 24px; }
.crumbs a { color: var(--muted-dark) !important; text-decoration: none; }
.search-form { display: flex; gap: 8px; }
.search-form input[type=search] { min-height: 56px; padding: 0 22px; border: 1px solid #3A4050; border-radius: 999px; background: var(--ink-2); color: var(--paper); font: 400 17px var(--body); width: min(420px, 100%); }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px 80px; align-items: start; }
.article-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
.entry { font-size: 19px; line-height: 1.7; max-width: 760px; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; margin-top: 1.8em; letter-spacing: -0.01em; }
.entry h3 { font-size: 23px; margin-top: 1.5em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .4em; }
.entry blockquote { margin: 1.5em 0; padding: 24px 28px; background: var(--sand); border-radius: 20px; }
.entry img { border-radius: 20px; }
.entry a { color: var(--ink); text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.entry-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.inline-cta { margin: 2em 0; padding: 28px 32px; background: var(--ink); color: var(--paper); border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.inline-cta strong { font-size: 21px; }
.inline-cta p { color: var(--soft-dark); }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding: 56px 0 40px; font-size: 15px; }
.site-footer a { color: var(--muted-dark) !important; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF !important; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-cols h3 { font-size: 15px; color: var(--paper); margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 24px; }
.footer-bottom .accent-link { color: var(--accent) !important; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* Floating call button on phones */
.call-fab { display: none; }
@media (max-width: 700px) {
	.call-fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 50; box-shadow: 0 10px 30px rgba(11,13,18,.25); }
}

/* WP core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 14px; color: var(--muted); }

/* Data center band */
.dc-band { background: var(--ink); color: var(--paper); border-radius: 40px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.dc-band__text { display: flex; flex-direction: column; gap: 18px; }
.dc-band__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.dc-band__list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 20px; }
.dc-band__list strong { display: block; font-size: 18px; margin-bottom: 2px; }
.dc-band__list span { color: var(--muted-dark); font-size: 15px; }
.dc-band__list strong { color: var(--paper); }
@media (max-width: 900px) { .dc-band { grid-template-columns: 1fr; } }

/* Links for existing clients and staff */
.client-box { margin-top: 32px; padding: 24px; border: 1px solid var(--line-dark); border-radius: 24px; display: flex; flex-direction: column; gap: 14px; }
.client-box__title { font-weight: 700; font-size: 18px; color: var(--paper); }
.client-box__links { display: flex; flex-wrap: wrap; gap: 10px; }
.client-box__links .btn { min-height: 46px; padding: 10px 18px; font-size: 15px; }
.client-box__staff { font-size: 14px; color: var(--muted-dark) !important; }
.client-links--compact { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.dc-band__list--light li { background: var(--card); border-color: var(--line); }
.dc-band__list--light strong { color: var(--ink) !important; }
.dc-band__list--light span { color: var(--muted); }

.hero__slogan { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-family: var(--display); font-weight: 500; font-size: clamp(16px, 1.6vw, 20px); color: var(--paper); letter-spacing: -0.01em; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 24px; align-items: start; }
.calc__inputs { gap: 28px; }
.calc__row { display: flex; flex-direction: column; gap: 10px; }
.calc__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.calc__head label { font-size: 19px; font-weight: 700; }
.calc__num { width: 92px; min-height: 48px; padding: 8px 12px; border: 1.5px solid #D4D3CB; border-radius: 14px; font: 700 20px/1 var(--body); text-align: center; color: var(--ink); background: #fff; }
.calc__range { width: 100%; accent-color: var(--ink); height: 28px; }
.calc__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.calc__modes { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.calc__modes legend { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.calc__modes label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; }
.calc__modes input { margin-top: 3px; accent-color: var(--ink); }
.calc__result { position: sticky; top: 24px; gap: 14px; }
.calc__total { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.02em; line-height: 1.05; }
.calc__total small { font-size: 18px; color: var(--muted-dark); margin-left: 6px; }
.calc__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--soft-dark); }
.calc__lines li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-dark); padding-bottom: 8px; }
.calc__note { font-size: 14px; color: var(--muted-dark); }
.calc__form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.calc__form-title { font-size: 20px; font-weight: 700; }
.calc__form .field { color: var(--paper); }
@media (max-width: 1000px) { .calc { grid-template-columns: 1fr; } .calc__result { position: static; } }

/* Individual pricing note */
.price-note { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius, 24px); background: var(--card, #fff); border: 2px solid var(--accent); }
.price-note__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.price-note__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.price-note__text p { margin: 0; max-width: 62ch; }
.price-note__list { flex: 1 1 280px; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-weight: 600; }
.price-note__list li { display: flex; gap: 10px; align-items: center; }
.price-note__list svg { flex: none; background: var(--accent); color: #111; border-radius: 50%; padding: 3px; }
.price-note__line strong { color: var(--accent); }

/* Volume pricing */
.calc__lines small { opacity: .65; font-weight: 400; margin-left: 4px; }
.calc__tier { color: #F5F5F1; }
.calc__tier strong { color: var(--accent); }
.calc__tiers { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 14px; }
.calc__tiers-title { font-weight: 600; margin-bottom: 4px; color: var(--muted-dark); }
.calc__tiers-row { display: flex; justify-content: space-between; gap: 12px; }
.calc__tiers-row strong { color: var(--accent); }

/* Header calculator button */
.header-calc { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--ink, #0B0D12) !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-calc:hover { filter: brightness(1.05); }
@media (max-width: 1440px) { .header-support { display: none; } }
@media (min-width: 1061px) {
	.main-nav ul { flex-wrap: nowrap; gap: clamp(14px, 1.6vw, 28px); }
	.main-nav a { white-space: nowrap; }
}
@media (min-width: 1061px) and (max-width: 1180px) {
	.main-nav a { font-size: 15px; }
	.header-calc, .header-phone { padding: 9px 14px; font-size: 15px; }
}
@media (max-width: 1060px) {
	.header-calc { order: 3; flex: 1 1 40%; justify-content: center; }
	.header-phone { flex: 1 1 40%; width: auto; }
}

/* Quick calculator band */
.qcalc-wrap { background: var(--accent); }
.qcalc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); color: #0B0D12; }
.qcalc__kicker { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.qcalc__title { margin: 8px 0 8px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.qcalc__lead { margin: 0; font-size: 16px; opacity: .8; max-width: 46ch; }
.qcalc__label { display: block; font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.qcalc__label output { display: inline-block; min-width: 2.5ch; padding: 2px 10px; border-radius: 10px; background: #0B0D12; color: var(--accent); }
.qcalc .calc__scale { color: rgba(11,13,18,.6); }
.qcalc__result { background: #0B0D12; color: #F5F5F1; border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.qcalc__price { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.qcalc__price small { font-size: 16px; font-weight: 500; opacity: .7; margin-left: 4px; }
.qcalc__unit { font-size: 14px; color: #B9BDC7; min-height: 1.4em; }
.qcalc__unit strong { color: var(--accent); }
.qcalc__btn { margin-top: 10px; }
@media (max-width: 1000px) { .qcalc { grid-template-columns: 1fr; } }
.calc__line--admin { color: var(--accent); font-weight: 600; }
.calc__line--admin small { display: block; margin-left: 0; color: #B9BDC7; font-weight: 400; }
.nowrap { white-space: nowrap; }
.calc__total small { white-space: nowrap; }
.calc__lines li > span:last-child { white-space: nowrap; }
.calc__lines.is-included li:not(.calc__line--admin) { opacity: .5; }
.calc__lines li > span:first-child small { display: block; margin-left: 0; }
.calc__modes label.is-disabled { opacity: .45; cursor: not-allowed; }
.calc__onsite-required { margin: 4px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--accent); color: #0B0D12; font-weight: 600; font-size: 15px; line-height: 1.45; }
.calc__mode-hint { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.calc__onsite-required--soft { background: var(--card, #fff); border: 2px solid var(--accent); }

/* Comparison: in-house admin vs Divit.pro */
.compare { border-radius: 24px; overflow: hidden; background: var(--card, #fff); border: 1px solid var(--line, #E3E3DC); }
.compare__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.3fr); }
.compare__row > div { padding: 16px 20px; border-top: 1px solid var(--line, #E3E3DC); min-width: 0; }
.compare__row--head > div { border-top: 0; font-weight: 700; font-size: 18px; padding-top: 20px; padding-bottom: 20px; }
.compare__label { font-weight: 600; }
.compare__them { color: var(--muted, #6B6F78); }
.compare__us { background: #0B0D12; color: #F5F5F1; display: flex; gap: 10px; align-items: flex-start; }
.compare__us svg { flex: none; color: var(--accent); margin-top: 3px; }
.compare__row--head .compare__us { color: var(--accent); }
.compare__m { display: none; }
@media (max-width: 760px) {
	.compare__row { grid-template-columns: 1fr; }
	.compare__row--head { display: none; }
	.compare__row > div { border-top: 0; padding: 10px 18px; }
	.compare__label { border-top: 1px solid var(--line, #E3E3DC) !important; padding-top: 18px !important; font-size: 17px; }
	.compare__m { display: inline; font-weight: 700; margin-right: 4px; }
	.compare__us .compare__m { color: var(--accent); }
}
.guarantees { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--accent); color: #0B0D12; }
.guarantees__head { flex: 0 1 260px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.guarantees__head .pill { background: #0B0D12; color: var(--accent); }
.guarantees__title { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.guarantees__grid { flex: 1 1 620px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
@media (max-width: 1200px) { .guarantees__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.guarantee { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.4; }
.guarantee__num { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 900px) { .guarantees__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Trust: logos, reviews, certificates */
.trust { display: flex; flex-direction: column; gap: 64px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logos__item { display: flex; align-items: center; justify-content: center; height: 92px; padding: 14px; border-radius: 16px; background: var(--card, #fff); border: 1px solid var(--line, #E3E3DC); font-weight: 700; text-align: center; }
.logos__item img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .2s, opacity .2s; }
.logos__item:hover img { filter: none; opacity: 1; }
.review { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.review__img img { max-height: 120px; width: auto; border-radius: 8px; }
.review__text { margin: 0; font-size: 17px; line-height: 1.55; flex-grow: 1; }
.review__by { display: flex; flex-direction: column; gap: 2px; }
.review__by span { color: var(--muted, #6B6F78); font-size: 14px; }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cert { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--card, #fff); border: 1px solid var(--line, #E3E3DC); }
.cert img { width: 100%; height: 200px; object-fit: contain; }
.cert figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.cert figcaption span { color: var(--muted, #6B6F78); }

/* Messengers */
.contacts__msg { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.msg-fab { position: fixed; right: 16px; bottom: 16px; z-index: 49; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.msg-fab__btn { padding: 10px 16px; border-radius: 999px; background: #0B0D12; color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(11,13,18,.25); }
.msg-fab__btn--tg_url { background: #229ED9; }
.msg-fab__btn--wa_url { background: #1FA855; }
.msg-fab__btn--max_url { background: #6A3DF0; }
@media (max-width: 700px) { .msg-fab { bottom: 84px; } }
@media (max-width: 700px) { .msg-fab { display: none; } }
@media (max-width: 760px) { .compare__us { flex-wrap: wrap; } .compare__us .compare__m { flex-basis: 100%; } .compare__us > svg + * { flex: 1; } }
.guarantee__num { white-space: nowrap; font-size: clamp(22px, 2vw, 30px); }

/* Free materials */
.materials__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.material { position: relative; cursor: pointer; display: flex; flex-direction: column; gap: 12px; border: 2px solid transparent; transition: border-color .15s; }
.material input { position: absolute; opacity: 0; pointer-events: none; }
.material__check { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; color: transparent; }
.material:has(input:checked) { border-color: var(--accent); }
.material:has(input:checked) .material__check { background: var(--accent); border-color: var(--accent); color: #0B0D12; }
.material:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.material__tag { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.materials__send { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.materials__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 800px) { .materials__grid, .materials__fields { grid-template-columns: 1fr; } }

/* Industries + materials/partners band on the home page */
.industries { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.industries a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; text-decoration: none; color: var(--ink) !important; }
.industries a:hover { border-color: var(--ink); }
.offers2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 800px) { .offers2 { grid-template-columns: 1fr; } }
.materials__send .field { color: var(--paper); }
.author-box { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: 36px 0 0; padding: 16px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.author-box img, .author-box__ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box__ava { display: flex; align-items: center; justify-content: center; background: #0B0D12; color: var(--accent); font-weight: 800; font-size: 22px; }
.author-box div { display: flex; flex-direction: column; gap: 2px; }
.author-box span { color: var(--muted); font-size: 14px; }

/* Colocation prices */
.colo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.colo__group { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 8px 24px 12px; }
.colo__title { font-size: 18px; margin: 16px 0 4px; }
.colo__row span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.colo__row small { color: var(--muted); font-size: 13px; font-weight: 400; }
.colo__row strong { white-space: nowrap; }
.colo__more { margin-top: 18px; color: var(--muted); }
@media (max-width: 860px) { .colo { grid-template-columns: 1fr; } }
.colo__row { padding: 14px 0; font-size: 16px; }

/* Security test */
.sectest { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.sectest__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: q; }
.sectest__q { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; counter-increment: q; border: 2px solid transparent; }
.sectest__q.is-answered { border-color: var(--line); }
.sectest__text { font-weight: 600; font-size: 17px; }
.sectest__text::before { content: counter(q) ". "; color: var(--muted); }
.sectest__answers { display: flex; flex-wrap: wrap; gap: 8px; }
.sectest__answers label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 600; }
.sectest__answers label:has(input:checked) { background: #0B0D12; color: #F5F5F1; border-color: #0B0D12; }
.sectest__answers input { accent-color: var(--accent); }
.sectest__result { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; }
.sectest__score { font-size: clamp(48px, 5vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.sectest__score small { font-size: 22px; color: var(--muted-dark); }
.sectest__level { font-weight: 700; font-size: 18px; }
.sectest__level.is-good { color: var(--accent); }
.sectest__level.is-mid { color: #FFC857; }
.sectest__level.is-bad { color: #FF7A6B; }
.sectest__progress { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.sectest__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.sectest__advice { margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #D9DCE3; }
@media (max-width: 900px) { .sectest { grid-template-columns: 1fr; } .sectest__result { position: static; } }

/* Staff cost calculator */
.staffcalc__saving { padding: 14px 16px; border-radius: 14px; background: var(--accent); color: #0B0D12; font-weight: 600; }
.staffcalc__saving:empty { display: none; }
.calc__result .btn { justify-content: center; }

/* Urgent link + 4 offers */
.hero__urgent { display: inline-block; max-width: 100%; margin-top: 18px; color: #FFB4A9 !important; font-weight: 600; text-decoration: none; }
.hero__urgent:hover { text-decoration: underline; }
@media (max-width: 800px) { .offers4 { grid-template-columns: 1fr; } }
.entry table { display: block; max-width: 100%; overflow-x: auto; }
.article-layout > * { min-width: 0; }
#staffcalc .calc__num { width: 130px; }

/* Inventory tool */
.inv { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.inv__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; min-width: 0; }
.inv__settings { display: grid; grid-template-columns: 1fr 220px; gap: 16px; }
.inv__add-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.inv__photo { cursor: pointer; white-space: normal; text-align: center; max-width: 100%; }
.inv__hint { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.inv__form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line, #E3E3DC); display: grid; gap: 18px; }
.inv__preview { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.inv__preview img { max-width: 160px; max-height: 120px; border-radius: 12px; object-fit: cover; }
.inv__status { font-weight: 600; }
.inv__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inv__wide { grid-column: 1 / -1; }
.inv__raw summary { cursor: pointer; color: var(--muted); font-size: 14px; }
.inv__raw pre { white-space: pre-wrap; font-size: 12px; max-height: 200px; overflow: auto; background: rgba(0,0,0,.04); padding: 10px; border-radius: 10px; }
.inv__form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.inv__list-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; }
.inv__title { font-size: 22px; margin: 0; }
.inv__title span { display: inline-block; min-width: 30px; padding: 2px 10px; border-radius: 99px; background: var(--accent); color: #0B0D12; font-size: 15px; text-align: center; }
.inv__summary { color: var(--muted); font-size: 14px; }
.inv__table-wrap { overflow-x: auto; margin-top: 16px; }
.inv__table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.inv__table th, .inv__table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line, #E3E3DC); vertical-align: top; }
.inv__table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.inv__empty td { color: var(--muted); text-align: center; padding: 28px 8px; }
.inv__acts { white-space: nowrap; }
.inv__acts button { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; text-decoration: underline; padding: 0 6px; }
.inv__export { position: sticky; top: 100px; display: grid; gap: 16px; }
.inv__mail { display: grid; gap: 12px; }
.inv__clear { background: none; border: 0; color: var(--muted-dark); cursor: pointer; font: inherit; font-size: 13px; text-decoration: underline; }
.inv [hidden] { display: none !important; }
.inv__account-in, .inv__account-out { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.inv__account-out > div:first-child { flex: 1 1 320px; }
.inv__tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.inv__auth { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line, #E3E3DC); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inv__auth-actions, .inv__auth .form-note { grid-column: 1 / -1; }
.inv__auth-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.inv__prints { display: grid; gap: 10px; }
.inv__prints-title { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-dark); }
.inv__prints .btn { width: 100%; justify-content: center; }
.inv__table small { color: var(--muted); }
.inv-print { display: none; }
@media (max-width: 960px) { .inv { grid-template-columns: minmax(0, 1fr); } .inv__export { position: static; } }
@media (max-width: 600px) { .inv__settings, .inv__fields, .inv__auth { grid-template-columns: 1fr; } }

/* Printed forms */
@page invwide { size: A4 landscape; margin: 10mm 10mm 12mm; }
@page invact { size: A4 portrait; margin: 14mm 14mm 14mm; }
@page invlabels { size: A4 portrait; margin: 0; }
@media print {
	body.inv-printing { background: #fff !important; }
	body.inv-printing > *:not(.inv-print) { display: none !important; }
	body.inv-printing .inv-print { display: block !important; color: #000; font-family: Inter, Arial, sans-serif; font-size: 9pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.inv-print--sheet .ip-page { page: invwide; }
	.inv-print--acts .ip-page { page: invact; break-after: page; }
	.inv-print--acts .ip-page:last-child { break-after: auto; }
	.ip-head { display: flex; align-items: center; gap: 5mm; padding-bottom: 3mm; border-bottom: 0.6mm solid #0B0D12; }
	.ip-brand { display: flex; align-items: center; gap: 3mm; flex: 1; }
	.ip-brand img { width: 11mm; height: 11mm; }
	.ip-brand b { font-size: 17pt; font-weight: 800; letter-spacing: -0.02em; }
	.ip-brand b i { font-style: normal; background: #C8F04B; padding: 0 1mm; border-radius: 1mm; }
	.ip-brand span { display: block; font-size: 8pt; color: #444; }
	.ip-contacts { text-align: right; }
	.ip-contacts b { display: block; font-size: 12pt; }
	.ip-contacts span { font-size: 8pt; color: #444; }
	.ip-qr { width: 17mm; height: 17mm; }
	.ip-title { font-size: 15pt; margin: 5mm 0 1.5mm; font-weight: 800; }
	.ip-sub { font-size: 9.5pt; margin-bottom: 4mm; }
	.ip-text { font-size: 10pt; line-height: 1.45; margin: 3mm 0; }
	.ip-table { width: 100%; border-collapse: collapse; font-size: 8.5pt; }
	.ip-table th, .ip-table td { border: 0.25mm solid #555; padding: 1.4mm 1.6mm; text-align: left; vertical-align: top; }
	.ip-table th { background: #EEF0EA; font-weight: 700; }
	.ip-table tr { break-inside: avoid; }
	.ip-sign { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8mm; margin-top: 9mm; break-inside: avoid; }
	.ip-sign div { display: flex; flex-direction: column; gap: 1mm; }
	.ip-sign span { font-weight: 600; }
	.ip-sign i { display: block; height: 8mm; border-bottom: 0.25mm solid #000; }
	.ip-sign small { font-size: 7pt; color: #555; }
	.ip-ad { margin-top: 7mm; padding: 2.5mm 3.5mm; border-radius: 2mm; background: #C8F04B; font-size: 8.5pt; line-height: 1.4; break-inside: avoid; }
	.inv-print--labels .ip-labels { page: invlabels; width: 210mm; height: 297mm; box-sizing: border-box; padding: 12.9mm 7.25mm; display: grid; grid-template-columns: repeat(3, 63.5mm); grid-auto-rows: 33.9mm; column-gap: 2.5mm; align-content: start; break-after: page; overflow: hidden; }
	.inv-print--labels .ip-labels:last-child { break-after: auto; }
	.ip-label { display: flex; gap: 1.5mm; padding: 2.4mm 2.6mm; box-sizing: border-box; overflow: hidden; outline: 0.15mm dashed #ccc; outline-offset: -0.15mm; }
	.ip-label__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.6mm; }
	.ip-label__brand { display: flex; align-items: center; gap: 1.5mm; }
	.ip-label__brand img { width: 5mm; height: 5mm; }
	.ip-label__brand b { font-size: 13pt; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
	.ip-label span { font-size: 6.6pt; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.ip-label small { margin-top: auto; font-size: 6.2pt; line-height: 1.2; font-weight: 600; }
	.ip-label__qr { width: 17mm; height: 17mm; align-self: center; flex: none; }
}

/* Port check */
.pcheck { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pcheck__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.pcheck__form { display: grid; gap: 16px; }
.pcheck__ip { font-size: 15px; color: var(--muted); }
.pcheck__ip strong { color: var(--ink, #0B0D12); font-size: 17px; word-break: break-all; }
.pcheck__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 600; cursor: pointer; }
.pcheck__consent input { margin-top: 3px; accent-color: #0B0D12; width: 18px; height: 18px; flex: none; }
.pcheck__form .btn { justify-self: start; }
.pcheck__verdict { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; }
.pcheck__verdict b { font-size: 22px; }
.pcheck__verdict span { font-size: 14px; opacity: .8; }
.pcheck__verdict.is-good { background: #E9F8C9; }
.pcheck__verdict.is-mid { background: #FFF1CC; }
.pcheck__verdict.is-bad { background: #FFE1DC; }
.pcheck__list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.pcheck__item { border: 1px solid var(--line, #E3E3DC); border-left: 5px solid #FFC857; border-radius: 14px; padding: 14px 16px; }
.pcheck__item.is-high { border-left-color: #FF6B57; }
.pcheck__item p { margin: 8px 0 0; font-size: 14px; }
.pcheck__item-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.pcheck__port { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; background: #0B0D12; color: #F5F5F1; border-radius: 8px; padding: 2px 8px; }
.pcheck__item-head em { font-style: normal; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #B3261E; }
.pcheck__item:not(.is-high) .pcheck__item-head em { color: #8A5A00; }
.pcheck__ports summary { cursor: pointer; font-weight: 700; }
.pcheck__ports ul { columns: 2; column-gap: 24px; margin: 14px 0 0; padding-left: 18px; font-size: 14px; }
.pcheck__ports li { break-inside: avoid; margin-bottom: 6px; }
.pcheck__side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.pcheck__facts { margin: 0; padding-left: 18px; display: grid; gap: 10px; font-size: 14px; color: #D9DCE3; }
.pcheck__facts a { color: var(--accent); }
.pcheck [hidden] { display: none !important; }
@media (max-width: 960px) { .pcheck { grid-template-columns: minmax(0, 1fr); } .pcheck__side { position: static; } }
@media (max-width: 600px) { .pcheck__ports ul { columns: 1; } }

/* Knowledge base */
.entry code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .86em; background: rgba(11,13,18,.06); padding: .1em .35em; border-radius: 6px; overflow-wrap: anywhere; }
.entry pre { background: #0B0D12; color: #E9ECF2; border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-size: 15px; line-height: 1.55; max-width: 100%; }
.entry pre code { background: none; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; white-space: pre; }
.kb-help { margin-top: 2.2em; padding: 24px 26px; border-radius: 22px; background: #0B0D12; color: #F5F5F1; display: grid; gap: 16px; font-size: 17px; line-height: 1.55; }
.kb-help__title { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.2; }
.kb-help p { margin: 8px 0 0; color: #D9DCE3; }
.kb-help__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.entry .kb-help a.btn { text-decoration: none; }
.entry .kb-help a.btn--accent { color: #0B0D12; }
.entry .kb-help a.btn--ghost-dark { color: #F5F5F1; }
.entry .kb-help .kb-help__link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }
.kb-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.kb-jump a { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #F5F5F1; text-decoration: none; font-weight: 600; font-size: 15px; }
.kb-jump a:hover { border-color: var(--accent); color: var(--accent); }
.kb-group + .kb-group { padding-top: 0; }
.kb-group__head { display: grid; gap: 12px; margin-bottom: 28px; }
.kb-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kb-item { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 20px; background: var(--card, #fff); border: 1px solid var(--line, #E3E3DC); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.kb-item:hover { border-color: #0B0D12; transform: translateY(-2px); }
.kb-item strong { font-size: 19px; line-height: 1.3; }
.kb-item span { color: var(--muted); font-size: 15px; }
.kb-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kb-tool { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.kb-tool strong { font-size: 18px; }
.kb-tool span { color: var(--muted); font-size: 14px; }
@media (max-width: 960px) { .kb-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .kb-list, .kb-tools { grid-template-columns: minmax(0, 1fr); } .entry pre { font-size: 13px; } }
.kb-msg { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Article table of contents */
.article-toc { margin: 1.6em 0; padding: 18px 22px; border-radius: 18px; background: var(--sand, #EFEDE6); font-size: 16px; line-height: 1.5; }
.article-toc__title { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.article-toc ol { margin: 0; padding-left: 1.3em; }
.article-toc li + li { margin-top: .3em; }
.entry .article-toc a { text-decoration: none; }
.entry .article-toc a:hover { text-decoration: underline; }
.entry h2[id] { scroll-margin-top: 90px; }

/* Client login in header */
.header-login { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid #3A4050; color: #D9DCE3 !important; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.header-login:hover { color: #FFFFFF !important; border-color: #6B7385; }
.header-login__short { display: none; }
@media (min-width: 1061px) { .site-header__bar { gap: clamp(12px, 1.5vw, 32px); } }
@media (max-width: 1600px) { .header-login__long { display: none; } .header-login__short { display: inline; } }
@media (min-width: 1061px) and (max-width: 1260px) { .header-login { padding: 9px 11px; } .header-login__short { display: none; } .header-calc, .header-phone { padding: 10px 14px; } }
@media (max-width: 1060px) { .header-login { order: 2; } }
.price-note__trial { font-weight: 700; }

/* Ready-made servers + rent */
.srv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.srv__item { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.srv__head { display: flex; gap: 16px; align-items: flex-start; }
.srv__head svg { flex: none; }
.srv__title { font-size: 24px; margin: 0; line-height: 1.2; }
.srv__for { margin: 6px 0 0; color: var(--muted); }
.srv__specs { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.srv__tiers { display: grid; gap: 10px; }
.srv__tier { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--sand, #EFEDE6); }
.srv__tier span { color: var(--muted); font-size: 15px; }
.srv__note { margin: 0; font-size: 15px; padding-left: 12px; border-left: 3px solid var(--accent); }
.srv__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 6px; }
.srv__price { font-weight: 700; }
.srv__disclaimer { grid-column: 1 / -1; color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.rent { display: flex; flex-direction: column; gap: 24px; }
.rent__head { display: grid; gap: 14px; }
.rent__head .lead { color: var(--muted); }
.rent__list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; max-width: 820px; }
@media (max-width: 860px) { .srv { grid-template-columns: minmax(0, 1fr); } }
.price-row span small { display: block; font-size: 13px; font-weight: 400; color: var(--muted-dark); margin-top: 2px; }

/* Office on Yandex Maps */
.office-map__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; }
.office-map__info { display: flex; flex-direction: column; gap: 14px; }
.office-map__addr { font-size: 20px; font-weight: 700; margin: 0; }
.office-map__hours, .office-map__note { margin: 0; color: var(--muted); }
.office-map__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.office-map__review { font-weight: 600; color: var(--ink, #0B0D12); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.office-map__frame { border-radius: 24px; overflow: hidden; background: var(--sand, #EFEDE6); aspect-ratio: 4 / 3; max-width: 100%; }
.office-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .office-map__grid { grid-template-columns: minmax(0, 1fr); } .office-map__frame { aspect-ratio: 1 / 1; } }
.price-row span { min-width: 0; }
@media (max-width: 480px) { .price-row { font-size: 16px; gap: 12px; } .price-row strong { white-space: normal; text-align: right; } }

/* Cloud logo mark */
.logo { display: inline-flex; align-items: center; }
.logo__mark { width: auto; height: 32px; display: block; margin-right: 10px; }
@media (max-width: 420px) { .logo__mark { height: 26px; margin-right: 8px; } }
