    /* === ЛОКАЛЬНЫЕ ШРИФТЫ (self-hosted, файлы в assets/fonts/) === */
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-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;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-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;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-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;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/montserrat-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/montserrat-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/montserrat-700-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;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/montserrat-800-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/montserrat-800-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
    @font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/montserrat-800-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;}
    @font-face{font-family:'Syncopate';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/syncopate-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
    @font-face{font-family:'Syncopate';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/syncopate-700-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;}

    :root {
      /* БАЗОВАЯ СВЕТЛАЯ ТЕМА (Благородный синий) */
      --accent-solid: #0B63F6;
      --accent-gradient: linear-gradient(to right, #003CC5 0%, #0B63F6 51%, #003CC5 100%);
      
      --transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
      --transition-slow: 1.2s cubic-bezier(0.25, 1, 0.5, 1); 
      --radius-lg: 20px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0; 
      font-family: 'Montserrat', sans-serif;
      scroll-behavior: smooth;
    }

    /* --- СВЕТЛАЯ ТЕМА --- */
    body {
      background-color: #E5E4E2;
      color: #111111; 
      line-height: 1.6;
      overflow-x: hidden;
      transition: background-color 0.5s ease, color 0.5s ease;
    }

    .tab-trigger { color: #111111; }
    .sub-tab-trigger { color: #111111; }
    
    .feedback-section { background: transparent; }
    .feedback-container { background: #ffffff; border: 1px solid #d1d1d1; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
    .feedback-container h2 { color: #111111; }
    .feedback-input { background: #ffffff; border: 1px solid #ccc; color: #111111; }
    
    .checkbox-wrapper label { color: #555; }
    
    footer { background-color: transparent; color: #111111; border-top: 1px solid #d1d1d1; }
    .contact-item-value { color: #111111; }

    /* --- ТЕМНАЯ ТЕМА --- */
    body.dark-mode-active {
      --accent-solid: #00f2fe;
      --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
      background-color: #050505;
      color: #ffffff;
    }

    .dark-mode-active .tab-trigger { color: #ffffff; }
    .dark-mode-active .sub-tab-trigger { color: #ffffff; }
    .dark-mode-active .sub-tabs-wrapper { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); }
    
    .dark-mode-active .feedback-section { background: transparent; }
    .dark-mode-active .feedback-container { background: rgba(25, 25, 30, 0.5); border: 1px solid rgba(0, 242, 254, 0.15); box-shadow: 0 40px 80px rgba(0,0,0,0.8); }
    .dark-mode-active .feedback-container h2 { color: #ffffff; }
    .dark-mode-active .feedback-input { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #ffffff; }
    
    .dark-mode-active .checkbox-wrapper label { color: #a0a0a0; }
    
    .dark-mode-active footer { border-top: 1px solid rgba(128,128,128,0.2); color: #ffffff; }
    .dark-mode-active .contact-item-value { color: #ffffff; }

    /* --- ХЕДЕР И НАВИГАЦИЯ --- */
    header {
      padding: 30px 50px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: transparent;
      border-bottom: none;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      transition: background 0.4s ease, padding 0.4s ease;
    }

    header.scrolled {
      background: rgba(10, 10, 12, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.05);
      padding: 15px 50px;
    }

    .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      font-size: 26px;
      font-weight: 700;
      letter-spacing: 8px; 
      text-transform: uppercase;
      font-family: 'Syncopate', sans-serif; 
      color: #ffffff !important;
      z-index: 1001;
      text-decoration: none;
      display: flex;
      align-items: center;
    }

    .logo-text { display: block; }
    .logo-img { display: none; max-height: 30px; width: auto; }

    .header-controls { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }

    .theme-toggle-btn {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #ffffff;
      width: 42px; height: 42px; border-radius: 50%;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: 0.3s ease; z-index: 1002;
    }
    .theme-toggle-btn:hover { 
      border-color: var(--accent-solid); color: var(--accent-solid); box-shadow: 0 0 15px var(--accent-solid);
    }
    .theme-toggle-btn .moon-icon { display: none; }
    .theme-toggle-btn .sun-icon { display: block; }
    body.dark-mode-active .theme-toggle-btn .sun-icon { display: none; }
    body.dark-mode-active .theme-toggle-btn .moon-icon { display: block !important; }

    .nav-links { display: flex; align-items: center; }
    .nav-links a {
      font-weight: 600; font-size: 13px; color: #ffffff !important; 
      text-transform: uppercase; letter-spacing: 1px; text-decoration: none;
      margin-left: 40px; transition: color 0.3s ease;
    }
    .nav-links a:hover { color: var(--accent-solid) !important; }

    .mobile-menu-btn { display: none; background: transparent; border: none; color: #ffffff !important; font-size: 28px; cursor: pointer; z-index: 1002; }
    .close-menu-btn { display: none; }
    .mobile-overlay { display: none; }

    /* ГЛАВНЫЙ БАННЕР */
    .hero-fullscreen { position: relative; height: 100vh; width: 100%; display: flex; align-items: center; padding: 0 50px; overflow: hidden; }
    .hero-bg-poster { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('../video/banner-poster.webp') 10% 50% / cover no-repeat; z-index: -3; }
    .hero-bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 10% 50%; z-index: -2; }
    .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: -1; }
    .hero-content { position: relative; z-index: 1; max-width: 800px; }

    .about-tag { font-size: 13px; font-weight: 800; letter-spacing: 4px; color: var(--accent-solid); text-transform: uppercase; margin-bottom: 20px; display: inline-block; }
    .hero-content h1 { font-size: 4.5rem; font-weight: 900; line-height: 1.05; margin-bottom: 30px; text-transform: uppercase; color: #ffffff; }
    .hero-content p { font-size: 1.15rem; margin-bottom: 40px; color: rgba(255, 255, 255, 0.85); max-width: 600px; }

    /* КАТАЛОГ */
    .catalog-section { width: 96%; max-width: 1920px; margin: 0 auto; padding: 70px 0 100px; }

    .tabs-wrapper { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; margin-bottom: 50px; position: relative; }
    .tabs-wrapper::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; height: 1px; background: rgba(128, 128, 128, 0.2); z-index: 1; }

    .tab-trigger { background: transparent; color: inherit; border: none; padding: 10px 0 20px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: 0.8s ease; opacity: 0.4; position: relative; z-index: 2; }
    .tab-trigger::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--accent-gradient); box-shadow: 0 0 15px var(--accent-solid), 0 0 5px var(--accent-solid); transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1); border-radius: 3px; }
    .tab-trigger:hover { opacity: 0.8; }
    .tab-trigger.active { opacity: 1; }
    .tab-trigger.active::after { width: 100%; }

    /* Подсказка над переключателем категорий - без неё непонятно, что от посетителя ждут выбора */
    .sub-tabs-hint { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
                     text-transform: uppercase; opacity: 0.55; margin-bottom: 14px; }

    /* Переключатель категорий сделан «капсулой»: общая рамка, внутри три сегмента.
       Форма знакома по настройкам телефона, поэтому сразу читается как кнопки выбора. */
    .sub-tabs-wrapper { display: none; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 5px;
                        width: max-content; max-width: 100%; margin: 0 auto 50px; border-radius: 50px;
                        border: 1px solid rgba(0,0,0,0.12); background: rgba(0,0,0,0.04);
                        animation: smoothReveal 0.4s ease forwards; }
    .sub-tabs-wrapper.active { display: flex; }

    .sub-tab-trigger { padding: 12px 24px; border: none; background: transparent; border-radius: 50px; font-size: 12px;
                       font-weight: 800; text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
                       transition: 0.25s ease; opacity: 0.7; }
    .sub-tab-trigger:hover { opacity: 1; background: rgba(128,128,128,0.16); }
    .sub-tab-trigger.active, .sub-tab-trigger.active:hover { opacity: 1; background-image: var(--accent-gradient);
                       color: #ffffff; box-shadow: 0 6px 18px rgba(11,99,246,0.35); }
    .dark-mode-active .sub-tab-trigger.active, .dark-mode-active .sub-tab-trigger.active:hover { color: #001018;
                       box-shadow: 0 6px 18px rgba(0,242,254,0.28); }

    /* РАЗДЕЛ ЛЕГКОВЫЕ АВТО */
    .light-vehicles-container { display: none; flex-direction: column; align-items: center; animation: smoothReveal 0.6s ease forwards; }
    .light-vehicles-container.active { display: flex; }
    .light-vehicles-container h2 { font-size: 3rem; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; }
    .light-vehicles-container > p { max-width: 900px; font-size: 1.1rem; margin-bottom: 40px; opacity: 0.9; line-height: 1.7; }
    .light-category-desc { max-width: 900px; font-size: 1.05rem; opacity: 0.85; line-height: 1.7; text-align: center; align-self: center; }

    /* Общее описание раздела «Грузовые» */
    .heavy-intro { max-width: 1150px; margin: 0 auto 45px; font-size: 1.05rem; opacity: 0.9; line-height: 1.75; }
    .heavy-intro p { margin-bottom: 18px; }
    .heavy-intro ul { list-style: none; margin: 0 0 18px; padding: 0; }
    .heavy-intro li { position: relative; padding-left: 26px; margin-bottom: 11px; }
    .heavy-intro li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-gradient); }

    /* СЕТКИ АВТОМОБИЛЕЙ (ГРУЗОВЫЕ И ЛЕГКОВЫЕ) */
    .cars-grid { display: none; flex-direction: column; gap: 30px; min-height: 800px; width: 100%; }
    .cars-grid.active { display: flex; animation: smoothReveal 0.6s ease forwards; }

    @keyframes smoothReveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

    .vehicle-row { display: flex; width: 100%; height: 600px; gap: 30px; }
    .vehicle-card { flex: 1; position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; background: #111; transition: flex var(--transition-slow); }
    .vehicle-row:hover .vehicle-card { flex: 1; }
    .vehicle-row .vehicle-card:hover { flex: 2.5; }
    .vehicle-row .vehicle-card:only-child { flex: 0 0 calc(50% - 15px); }

    .card-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1.5s ease, filter 1.2s ease; filter: brightness(0.6); }
    .vehicle-card:hover .card-bg-img { transform: scale(1.05); filter: brightness(0.85); }
    .vehicle-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 70%; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%); pointer-events: none; }

    .card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px; z-index: 2; color: #ffffff; display: flex; justify-content: space-between; align-items: flex-end; }
    .card-text-left .brand { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-solid); margin-bottom: 5px; font-weight: 700; }
    .card-text-left .title { font-size: 2.2rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
    .card-text-left .subtitle { font-size: 0.9rem; color: #a0a0a0; margin-top: 5px; opacity: 0; transition: var(--transition-slow); }
    .vehicle-card:hover .card-text-left .subtitle { opacity: 1; }

    .card-text-right { text-align: right; opacity: 0; transform: translateX(20px); transition: var(--transition-slow); white-space: nowrap; }
    .vehicle-card:hover .card-text-right { opacity: 1; transform: translateX(0); }
    .card-text-right .price { font-size: 1.8rem; font-weight: 700; }

    .circle-btn { margin-top: 10px; display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; background: var(--accent-gradient); color: #fff; font-weight: bold; border: none; }

    /* ================= О КОМПАНИИ ================= */
    .about-section { width: 96%; max-width: 1500px; margin: 0 auto; padding: 90px 20px 55px; }
    .about-header { text-align: center; }
    .about-heading { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; text-transform: uppercase; line-height: 1.1; }
    /* Короткая версия «О компании» для телефонов — включается в медиазапросе 768px */
    .about-mobile { display: none; max-width: 620px; margin: 24px auto 0; text-align: center; font-size: 1rem; line-height: 1.75; opacity: 0.9; }
    .about-mobile p + p { margin-top: 14px; }

    .about-lead { max-width: 1080px; margin: 28px auto 0; font-size: 1.08rem; line-height: 1.8; opacity: 0.88; }
    .about-lead p + p { margin-top: 16px; }

    /* География поставок - именно текст, а не кнопки: ни рамки, ни фона, ни капса,
       иначе посетители пытаются по странам кликать. Разделитель - точка акцентного цвета. */
    .about-geo { text-align: center; margin: 38px 0 60px; }
    .about-geo-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
                       text-transform: uppercase; opacity: 0.5; margin-bottom: 10px; }
    .about-geo-list { font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 800; line-height: 1.6; }
    .about-geo-list span:not(:last-child)::after { content: '·'; color: var(--accent-solid);
                       margin: 0 14px; font-weight: 700; }

    .about-sub { text-align: center; max-width: 960px; margin: 0 auto 35px; font-size: 1.05rem; opacity: 0.85; line-height: 1.7; }

    /* Общая типографика текста направлений */
    .about-rich { font-size: 1rem; line-height: 1.8; opacity: 0.85; }
    .about-rich p { margin-bottom: 16px; }
    .about-rich p:last-child { margin-bottom: 0; }
    .about-rich ul { list-style: none; margin: 0 0 16px; padding: 0; }
    .about-rich li { position: relative; padding-left: 24px; margin-bottom: 11px; }
    .about-rich li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-gradient); }

    /* Аккордеон направлений */
    .acc { max-width: 1360px; margin: 0 auto 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
    .acc-item { border-radius: 16px; overflow: hidden; border: 1px solid #e0e0e0; background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: border-color 0.4s ease; }
    .acc-item.open { border-color: var(--accent-solid); }
    .dark-mode-active .acc-item { background: rgba(25,25,30,0.5); border-color: rgba(0,242,254,0.15); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
    .dark-mode-active .acc-item.open { border-color: var(--accent-solid); }
    .acc-head { width: 100%; min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 30px;
                background: transparent; border: none; color: inherit; cursor: pointer; text-align: left; font-family: inherit; }
    .acc-title { font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
    .acc-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
                font-size: 20px; font-weight: 700; color: #fff; background-image: var(--accent-gradient); transition: transform 0.45s cubic-bezier(0.25,1,0.5,1); }
    .acc-item.open .acc-icon { transform: rotate(45deg); }
    .acc-body { max-height: 0; overflow: hidden; transition: max-height 0.7s cubic-bezier(0.25,1,0.5,1); }
    .acc-item.open .acc-body { max-height: 2200px; }
    .acc-inner { padding: 0 30px 30px; }

    .why-title { text-align: center; font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 900; text-transform: uppercase; margin-bottom: 40px; }

    /* Почему выбирают нас - список слева, текст справа */
    .why3-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 26px; max-width: 1360px; margin: 0 auto 55px; }
    .why3-list { display: flex; flex-direction: column; gap: 10px; }
    .why3-item { display: flex; align-items: center; gap: 14px; padding: 17px 20px; border-radius: 12px; cursor: pointer;
                 border: 1px solid transparent; background: rgba(128,128,128,0.06); transition: 0.35s ease; }
    .why3-item:hover { border-color: var(--accent-solid); }
    .why3-item.active { background-image: var(--accent-gradient); border-color: transparent; color: #fff; }
    .why3-num { font-family: 'Syncopate', sans-serif; font-size: 0.9rem; font-weight: 700; opacity: 0.55; }
    .why3-item.active .why3-num { opacity: 0.9; }
    .why3-name { font-size: 0.98rem; font-weight: 800; line-height: 1.25; }
    .why3-panels { position: relative; }
    .why3-panel { display: none; height: 100%; padding: 42px 40px; border-radius: 16px; flex-direction: column; justify-content: center;
                  border: 1px solid #e0e0e0; background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
    .why3-panel.active { display: flex; animation: smoothReveal 0.45s ease forwards; }
    .dark-mode-active .why3-panel { background: rgba(25,25,30,0.5); border-color: rgba(0,242,254,0.15); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
    .why3-bignum { font-family: 'Syncopate', sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--accent-solid); opacity: 0.2; margin-bottom: 16px; }
    .why3-title2 { font-size: 1.35rem; font-weight: 800; color: var(--accent-solid); margin-bottom: 14px; }
    .why3-text { font-size: 1rem; line-height: 1.8; opacity: 0.82; }

    /* Мобильные: список и текст в столбик */
    @media (max-width: 900px) {
      .acc { grid-template-columns: 1fr; }
      .why3-wrap { grid-template-columns: 1fr; }
      .why3-panel { padding: 30px 26px; }
    }

    /* Финал */
    .about-closing { max-width: 1080px; margin: 0 auto; text-align: center; font-size: 1.05rem; line-height: 1.8; opacity: 0.88; }
    .about-slogan { max-width: 1080px; margin: 34px auto 0; text-align: center; font-size: 1.3rem; font-weight: 800; line-height: 1.5; color: var(--accent-solid); }


    /* ================= НОВОСТИ / НОВОЕ ПОСТУПЛЕНИЕ ================= */
    .news-section { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 0 40px; }
    .news-header { text-align: center; margin-bottom: 55px; }
    .news-tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-solid); margin-bottom: 12px; }
    .news-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; text-transform: uppercase; line-height: 1.1; }
    .news-subtitle { max-width: 660px; margin: 0 auto; font-size: 1.05rem; opacity: 0.8; line-height: 1.7; }

    .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: stretch; }

    /* Карточка-анонс (клик открывает модалку с галереей и полным текстом) */
    .news-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; cursor: pointer;
                 background: #ffffff; border: 1px solid #e0e0e0; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
                 transition: transform 0.5s cubic-bezier(0.25,1,0.5,1), border-color 0.4s ease, box-shadow 0.4s ease; }
    .news-card:hover { transform: translateY(-8px); border-color: var(--accent-solid); box-shadow: 0 25px 50px rgba(0,0,0,0.12); }

    .news-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; flex-shrink: 0; }
    .news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.25,1,0.5,1); }
    .news-card:hover .news-media img { transform: scale(1.06); }
    .news-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 55%); pointer-events: none; }

    .news-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; border-radius: 50px;
                  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: var(--accent-gradient); }
    .news-photos { position: absolute; bottom: 14px; right: 16px; z-index: 2; padding: 5px 12px; border-radius: 50px;
                   font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

    .news-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
    .news-card-title { font-size: 1.25rem; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
    .news-excerpt { font-size: 0.95rem; line-height: 1.65; opacity: 0.75; margin-bottom: 20px;
                    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .news-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800;
                 text-transform: uppercase; letter-spacing: 1px; color: var(--accent-solid); }
    .news-arrow { transition: transform 0.4s ease; }
    .news-card:hover .news-arrow { transform: translateX(6px); }

    /* Полный текст новости - хранится в карточке, показывается только в модалке */
    .news-full { display: none; }

    .dark-mode-active .news-card { background: rgba(25,25,30,0.5); border: 1px solid rgba(0,242,254,0.15); box-shadow: 0 20px 40px rgba(0,0,0,0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
    .dark-mode-active .news-card:hover { border-color: var(--accent-solid); box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 20px rgba(0,242,254,0.15); }

    /* Текст статьи внутри модалки */
    .modal-details.news-mode .m-title { font-size: 1.75rem; line-height: 1.25; margin-bottom: 20px; }
    .m-article { font-size: 0.98rem; line-height: 1.75; color: #d0d0d0; margin-bottom: 25px; }
    .m-article p { margin-bottom: 16px; }
    .m-article h4 { font-size: 14px; font-weight: 800; color: var(--accent-solid); text-transform: uppercase; letter-spacing: 1px; margin: 22px 0 12px; }
    .m-article ul { list-style: none; margin: 0 0 16px; padding: 0; }
    .m-article li { position: relative; padding-left: 20px; margin-bottom: 12px; }
    .m-article li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-gradient); }
    .m-article strong { color: #ffffff; font-weight: 700; }
    /* Вложенный список (подпункты) */
    .m-article li ul { margin: 10px 0 0; }
    .m-article li li { padding-left: 18px; margin-bottom: 7px; font-size: 0.93rem; opacity: 0.88; }
    .m-article li li::before { width: 5px; height: 5px; top: 9px; background: var(--accent-solid); opacity: 0.75; }

    /* Контакты в мессенджерах - общий блок внизу модалки (и для новостей, и для техники) */
    .modal-contacts { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
    .modal-details.news-mode .modal-contacts { margin-top: auto; }
    .modal-contacts-title { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
                            color: #ffffff; opacity: 0.55; margin-bottom: 14px; }
    .modal-contacts-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
    .msg-btn { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
               text-decoration: none; color: #ffffff; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .msg-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(0,0,0,0.4); }
    .msg-ico { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.18);
               display: flex; align-items: center; justify-content: center; }
    .msg-ico svg { width: 20px; height: 20px; fill: #ffffff; display: block; }
    .msg-txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
    .msg-name { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.3px; opacity: 0.85; }
    .msg-num { font-size: 0.98rem; font-weight: 700; white-space: nowrap; }
    .msg-wa { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }
    .msg-tg { background: linear-gradient(135deg, #37BBFE 0%, #007DBB 100%); }

    /* В режиме новости блок с ценой и кнопкой заявки не нужен */
    .modal-details.news-mode .order-action-box { display: none; }

    /* Всплывающая подсказка внизу экрана (создаётся скриптом, см. showToast в main.js).
       z-index выше карточки (3000), иначе подсказка спрячется за ней. */
    .site-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
                  z-index: 3500; max-width: min(92vw, 520px);
                  padding: 14px 22px; border-radius: 14px;
                  background: #101010; color: #ffffff;
                  font-size: 0.92rem; font-weight: 600; line-height: 1.45; text-align: center;
                  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
                  opacity: 0; visibility: hidden; pointer-events: none;
                  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease; }
    .site-toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    body:not(.dark-mode-active) .site-toast { background: #ffffff; color: #111111;
                                              box-shadow: 0 18px 40px rgba(0,0,0,0.22); }

    /* ============ ВКЛАДКА «ГАЗОВЫЕ АВТО» ============ */
    /* Ширина как у остальных вкладок каталога - карточки должны совпадать по размеру */
    .gas-section { width: 100%; }
    .gas-hero { text-align: center; max-width: 900px; margin: 0 auto 45px; }
    .gas-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase;
               color: var(--accent-solid); margin-bottom: 12px; }
    .gas-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; text-transform: uppercase; line-height: 1.1; }
    .gas-lead { margin-top: 16px; font-size: 1.05rem; line-height: 1.75; opacity: 0.85; }

    /* Три ключевые цифры */
    .gas-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;
                 max-width: 1300px; margin: 0 auto 55px; }
    .gas-stat { padding: 26px 24px; border-radius: 16px; text-align: center; border: 1px solid rgba(128,128,128,0.25); }
    .dark-mode-active .gas-stat { border-color: rgba(0,242,254,0.18); background: rgba(25,25,30,0.4); }
    .gas-stat-num { font-size: 1.45rem; font-weight: 900; color: var(--accent-solid); margin-bottom: 8px; line-height: 1.2; }
    .gas-stat-text { font-size: 0.95rem; line-height: 1.6; opacity: 0.8; }

    /* Короткая версия статьи — только для телефонов */
    .gas-mobile { display: none; max-width: 620px; margin: 0 auto 45px; text-align: center; font-size: 1rem; line-height: 1.75; opacity: 0.9; }
    .gas-mobile p + p { margin-top: 14px; }

    /* Развёрнутая статья */
    .gas-article { max-width: 1080px; margin: 0 auto 60px; display: grid; gap: 36px; }
    .gas-block h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 14px; padding-left: 16px; position: relative; }
    .gas-block h3::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px;
                            background: var(--accent-gradient); }
    .gas-block p { font-size: 1.03rem; line-height: 1.8; opacity: 0.87; }
    .gas-block p + p { margin-top: 14px; }
    .gas-block strong { font-weight: 800; opacity: 1; }

    .gas-models-title { text-align: center; font-size: clamp(1.4rem, 3.2vw, 1.9rem); font-weight: 900; text-transform: uppercase; }
    .gas-models-sub { text-align: center; max-width: 700px; margin: 12px auto 35px; font-size: 1rem; line-height: 1.7; opacity: 0.8; }
    .gas-grid { display: flex; flex-direction: column; gap: 30px; width: 100%; }

    /* Итог */
    .gas-summary { max-width: 900px; margin: 60px auto 0; padding-top: 40px; text-align: center;
                   border-top: 1px solid rgba(128,128,128,0.25); }
    .gas-summary h3 { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; margin-bottom: 22px; }
    .gas-summary ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
                      gap: 14px; margin: 0 0 26px; text-align: left; }
    .gas-summary li { position: relative; padding-left: 28px; font-size: 0.98rem; line-height: 1.6; }
    .gas-summary li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 900; color: var(--accent-solid); }
    .gas-summary p { font-size: 1rem; line-height: 1.75; opacity: 0.85; }
    .gas-summary .gas-cta { margin-top: 16px; font-size: 1.08rem; font-weight: 800; color: var(--accent-solid); opacity: 1; }

    /* РАЗДЕЛИТЕЛЬ */
    .section-divider {
      width: 80%; max-width: 1200px; height: 1px; margin: 0 auto;
      background: linear-gradient(90deg, transparent 0%, rgba(0, 242, 254, 0.4) 50%, transparent 100%);
    }

    /* ФОРМА ОБРАТНОЙ СВЯЗИ */
    .feedback-section { width: 100%; padding: 100px 20px; background: transparent; }
    .feedback-container {
      max-width: 750px; margin: 0 auto; text-align: center; 
      backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
      padding: 60px 50px; border-radius: 24px; 
    }
    .feedback-container p { font-size: 1rem; margin-bottom: 30px; }

    /* Уведомление «форма скоро заработает» + прямые контакты */
    .form-notice { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 20px 22px; border-radius: 14px; margin-bottom: 28px;
                   background: rgba(11,99,246,0.06); border: 1px solid rgba(11,99,246,0.25); }
    .dark-mode-active .form-notice { background: rgba(0,242,254,0.06); border-color: rgba(0,242,254,0.25); }
    .form-notice-icon { font-size: 22px; line-height: 1.3; }
    .form-notice-title { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-solid); margin-bottom: 6px; }
    .form-notice-text { font-size: 0.95rem; line-height: 1.6; opacity: 0.85; }

    .contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .contact-btn { display: flex; flex-direction: column; gap: 5px; padding: 20px 22px; border-radius: 14px; text-decoration: none; text-align: left;
                   border: 1px solid #d1d1d1; color: inherit; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease; }
    .contact-btn:hover { transform: translateY(-4px); border-color: var(--accent-solid); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
    .dark-mode-active .contact-btn { border-color: rgba(255,255,255,0.12); }
    .contact-btn-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.6; }
    .contact-btn-value { font-size: 1.02rem; font-weight: 700; word-break: break-word; }
    .contact-btn-primary { background-image: var(--accent-gradient); border-color: transparent; color: #fff; }
    .contact-btn-primary .contact-btn-label { opacity: 0.9; }
    .contact-btn-primary:hover { border-color: transparent; }
    /* Кнопки мессенджеров в блоке контактов */
    .contact-btn-label { display: flex; align-items: center; gap: 6px; }
    .contact-btn-ico { width: 14px; height: 14px; flex: 0 0 14px; fill: currentColor; }
    .contact-btn-wa { border-color: rgba(37,211,102,0.45); }
    .contact-btn-tg { border-color: rgba(34,158,217,0.45); }
    .contact-btn-wa .contact-btn-label { color: #1eb457; opacity: 1; }
    .contact-btn-tg .contact-btn-label { color: #1c8dc4; opacity: 1; }
    .dark-mode-active .contact-btn-wa .contact-btn-label { color: #25D366; }
    .dark-mode-active .contact-btn-tg .contact-btn-label { color: #37BBFE; }
    .dark-mode-active .contact-btn-wa { border-color: rgba(37,211,102,0.35); }
    .dark-mode-active .contact-btn-tg { border-color: rgba(55,187,254,0.35); }
    .contact-btn-wa:hover { border-color: #25D366; }
    .contact-btn-tg:hover { border-color: #37BBFE; }
    @media (max-width: 600px) { .contact-actions { grid-template-columns: 1fr; } }
    
    .feedback-form { display: flex; flex-direction: column; gap: 20px; }
    .feedback-input {
      width: 100%; padding: 20px 25px; border-radius: 12px; 
      font-size: 16px; font-family: inherit; transition: 0.3s ease;
    }
    .feedback-input:focus { outline: none; border-color: var(--accent-solid); box-shadow: 0 0 15px rgba(0, 242, 254, 0.15); }
    
    .checkbox-wrapper {
      display: flex; align-items: flex-start; gap: 10px; text-align: left; padding: 0 5px; margin-bottom: 5px;
    }
    .checkbox-wrapper input[type="checkbox"] {
      margin-top: 3px; accent-color: var(--accent-solid); cursor: pointer; width: 18px; height: 18px;
    }
    .checkbox-wrapper label { font-size: 12px; line-height: 1.5; cursor: pointer; }
    .checkbox-wrapper a { color: var(--accent-solid); text-decoration: none; border-bottom: 1px dashed var(--accent-solid); transition: 0.3s; }
    .checkbox-wrapper a:hover { opacity: 0.7; }

    .honeypot-trap {
      opacity: 0; position: absolute; top: -9999px; left: -9999px; height: 0; width: 0; z-index: -1;
    }

    .btn-solid {
      width: 100%; height: 64px; display: flex; align-items: center; justify-content: center; align-self: center;
      position: relative; overflow: hidden; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px;
      border-radius: 12px; background-image: var(--accent-gradient); background-size: 200% auto;
      color: #fff; border: none; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .btn-solid:hover { background-position: right center; transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); }

    body.dark-mode-active .btn-solid { box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2); }
    body.dark-mode-active .btn-solid:hover { box-shadow: 0 15px 40px rgba(0, 242, 254, 0.4); }

    .btn-text { transition: opacity 0.3s ease, transform 0.3s ease; }

    .btn-solid .checkmark { position: absolute; width: 34px; height: 34px; opacity: 0; transform: scale(0.5); transition: all 0.3s ease; }
    .btn-solid .checkmark__circle { stroke: #fff; stroke-width: 3; stroke-dasharray: 166; stroke-dashoffset: 166; }
    .btn-solid .checkmark__check { stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; }

    .btn-solid.success {
      width: 64px; border-radius: 50%; background-image: none !important; background-color: #00c853 !important;
      box-shadow: 0 10px 30px rgba(0, 200, 83, 0.4) !important; transform: translateY(0); pointer-events: none;
    }
    .btn-solid.success .btn-text { opacity: 0; transform: scale(0.5); }
    .btn-solid.success .checkmark { opacity: 1; transform: scale(1); }
    .btn-solid.success .checkmark__circle { stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s ease-in-out; }
    .btn-solid.success .checkmark__check { stroke-dashoffset: 0; transition: stroke-dashoffset 0.4s ease-in-out 0.3s; }

    /* ФУТЕР */
    footer { padding: 60px 0 40px; }
    /* Три колонки: описание компании, отдел продаж, почта.
       Блок с адресом офиса убран со всех страниц - клиенты пишут и звонят. */
    .footer-grid { width: 96%; max-width: 1920px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(2, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(128,128,128,0.2); }
    .footer-brand-side h3 { font-size: 20px; font-weight: 800; letter-spacing: 1px; margin-bottom: 15px; }
    .footer-brand-side p { font-size: 14px; max-width: 320px; opacity: 0.7; }
    .footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-solid); margin-bottom: 25px; }
    .contact-item-value:not(a) { text-decoration: none; cursor: default; }
    a.contact-item-value { text-decoration: none;}
    a.contact-item-value:hover { color: var(--accent-solid); }
    /* Мессенджеры под номером телефона в футере */
    .footer-messengers { margin-top: 10px; display: flex; align-items: center; gap: 16px; font-size: 13px; }
    .footer-messengers a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; font-weight: 600; opacity: 0.8; transition: opacity 0.3s ease, color 0.3s ease; }
    .footer-messengers a:hover { opacity: 1; color: var(--accent-solid); }
    .footer-msg-ico { width: 15px; height: 15px; flex: 0 0 15px; fill: currentColor; }
    .footer-disclaimer-box { width: 96%; max-width: 1920px; margin: 30px auto 0; text-align: center; font-size: 11px; line-height: 1.7; opacity: 0.5; }

    /* МОДАЛЬНОЕ ОКНО И СЛАЙДЕР */
    .modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.4s ease; }
    .modal-backdrop.active { opacity: 1; visibility: visible; }
    .modal-box { background: #090a0f; color: #fff; border: 1px solid rgba(0, 242, 254, 0.15); width: 95%; max-width: 1200px; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.1fr 0.9fr; overflow: hidden; transform: scale(0.95); transition: 0.4s ease; box-shadow: 0 40px 100px rgba(0,0,0,0.8); }
    .modal-backdrop.active .modal-box { transform: scale(1); }
    .modal-viewport { width: 100%; height: 100%; min-height: 600px; position: relative; overflow: hidden; background: #000; }
    
    /* НАСТРОЙКИ СЛАЙДЕРА */
    .slider-track { display: flex; height: 100%; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
    .slide-img { height: 100%; object-fit: contain; flex-shrink: 0; background: #000; border-radius: 12px; }
    .slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: white; border: none; width: 50px; height: 50px; font-size: 24px; cursor: pointer; z-index: 10; transition: 0.3s; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
    .slider-btn:hover { background: var(--accent-solid); }
    .slider-btn.prev { left: 20px; }
    .slider-btn.next { right: 20px; }
    .slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
    .dot { width: 10px; height: 10px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: 0.3s; }
    .dot.active, .dot:hover { background: var(--accent-solid); transform: scale(1.2); }

    .modal-details { padding: 50px; position: relative; display: flex; flex-direction: column; max-height: 90vh; overflow-y: auto; }
    .btn-close-modal { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; font-size: 20px; border: none; cursor: pointer; z-index: 10; }
    
    .m-tag { color: var(--accent-solid); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: 12px; margin-bottom: 5px; }
    .m-title { font-size: 2.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 5px; }
    .m-subtitle { font-size: 1rem; color: #a0a0a0; margin-bottom: 20px; }
    .m-section-title { font-size: 14px; font-weight: 700; color: var(--accent-solid); text-transform: uppercase; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px;}
    .m-list { list-style: none; margin-bottom: 25px; font-size: 13px; line-height: 1.6; color: #d0d0d0; }
    .m-list li { margin-bottom: 8px; position: relative; padding-left: 15px; }
    .m-list li::before { content: '•'; position: absolute; left: 0; color: var(--accent-solid); }

    /* Блок о стоимости: подсказка, где узнать актуальную цену, + ссылка на Дром */
    .order-action-box { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
    .price-note { font-size: 0.95rem; line-height: 1.65; opacity: 0.8; }
    .price-note strong { font-weight: 800; opacity: 1; }
    .price-link { color: var(--accent-solid); font-weight: 700; text-decoration: none;
                  border-bottom: 1px solid transparent; transition: border-color 0.3s ease; }
    .price-link:hover { border-bottom-color: var(--accent-solid); }
    .price-link-arrow { display: inline-block; margin-left: 6px; transition: transform 0.3s ease; }
    .price-link:hover .price-link-arrow { transform: translateX(4px); }

    /* --- МОДАЛКА В СВЕТЛОЙ ТЕМЕ ---
       Базовые стили модалки выше тёмные, здесь они перекрываются,
       когда у <body> НЕТ класса dark-mode-active (то есть выбрана светлая тема). */
    body:not(.dark-mode-active) .modal-backdrop { background: rgba(229,228,226,0.92); }
    body:not(.dark-mode-active) .modal-box { background: #ffffff; color: #111111; border-color: #d8d8d8; box-shadow: 0 40px 100px rgba(0,0,0,0.25); }
    /* Фон под фото делаем светло-серым, а не белым: так снимок не сливается с окном */
    body:not(.dark-mode-active) .modal-viewport,
    body:not(.dark-mode-active) .slide-img { background: #eef0f3; }
    body:not(.dark-mode-active) .slider-btn { background: rgba(0,0,0,0.35); }
    body:not(.dark-mode-active) .dot { background: rgba(0,0,0,0.2); }
    body:not(.dark-mode-active) .btn-close-modal { background: rgba(0,0,0,0.06); color: #111111; }
    body:not(.dark-mode-active) .m-subtitle { color: #555555; }
    body:not(.dark-mode-active) .m-section-title { border-bottom-color: rgba(0,0,0,0.12); }
    body:not(.dark-mode-active) .m-list { color: #444444; }
    body:not(.dark-mode-active) .m-article { color: #444444; }
    body:not(.dark-mode-active) .m-article strong { color: #111111; }
    body:not(.dark-mode-active) .order-action-box,
    body:not(.dark-mode-active) .modal-contacts { border-top-color: rgba(0,0,0,0.12); }
    body:not(.dark-mode-active) .modal-contacts-title { color: #111111; opacity: 0.6; }

    /* ПЛАВАЮЩАЯ КНОПКА ЧАТА (заменила блок «Свяжитесь с нами») */
    .chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 1200; }
    .chat-fab-main { width: 62px; height: 62px; padding: 0; border: none; border-radius: 50%; cursor: pointer; position: relative;
                     background-image: var(--accent-gradient); display: flex; align-items: center; justify-content: center;
                     box-shadow: 0 10px 28px rgba(0,0,0,0.3); transition: transform 0.35s ease; }
    .chat-fab-main::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent-solid);
                             opacity: 0.45; animation: chatRipple 2.6s ease-out infinite; z-index: -1; }
    @keyframes chatRipple { 0% { transform: scale(1); opacity: 0.45; } 100% { transform: scale(1.9); opacity: 0; } }
    .chat-fab.open .chat-fab-main { transform: scale(0.94); }
    .chat-fab.open .chat-fab-main::before { animation: none; opacity: 0; }
    .chat-fab-ico { width: 26px; height: 26px; fill: #ffffff; display: block; transition: opacity 0.25s ease, transform 0.35s ease; }
    .chat-fab-ico.close { position: absolute; opacity: 0; transform: rotate(-90deg); }
    .chat-fab.open .chat-fab-ico.chat { opacity: 0; transform: rotate(90deg); }
    .chat-fab.open .chat-fab-ico.close { opacity: 1; transform: rotate(0); }
    /* Список мессенджеров: раскрывается вверх, сверху Telegram */
    .chat-fab-menu { position: absolute; right: 0; bottom: 76px; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
    .chat-fab-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 13px; border-radius: 50px;
                       text-decoration: none; color: #ffffff; font-size: 14px; font-weight: 700; white-space: nowrap;
                       box-shadow: 0 8px 20px rgba(0,0,0,0.28); opacity: 0; transform: translateY(14px) scale(0.9);
                       pointer-events: none; transition: 0.3s cubic-bezier(0.2, 1, 0.3, 1); }
    .chat-fab.open .chat-fab-menu a { opacity: 1; transform: none; pointer-events: auto; }
    .chat-fab.open .chat-fab-menu a:nth-child(2) { transition-delay: 0.07s; }
    .chat-fab-menu .tg { background: #229ED9; }
    .chat-fab-menu .wa { background: #25D366; }
    .chat-fab-menu svg { width: 22px; height: 22px; fill: #ffffff; flex: 0 0 22px; }

    /* АДАПТИВНОСТЬ */
    /* Планшеты (iPad): сворачиваем меню в гамбургер, чтобы оно не налезало на центральный логотип */
    @media (max-width: 1024px) {
      .mobile-menu-btn { display: block; }
      .nav-links { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: rgba(10, 10, 12, 0.95); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1); z-index: 2000; padding: 50px 20px; }
      .nav-links.active { left: 0; }
      .nav-links a { margin: 0 0 30px 0; font-size: 16px; color: #fff !important; letter-spacing: 2px; }
      .close-menu-btn { display: block; position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: #fff; font-size: 35px; cursor: pointer; }
      .mobile-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.8); z-index: 1500; opacity: 0; visibility: hidden; transition: 0.4s ease; }
      .mobile-overlay.active { opacity: 1; visibility: visible; }
    }
    @media (max-width: 992px) {
      .hero-fullscreen { padding-top: 80px; text-align: center; } .hero-content { margin: 0 auto; }
      .modal-box { grid-template-columns: 1fr; } .modal-viewport { min-height: 300px; }
      .footer-grid { grid-template-columns: 1fr 1fr; } 
    }
    @media (max-width: 768px) {
      header { padding: 15px 20px; justify-content: space-between; } header.scrolled { padding: 10px 20px; }
      .logo { position: relative; left: 0; transform: none; font-size: 20px; } .logo-text { display: none; } .logo-img { display: block; }
      .theme-toggle-btn { margin-right: 15px; width: 35px; height: 35px; font-size: 16px; }
      .mobile-menu-btn { display: block; }
      .nav-links { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: rgba(10, 10, 12, 0.95); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1); z-index: 2000; padding: 50px 20px; }
      .nav-links.active { left: 0; } .nav-links a { margin: 0 0 30px 0; font-size: 16px; color: #fff !important; letter-spacing: 2px; }
      .close-menu-btn { display: block; position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: #fff; font-size: 35px; cursor: pointer; }
      .mobile-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.8); z-index: 1500; opacity: 0; visibility: hidden; transition: 0.4s ease; }
      .mobile-overlay.active { opacity: 1; visibility: visible; }
      .hero-fullscreen { padding: 80px 20px 40px; text-align: center; }
      /* Заголовок баннера подгоняем под ширину экрана, чтобы «НАДЕЖНОСТЬ» не вылезала за край */
      .hero-content h1 { font-size: clamp(1.8rem, 8.5vw, 2.8rem); margin-bottom: 0; }
      /* На телефонах в баннере оставляем только заголовок: без точек и без описания */
      .hero-dot { display: none; }
      .hero-content p { display: none; }
      /* «О компании»: на телефонах вместо длинного раздела — короткая выжимка */
      .about-section { padding: 45px 16px 18px; }
      .about-mobile { display: block; margin-top: 18px; }
      .about-lead, .about-geo, .about-sub, .acc, .why-title, .why3-wrap, .about-closing, .about-slogan { display: none; }
      .catalog-section { width: 100%; padding: 22px 20px 45px; }
      /* На телефоне вкладки идут по одной в строке, по центру.
         align-items: center - чтобы кнопка была по ширине текста,
         иначе подчёркивание растягивается во весь экран. */
      .tabs-wrapper { gap: 4px; flex-direction: column; align-items: center; }
      /* На мобильных прячем длинные описания разделов «Легковые» и «Грузовые»,
         чтобы от кнопок сразу шли карточки. Раздел новостей не трогаем. */
      #light-tab > p, .light-category-desc, .heavy-intro { display: none; }
      /* «Газовые авто»: на телефонах оставляем только заголовок, три плитки
         с цифрами и сами карточки - весь описательный текст убираем. */
      .gas-article, .gas-mobile, .gas-lead,
      .gas-models-title, .gas-models-sub { display: none; }
      .gas-hero { margin-bottom: 30px; }
      .gas-stats { gap: 14px; margin-bottom: 32px; }
      .gas-stat { padding: 18px 16px; }
      .gas-stat-num { font-size: 1.25rem; }
      .gas-summary { margin-top: 40px; padding-top: 30px; }
      .gas-summary ul { text-align: left; }
      .tab-trigger { font-size: 13px; padding-bottom: 10px; }
      /* На телефоне капсула разворачивается в столбик во всю ширину экрана */
      .sub-tabs-wrapper { flex-direction: column; align-items: stretch; width: 100%; border-radius: 22px; margin-bottom: 35px; }
      .sub-tab-trigger { width: 100%; text-align: center; padding: 14px 16px; }
      .cars-grid { min-height: 500px; } .vehicle-row { flex-direction: column; height: auto; gap: 20px; }
      .vehicle-card { height: 350px; flex: none !important; width: 100%; } .card-text-right { opacity: 1; transform: translateX(0); }
      .card-content { padding: 20px 25px; }
      .card-text-left .title { font-size: 1.4rem; white-space: normal; word-break: break-word; }
      .card-text-left .brand { font-size: 11px; }
      .card-text-right .price { display: none; }
      .circle-btn { width: 52px; height: 52px; font-size: 20px; flex-shrink: 0; }
      .feedback-section { padding: 60px 20px; } .feedback-container { padding: 40px 20px; }
      .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; width: 100%; padding: 0 20px 50px; }
      .footer-disclaimer-box { width: 100%; padding: 0 20px; } .footer-brand-side p { margin: 0 auto; }
      /* В футере на телефоне всё по центру, мессенджеры - тоже */
      .footer-messengers { justify-content: center; }
      footer { padding: 40px 0 20px; } .modal-details { padding: 30px; max-height: none; } .modal-box { width: 100%; border-radius: 0; }
      .modal-backdrop { align-items: flex-start; overflow-y: auto; }
      .modal-viewport { height: 240px; min-height: 240px; }
      .section-divider { width: 90%; }
      .chat-fab { right: 16px; bottom: 16px; }
      .chat-fab-main { width: 56px; height: 56px; }
      .chat-fab-menu { bottom: 70px; }
    }

    /* =====================================================================
       ОТДЕЛЬНЫЕ СТРАНИЦЫ РАЗДЕЛОВ
       (legkovye-avtomobili.html, gruzovye-avtomobili.html,
        gazovye-avtomobili.html, novye-postupleniya.html)
       Те же карточки и стили, что на главной, но без баннера и блока
       «О компании». Класс subpage вешается на <body> такой страницы.
    ===================================================================== */
    /* Баннера нет, поэтому шапка сразу «залитая» - как при прокрутке главной */
    body.subpage header {
      background: rgba(10, 10, 12, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    /* Отступ сверху, чтобы контент не уезжал под фиксированную шапку */
    body.subpage .catalog-section { padding-top: 140px; }

    /* Хлебные крошки и заголовок страницы */
    .page-crumbs { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: 0.55; margin-bottom: 18px; }
    .page-crumbs a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
    .page-crumbs a:hover { color: var(--accent-solid); }
    .page-crumbs span { opacity: 0.6; }

    .page-title { text-align: center; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 35px; }

    /* Вкладки-ссылки на других страницах выглядят так же, как кнопки на главной */
    .tabs-wrapper a.tab-trigger { display: inline-block; text-decoration: none; }

    /* Подпись под заголовком «Каталог» на главной */
    .catalog-lead { text-align: center; max-width: 720px; margin: 0 auto 35px; font-size: 1.05rem; font-weight: 700; opacity: 0.9; }
    .page-title + .catalog-lead { margin-top: -18px; }

    /* =====================================================================
       КАРТОЧКИ РАЗДЕЛОВ КАТАЛОГА (блок .cat-cards на главной)
       Четыре ссылки-плитки с фотографией. Размер у всех строго одинаковый:
       ширину даёт сетка (4 равные колонки), высоту - aspect-ratio.
       Длина заголовка/описания на размер плитки не влияет.
    ===================================================================== */
    .cat-cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      max-width: 1760px;
      margin: 0 auto 55px;
    }

    .cat-card {
      position: relative;
      display: block;
      aspect-ratio: 5 / 4;      /* <- одинаковая высота всех карточек */
      overflow: hidden;
      border-radius: var(--radius-lg);
      text-decoration: none;
      color: #ffffff;
      background: #0d0d10;      /* фон, пока фото не загрузилось */
      border: 1px solid rgba(0,0,0,0.10);
      box-shadow: 0 12px 30px rgba(0,0,0,0.10);
      transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }

    /* Фотография-обложка */
    .cat-card-img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1), filter var(--transition);
    }

    /* Затемнение снизу, чтобы белый текст читался на любом фото */
    .cat-card-shade {
      position: absolute; inset: 0;
      background: linear-gradient(to top,
                  rgba(0,0,0,0.88) 0%,
                  rgba(0,0,0,0.62) 32%,
                  rgba(0,0,0,0.15) 62%,
                  rgba(0,0,0,0.05) 100%);
      opacity: 0.9;
      transition: opacity var(--transition);
    }

    /* Номер раздела в левом верхнем углу */
    .cat-card-num {
      position: absolute; top: clamp(16px, 1.1vw, 22px); left: clamp(18px, 1.2vw, 26px);
      font-family: 'Syncopate', 'Montserrat', sans-serif;
      font-size: 12px; font-weight: 700; letter-spacing: 2px;
      padding: 5px 10px; border-radius: 30px;
      background: rgba(0,0,0,0.35);
      border: 1px solid rgba(255,255,255,0.25);
      backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
      transition: 0.4s ease;
    }

    /* Плашка «Новинки» (только у раздела новых поступлений) */
    .cat-card-badge {
      position: absolute; top: clamp(16px, 1.1vw, 22px); right: clamp(18px, 1.2vw, 26px);
      font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
      padding: 6px 12px; border-radius: 30px;
      color: #ffffff; background: var(--accent-solid);
      box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    }

    /* Текстовый блок прижат к низу и «растёт» вверх при наведении */
    .cat-card-body {
      position: absolute; left: 0; right: 0; bottom: 0;
      display: flex; flex-direction: column;
      /* Отступы и текст растут вместе с шириной экрана, чтобы на большом
         мониторе крупная карточка не выглядела полупустой */
      padding: clamp(22px, 1.5vw, 30px) clamp(22px, 1.5vw, 30px) clamp(24px, 1.7vw, 32px);
      text-align: left;
    }
    .cat-card-title {
      font-size: clamp(1.15rem, 1.2vw, 1.5rem); font-weight: 800; line-height: 1.25;
      text-transform: uppercase; letter-spacing: 0.5px;
    }
    .cat-card-sub {
      margin-top: 7px;
      font-size: clamp(0.82rem, 0.8vw, 1.02rem); font-weight: 500; line-height: 1.45;
      opacity: 0.82;
    }

    /* Надпись «Перейти в каталог...» - появляется при наведении */
    .cat-card-cta {
      display: inline-flex; align-items: center; gap: 8px;
      align-self: flex-start;
      max-width: 100%;
      font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
      color: #ffffff;
      padding: 0 16px; border-radius: 30px;
      background: var(--accent-solid);
      /* свёрнутое состояние */
      max-height: 0; margin-top: 0; opacity: 0;
      transform: translateY(10px);
      overflow: hidden;
      transition: max-height 0.45s ease, margin-top 0.45s ease, padding 0.45s ease,
                  opacity 0.35s ease, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .cat-card-arrow { transition: transform 0.4s ease; }

    /* --- Наведение / фокус с клавиатуры --- */
    .cat-card:hover,
    .cat-card:focus-visible {
      transform: translateY(-8px);
      border-color: var(--accent-solid);
      box-shadow: 0 22px 45px rgba(0,0,0,0.22), 0 0 0 1px var(--accent-solid);
      outline: none;
    }
    .cat-card:hover .cat-card-img,
    .cat-card:focus-visible .cat-card-img { transform: scale(1.09); }

    .cat-card:hover .cat-card-shade,
    .cat-card:focus-visible .cat-card-shade { opacity: 1; }

    .cat-card:hover .cat-card-num,
    .cat-card:focus-visible .cat-card-num {
      background: var(--accent-solid); border-color: transparent; color: #ffffff;
    }

    .cat-card:hover .cat-card-cta,
    .cat-card:focus-visible .cat-card-cta {
      max-height: 44px; margin-top: 16px; padding: 10px 16px;
      opacity: 1; transform: translateY(0);
    }
    .cat-card:hover .cat-card-arrow,
    .cat-card:focus-visible .cat-card-arrow { transform: translateX(4px); }

    .dark-mode-active .cat-card { border-color: rgba(255,255,255,0.10); box-shadow: 0 12px 30px rgba(0,0,0,0.45); }
    .dark-mode-active .cat-card:hover,
    .dark-mode-active .cat-card:focus-visible {
      box-shadow: 0 22px 50px rgba(0,0,0,0.6), 0 0 0 1px var(--accent-solid), 0 0 30px rgba(0, 242, 254, 0.18);
    }
    /* В тёмной теме акцент светлый - текст на нём делаем тёмным */
    .dark-mode-active .cat-card-cta,
    .dark-mode-active .cat-card-badge { color: #05131a; }
    .dark-mode-active .cat-card:hover .cat-card-num,
    .dark-mode-active .cat-card:focus-visible .cat-card-num { color: #05131a; }

    /* На планшетах - сетка 2x2 (карточки по-прежнему одинаковые) */
    @media (max-width: 1100px) {
      .cat-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
      .cat-card { aspect-ratio: 16 / 11; }
    }

    /* Устройства без наведения (телефоны, планшеты): подпись показываем сразу */
    @media (hover: none) {
      .cat-card-cta {
        max-height: 44px; margin-top: 14px; padding: 10px 16px;
        opacity: 1; transform: none;
      }
    }

    /* Пользователь просил меньше анимации - убираем движение */
    @media (prefers-reduced-motion: reduce) {
      .cat-card, .cat-card-img, .cat-card-cta, .cat-card-arrow { transition: none; }
      .cat-card:hover, .cat-card:focus-visible { transform: none; }
      .cat-card:hover .cat-card-img, .cat-card:focus-visible .cat-card-img { transform: none; }
    }

    /* Кнопки перехода на отдельные страницы (старый вариант, сейчас не используется -
       оставлен на случай, если понадобится вернуть простые кнопки-«пилюли») */
    .page-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 auto 45px; }
    .page-link {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 11px 22px; border-radius: 50px; text-decoration: none;
      font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
      color: inherit; border: 1px solid rgba(0,0,0,0.12); background: rgba(0,0,0,0.03);
      transition: 0.3s ease;
    }
    .page-link .page-link-arrow { transition: transform 0.3s ease; }
    .page-link:hover { border-color: var(--accent-solid); color: var(--accent-solid); box-shadow: 0 0 18px rgba(11, 99, 246, 0.18); }
    .page-link:hover .page-link-arrow { transform: translateX(4px); }
    .dark-mode-active .page-link { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
    .dark-mode-active .page-link:hover { border-color: var(--accent-solid); color: var(--accent-solid); box-shadow: 0 0 18px rgba(0, 242, 254, 0.2); }

    @media (max-width: 768px) {
      body.subpage .catalog-section { padding-top: 95px; }
      .page-title { margin-bottom: 22px; }
      .page-crumbs { font-size: 11px; margin-bottom: 12px; }
      .page-links { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 30px; }
      .page-link { justify-content: space-between; }

      /* Карточки разделов: одна колонка, чуть ниже по высоте */
      .cat-cards { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
      .cat-card { aspect-ratio: 16 / 10; }
      .cat-card-body { padding: 18px 18px 20px; }
      .cat-card-title { font-size: 1.05rem; }
      .cat-card-sub { font-size: 0.8rem; }
      .cat-card-num { top: 12px; left: 14px; }
      .cat-card-badge { top: 12px; right: 14px; }
    }
