/* Тракторы DASIN — стили сайта (по утверждённому макету) */
:root {
  --ink: #16191C;
  --ink-2: #3D444A;
  --muted: #5A6168;
  --line: #D9DDDB;
  --line-soft: #EEF0EF;
  --ground: #F1F3F2;
  --paper: #FFFFFF;
  --accent: #F5B800;
  --accent-soft: #FFF8DB;
  --dark: #16191C;
  --darker: #0E1012;
  --on-dark: #C9CED2;
  --on-dark-2: #A9B0B5;
  --warn: #8A3A12;
  --warn-bg: #FFF1E0;
  --warn-line: #F0B98A;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: #6B5200; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; text-transform: uppercase; line-height: 1.1; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px;
  border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #E2AA00; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: var(--line); background: var(--paper); color: var(--ink); }

/* шапка */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-emblem { height: 46px; width: auto; flex-shrink: 0; }
.footer-emblem { height: 32px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: var(--display); font-weight: 600; font-size: 21px; text-transform: uppercase; letter-spacing: .02em; }
.logo-sub { font-size: 13px; color: var(--muted); }
.main-nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-weight: 500; font-size: 15px; }
.main-nav a { text-decoration: none; padding: 12px 0; }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.phone { font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }

/* общие секции */
.section { padding: 72px 0; }
.section-tight { padding: 32px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.more-link { font-weight: 600; padding: 10px 0; }
.page-title { font-size: clamp(32px, 4vw, 50px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }

/* первый экран */
.hero { background: var(--dark); color: #fff; }
.hero .container { display: grid; gap: 48px 56px; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; margin: 18px 0; }
.hero-lead { font-size: 19px; line-height: 1.55; color: var(--on-dark); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.perks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: 15px; color: var(--on-dark); list-style: none; padding: 0; }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks li::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.example { background: var(--paper); color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.example img { width: 100%; height: 270px; object-fit: contain; padding: 16px 16px 0; background: #fff; }
.example-body { padding: 18px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.example-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.example-title strong { font-family: var(--display); font-size: 26px; font-weight: 600; }
.row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.row.sub { color: var(--ink-2); }
.total-row { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.total-row span:first-child { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.total-row strong { font-family: var(--display); font-weight: 600; font-size: 34px; }

/* категории и карточки */
.cat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.cat-card:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.cat-card img { width: 100%; height: 190px; object-fit: contain; padding: 14px 14px 0; background: #fff; }
.cat-card-body { padding: 16px 20px 20px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 6px; }
.cat-card-body strong { font-family: var(--display); font-weight: 600; font-size: 23px; text-transform: uppercase; line-height: 1.15; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-photo { display: block; background: #fff; }
.card-photo img { width: 100%; height: 220px; object-fit: contain; padding: 16px 16px 0; }
.card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; border-top: 1px solid var(--line-soft); }
.card-tag { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card-name { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.1; text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 14px; background: var(--ground); padding: 4px 10px; border-radius: 3px; }
.card-price { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.card-price strong { font-family: var(--display); font-weight: 600; font-size: 28px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.card-actions .btn { flex: 1 1 120px; }

.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.step { background: var(--paper); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step-num { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; }
.step-num::before { content: ''; width: 14px; height: 14px; background: var(--accent); border-radius: 2px; }
.step strong { font-size: 20px; }
.step p { color: var(--ink-2); }
.docs-box { margin-top: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; display: grid; gap: 18px 40px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.docs-box strong { display: block; font-size: 17px; margin-bottom: 4px; }
.docs-box p { color: var(--ink-2); font-size: 15px; }

.dark-band { background: var(--dark); color: #fff; }
.dark-band .container { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); padding-top: 72px; padding-bottom: 72px; }
.dark-band h2 { font-size: 34px; margin-bottom: 18px; }
.dark-band p { color: var(--on-dark); font-size: 17px; line-height: 1.6; margin-bottom: 12px; }
.contacts { display: grid; gap: 20px 32px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.contacts dt { font-size: 13px; color: var(--on-dark-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contacts dd { margin: 0; font-size: 18px; font-weight: 600; }
.contacts a { color: #fff; text-decoration: none; display: block; }
.contacts a.secondary { color: var(--on-dark); font-weight: 400; font-size: 16px; }

.site-footer { background: var(--darker); color: var(--on-dark-2); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 32px; padding-top: 18px; padding-bottom: 18px; }
.site-footer .brand { display: flex; align-items: center; gap: 12px; }
.site-footer a { color: var(--on-dark); }

/* каталог */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 16px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 4px; border: 2px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 600; font-size: 15px; }
.tab span { font-weight: 500; font-size: 13px; opacity: .75; }
.tab[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 20px; margin-bottom: 24px; }
.filters label, .filters fieldset { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); flex: 1 1 170px; border: 0; padding: 0; margin: 0; }
.filters legend { padding: 0; margin-bottom: 6px; }
.filters select { font: inherit; font-size: 15px; min-height: 44px; padding: 0 12px; border: 1px solid #B9C0C4; border-radius: 4px; background: #fff; color: var(--ink); }
.seg { display: flex; border: 1px solid #B9C0C4; border-radius: 4px; overflow: hidden; }
.seg label { flex: 1; position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 42px; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: -3px; }
.empty { background: var(--paper); border: 1px dashed #B9C0C4; border-radius: var(--radius); padding: 48px 24px; text-align: center; }
.empty strong { display: block; font-family: var(--display); font-size: 24px; text-transform: uppercase; margin-bottom: 6px; }

/* страница модели */
.model-top { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); align-items: start; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { background: #fff; border: 2px solid var(--line); border-radius: 4px; padding: 6px; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.thumb img { height: 76px; object-fit: contain; }
.thumb[aria-current="true"] { border-color: var(--ink); }
.model-info { display: flex; flex-direction: column; gap: 18px; }
.model-info h1 { font-size: clamp(38px, 4.4vw, 56px); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 13px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); padding: 5px 10px; border-radius: 3px; }
.variant-list { display: flex; flex-direction: column; gap: 8px; }
.variant { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; }
.variant[aria-current="true"] { border-color: var(--ink); background: var(--accent-soft); }
.variant .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.variant[aria-current="true"] .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.variant-name { flex-grow: 1; display: flex; flex-direction: column; }
.variant-name strong { font-size: 16px; }
.variant-name span { font-size: 13px; color: var(--muted); }
.variant-price { font-weight: 700; white-space: nowrap; }
.price-box { background: var(--dark); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.price-box .caption { font-size: 14px; color: var(--on-dark); font-weight: 600; }
.price-box .big { font-family: var(--display); font-weight: 600; font-size: 48px; line-height: 1; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { padding: 9px 0; text-align: right; }
.price-table th:first-child { text-align: left; font-weight: 500; }
.price-table thead th { font-size: 13px; color: var(--on-dark-2); font-weight: 600; }
.price-table tbody tr { border-top: 1px solid #2E3338; }
.price-table td { font-weight: 700; white-space: nowrap; }
.price-box .note { font-size: 14px; color: var(--on-dark); line-height: 1.5; }
.price-box .note a { color: #fff; font-weight: 600; }
.two-col { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); align-items: start; }
.two-col h2 { font-size: 30px; margin-bottom: 16px; }
.specs { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 6px 24px; }
.specs div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 11px 0; border-bottom: 1px solid #E3E7E5; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.info-box { background: var(--paper); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.info-box strong { display: block; font-size: 17px; }
.info-box p { color: var(--ink-2); font-size: 15px; }
.opt-group-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 24px 0 10px; }
.opt-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.opt-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.opt-card img { width: 72px; height: 54px; object-fit: contain; flex-shrink: 0; }
.opt-card .name { flex-grow: 1; font-size: 15px; font-weight: 600; line-height: 1.35; }
.opt-card .name small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.opt-card .price { font-weight: 700; white-space: nowrap; }

/* конструктор */
.cfg { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.cfg-steps { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 34px; }
.cfg-aside { flex: 1 1 390px; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
@media (min-width: 980px) { .cfg-aside { position: sticky; top: 16px; } }
.cfg h2 { font-family: var(--body); font-size: 19px; font-weight: 700; text-transform: none; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cfg h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pill { font-size: 14px; font-weight: 600; min-height: 38px; padding: 0 14px; border-radius: 19px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choice { text-align: left; cursor: pointer; border-radius: var(--radius); padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); }
.choice strong { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.15; }
.choice span { font-size: 13px; color: var(--muted); }
.choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice[aria-pressed="true"] span { color: var(--on-dark); }
.choice:disabled { background: #F6F7F6; border-color: #E3E7E5; color: #646B71; cursor: not-allowed; }
.choice:disabled span { color: var(--warn); }
.choice.soft[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink); }
.choice.soft[aria-pressed="true"] span { color: var(--muted); }
.var-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.var-btn { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--paper); text-align: left; cursor: pointer; color: var(--ink); }
.var-btn img { width: 76px; height: 58px; object-fit: contain; background: #fff; border-radius: 4px; flex-shrink: 0; }
.var-btn .t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.var-btn .t strong { font-size: 15px; }
.var-btn .t span { font-size: 13px; color: var(--muted); }
.var-btn .t b { font-size: 15px; }
.var-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--accent-soft); }
.duo { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 10px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; font-size: 14px; color: #6B3410; }
.notice button { font-size: 13px; font-weight: 600; background: transparent; border: 1px solid #C98A5A; color: #6B3410; border-radius: 4px; min-height: 34px; padding: 0 10px; cursor: pointer; }
.opt-btn { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 8px 12px; min-height: 58px; border-radius: var(--radius); border: 2px solid var(--line); background: var(--paper); cursor: pointer; color: var(--ink); }
.opt-btn .box { width: 22px; height: 22px; border-radius: 4px; border: 2px solid var(--ink); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.opt-btn img { width: 52px; height: 40px; object-fit: contain; flex-shrink: 0; }
.opt-btn .t { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.opt-btn .t small { font-size: 12px; font-weight: 500; color: var(--warn); }
.opt-btn .p { font-size: 14px; font-weight: 700; white-space: nowrap; }
.opt-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--accent-soft); }
.opt-btn[aria-pressed="true"] .box { background: var(--ink); }
.opt-btn[aria-pressed="true"] .box::after { content: ''; width: 10px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.opt-btn:disabled { background: #F6F7F6; border-color: #E3E7E5; color: #646B71; cursor: not-allowed; }
.opt-btn:disabled .box { border-color: #C5CBCF; }
.opt-list { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.aside-photo { background: #fff; border-bottom: 1px solid var(--line-soft); }
.aside-photo img { width: 100%; height: 300px; object-fit: contain; padding: 8px 10px; }
.aside-head { background: var(--dark); color: #fff; padding: 16px 22px; }
.aside-head strong { display: block; font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.1; }
.aside-head span { font-size: 14px; color: var(--on-dark); }
.aside-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.lines { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #E3E7E5; padding-top: 12px; }
.lines-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.line { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.line span { flex-grow: 1; min-width: 0; }
.line b { white-space: nowrap; }
.line button { width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--line); background: #fff; border-radius: 4px; cursor: pointer; font-size: 16px; line-height: 1; color: var(--ink-2); }
.cfg-total { border-top: 2px solid var(--ink); padding-top: 14px; }
.cfg-total .total-row { border: 0; margin: 0; padding: 0; }
.cfg-total .total-row strong { font-size: 38px; }
.formula { font-size: 13px; color: var(--muted); text-align: right; }
.server-check { font-size: 12px; color: var(--muted); text-align: right; min-height: 16px; }
.server-check.err { color: var(--warn); font-weight: 600; }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }
.fine.warn { color: var(--warn); }

/* страница ошибки/текста */
.prose { background: var(--paper); border-radius: var(--radius); padding: 32px; max-width: 820px; }
.prose p + p { margin-top: 12px; }

/* нижняя панель итога в конструкторе на телефоне */
.cfg-mobilebar { display: none; }
@media (max-width: 979px) {
  .cfg-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--dark); color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
  .cfg-mobilebar span { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--on-dark); }
  .cfg-mobilebar strong { font-family: var(--display); font-weight: 600; font-size: 26px; color: #fff; letter-spacing: 0; text-transform: none; line-height: 1.1; }
  .cfg-page { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .site-header .container { gap: 4px 16px; padding-top: 10px; padding-bottom: 6px; }
  .logo-emblem { height: 40px; }
  .logo-name { font-size: 18px; }
  .logo-sub { display: none; }
  .main-nav { gap: 0 16px; font-size: 14px; order: 3; width: 100%; }
  .main-nav a { padding: 8px 0; }
  .header-actions .btn { display: none; }
  .example img { height: 210px; }
  .price-box .big { font-size: 40px; }
}
