/* ============================================================
   КомпЛайн — дизайн v2
   Применены правки из new-design-v2/plan.md:
   R1 липкий сайдбар, R2 меню на планшете, R3 форма в 2 колонки,
   R4 часы работы на малых экранах, R6/R7 мелочи, R8 noscript,
   A1-A6 доступность, T типографика, D утилитарные классы.
   Единый акцент #128ccb, fluid-контейнер, семантическое меню.
   ============================================================ */

@font-face {
    font-family: 'Intro';
    src: url('../fonts/Intro.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
    /* Цвета */
    --c-accent:        #128ccb;
    --c-accent-hover:  #0f74a8;
    --c-accent-active: #0b5f8c;
    --c-accent-soft:   #e3f2fd;
    --c-accent-line:   #b3ddf5;
    --c-text:          #1f1f1e;
    --c-text-muted:    #6b7280;
    --c-text-invert:   #ffffff;
    --c-border:        #d7dee6;
    --c-bg:            #ffffff;
    --c-bg-light:      #f4f7fa;
    --c-bg-dark:       #26323d;

    /* Типографика.
       T1: шрифт тела — осознанно системный стек (без внешних CDN).
       Ubuntu не подключён локально (нет woff2-файла); при наличии
       файлов добавить @font-face 'Ubuntu' и вернуть его первым. */
    --f-display: 'Intro', 'Arial Black', sans-serif;
    --f-body:    system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --fs-h1: 42px;
    --fs-h2: 30px;
    --fs-h3: 24px;
    --fs-h4: 18px;
    --fs-body: 16px;
    --fs-small: 14px;

    /* Геометрия */
    --radius: 6px;
    --radius-sm: 3px;
    --container: 1200px;
    --gutter: 20px;

    /* Высота липкой шапки: только верхний бар (~53px). Меню .nav скроллится (2026-08-25). */
    --header-h: 56px;

    /* Тени */
    --shadow-sm: 0 1px 2px rgba(18, 38, 63, .06), 0 1px 3px rgba(18, 38, 63, .08);
    --shadow-md: 0 4px 10px rgba(18, 38, 63, .10);
    --shadow-lg: 0 12px 28px rgba(18, 38, 63, .16);

    /* Motion */
    --ease: cubic-bezier(.25, .1, .25, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--f-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
}

img { max-width: 100%; height: auto; display: inline-block; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    line-height: 1.2;
    font-weight: 600;
    color: var(--c-text);
    overflow-wrap: break-word;
    hyphens: auto;
}
h1 { font-family: var(--f-display); font-size: var(--fs-h1); font-weight: 400; letter-spacing: .01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1em; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-hover); text-decoration: underline; }

ul, ol { margin: 0 0 1em 1.25em; padding: 0; }

/* Фокус с клавиатуры (видимый, доступный) */
:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Skip-link (A3): видим только при фокусе */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 200;
    background: var(--c-accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }

/* ---------- Утилитарные классы (D1: вместо инлайн-стилей) ---------- */
.u-text-bold { font-weight: 600; }
.u-text-muted { color: var(--c-text-muted); }
.u-max-w-820 { max-width: 820px; }
.u-mt-8 { margin-top: 8px; }
.u-mt-16 { margin-top: 16px; }
.u-mt-20 { margin-top: 20px; }
.u-mt-28 { margin-top: 28px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-36 { margin-top: 36px; }
.u-mb-12 { margin-bottom: 12px; }
.u-mb-16 { margin-bottom: 16px; }
.u-mb-28 { margin-bottom: 28px; }
.u-mb-32 { margin-bottom: 32px; }
.u-mb-44 { margin-bottom: 44px; }
.u-max-w-820 { max-width: 820px; }
.u-max-w-600 { max-width: 600px; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section { padding: 56px 0; }
.section--light { background: var(--c-bg-light); }
.section--soft  { background: var(--c-accent-soft); }
.section--dark  { background: var(--c-bg-dark); color: #e8eef3; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}
/* ::before с синей плашкой #128ccb удалён (2026-08-23) */
.section__title h1,
.section__title h2 { margin: 0; }   /* R6: выровнять h1/h2 */

/* Шрифт заголовков секций уменьшен на 30% (2026-08-23) */
.section__title h1 { font-size: calc(var(--fs-h1) * .7); }
.section__title h2 { font-size: calc(var(--fs-h2) * .7); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 26px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--c-accent); color: var(--c-text-invert); }
.btn--primary:hover { background: var(--c-accent-hover); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:active { background: var(--c-accent-active); transform: translateY(1px); }

.btn--outline { background: transparent; border-color: var(--c-accent); color: var(--c-accent); }
.btn--outline:hover { background: var(--c-accent-soft); color: var(--c-accent-hover); }

.btn--lg { min-height: 52px; padding: 14px 34px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.header {
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    /* Шапка теперь сама является контейнером: вертикальный отступ + горизонтальный gutter.
       header (только этот бар) — липкий; меню .nav скроллится вверх отдельно (2026-08-25). */
    padding: 8px var(--gutter);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 36px; width: auto; }   /* было 46px */
.logo:hover { text-decoration: none; }

.header__contacts { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.contact-item { display: flex; align-items: center; gap: 10px; }
.contact-item__icon {
    width: 32px; height: 32px;              /* было 40px */
    flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-size: 16px;                        /* было 18px */
}
.contact-item a { color: var(--c-text); font-weight: 600; font-size: 15px; line-height: 1.3; white-space: nowrap; }
.contact-item a:hover { color: var(--c-accent); }
.contact-item__sub { display: block; font-size: 13px; line-height: 1.35; color: var(--c-text-muted); font-weight: 400; }
.contact-item__sub b { color: var(--c-text); }

/* Ссылка-контакт (VK в шапке) */
a.contact-item { text-decoration: none; color: var(--c-text); }
a.contact-item:hover { color: var(--c-accent); }
.contact-item__icon--vk img { display: block; }

/* ---------- Navigation (стиль оригинала compline-ufa.ru) ----------
   Синяя плашка #128ccb, пункты белым uppercase, растянуты на всю ширину
   контейнера, высота строки как на оригинале (~46px). (2026-08-23) */
.nav {
    background: #128ccb;
    border-top: 0;
    /* Меню отделено от липкой шапки и скроллится вверх вместе со страницей (2026-08-25) */
    border-bottom: 1px solid var(--c-border);
}
.nav__inner { display: flex; align-items: center; min-height: 46px; }

.nav__list {
    display: flex;
    flex: 1 1 0%;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__list li { flex: 1 1 0%; text-align: center; }

.nav__list a {
    display: block;
    padding: 15px 10px;
    color: #f4f7fa;
    font-size: 15px;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__list a:hover { background: rgba(255, 255, 255, .14); color: #80d2ff; text-decoration: none; }
.nav__list a.active { background: #0f74a8; color: #fff; }
.nav__list a.active:hover { background: #0f74a8; color: #fff; }

.nav__cta { display: none; }   /* CTA скрыта (2026-08-23) */

/* Burger (mobile) */
.nav__burger {
    display: none;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
    cursor: pointer;
    margin: 10px 0;
}
.nav__burger:hover { border-color: var(--c-accent); color: var(--c-accent); }
.nav__burger span { display: flex; flex-direction: column; gap: 4px; }
.nav__burger span i { width: 18px; height: 2px; background: currentColor; border-radius: 2px; display: block; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-bg-light);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font-size: var(--fs-small); }
.breadcrumbs li + li::before { content: '\2192'; margin-right: 6px; color: var(--c-text-muted); }   /* → вместо спецсимвола */
.breadcrumbs a { color: var(--c-text-muted); }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs [aria-current] { color: var(--c-text); font-weight: 500; }

/* Крошки по центру блока контента (страницы с HERO) */
.breadcrumbs--center { padding: 28px 0 0; }
.breadcrumbs--center ol { justify-content: center; text-align: center; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    /* фолбэк-градиент под фоновым изображением */
    background: linear-gradient(120deg, #0f74a8 0%, var(--c-accent) 55%, #2aa3d8 100%);
    color: #fff;
    padding: 72px 0;
}

/* Фоновое фото hero: zoom in/out (Ken Burns), затемнение для контраста текста */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transform-origin: center;
    animation: hero-zoom 18s ease-in-out infinite alternate;
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Оверлей затемнён на ~15% от базового (.66/.5/.3 → .76/.58/.35) */
    background: linear-gradient(100deg, rgba(10, 25, 38, .76) 0%, rgba(10, 25, 38, .58) 55%, rgba(10, 25, 38, .35) 100%);
}
@keyframes hero-zoom {
    from { transform: scale(1); }
    to   { transform: scale(1.12); }
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { font-size: 19px; color: rgba(255, 255, 255, .94); max-width: 620px; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero__meta { display: flex; gap: 28px; flex-wrap: wrap; margin: 26px 0 30px; }
.hero__meta b { display: block; font-size: 26px; color: #fff; }
.hero__meta span { color: rgba(255, 255, 255, .88); font-size: var(--fs-small); }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: var(--fs-small);
    font-weight: 500;
    -webkit-backdrop-filter: blur(4px);   /* R7 */
    backdrop-filter: blur(4px);
}
.badge--soft {   /* D2: мягкий вариант для внутренних страниц */
    background: var(--c-accent-soft);
    color: var(--c-accent);
    border-color: var(--c-accent-line);
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-accent-line); }
.card__icon {
    width: 52px; height: 52px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-size: 24px;
    margin-bottom: 16px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--c-text-muted); font-size: 15px; margin-bottom: 0; }
.card .card__price { font-weight: 600; color: var(--c-accent); margin-top: 12px; display: block; }
.card__link { display: inline-block; margin-top: 14px; font-weight: 500; }

/* Разделы статей — простой стилизованный список ссылок */
.cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    max-width: 820px;
}
.cat-list li { border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-bg); transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.cat-list li:hover { border-color: var(--c-accent-line); box-shadow: var(--shadow-sm); }
.cat-list a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; text-decoration: none; }
.cat-list a:hover { text-decoration: none; }
.cat-list__name { font-size: 17px; font-weight: 600; color: var(--c-text); }
.cat-list__desc { font-size: 14px; color: var(--c-text-muted); }
.cat-list a:hover .cat-list__name { color: var(--c-accent); }

/* ---------- Плитки услуг (стиль оригинала compline-ufa.ru) ----------
   Размер 4 в ряд, фото 140px, скругление как у обычных .card (var(--radius)).
   Hover: плитка поднимается, под ней растёт тень, по фото пробегает
   блестящая полоса слева направо. (2026-08-23) */
.cards--services { grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card--service {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-bg);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--service:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-accent-line);
}

/* Блестящая полоса (блик), пробегающая слева направо при наведении */
.card--service::after {
    content: '';
    position: absolute;
    top: 0;
    left: -85%;
    width: 45%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg);
}
.card--service:hover::after { animation: service-shine .85s ease .05s forwards; }
@keyframes service-shine { to { left: 135%; } }

.card--service__img {
    display: block;
    height: 140px;                       /* как у оригинала */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.card--service__img:hover { text-decoration: none; }

.card--service__icon { margin: 26px 26px 0; }

.card--service__body { padding: 16px 18px 20px; }
.card--service h3, .card--service h2 { font-size: 17px; line-height: 1.25; margin-bottom: 8px; }
.card--service h3 a, .card--service h2 a { color: var(--c-text); }
.card--service h3 a:hover, .card--service h2 a:hover { color: var(--c-accent); }
.card--service p { font-size: 14px; line-height: 1.55; color: var(--c-text-muted); margin-bottom: 0; min-height: 44px; }
.card--service .card__price { margin-top: 10px; }

/* Advantages (собственные карточки — заменены блоком с оригинала, см. .g_advantages) */
.advantages { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.advantage {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.advantage__icon {
    width: 58px; height: 58px; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--c-accent-soft);
    color: var(--c-accent);
    font-size: 26px;
}
.advantage h4 { font-size: 17px; margin-bottom: 6px; }
.advantage p { font-size: 14px; color: var(--c-text-muted); margin: 0; }

/* ---------- Преимущества (блок с оригинала compline-ufa.ru) ---------- */
.g-advantages { background-color: #f4f7fa; padding: 0 0 40px; }
.g-advantages .g-advantages__title {
    padding-top: 45px;
    margin-bottom: 24px;
    font-size: 28px;
    text-align: center;
    font-weight: 500;
    color: var(--c-text);
}
.g-advantages__list { list-style: none; margin: 0; padding: 0; }
.g-advantages__item {
    text-align: center;
    box-sizing: border-box;
    width: 25%;
    padding: 1%;
    float: left;
    height: 220px;
}
.g-advantages__item:after { clear: both; }
.g-advantages__icon { margin: 0 auto; display: block; transition: transform .3s ease; }
.g-advantages__item:hover .g-advantages__icon { transform: scale(1.1); }
.g-advantages__item-title { font-size: 18px; font-weight: 500; color: #333; padding: 10px 0; }
.g-advantages__item-description { font-size: 15px; font-weight: 300; line-height: 21px; color: #333; margin: 0; }
.g-advantages__list::after { content: ''; display: block; clear: both; }

/* ---------- Feature block (две колонки) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature__media {
    background: var(--c-accent-soft);
    border-radius: var(--radius);
    min-height: 300px;
    display: flex; align-items: center; justify-content: center;
    font-size: 64px; color: var(--c-accent);
    border: 1px solid var(--c-accent-line);
}

/* ---------- Steps (ordered content) ---------- */
.steps { counter-reset: step; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li {
    counter-increment: step;
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 18px 20px;
}
.steps li::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--f-display);
    font-size: 22px;
    color: var(--c-accent);
    flex: none;
    width: 34px;
}

/* ---------- FAQ ---------- */
.faq details {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    background: var(--c-bg);
    overflow: hidden;
}
.faq summary {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }   /* A5: Safari */
.faq summary::after { content: '+'; font-size: 22px; color: var(--c-accent); }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { background: var(--c-accent-soft); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--c-text-muted); }

/* ---------- Price table ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--c-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table caption { text-align: left; font-weight: 600; font-size: 19px; padding: 16px 20px; background: var(--c-accent-soft); border: 1px solid var(--c-border); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; color: var(--c-text); }
.price-table th {
    text-align: left;
    padding: 14px 20px;
    background: var(--c-accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}
.price-table td { padding: 12px 20px; border-bottom: 1px solid var(--c-border); font-size: 15px; }
.price-table tbody tr:nth-child(even) { background: var(--c-bg-light); }
.price-table tbody tr:hover { background: var(--c-accent-soft); }
.price-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--c-accent); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); min-width: 0; }
.table-wrap .price-table { min-width: 560px; }

/* ---------- Прайс-лист: якорная навигация (стиль оригинала compline-ufa.ru) ---------- */
.price__list {
    margin: 20px 0 40px;
    padding: 25px;
    border: 1px solid #128ccb;
    background: #f1f1f1;
    border-radius: var(--radius);
}
.price__list--title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #128ccb;
}
.price__list--links { margin: 0; padding: 0; list-style: none; }
.price__list--link { padding-left: 23px; }
.price__list--link:not(:last-child) { margin-bottom: 5px; }
.price__list--link a {
    font-size: 20px;
    line-height: 30px;
    position: relative;
    left: 0;
    transition: .3s ease-out;
    text-decoration: none;
    color: var(--c-text);
}
.price__list--link a:before {
    position: absolute;
    top: 50%;
    left: -24px;
    display: block;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    content: '';
    border-radius: 50%;
    background: #128ccb;
    transform: scale(1);
    transition: .2s ease;
}
.price__list--link a:hover { left: 10px; color: #128ccb; }
.price__list--link a:hover:before {
    transform: scale(1.5);
    box-shadow: 0 0 6px rgba(18, 140, 203, .7);
}

/* Заголовок секции прайса */
.price__section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 36px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--c-accent);
}

/* Таблицы прайса в стиле оригинала (серые линии, без синей шапки) */
.price-table--orig { min-width: 480px; }
.price-table--orig th,
.price-table--orig td { border: 0; font-size: 15px; padding: 10px 15px; text-align: left; }
.price-table--orig td { border-bottom: 1px solid #bfccd6; }
.price-table--orig tbody tr:last-child td { border-bottom: 0; }
.price-table--orig tbody tr:nth-child(even) { background: #f4f7fa; }
.price-table--orig th { font-weight: 500; border-bottom: 2px solid #bfccd6; background: transparent; color: var(--c-text); }
.price-table--orig td:last-child { white-space: nowrap; font-weight: 600; color: var(--c-text); }
.price-table--orig thead { background: transparent; }

/* Таблица Apple (многоколоночная) */
.price-table--apple { min-width: 760px; }
.price-table--apple th,
.price-table--apple td { padding: 8px 10px; font-size: 14px; text-align: left; white-space: nowrap; }
.price-table--apple td:first-child { white-space: normal; min-width: 180px; }

/* Текст прайса (программный ремонт) */
.price__text p { color: var(--c-text-muted); max-width: 820px; }

/* R5: на узких экранах — карточный вид таблицы вместо скролла */
@media (max-width: 600px) {
    .price-table { min-width: 0 !important; }
    .price-table thead { display: none; }
    .price-table caption { border-radius: var(--radius) var(--radius) 0 0; }
    .price-table tbody,
    .price-table tr { display: block; width: 100%; }
    .price-table tbody tr {
        border: 1px solid var(--c-border);
        border-top: 0;
        border-radius: 0;
        padding: 4px 0;
    }
    .price-table tbody tr:first-child { border-top: 1px solid var(--c-border); }
    .price-table tbody tr:nth-child(even) { background: transparent; }
    .price-table td {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 8px 20px;
        border-bottom: 1px solid var(--c-border);
    }
    .price-table tbody tr:last-child td:last-child { border-bottom: 0; }
    .price-table td:last-child { white-space: nowrap; text-align: right; }
}

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.contact-card {
    display: flex; gap: 16px; align-items: flex-start;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 20px;
    background: var(--c-bg);
}
.contact-card__icon {
    width: 46px; height: 46px; flex: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--c-accent-soft); color: var(--c-accent); font-size: 20px;
}
.contact-card h2 { margin-bottom: 6px; font-size: var(--fs-h4); }
.contact-card p { margin: 0; color: var(--c-text-muted); }
.contact-card a { font-weight: 500; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }  /* R3: 2 колонки на десктопе */
.form__field { display: grid; gap: 6px; }
.form__field label { font-size: 14px; font-weight: 600; }
.form__field input,
.form__field textarea,
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"] {
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: var(--c-bg);
    color: var(--c-text);
    width: 100%;
    box-sizing: border-box;
}
.form__field input:focus,
.form__field textarea:focus { outline: 2px solid var(--c-accent-line); outline-offset: 0; border-color: var(--c-accent); }
.form__field textarea { min-height: 120px; resize: vertical; }
.form__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--c-text-muted); cursor: pointer; }
.form__consent input { margin-top: 2px; }

/* Скрытое honeypot-поле (защита от спам-ботов) */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Уведомление об успешной отправке (контакты) */
.success-notice { padding: 24px; text-align: center; }
.success-notice strong { color: #fff; display: block; font-size: 18px; margin-bottom: 8px; }
.success-notice p { color: #dbe9f3; margin: 0; }

/* Якорь формы: учитываем липкую шапку при прокрутке */
#ask-question { scroll-margin-top: 120px; }

/* ---------- Личный кабинет / профиль ---------- */
.page-heading { font-size: 32px; font-weight: 700; margin-bottom: 24px; }
.narrow-container { max-width: 600px; }

.flash-success,
.flash-error { padding: 12px 20px; border-radius: 8px; margin-bottom: 16px; }
.flash-success { background: rgba(76, 175, 80, .1); border: 1px solid rgba(76, 175, 80, .3); color: #4caf50; }
.flash-error { background: rgba(244, 67, 54, .1); border: 1px solid rgba(244, 67, 54, .3); color: #f44336; }

.account-form-card { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 12px; padding: 24px; }
.account-form-card .form__field { margin-bottom: 16px; }
.account-form-card input[type="text"],
.account-form-card input[type="email"] {
    width: 100%; padding: 10px 14px; border-radius: 8px;
    border: 1px solid #ddd; background: #fff; color: #333;
    font-size: 15px; box-sizing: border-box;
}
.account-form-card input:disabled { background: #f5f5f5; color: #999; border-color: #eee; }
.account-form-card label { display: block; color: #555; margin-bottom: 6px; font-size: 14px; }

/* Кабинет: сетка и карточки */
.account-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.account-card { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 12px; padding: 24px; }
.account-card h3 { margin-bottom: 12px; font-size: 18px; color: #333; }
.account-card p { color: #555; margin-bottom: 8px; }
.account-card .btn { display: inline-block; }
.account-pending { color: #ff9800; margin-bottom: 16px; }
.account-empty { color: #888; }

.support-unread {
    display: inline-block; background: #ff5252; color: #fff;
    border-radius: 50%; padding: 0 7px; font-size: 12px; margin-left: 6px;
}

.account-card__title { font-size: 18px; color: #333; margin-bottom: 16px; }
.account-card__desc { font-size: 14px; }

.page-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.page-head .page-heading { margin: 0; }

.support-chat { border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.support-chat__empty { color: #888; text-align: center; margin: auto; }
.support-row .btn { white-space: nowrap; }

.account-comment {
    background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px;
    padding: 16px; margin-bottom: 12px;
}
.account-comment__head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.account-comment__date { color: #888; font-size: 13px; }
.account-comment__status { font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.account-comment__status--approved { background: rgba(76, 175, 80, .15); color: #4caf50; }
.account-comment__status--pending { background: rgba(255, 152, 0, .15); color: #ff9800; }
.account-comment__status--spam { background: rgba(244, 67, 54, .15); color: #f44336; }
.account-comment p { color: #333; line-height: 1.6; margin: 0; }

/* Футер: описание под названием сервиса */
.footer__desc { font-size: 14px; color: #93a4b2; }

/* ---------- Чат поддержки ---------- */
.support-chat__head { padding: 14px 20px; background: var(--c-accent); color: #fff; font-weight: 600; }
.support-chat__body { padding: 20px; min-height: 340px; max-height: 520px; overflow-y: auto; background: #f7f9fb; display: flex; flex-direction: column; gap: 12px; }
.support-msg { max-width: 78%; padding: 10px 14px; border-radius: 12px; line-height: 1.5; font-size: 14px; }
.support-msg--user { align-self: flex-end; background: #128ccb; color: #fff; }
.support-msg--admin { align-self: flex-start; background: #fff; border: 1px solid var(--c-border); color: #333; }
.support-msg__meta { font-size: 11px; opacity: .75; margin-bottom: 4px; }
.support-chat__form { padding: 16px 20px; border-top: 1px solid var(--c-border); background: #fff; }
.support-chat__form .support-row { display: flex; gap: 10px; align-items: flex-end; }
.support-chat__form textarea { flex: 1; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: 8px; font-size: 14px; resize: vertical; min-height: 44px; background: var(--c-bg); color: var(--c-text); }
.support-chat__hint { font-size: 13px; color: var(--c-text-muted); margin-top: 12px; }
.form__field label { display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: 6px; }
.form__field input,
.form__field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: var(--f-body);
    color: var(--c-text);
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form__field input:hover, .form__field textarea:hover { border-color: #b8c4d0; }
.form__field input:focus, .form__field textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(18, 140, 203, .18);
}
.form__field textarea { min-height: 120px; resize: vertical; }
.form__consent { font-size: var(--fs-small); color: var(--c-text-muted); display: flex; gap: 8px; align-items: flex-start; }
.form__consent a { color: var(--c-accent); }

.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-accent); }

/* ---------- Map (Яндекс.Карта-плейсхолдер, адаптивная высота) ---------- */
.map-placeholder {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--c-accent-line);
    background: linear-gradient(135deg, #e8f4fc, var(--c-accent-soft));
    min-height: 340px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px;
    color: var(--c-accent);
    font-size: 40px;
    text-align: center;
    padding: 16px;
}
.map-placeholder span { font-size: 15px; color: var(--c-text-muted); }

/* ---------- Call-to-action band ---------- */
.cta {
    background: var(--c-bg-dark);
    color: #fff;
    border-radius: var(--radius);
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta__btn { background: #fff; color: var(--c-accent); }
.cta__btn:hover { background: var(--c-accent-soft); color: var(--c-accent-hover); }
.cta--column { flex-direction: column; align-items: flex-start; gap: 12px; }   /* D3: CTA в сайдбаре */

/* ---------- Partners / logos strip ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.partner {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 26px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text-muted);
    font-weight: 500;
    font-size: var(--fs-small);
    transition: border-color .15s var(--ease), color .15s var(--ease);
}
.partner:hover { border-color: var(--c-accent); color: var(--c-accent); text-decoration: none; }

/* ---------- Marquee brands ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brand {
    padding: 8px 18px;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    background: var(--c-bg);
    color: var(--c-text-muted);
    font-weight: 500;
    font-size: 14px;
}

/* ---------- Видео отзывы (копия блока с оригинала compline-ufa.ru) ---------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}
.video-item {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-bg);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.video-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }

.video-item__img {
    display: block;
    height: 168px;   /* 140px +20% (2026-08-23) */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.video-item__title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    display: block;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #128ccb;
    background: rgba(255, 255, 255, .9);
}

/* Оверлей-описание поверх фото: выезжает снизу при наведении (как в оригинале) */
.video-item__text {
    position: absolute;
    top: 100%;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: block;
    box-sizing: border-box;
    padding: 15px;
    background: #2581bb;
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    opacity: 0;
    transform: rotate(180deg);
    transition: all .3s ease-in-out;
}
.video-item__text::after {
    content: 'Просмотр';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #2581bb;
    padding: 8px 14px;
    font-weight: 600;
}
.video-item:hover .video-item__text {
    top: 0;
    opacity: 1;
    transform: rotate(360deg);
}

/* ---------- Модальное окно просмотра видео-отзыва ---------- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 32, .82);
    backdrop-filter: blur(4px);
}
.video-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    background: #0e1726;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    animation: video-modal-in .25s var(--ease);
}
@keyframes video-modal-in {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.video-modal__title {
    margin: 0 0 14px;
    padding-right: 44px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s var(--ease);
}
.video-modal__close:hover { background: rgba(255, 255, 255, .16); }
.video-modal video {
    display: block;
    width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-sm);
    background: #000;
}
.video-modal iframe {
    display: block;
    width: 100%;
    height: 60vh;
    min-height: 320px;
    border: 0;
    border-radius: var(--radius-sm);
    background: #000;
}

/* ---------- Наши клиенты и партнеры (копия блока с оригинала compline-ufa.ru) ----------
   Горизонтальный скролл, логотипы ч/б, при наведении — цвет (как плагин BlackAndWhite). */
.scroll-partners { width: 100%; overflow-x: auto; padding-bottom: 16px; -webkit-overflow-scrolling: touch; }
.partner-list { list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.partner-list li {
    display: inline-block;
    width: 200px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    vertical-align: middle;
}
.partner-list__img {
    display: inline-block;
    max-width: 145px;
    max-height: 92px;
    vertical-align: middle;
    cursor: pointer;
    filter: grayscale(100%);
    opacity: .75;
    transition: filter .3s ease, opacity .3s ease;
}
.partner-list li:hover .partner-list__img { filter: grayscale(0); opacity: 1; }

/* ---------- Sidebar (внутренние страницы) ---------- */
.content { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.content > * { min-width: 0; }

.sidebar { position: sticky; top: calc(var(--header-h) + 16px); }  /* R1: ниже шапки */
.sidebar__title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted); margin-bottom: 12px; }
.sidebar ul { list-style: none; margin: 0; display: grid; gap: 4px; }
.sidebar a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--c-text);
    font-size: 15px;
    border-left: 3px solid transparent;
    transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.sidebar a:hover { background: var(--c-accent-soft); color: var(--c-accent); text-decoration: none; }
.sidebar a.active { border-left-color: var(--c-accent); background: var(--c-accent-soft); color: var(--c-accent); font-weight: 500; }

/* Контент услуги — по центру блока */
.service-article { max-width: 860px; margin: 0 auto; }

/* Article body */
.article-body h2 { margin-top: 1.4em; }
.article-body h2:first-child { margin-top: 0; }
/* Заголовок статьи — шрифт уменьшен на 30% (2026-08-23) */
.article-body [itemprop="articleBody"] h1 { font-size: calc(var(--fs-h1) * .7); }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
    margin: 1.2em 0;
    padding: 16px 20px;
    border-left: 4px solid var(--c-accent);
    background: var(--c-bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--c-text-muted);
}

/* Контентные блоки (страницы услуг, статья «Ремонт видеокарт») */
.article-body figure { margin: 1.4em 0; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1em 0; display: block; }
.article-body figcaption { font-size: .85rem; color: var(--c-text-muted); margin-top: .4em; }
.article-body .author {
    background: var(--c-bg-light);
    border-left: 4px solid var(--c-accent);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: .92rem;
    margin: 1.4em 0;
}
.article-body .takeaways,
.article-body .summary {
    background: var(--c-bg-light);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 18px 22px;
}
.article-body .takeaways li,
.article-body .summary li { margin: .5em 0; }
.article-body .toc { background: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 22px; }
.article-body .toc ol { margin: .5em 0 0 1.2em; padding: 0; }
.article-body .toc a { color: var(--c-accent); text-decoration: none; }
.article-body .toc a:hover { text-decoration: underline; }
.article-body .faq-item { margin: 1.4em 0; }
.article-body .faq-item h3 { color: var(--c-text); }
.article-body table.price-table { margin: 1.2em 0; }

/* ---------- Footer ---------- */
.footer { background: var(--c-bg-dark); color: #c6d2dc; margin-top: 0; }
.footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 48px 0 32px; }
.footer h2 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer a { color: #c6d2dc; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer ul { list-style: none; margin: 0; display: grid; gap: 8px; }
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: var(--fs-small);
    color: #93a4b2;
}
.footer__bottom a { color: #93a4b2; }
.footer__bottom a:hover { color: #fff; }

.totop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-accent);
    color: #fff;
    border: 0;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
    z-index: 50;
}
.totop.visible { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--c-accent-hover); color: #fff; transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 979px) {
    .hero__inner { grid-template-columns: 1fr; }
    .feature { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .content { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .sidebar ul { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    /* Планшет: меню-плашка сохраняется, чуть плотнее горизонтальные отступы */
    .nav__list a { padding: 15px 8px; font-size: 14px; white-space: nowrap; }
    /* CTA в меню не помещается с 6 пунктами — телефон уже есть в шапке */
    .nav__cta { display: none; }
    .cards--services { grid-template-columns: repeat(2, 1fr); }
    .g-advantages__item { width: 33.33%; }
}

@media (max-width: 767px) {
    :root { --fs-h1: 32px; --fs-h2: 26px; --fs-h3: 21px; }
    .section { padding: 40px 0; }

    /* Компактная фиксированная шапка (один ряд): лого + телефон + бургер.
       Адрес, VK и часы работы скрыты, чтобы не занимать пол-экрана (2026-08-25). */
    .header__top { flex-wrap: nowrap; gap: 12px; padding: 6px var(--gutter); }
    .header__contacts { width: auto; margin-left: auto; gap: 0; }
    /* Показываем только телефон: прячем адрес, VK, часы работы и иконку телефона */
    .header__contacts .contact-item__icon,
    .header__contacts .contact-item__sub,
    .header__contacts .contact-item--link,
    .header__contacts .contact-item:not(:first-child) { display: none; }
    .header__contacts .contact-item { gap: 0; }
    .header__contacts .contact-item a { font-size: 15px; }
    .logo img { height: 28px; }

    /* Бургер в белой шапке — компактный, тёмный; текст «Меню» скрыт (только иконка) */
    .nav__burger {
        display: inline-flex;
        gap: 8px;
        padding: 8px 12px;
        font-size: 14px;
        margin: 0;
        flex: none;
    }
    /* Более высокая специфичность, чем у базового .nav__burger span (flex) — чтобы скрыть текст */
    .nav__burger .nav__burger-label { display: none; }
    .nav__burger:hover { border-color: var(--c-accent); color: var(--c-accent); }

    /* Меню: выпадающий список под шапкой; сам бар-навигация схлопнут до 0 высоты */
    .nav, .nav__inner { min-height: 0; }
    .nav { border-bottom: 0; }
    .nav__list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--c-bg);
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        margin-bottom: 12px;
        overflow: hidden;
    }
    .nav__list.open { display: flex; }
    .nav__list li { flex: none; text-align: left; }
    .nav__list a {
        white-space: normal;
        border-radius: 0;
        border-bottom: 1px solid var(--c-border);
        color: var(--c-text);
        text-transform: none;
        padding: 12px 16px;
        font-size: 15px;
    }
    .nav__list a:last-child { border-bottom: 0; }
    .nav__list a:hover { background: var(--c-accent-soft); color: var(--c-accent); }
    .nav__cta { display: none; }
    .nav__inner { flex-wrap: wrap; }
    .g-advantages__item { width: 50%; }

    /* R3: форма — 1 колонка */
    .form__row { grid-template-columns: 1fr; }

    .hero { padding: 44px 0; }
    .hero p { font-size: 17px; }
    .cta { padding: 32px 24px; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 479px) {
    .footer__inner { grid-template-columns: 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .advantages { grid-template-columns: 1fr; }
    .cards, .cards--services { grid-template-columns: 1fr; }
    .g-advantages__item { width: 100%; }
    /* R4: часы работы видимы, но компактнее */
    .contact-item__sub { font-size: 13px; }
    .hero__meta { gap: 16px; }
    .map-placeholder { min-height: 240px; }
}

/* ---------- R8: фолбэк без JS (меню видимо, бургер скрыт) ---------- */
html.no-js .nav__list {
    display: flex;
    flex-direction: column;
}
html.no-js .nav__burger { display: none; }

/* ---------- Print (необязательная, но полезная) ---------- */
@media print {
    .header, .nav, .breadcrumbs, .footer, .totop, .hero__meta, .cta { display: none; }
    body { font-size: 12pt; }
    .container { max-width: 100%; }
}
