/*
 * Qidrix · движение на сайте (общий файл для всех страниц, подключается после стилей страницы).
 * Появление блоков при прокрутке, прогресс чтения, «бегунок» в меню, посадка на раздел,
 * плотная шапка, подсветка карточек за курсором, плавные переходы между страницами.
 * Всё отключается при «уменьшении движения» и без JavaScript (класс motion ставит motion.js).
 */

/* Плавный переход между страницами сайта (браузеры с View Transitions) */
/* 2026-11-25 (Тимур: «при переходе между страницами подёргивания, особенно на тексте»): только перекрёстное затухание.
   Без сдвига — при transform текст рисуется с дробными координатами и дрожит; без отдельной группы для шапки —
   у страниц разная высота шапки (вторая строка разделов), и браузер растягивал её вместе с текстом. */
@view-transition { navigation: auto; }
/* Старая страница стоит под новой, а новая проявляется поверх. Если гасить обе сразу, в середине перехода обе
   полупрозрачны и просвечивает серый фон Safari («уход в серый», 2026-11-25). */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: 220ms ease-out both qx-vt-in; }
@keyframes qx-vt-in { from { opacity: 0; } }
html { background-color: #121417; }
html[data-theme="light"] { background-color: #F8FAFC; }

/* Появление при прокрутке */
html.motion .reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
html.motion .reveal.reveal--side { transform: translate3d(-36px, 0, 0); }
html.motion .reveal.reveal--zoom { transform: scale(0.94); }
html.motion .reveal.is-in { opacity: 1; transform: none; }

/* Заголовки разделов: «линия-сканер» под моно-подписью при появлении */
html.motion .mono.reveal { position: relative; }
html.motion .mono.reveal::after {
    content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 64px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    transform: scaleX(0); transform-origin: left; transition: transform 0.9s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.motion .mono.reveal.is-in::after { transform: scaleX(1); }
.case-overview .mono::after, #slide-6 .mono::after, .hero-content-overlay .mono::after { left: 50% !important; margin-left: -32px; }

/* Прогресс чтения под шапкой */
.scroll-progress {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, var(--accent-cyan), #7CF06A);
    transform: scaleX(var(--progress, 0)); transform-origin: left;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

/* Плотная шапка после начала прокрутки */
header { transition: background-color 0.4s ease, box-shadow 0.4s ease; }
header nav { transition: height 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
header.is-scrolled nav { height: 66px; }

/* «Бегунок» под активным пунктом меню */
.nav-links { position: relative; }
.nav-indicator {
    position: absolute; left: 0; bottom: -10px; height: 2px; width: 0; border-radius: 2px; pointer-events: none;
    background: var(--accent-cyan); box-shadow: 0 0 12px var(--accent-cyan); opacity: 0;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}
.nav-indicator.is-on { opacity: 1; }
.nav-links a { transition: color 0.3s; }

/* Посадка на раздел, выбранный в меню */
section.is-landing .mono { animation: qx-land-label 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
section.is-landing::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), #7CF06A, transparent);
    animation: qx-land-sweep 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes qx-land-sweep { from { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } to { transform: scaleX(1); opacity: 0; } }
@keyframes qx-land-label { 0% { text-shadow: none; } 30% { text-shadow: 0 0 18px var(--accent-cyan); letter-spacing: 3px; } 100% { text-shadow: none; } }

/* Подсветка карточек за курсором */
.qx-glow { position: relative; isolation: isolate; }
.qx-glow::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 255, 0.12), transparent 60%);
    transition: opacity 0.35s;
}
.qx-glow:hover::after { opacity: 1; }

/* Лёгкий параллакс фона первого экрана */
html.motion .hero-bg-video { transform: translate3d(0, var(--parallax, 0px), 0) scale(1.06); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    html.motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .nav-indicator, header nav, .qx-glow::after { transition: none !important; }
    section.is-landing .mono, section.is-landing::before { animation: none !important; }
    html.motion .hero-bg-video { transform: none !important; }
}

/* Первый экран с видео — всегда «тёмный», как в тёмной теме: без белой пелены в светлой теме */
[data-theme="light"] #slide-1,
[data-theme="light"] #case-hero {
    --text-main: #F3F4F6;
    --text-muted: #C3C9D2;
    --accent-cyan: #00E5FF;
    --bg-panel: #1E2126;
    --bg-main: #121417;
    color: #F3F4F6;
    background: #121417;
}
[data-theme="light"] #slide-1 .hero-overlay,
[data-theme="light"] #case-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(18, 20, 23, 0.72) 0%, rgba(18, 20, 23, 0.9) 100%) !important;
}

/* ─── Футер (общий для всех страниц) ─────────────────────────────────────── */
footer.qx-foot { position: relative; text-align: left; padding: 64px 0 28px; border-top: 0; overflow: hidden; }
footer.qx-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-cyan) 30%, #7CF06A 70%, transparent); opacity: 0.6; }
.qx-foot nav { display: block; height: auto; }
.qx-foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1.25fr); gap: 32px 40px; align-items: start; }
.qx-foot__brand .logo { margin-bottom: 16px; }
.qx-foot__brand .logo-svg { width: 32px; height: 32px; }
.qx-foot__brand .logo-text { font-size: 23px; }
.qx-foot__about { max-width: 340px; color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0 0 12px; }
.qx-foot__geo { display: inline-block; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-cyan); margin: 0; }
.qx-foot__h { font-family: 'Fira Code', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin: 6px 0 16px; }
.qx-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.qx-foot__col ul a { position: relative; color: var(--text-main); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .25s; }
.qx-foot__col ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--accent-cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.qx-foot__col ul a:hover, .qx-foot__col ul a[aria-current="page"] { color: var(--accent-cyan); }
.qx-foot__col ul a:hover::after, .qx-foot__col ul a[aria-current="page"]::after { transform: scaleX(1); }
/* Карточка «Связаться» */
.qx-foot__grid > .qx-foot__col:last-child { padding: 20px; border-radius: 16px; background: var(--bg-panel); border: 1px solid var(--border); }
.qx-foot__grid > .qx-foot__col:last-child .qx-foot__h { margin-top: 0; }
.qx-foot__cta { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 12px 20px; margin-bottom: 14px; border-radius: 30px; background: var(--accent-cyan); color: var(--bg-main); font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 0 20px rgba(0, 229, 255, 0.2); transition: transform .3s, box-shadow .3s; }
.qx-foot__cta:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 229, 255, 0.45); }
.qx-foot .footer-social { justify-content: space-between; flex-wrap: nowrap; gap: 6px; }
.qx-foot .footer-social-link { width: 40px; height: 40px; flex: none; }
/* Нижняя строка */
.qx-foot__bottom { display: flex; align-items: center; gap: 16px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border); }
.qx-foot__bottom .footer-copy { margin-right: auto; font-size: 12.5px; line-height: 1.45; min-width: 0; }
.qx-foot nav.qx-foot__langs { display: flex; flex: none; gap: 0; padding: 3px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg-panel); }
.qx-foot__langs a { font-family: 'Fira Code', monospace; font-size: 11px; letter-spacing: 1px; padding: 5px 10px; border-radius: 16px; color: var(--text-muted); text-decoration: none; transition: .25s; }
.qx-foot__langs a:hover { color: var(--accent-cyan); }
.qx-foot__langs a[aria-current="true"] { background: var(--accent-cyan); color: var(--bg-main); }
.qx-foot__up { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-panel); color: var(--text-main); transition: color .25s, border-color .25s, transform .3s; }
.qx-foot__up:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); transform: translateY(-3px); }
.qx-foot__up span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 960px) {
    .qx-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qx-foot__brand { grid-column: 1 / -1; }
}
/* Телефон: бренд, карточка связи, две колонки ссылок, строка с языками; «Наверх» — у бренда. */
@media (max-width: 560px) {
    footer.qx-foot { padding: 40px 0 calc(20px + env(safe-area-inset-bottom)); }
    .qx-foot .container { position: relative; }
    .qx-foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 16px; }
    .qx-foot__brand { order: 0; padding-right: 56px; }
    .qx-foot__brand .logo { margin-bottom: 12px; }
    .qx-foot__brand .logo-svg { width: 30px; height: 30px; }
    .qx-foot__brand .logo-text { font-size: 22px; }
    .qx-foot__about { font-size: 13.5px; line-height: 1.55; margin-bottom: 10px; }
    .qx-foot__geo { font-size: 10px; }
    .qx-foot__grid > .qx-foot__col:last-child { order: 1; grid-column: 1 / -1; padding: 18px; }
    .qx-foot__col { order: 2; grid-column: 1 / -1; }
    .qx-foot__h { font-size: 10.5px; margin: 0 0 12px; }
    .qx-foot__col ul a { font-size: 14px; }
    .qx-foot__cta { padding: 13px 20px; }
    .qx-foot .footer-social { gap: 0; }
    .qx-foot .footer-social-link { width: 44px; height: 44px; }
    .qx-foot__bottom { margin-top: 28px; padding-top: 18px; }
    .qx-foot__bottom .footer-copy { font-size: 11.5px; }
    .qx-foot__up { position: absolute; top: 0; right: 20px; width: 42px; height: 42px; }
}

/* Закрытое боковое меню: без тени у края экрана и вне порядка Tab. */
.side-panel:not(.open) { box-shadow: none; visibility: hidden; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s, box-shadow 0.4s, visibility 0s linear 0.4s; }

/* Темы кейса в первом экране: короткие ссылки на разделы */
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 4px auto 28px; }
.hero-tags a { padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; color: #E5E7EB; text-decoration: none; background: rgba(18, 20, 23, 0.45); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: color .25s, border-color .25s, background-color .25s; }
.hero-tags a:hover { color: #00E5FF; border-color: rgba(0, 229, 255, 0.6); background: rgba(0, 229, 255, 0.08); }
@media (max-width: 560px) { .hero-tags { gap: 6px; margin-bottom: 22px; } .hero-tags a { padding: 6px 11px; font-size: 12px; } }

/* ─── Кейсы: разделы — второй строкой под шапкой; верхняя строка как на главной ─── */
.case-bar { border-top: 1px solid var(--border); }
.case-bar .container { display: flex; align-items: center; height: 44px; }
.case-bar .nav-links.case-nav { display: flex !important; align-items: center; gap: 26px; height: 100%; margin: 0; padding: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior: contain; touch-action: pan-x; white-space: nowrap; scrollbar-width: none; }
.case-bar .nav-links.case-nav::-webkit-scrollbar { display: none; }
.case-bar .nav-links.case-nav a { font-size: 12.5px; letter-spacing: 0.5px; }
@media (max-width: 600px) {
    .case-bar .container { height: 40px; }
    .case-bar .nav-links.case-nav { gap: 18px; }
    .case-bar .nav-links.case-nav a { font-size: 11.5px; }
}

/* ─── Кейсы: название кейса в верхней строке шапки, значки связи справа во второй ─── */
.case-title { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; margin-right: auto; margin-left: 28px; padding-left: 24px; border-left: 1px solid var(--border); }
.case-title__kicker { font-family: 'Fira Code', monospace; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-cyan); line-height: 1; }
.case-title__name { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.case-bar .nav-links.case-nav { flex: 1 1 auto; min-width: 0; }
.case-bar__contacts { flex: none; display: flex; align-items: center; gap: 6px; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--border); }
.case-contact { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); border: 1px solid var(--border); transition: color .2s, border-color .2s, transform .2s; }
.case-contact svg { width: 14px; height: 14px; }
.case-contact:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); transform: translateY(-1px); }
@media (max-width: 900px) { .case-title { display: none; } }
@media (max-width: 700px) { .case-bar__contacts { display: none; } }

/* Общее меню: «Направления ▾ / Продукты ▾» (site-tools/header.py) */
.qx-menu { align-items: center; margin: 0 auto; padding: 0 24px; }
.qx-dd { position: relative; }
.qx-dd__btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--text-muted); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.qx-dd__btn:hover, .qx-dd__btn[aria-expanded="true"] { color: var(--accent-cyan); }
.qx-dd__chev { transition: transform 0.25s; }
.qx-dd__btn[aria-expanded="true"] .qx-dd__chev { transform: rotate(180deg); }
.qx-dd__list { position: absolute; top: calc(100% + 18px); left: -18px; z-index: 1100; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: var(--bg-panel, #1E2126); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.qx-dd__list[hidden] { display: none; }
.qx-dd__list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text-main) !important; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.qx-dd__list a:hover, .qx-dd__list a:focus-visible, .qx-dd__list a[aria-current="page"] { background: rgba(0, 229, 255, 0.08); color: var(--accent-cyan) !important; }
.qx-side .qx-side__head { font-family: 'Fira Code', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: -12px; }
.qx-side a[aria-current="page"] { color: var(--accent-cyan); }
@media (max-width: 1023px) { .qx-menu { display: none !important; } }

/* Фото в шагах кейсов — всегда целиком, в своей пропорции: рамка не режет кадр (жалоба 2026-11-03, телефон) */
.step-left-cell > .image-wrapper:not(.viz-wrap):not(.fit), .images-column > .image-wrapper:not(.fit) { height: auto; min-height: 0; aspect-ratio: auto; align-self: start; }
.step-left-cell > .image-wrapper:not(.viz-wrap):not(.fit) > img, .images-column > .image-wrapper:not(.fit) > img { position: static; width: 100%; height: auto; object-fit: contain; }

/* Кнопка «Наверх» — появляется после прокрутки (2026-11-25, Тимур: «явная стрелка вверх в удобном месте»). Создаёт assets/site.js. */
.qx-top { transition-property: opacity, transform, background, color; position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom) + var(--lift, 0px)); z-index: 900; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    background: var(--bg-panel); color: var(--accent-cyan); border: 1px solid color-mix(in srgb, var(--accent-cyan) 45%, transparent); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s, background .25s, color .25s; }
.qx-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .qx-top:hover:not(.no-hover) { background: var(--accent-cyan); color: var(--bg-main); transform: translateY(-3px); } }   /* после нажатия кнопка появится под курсором — не подсвечивать, пока курсор не уйдёт */
.qx-top:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; }
@media (max-width: 560px) { .qx-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom) + var(--lift, 0px)); width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .qx-top { transition: opacity .2s; transform: none; } }
/* место под кнопку «Наверх» в нижней строке подвала, чтобы она не закрывала языки */

/* Телефон: ссылки «Компании» в подвале — в строку с переносом, а не столбиком (Тимур 2026-11-25) */
@media (max-width: 560px) { .qx-foot__col ul { display: flex; flex-wrap: wrap; gap: 12px 22px; } }

/* Подвал (с 2026-11-25): строка «логотип | ссылки | значки», ниже фраза и © — в стиле шапки. Генерирует site-tools/footer.py. */
.qx-foot2 { margin-top: 0; padding: 32px 0 calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--bg-main); text-align: left; }
.qx-foot2 .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.qf-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px 40px; }   /* ссылки строго по центру страницы, логотип и значки — по краям (Тимур: «несимметрично») */
.qf-logo { justify-self: start; } .qf-soc { justify-self: end; }
.qf-logo { text-decoration: none; } .qf-logo .logo-svg { width: 30px; height: 30px; } .qf-logo .logo-text { font-size: 22px; }
.qf-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; height: auto; }   /* у nav на страницах общее правило height: 80px */
.qf-nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: color .25s; }
.qf-nav a:hover, .qf-nav a[aria-current="page"] { color: var(--accent-cyan); }
.qf-soc { display: flex; gap: 10px; }
.qf-soc .footer-social-link { position: relative; width: 40px; height: 40px; }
.qf-ph .au-flag { position: absolute; right: -4px; bottom: -3px; width: 16px; height: 11px; border-radius: 2px; box-shadow: 0 0 0 2px var(--bg-main); }
.qf-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-muted); }
.qf-copy { font-family: 'Fira Code', monospace; font-size: 12px; letter-spacing: .04em; }
/* Телефон — вариант B: логотип и значки в одной строке, ссылки на всю ширину, края ссылок совпадают с краями значков */
@media (max-width: 760px) {
    .qx-foot2 { padding: 22px 0 calc(18px + env(safe-area-inset-bottom)); }
    .qf-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 12px; }
    .qf-logo { grid-column: 1; grid-row: 1; }
    .qf-soc { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 8px; }
    .qf-soc .footer-social-link { width: 38px; height: 38px; } .qf-soc .footer-social-link svg { width: 16px; height: 16px; }
    .qf-nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; gap: 8px 0; }
    .qf-nav a { font-size: 13px; letter-spacing: .5px; text-transform: none; font-weight: 500; }
    .qf-bottom { display: none; }   /* телефон: подвал из двух строк — логотип со значками и ссылки (Тимур 2026-11-25: «может вообще спрятать эту строку?») */   /* на телефоне без © (Тимур 2026-11-25: «зачем нам c2026?»; на компьютере — оставить) */
    .qf-copy { display: none; }
    .qf-about { min-width: 0; } .qf-copy { white-space: nowrap; font-size: 11px; line-height: 1.5; } .qf-copy__n { display: none; }   /* на телефоне «© 2026»: логотип и так строкой выше, а фраза встаёт в две строки */   /* фраза слева в две строки, © справа вровень с её последней строкой (Тимур) */
}
@media (max-width: 380px) { .qf-bottom { font-size: 11.5px; gap: 12px; } .qf-soc { gap: 6px; } .qf-soc .footer-social-link { width: 34px; height: 34px; } .qf-logo .logo-text { font-size: 20px; } .qf-logo { gap: 10px; } }

/* Последний раздел перед подвалом: один короткий отступ и одна линия (у подвала), а не 40 + 56…72 px и две линии (Тимур 2026-11-25) */
main > section:last-child { border-bottom: 0 !important; padding-bottom: 48px !important; }
@media (max-width: 768px) { main > section:last-child { padding-bottom: 32px !important; } }
