/* ============ SELF-HOSTED FONTS (no googleapis) ============ */
/* cyrillic */
@font-face{
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Mono-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face{
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face{
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Mono-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face{
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face{
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Sans-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face{
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face{
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Sans-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face{
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Sans-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face{
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Sans-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face{
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/IBM_Plex_Sans-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face{
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Oswald-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face{
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Oswald-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face{
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Oswald-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face{
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/Oswald-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic */
@font-face{
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Oswald-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face{
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Oswald-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ TOKENS ============ */
        :root {
            --ink:      #0F1114;   /* deep graphite, page bg        */
            --graphite: #15181D;   /* panel bg                      */
            --steel:    #1B1F26;   /* card bg                       */
            --steel-2:  #242A33;   /* raised / hover bg             */
            --line:     #2E3540;   /* hairlines                     */
            --bone:     #EBE7E0;   /* primary text (warm off-white) */
            --ash:      #9DA5AF;   /* secondary text                */
            --amber:    #F2A33C;   /* molten amber — the accent     */
            --amber-hot:#FF8A1E;   /* hot filament                  */
            --amber-ink:#241503;   /* text on amber                 */
            --ok:       #4DBE7A;   /* functional "online" dot only  */

            --font-disp: "Oswald", "Arial Narrow", sans-serif;
            --font-body: "IBM Plex Sans", system-ui, sans-serif;
            --font-data: "IBM Plex Mono", ui-monospace, monospace;

            --radius: 4px;
            --wrap: 1180px;
        }

        /* ============ BASE ============ */
        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            margin: 0;
            background: var(--ink);
            color: var(--bone);
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
        }
        a { color: inherit; text-decoration: none; }
        img { display: block; max-width: 100%; }
        ::selection { background: rgba(242,163,60,.35); color: #fff; }
        :focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

        .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
        .skip-link {
            position: absolute; left: 12px; top: 12px; z-index: 200;
            background: var(--amber); color: var(--amber-ink);
            padding: 8px 14px; border-radius: var(--radius); font-weight: 600;
            transform: translateY(-200%);
        }
        .skip-link:focus { transform: none; }

        /* FDM layer striations — the recurring motif */
        .layers {
            background-image: repeating-linear-gradient(
                to bottom,
                rgba(235,231,224,.05) 0px,
                rgba(235,231,224,.05) 1px,
                transparent 1px,
                transparent 4px
            );
        }

        /* ============ TYPE ============ */
        .h-display { font-family: var(--font-disp); font-weight: 600; line-height: 1.04; letter-spacing: .01em; }
        .h-section { font-family: var(--font-disp); font-weight: 500; line-height: 1.1; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 10px; }
        .mono { font-family: var(--font-data); font-size: 13px; letter-spacing: .02em; }
        .dim { color: var(--ash); }

        /* section head — a "title block" from a drawing */
        .head { display: grid; gap: 0; margin-bottom: 42px; max-width: 720px; }
        .head .hl { height: 2px; width: 54px; background: var(--amber); margin-bottom: 18px; }
        .head p { margin: 8px 0 0; color: var(--ash); font-size: 15.5px; }

        /* ============ HERO (the exhibit) ============ */
        .hero { position: relative; overflow: hidden; padding: 148px 0 72px; }
        .hero::before {
            content: ""; position: absolute; inset: 0; pointer-events: none;
            background:
                radial-gradient(820px 480px at 82% 8%, rgba(242,163,60,.10), transparent 62%),
                radial-gradient(520px 360px at 12% 96%, rgba(242,163,60,.05), transparent 60%);
        }
        .hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
        .status {
            display: inline-flex; align-items: center; gap: 8px;
            border: 1px solid var(--line); background: var(--graphite);
            border-radius: 999px; padding: 6px 13px; font-size: 13px; color: var(--ash);
        }
        .status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(77,190,122,.8); }
        .hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin: 22px 0 20px; max-width: 12ch; }
        .hero h1 .hot { color: var(--amber); }
        .hero .lead { color: var(--ash); font-size: 17.5px; line-height: 1.65; max-width: 46ch; margin: 0 0 30px; }
        .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 9px;
            padding: 14px 26px; border-radius: var(--radius);
            font-family: var(--font-body); font-weight: 600; font-size: 15.5px;
            border: 1px solid transparent; cursor: pointer; transition: background .18s, border-color .18s, transform .12s;
        }
        .btn-primary { background: var(--amber); color: var(--amber-ink); }
        .btn-primary:hover { background: var(--amber-hot); transform: translateY(-1px); }
        .btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }
        .btn-ghost:hover { border-color: var(--ash); background: var(--steel); }

        .specs {
            display: grid; grid-template-columns: repeat(4, 1fr);
            border-top: 1px solid var(--line); padding-top: 24px; gap: 18px;
        }
        .specs .num { font-family: var(--font-data); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 500; color: var(--amber); line-height: 1.1; }
        .specs .lbl { font-size: 12.5px; color: var(--ash); margin-top: 4px; }

        /* the part exhibit */
        .exhibit { position: relative; }
        .exhibit .frame { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--steel); }
        .exhibit img { width: 100%; height: auto; }
        /* corner brackets */
        .exhibit .frame::before, .exhibit .frame::after,
        .exhibit .brk-tl, .exhibit .brk-br { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--amber); }
        .exhibit .frame::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
        .exhibit .frame::after  { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
        .exhibit .brk-tl { display:none; }
        .exhibit .brk-br { bottom: 10px; right: 10px; border-top: 0; border-left: 0; }
        /* dimension callouts */
        .callout { position: absolute; font-family: var(--font-data); font-size: 12px; color: var(--amber); display: flex; align-items: center; gap: 8px; }
        .callout .seg { display: inline-block; height: 1px; background: var(--amber); box-shadow: 0 0 6px rgba(242,163,60,.6); }
        .c-tl { top: 34px; left: 42px; } .c-tl .seg { width: 34px; }
        .c-br { bottom: 34px; right: 42px; } .c-br .seg { width: 34px; }
        @media (max-width: 640px) { .c-tl, .c-br { display: none; } }
        /* the print-head sweep — one orchestrated moment */
        .exhibit .sweep {
            position: absolute; left: 0; right: 0; height: 2px; pointer-events: none;
            background: linear-gradient(90deg, transparent, var(--amber) 30%, var(--amber-hot) 50%, var(--amber) 70%, transparent);
            box-shadow: 0 0 14px rgba(242,163,60,.65);
            animation: sweep 1.5s cubic-bezier(.4,0,.2,1) .5s 1 forwards;
        }
        @keyframes sweep {
            0%   { top: 8%;  opacity: 0; }
            14%  { opacity: 1; }
            70%  { opacity: 1; }
            100% { top: 88%; opacity: 0; }
        }
        @media (prefers-reduced-motion: reduce) { .exhibit .sweep { display: none; } }

        /* ============ DIAGNOSTICS (pain → what we do) ============ */
        .band { background: var(--graphite); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
        .dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
        .d-item { border-top: 2px solid var(--steel-2); padding-top: 18px; }
        .d-item h3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; }
        .d-item p { font-size: 14px; color: var(--ash); margin: 0 0 12px; }
        .d-item .out { font-family: var(--font-data); font-size: 12.5px; color: var(--amber); }

        /* ============ SERVICES (catalogue) ============ */
        .sec { padding: 84px 0; }
        .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
        .card {
            position: relative; display: flex; flex-direction: column;
            background: var(--steel); border: 1px solid var(--line);
            padding: 24px; border-radius: var(--radius);
            transition: border-color .18s, transform .18s;
        }
        .card::before {
            content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px;
            background: var(--amber); opacity: 0; transition: opacity .18s;
        }
        .card:hover { border-color: var(--steel-2); transform: translateY(-2px); }
        .card:hover::before { opacity: 1; }
        .card h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
        .card .meta { font-family: var(--font-data); font-size: 12px; color: var(--ash); margin-bottom: 10px; }
        .card p { font-size: 13.5px; color: var(--ash); line-height: 1.55; margin: 0 0 16px; flex-grow: 1; }
        .card .more { font-size: 13.5px; font-weight: 600; color: var(--amber); display: inline-flex; align-items: center; gap: 8px; }

        /* ============ PROCESS (a real sequence) ============ */
        .seq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
        .step { position: relative; border-top: 1px solid var(--line); padding-top: 16px; }
        .step .n { font-family: var(--font-data); font-size: 13px; color: var(--amber); margin-bottom: 8px; }
        .step h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 6px; }
        .step p { font-size: 13.5px; color: var(--ash); margin: 0; }

        /* ============ CASES ============ */
        .casegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .case { background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
        .case figure { margin: 0; position: relative; background: #0C0E11; }
        .case img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
        .case .tag { position: absolute; top: 12px; left: 12px; background: rgba(15,17,20,.82); border: 1px solid var(--line); font-family: var(--font-data); font-size: 11.5px; color: var(--amber); padding: 4px 9px; border-radius: 3px; }
        .case .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
        .case h3 { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
        .case dl { margin: 0 0 16px; font-size: 13px; display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; }
        .case dt { color: var(--ash); font-family: var(--font-data); font-size: 12px; }
        .case dd { margin: 0; }
        .case .save { margin-top: auto; font-family: var(--font-data); font-size: 14px; color: var(--amber); border-top: 1px solid var(--line); padding-top: 14px; }

        /* ============ MATERIALS (datasheet) ============ */
        .tblwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
        table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
        thead th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--ash); background: var(--graphite); padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
        tbody td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
        tbody tr:last-child td { border-bottom: 0; }
        tbody tr { transition: background .15s; }
        tbody tr:hover { background: var(--steel-2); }
        td .m { display: block; font-weight: 600; }
        td .sub { font-family: var(--font-data); font-size: 11.5px; color: var(--ash); }
        td.price { font-family: var(--font-data); color: var(--amber); white-space: nowrap; }

        /* ============ INDUSTRIES ============ */
        .indgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .ind { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--steel); }
        .ind h3 { font-size: 16px; font-weight: 600; margin: 0 0 14px; }
        .ind ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--ash); }
        .ind li { padding: 6px 0 6px 16px; position: relative; border-bottom: 1px dashed var(--line); }
        .ind li:last-child { border-bottom: 0; }
        .ind li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; background: var(--amber); border-radius: 1px; }

        /* ============ ABOUT / QUESTION PANEL ============ */
        .split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
        .about p { color: var(--ash); font-size: 15px; margin: 0 0 14px; }
        .panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--graphite); padding: 30px; }
        .panel h3 { margin: 0 0 18px; font-size: 18px; font-weight: 600; }
        .panel ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
        .panel li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: var(--ash); }
        .panel li .k { font-family: var(--font-data); font-size: 12px; color: var(--amber); }
        .panel .btn { width: 100%; }
        .panel .phonelink { display: block; margin-top: 10px; text-align: center; font-family: var(--font-data); font-size: 15px; color: var(--bone); }
        .panel .phonelink:hover { color: var(--amber); }

        /* ============ SEO TEXT ============ */
        .seotext { background: var(--graphite); border-top: 1px solid var(--line); padding: 56px 0; }
        .seotext .wrap { max-width: 880px; }
        .seotext h2 { font-family: var(--font-disp); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 20px; }
        .seotext p { color: var(--ash); font-size: 14.5px; margin: 0 0 14px; }

        /* ============ ORDER FORM ============ */
        .order { max-width: 640px; }
        .field { display: block; margin-bottom: 16px; }
        .field label { display: block; font-size: 13px; color: var(--ash); margin-bottom: 7px; font-weight: 600; }
        .field input, .field textarea {
            width: 100%; background: var(--steel); color: var(--bone);
            border: 1px solid var(--line); border-radius: var(--radius);
            padding: 13px 15px; font-family: var(--font-body); font-size: 15px;
            transition: border-color .15s;
        }
        .field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
        .field input::placeholder, .field textarea::placeholder { color: #5C6370; }
        .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .formnote { font-size: 12.5px; color: var(--ash); text-align: center; margin: 12px 0 0; }

        /* ============ HEADER / FOOTER ============ */
        header.site {
            position: fixed; inset: 0 0 auto 0; z-index: 100;
            background: rgba(15,17,20,.86); backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--line);
        }
        .navrow { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
        .brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; min-width: 0; }
        .brand .mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid rgba(242,163,60,.32); border-radius: var(--radius); background: linear-gradient(180deg, #191C22, #101216); box-shadow: inset 0 0 0 1px rgba(0,0,0,.4); }
        .brand .name { font-family: var(--font-disp); font-weight: 600; font-size: 20px; letter-spacing: .035em; line-height: 1; }
        .brand .sub { font-size: 11px; color: var(--ash); letter-spacing: .045em; margin-top: 3px; white-space: nowrap; }
        nav.main { display: flex; gap: 4px; }
        nav.main a { font-size: 14px; color: var(--ash); padding: 8px 12px; border-radius: 3px; transition: color .15s, background .15s; }
        nav.main a:hover { color: var(--bone); background: var(--steel); }
        .navcta { display: flex; align-items: center; gap: 16px; }
        .phone { font-family: var(--font-data); font-size: 14px; font-weight: 500; }
        .phone:hover { color: var(--amber); }
        .burger { display: none; background: none; border: 1px solid var(--line); color: var(--bone); border-radius: var(--radius); width: 42px; height: 42px; font-size: 20px; cursor: pointer; }
        @media (max-width: 1260px) {
            /* шапка требует ~1450px для 10 ссылок: на узких окнах переключаемся на бургер */
            nav.main { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px; gap: 2px; }
            nav.main.open { display: flex; }
            .burger { display: block; }
            .nav-phone { display: none; }
            .brand .sub { display: none; }
        }
        @media (min-width: 1261px) and (max-width: 1447px) {
            /* средние экраны (ноутбуки 1366–1440): nav не влезает в 1180px wrap — показываем бургер */
            nav.main { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px; gap: 2px; }
            nav.main.open { display: flex; }
            .burger { display: block; }
        }
        @media (min-width: 1448px) {
            /* широкие экраны (≥1448): расширяем wrap, чтобы 10 ссылок влезли в одну строку */
            :root { --wrap: 1400px; }
        }

        footer.site { border-top: 1px solid var(--line); background: var(--graphite); }
        .footgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding: 64px 0 44px; }
        .footgrid h4 { font-size: 13px; font-weight: 600; letter-spacing: .06em; margin: 0 0 16px; color: var(--bone); }
        .footgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
        .footgrid a { color: var(--ash); font-size: 14px; }
        .footgrid a:hover { color: var(--amber); }
        .footgrid .fbrand p { color: var(--ash); font-size: 13.5px; margin: 14px 0 0; max-width: 30ch; }
        .footbase { border-top: 1px solid var(--line); padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #6C7480; }

        /* ============ RESPONSIVE ============ */
        .partition { height: 1px; max-width: 640px; margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(242,163,60,.5), transparent); border: 0; }
        @media (max-width: 1024px) {
            .hero-inner { grid-template-columns: 1fr; gap: 40px; }
            .cards { grid-template-columns: repeat(2, 1fr); }
            .casegrid, .indgrid, .dgrid { grid-template-columns: repeat(2, 1fr); }
            .seq { grid-template-columns: repeat(2, 1fr); }
            .split { grid-template-columns: 1fr; gap: 36px; }
            .footgrid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 640px) {
            .cards, .casegrid, .indgrid, .dgrid, .seq, .grid2 { grid-template-columns: 1fr; }
            .specs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
            .sec { padding: 60px 0; }
            .hero { padding: 120px 0 56px; }
            .footgrid { grid-template-columns: 1fr; }
        }

/* ================================================================
   SUBPAGES — hero, checklist, services, spec-cards, faq, related
   ================================================================ */

/* ---------- page hero + breadcrumb ---------- */
.page-hero { position: relative; overflow: hidden; padding: 132px 0 58px; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(640px 420px at 88% 0%, rgba(242,163,60,.09), transparent 60%),
        radial-gradient(420px 300px at 6% 100%, rgba(242,163,60,.05), transparent 55%);
}
.page-hero .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--font-data); font-size: 12.5px; color: var(--ash); margin-bottom: 22px; }
.crumbs a:hover { color: var(--amber); }
.crumbs .sep { color: #5C6370; }
.page-hero h1 { font-size: clamp(2.15rem, 4.4vw, 3.3rem); margin: 0 0 16px; max-width: 18ch; }
.page-hero .lead { color: var(--ash); font-size: 17px; line-height: 1.65; max-width: 62ch; margin: 0 0 28px; }

/* ---------- checklist: "что изготавливаем" ---------- */
.listk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 44px; }
.k-row { display: flex; gap: 14px; align-items: baseline; border-bottom: 1px dashed var(--line); padding: 12px 0; }
.k-row .ki { font-family: var(--font-data); font-size: 12px; color: var(--amber); flex: none; }
.k-row strong { font-size: 15px; font-weight: 600; }
.k-row span { font-size: 13.5px; color: var(--ash); }

/* ---------- services (vertical pages) ---------- */
.svcgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc { background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; }
.svc h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.svc p { font-size: 13.5px; color: var(--ash); line-height: 1.55; margin: 0 0 12px; }
.svc .pts { list-style: none; margin: 0 0 14px; padding: 0; font-size: 13px; color: var(--ash); display: grid; gap: 5px; }
.svc .pts li::before { content: "\00B7"; color: var(--amber); margin-right: 8px; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.svc .tags i { font-style: normal; font-family: var(--font-data); font-size: 11.5px; color: var(--amber); border: 1px solid var(--line); border-radius: 3px; padding: 3px 9px; background: var(--graphite); }
.svc .price { font-family: var(--font-data); font-size: 13px; color: var(--amber); padding-bottom: 8px; margin-top: auto; }

/* ---------- spec cards: "примеры работ" без фото ---------- */
.specgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.spec { background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.spec .top { position: relative; padding: 22px; min-height: 112px; background: var(--graphite); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.spec .top::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, rgba(235,231,224,.06) 0px, rgba(235,231,224,.06) 1px, transparent 1px, transparent 5px); }
.spec .top .no { font-family: var(--font-data); font-size: 12px; color: var(--amber); margin-bottom: 10px; position: relative; }
.spec .top h3 { font-size: 16px; font-weight: 600; margin: 0; position: relative; }
.spec .body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.spec dl { font-size: 13px; display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 0 0 14px; }
.spec dt { color: var(--ash); font-family: var(--font-data); font-size: 12px; }
.spec dd { margin: 0; }
.spec .save { margin-top: auto; font-family: var(--font-data); font-size: 13.5px; color: var(--amber); border-top: 1px solid var(--line); padding-top: 12px; }

/* ---------- materials: cards (small) ---------- */
.mats { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px; }
.mato { background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.mato .n { font-family: var(--font-data); font-size: 12px; color: var(--amber); margin-bottom: 8px; }
.mato h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.mato p { font-size: 13.5px; color: var(--ash); margin: 0; }

/* ---------- related ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel { display: block; background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: border-color .18s, transform .18s; }
.rel h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.rel p { font-size: 13.5px; color: var(--ash); margin: 0 0 10px; }
.rel .go { font-family: var(--font-data); font-size: 12.5px; color: var(--amber); }
.rel:hover { border-color: var(--amber); transform: translateY(-2px); }

/* ---------- FAQ accordion ---------- */
.faqlist { max-width: 860px; }
details.faq { border-top: 1px solid var(--line); }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 44px 18px 0; font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--bone); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--amber); }
details.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-data); font-size: 18px; color: var(--amber); }
details.faq[open] summary::after { content: "\2013"; }
details.faq[open] summary { color: var(--amber); }
details.faq .fa { padding: 0 0 20px; color: var(--ash); font-size: 14.5px; line-height: 1.65; max-width: 76ch; }

/* ---------- responsive for subpage components ---------- */
@media (max-width: 1024px) {
    .listk { grid-template-columns: 1fr; gap: 0; }
    .svcgrid { grid-template-columns: 1fr; }
    .specgrid, .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .specgrid, .related { grid-template-columns: 1fr; }
    .page-hero { padding: 118px 0 48px; }
}
