  :root {
    /* Brand palette — taken from stalnayamarka.kz: royal/navy blue + steel-grey on white */
    --bg: #FFFFFF;
    --bg-2: #F4F5F9;
    --bg-3: #EBEDF4;
    --ink: #20264A;
    --ink-2: #474D69;
    --ink-3: #787E98;
    --line: #E2E5EE;
    --line-2: #EDEFF5;

    --graphite: #28306C;
    --graphite-2: #2F3878;
    --graphite-3: #36408A;
    --graphite-line: #3D4794;
    --steel: #AAB0D6;
    --steel-2: #D3D7ED;

    --red: #2E3A8C;
    --red-dark: #25306F;
    --red-tint: #ECEEF8;
    --brand-bright: #5663C4;

    --font-sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, monospace;

    --r-lg: 5px;
    --r-md: 4px;
    --r-sm: 3px;
    --maxw: 1300px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    font-size: 16px; line-height: 1.55;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  ::selection { background: var(--red); color: #fff; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
  .mono { font-family: var(--font-mono); }
  .eyebrow {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--red); font-weight: 500;
    display: inline-flex; align-items: center; gap: 9px;
  }
  .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); display: inline-block; }

  h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
    white-space: nowrap; letter-spacing: -0.01em;
  }
  .btn:active { transform: translateY(1px); }
  .btn-red { background: var(--red); color: #fff; }
  .btn-red:hover { background: var(--red-dark); }
  .btn-dark { background: var(--ink); color: #fff; }
  .btn-dark:hover { background: #000; }
  .btn-ghost { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn-arrow { transition: transform .2s ease; }
  .btn:hover .btn-arrow { transform: translateX(3px); }

  /* ---------- Top bar ---------- */
  .topbar { background: var(--graphite); color: var(--steel-2); font-size: 13px; }
  .topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 24px; white-space: nowrap; }
  .topbar .left { display: flex; align-items: center; gap: 16px; min-width: 0; }
  .topbar .dot { width: 7px; height: 7px; border-radius: 99px; background: #35B36B; box-shadow: 0 0 0 3px rgba(53,179,107,0.2); }
  .topbar .stat { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
  .topbar .city-switch { display: inline-flex; gap: 2px; background: var(--graphite-3); border-radius: var(--r-sm); padding: 3px; }
  .topbar .city-switch button { padding: 5px 14px; border-radius: 4px; font-size: 12.5px; color: var(--steel); font-family: var(--font-mono); transition: all .15s ease; }
  .topbar .city-switch button[aria-pressed="true"] { background: var(--brand-bright); color: #fff; }
  .topbar .right { display: flex; align-items: center; gap: 20px; }
  .topbar .phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-family: var(--font-mono); }
  .topbar .phone:hover { color: var(--red); }
  .topbar .right > a:not(.phone) { color: var(--steel-2); }
  .topbar .right > a:not(.phone):hover { color: #fff; }
  .topbar .tb-sep { width: 1px; height: 18px; background: rgba(255,255,255,0.18); }
  .topbar .lang-switch { display: inline-flex; gap: 2px; background: var(--graphite-3); border-radius: var(--r-sm); padding: 3px; }
  .topbar .lang-switch button { padding: 4px 11px; border-radius: 4px; font-size: 11.5px; letter-spacing: 0.04em; color: var(--steel); font-family: var(--font-mono); transition: all .15s ease; }
  .topbar .lang-switch button[aria-pressed="true"] { background: var(--brand-bright); color: #fff; }
  .topbar .lang-switch button:not([aria-pressed="true"]):hover { color: #fff; }
  .topbar .tb-auth { display: inline-flex; align-items: center; gap: 7px; color: #fff !important; font-weight: 600; }
  .topbar .tb-auth svg { color: var(--steel-2); transition: color .15s ease; }
  .topbar .tb-auth:hover svg { color: #fff; }

  /* ---------- Nav ---------- */
  .nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
  .nav.scrolled { box-shadow: 0 6px 22px rgba(20,24,28,0.07); }
  /* Two-tier header: logo row, then full menu bar underneath */
  .nav-top { position: relative; }
  .nav-top .wrap { display: flex; align-items: center; gap: 28px; height: 88px; }
  .nav-info { display: flex; align-items: center; gap: 30px; margin-left: 10px; }
  .nav-info .ni { display: flex; align-items: center; gap: 11px; }
  .nav-info .ni .ic { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); flex: none; }
  .nav-info .ni .ic svg { width: 18px; height: 18px; }
  .nav-info .ni .tx { line-height: 1.2; }
  .nav-info .ni .tx .l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
  .nav-info .ni .tx .v { font-size: 14px; font-weight: 600; color: var(--ink); margin-top: 2px; }
  .nav-info .ni .tx a.v { display: block; }
  .nav-info .ni .tx a.v:hover { color: var(--red); }
  .nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
  .cp-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
  .nav-citypick { position: relative; }
  .nav-citypick > button { display: flex; align-items: center; gap: 11px; padding: 5px 9px 5px 6px; border-radius: var(--r-sm); transition: background .15s ease; }
  .nav-citypick > button:hover { background: var(--bg-2); }
  .cp-ic { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); flex: none; }
  .cp-ic svg { width: 18px; height: 18px; }
  .cp-tx { text-align: left; line-height: 1.18; white-space: nowrap; }
  .cp-top { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
  .cp-top .cp-name { color: var(--ink); font-weight: 600; }
  .cp-top .caret { width: 6px; height: 6px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg) translateY(-1px); transition: transform .2s ease; }
  .nav-citypick.open .caret { transform: rotate(-135deg); }
  .cp-num { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-top: 1px; }
  .drop.cp-drop { left: auto; right: 0; min-width: 366px; padding: 0; overflow: hidden; }
  .drop.cp-drop .cp-head { padding: 16px 18px 13px; border-bottom: 1px solid var(--line-2); }
  .drop.cp-drop .cp-head .cp-head-l { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
  .drop.cp-drop .cp-head .cp-head-s { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 5px; letter-spacing: -0.01em; }
  .drop.cp-drop .cp-list { max-height: 60vh; overflow-y: auto; }
  .drop.cp-drop .cp-list a { display: flex; align-items: flex-start; gap: 13px; padding: 14px 18px; border-radius: 0; border-left: none; border-bottom: 1px solid var(--line-2); }
  .drop.cp-drop .cp-list a:last-child { border-bottom: 0; }
  .drop.cp-drop .cp-list a:hover { background: var(--bg-2); }
  .drop.cp-drop .cp-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--steel); flex: none; margin-top: 2px; position: relative; transition: border-color .15s ease; }
  .drop.cp-drop .cp-list a:hover .cp-radio { border-color: var(--ink-3); }
  .drop.cp-drop .cp-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .16s ease; }
  .drop.cp-drop .cp-opt-body { flex: 1; min-width: 0; }
  .drop.cp-drop .cp-opt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .drop.cp-drop .cn { font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
  .drop.cp-drop .cp-badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); opacity: 0; }
  .drop.cp-drop .cp-addr { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }
  .drop.cp-drop .cph { display: block; font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 8px; white-space: nowrap; }
  .drop.cp-drop .cp-list a:hover .cph { color: var(--red); }
  .drop.cp-drop .cp-list a.cur .cp-radio { border-color: var(--red); }
  .drop.cp-drop .cp-list a.cur .cp-radio::after { transform: scale(1); }
  .drop.cp-drop .cp-list a.cur .cn { color: var(--red); }
  .drop.cp-drop .cp-list a.cur .cp-badge { opacity: 1; }
  .drop.cp-drop .cp-list a.cur .cph { color: var(--red); }
  .drop.cp-drop .cp-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line-2); background: var(--bg-2); font-size: 12.5px; color: var(--ink-3); }
  .drop.cp-drop .cp-foot svg { width: 15px; height: 15px; color: var(--ink-3); flex: none; }
  .nav-cb { font-size: 12.5px; color: var(--red); font-weight: 500; border-bottom: 1px dashed currentColor; margin-right: 3px; }
  .nav-cb:hover { color: var(--red-dark); }
  .nav-search { width: 44px; height: 44px; border-radius: var(--r-sm); display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); transition: all .15s; flex: none; }
  .nav-search:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
  .nav-menu { border-top: 1px solid var(--line); }
  .nav-menu .wrap { display: flex; align-items: center; height: 50px; }
  .nav-burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line); place-items: center; color: var(--ink); }
  .logo { display: inline-flex; align-items: center; gap: 12px; }
  .logo img { height: 46px; width: auto; display: block; }
  footer .brand .logo img { height: 52px; }
  .logo .mark { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; letter-spacing: -0.03em; position: relative; overflow: hidden; }
  .logo .mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--ink); }
  .logo .name b { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; display: block; line-height: 1.1; }
  .logo .name span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
  .nav-links { display: flex; align-items: center; gap: 0; margin-left: -14px; font-size: 15px; color: var(--red); white-space: nowrap; font-weight: 500; }
  .nav-links > a, .nav-links > .has-mega > button, .nav-links > .has-drop > button { display: inline-flex; align-items: center; gap: 6px; height: 50px; padding: 0 14px; font-weight: 500; transition: color .15s ease; }
  .nav-links > a:hover, .nav-links .has-mega button:hover, .nav-links .has-drop button:hover { color: var(--red-dark); }
  .nav-links .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
  .has-mega.open .caret { transform: rotate(-135deg) translateY(-1px); }
  /* Simple dropdown menus (Услуги, О компании, Контакты) */
  .has-drop { position: relative; }
  .has-drop.open .caret { transform: rotate(-135deg) translateY(-1px); }
  .drop { position: absolute; top: 100%; left: 0; min-width: 236px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 24px 54px rgba(20,24,40,0.16); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; z-index: 70; }
  .has-drop.open .drop { opacity: 1; visibility: visible; transform: translateY(0); }
  .drop a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--ink-2); font-weight: 500; border-left: 2px solid transparent; transition: background .15s ease, color .15s ease; }
  .drop a:hover { background: var(--bg-2); color: var(--red); border-left-color: var(--red); }
  .drop a .g { font-family: var(--font-mono); font-size: 10px; color: var(--ink-3); }
  /* Mobile menu panel */
  .mobile-menu { display: none; position: fixed; inset: 0; z-index: 95; background: #fff; overflow-y: auto; }
  .mobile-menu .mm-head { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
  .mobile-menu .mm-head img { height: 42px; }
  .mobile-menu .mm-close { width: 44px; height: 44px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; font-size: 22px; color: var(--ink); }
  .mobile-menu .mm-body { padding: 12px 18px 40px; }
  .mobile-menu .mm-grp { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 6px; }
  .mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 13px 4px; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); }
  .mobile-menu a.sub { padding-left: 16px; font-size: 14.5px; font-weight: 400; color: var(--ink-2); }
  .mobile-menu a .g { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); font-weight: 400; }
  .nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

  /* ---------- Auth modal ---------- */
  .auth-modal { display: none; position: fixed; inset: 0; z-index: 110; background: rgba(12,16,42,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 24px; align-items: center; justify-content: center; }
  .auth-modal.open { display: flex; }
  .auth-card { position: relative; width: 100%; max-width: 408px; max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 32px 30px; box-shadow: 0 40px 90px rgba(12,16,42,0.3); animation: authpop .2s ease; }
  @keyframes authpop { from { opacity: 0; transform: translateY(10px); } }
  .auth-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 22px; color: var(--ink-3); transition: background .15s ease, color .15s ease; }
  .auth-x:hover { background: var(--bg-2); color: var(--ink); }
  .auth-head { text-align: center; margin-bottom: 22px; }
  .auth-logo { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: var(--r-md); background: var(--red); color: #fff; display: grid; place-items: center; }
  .auth-head h3 { font-size: 22px; margin: 0 0 6px; }
  .auth-head p { font-size: 13.5px; color: var(--ink-3); margin: 0; line-height: 1.5; }
  .auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--bg-3); border-radius: var(--r-sm); padding: 3px; margin-bottom: 22px; }
  .auth-tab { padding: 9px; border-radius: 4px; font-size: 14px; font-weight: 600; color: var(--ink-3); transition: all .15s ease; }
  .auth-tab.on { background: #fff; color: var(--red); box-shadow: 0 1px 3px rgba(20,24,40,0.12); }
  .auth-field { display: block; margin-bottom: 14px; }
  .auth-field .al { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
  .auth-field input { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 13px; font: inherit; font-size: 15px; color: var(--ink); }
  .auth-field input:focus { outline: none; border-color: var(--red); background: #fff; }
  .auth-submit { width: 100%; justify-content: center; margin-top: 4px; }
  .auth-foot { font-size: 11.5px; color: var(--ink-3); text-align: center; margin-top: 14px; line-height: 1.5; }
  .auth-modal[data-mode="login"] .auth-only-register { display: none; }
  .auth-modal[data-mode="register"] .auth-only-login { display: none; }
  .auth-submit .auth-only-login, .auth-submit .auth-only-register { display: inline; }
  .auth-modal[data-mode="login"] .auth-submit .auth-only-register { display: none; }
  .auth-modal[data-mode="register"] .auth-submit .auth-only-login { display: none; }
  .nav-search { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); transition: all .15s ease; }
  .nav-search:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }

  /* Mega menu — rich multi-column */
  .has-mega { position: static; }
  .mega { position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%) translateY(8px); width: min(1240px, calc(100vw - 48px)); background: #fff; border-radius: var(--r-md); box-shadow: 0 30px 70px rgba(20,24,40,0.18); border: 1px solid var(--line); padding: 0; opacity: 0; visibility: hidden; transition: all .18s ease; z-index: 70; overflow: hidden; }
  .has-mega.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
  .mega-col { padding: 22px 22px 18px; border-right: 1px solid var(--line-2); }
  .mega-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; font-weight: 500; }
  .mega-col a { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--ink-2); font-weight: 500; transition: background .15s ease, color .15s ease, border-color .15s ease; border-left: 2px solid transparent; }
  .mega-col a:hover { background: var(--bg-2); color: var(--red); border-left-color: var(--red); }
  .mega-col a.cur { color: var(--ink); }
  .mega-col a.sub { font-size: 13px; color: var(--ink-3); padding: 6px 12px 6px 26px; position: relative; }
  .mega-col a.sub::before { content: ""; position: absolute; left: 13px; top: 50%; width: 7px; height: 1.5px; border-radius: 1px; background: var(--ink-3); opacity: 0.55; transition: background .15s ease, opacity .15s ease; }
  .mega-col a.sub:hover::before { background: var(--red); opacity: 1; }
  .mega-promo { background: var(--bg-2); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
  .mega-promo .hit { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
  .mega-promo .hit .t { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
  .mega-promo .hit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
  .mega-promo .hit li { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
  .mega-promo .hit li b { color: var(--ink); font-weight: 600; white-space: nowrap; }
  .mega-promo .hit li .pr { font-family: var(--font-mono); font-size: 12px; color: var(--red); }
  .mega-promo .callbox { background: var(--red); color: #fff; border-radius: var(--r-sm); padding: 16px; }
  .mega-promo .callbox b { display: block; font-size: 15px; margin-bottom: 4px; }
  .mega-promo .callbox span { font-size: 12.5px; opacity: 0.85; }
  .mega-promo .callbox .btn { margin-top: 12px; width: 100%; justify-content: center; background: #fff; color: var(--red); }
  .mega-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--bg-2); }
  .mega-foot span { font-size: 13px; color: var(--ink-3); }

  /* ---------- Hero ---------- */
  .hero { padding: 60px 0 64px; border-bottom: 1px solid var(--line); }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: stretch; }
  .hero-flag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
  .hero-flag .pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); padding: 7px 13px; border-radius: var(--r-sm); font-weight: 500; }
  .hero h1 { font-size: clamp(40px, 5vw, 76px); line-height: 1.02; margin: 0; font-weight: 700; }
  .hero h1 .red { color: var(--red); }
  .hero-sub { max-width: 500px; margin: 26px 0 30px; font-size: 18px; color: var(--ink-2); }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .hero-note { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-3); margin-top: 22px; }
  .hero-note .ok { width: 18px; height: 18px; border-radius: 4px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-size: 11px; }

  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .hero-stats .st { padding: 22px; border-right: 1px solid var(--line); }
  .hero-stats .st:last-child { border-right: 0; }
  .hero-stats .st .v { font-size: clamp(32px, 3.2vw, 44px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
  .hero-stats .st .v small { font-size: 0.42em; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
  .hero-stats .st .l { font-size: 12.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.35; }

  /* Hero visual */
  .hero-art { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(155deg, #323C8E, #232B62 72%); min-height: 500px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: var(--steel-2); }
  .hero-art .grain { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px 300px at 82% 0%, rgba(120,135,230,0.32), transparent 62%); }
  .bars { position: absolute; left: -8%; right: -8%; bottom: -6%; height: 64%; display: flex; gap: 9px; align-items: flex-end; transform: rotate(-8deg); transform-origin: bottom center; opacity: 0.9; }
  .bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #464D54, #232930 60%, #161A1E); box-shadow: inset 1.5px 0 0 rgba(255,255,255,0.08), inset -1.5px 0 0 rgba(0,0,0,0.4); }
  .hero-art .top-row { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; }
  .tag-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); white-space: nowrap; }
  .hero-art .float-card { position: relative; z-index: 2; align-self: flex-start; background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 16px 18px; box-shadow: 0 20px 40px rgba(0,0,0,0.32); max-width: 240px; border-top: 3px solid var(--red); }
  .float-card .h { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
  .float-card .p { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
  .hero-art .badge-cert { position: relative; z-index: 2; align-self: flex-end; margin-left: auto; display: inline-flex; align-items: center; gap: 9px; background: var(--brand-bright); color: #fff; padding: 10px 15px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; }

  /* ===== Hero with photo background ===== */
  .hero { position: relative; padding: 0; border-bottom: 1px solid var(--ink); overflow: hidden; background: #0C1030; isolation: isolate; }
  .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: 0; }
  .hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(10,13,34,0.94) 0%, rgba(10,13,34,0.78) 32%, rgba(10,13,34,0.34) 60%, rgba(10,13,34,0.06) 100%),
      linear-gradient(0deg, rgba(7,9,26,0.88) 0%, rgba(7,9,26,0.10) 34%, rgba(7,9,26,0) 56%); }
  .hero-inner { position: relative; z-index: 2; min-height: 604px; display: flex; flex-direction: column; justify-content: center; padding-top: 92px; padding-bottom: 170px; }
  .hero-inner .hero-flag .pill { color: #DDE0F2; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
  .hero-inner h1 { color: #fff; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -0.005em; font-weight: 700; max-width: 770px; margin: 0; }
  .hero-inner h1 .red { color: #fff; }
  .hero-inner .hero-sub { color: #C5CAEA; max-width: 520px; margin: 24px 0 30px; font-size: 17px; }
  .hero-inner .hero-note { color: var(--steel-2); }
  .hero-inner .hero-note .ok { background: rgba(255,255,255,0.16); color: #fff; }
  .btn-ghost-light { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); color: #fff; }
  .btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,0.08); }
  /* bottom stats bar over the photo */
  .hero-statbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(7,9,26,0.52); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 1px solid rgba(255,255,255,0.16); }
  .hero-statbar .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stat { display: flex; align-items: center; gap: 18px; padding: 26px 0; color: #fff; position: relative; }
  .hero-stat + .hero-stat { padding-left: 44px; }
  .hero-stat + .hero-stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: rgba(255,255,255,0.20); }
  .hero-stat .ic { width: 38px; height: 38px; flex: none; color: #fff; opacity: 0.92; }
  .hero-stat .t { font-size: 14.5px; font-weight: 500; line-height: 1.26; text-transform: uppercase; letter-spacing: 0.015em; color: var(--steel-2); }
  .hero-stat .t b { font-weight: 700; color: #fff; }
  @media (max-width: 900px) {
    .hero-inner { min-height: 420px; padding-top: 60px; padding-bottom: 52px; }
    .hero-statbar { position: static; background: var(--graphite); backdrop-filter: none; }
    .hero-statbar .wrap { grid-template-columns: 1fr; }
    .hero-stat { padding: 15px 0; }
    .hero-stat + .hero-stat { padding-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
    .hero-stat + .hero-stat::before { display: none; }
  }

  /* ---------- Sections ---------- */
  section.block { padding: 96px 0; }
  .sec-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 44px; }
  .sec-head h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; margin: 14px 0 0; font-weight: 700; }
  .sec-head .sh-right { text-align: right; max-width: 380px; }
  .sec-head .sh-right p { color: var(--ink-2); font-size: 15px; margin: 0 0 16px; }

  /* ---------- Catalog ---------- */
  .cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .cat { position: relative; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); min-height: 236px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  .cat:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 16px 32px rgba(20,24,28,0.08); }
  .cat .ph { flex: 1; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(0,0,0,0.05)), repeating-linear-gradient(115deg, #D7DCE1 0 9px, #CDD3D9 9px 18px); }
  .cat .ph::after { content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(20,24,28,0.32); }
  .cat .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform .4s ease; }
  .cat:hover .ph img { transform: scale(1.05); }
  .cat .ph:has(img)::after { display: none; }
  .cat .meta { padding: 16px 18px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
  .cat .meta h3 { font-size: 19px; line-height: 1.12; margin: 0; font-weight: 600; }
  .cat .meta .g { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); margin-top: 7px; display: block; }
  .cat .arrow { width: 34px; height: 34px; flex: none; border-radius: var(--r-sm); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: all .18s ease; }
  .cat:hover .arrow { background: var(--red); border-color: var(--red); color: #fff; }
  .cat.feature { grid-column: span 2; background: var(--graphite); border-color: var(--graphite); color: #fff; }
  .cat.feature .ph { background: linear-gradient(150deg, #262C33, #14181C); }
  .cat.feature .ph::after { color: var(--steel); }
  .cat.feature .meta .g { color: var(--steel); }
  .cat.feature .arrow { border-color: var(--graphite-line); color: var(--steel-2); }
  .cat.accent { background: var(--red); border-color: var(--red); color: #fff; }
  .cat.accent .ph { background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(0,0,0,0.08)), repeating-linear-gradient(115deg, rgba(255,255,255,0.12) 0 9px, rgba(255,255,255,0.04) 9px 18px); }
  .cat.accent .ph::after { color: rgba(255,255,255,0.7); }
  .cat.accent .meta .g { color: rgba(255,255,255,0.8); }
  .cat.accent .arrow { border-color: rgba(255,255,255,0.4); color: #fff; }
  .cat.accent:hover .arrow { background: #fff; color: var(--red); border-color: #fff; }

  /* ---------- Services ---------- */
  .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .svc-card { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 468px; border: 1px solid var(--line); isolation: isolate; }
  .svc-card .svc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .4s ease; }
  .svc-card:hover .svc-photo { transform: scale(1.04); }
  .svc-card .veil { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(8,10,28,0.84) 0%, rgba(8,10,28,0.36) 32%, rgba(8,10,28,0.05) 56%, rgba(8,10,28,0) 72%); }
  .svc-card .tagtop { position: absolute; top: 18px; left: 18px; z-index: 3; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(8,10,28,0.42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 6px 11px; border-radius: var(--r-sm); }
  .svc-card .lbl { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .svc-card .lbl .name { background: var(--red); color: #fff; font-weight: 600; font-size: 15px; padding: 13px 18px; border-radius: var(--r-sm); letter-spacing: 0.01em; text-transform: uppercase; }
  .svc-card .lbl .go { width: 46px; height: 46px; border-radius: var(--r-sm); border: 1.5px solid rgba(255,255,255,0.75); color: #fff; display: grid; place-items: center; flex: none; background: rgba(8,10,28,0.30); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .16s ease, border-color .16s ease, transform .16s ease; }
  .svc-card .lbl .go:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

  /* ---------- Advantages ---------- */
  .adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .adv { background: #fff; border-radius: var(--r-md); padding: 30px 28px; border: 1px solid var(--line); transition: border-color .18s ease; }
  .adv:hover { border-color: var(--ink); }
  .adv .ic { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--red-tint); display: grid; place-items: center; color: var(--red); margin-bottom: 18px; }
  .adv h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
  .adv p { font-size: 14px; color: var(--ink-2); margin: 0; }

  /* ---------- Grades ---------- */
  .grades-band { background: var(--graphite); color: #fff; }
  .grades-band .wrap { padding: 40px 32px; display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
  .grades-band .gl .eyebrow { color: var(--brand-bright); }
  .grades-band .gl .eyebrow::before { background: var(--brand-bright); }
  .grades-band .gl h3 { font-size: 24px; margin: 12px 0 0; color: #fff; }
  .grades-band .gl p { font-size: 13.5px; color: var(--steel); margin: 8px 0 0; }
  .grades-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--graphite-line); border: 1px solid var(--graphite-line); border-radius: var(--r-sm); overflow: hidden; }
  .grades-grid span { background: var(--graphite); padding: 16px 10px; text-align: center; font-family: var(--font-mono); font-size: 15px; color: var(--steel-2); transition: background .15s ease, color .15s ease; }
  .grades-grid span:hover { background: var(--brand-bright); color: #fff; }

  /* ---------- Partners ---------- */
  .partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 8px 0; }
  .partners .pl { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; color: var(--steel); transition: color .2s ease; }
  .partners .pl:hover { color: var(--ink); }

  /* ---------- About ---------- */
  .seo-block { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 38px; }
  .seo-text { position: relative; max-height: 176px; overflow: hidden; transition: max-height .45s ease; }
  .seo-text.open { max-height: 4000px; }
  .seo-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(0deg, #fff 12%, rgba(255,255,255,0)); transition: opacity .3s ease; pointer-events: none; }
  .seo-text.open::after { opacity: 0; }
  .seo-text h3 { font-size: 19px; margin: 24px 0 9px; letter-spacing: -0.01em; }
  .seo-text h3:first-child { margin-top: 0; }
  .seo-text p { font-size: 15px; color: var(--ink-2); line-height: 1.72; margin: 0 0 12px; max-width: 900px; }
  .seo-text strong { color: var(--ink); font-weight: 600; }
  .seo-more { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--red); font-size: 14.5px; }
  .seo-more:hover { color: var(--red-dark); }
  .seo-more .ch { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
  .seo-more.open .ch { transform: rotate(-135deg) translateY(0); }
  .about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .about-art { border-radius: var(--r-lg); overflow: hidden; min-height: 440px; position: relative; background: var(--graphite); }
  .about-art .about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .about-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(8,10,28,0.7), rgba(8,10,28,0)); }
  .about-art .ph-tag { position: absolute; left: 22px; bottom: 22px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
  .about-art .bars2 { position: absolute; inset: 0; display: flex; gap: 13px; padding: 40px; align-items: flex-end; opacity: 0.85; }
  .about-art .bars2 i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #454C53, #1B2025); box-shadow: inset 1px 0 0 rgba(255,255,255,0.06); }
  .about h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; margin: 14px 0 0; font-weight: 700; }
  .about p { color: var(--ink-2); font-size: 16px; margin: 20px 0 0; max-width: 520px; }
  .about .mini-stats { display: flex; gap: 32px; margin-top: 32px; }
  .about .mini-stats .v { font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--red); }
  .about .mini-stats .l { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
  .about-more { margin-top: 52px; }
  .about-more .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
  .about-more .hd h3 { font-size: 22px; margin: 0; }
  .about-more .hd span { font-size: 13.5px; color: var(--ink-3); }
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .tl { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; position: relative; transition: border-color .18s ease, transform .18s ease; }
  .tl:hover { border-color: var(--red); transform: translateY(-3px); }
  .tl .yr { font-family: var(--font-mono); font-size: 14px; color: var(--red); font-weight: 500; letter-spacing: 0.04em; }
  .tl h4 { font-size: 16px; margin: 12px 0 6px; }
  .tl p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
  .req { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .req .r { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
  .req .r .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
  .req .r .val { font-size: 14.5px; font-weight: 600; margin-top: 7px; }

  /* ---------- News ---------- */
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .post { background: #fff; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
  .post:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 16px 32px rgba(20,24,28,0.07); }
  .post .ph { height: 164px; background: repeating-linear-gradient(115deg, #D8DDE2 0 9px, #CED4DA 9px 18px); position: relative; }
  .post .ph .date { position: absolute; left: 14px; top: 14px; background: #fff; font-family: var(--font-mono); font-size: 11px; padding: 5px 10px; border-radius: 4px; color: var(--ink-2); border: 1px solid var(--line); }
  .post .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .post .body h3 { font-size: 19px; line-height: 1.18; margin: 0; font-weight: 600; }
  .post .body p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
  .post .body .lk { margin-top: auto; font-size: 13.5px; color: var(--red); display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }

  /* ---------- CTA ---------- */
  .cta { background: var(--red); color: #fff; border-radius: var(--r-lg); padding: 60px 56px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
  .cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,0.06); }
  .cta .ct { position: relative; z-index: 2; }
  .cta .eyebrow { color: #fff; }
  .cta .eyebrow::before { background: #fff; }
  .cta h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.04; margin: 14px 0 0; font-weight: 700; }
  .cta p { font-size: 17px; margin: 18px 0 0; opacity: 0.92; max-width: 420px; }
  .cta .bullets { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; }
  .cta .bullets div { display: flex; align-items: center; gap: 12px; font-size: 15px; }
  .cta .bullets .b { width: 22px; height: 22px; border-radius: 4px; background: rgba(255,255,255,0.18); color: #fff; display: grid; place-items: center; font-size: 12px; flex: none; }
  .form { position: relative; z-index: 2; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 30px; }
  .form h3 { font-size: 23px; margin: 0 0 6px; font-weight: 600; }
  .form .fs { font-size: 13.5px; color: var(--steel); margin: 0 0 20px; }
  .field { margin-bottom: 13px; }
  .field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin-bottom: 7px; }
  .field input, .field textarea, .field select { width: 100%; background: var(--graphite-2); color: #fff; border: 1px solid var(--graphite-line); border-radius: var(--r-sm); padding: 13px 14px; font: inherit; font-size: 15px; transition: border-color .15s ease; }
  .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-bright); }
  .field input::placeholder, .field textarea::placeholder { color: #6A727A; }
  .field.err input { border-color: #E0483D; }
  .form .submit { width: 100%; justify-content: center; margin-top: 6px; }
  .form .agree { font-size: 11.5px; color: var(--ink-3); margin-top: 13px; text-align: center; }
  .form-ok { text-align: center; padding: 26px 10px; }
  .form-ok .big { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: var(--r-md); background: var(--red); color: #fff; display: grid; place-items: center; font-size: 28px; }
  .form-ok h3 { margin-bottom: 8px; }

  /* ---------- FAQ ---------- */
  .faq { max-width: 880px; margin: 0 auto; }
  .faq-item { border-top: 1px solid var(--line); }
  .faq-item:last-child { border-bottom: 1px solid var(--line); }
  .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: 24px 0; font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
  .faq-tog { width: 36px; height: 36px; flex: none; border-radius: var(--r-sm); border: 1px solid var(--line); display: grid; place-items: center; position: relative; transition: all .2s ease; }
  .faq-tog::before, .faq-tog::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
  .faq-tog::before { width: 13px; height: 2px; }
  .faq-tog::after { width: 2px; height: 13px; transition: transform .2s ease; }
  .faq-item.open .faq-tog { background: var(--red); border-color: var(--red); }
  .faq-item.open .faq-tog::before, .faq-item.open .faq-tog::after { background: #fff; }
  .faq-item.open .faq-tog::after { transform: rotate(90deg); opacity: 0; }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .faq-a-inner { padding: 0 0 24px; color: var(--ink-2); font-size: 16px; max-width: 680px; }

  /* ---------- Footer ---------- */
  footer { background: var(--red); color: var(--steel-2); padding: 68px 0 34px; }
  footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
  footer .brand .logo .name b { color: #fff; }
  footer .brand .logo .mark { background: #fff; color: var(--red); }
  footer .brand .logo .mark::after { background: var(--red); }
  footer .brand p { font-size: 14px; color: var(--steel); margin: 18px 0; max-width: 280px; }
  footer .brand .socials { display: flex; gap: 10px; }
  footer .brand .socials a { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.24); color: #fff; transition: all .15s ease; }
  footer .brand .socials a:hover { background: #fff; border-color: #fff; color: var(--red); }
  footer h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin: 0 0 16px; }
  footer .col a { display: block; padding: 6px 0; font-size: 14px; color: var(--steel-2); }
  footer .col a:hover { color: #fff; }
  footer .contacts .c { margin-bottom: 16px; }
  footer .contacts .city { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
  footer .contacts a { color: #fff; font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
  footer .contacts .addr { font-size: 12.5px; color: var(--steel); line-height: 1.4; }
  footer .bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 12.5px; color: var(--steel); }
  footer .bottom .links { display: flex; gap: 20px; }

  /* ---------- Category chips + quick answer ---------- */
  .subnav { border-bottom: 1px solid var(--line); background: #fff; }
  .subnav .wrap { display: flex; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; }
  .subnav .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; margin-right: 4px; }
  .chip { white-space: nowrap; font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); transition: all .15s ease; }
  .chip:hover { border-color: var(--red); color: var(--red); background: var(--red-tint); }

  .quickfacts { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;px 60px rgba(20,24,40,0.08); }
  .quickfacts .qa { padding: 46px; }
  .quickfacts .qa h2 { font-size: clamp(26px, 2.8vw, 40px); margin: 14px 0 18px; }
  .quickfacts .qa .lead { font-size: 16px; color: var(--ink-2); margin: 0 0 26px; max-width: 620px; line-height: 1.62; }
  .quickfacts .qa .lead strong { color: var(--ink); }
  .quickfacts .qa ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
  .quickfacts .qa li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink); align-items: flex-start; line-height: 1.4; }
  .quickfacts .qa li .ck { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--red); color: #fff; display: grid; place-items: center; margin-top: 1px; }
  .qf-card { background: var(--graphite); color: #fff; padding: 42px 40px; position: relative; overflow: hidden; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
  .qf-card::before { content: none; }
  .qf-card .h4row { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
  .qf-card h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel-2); margin: 0; }
  .qf-card .badge2 { position: relative; z-index: 2; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; background: rgba(255,255,255,0.12); color: #fff; padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
  .qf-card .badge2 .d { width: 6px; height: 6px; border-radius: 99px; background: #4FD08A; }
  .qf-card .row { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.13); font-size: 14px; gap: 12px; }
  .qf-card .row:first-of-type { border-top: 0; padding-top: 18px; }
  .qf-card .row .k { color: var(--steel-2); }
  .qf-card .row b { font-weight: 600; color: #fff; text-align: right; }
  .qf-card .row.big b { font-size: 22px; letter-spacing: -0.02em; color: #fff; }
  .qf-card .row.big .k { font-size: 13px; }

  /* ---------- Price table ---------- */
  .price-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
  .price-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr 150px; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line-2); font-size: 14.5px; }
  .price-row:first-child { border-top: 0; background: var(--bg-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
  .price-row .nm { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }
  .price-row .nm .sq { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--red-tint); color: var(--red); display: grid; place-items: center; flex: none; }
  .price-row .gost { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
  .price-row .stock { font-size: 12.5px; color: #1F9D57; display: inline-flex; align-items: center; gap: 6px; }
  .price-row .stock .d { width: 7px; height: 7px; border-radius: 99px; background: #1F9D57; }
  .price-row .pr { font-weight: 700; color: var(--red); font-size: 16px; }
  .price-row .pr small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
  .price-row .btn { padding: 9px 16px; font-size: 13px; }
  .price-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

  /* ---------- Calculator ---------- */
  .calc { background: var(--graphite); color: #fff; border-radius: var(--r-lg); padding: 0; overflow: hidden; display: grid; grid-template-columns: 1.05fr 0.95fr; }
  .calc-l { padding: 48px 48px 44px; }
  .calc-l .eyebrow { color: var(--brand-bright); }
  .calc-l .eyebrow::before { background: var(--brand-bright); }
  .calc-l h2 { font-size: clamp(28px, 3vw, 44px); margin: 14px 0 12px; color: #fff; }
  .calc-l p { color: var(--steel-2); font-size: 15px; margin: 0 0 26px; max-width: 420px; }
  .calc-field { margin-bottom: 16px; }
  .calc-field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
  .calc-seg { display: flex; flex-wrap: wrap; gap: 6px; }
  .calc-seg button { padding: 9px 14px; border-radius: var(--r-sm); background: var(--graphite-2); border: 1px solid var(--graphite-line); color: var(--steel-2); font-size: 13.5px; font-weight: 500; transition: all .15s ease; }
  .calc-seg button[aria-pressed="true"] { background: var(--brand-bright); border-color: var(--brand-bright); color: #fff; }
  .calc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .calc-field input, .calc-field select { width: 100%; background: var(--graphite-2); color: #fff; border: 1px solid var(--graphite-line); border-radius: var(--r-sm); padding: 12px 13px; font: inherit; font-size: 15px; }
  .calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--brand-bright); }
  .calc-r { background: var(--graphite-2); padding: 48px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--graphite-line); }
  .calc-out .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
  .calc-out .big { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 8px 0 4px; }
  .calc-out .big small { font-size: 0.32em; font-weight: 500; color: var(--steel-2); }
  .calc-out .sub { color: var(--steel-2); font-size: 14px; }
  .calc-out .price-est { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--graphite-line); }
  .calc-out .price-est .v { font-size: 30px; font-weight: 700; color: var(--brand-bright); letter-spacing: -0.02em; }
  .calc-r .btn { margin-top: 26px; width: 100%; justify-content: center; }
  .calc-r .disc { font-size: 11.5px; color: var(--steel); margin-top: 12px; text-align: center; }

  /* ---------- Steps ---------- */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: st; }
  .step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px; position: relative; transition: border-color .18s ease, transform .18s ease; }
  .step:hover { border-color: var(--red); transform: translateY(-3px); }
  .step .num { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--red); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 17px; margin-bottom: 16px; }
  .step h3 { font-size: 18px; margin: 0 0 8px; }
  .step p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
  .step::after { content: ""; position: absolute; top: 44px; right: -7px; width: 14px; height: 14px; border-right: 2px solid var(--line); border-top: 2px solid var(--line); transform: rotate(45deg); z-index: 2; }
  .step:last-child::after { display: none; }

  /* ---------- Reviews ---------- */
  .rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .rev { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
  .rev .stars { color: #F5A623; font-size: 15px; letter-spacing: 2px; }
  .rev p { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 0; flex: 1; }
  .rev .who { display: flex; align-items: center; gap: 12px; }
  .rev .av { width: 42px; height: 42px; border-radius: 999px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-weight: 700; flex: none; }
  .rev .who .n { font-weight: 600; font-size: 14px; }
  .rev .who .r { font-size: 12.5px; color: var(--ink-3); }
  .rev-rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .rev-rating .score { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
  .rev-rating .meta { font-size: 13px; color: var(--ink-3); }

  /* ---------- Ask question (FAQ) ---------- */
  .faq-layout { display: grid; grid-template-columns: 358px 1fr; gap: 28px; align-items: start; }
  .faq-layout .faq { max-width: none; margin: 0; order: 2; }
  .ask { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(20,24,40,0.06); border-radius: var(--r-lg); padding: 30px; order: 1; position: sticky; top: 96px; }
  .ask .at { margin-bottom: 20px; }
  .ask .at h3 { font-size: 24px; margin: 0 0 8px; color: var(--ink); }
  .ask .at p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
  .ask .at .ph { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-family: var(--font-mono); font-size: 14px; color: var(--red); font-weight: 500; }
  .ask form { display: flex; flex-direction: column; gap: 16px; }
  .ask #askFields { display: flex; flex-direction: column; gap: 16px; }
  .ask .ask-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .ask input, .ask textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 13px; font: inherit; font-size: 14.5px; color: var(--ink); }
  .ask input::placeholder, .ask textarea::placeholder { color: var(--ink-3); }
  .ask input:focus, .ask textarea:focus { outline: none; border-color: var(--red); background: #fff; }
  .ask .field-e input { border-color: #E0483D; }
  .ask textarea { resize: vertical; min-height: 56px; }
  .ask .row-btn { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
  .ask .row-btn .agree { font-size: 11.5px; color: var(--ink-3); }
  .ask-ok { text-align: center; padding: 8px 0; }
  .ask-ok .big { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: var(--r-md); background: var(--red); color: #fff; display: grid; place-items: center; font-size: 26px; }
  .ask-ok h3 { color: var(--ink); margin: 0 0 6px; font-size: 22px; }
  .ask-ok p { color: var(--ink-2); font-size: 14px; margin: 0; }

  /* WhatsApp float */
  .wa { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: var(--r-md); background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(37,211,102,0.4); transition: transform .15s ease; }
  .wa:hover { transform: scale(1.06); }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* Responsive */
  @media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { min-height: 360px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .cat.feature { grid-column: span 2; }
    .svc-grid, .adv-grid, .news-grid { grid-template-columns: 1fr 1fr; }
    .grades-band .wrap { grid-template-columns: 1fr; gap: 24px; }
    .grades-grid { grid-template-columns: repeat(4, 1fr); }
    .about { grid-template-columns: 1fr; }
    .cta { grid-template-columns: 1fr; }
    .quickfacts { grid-template-columns: 1fr; }
    .quickfacts .qa ul { grid-template-columns: 1fr; }
    .calc { grid-template-columns: 1fr; }
    .calc-l, .calc-r { padding: 36px; }
    .calc-r { border-left: 0; border-top: 1px solid var(--graphite-line); }
    .steps { grid-template-columns: 1fr 1fr; }
    .step::after { display: none; }
    .rev-grid { grid-template-columns: 1fr; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-layout .faq { order: 1; }
    .ask { position: static; order: 2; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .req { grid-template-columns: 1fr 1fr; }
    .price-row { grid-template-columns: 1.4fr 1fr 130px; }
    .price-row .gost, .price-row .stock { display: none; }
    footer .top { grid-template-columns: 1fr 1fr; }
    .nav-menu { display: none; }
    .nav-burger { display: inline-grid; }
    .mobile-menu.open { display: block; }
    .nav-info { display: none; }
    .nav-search { display: none; }
  }
  @media (max-width: 560px) {
    .cp-wrap { display: none; }
    .nav-top .wrap { height: 72px; }
  }
  @media (max-width: 640px) {
    .wrap { padding: 0 18px; }
    section.block { padding: 60px 0; }
    .cat-grid { grid-template-columns: 1fr; }
    .cat.feature { grid-column: span 1; }
    .svc-grid, .adv-grid, .news-grid, footer .top { grid-template-columns: 1fr; }
    .grades-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .price-row { grid-template-columns: 1fr 110px; }
    .price-row .pr { font-size: 14px; }
    .ask-row { grid-template-columns: 1fr; }
    .timeline, .req { grid-template-columns: 1fr; }
    .about-more .hd { flex-direction: column; gap: 4px; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-stats .st { border-right: 0; border-bottom: 1px solid var(--line); }
    .topbar .right > a:not(.phone):not(.tb-auth) { display: none; }
    .topbar .tb-sep { display: none; }
    .topbar .tb-auth span { display: none; }
    .services, .cta { padding: 40px 22px; }
  }

  /* ===================== STRICT MODE OVERRIDES ===================== */
  /* Flat, hairline, restrained — keeps blue accent but removes gradients/shadows/patterns */
  .strict-flag { display: none; }
  body { font-size: 15.5px; }

  /* Kill soft shadows everywhere */
  .nav.scrolled { box-shadow: none; border-bottom-color: var(--ink); }
  .mega { box-shadow: none; border: 1px solid var(--ink); }
  .drop { box-shadow: none; border-color: var(--ink); }
  .nav-menu { border-top-color: var(--line); }
  .cat, .post, .step, .tl, .adv, .svc, .rev, .price-wrap, .qf-card, .ask, .quickfacts { box-shadow: none !important; }
  .cat:hover, .post:hover, .step:hover, .tl:hover { box-shadow: none; transform: none; }
  .cat:hover { border-color: var(--ink); }
  .float-card { box-shadow: none !important; border: 1px solid var(--line); border-top: 2px solid var(--red); }
  .btn-red:hover { box-shadow: none; }

  /* Flatten all dark/gradient panels to one solid graphite */
  .hero-art, .about-art, .qf-card, .calc, .services, .grades-band, footer { background: var(--graphite) !important; }
  .hero-art .grain, .qf-card::before { display: none !important; }
  .bars i, .about-art .bars2 i { background: #2A3270 !important; box-shadow: none !important; border-radius: 0; }
  .cta { background: var(--graphite) !important; }
  .cta::after { display: none; }
  .cta h2, .cta p, .cta .bullets div { color: #fff; }
  .cta .bullets .b { background: var(--brand-bright); color: #fff; }

  /* Squared geometry: no pills */
  .chip, .badge2, .hero-flag .pill, .topbar .city-switch, .topbar .city-switch button,
  .rev .av, .price-row .stock .d, .qf-card .badge2 .d, .topbar .dot, .hero-note .ok,
  .mega-promo .hit .t, .nav-search, .cta .bullets .b, .adv .ic, .step .num, .tl, .ck { border-radius: var(--r-sm) !important; }
  .btn { border-radius: var(--r-sm); }
  .qf-card .badge2 { background: rgba(255,255,255,0.1); }

  /* Hairline section separators for rhythm */
  section.block { border-top: 1px solid var(--line-2); }
  #catalog, #prices, #calc, #services, #advantages, #how, #reviews, #news, #cta, #faq, #o-kompanii { border-top: 1px solid var(--line-2); }
  .hero { border-bottom: 1px solid var(--ink); }
  .subnav { border-bottom: 1px solid var(--line); }

  /* Tighter, more uppercase-label feel */
  .sec-head h2, .about h2, .calc-l h2, .cta h2, .quickfacts .qa h2 { letter-spacing: -0.015em; }
  .ck { background: var(--ink) !important; }
  .adv .ic { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); }
  .price-row .nm .sq { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); }


  .crumbs { border-bottom: 1px solid var(--line); background: var(--bg-2); }
  .crumbs .wrap { display: flex; align-items: center; gap: 8px; padding-top: 12px; padding-bottom: 12px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
  .crumbs a:hover { color: var(--red); }
  .crumbs .sep { opacity: 0.5; }
  .crumbs .cur { color: var(--ink); font-weight: 500; }
  .cathead { padding: 44px 0 36px; }
  .cathead .hg { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
  .cathead h1 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; margin: 14px 0 18px; font-weight: 700; }
  .cathead .lead { font-size: 17px; color: var(--ink-2); margin: 0 0 22px; max-width: 580px; line-height: 1.6; }
  .cathead .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .cathead .tag { font-family: var(--font-mono); font-size: 12px; padding: 7px 13px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
  .cathead .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .cathead .hcard { background: var(--graphite); color: #fff; border-radius: var(--r-lg); padding: 30px; }
  .cathead .hcard .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-2); }
  .cathead .hcard .price { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 2px; }
  .cathead .hcard .price small { font-size: 0.4em; font-weight: 500; color: var(--steel-2); }
  .cathead .hcard .sub { font-size: 13.5px; color: var(--steel-2); }
  .cathead .hcard .rows { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--graphite-line); display: flex; flex-direction: column; gap: 11px; }
  .cathead .hcard .rows .r { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; white-space: nowrap; }
  .cathead .hcard .rows .r span { color: var(--steel-2); }
  .cathead .hcard .rows .r b { font-weight: 600; }
  .shop { display: grid; grid-template-columns: 272px 1fr; gap: 28px; align-items: start; padding-bottom: 64px; }
  .filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 20px 20px; }
  .filters-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 6px; }
  .filters-head h3 { font-size: 17px; margin: 0; }
  .freset-link { font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
  .freset-link:hover { color: var(--red); }
  .fgroup { border-top: 1px solid var(--line-2); }
  .fg-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 0; font-size: 14px; font-weight: 600; color: var(--ink); }
  .fg-ch { width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s ease; margin-right: 2px; }
  .fgroup.closed .fg-ch { transform: rotate(-135deg); }
  .fg-body { display: flex; flex-direction: column; gap: 1px; padding-bottom: 15px; }
  .fgroup.closed .fg-body { display: none; }
  .fopt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
  .fopt input { width: 17px; height: 17px; accent-color: var(--red); flex: none; }
  .fopt .fname { flex: 1; }
  .fopt .fcount { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
  .fopt:hover .fname { color: var(--ink); }
  .fg-dia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .fdia { position: relative; }
  .fdia input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .fdia span { display: grid; place-items: center; height: 36px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); transition: all .14s ease; }
  .fdia input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
  .fdia:hover input:not(:checked) + span { border-color: var(--red); color: var(--red); }
  .rng { position: relative; height: 26px; margin: 4px 0 2px; }
  .rng-track { position: absolute; left: 0; right: 0; top: 11px; height: 4px; background: var(--bg-3); border-radius: 99px; }
  .rng-fill { position: absolute; top: 0; height: 100%; background: var(--red); border-radius: 99px; }
  .rng input[type=range] { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 26px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
  .rng input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--red); cursor: pointer; box-shadow: 0 1px 4px rgba(20,24,40,.22); }
  .rng input[type=range]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--red); cursor: pointer; }
  .rng-vals { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); }
  .fapply { width: 100%; justify-content: center; margin-top: 18px; }
  .toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
  .toolbar .count { font-size: 14px; color: var(--ink-3); }
  .toolbar .count b { color: var(--ink); font-weight: 600; }
  .toolbar .sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
  .toolbar select { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font: inherit; font-size: 13.5px; color: var(--ink); }
  .pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tb-right { display: flex; align-items: center; gap: 16px; }
  .view-toggle { display: inline-flex; gap: 2px; background: var(--bg-3); border-radius: var(--r-sm); padding: 3px; }
  .view-toggle button { width: 34px; height: 30px; border-radius: 4px; display: grid; place-items: center; color: var(--ink-3); transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
  .view-toggle button svg { width: 16px; height: 16px; }
  .view-toggle button:hover { color: var(--ink); }
  .view-toggle button[aria-pressed="true"] { background: #fff; color: var(--red); box-shadow: 0 1px 3px rgba(20,24,40,0.12); }
  /* List view */
  .pgrid.list { grid-template-columns: 1fr; gap: 10px; }
  .pgrid.list .pcard { flex-direction: row; align-items: stretch; }
  .pgrid.list .pcard .ph { width: 158px; height: auto; flex: none; }
  .pgrid.list .pcard .body { flex-direction: row; align-items: center; gap: 20px; padding: 16px 22px; min-width: 0; }
  .pgrid.list .pcard h3 { flex: 0 0 auto; width: auto; min-width: 118px; font-size: 17px; }
  .pgrid.list .pcard .gost { flex: 1 1 auto; min-width: 0; }
  .pgrid.list .pcard .specs { flex: none; margin: 0; }
  .pgrid.list .pcard .foot { flex: none; margin: 0 0 0 auto; border-top: 0; padding-top: 0; gap: 16px; white-space: nowrap; }
  .pgrid.list .pcard .foot .pr { white-space: nowrap; }
  .pgrid.list .empty { grid-column: 1; }
  @media (max-width: 1040px) { .pgrid.list .pcard .specs { display: none; } }
  @media (max-width: 860px) {
    .pgrid.list .pcard .gost { display: none; }
    .pgrid.list .pcard h3 { min-width: 130px; }
  }
  @media (max-width: 680px) {
    .pgrid.list .pcard { flex-direction: column; }
    .pgrid.list .pcard .ph { width: 100%; height: 130px; }
    .pgrid.list .pcard .body { flex-wrap: wrap; gap: 12px; }
    .pgrid.list .pcard h3, .pgrid.list .pcard .gost { width: auto; }
    .pgrid.list .pcard .gost, .pgrid.list .pcard .specs { display: block; }
    .pgrid.list .pcard .foot { margin: 0; width: 100%; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 12px; }
  }
  .pcard { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .18s, border-color .18s, box-shadow .18s; }
  .pcard:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 16px 32px rgba(20,24,40,0.08); }
  .pcard .ph { height: 138px; position: relative; overflow: hidden; background: linear-gradient(0deg, rgba(8,10,28,0.18), rgba(8,10,28,0)), url('https://stalnayamarka.kz/wp-content/uploads/2024/06/armatura-klassa-ai-370x262.jpg') center/cover no-repeat; }
  .pcard:hover .ph { filter: saturate(1.05); }
  .pcard .ph .badge { position: absolute; left: 12px; top: 12px; font-family: var(--font-mono); font-size: 10.5px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); padding: 4px 9px; border-radius: var(--r-sm); }
  .pcard .ph .stk { position: absolute; right: 12px; top: 12px; font-size: 11px; display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--r-sm); }
  .pcard .ph .stk .d { width: 6px; height: 6px; border-radius: 99px; background: #1F9D57; }
  .pcard .ph .stk.order .d { background: #C9912B; }
  .pcard .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
  .pcard h3 { font-size: 17px; margin: 0; }
  .pcard .gost { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
  .pcard .specs { display: flex; gap: 14px; margin: 8px 0 4px; font-size: 12.5px; color: var(--ink-2); }
  .pcard .specs span b { color: var(--ink); }
  .pcard .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
  .pcard .pr { font-weight: 700; color: var(--red); font-size: 18px; }
  .pcard .pr small { font-size: 12px; color: var(--ink-3); font-weight: 500; }
  .pgrid .empty { grid-column: 1/-1; text-align: center; padding: 50px 0; color: var(--ink-3); }
  .qbox { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
  .qbox h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 12px 0 14px; }
  .qbox p { font-size: 16px; color: var(--ink-2); margin: 0; line-height: 1.62; max-width: 600px; }
  .qbox .facts { background: var(--graphite); color: #fff; border-radius: var(--r-md); padding: 24px; }
  .qbox .facts .r { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--graphite-line); font-size: 13.5px; }
  .qbox .facts .r:first-child { border-top: 0; padding-top: 0; }
  .qbox .facts .r span { color: var(--steel-2); }
  .qbox .facts .r b { font-weight: 600; text-align: right; }
  .table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
  .trow { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr; gap: 14px; padding: 13px 22px; border-top: 1px solid var(--line-2); font-size: 14.5px; align-items: center; }
  .trow:first-child { border-top: 0; background: var(--bg-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
  .trow .d { font-weight: 600; color: var(--ink); }
  .trow .mono { font-family: var(--font-mono); }
  .seo { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; }
  .seo article h3 { font-size: 21px; margin: 0 0 10px; }
  .seo article p { font-size: 15.5px; color: var(--ink-2); margin: 0; line-height: 1.65; }
  .arm-cta { background: var(--red); color: #fff; border-radius: var(--r-lg); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
  .cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cmp-col { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; position: relative; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
  .cmp-col:hover { transform: translateY(-3px); }
  .cmp-col.best { border-color: var(--red); box-shadow: 0 18px 44px rgba(46,58,140,0.12); }
  .cmp-col .best-tag { position: absolute; top: -11px; left: 26px; background: var(--red); color: #fff; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-sm); }
  .cmp-top { display: flex; align-items: baseline; gap: 10px; }
  .cmp-cls { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
  .cmp-tag { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; }
  .cmp-price { color: var(--red); font-weight: 700; font-size: 17px; margin: 6px 0 18px; }
  .cmp-col ul { list-style: none; margin: 0; padding: 0; }
  .cmp-col li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
  .cmp-col li span { color: var(--ink-3); }
  .cmp-col li b { font-weight: 600; text-align: right; }
  .usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .uc { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; background: #fff; transition: border-color .18s ease, transform .18s ease; }
  .uc:hover { transform: translateY(-3px); border-color: var(--red); }
  .uc-ic { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--bg-2); display: grid; place-items: center; color: var(--red); margin-bottom: 16px; }
  .uc-ic svg { width: 23px; height: 23px; }
  .uc h3 { font-size: 17px; margin: 0 0 6px; }
  .uc p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.5; }
  .uc .dia { font-family: var(--font-mono); font-size: 12px; color: var(--red); background: var(--red-tint); padding: 6px 11px; border-radius: var(--r-sm); display: inline-block; }
  .rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .rel a { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 7px; min-height: 168px; transition: border-color .18s ease, transform .18s ease; }
  .rel a:hover { transform: translateY(-3px); border-color: var(--red); }
  .rel a .rel-ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--bg-2); display: grid; place-items: center; color: var(--red); margin-bottom: 6px; }
  .rel a .rel-ic svg { width: 20px; height: 20px; }
  .rel a h3 { font-size: 15px; margin: 0; }
  .rel a .g { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
  .rel a .more { margin-top: auto; font-size: 13px; color: var(--red); font-weight: 600; }
  @media (max-width: 1080px) { .cmp, .usecases { grid-template-columns: 1fr; } .rel { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 640px) { .rel { grid-template-columns: 1fr; } }
  .arm-cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 36px); margin: 0 0 8px; }
  .arm-cta p { margin: 0; opacity: 0.9; font-size: 15.5px; max-width: 520px; }
  .arm-cta .btn { background: #fff; color: var(--red); }
  .arm-cta .btn:hover { background: var(--bg-2); }
  @media (max-width: 1080px) {
    .cathead .hg { grid-template-columns: 1fr; }
    .shop { grid-template-columns: 1fr; }
    .filters { position: static; }
    .pgrid { grid-template-columns: 1fr 1fr; }
    .qbox, .seo { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .pgrid { grid-template-columns: 1fr; }
    .trow { grid-template-columns: 1fr 1fr 1fr; }
    .trow .col-len, .trow .col-cls { display: none; }
  }

/* ════ Steel category: server-side SEO filter links, chips, pagination ════ */
.filters .fopt{ display:flex; align-items:center; gap:9px; padding:7px 8px; border-radius:var(--r-sm); font-size:13.5px; color:var(--ink-2); cursor:pointer; transition:background .15s ease, color .15s ease; }
.filters a.fopt:hover{ background:var(--bg-2); color:var(--red); }
.filters .fopt .fbox{ width:16px; height:16px; flex:none; border:1.5px solid var(--line); border-radius:4px; position:relative; transition:all .15s ease; }
.filters a.fopt:hover .fbox{ border-color:var(--red); }
.filters .fopt.is-on{ color:var(--red); font-weight:600; }
.filters .fopt.is-on .fbox{ border-color:var(--red); background:var(--red); }
.filters .fopt.is-on .fbox::after{ content:""; position:absolute; left:4px; top:1px; width:5px; height:9px; border:solid #fff; border-width:0 2px 2px 0; transform:rotate(45deg); }
.filters .fopt .fname{ flex:1; }
.filters .fopt .fcount{ font-family:var(--font-mono); font-size:11px; color:var(--ink-3); }
.filters .fopt.is-on .fcount{ color:var(--red); }
.filters .fopt.is-disabled{ opacity:.5; cursor:default; }
.filters .fopt.is-disabled .fname{ text-decoration:line-through; }
.fgroup.collapsed .fg-body{ display:none; }
.fgroup.collapsed .fg-ch{ transform:rotate(-90deg); }
.achips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.achip{ display:inline-flex; align-items:center; gap:7px; font-size:13px; padding:6px 12px; border-radius:999px; background:var(--red-tint); color:var(--red); border:1px solid transparent; font-weight:500; transition:all .15s ease; }
.achip:hover{ border-color:var(--red); }
.achip span{ font-size:11px; opacity:.7; }
.achip-clear{ background:transparent; color:var(--ink-3); }
.achip-clear:hover{ color:var(--ink); border-color:var(--line); }
.pager{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin:36px 0 8px; }
.pager .pg{ min-width:42px; height:42px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:var(--r-sm); font-size:14px; font-weight:600; color:var(--ink-2); transition:all .15s ease; }
.pager .pg:hover{ border-color:var(--red); color:var(--red); }
.pager .pg.is-on{ background:var(--red); border-color:var(--red); color:#fff; }
.pager .pg-dots{ color:var(--ink-3); padding:0 4px; }
/* ════ Steel category: SEO text + FAQ block ════ */
.seo-block{ border-top:1px solid var(--line); padding-top:48px; }
.seo-grid{ display:grid; grid-template-columns:1fr; gap:40px; }
@media (min-width:900px){ .seo-grid.has-faq{ grid-template-columns:1.7fr 1fr; } }
.seo-text{ color:var(--ink-2); font-size:15px; line-height:1.72; }
.seo-text h2,.seo-text h3{ color:var(--ink); font-weight:600; margin:26px 0 10px; line-height:1.2; }
.seo-text h2{ font-size:24px; } .seo-text h3{ font-size:19px; }
.seo-text p{ margin:0 0 14px; } .seo-text ul,.seo-text ol{ padding-left:20px; margin:0 0 14px; }
.seo-text li{ margin:6px 0; } .seo-text a{ color:var(--red); }
.seo-faq-h{ font-size:22px; font-weight:600; margin:0 0 16px; }
.seo-faq-item{ border:1px solid var(--line); border-radius:var(--r-md); padding:14px 16px; margin-bottom:10px; transition:border-color .15s ease; }
.seo-faq-item[open]{ border-color:var(--red); }
.seo-faq-item summary{ cursor:pointer; font-weight:600; font-size:14.5px; color:var(--ink); list-style:none; display:flex; justify-content:space-between; gap:12px; }
.seo-faq-item summary::-webkit-details-marker{ display:none; }
.seo-faq-item summary::after{ content:"+"; color:var(--red); font-size:18px; line-height:1; }
.seo-faq-item[open] summary::after{ content:"−"; }
.seo-faq-a{ margin-top:10px; color:var(--ink-2); font-size:14px; line-height:1.6; }

/* ---- city switch: mobile (hide cramped topbar toggle, show in burger) ---- */
@media (max-width: 1080px){ .topbar .city-switch{ display:none; } }
.mm-city{ display:flex; flex-wrap:wrap; gap:6px; margin:2px 0 10px; }
.mm-city .mm-city-lbl{ width:100%; font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3); margin-bottom:3px; }
.mm-city a{ display:inline-flex !important; align-items:center; padding:9px 13px !important; border:1.5px solid var(--line) !important; border-radius:var(--r-sm); font-size:14px !important; font-weight:600 !important; color:var(--ink) !important; }
.mm-city a.on{ background:var(--red,#e11d2a) !important; color:#fff !important; border-color:transparent !important; }
