/*
Theme Name: Сила Бухгалтерии
Theme URI: https://silabuh.fortesting.ru
Author: krivoshein.site
Description: Премиум-демо редизайн ООО «Сила Бухгалтерии» для клиента.
Version: 1.5.0
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: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-cyr-400.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: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin-400.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;
}
@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-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@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: #f3f7f4;
  --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;
}
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: #5ea87a;
  --accent-hover: #73bb8e;
  --muted: #9aada3;
  --surface: #1a2420;
  --on-accent: #f4faf6;
  --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: #5ea87a;
    --accent-hover: #73bb8e;
    --muted: #9aada3;
    --surface: #1a2420;
    --on-accent: #f4faf6;
    --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;
}
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);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header); gap: 20px;
}
.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;
}
.theme-switch button {
  appearance: none; border: 0; background: transparent;
  color: var(--muted); font: 600 0.76rem/1 Manrope, sans-serif;
  padding: 0 12px; min-height: 34px; cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.theme-switch button[aria-pressed="true"],
html[data-theme="light"] .theme-switch button[data-theme-set="light"],
html[data-theme="dark"] .theme-switch button[data-theme-set="dark"] {
  background: var(--accent); color: var(--on-accent);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); flex-shrink: 0;
}
.brand img { width: 34px; height: 34px; }
.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 a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.9rem;
  white-space: nowrap;
  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;
}
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius-sm);
  flex-direction: column; justify-content: center; gap: 5px; padding: 0 11px;
}
.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 48px 56px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: flex; flex-direction: column; justify-content: flex-start;
  max-width: 620px;
}
.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: 34rem;
}
.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; }

.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 24%, rgba(23, 48, 40, 0.84));
}
.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.35fr 1fr; gap: 28px; align-items: stretch;
}
.news-feature .news-card:first-child { padding: 36px 32px; }
.news-feature .news-card:first-child h3 { font-size: 1.45rem; }
.news-feature .news-list { border-top: 0; align-content: start; }
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; }
.news-grid .news-card:first-child { grid-row: span 2; padding: 36px 32px; }
.news-card {
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  min-height: 132px;
  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-list { display: grid; border-top: 1px solid var(--line); }
.news-list a {
  display: block; padding: 18px 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:hover { color: var(--accent); }

.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: 9px 14px; font: 600 0.84rem/1 Manrope, sans-serif;
  cursor: pointer;
  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: 1.2fr 1fr 1fr;
  gap: 16px;
}
.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: 148px;
  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: 188px; object-fit: cover; border-radius: var(--radius-sm); }
.prod-lead { grid-row: span 2; }
.prod-lead img { height: 260px; }
.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); }
.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; }
.msg-list { display: grid; gap: 8px; }
.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: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 4px; }
.form-error { color: var(--danger); }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--notice); color: var(--ink); }

.map-wrap { height: 380px; background: var(--mist); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.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; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.messengers { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.foot-note { margin-top: 32px; }

.dock {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: grid; gap: 8px;
}
.dock a {
  background: var(--accent); color: var(--on-accent); text-decoration: none;
  font-size: 0.76rem; font-weight: 700; padding: 8px 12px; border-radius: var(--radius-sm);
  transition: background var(--ease);
}
.dock a:hover { background: var(--accent-hover); color: var(--on-accent); }

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

@media (max-width: 900px) {
  :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; inset: 60px 12px auto;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
    z-index: 41;
  }
  .burger { display: inline-flex; }
  .ledger a { grid-template-columns: 1fr; gap: 8px; }
  .ledger a .svc-price { justify-self: start; }
  .dock { display: none; }
  .brand small { display: none; }
  .theme-switch button { padding: 0 8px; min-height: 32px; }
  .contact-card { padding: 24px; }
  .contact-card a[href^="tel"] { font-size: 1.2rem; }
}

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