/* Основа оформления. Цвета, размеры и ширина страницы меняются здесь. */
:root {
  color-scheme: dark;
  --background: #141516;
  --surface: #1b1d1f;
  --price-hover-surface: #222629;
  --text: #eeeeeb;
  --muted: #a7aaa9;
  --border: #383c3e;
  --placeholder: #222527;
  --placeholder-border: #5d6467;
  --timeline: #3b4245;
  --button-hover: #d4d8d5;
  --focus: #9cbaff;
  --page-width: 1160px;
  --section-space: clamp(52px, 7vw, 88px);
  --button-radius: 14px;
  --panel-radius: 24px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --background: #fafaf8;
  --surface: #ffffff;
  --price-hover-surface: #f4f6fa;
  --text: #242424;
  --muted: #63635f;
  --border: #dcdcd6;
  --placeholder: #f0f0ec;
  --placeholder-border: #a8a8a0;
  --timeline: #d6d6ce;
  --button-hover: #444;
  --focus: #315bcc;
  --page-width: 1160px;
  --section-space: clamp(52px, 7vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; transition: background-color .28s ease, color .28s ease; }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }
.icon-arrow { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.125em; pointer-events: none; }
.page-card h3 .icon-arrow { width: 24px; height: 24px; }
.nav-contact .icon-arrow { margin-left: .35em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--text); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.header { position: sticky; top: 0; z-index: 5; background: var(--background); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--text); color: var(--background); font-size: 24px; }
.brand-wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.brand-name { font-size: 16px; letter-spacing: .08em; }
.brand-studio { color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .18em; }
.navigation { display: flex; align-items: center; gap: 23px; font-size: 13px; margin-left: auto; order: 1; }
.header-controls { display: flex; align-items: center; gap: 10px; order: 2; }
.theme-toggle { position: relative; flex-shrink: 0; width: 80px; height: 44px; padding: 0; border: 1px solid #454c58; border-radius: 999px; background: #252b35; cursor: pointer; transition: background-color .28s ease, border-color .28s ease, box-shadow .2s ease; }
.theme-toggle:hover { border-color: var(--muted); box-shadow: 0 0 0 3px var(--placeholder); }
.theme-toggle-thumb { position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; border-radius: 50%; background: #e4e8ed; box-shadow: 0 2px 6px #0003; transform: translateX(36px); transition: transform .32s cubic-bezier(.22, 1, .36, 1), background-color .28s ease; }
.theme-icon { position: absolute; top: 12px; width: 18px; height: 18px; pointer-events: none; transition: color .28s ease, opacity .28s ease, transform .32s ease; }
.theme-icon-sun { left: 12px; color: #b4bdcc; opacity: .7; transform: rotate(-35deg); }
.theme-icon-moon { right: 12px; color: #252b35; }
:root[data-theme="light"] .theme-toggle { background: #e8ebee; border-color: #cdd2d8; }
:root[data-theme="light"] .theme-toggle-thumb { background: #ffffff; transform: translateX(0); }
:root[data-theme="light"] .theme-icon-sun { color: #9a5b00; opacity: 1; transform: rotate(0); }
:root[data-theme="light"] .theme-icon-moon { color: #626b78; opacity: .7; transform: rotate(15deg); }
.button, .nav-contact, .menu-toggle, .skip-link { border-radius: var(--button-radius); }
.button, .nav-contact, .menu-toggle, .header, .card, .contact-section, .format-tabs, .format-tab, .hero-placeholder, .work-placeholder { transition: background-color .28s ease, color .28s ease, border-color .28s ease; }
.navigation a { text-decoration: none; }
.navigation a:hover { text-decoration: underline; }
.navigation a[aria-current="page"], .footer-navigation a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nav-contact { border: 1px solid var(--text); padding: 10px 14px; }
.menu-toggle { display: none; color: var(--text); background: transparent; border: 1px solid var(--border); padding: 8px 14px; cursor: pointer; }
.hero { padding-top: 64px; padding-bottom: var(--section-space); display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: -.045em; margin-bottom: 24px; font-weight: 600; }
h2 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -.035em; margin-bottom: 0; font-weight: 600; }
h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 14px; }
.lead { max-width: 470px; color: var(--muted); font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--text); background: var(--text); color: var(--background); font-size: 13px; font-weight: 700; text-decoration: none; }
.button:hover { background: var(--button-hover); }
.button-secondary { background: transparent; color: var(--text); }
.button-secondary:hover { background: var(--placeholder); }
.hero-placeholder { position: relative; aspect-ratio: 4 / 3; min-width: 0; padding: 32px; border: 1px dashed var(--placeholder-border); background: var(--placeholder); display: flex; flex-direction: column; justify-content: center; }
.placeholder-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.hero-placeholder p { font-size: clamp(20px, 2.2vw, 29px); line-height: 1.35; margin: 18px 0 30px; letter-spacing: -.025em; }
.placeholder-caption { font-size: 11px; color: var(--muted); margin-top: 10px; }
.video-timeline { display: flex; gap: 4px; height: 24px; }
.video-timeline span { flex: 1; background: var(--timeline); border: 1px solid var(--placeholder-border); }
.video-timeline span:nth-child(2) { flex: 1.7; }
.video-timeline span:nth-child(4) { flex: .6; }
.frame-corners { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-top: 1px solid var(--placeholder-border); border-right: 1px solid var(--placeholder-border); }
.section { padding-block: var(--section-space); border-top: 1px solid var(--border); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section-heading > p { margin-bottom: 0; font-size: 13px; color: var(--muted); }
.section-heading .eyebrow { margin-bottom: 12px; }
.grid { display: grid; gap: 20px; }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { border: 1px solid var(--border); background: var(--surface); padding: 28px; }
.item-number { display: block; margin-bottom: 30px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card > p, .work > p { color: var(--muted); font-size: 14px; }
.tag { display: inline-block; border: 1px solid var(--border); padding: 4px 9px; font-size: 11px; color: var(--muted); }
.work-placeholder { aspect-ratio: 16 / 10; background: var(--placeholder); border: 1px dashed var(--placeholder-border); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; margin-bottom: 20px; }
.work-placeholder span { font-size: 18px; color: var(--muted); }
.work-placeholder small { color: var(--muted); font-size: 11px; }
.work h3 { margin-bottom: 8px; }
.portfolio-grid--vertical { max-width: 920px; margin-inline: auto; }
.portfolio-grid--vertical .work { width: 100%; max-width: 240px; justify-self: center; }
.portfolio-grid--vertical .work-placeholder { aspect-ratio: 9 / 16; }
.portfolio-grid--horizontal .work-placeholder { aspect-ratio: 16 / 9; }
.price-card { position: relative; display: flex; flex-direction: column; border-radius: var(--panel-radius); transform-origin: center; transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s ease, background-color .28s ease, border-color .28s ease, color .28s ease; }
.price-card:focus-within { border-color: var(--focus); background: var(--price-hover-surface); box-shadow: 0 14px 36px #0002; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .price-card:hover { border-color: var(--focus); background: var(--price-hover-surface); box-shadow: 0 14px 36px #0002; z-index: 1; }
  .price-card:hover, .price-card:focus-within { transform: translateY(-4px) scale(1.025); }
}
.format-tabs { position: relative; display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); margin-bottom: 24px; isolation: isolate; }
.format-tab { position: relative; min-width: 0; min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 18px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.format-tab:hover { color: var(--text); }
.format-tab[aria-selected="true"] { color: var(--background); }
.format-tab-indicator { position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 16px) / 2); border-radius: 18px; background: var(--text); pointer-events: none; transition: transform .32s cubic-bezier(.22, 1, .36, 1), background-color .28s ease; }
.format-tabs[data-active="1"] .format-tab-indicator { transform: translateX(calc(100% + 6px)); }
.tabs-viewport { position: relative; display: flow-root; }
.tabs-viewport.is-transitioning { overflow: clip; }
.tab-panel { display: flow-root; min-width: 0; }
.tab-panel.is-leaving { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; }
.tab-panel + .tab-panel { margin-top: 24px; }
.js .tab-panel + .tab-panel { margin-top: 0; }
.format-description { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; min-height: 28px; margin-bottom: 22px; }
.format-marker { flex-shrink: 0; width: 12px; height: 20px; border: 1px solid var(--muted); border-radius: 2px; }
.format-marker-horizontal { width: 24px; height: 14px; }
.price-card .price { margin: 18px 0 20px; font-size: 23px; font-weight: 600; color: var(--text); letter-spacing: -.025em; }
.package-list { list-style: none; padding: 0; margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.package-list li { border-top: 1px solid var(--border); padding: 10px 0; }
.price-card .button { margin-top: auto; }
.price-card .price-caption { margin: 24px 0 0; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.price-caption:has(.discount-badge) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.price-original { margin-left: 4px; font-size: 13px; letter-spacing: 0; text-decoration-thickness: 1px; }
.discount-badge { display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid var(--focus); border-radius: 999px; color: var(--focus); font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.price-card .price:has(+ .price-saving) { margin-bottom: 8px; }
.price-card .price-saving { margin: 0 0 20px; font-size: 12px; color: var(--focus); }
.price-card .price-caption + .price { margin-top: 5px; font-size: 32px; }
.price-unit { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.market-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.market-summary article { padding: 28px; border: 1px solid var(--border); border-radius: var(--panel-radius); background: var(--surface); }
.market-summary article > span { color: var(--muted); font-size: 12px; }
.market-summary h3 { margin: 14px 0; font-size: clamp(20px, 2.2vw, 28px); }
.market-summary p { margin: 0; color: var(--muted); font-size: 14px; }
.market-details { margin-top: 24px; padding: 24px; border: 1px solid var(--border); border-radius: var(--panel-radius); }
.market-details summary { font-size: 15px; }
.market-content { min-width: 0; padding-top: 8px; }
.market-content > p { max-width: 940px; }
.market-content h3 { margin: 28px 0 12px; font-size: 18px; }
.market-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: 16px; }
.market-table-wrap table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 12px; }
.market-table-wrap caption { padding: 16px; text-align: left; color: var(--muted); background: var(--surface); }
.market-table-wrap th, .market-table-wrap td { padding: 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.market-table-wrap thead th { font-size: 11px; color: var(--muted); font-weight: 500; }
.market-table-wrap tbody th { width: 23%; font-weight: 500; }
.market-table-wrap td:nth-child(2) { width: 22%; }
.market-table-wrap tr:last-child > * { border-bottom: 0; }
.market-section a { text-underline-offset: 3px; }
.market-telegram-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.market-telegram-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 13px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.market-telegram-list span { color: var(--muted); }
.section-footnote { font-size: 12px; color: var(--muted); max-width: 720px; margin: 22px 0 0; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.process-list li { border-top: 1px solid var(--border); padding-top: 18px; }
.process-list h3 { font-size: 18px; }
.process-list p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.faq-section { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); padding: 20px 0; }
summary { cursor: pointer; font-size: 15px; font-weight: 600; padding-right: 12px; }
details p { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.contact-section { padding: 42px; border: 1px solid var(--border); border-radius: var(--panel-radius); display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 50px; background: var(--surface); margin-bottom: var(--section-space); }
.contact-section h2 { margin-bottom: 18px; }
.contact-section p { font-size: 14px; color: var(--muted); margin-bottom: 0; max-width: 450px; }
.contact-placeholder { border-left: 1px solid var(--border); padding-left: 32px; }
.contact-placeholder p { margin-top: 12px; margin-bottom: 8px; }
.contact-placeholder small { display: block; color: var(--muted); font-size: 12px; }
.page-intro { padding-top: 36px; padding-bottom: 56px; }
.page-intro h1 { margin-bottom: 22px; }
.page-intro .lead { max-width: 690px; margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 36px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; }
.page-card { display: flex; flex-direction: column; min-height: 230px; border-radius: var(--panel-radius); text-decoration: none; transition: background-color .28s ease, border-color .28s ease, transform .2s ease; }
.page-card:hover { border-color: var(--muted); transform: translateY(-3px); }
.page-card h3 { display: flex; justify-content: space-between; gap: 14px; }
.page-card p { margin-bottom: 0; }
.cta-actions { justify-self: end; }
.channel-card { display: flex; flex-direction: column; border-radius: var(--panel-radius); }
.channel-card p { margin-bottom: 28px; }
.channel-card .tag { align-self: flex-start; margin-top: auto; border-radius: var(--button-radius); }
.channel-card .contact-link { align-self: flex-start; margin-top: auto; max-width: 100%; min-width: 0; overflow-wrap: anywhere; text-align: left; font-size: 13px; }
.order-term { border-radius: var(--panel-radius); }
.order-term h3 { font-size: 22px; }
.order-term p { margin-bottom: 0; }
.contact-preparation { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; }
.contact-preparation .lead { margin-top: 24px; font-size: 16px; }
.preparation-list { list-style: none; margin: 0; padding: 0; }
.preparation-list li { display: grid; grid-template-columns: 28px 1fr; gap: 18px; border-top: 1px solid var(--border); padding-block: 22px; }
.preparation-list h3 { font-size: 18px; }
.preparation-list p { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding-top: 48px; padding-bottom: 88px; transition: background-color .28s ease, border-color .28s ease; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .65fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-about p { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 20px; }
.footer-heading { font-size: 13px; letter-spacing: .04em; margin-bottom: 20px; }
.footer-navigation, .footer-documents { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-navigation .footer-heading, .footer-documents .footer-heading { margin-bottom: 10px; }
.footer-navigation a, .footer-documents a, .footer-contacts > a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-navigation a:hover, .footer-documents a:hover, .footer-contacts > a:hover, .footer-documents a[aria-current="page"] { color: var(--text); text-decoration: underline; }
.footer-contacts p { font-size: 13px; margin: 18px 0 0; }
.footer-contacts p span, .footer-contacts p a { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.footer-contacts p a { text-decoration: none; overflow-wrap: anywhere; }
.footer-contacts p a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover, .footer-bottom a[aria-current="page"] { color: var(--text); text-decoration: underline; }
.legal-notice { padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--panel-radius); background: var(--surface); margin-bottom: 36px; }
.legal-notice strong { display: block; font-size: 16px; margin-bottom: 10px; }
.legal-notice p { max-width: 940px; color: var(--muted); font-size: 14px; margin-bottom: 0; }
.legal-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 50px; padding-bottom: var(--section-space); align-items: start; }
.legal-toc { position: sticky; top: 106px; max-height: calc(100vh - 132px); overflow-y: auto; border: 1px solid var(--border); border-radius: var(--panel-radius); padding: 22px; background: var(--surface); }
.legal-toc details { padding: 0; border: 0; }
.legal-toc summary { font-size: 14px; }
.legal-toc ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 13px; }
.legal-toc a { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; text-decoration: none; }
.legal-toc a:hover { color: var(--text); text-decoration: underline; }
.legal-document { min-width: 0; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-document > h2 { font-size: 25px; line-height: 1.3; margin: 42px 0 20px; }
.legal-document > p:first-child { margin-bottom: 26px; color: var(--muted); font-size: 13px; }
.legal-document p { margin-bottom: 18px; }
.legal-document ul { padding-left: 22px; margin: 18px 0; }
.legal-document li + li { margin-top: 10px; }
.legal-document code { font-size: .9em; background: var(--placeholder); border-radius: 5px; padding: 2px 5px; }
.legal-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: 16px; }
.legal-table-wrap table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 13px; line-height: 1.65; }
.legal-table-wrap th, .legal-table-wrap td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.legal-table-wrap th { background: var(--surface); }
.legal-table-wrap tr:last-child td { border-bottom: 0; }
.back-to-top { position: fixed; right: max(26px, env(safe-area-inset-right)); bottom: max(26px, env(safe-area-inset-bottom)); z-index: 6; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--border); border-radius: 50%; background: var(--text); color: var(--background); box-shadow: 0 6px 24px #0003; text-decoration: none; transition: opacity .24s ease, transform .24s ease, visibility .24s, background-color .28s ease, color .28s ease; }
.back-to-top:hover { transform: translateY(-3px); background: var(--button-hover); }
.js .back-to-top:not(.is-visible) { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px); }
@media (max-width: 1000px) {
  .navigation { gap: 14px; font-size: 12px; }
  .hero { gap: 30px; }
  .card { padding: 22px; }
  .grid { gap: 14px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; min-height: 70px; padding-block: 16px; gap: 16px; }
  .js .menu-toggle { display: inline-block; }
  .header-controls { margin-left: auto; }
  .navigation { width: 100%; flex-direction: column; align-items: stretch; gap: 0; font-size: 14px; order: 3; margin-left: 0; }
  .navigation a { padding: 12px 0; }
  .navigation .nav-contact { padding: 12px; margin-top: 8px; }
  .js .navigation[data-open="false"] { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; gap: 32px; }
  .hero-placeholder { aspect-ratio: 16 / 9; }
  .grid-three { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 26px; }
  .item-number { margin-bottom: 20px; }
  .work-placeholder { aspect-ratio: 16 / 9; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading > p br { display: none; }
  .faq-section, .contact-section { grid-template-columns: 1fr; gap: 28px; }
  .contact-placeholder { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about p { max-width: 450px; }
  .contact-preparation { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions { justify-self: start; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc { position: static; max-height: none; }
}
@media (max-width: 480px) {
  .market-summary { grid-template-columns: 1fr; }
  .market-summary article { padding: 22px; }
  .market-details { padding: 22px; }
  .container { width: calc(100% - 36px); }
  .brand { font-size: 15px; }
  .header-inner { column-gap: 8px; }
  .brand { gap: 8px; font-size: 13px; }
  .brand-mark { width: 24px; height: 28px; }
  .brand-name { font-size: 13px; }
  .brand-studio { font-size: 9px; }
  .header-controls { gap: 6px; }
  .menu-toggle { padding: 8px 10px; font-size: 13px; }
  .format-tabs { display: grid; width: 100%; }
  .format-tab { padding: 10px 8px; font-size: 12px; }
  .actions { flex-direction: column; align-items: stretch; }
  .hero-placeholder { padding: 24px; }
  .hero-placeholder p { margin-bottom: 20px; }
  .process-list { grid-template-columns: 1fr; gap: 22px; }
  .process-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
  .contact-section { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .legal-notice { padding: 22px; }
  .legal-document { font-size: 14px; }
  .legal-document > h2 { font-size: 22px; }
  .back-to-top { width: 48px; height: 48px; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .header-controls { gap: 4px; }
  .menu-toggle { padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .price-card:hover, .price-card:focus-within { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.error-page { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; padding-block: clamp(48px, 8vw, 96px); }
.error-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1.12; background: var(--surface); border: 1px solid var(--border); border-radius: var(--panel-radius); overflow: hidden; }
.error-code { color: var(--text); font-size: clamp(120px, 19vw, 230px); line-height: 1; font-weight: 700; letter-spacing: .005em; text-indent: .005em; }
.error-frame-label, .error-frame-caption { position: absolute; left: 24px; color: var(--muted); font-size: 12px; }
.error-frame-label { top: 24px; letter-spacing: .06em; }
.error-frame-caption { bottom: 24px; }
.error-copy h1 { font-size: clamp(36px, 5vw, 60px); }
.error-copy .lead { font-size: 17px; margin-top: 24px; max-width: 470px; }
@media (max-width: 1000px) {
  .error-page { grid-template-columns: 1fr; gap: 32px; }
  .error-visual { aspect-ratio: 1.8; }
  .error-code { font-size: clamp(120px, 28vw, 210px); }
}

/* Компактнее служебные и коммерческие разделы. Портфолио и шоурил сохраняют свой вид. */
:is(.page-home, .page-pricing, .page-contacts, .page-privacy) .section { padding-block: clamp(32px, 4vw, 56px); }
:is(.page-pricing, .page-contacts, .page-privacy) .page-intro { padding-top: 28px; padding-bottom: 28px; }
:is(.page-pricing, .page-contacts, .page-privacy) .breadcrumbs { font-size: 14px; margin-bottom: 22px; }
:is(.page-pricing, .page-contacts, .page-privacy) .page-intro h1 { margin-bottom: 18px; }
:is(.page-home, .page-pricing, .page-contacts, .page-privacy) .section-heading { margin-bottom: 24px; }
:is(.page-home, .page-pricing, .page-contacts, .page-privacy) .section-heading > p { font-size: 14px; }
:is(.page-home, .page-pricing, .page-contacts, .page-privacy) .section .eyebrow { font-size: 12px; }
:is(.page-pricing, .page-contacts) .item-number, .page-home #services .item-number, .page-home #process .item-number { font-size: 13px; }
:is(.page-pricing, .page-contacts) .tag, .page-home #services .tag { font-size: 13px; }
:is(.page-home, .page-pricing, .page-contacts, .page-privacy) .footer-contacts p :is(a, span) { font-size: 13px; }
.page-pricing #pricing { padding-top: 32px; }
.page-pricing .package-list { font-size: 14px; }
.page-pricing .price-card .price-caption { font-size: 13px; }
.page-pricing .price-unit { font-size: 14px; }
.page-pricing .price-saving { font-size: 13px; }
.page-pricing .section-footnote { font-size: 14px; line-height: 1.7; max-width: 900px; }
.page-pricing .format-description { font-size: 14px; margin-bottom: 18px; }
.page-pricing .format-tabs { margin-bottom: 18px; }
.market-shortcut { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 14px; color: var(--muted); }
.market-shortcut:hover { color: var(--text); }
.market-overview { padding: 0; border: 1px solid var(--border); border-radius: var(--panel-radius); background: var(--surface); overflow: clip; }
.market-overview > summary { display: block; padding: 24px 28px; list-style: none; }
.market-overview > summary::-webkit-details-marker { display: none; }
.market-overview > summary:hover { background: var(--placeholder); }
.market-overview > summary:focus-visible { outline-offset: -5px; border-radius: var(--panel-radius); }
.market-overview h2 { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; letter-spacing: normal; }
.market-toggle-copy { display: grid; gap: 6px; }
.market-toggle-copy .eyebrow { margin: 0 0 3px; }
.market-toggle-title { font-size: 22px; letter-spacing: -.02em; }
.market-toggle-caption { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.market-toggle-icon { flex: 0 0 24px; width: 24px; height: 24px; transition: transform .24s ease; }
.market-overview[open] .market-toggle-icon { transform: rotate(180deg); }
.market-body { padding: 0 28px 28px; }
.market-checked { margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.market-checked time { display: block; margin-top: 4px; font-size: 13px; }
.market-overview .market-details { padding: 24px 0 0; border: 0; border-radius: 0; }
.market-overview .market-details > h3 { font-size: 18px; margin: 0 0 14px; }
.market-overview .market-content { padding-top: 0; }
.market-summary article > span { font-size: 13px; }
.market-table-wrap table { font-size: 13px; }
.market-table-wrap thead th { font-size: 12px; }
@media (max-width: 1000px) {
  :is(.page-home, .page-pricing, .page-contacts, .page-privacy) .section-heading { gap: 12px; }
}
@media (max-width: 480px) {
  :is(.page-pricing, .page-contacts, .page-privacy) .page-intro { padding-top: 24px; padding-bottom: 24px; }
  :is(.page-pricing, .page-contacts, .page-privacy) .breadcrumbs { margin-bottom: 20px; }
  :is(.page-pricing, .page-contacts, .page-privacy) .page-intro h1 { margin-bottom: 16px; }
  .market-overview > summary { padding: 22px; }
  .market-toggle-title { font-size: 20px; }
  .market-body { padding: 0 20px 22px; }
  .market-summary article { padding: 20px; }
}
