/* Multiprint theme — дизайн по прототипу Kimi Agent (redesign-src).
   Токены: бумага/графит/лаймовый акцент, шрифты Onest + IBM Plex Mono. */

@font-face {
    font-family: "Onest";
    src: url("../fonts/onest-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Onest";
    src: url("../fonts/onest-500.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Onest";
    src: url("../fonts/onest-600.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Onest";
    src: url("../fonts/onest-700.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-400.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink-900: oklch(0.23 0 0);
    --ink-700: oklch(0.43 0 0);
    --ink-500: oklch(0.57 0 0);
    --paper-50: oklch(0.97 0 0);
    --paper-100: oklch(0.99 0.003 95);
    --line-200: oklch(0.86 0 0);
    --accent-400: oklch(0.91 0.19 105);
    --destructive: oklch(0.52 0.19 25);
    --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100dvh;
    background: var(--paper-50);
    color: var(--ink-900);
    font-family: "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, a, select, input[type="checkbox"] { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

::selection { background: var(--accent-400); color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--accent-400); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.site-shell {
    min-height: 100dvh;
    overflow: clip;
    background: var(--paper-50);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 20px;
}

.skip-link {
    position: fixed;
    z-index: 60;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--accent-400);
    color: var(--ink-900);
    transform: translateY(-160%);
    transition: transform 180ms ease-out;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Шапка ---------- */
.site-header {
    position: sticky;
    z-index: 40;
    top: 0;
    border-bottom: 1px solid color-mix(in oklch, var(--ink-900) 10%, transparent);
    background: color-mix(in oklch, var(--paper-50) 92%, transparent);
    backdrop-filter: blur(14px);
}

.header__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}
.brand__mark {
    width: 34px;
    height: 34px;
    overflow: visible;
    fill: none;
    stroke: var(--ink-900);
    stroke-width: 2.6;
    stroke-linecap: square;
    stroke-linejoin: miter;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 18px; font-weight: 700; letter-spacing: -0.045em; }
.brand__text small {
    margin-top: 5px;
    color: var(--ink-700);
    font-family: "IBM Plex Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.brand--inverted .brand__mark { stroke: var(--paper-50); }
.brand--inverted .brand__text strong { color: var(--paper-50); }
.brand--inverted .brand__text small { color: var(--line-200); }

.desktop-nav,
.header__phone,
.header__actions .header__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-200);
    border-radius: 50%;
    background: transparent;
    color: var(--ink-900);
}
.menu-toggle:hover { background: var(--accent-400); }
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--line-200);
    background: var(--paper-50);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner {
    display: flex;
    flex-direction: column;
    padding-block: 12px 24px;
}
.mobile-nav a:not(.button) {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line-200);
    font-weight: 500;
}
.mobile-nav .button { margin-top: 20px; }

/* ---------- Кнопки и ссылки ---------- */
.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: transform 180ms ease-out, opacity 180ms ease-out;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(0) scale(0.98); }
.button:disabled { opacity: 0.65; }
.button--small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.button--dark { background: var(--ink-900); color: var(--paper-50); }
.button--accent { background: var(--accent-400); color: var(--ink-900); }
.button svg { width: 18px; height: 18px; }

.text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--ink-900);
    font-size: 15px;
    font-weight: 600;
}
.text-link svg { width: 17px; height: 17px; transition: transform 180ms ease-out; }
.text-link:hover svg { transform: translate(2px, -2px); }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}
.eyebrow > span {
    display: inline-block;
    width: 22px;
    height: 8px;
    flex-shrink: 0;
    background: var(--accent-400);
}
.eyebrow--light { color: var(--paper-50); }

/* ---------- Hero ---------- */
.hero { padding-top: 48px; }
.hero__grid { display: grid; gap: 44px; }
.hero__content { align-self: center; }
.hero h1 {
    max-width: 750px;
    margin: 0;
    font-size: clamp(42px, 11vw, 64px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.055em;
}
.hero__lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--ink-700);
    font-size: 17px;
    line-height: 1.65;
}
.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 30px;
}
.hero__visual { position: relative; margin: 0; }

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--line-200);
}
.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease-out;
}
.image-frame:hover img { transform: scale(1.018); }
.image-frame--hero { aspect-ratio: 4 / 3; }
.image-frame--hero img { object-position: 53% center; }

.hero__visual figcaption,
.production__visual figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    margin-top: 14px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.hero__visual figcaption span:last-child { color: var(--ink-700); text-align: right; }

.registration-mark {
    position: absolute;
    top: -12px;
    right: -8px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--ink-900);
    border-radius: 50%;
    background: var(--accent-400);
}
.registration-mark i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 1px;
    background: var(--ink-900);
    transform: translate(-50%, -50%);
}
.registration-mark i:last-child { transform: translate(-50%, -50%) rotate(90deg); }

.capability-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 48px;
    border-top: 1px solid var(--line-200);
    border-bottom: 1px solid var(--line-200);
}
.capability-strip span {
    display: flex;
    min-height: 68px;
    align-items: center;
    padding: 14px 12px 14px 0;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    line-height: 1.5;
    text-transform: uppercase;
}
.capability-strip span:nth-child(odd) { border-right: 1px solid var(--line-200); }
.capability-strip span:nth-child(even) { padding-left: 16px; }
.capability-strip span:nth-child(-n + 2) { border-bottom: 1px solid var(--line-200); }

/* ---------- Секции ---------- */
.section { padding-block: 80px; }
.section-heading { margin-bottom: 42px; }
.section-heading h2,
.about h2,
.contact__intro h2 {
    margin: 0;
    font-size: clamp(36px, 8vw, 54px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.045em;
}
.section-heading--split > p {
    max-width: 540px;
    margin: 20px 0 0;
    color: var(--ink-700);
    font-size: 16px;
}

/* ---------- Услуги ---------- */
.service-list { border-top: 1px solid var(--ink-900); }
.service-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 46px;
    gap: 4px 12px;
    align-items: center;
    padding-block: 24px;
    border-bottom: 1px solid var(--line-200);
}
.service-row__number {
    align-self: start;
    padding-top: 4px;
    color: var(--ink-700);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
}
.service-row h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
}
.service-row p {
    grid-column: 2 / 4;
    max-width: 620px;
    margin: 6px 0 0;
    color: var(--ink-700);
    font-size: 14px;
    line-height: 1.6;
}
.service-row button {
    display: inline-flex;
    width: 46px;
    height: 46px;
    grid-column: 3;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-200);
    border-radius: 50%;
    background: transparent;
    color: var(--ink-900);
    transition: transform 180ms ease-out;
}
.service-row button:hover { background: var(--accent-400); transform: rotate(8deg); }
.service-row button svg { width: 20px; height: 20px; }

.service-row h3 a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 200ms ease-out;
}
.service-row h3 a:hover,
.service-row h3 a:focus-visible {
    background-size: 100% 1px;
}

/* Табы категорий услуг */
.services-tabs__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.services-tabs__tab {
    padding: 10px 18px;
    border: 1px solid var(--line-200);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-700);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}
.services-tabs__tab:hover { border-color: var(--ink-900); color: var(--ink-900); }
.services-tabs__tab[aria-selected="true"] {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: var(--paper-50);
}
.services-tabs__tab:focus-visible {
    outline: 2px solid var(--ink-900);
    outline-offset: 2px;
}
.services-tabs__panel[hidden] { display: none; }

@media (max-width: 600px) {
    .services-tabs__bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        margin-inline: -20px;
        padding-inline: 20px;
        scrollbar-width: thin;
    }
    .services-tabs__tab { flex: 0 0 auto; white-space: nowrap; }
}

/* ---------- О типографии ---------- */
.about { background: var(--paper-100); }
.about__grid { display: grid; gap: 44px; }
.about__visual { margin: 0; }
.image-frame--about { aspect-ratio: 4 / 3; }
.about__visual figcaption {
    margin-top: 12px;
    color: var(--ink-700);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
}
.about__content > p:not(.eyebrow) {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--ink-700);
    font-size: 16px;
}
.check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
}
.check-list svg {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    margin-top: 3px;
    color: var(--ink-900);
}

/* ---------- Производство ---------- */
.production { background: var(--ink-900); color: var(--paper-50); }
.production__heading > p { color: var(--line-200); }
.production__grid { display: grid; gap: 48px; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    padding-block: 26px;
    border-top: 1px solid color-mix(in oklch, var(--paper-50) 24%, transparent);
}
.process-list li:last-child {
    border-bottom: 1px solid color-mix(in oklch, var(--paper-50) 24%, transparent);
}
.process-list > li > span {
    padding-top: 5px;
    color: var(--accent-400);
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
}
.process-list h3 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.process-list p { max-width: 560px; margin: 10px 0 0; color: var(--line-200); font-size: 15px; }
.production__visual { margin: 0; }
.image-frame--book { aspect-ratio: 4 / 4.6; }
.image-frame--book img { object-position: center 44%; }
.production__visual figcaption span:last-child { color: var(--line-200); }

/* ---------- Текстовый блок главной (мигрированный контент) ---------- */
.home-prose { background: var(--paper-50); }

/* ---------- Контакты ---------- */
.contact-section { background: var(--paper-50); }
.contact__grid { display: grid; padding-inline: 20px; }
.contact__intro {
    padding: 36px 28px;
    border-radius: 12px 12px 0 0;
    background: var(--accent-400);
    color: var(--ink-900);
}
.contact__intro .eyebrow > span { background: var(--ink-900); }
.contact__intro > p:not(.eyebrow) { max-width: 520px; margin: 20px 0 0; font-size: 16px; }
.contact__details {
    display: grid;
    gap: 14px;
    margin-top: 32px;
    font-style: normal;
}
.contact__details a,
.contact__details > span {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.contact__details svg { flex-shrink: 0; width: 19px; height: 19px; margin-top: 1px; }
.contact__details a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact__form-wrap {
    display: flex;
    min-height: 100%;
    align-items: center;
    padding: 32px 24px;
    border-radius: 0 0 12px 12px;
    background: var(--paper-100);
}

/* ---------- Форма заявки ---------- */
.contact-form { display: grid; width: 100%; gap: 20px; }
.form-row { display: grid; gap: 20px; }
.contact-form label:not(.consent, .honeypot) { display: grid; gap: 8px; }
.contact-form label > span:first-child { font-size: 13px; font-weight: 600; }
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line-200);
    border-radius: 8px;
    background: var(--paper-50);
    color: var(--ink-900);
    padding: 13px 15px;
    font-size: 15px;
    line-height: 1.5;
}
.contact-form textarea { min-height: 116px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-700); opacity: 1; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--ink-900); outline: none; }

.consent { display: flex; min-height: 44px; align-items: center; gap: 12px; cursor: pointer; }
.consent input { width: 22px; height: 22px; flex-shrink: 0; margin: 0; accent-color: var(--ink-900); }
.consent span { color: var(--ink-700); font-size: 13px; line-height: 1.5; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }

/* Форма под текстом типовой страницы */
.page-feedback {
    max-width: 860px;
    margin-top: 40px;
    padding: 28px;
    border: 1px solid var(--line-200);
    border-radius: var(--radius);
    background: var(--paper-100);
}
.page-feedback h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.page-feedback > p {
    margin: 0 0 20px;
    color: var(--ink-700);
    font-size: 14px;
}

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
    margin: 0;
    border-left: 2px solid var(--destructive);
    padding-left: 12px;
    color: var(--destructive);
    font-size: 14px;
}
.form-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.form-submit > span { color: var(--ink-700); font-size: 12px; }
.pf-captcha-note { color: var(--ink-700); font-size: 12px; }

/* Страховка: display:grid перебил бы UA-стиль [hidden]{display:none}. */
.contact-form[hidden],
.form-success[hidden] { display: none; }

.form-success { width: 100%; padding-block: 24px; }
.form-success__icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 50%;
    background: var(--accent-400);
}
.form-success__icon svg { width: 28px; height: 28px; }
.form-success .eyebrow { margin-bottom: 12px; }
.form-success h3 { max-width: 480px; margin: 0; font-size: 34px; line-height: 1.1; letter-spacing: -0.04em; }
.form-success > p:not(.eyebrow) { margin: 16px 0 28px; color: var(--ink-700); }

.spin { animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Футер ---------- */
.site-footer { background: var(--ink-900); color: var(--paper-50); }
.footer__top { display: grid; gap: 32px; padding-block: 48px; }
.footer__top nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.footer__top nav a,
.footer__phone {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.footer__top nav a:hover,
.footer__phone:hover { color: var(--accent-400); }
.footer__phone { font-size: 18px; font-weight: 500; }
.footer__phone svg { width: 18px; height: 18px; }
.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-block: 22px 28px;
    border-top: 1px solid color-mix(in oklch, var(--paper-50) 20%, transparent);
    color: var(--line-200);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    line-height: 1.6;
    text-transform: uppercase;
}
.footer__bottom a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--paper-50);
}

/* ---------- Внутренние страницы ---------- */
.page-section { padding-block: 40px 72px; }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
    color: var(--ink-700);
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.breadcrumbs a { border-bottom: 1px solid transparent; }
.breadcrumbs a:hover { border-bottom-color: var(--ink-700); }
.breadcrumbs .sep { color: var(--line-200); }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.entry-title {
    margin: 0 0 24px;
    font-size: clamp(30px, 6vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.entry-content { max-width: 860px; font-size: 16px; }
.entry-content h2 {
    margin: 36px 0 14px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.entry-content h3 { margin: 28px 0 10px; font-size: 20px; font-weight: 600; }
.entry-content p { margin: 0 0 16px; }
.entry-content ul,
.entry-content ol { margin: 0 0 16px; padding-left: 22px; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { color: var(--ink-900); text-decoration: underline; text-decoration-color: var(--accent-400); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--ink-900); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.entry-content th,
.entry-content td { border: 1px solid var(--line-200); padding: 10px 14px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--paper-100); font-weight: 600; }
.entry-content img { border-radius: 8px; }
.entry-content .MsoNormal { margin: 0 0 16px; }

/* Сайдбар с каталогом услуг (rightmenu) */
.site-sidebar {
    border: 1px solid var(--line-200);
    border-radius: 12px;
    padding: 20px;
    background: var(--paper-100);
}
.site-sidebar__title {
    margin: 0 0 12px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: var(--ink-700);
}
.site-sidebar .menu { margin: 0; padding: 0; list-style: none; }
.site-sidebar .menu li { margin: 0; }
.site-sidebar .menu a {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}
.site-sidebar .menu a:hover { background: var(--accent-400); }
.site-sidebar .menu .current-menu-item > a,
.site-sidebar .menu .current-menu-ancestor > a { background: var(--ink-900); color: var(--paper-50); }
.site-sidebar .menu .sub-menu {
    margin: 2px 0 6px;
    padding-left: 14px;
    list-style: none;
    border-left: 1px solid var(--line-200);
}

/* ---------- Куки-баннер ---------- */
.cookie-notice {
    position: fixed;
    z-index: 90;
    right: 16px;
    bottom: 16px;
    left: 16px;
    border-radius: 12px;
    background: var(--ink-900);
    color: var(--paper-50);
    padding: 16px 20px;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.4);
    font-size: 14px;
}
.cookie-notice__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-notice__text { margin: 0; flex: 1 1 auto; }
.cookie-notice__more { color: var(--accent-400); margin-left: 6px; white-space: nowrap; }
.cookie-notice__accept {
    flex: 0 0 auto;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--accent-400);
    color: var(--ink-900);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
/* Страховка: display на элементе с атрибутом hidden перебивает UA-стиль [hidden]{display:none}. */
.cookie-notice[hidden] { display: none; }
@media (max-width: 600px) {
    .cookie-notice__inner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-notice__accept { width: 100%; }
}

/* ---------- Адаптив ---------- */
@media (min-width: 700px) {
    .container { padding-inline: 32px; }
    .header__phone {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        font-size: 14px;
        font-weight: 500;
    }
    .hero { padding-top: 64px; }
    .hero__lead { font-size: 18px; }
    .capability-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .capability-strip span {
        min-height: 82px;
        padding-inline: 18px;
        border-right: 1px solid var(--line-200);
        border-bottom: 0 !important;
        font-size: 11px;
    }
    .capability-strip span:first-child { padding-left: 0; }
    .capability-strip span:last-child { border-right: 0; }
    .section { padding-block: 104px; }
    .section-heading--split {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
        gap: 48px;
        align-items: end;
    }
    .section-heading--split > p { margin: 0 0 4px; }
    .service-row {
        grid-template-columns: 44px minmax(210px, 1fr) minmax(240px, 1.25fr) 48px;
        gap: 20px;
        padding-block: 26px;
    }
    .service-row__number { align-self: center; padding-top: 0; }
    .service-row h3 { font-size: 21px; }
    .service-row p { grid-column: 3; grid-row: 1; margin: 0; }
    .service-row button { grid-column: 4; }
    .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-submit { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
    .footer__top { grid-template-columns: 1fr 1fr; align-items: start; }
    .footer__phone { grid-column: 2; }
    .footer__bottom { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; }
}

@media (min-width: 1024px) {
    .container { padding-inline: 48px; }
    .hero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
    .hero h1 { font-size: clamp(58px, 5.6vw, 82px); }
    .hero__visual { padding-top: 12px; }
    .image-frame--hero { aspect-ratio: 1.08 / 1; }
    .about__grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 80px; align-items: center; }
    .production__grid { grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr); gap: 80px; align-items: center; }
    .process-list li { grid-template-columns: 52px minmax(0, 1fr); padding-block: 30px; }
    .contact__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); padding-inline: 48px; }
    .contact__intro { padding: 56px 44px; border-radius: 12px 0 0 12px; }
    .contact__form-wrap { padding: 48px 44px; border-radius: 0 12px 12px 0; }
    .footer__top { grid-template-columns: 1fr auto auto; gap: 72px; align-items: center; }
    .footer__phone { grid-column: auto; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
    .page-section { padding-block: 56px 96px; }
}

@media (min-width: 1100px) {
    .header__inner { min-height: 82px; }
    .desktop-nav { display: flex; align-items: center; gap: 30px; }
    .desktop-nav a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        font-size: 14px;
        font-weight: 500;
    }
    .desktop-nav a:hover {
        text-decoration: underline;
        text-decoration-color: var(--accent-400);
        text-decoration-thickness: 3px;
        text-underline-offset: 7px;
    }
    .header__phone { display: none; }
    .header__actions .header__cta { display: inline-flex; }
    .menu-toggle,
    .mobile-nav { display: none; }
}

@media (min-width: 1280px) {
    .header__phone { display: inline-flex; }
    .desktop-nav { gap: 36px; }
    .hero__grid { gap: 72px; }
    .contact__intro,
    .contact__form-wrap { padding-inline: 56px; }
}
/* form-style-20261116:soft */
form[action*="admin-ajax"] :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=range]), select, textarea){border-radius:14px;border-style:solid;border-width:1px;box-shadow:0 2px 0 rgba(0,0,0,.04);transition:border-color .18s,box-shadow .18s,background .18s}
form[action*="admin-ajax"] textarea{border-radius:12px;}
form[action*="admin-ajax"] :is(button[type=submit], input[type=submit], .pf-submit, .form-submit){border-radius:999px;}
