/*
Theme Name: Сила Бухгалтерии
Theme URI: https://xn--80aacilnfaue0dduk4a.xn--p1ai
Author: ИП Кривошеин А.С.
Description: Тема сайта ООО «Сила Бухгалтерии».
Version: 1.9.31
Text Domain: silabuh
*/

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-500.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 {
  --ink: #173028;
  --ink-soft: #2a4038;
  --paper: #f2f4f0;
  --mist: #e4eae3;
  --line: #c5d0c8;
  --accent: #2a6b4a;
  --accent-hover: #1f5238;
  --muted: #5c6b64;
  --surface: #f7f9f6;
  --on-accent: #ffffff;
  --danger: #8a2b2b;
  --notice: #dceadf;
  --header-bg: color-mix(in srgb, var(--paper) 88%, white);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(23, 48, 40, 0.04), 0 16px 36px rgba(23, 48, 40, 0.06);
  --header: 64px;
  --wrap: 1200px;
  --gutter: 40px;
  --ease: 0.22s ease;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}
html[data-theme="light"] {
  color-scheme: light;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e7eee9;
  --ink-soft: #c5d2cb;
  --paper: #141c18;
  --mist: #1c2621;
  --line: #314039;
  --accent: #18724a;
  --accent-hover: #22a066;
  --muted: #9aada3;
  --surface: #1a2420;
  --on-accent: #ffffff;
  --danger: #e8a0a0;
  --notice: #24352c;
  --header-bg: color-mix(in srgb, var(--paper) 90%, black);
  --shadow: 0 1px 0 rgba(8, 14, 12, 0.35), 0 16px 36px rgba(8, 14, 12, 0.42);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    color-scheme: dark;
    --ink: #e7eee9;
    --ink-soft: #c5d2cb;
    --paper: #141c18;
    --mist: #1c2621;
    --line: #314039;
    --accent: #18724a;
    --accent-hover: #22a066;
    --muted: #9aada3;
    --surface: #1a2420;
    --on-accent: #ffffff;
    --danger: #e8a0a0;
    --notice: #24352c;
    --header-bg: color-mix(in srgb, var(--paper) 90%, black);
    --shadow: 0 1px 0 rgba(8, 14, 12, 0.35), 0 16px 36px rgba(8, 14, 12, 0.42);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-synthesis: none;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
img,
picture img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3 {
  letter-spacing: -0.03em;
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.15;
}
p { text-wrap: pretty; }
.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.slim { width: min(640px, calc(100% - 40px)); }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 90; }
.sr, .hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

.sum,
.hero-sum,
.price-cell b,
.price-lg,
.svc-price,
.header-phone {
  font-family: "IBM Plex Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  padding-top: var(--safe-top);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); max-height: 80px; gap: 20px;
  flex-wrap: nowrap;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}
.header-tools {
  display: flex; align-items: center; gap: 14px; flex-shrink: 0;
}
.theme-switch {
  display: flex; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); overflow: hidden; flex-shrink: 0;
}
.theme-switch button {
  appearance: none; border: 0; background: transparent;
  color: var(--muted); font: 600 0.76rem/1 Manrope, sans-serif;
  padding: 0 11px; min-height: 44px; min-width: 44px; cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}
.theme-switch button[aria-checked="true"],
html[data-theme-mode="auto"] .theme-switch button[data-theme-set="auto"],
html[data-theme-mode="light"] .theme-switch button[data-theme-set="light"],
html[data-theme-mode="dark"] .theme-switch button[data-theme-set="dark"] {
  background: var(--accent); color: var(--on-accent);
}
.theme-switch button:hover:not([aria-checked="true"]) { color: var(--ink); }
.theme-switch button:active,
.theme-cycle:active { transform: scale(0.98); }
.theme-cycle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font: 600 0.76rem/1 Manrope, sans-serif;
  padding: 0 12px;
  min-height: 44px;
  min-width: 52px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
.brand img { width: 40px; height: 40px; object-fit: contain; background: transparent; }
.brand strong { display: block; font-size: 0.95rem; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.04em; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav .menu {
  display: flex; gap: 22px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav .current-menu-item > a { color: var(--accent); }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.9rem;
  white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px;
  transition: color var(--ease);
}
.nav a[aria-current="page"], .nav a:hover { color: var(--accent); }
.header-phone {
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 0.92rem;
}
.header-socials { display: flex; align-items: center; gap: 8px; }
.header-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; color: var(--ink); text-decoration: none;
}
.header-socials a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.burger {
  display: none; width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius-sm);
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 12px;
}
.burger span:not(.sr) {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
}

.hero {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: calc(100dvh - var(--header)); align-items: stretch;
}
.hero-copy {
  padding: 48px clamp(20px, 3.5vw, 48px) 56px clamp(20px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: flex-start;
  max-width: 40rem;
  min-width: 0;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 3.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.hero-price {
  margin: 22px 0 32px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: min(34rem, 100%);
}
.hero-sum {
  display: block;
  font-size: clamp(1.42rem, 2.1vw, 1.78rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.hero-price small {
  display: block;
  margin-top: 8px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  font-variant-numeric: normal;
  font-feature-settings: normal;
  letter-spacing: 0.01em;
  white-space: normal;
  color: var(--muted);
  line-height: 1.45;
}
.hero p.lead { margin: 0 0 28px; max-width: 38ch; color: var(--ink-soft); font-size: 1.05rem; }
.hero-media {
  position: relative; min-height: 420px; overflow: hidden;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 18%;
  pointer-events: none; background: linear-gradient(90deg, var(--paper), transparent);
}
.hero-media picture,
.hero-media img {
  height: 100%; width: 100%; object-fit: cover; object-position: center;
  display: block;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm); text-decoration: none;
  font-weight: 700; border: 1px solid transparent; cursor: pointer;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
  font-family: inherit; font-size: 0.94rem; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.section { padding: 80px 0 104px; }
.section h1, .section h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 2.5vw, 2.35rem); }
.section .intro { margin: 0 0 36px; color: var(--muted); max-width: 54ch; font-size: 1.02rem; }
.band { background: var(--mist); }
.after { margin-top: 32px; }
.text-link { font-weight: 700; text-decoration: none; }

.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.mosaic .tile:first-child,
.tile-lead { grid-row: span 2; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; color: #f3f7f4; display: flex; align-items: flex-end;
  min-height: 0;
  transition: transform var(--ease);
}
.tile:hover { color: #f3f7f4; }
.tile picture { position: absolute; inset: 0; display: block; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.tile:hover img { transform: scale(1.03); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(23, 48, 40, 0.86));
}
.tile span { position: relative; z-index: 1; padding: 22px 24px; }
.tile b { display: block; font-size: 1.22rem; letter-spacing: -0.02em; }
.tile small { display: block; color: #d5e4db; margin-top: 6px; max-width: 34ch; font-size: 0.9rem; line-height: 1.4; text-wrap: pretty; }

.price-band {
  display: block;
  background: var(--mist);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: auto;
  border-top: 1px solid var(--line);
}
.price-cell {
  min-width: 0;
  padding: 28px 8px 28px 0;
}
.price-grid .price-cell:first-child,
.price-cell-lead {
  grid-row: span 2;
  padding: 28px 40px 28px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-grid .price-cell:not(:first-child) {
  border-bottom: 1px solid var(--line);
  padding: 28px 0 28px 36px;
}
.price-grid .price-cell:last-child {
  border-bottom: 0;
}
.price-cell b {
  display: block;
  font-size: 1.38rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  transition: color var(--ease);
}
.price-grid .price-cell:first-child b,
.price-cell-lead b {
  font-size: clamp(1.55rem, 2vw, 1.82rem);
}
.price-cell span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  max-width: 36ch;
  white-space: normal;
}
.price-cell a,
a.price-cell {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.price-cell:hover {
  color: inherit;
}
.price-cell a:hover b,
a.price-cell:hover b {
  color: var(--accent);
}

.ledger { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ledger a {
  display: grid; grid-template-columns: minmax(0, 1.7fr) auto;
  gap: 24px; padding: 20px 0; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line); align-items: baseline;
  transition: color var(--ease);
}
.ledger a:hover .svc-name { color: var(--accent); }
.svc-name { font-weight: 700; letter-spacing: -0.015em; }
.svc-cat { display: block; color: var(--muted); font-size: 0.84rem; font-weight: 400; margin-top: 4px; }
.svc-price {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.split picture { display: block; }
.split img {
  width: 100%; height: 440px; object-fit: cover; object-position: center;
  border-radius: var(--radius);
}
.split p { max-width: 54ch; color: var(--ink-soft); }

.bleed {
  position: relative; isolation: isolate; overflow: hidden; padding: 0;
  min-height: max(320px, 44vh);
}
.section.bleed { padding: 0; }
.bleed picture,
.bleed > img,
.bleed picture img {
  display: block; width: 100%;
  min-height: max(320px, 44vh); height: max(320px, 44vh);
  object-fit: cover; object-position: center;
}
.bleed::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 38%, rgba(23, 48, 40, 0.78));
}
.bleed-copy {
  position: absolute; inset: auto 0 0; z-index: 1;
  padding: 32px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 44px;
  color: #f3f7f4; max-width: none;
}
.bleed-copy h2 { margin: 0 0 10px; color: #f3f7f4; }
.bleed-copy p { margin: 0 0 20px; max-width: 48ch; color: #f3f7f4; }
.bleed-copy .btn-ghost {
  color: #f3f7f4; border-color: color-mix(in srgb, #f3f7f4 45%, transparent);
}
.bleed-copy .btn-ghost:hover { border-color: #f3f7f4; color: #f3f7f4; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 16px; }
.fact { padding: 20px 0 0; border-top: 1px solid var(--line); }
.fact b { display: block; font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.fact span { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }

.news-feature {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start;
}
.news-feature .news-card {
  justify-content: flex-start;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 0 32px 0 0;
  min-height: 0;
}
.news-feature .news-card:hover { border-color: var(--line); color: inherit; }
.news-feature .news-card h3,
.news-feature .news-card:first-child h3 {
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  line-height: 1.28;
}
.news-feature .news-list { border-top: 0; align-content: start; padding: 0; }
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.news-grid .news-card:first-child { grid-row: span 2; padding: 28px; }
.news-card {
  display: flex; flex-direction: column; justify-content: flex-start;
  text-decoration: none; color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  min-height: 0;
  transition: border-color var(--ease), background var(--ease);
}
.news-card:hover { border-color: var(--accent); color: inherit; }
.news-card:first-child h3 { font-size: 1.32rem; }
.news-card h3 { margin: 0; font-size: 1.06rem; line-height: 1.38; letter-spacing: -0.02em; }

.news-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline;
  margin: 0 0 8px;
  color: var(--muted);
  font-family: "IBM Plex Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  font-weight: 500;
}
.news-meta span {
  position: relative;
  padding-left: 14px;
}
.news-meta span::before {
  content: "";
  position: absolute; left: 0; top: 0.45em;
  width: 6px; height: 1px; background: var(--line);
}

.news-list { display: grid; border-top: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 16px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
}
.news-list a.has-thumb {
  grid-template-columns: 7.6rem minmax(0, 1fr);
  align-items: center;
}
.news-list a:hover { color: var(--accent); }
.news-list .news-thumb {
  width: 7.6rem; height: 4.8rem; object-fit: contain; object-position: center;
  display: block; background: var(--mist); border-radius: var(--radius-sm);
}
.news-list-copy { display: grid; gap: 4px; min-width: 0; }
.news-list-copy .news-meta { margin: 0; }
.news-list-title { display: block; font-weight: 600; }

.news-card time { display: block; margin-bottom: 10px; }
.news-card h2 { margin: 0; font-size: clamp(1.28rem, 2vw, 1.62rem); line-height: 1.28; }
.news-card .news-thumb {
  width: 100%; height: auto; max-height: min(70vh, 640px);
  object-fit: contain; object-position: center;
  margin: 0 0 16px; display: block;
  background: var(--mist);
}
.news-cover {
  width: 100%; height: auto; max-height: min(80vh, 720px);
  object-fit: contain; object-position: center;
  display: block; margin: 8px 0 28px;
  background: var(--mist);
}
.news-list-full { grid-column: 1 / -1; }
.news-feature:has(.news-list-full):not(:has(.news-card)) {
  grid-template-columns: 1fr;
}

.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 45; pointer-events: none;
}
.read-progress span {
  display: block; height: 100%; width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
@supports (animation-timeline: scroll()) {
  .read-progress span {
    animation: silabuh-read linear;
    animation-timeline: scroll();
  }
}
@keyframes silabuh-read {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .read-progress span { animation: none; transform: none; opacity: 0; }
}

.news-pager-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px;
}
.news-pager-item {
  display: grid; gap: 6px; text-decoration: none; color: inherit;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.news-pager-item span {
  color: var(--muted); font-size: 0.82rem; font-family: "IBM Plex Sans", sans-serif;
}
.news-pager-item strong { font-size: 1.02rem; line-height: 1.35; letter-spacing: -0.02em; }
.news-pager-next { text-align: right; }
.news-pager-item:hover strong { color: var(--accent); }

.news-more {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px;
}
.news-more a {
  display: grid; gap: 10px; text-decoration: none; color: inherit;
}
.news-more .news-thumb {
  width: 100%; height: auto; max-height: 280px;
  object-fit: contain; object-position: center; display: block;
  background: var(--mist);
}
.news-more .news-meta { margin: 0; }
.news-more .news-list-title { font-weight: 600; line-height: 1.35; letter-spacing: -0.02em; }
.news-more a:hover .news-list-title { color: var(--accent); }
.pager {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
}
.pager span { text-align: center; color: var(--muted); font-size: 0.92rem; }
.pager a:first-child { justify-self: start; }
.pager a:last-child { justify-self: end; }
.pager a { font-weight: 600; text-decoration: none; }
.news-article .kicker { margin-bottom: 8px; }
.news-article h1 { margin: 0 0 22px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.news-subscribe {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.news-subscribe a {
  font-weight: 700;
  text-decoration: none;
}
.news-subscribe a:hover { color: var(--accent); }
.subscribe-page { padding-top: 56px; }
.subscribe-wrap { display: grid; gap: 8px; justify-items: stretch; }
.subscribe-wrap .intro { margin-bottom: 20px; }
.subscribe-brand {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 8px; font-weight: 700;
}
.subscribe-brand img { width: 40px; height: 40px; border-radius: 10px; }
.subscribe-channels { display: grid; gap: 12px; margin-top: 8px; }
.subscribe-channel {
  display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.subscribe-channel:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.subscribe-channel .ico-wrap { background: var(--notice); }
.subscribe-home { margin: 28px 0 0; }
.subscribe-home a { font-weight: 600; text-decoration: none; }
body.subscribe-app .site-header,
body.subscribe-app .site-footer,
body.subscribe-app .skip,
body.subscribe-app #max-button-wrapper,
body.subscribe-app .theme-switch,
body.subscribe-app .theme-cycle {
  display: none !important;
}
body.subscribe-app #content { min-height: 100dvh; }
body.subscribe-app .subscribe-page {
  padding: 28px 0 40px;
}
.entry { font-size: 1.02rem; line-height: 1.7; }
.entry p { margin: 0 0 14px; }
.item-desc { margin: 0 0 22px; max-width: 62ch; color: var(--ink-soft); }
.item-copy { padding-top: 0; }
.item-desc ul,
.item-desc ol,
.legal ul,
.entry ul,
.entry ol {
  margin: 0 0 16px;
  padding-left: 1.15em;
}
.item-desc li,
.legal li,
.entry li { margin: 0 0 6px; }
.item-desc h2,
.item-desc h3,
.legal h2,
.entry h2 {
  font-size: 1.18rem;
  margin: 1.35em 0 0.45em;
  letter-spacing: -0.02em;
}
.item-desc table,
.entry table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0 0 18px;
}
.item-desc th,
.item-desc td,
.entry th,
.entry td {
  border-bottom: 1px solid var(--line);
  padding: 8px 10px 8px 0;
  text-align: left;
  vertical-align: top;
}
.legal { max-width: 68ch; }
.legal h1 { margin-bottom: 18px; }
.legal p { margin: 0 0 12px; color: var(--ink-soft); }
.entry img,
.item-desc img {
  border-radius: var(--radius-sm);
  margin: 8px 0 18px;
  background: var(--mist);
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.shot,
picture.shot,
img.shot { background: var(--mist); }
.item-layout img.shot,
.prod img.shot,
.item-layout .shot img,
.prod .shot img {
  object-fit: contain;
  background: var(--mist);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  border-radius: var(--radius-sm); padding: 0 14px; font: 600 0.84rem/1 Manrope, sans-serif;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  display: inline-flex; align-items: center;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.chip.is-on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cat-block { margin-bottom: 44px; }
.cat-block h2 { font-size: 1.28rem; margin: 0 0 12px; }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.prod {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none; color: inherit;
  min-height: 0;
  height: auto;
  transition: border-color var(--ease);
}
.prod:hover { border-color: var(--accent); color: inherit; }
.prod:hover .svc-name { color: var(--accent); }
.prod picture { display: block; width: 100%; }
.prod img { width: 100%; height: 176px; object-fit: contain; border-radius: var(--radius-sm); background: var(--mist); }
.prod-lead { grid-row: auto; }
.prod-lead img { height: 176px; }
.prod .svc-name { flex: 1; }
.prod .svc-price { margin-top: auto; padding-top: 8px; }

.item-layout {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px; align-items: center;
}
.item-layout picture { display: block; width: 100%; }
.item-layout img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.item-layout img.shot,
.item-layout .shot img { object-fit: contain; }
.crumb { margin: 0 0 10px; }
.crumb a { text-decoration: none; font-weight: 600; }
.kicker { margin: 0 0 10px; color: var(--muted); font-size: 0.88rem; }
.price-lg {
  font-size: clamp(1.45rem, 2vw, 1.75rem); font-weight: 500;
  margin: 14px 0 20px; display: inline-block;
}

.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 40px; }
.contact-card {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;
}
.contact-card h1 { color: var(--ink); margin-top: 0; }
.contact-card a { color: var(--accent); }
.contact-card p { margin: 0 0 16px; }
.contact-card a[href^="tel"] {
  font-family: "IBM Plex Sans", sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-size: 1.35rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
}
.contact-card a[href^="tel"]:hover { color: var(--accent); }
.contact-card picture { display: block; }
.contact-card picture,
.contact-card img { display: block; }
.contact-card img { border-radius: var(--radius-sm); margin-top: 12px; height: 200px; width: 100%; object-fit: cover; }
.ico { display: block; flex-shrink: 0; }
.ico-wrap {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--accent);
  display: grid; place-items: center;
  transition: background var(--ease), color var(--ease);
}
.msg-list,
.contact-card .contact-line {
  display: grid;
  gap: 6px;
}
.msg-list { margin: 8px 0 16px; }
.msg-list a,
.contact-card a.contact-line,
.contact-card p.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.contact-card p.contact-line { align-items: flex-start; padding-top: 2px; font-weight: 500; color: var(--ink-soft); }
.contact-card p.contact-line .ico-wrap { margin-top: 2px; }
.msg-list a:hover,
.contact-card a.contact-line:hover { color: var(--accent); }
.msg-list a:hover .ico-wrap,
.contact-card a.contact-line:hover .ico-wrap {
  background: var(--accent);
  color: var(--on-accent);
}
.form { display: grid; gap: 12px; }
.form label { font-weight: 600; font-size: 0.92rem; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; font: inherit; background: var(--surface); color: var(--ink);
}
.form input::placeholder,
.form textarea::placeholder { color: var(--muted); opacity: 1; }
.form .check { display: flex; gap: 8px; align-items: center; font-weight: 400; min-height: 44px; }
.form .check input { width: 22px; height: 22px; min-width: 22px; margin-top: 0; }
.form .btn { width: 100%; line-height: 1; }
.form .smart-captcha {
  min-height: 100px;
  width: 100%;
  max-width: 100%;
}
.form-error { color: var(--danger); }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--notice); color: var(--ink); }

.map-block { background: var(--mist); }
.map-wrap { position: relative; height: min(52vh, 480px); min-height: 340px; background: var(--mist); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px 16px calc(16px + var(--safe-bottom));
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: pan-y;
}
.map-shield[hidden] { display: none !important; }
.map-shield span {
  display: inline-block;
  max-width: min(100%, 280px);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  pointer-events: none;
  box-shadow: var(--shadow);
}
.map-block.is-map-active .map-shield { display: none !important; }
.map-legend {
  display: flex; align-items: center; gap: 12px;
  margin: 0;
  padding: 14px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.map-legend .ico-wrap { background: var(--notice); color: var(--accent); }
.map-restore {
  display: none;
  width: calc(100% - 2 * var(--gutter));
  max-width: var(--wrap);
  margin: 12px auto 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.map-block.is-scroll-hidden .map-restore { display: block; }
@media (max-width: 900px) {
  .map-block {
    padding-bottom: calc(28px + var(--safe-bottom));
  }
  .map-wrap {
    height: min(46vh, 420px);
    min-height: 280px;
    transition: max-height 0.28s ease, min-height 0.28s ease, opacity 0.2s ease;
  }
  .map-legend {
    padding-right: calc(var(--gutter) + 88px);
  }
  .map-shield {
    justify-content: flex-start;
    padding-right: 88px;
  }
  .map-block.is-scroll-hidden .map-wrap {
    max-height: 0;
    min-height: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }
}

.partner-row { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose { max-width: 66ch; }
.entry p { max-width: 65ch; }

.site-footer {
  border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid > div { display: grid; gap: 10px; align-content: start; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.messengers { display: flex; gap: 10px 16px; flex-wrap: wrap; margin-top: 8px; }
.messengers a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
}
.messengers .ico { color: var(--accent); }
.foot-note { margin-top: 32px; }

@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .prod-lead { grid-row: auto; }
  .header-phone, .header-socials { display: none; }
}

@media (max-width: 900px) {
  .news-feature .news-card {
    border-right: 0;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 8px;
  }
  .news-list a.has-thumb { grid-template-columns: 5.6rem minmax(0, 1fr); }
  .news-list .news-thumb { width: 5.6rem; height: 3.5rem; }
  .news-more, .news-pager-grid { grid-template-columns: 1fr; }
  .news-pager-next { text-align: left; }
  :root { --gutter: 16px; --header: 60px; }
  .hero, .split, .contact-grid, .news-grid, .news-feature, .footer-grid, .facts, .item-layout, .mosaic, .prod-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }
  .mosaic { grid-template-rows: none; }
  .mosaic .tile:first-child,
  .tile-lead { grid-row: auto; }
  .tile { min-height: 240px; }
  .price-grid .price-cell:first-child,
  .price-cell-lead {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .price-grid .price-cell:not(:first-child) {
    padding-inline: 0;
  }
  .news-grid .news-card:first-child { grid-row: auto; }
  .hero { min-height: 0; }
  .hero-copy {
    padding: 32px 16px 28px;
    justify-content: flex-start;
    max-width: none;
  }
  .hero h1 { font-size: clamp(1.85rem, 7.2vw, 2.35rem); }
  .hero-sum { font-size: clamp(1.28rem, 5.4vw, 1.55rem); }
  .hero-media { min-height: 260px; }
  .hero-media picture,
  .hero-media img { min-height: 260px; }
  .section { padding: 56px 0 72px; }
  .bleed-copy { padding: 24px 16px 32px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute;
    top: calc(var(--header) + var(--safe-top));
    left: max(12px, var(--safe-left));
    right: max(12px, var(--safe-right));
    bottom: auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px;
    z-index: 41;
  }
  .nav.is-open .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open a { min-height: 44px; padding: 10px 4px; }
  .burger { display: inline-flex; }
  .ledger a { grid-template-columns: 1fr; gap: 8px; }
  .ledger a .svc-price { justify-self: start; }
  .brand small { display: none; }
  .theme-switch button { padding: 0 8px; min-height: 44px; }
  .contact-card { padding: 24px; }
  .contact-card a[href^="tel"] { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .theme-switch { display: none; }
  .theme-cycle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 430px) {
  .header-inner { gap: 8px; }
  .header-tools { gap: 8px; }
  .brand strong { font-size: 0.86rem; }
  .hero-sum { max-width: 100%; }
}

@media (max-height: 520px) {
  .hero { min-height: 0; }
  .hero-copy { padding-top: 20px; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(1.35rem, 5.2vh, 1.9rem); }
  .hero-price { margin: 10px 0 16px; padding: 8px 0 10px; }
  .hero-media, .hero-media picture, .hero-media img { min-height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .tile:hover img { transform: none; }
}

/* Floating contact widget — larger tap targets */
#max-button-wrapper .max-button-item {
  width: 72px !important;
  height: 72px !important;
}
#max-button-wrapper .max-button-item img {
  width: 40px !important;
  height: 40px !important;
}
#max-button-wrapper .max-button-hint {
  right: 84px;
  font-size: 14px;
  padding: 8px 14px;
}
@media (max-width: 768px) {
  #max-button-wrapper .max-button-item {
    width: 64px !important;
    height: 64px !important;
  }
  #max-button-wrapper .max-button-item img {
    width: 36px !important;
    height: 36px !important;
  }
  #max-button-wrapper .max-button-hint {
    right: 76px;
  }
}
