/* Макет: полноэкранное фото объекта со станцией, дальше одна светлая «бетонная» страница.
   Единственный акцент: оранжевый цвет штукатурной станции PFT, только на действиях и ценах.
   Скругления: 12px у всех блоков, кнопок и полей. Один шрифт: Geist. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/geist-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f3f4f3;
  --surface: #fbfbfa;
  --surface-2: #e8eae9;
  --ink: #17191c;
  --muted: #555b62;
  --line: #d9dcde;
  --accent: #c04b17;
  --accent-hover: #a8410f;
  --on-accent: #fbfbfa;
  --accent-tint: #f5e3d9;
  --photo-ink: #f4f5f4;
  --shadow: 0 1px 2px rgba(23, 25, 28, .05), 0 18px 40px -22px rgba(23, 25, 28, .28);

  --font: "Geist", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131518; --surface: #1b1e22; --surface-2: #252a2f; --ink: #ecedee; --muted: #a3a9b0; --line: #2f343a;
    --accent: #ee7a40; --accent-hover: #f58d58; --on-accent: #131518; --accent-tint: #3a251a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -22px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131518; --surface: #1b1e22; --surface-2: #252a2f; --ink: #ecedee; --muted: #a3a9b0; --line: #2f343a;
  --accent: #ee7a40; --accent-hover: #f58d58; --on-accent: #131518; --accent-tint: #3a251a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -22px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lead { color: var(--muted); font-size: 18px; max-width: 58ch; }
.sec { padding-block: var(--section); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { animation: none !important; transition: none !important; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius); border: 0;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-sm svg { width: 20px; height: 20px; }

/* ---------- Шапка ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text b { font-size: 16px; font-weight: 700; }
.brand-text span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top-cta { display: flex; align-items: center; gap: 18px; }
.top-phone { font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1099px) { .nav { display: none; } }
@media (max-width: 767px) { .top-cta { display: none; } .top .wrap { height: 60px; } }

/* ---------- Первый экран ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--photo-ink); min-height: min(84dvh, 760px); display: grid; align-items: end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 16, 18, .86) 0%, rgba(14, 16, 18, .68) 38%, rgba(14, 16, 18, .12) 72%, rgba(14, 16, 18, 0) 100%); }
.hero-inner { padding-block: clamp(48px, 8vw, 96px) clamp(96px, 11vw, 136px); display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(36px, 4.6vw, 56px); max-width: 15.5em; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(244, 245, 244, .88); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn-glass { background: rgba(244, 245, 244, .12); color: var(--photo-ink); box-shadow: inset 0 0 0 1px rgba(244, 245, 244, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(244, 245, 244, .2); }
@media (max-width: 767px) {
  .hero { min-height: 0; }
  .hero-img { object-position: 74% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 16, 18, .05) 0%, rgba(14, 16, 18, .2) 30%, rgba(14, 16, 18, .9) 64%, rgba(14, 16, 18, .94) 100%); }
  .hero-inner { padding-top: 300px; padding-bottom: 88px; gap: 16px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Цены (наезжают на фото) ---------- */
.offer { position: relative; z-index: 2; margin-top: -64px; }
.offer-panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr minmax(0, .9fr); }
.price { padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; align-content: start; }
.price + .price, .offer-side { border-left: 1px solid var(--line); }
.price-num { font-size: clamp(44px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-num span { font-size: .38em; font-weight: 600; letter-spacing: -0.01em; margin-left: .15em; }
.price.is-main .price-num { color: var(--accent); }
.price-name { font-weight: 600; font-size: 18px; }
.price-note { color: var(--muted); font-size: 15px; line-height: 1.5; }
.offer-side { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: space-between; justify-items: start; background: var(--accent-tint); border-radius: 0 var(--radius) var(--radius) 0; }
.offer-side p { font-size: 16px; line-height: 1.5; }
.offer-side strong { font-weight: 600; }
.extra { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; }
.extra-title { grid-column: 1 / -1; font-size: 15px; font-weight: 600; color: var(--muted); }
.extra div { display: grid; gap: 2px; }
.extra b { font-weight: 600; font-size: 16px; }
.extra span { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
  .offer { margin-top: -40px; }
  .offer-panel { grid-template-columns: 1fr 1fr; }
  .offer-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
  .extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 539px) {
  .offer-panel { grid-template-columns: minmax(0, 1fr); }
  .price + .price { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Калькулятор ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.calc-form { display: grid; gap: 28px; min-width: 0; }
.field { display: grid; gap: 8px; }
.field-label { font-size: 15px; font-weight: 600; }
.hint { font-size: 14px; color: var(--muted); line-height: 1.5; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: var(--radius); max-width: 440px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: grid; place-items: center; min-height: 44px; padding: 0 12px; border-radius: 9px; font-weight: 500; font-size: 15px; cursor: pointer; color: var(--muted); transition: background-color .2s, color .2s; text-align: center; }
.seg input:checked + label { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(23, 25, 28, .12); }
.seg input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 1px; }
.area-box { display: flex; align-items: stretch; max-width: 300px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.area-box:focus-within { border-color: var(--ink); outline: 3px solid var(--accent-tint); }
.area-box input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 700 34px/1 var(--font); letter-spacing: -0.02em; padding: 12px 16px; font-variant-numeric: tabular-nums; }
.area-box input:focus { outline: none; }
.area-box span { display: grid; place-items: center; padding: 0 16px; font-weight: 600; color: var(--muted); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; padding: 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s; }
.opt input { grid-row: span 3; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.opt b { font-weight: 600; }
.opt em { font-style: normal; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.opt span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.opt:has(input:checked) { border-color: var(--accent); }
@media (max-width: 539px) { .opts { grid-template-columns: minmax(0, 1fr); } }

.result { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); display: grid; gap: 20px; position: sticky; top: 92px; min-width: 0; }
.res-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.res-sum { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin-top: 6px; }
.res-rows { display: grid; gap: 10px; margin: 0; padding: 16px 0; border-block: 1px solid var(--line); }
.res-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.res-rows dt { color: var(--muted); }
.res-rows dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.res-note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.res-note.warn { color: var(--accent); font-weight: 500; }
.res-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.res-btns .btn-accent { grid-column: 1 / -1; }
@media (max-width: 899px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } .result { position: static; } }

/* ---------- Что входит ---------- */
.steps-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.steps-photo { position: sticky; top: 92px; margin: 0; }
.steps-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.steps-photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; }
.steps li::before { content: counter(st); grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); font-weight: 700; font-size: 15px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); font-size: 16px; }
.free { margin-top: 32px; padding: 18px 20px; background: var(--surface-2); border-radius: var(--radius); display: flex; gap: 14px; align-items: start; font-size: 16px; }
.free svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 1px; }
@media (max-width: 899px) {
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-photo { position: static; }
  .steps-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- Объекты ---------- */
.works { background: var(--surface); }
.masonry { columns: 3; column-gap: 14px; }
.ph { display: block; width: 100%; padding: 0; margin: 0 0 14px; border: 0; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.ph img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.ph:hover img { transform: scale(1.035); }
.works-more { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.works-more p { color: var(--muted); max-width: 46ch; }
@media (max-width: 899px) { .masonry { columns: 2; column-gap: 10px; } .ph { margin-bottom: 10px; } .ph:nth-child(9) { display: none; } }

dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(96vw, 960px); max-height: 94vh; overflow: visible; }
dialog.lb::backdrop { background: rgba(10, 11, 13, .9); }
dialog.lb img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
dialog.lb p { color: #e9eae9; font-size: 15px; text-align: center; padding-top: 12px; }
dialog.lb button { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; min-height: 44px; padding: 0 16px; border-radius: var(--radius); border: 0; background: #f4f5f4; color: #17191c; font: 600 15px/1 var(--font); cursor: pointer; }

/* ---------- О бригаде (бенто) ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px; }
.tile { border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 10px; align-content: start; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.tile-photo { grid-row: span 2; display: block; position: relative; padding: 0; border: 0; overflow: hidden; background: var(--surface-2); min-height: 340px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 32% 50%; }
.tile-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tile-big { font-size: clamp(34px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile-big small { display: block; margin-top: 8px; font-size: .42em; font-weight: 600; letter-spacing: -0.01em; }
.tile p:not(.tile-big) { color: var(--muted); font-size: 16px; }
.tile-accent p:not(.tile-big) { color: var(--on-accent); opacity: .92; }
@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-photo { grid-column: 1 / -1; grid-row: auto; }
  .tile-photo { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 539px) { .bento { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px clamp(28px, 5vw, 64px); margin: 0; }
.faq div { display: grid; gap: 8px; align-content: start; }
.faq dt { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; }
.faq dd { margin: 0; color: var(--muted); }
@media (max-width: 767px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Контакты ---------- */
.contact-panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-text { display: grid; gap: 16px; }
.big-phone { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; text-decoration: none; font-variant-numeric: tabular-nums; margin-top: 8px; width: fit-content; }
.big-phone:hover { color: var(--accent); }
.contact-btns { display: grid; gap: 10px; }
.contact-btns .btn { justify-content: flex-start; min-height: 58px; font-size: 17px; }
.geo { margin-top: clamp(28px, 4vw, 40px); color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 900px; }
.geo b { color: var(--ink); font-weight: 600; }
@media (max-width: 899px) { .contact-panel { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Нижняя панель на телефоне ---------- */
.dock { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .dock { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
  .dock .btn { min-height: 56px; padding: 0 4px; flex-direction: column; gap: 4px; font-size: 12px; }
  .dock .btn svg { width: 24px; height: 24px; }
}

.toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 40;
  width: max-content; max-width: min(92vw, 440px); background: var(--ink); color: var(--bg); padding: 14px 18px; border-radius: var(--radius); font-size: 15px; line-height: 1.45; box-shadow: var(--shadow); }
@media (min-width: 768px) { .toast { bottom: 28px; } }
/* ---------- Внутренние страницы ---------- */
.sec.tight { padding-block: clamp(28px, 4vw, 48px); }
.page-hero { padding-block: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 48px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.page-hero.no-photo .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 52px); max-width: 18em; }
.page-hero .lead { margin-top: 16px; }
.page-hero .hero-cta { margin-top: 26px; }
.page-hero figure { margin: 0; }
.page-hero figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.page-hero .meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
@media (max-width: 899px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr); } }

.price-num small { font-size: .38em; font-weight: 600; letter-spacing: 0; margin-right: .2em; }
.offer-side a:not(.btn) { color: var(--accent); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.two-col .sec-head { margin-bottom: 0; }
@media (max-width: 899px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.towns-title { font-weight: 600; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.towns li { padding: 8px 14px; background: var(--surface-2); border-radius: var(--radius); font-size: 15px; }
.near { margin-top: 18px; color: var(--muted); font-size: 15px; }
.near a { color: var(--ink); text-underline-offset: 3px; }

.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.link-card { display: grid; gap: 6px; align-content: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s var(--ease); }
.link-card:hover { border-color: var(--ink); }
.link-card b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.link-card span { color: var(--muted); font-size: 15px; line-height: 1.45; }

.price-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pgroup { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 14px; }
.pgroup h2 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 4px; }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.prow span { color: var(--muted); }
.prow b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 899px) { .price-groups { grid-template-columns: minmax(0, 1fr); } }

.prose > * { max-width: 780px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 44px 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose b { font-weight: 600; }
.note { background: var(--accent-tint); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; }
.note p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.prose table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 16px 10px 0; vertical-align: top; }
.prose thead th { border-bottom: 2px solid var(--ink); font-weight: 600; }
.prose tbody tr + tr td { border-top: 1px solid var(--line); }

/* ---------- Подвал ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 15px; }
.foot-grid { padding-block: 48px 32px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.foot-grid a { display: block; padding: 3px 0; text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid p { margin-bottom: 10px; max-width: 34ch; }
.foot-bottom { padding-block: 18px 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 539px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.geo a { color: var(--ink); text-underline-offset: 3px; }

