/* ==== 00-fonts.css ==== */
/* ------------------------------------------------------------------
   00-fonts.css — locally hosted Museo Sans Cyrl (brand font)
   ------------------------------------------------------------------ */
@font-face {
  font-family: "Museo Sans";
  src: url("/fonts/MuseoSans/MuseoSansCyrl-300.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("/fonts/MuseoSans/MuseoSansCyrl-300Italic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("/fonts/MuseoSans/MuseoSansCyrl-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("/fonts/MuseoSans/MuseoSansCyrl-500Italic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("/fonts/MuseoSans/MuseoSansCyrl-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("/fonts/MuseoSans/MuseoSansCyrl-700Italic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("/fonts/MuseoSans/MuseoSansCyrl-900.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("/fonts/MuseoSans/MuseoSansCyrl-900Italic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ==== 01-tokens.css ==== */
/* ------------------------------------------------------------------
   01-tokens.css — design tokens for the AMT-GROUPP redesign
   ------------------------------------------------------------------ */
:root {
  /* brand palette (taken from the original site) */
  --c-brand: #ffd633;
  --c-brand-2: #ffdc4c;
  --c-brand-ink: #2b2f3b;
  --c-ink: #2b2f3b;
  --c-ink-2: #515769;
  --c-slate: #56606f;
  --c-muted: #81848f;
  --c-muted-2: #999caa;
  --c-cyan: #17bed2;
  --c-pink: #f23054;
  --c-dark: #292f3b;
  --c-bg: #f5f6f8;
  --c-surface: #ffffff;
  --c-line: #edf0f2;
  --c-line-2: #d4d3d5;
  --c-surface-raised: #ffffff;
  --c-surface-soft: #f3f5f7;
  --c-accent-soft: rgba(255, 214, 51, 0.14);

  /* spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* layout */
  --container: 1440px;
  --gutter: 24px;
  --header-h: 78px;
  --topbar-h: 40px;
  --content-measure: 74ch;
  --section-space: clamp(56px, 7vw, 96px);

  /* radii & shadows */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-1: 0 6px 20px rgba(43, 47, 59, 0.06);
  --shadow-2: 0 18px 48px rgba(43, 47, 59, 0.12);

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.3s;
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
  }
}

/* ==== 02-base.css ==== */
/* ------------------------------------------------------------------
   02-base.css — reset, typography, prose
   ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* clip, а не hidden: обрезает горизонтальный выход дропдаунов,
     не создавая скролл-контейнер (position: sticky продолжает работать) */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Museo Sans", -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  text-rendering: optimizeLegibility;
  color: var(--c-ink);
  background: var(--c-bg);
  /* clip (вместо hidden) — не создаёт скролл-контейнер и не ломает position: sticky */
  overflow-x: clip;
}

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: var(--c-ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

a:hover {
  color: var(--c-ink-2);
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 34px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: 26px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 20px;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
}

h4 {
  font-size: 18px;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.35em;
}

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: var(--s-7) 0;
}

b,
strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--c-cyan);
  outline-offset: 2px;
}

::selection {
  background: var(--c-brand);
  color: var(--c-ink);
}

/* ---- prose (scraped content) ---- */
.prose {
  max-width: none;
  color: var(--c-ink-2);
  overflow-wrap: anywhere;
}

.prose > p,
.prose li {
  text-wrap: pretty;
}

.prose > h2:first-child,
.prose > h3:first-child,
.prose > h4:first-child {
  margin-top: 0;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 1.4em;
  text-transform: none;
}

.prose img {
  border-radius: var(--radius);
  margin: var(--s-5) 0;
  height: auto;
}

.prose p img {
  display: inline-block;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose a {
  color: var(--c-ink-2);
  border-bottom: 1px solid var(--c-brand);
}

.prose a:hover {
  color: var(--c-ink);
  border-bottom-color: var(--c-ink);
}

.prose blockquote {
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  border-left: 4px solid var(--c-brand);
  background: var(--c-surface);
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-5) 0;
}

.prose th,
.prose td {
  border: 1px solid var(--c-line-2);
  padding: var(--s-2) var(--s-3);
  text-align: left;
}

.prose th {
  background: var(--c-line);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* hint shown only while a table actually overflows horizontally */
.table-hint,
.prose > .table-hint {
  display: none;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-muted);
}

.table-wrap.is-scrollable + .table-hint,
.prose > .table-wrap.is-scrollable + .table-hint {
  display: block;
}

.table-wrap.is-scrollable.is-scrolled + .table-hint,
.prose > .table-wrap.is-scrollable.is-scrolled + .table-hint {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--c-brand);
  color: var(--c-ink);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

/* ==== 03-layout.css ==== */
/* ------------------------------------------------------------------
   03-layout.css — container, header, nav, footer, breadcrumbs
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 980px;
}

.section {
  padding-block: var(--section-space);
}

.section--tight {
  padding-block: clamp(36px, 5vw, 64px);
}

.section--dark {
  background: var(--c-dark);
  color: #fff;
}

.section--gray {
  background: var(--c-surface-soft);
}

/* ---------- top bar ---------- */
.topbar {
  background: #1e222a;
  color: #aab0bb;
  font-size: 13px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  max-height: var(--topbar-h);
  transition: max-height var(--dur) var(--ease), opacity var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

/* скролл: верхняя полоса сворачивается */
html.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .topbar {
    transition: none;
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--topbar-h);
  flex-wrap: wrap;
}

.topbar a {
  color: #e6e8ec;
}

.topbar a:hover {
  color: var(--c-brand);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__item:first-child {
  color: #ffffff;
  font-weight: 700;
}

.topbar__item .ico {
  opacity: 0.65;
  transition: opacity var(--dur) var(--ease);
}

.topbar__item:hover .ico {
  opacity: 1;
}

.topbar__address {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  color: #9198a5;
  font-size: 13px;
  line-height: 1.3;
  text-align: right;
}

.topbar__address:hover {
  color: var(--c-brand);
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(43, 47, 59, 0.07);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.header--stuck {
  box-shadow: 0 10px 32px rgba(43, 47, 59, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--header-h);
}

.header__inner > .btn,
.header__cta {
  align-self: center;
  height: 48px;
  min-height: 48px;
  padding-top: 0;
  padding-bottom: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 44px;
  width: auto;
}

.logo__text {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: 18px;
}

.logo__text small {
  display: block;
  font-size: 11px;
  font-weight: 300;
  color: var(--c-muted);
  letter-spacing: 0.08em;
}

/* ---------- desktop nav ---------- */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__list {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: static;
  display: flex;
  align-items: center;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 14px;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-ink-2);
  white-space: nowrap;
  border-radius: var(--radius);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.nav__link:hover,
.nav__item:hover > .nav__link,
.nav__item.is-open > .nav__link {
  background: var(--c-surface-soft);
  color: var(--c-ink);
}

.nav__link:hover::after,
.nav__item:hover > .nav__link::after,
.nav__item.is-open > .nav__link::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--c-ink);
  font-weight: 700;
}

.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.5;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav__link:hover .nav__caret,
.nav__item.is-open .nav__caret {
  opacity: 1;
}

.nav__item:hover .nav__caret,
.nav__item.is-open .nav__caret {
  transform: rotate(-135deg) translateY(-2px);
}

/* dropdown */
.submenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--c-surface);
  border-top: 3px solid var(--c-brand);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
  padding: var(--s-6) 0;
  z-index: 950;
}

.nav--ready .nav__item.is-open .submenu,
.nav--ready .nav__item:hover .submenu, 
.nav--ready .nav__item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2) var(--s-6);
}

.submenu--single .submenu__grid {
  grid-template-columns: 1fr;
}

.submenu__link {
  display: block;
  padding: 9px 12px;
  margin-left: -12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink-2);
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.submenu__link:hover {
  color: var(--c-ink);
  background: var(--c-surface-soft);
}

.submenu__all {
  display: inline-flex;
  margin-top: var(--s-4);
  font-weight: 700;
  color: var(--c-ink);
  border-bottom: 2px solid var(--c-brand);
}

/* ---------- burger & mobile menu ---------- */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  margin-left: auto;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

body.menu-open .burger span {
  background: transparent;
}

body.menu-open .burger span::before {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .burger span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(90vw, 400px);
  background: var(--c-surface);
  z-index: 1000;
  transform: translateX(105%);
  transition: transform var(--dur) var(--ease);
  overflow-y: auto;
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

body.menu-open .mobile-menu {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-4);
}

.mobile-menu__close {
  border: 0;
  background: var(--c-line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__item > a,
.mobile-menu__item > details > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--c-line);
  cursor: pointer;
}

.mobile-menu__item details > summary {
  list-style: none;
}

.mobile-menu__item details > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu__item details ul {
  list-style: none;
  padding: 0 0 0 var(--s-4);
  margin: 0;
}

.mobile-menu__item details li a {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: var(--c-slate);
  border-bottom: 1px solid var(--c-line);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 47, 59, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
  z-index: 990;
}

body.menu-open .overlay {
  opacity: 1;
  visibility: visible;
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  font-size: 14px;
  color: var(--c-slate);
  padding-block: var(--s-4);
}

.breadcrumbs a {
  color: var(--c-ink-2);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--c-line-2);
}

.breadcrumbs a:hover {
  color: var(--c-ink);
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  background: #1e2229;
  color: #9aa2ad;
  padding-top: clamp(40px, 4.4vw, 60px);
  font-size: 13px;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer a {
  color: #a6aeba;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer a:hover {
  color: #fff;
}

/* --- колонки --- */
.footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(240px, 1fr);
  gap: clamp(32px, 4vw, 72px);
  padding-bottom: var(--s-7);
  align-items: start;
}

.footer__col h3,
.footer__subhead {
  margin: 0 0 var(--s-4);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
}

.footer__subhead {
  margin-top: var(--s-6);
}

/* матрица услуг: группы упаковываются в колонки без пустых ячеек */
.footer__services {
  columns: 3;
  column-gap: var(--s-6);
}

.footer__group {
  break-inside: avoid;
  margin-bottom: var(--s-5);
}

.footer__group-title {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #f2f4f7;
}

.footer__group-title:hover {
  color: var(--c-brand);
}

.footer__sublinks {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: var(--s-4);
}

.footer__sublinks li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.footer__sublinks a {
  font-size: 13px;
  line-height: 1.35;
  color: #9aa2ad;
}

.footer__sublinks a:hover {
  color: #fff;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer__links a {
  font-size: 13.5px;
}

.footer__muted,
.footer__muted a {
  color: #98a0ac;
  font-size: 13px;
}

.footer__muted a:hover {
  color: #fff;
}

/* --- нижняя полоса --- */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s-5);
  border-top: 1px solid #2e3340;
  font-size: 12px;
  color: #6b7280;
}

.footer__bottom-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-5);
}

@media (max-width: 1300px) {
  .footer__services {
    columns: 2;
  }
}

@media (max-width: 1000px) {
  .footer__cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer__cols {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }

  .footer__services {
    columns: 1;
  }

  .footer__sublinks {
    columns: 1;
  }
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: var(--s-3);
}

.social-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.social-row a:hover {
  background: var(--c-brand);
  color: var(--c-ink);
}

@media (max-width: 1023px) {
  .nav {
    display: none;
  }
}

.submenu--cols-2 .submenu__grid {
  grid-template-columns: repeat(2, 1fr);
}

/* compact dropdown for single-column submenus */
.nav__item--dropdown-single {
  position: relative;
}

.nav__item--dropdown-single .submenu {
  left: 0;
  right: auto;
  top: calc(100% - 6px);
  width: 360px;
  max-width: 90vw;
  padding: 10px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-top: 3px solid var(--c-brand);
  box-shadow: 0 18px 40px rgba(43, 47, 59, 0.16);
}

.nav__item--dropdown-single .submenu .container {
  max-width: none;
  padding-inline: 0;
}

.nav__item--dropdown-single .submenu__grid {
  grid-template-columns: 1fr;
  gap: 2px;
}

.nav__item--dropdown-single .submenu__link {
  margin-left: 0;
  padding: 11px 12px;
}

.nav__item--dropdown-single .submenu__all {
  margin: 8px 0 0;
  padding: 8px 12px;
  border-bottom: 0;
  border-radius: var(--radius-sm);
  background: var(--c-surface-soft);
}

.nav__item--dropdown-single .submenu__all:hover {
  background: var(--c-brand);
}

/* ================= modern navigation v2 ================= */
.header {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(43, 47, 59, 0.08);
}

.header__inner {
  gap: 28px;
  min-height: 84px;
}

/* segmented "pill rail" */
.header .nav {
  margin-left: auto;
  height: auto;
}

.header .nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  background: var(--c-surface-soft);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: 999px;
}

.header .nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.header .nav__link {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: var(--c-ink-2);
  background: transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.header .nav__link::after {
  display: none;
}

.header .nav__link:hover,
.header .nav__item:hover > .nav__link,
.header .nav__item.is-open > .nav__link {
  background: var(--c-surface);
  color: var(--c-ink);
  box-shadow: 0 6px 16px rgba(43, 47, 59, 0.08);
}

.header .nav__link[aria-current="page"] {
  background: var(--c-ink);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(43, 47, 59, 0.22);
}

.header .nav__caret {
  width: 6px;
  height: 6px;
  opacity: 0.55;
  border-color: currentColor;
}

.header .nav__link:hover .nav__caret,
.header .nav__item.is-open .nav__caret {
  opacity: 1;
}

/* floating dropdown card, centered under its item */
.header .nav__item--has-children > .submenu {
  left: 50%;
  right: auto;
  top: calc(100% + 12px);
  width: max-content;
  min-width: 300px;
  max-width: min(900px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-top: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  box-shadow: 0 24px 60px rgba(43, 47, 59, 0.18);
  transform: translateX(calc(-50% + var(--dd-shift, 0px))) translateY(6px);
}

.header .nav__item--has-children > .submenu.submenu--single {
  width: 320px;
}

.header .nav__item--has-children > .submenu.submenu--cols-2 {
  width: max-content;
}

.nav--ready .nav__item.is-open > .submenu,
.nav--ready .nav__item:hover > .submenu,
.nav--ready .nav__item:focus-within > .submenu {
  transform: translateX(calc(-50% + var(--dd-shift, 0px))) translateY(0);
}

/* pointer */
.header .nav__item--has-children > .submenu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--c-surface);
  border-left: 1px solid rgba(43, 47, 59, 0.06);
  border-top: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: 3px 0 0 0;
  transform: translateX(calc(-50% + var(--dd-shift, 0px))) rotate(45deg);
}

.header .nav__item--has-children > .submenu.is-shifted::before {
  opacity: 0;
}

.header .submenu .container {
  max-width: none;
  padding-inline: 0;
}

.header .submenu__grid {
  grid-template-columns: repeat(3, auto);
  gap: 2px 8px;
}

.header .submenu--cols-2 .submenu__grid {
  grid-template-columns: repeat(2, auto);
}

.header .submenu--single .submenu__grid {
  grid-template-columns: 1fr;
}

.header .submenu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  white-space: nowrap;
  border-radius: var(--radius);
  border-bottom: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.header .submenu__link::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-brand);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.header .submenu__link:hover {
  background: var(--c-surface-soft);
  color: var(--c-ink);
}

.header .submenu__link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.header .submenu__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 11px 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.header .submenu__all:hover {
  background: var(--c-brand);
  color: var(--c-ink);
}

/* keep compact single-submenu overrides from conflicting */
.header .nav__item--dropdown-single .submenu {
  padding: 12px;
}

/* collapse the pill rail earlier so it never gets cramped */
@media (max-width: 1249px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .topbar__address {
    display: none;
  }
}

.header .nav {
  margin-left: auto;
  margin-right: 4px;
}

.header .header__cta {
  margin-left: 8px;
}

/* flat navigation: no pill container, no capsule highlight */
.header .nav__list {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 6px;
}

.header .nav__link {
  border-radius: 0;
  padding: 0 12px;
  color: var(--c-ink-2);
  background: transparent;
  box-shadow: none;
}

.header .nav__link::after {
  display: block;
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}

.header .nav__link:hover,
.header .nav__item:hover > .nav__link,
.header .nav__item.is-open > .nav__link {
  background: transparent;
  box-shadow: none;
  color: var(--c-ink);
}

.header .nav__link:hover::after,
.header .nav__item:hover > .nav__link::after,
.header .nav__item.is-open > .nav__link::after {
  transform: scaleX(1);
}

.header .nav__link[aria-current="page"] {
  background: transparent;
  color: var(--c-ink);
  box-shadow: none;
  font-weight: 700;
}

.header .nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* center the navigation between logo and CTA, even rhythm */
.header .nav {
  margin-left: auto;
  margin-right: auto;
}

.header .nav__list {
  gap: 8px;
}

.header .nav__link {
  padding: 0 14px;
}

/* nav pushed to the right, header block stays centered in the container */
.header .nav {
  margin-left: auto;
  margin-right: 8px;
}

/* compact desktop nav so logo + 7 links + CTA never overflow the header */
@media (min-width: 1250px) and (max-width: 1439px) {
  .header__inner {
    gap: 18px;
  }

  .header .nav__list {
    gap: 3px;
  }

  .header .nav__link {
    padding: 0 9px;
    font-size: 14px;
  }

  .logo__text {
    font-size: 16px;
  }

  .header__cta {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==== 04-components.css ==== */
/* ------------------------------------------------------------------
   04-components.css — buttons, cards, forms, modal, misc UI
   ------------------------------------------------------------------ */
/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--c-brand);
  color: var(--c-ink);
  box-shadow: 0 8px 20px rgba(255, 214, 51, 0.18);
}

.btn--primary:hover {
  background: var(--c-brand-2);
  color: var(--c-ink);
  box-shadow: var(--shadow-1);
}

.btn--dark {
  background: var(--c-ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(43, 47, 59, 0.12);
}

.btn--dark:hover {
  background: var(--c-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-line-2);
  color: var(--c-ink);
}

.btn--ghost:hover {
  border-color: var(--c-ink);
}

.btn--block {
  width: 100%;
}

/* ---------- section header ---------- */
.eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-slate);
  margin-bottom: var(--s-3);
}

.section--dark .eyebrow,
.section--dark .eyebrow--dark {
  color: var(--c-brand);
}

.section-title {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.section-title p {
  color: inherit;
  margin-bottom: var(--s-3);
}

.section-title h2 strong {
  color: var(--c-brand);
}

.rule {
  width: 80px;
  height: 4px;
  background: var(--c-brand);
  margin: var(--s-5) auto;
  border: 0;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin: var(--s-5) var(--gutter) 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #23272f 0%, var(--c-dark) 55%, #1b1f27 100%);
  color: #fff;
  padding-block: var(--s-9);
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero {
    margin: var(--s-4) var(--gutter) 0;
    border-radius: var(--radius-lg);
    padding-block: var(--s-8);
  }
}

/* yellow flash in the bottom-right corner */
.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -200px;
  width: 720px;
  height: 720px;
  background:
    linear-gradient(to top,
      rgba(27, 31, 39, 0.55) 0%,
      rgba(27, 31, 39, 0.15) 22%,
      rgba(27, 31, 39, 0) 48%),
    radial-gradient(circle at 50% 50%,
      rgba(255, 214, 51, 0.8) 0%,
      rgba(255, 214, 51, 0.4) 20%,
      rgba(255, 214, 51, 0.15) 42%,
      rgba(255, 214, 51, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to right, transparent 35%, #000 100%);
  mask-image: linear-gradient(to right, transparent 35%, #000 100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .hero::before {
    right: -120px;
    bottom: -140px;
    width: 460px;
    height: 460px;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: none;
}

.hero__eyebrow {
  color: var(--c-brand);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--s-4);
  overflow-wrap: anywhere;
}

.hero h1 strong {
  font-weight: 900;
}

.hero__subtitle {
  color: var(--c-brand-2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin-bottom: var(--s-4);
}

.hero__lead {
  color: #d7dae1;
  font-size: 18px;
  max-width: 720px;
  margin-bottom: var(--s-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ---------- cards ---------- */
.grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

/* 4 колонки для каталога услуг */
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5) var(--s-4);
}

@media (max-width: 1500px) {
  .grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* пагинация каталога */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-8);
}

/* нижний отступ сетки карточек перед пагинацией (padding — не сворачивается) */
.cards-paginated {
  padding-bottom: var(--s-5);
}

.pagination__btn {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius);
  background: var(--c-surface);
  color: var(--c-ink-2);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.pagination__btn:hover {
  border-color: var(--c-ink);
  color: var(--c-ink);
}

.pagination__btn[aria-current="page"] {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: var(--c-ink);
}

.pagination__btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.pagination__btn:disabled:hover {
  border-color: var(--c-line-2);
  color: var(--c-ink-2);
}

/* скрытые пагинацией карточки */
.card[hidden] {
  display: none;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(43, 47, 59, 0.035);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}

.card__media {
  aspect-ratio: 4 / 3;
  background: var(--c-surface-soft);
  overflow: hidden;
  border-bottom: 1px solid rgba(43, 47, 59, 0.05);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card__media--ph {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-line) 0%, #fff 100%);
}

.card__media--ph span {
  font-size: 64px;
  font-weight: 900;
  color: var(--c-brand);
  text-shadow: 0 2px 0 rgba(43, 47, 59, 0.08);
  line-height: 1;
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card__title {
  font-size: 19px;
  margin: 0;
}

.card__text {
  color: var(--c-slate);
  font-size: 15px;
  margin: 0;
  flex: 1;
}

.card__link {
  font-weight: 700;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card__link::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.card:hover .card__link::after {
  transform: translateX(4px);
}

/* ---------- feature ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-6);
}

.feature {
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.07);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  text-align: left;
  box-shadow: 0 3px 14px rgba(43, 47, 59, 0.035);
}

.feature img {
  width: 48px;
  height: 48px;
  margin: 0 0 var(--s-4);
  object-fit: contain;
}

.feature h4 {
  margin-bottom: 6px;
}

.feature p {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0;
}

/* ---------- tabs ---------- */
.tabs {
  margin-top: var(--s-6);
}

.tabs__list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  border-bottom: 2px solid var(--c-line);
}

.tabs__btn {
  border: 0;
  background: transparent;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--c-slate);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tabs__btn[aria-selected="true"] {
  color: var(--c-ink);
  border-bottom-color: var(--c-brand);
}

.tab-panel {
  display: none;
}

.tab-panel .prose {
  max-width: none;
}

.tab-cols {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-8);
  align-items: start;
}

@media (max-width: 900px) {
  .tab-cols {
    grid-template-columns: 1fr;
  }
}

.tab-panel.is-active {
  display: block;
  animation: fade 0.4s var(--ease);
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--c-brand);
  color: var(--c-ink);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
  text-align: center;
}

.cta-banner h2 {
  color: var(--c-ink);
}

.cta-banner h2 b {
  text-decoration: underline;
  text-decoration-color: rgba(43, 47, 59, 0.3);
}

.cta-banner p {
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- forms ---------- */
.form {
  display: grid;
  gap: var(--s-4);
  text-align: left;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.field label .req {
  color: var(--c-pink);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-ink);
  box-shadow: 0 0 0 3px rgba(255, 214, 51, 0.5);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--c-pink);
}

.field__error {
  color: var(--c-pink);
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--c-slate);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--c-ink);
}

.form__success {
  display: none;
  background: #e8f8ee;
  border: 1px solid #9fd9b5;
  color: #1c6b3c;
  padding: var(--s-4);
  border-radius: var(--radius-sm);
}

.form__success.is-visible {
  display: block;
}

.form__error {
  display: none;
  margin-top: var(--s-3);
  background: #fdecec;
  border: 1px solid #f2b8b8;
  color: #9b1c1c;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
}

.form__error.is-visible {
  display: block;
}

.btn.is-loading {
  opacity: 0.75;
  cursor: progress;
}

.file-note {
  font-size: 13px;
  color: var(--c-muted);
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 32, 0.65);
}

.modal__panel {
  position: relative;
  background: var(--c-surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--s-7) var(--s-6);
  box-shadow: 0 28px 80px rgba(10, 15, 25, 0.28);
  animation: modal-in 0.3s var(--ease);
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--c-line);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}

.modal__close:hover {
  background: var(--c-line-2);
}

.modal__title {
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal__desc {
  color: var(--c-slate);
  font-size: 15px;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--c-line);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery a:hover img {
  transform: scale(1.06);
}

/* ---------- logo grid ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--s-4);
  align-items: center;
}

.logo-grid img {
  width: 100%;
  max-height: 90px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.logo-grid img:hover {
  filter: none;
  opacity: 1;
}

/* ---------- badges & price ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--c-line);
  color: var(--c-ink-2);
}

.badge--brand {
  background: var(--c-brand);
  color: var(--c-ink);
}

.price-tag {
  margin-top: var(--s-3);
  font-weight: 700;
}

.price-tag b {
  color: var(--c-pink);
}

/* ---------- sidebar ---------- */
.layout-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--s-7);
  align-items: start;
}

/* grid items must be allowed to shrink below their min-content (wide tables etc.) */
.layout-aside > * {
  min-width: 0;
}

.aside-card {
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.07);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  margin-bottom: var(--s-5);
  box-shadow: 0 3px 14px rgba(43, 47, 59, 0.035);
}

/* сайдбар растянут по высоте колонки — даёт место для прилипания последней карточки */
.page-aside {
  align-self: stretch;
}

.aside-card--sticky {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin-bottom: 0;
  z-index: 2;
}

@media (max-width: 900px) {
  .aside-card--sticky {
    position: static;
    margin-bottom: var(--s-5);
  }
}

.aside-card h3 {
  font-size: 18px;
  text-transform: uppercase;
}

.aside-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aside-card__list li {
  border-bottom: 1px solid var(--c-line);
}

.aside-card__list a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
}

.aside-card__list a:hover {
  color: var(--c-ink);
  padding-left: 6px;
}

@media (max-width: 900px) {
  .layout-aside {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }
}

/* ---------- scroll reveal (fail-safe: content is visible by default; the
   hidden state is only ever applied by JS to below-the-fold elements) ------ */
.reveal {
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.reveal.is-hidden {
  opacity: 0;
  transform: translateY(10px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-ink);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--dur) var(--ease);
  z-index: 800;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- cookie banner ---------- */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1050;
  width: auto;
  max-width: 720px;
  margin-inline: auto;
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(43, 47, 59, 0.22);
  padding: var(--s-6);
}

.cookie[hidden] {
  display: none;
}

/* место под баннер, только пока он виден */
body.has-cookie {
  padding-bottom: 240px;
}

/* контактная страница: не резервируем место, когда плашка закрыта */
body.page--contact:not(.has-cookie) {
  padding-bottom: 0;
}


.cookie__view[hidden] {
  display: none;
}

.cookie__title {
  margin: 0 0 var(--s-3);
  font-size: 19px;
  line-height: 1.3;
  color: var(--c-ink);
}

.cookie__text {
  margin: 0 0 var(--s-5);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink-2);
}

.cookie__text a {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

/* --- шаг 2: настройки --- */
.cookie__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 var(--s-4);
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  cursor: pointer;
  text-align: left;
}

.cookie__back:hover {
  color: var(--c-ink);
}

.cookie__list {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
  border-top: 1px solid var(--c-line);
}

.cookie__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--c-line);
}

.cookie__details summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie__details summary::-webkit-details-marker {
  display: none;
}

.cookie__details summary::before {
  content: "+";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-surface-soft);
  color: var(--c-ink-2);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}

.cookie__details[open] summary::before {
  content: "–";
}

.cookie__details p {
  margin: 8px 0 0 28px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-slate);
}

.cookie__state {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-muted);
  white-space: nowrap;
}

.cookie__state--always {
  color: var(--c-cyan);
}

.cookie__row--fixed {
  grid-template-columns: minmax(0, 1fr) auto;
}

/* тумблер */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.switch__box {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--c-line-2);
  transition: background var(--dur) var(--ease);
  position: relative;
}

.switch__box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(43, 47, 59, 0.25);
  transition: transform var(--dur) var(--ease);
}

.switch input:checked + .switch__box {
  background: var(--c-brand);
}

.switch input:checked + .switch__box::after {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch__box {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  body.has-cookie {
    padding-bottom: 300px;
  }

  .cookie {
    padding: var(--s-4);
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie__title {
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .cookie__text {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .cookie__actions {
    gap: 8px;
  }

  .cookie__actions .btn {
    flex: 1 1 auto;
    padding: 9px 12px;
    font-size: 12.5px;
  }
}

/* ---------- страница «Наши работы» (портфолио) ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-6);
}

.work-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(43, 47, 59, 0.035);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.work-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-surface-soft);
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.work-card:hover .work-card__media img {
  transform: scale(1.04);
}

/* лейбл с описанием под фото */
.work-card__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--c-line);
}

.work-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
}

.work-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-slate);
}

@media (max-width: 1100px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- map ---------- */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-line);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed__trigger {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--c-line), #fff);
  border: 0;
  color: var(--c-ink);
  font-weight: 700;
}

.map-embed__trigger:hover {
  background: linear-gradient(135deg, #eef1f4, #fff);
}

.map-embed__hint {
  max-width: 320px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--c-muted);
}

/* ---------- breadcrumb page header ---------- */
.page-head {
  position: relative;
  margin: var(--s-5) var(--gutter) 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #23272f 0%, var(--c-dark) 58%, #1b1f27 100%);
  color: #fff;
  padding-block: clamp(42px, 6vw, 72px);
  overflow: hidden;
}

@media (max-width: 767px) {
  .page-head {
    margin: var(--s-4) var(--gutter) 0;
    border-radius: var(--radius-lg);
  }
}

.page-head::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(255, 214, 51, 0.24), rgba(255, 214, 51, 0) 68%);
  pointer-events: none;
}

.page-head .container {
  position: relative;
  z-index: 1;
}

.page-head h1 {
  color: #fff;
  margin-bottom: var(--s-3);
  overflow-wrap: anywhere;
}

.page-head__lead {
  color: #d7dae1;
  font-size: 18px;
  max-width: 820px;
  margin: 0;
}

@media (max-width: 600px) {
  .cta-banner {
    padding: var(--s-6) var(--s-4);
  }
}


/* мобильные тап-таргеты: минимальная высота активных элементов */
@media (max-width: 900px) {
  .topbar__item {
    padding-block: 6px;
  }

  .footer__sublinks a {
    display: inline-block;
    padding-block: 4px;
  }

  .footer__group-title {
    padding-block: 3px;
  }

  .breadcrumbs a {
    display: inline-block;
    padding-block: 4px;
  }

  .aside-card__list a {
    padding-block: 12px;
  }
}

/* ==== 05-pages.css ==== */
/* ------------------------------------------------------------------
   05-pages.css — page-specific tweaks
   ------------------------------------------------------------------ */
/* Home layout foundations */
.about-block {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-7);
  align-items: start;
}

.page-head__inner {
  max-width: 1440px;
}

.section-title {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  max-width: 68ch;
  margin-inline: auto;
  color: var(--c-slate);
}

.section-title .eyebrow {
  color: var(--c-slate);
}

.catalog-intro,
.info-document,
.catalog-article,
.legal-document {
  position: relative;
}

.catalog-intro::before,
.info-document::before,
.catalog-article::before,
.legal-document::before {
  content: "";
  position: absolute;
  inset: 20px auto 20px 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--c-brand), rgba(255, 214, 51, 0));
}

.contact-grid > div,
.order-card {
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 48px);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

.contact-grid .map-embed {
  margin-bottom: var(--s-5);
}

.contact-form-card {
  border-color: rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

.legal-document {
  max-width: none;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px);
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

.info-document {
  max-width: none;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px);
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

.legal-document h2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

/* ============ redesigned home ============ */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 40px;
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 601px) {
  .hero__stats .stat {
    padding-left: var(--s-5);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero__stats .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  color: var(--c-brand);
  line-height: 1;
}

.stat span {
  font-size: 13px;
  color: #cfd2da;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

.hero__ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero__ghost:hover {
  color: var(--c-ink);
  background: #fff;
  border-color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: var(--s-8);
  align-items: start;
}

.about-grid__main h2 {
  text-transform: uppercase;
}

.about-grid__intro {
  font-size: 19px;
  color: var(--c-slate);
  margin-bottom: var(--s-5);
}

.about-grid__main .prose p:first-child {
  font-size: 18px;
  color: var(--c-ink-2);
}

.quote-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-1);
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.quote-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto var(--s-4);
  border: 3px solid var(--c-brand);
  background: var(--c-line);
  box-shadow: 0 6px 16px rgba(43, 47, 59, 0.15);
}

.quote-card__text {
  margin: 0 0 var(--s-4);
  padding: 0;
  border: 0;
  background: none;
  font-style: italic;
  font-size: 17px;
  color: var(--c-ink);
}

.quote-card__author {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-slate);
}

.section-cta {
  text-align: center;
  margin-top: var(--s-6);
}

.section-cta--row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.section-cta--left {
  text-align: left;
  margin-top: var(--s-5);
}

.contacts-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-7);
  align-items: start;
}

/* тексты в карточках контактов должны сжиматься, а не рвать сетку */
.contacts-split > *,
.info-card,
.contacts-split__info,
.contact-list,
.contact-list li,
.contact-list li > div {
  min-width: 0;
}

.contact-list p,
.contact-list h4,
.contact-list a,
.info-card p {
  overflow-wrap: anywhere;
}

.contacts-split__info .btn {
  margin-top: var(--s-2);
}

.contacts-split .map-embed {
  aspect-ratio: 4 / 3;
}

.about-block__quote {
  background: var(--c-surface);
  border-left: 4px solid var(--c-brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--s-5);
  font-style: italic;
  color: var(--c-slate);
}

.about-block__quote cite {
  display: block;
  margin-top: var(--s-3);
  font-style: normal;
  font-weight: 700;
  color: var(--c-ink);
}

/* service tab pane image alignment */
.tab-panel .prose img {
  margin-inline: auto;
  max-height: 340px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ============ redesigned services tabs ============ */
.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
}

.services__head .eyebrow {
  margin-bottom: var(--s-2);
}

.services__head h2 {
  margin: 0;
  text-transform: uppercase;
}

.services__head-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.services__tabs {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: var(--s-6);
  align-items: stretch;
}

.services__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--c-line);
}

.svc-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  margin-left: -2px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-slate);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.svc-tab__num {
  font-weight: 900;
  font-size: 13px;
  color: var(--c-muted-2);
  letter-spacing: 0.04em;
  transition: color var(--dur) var(--ease);
}

.svc-tab__label {
  flex: 1;
}

.svc-tab__arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  color: var(--c-ink);
}

.svc-tab:hover {
  background: var(--c-surface);
  color: var(--c-ink);
}

.svc-tab[aria-selected="true"] {
  background: var(--c-surface);
  color: var(--c-ink);
  border-left-color: var(--c-brand);
  box-shadow: var(--shadow-1);
  font-weight: 700;
}

.svc-tab[aria-selected="true"] .svc-tab__num {
  color: var(--c-brand);
}

.svc-tab[aria-selected="true"] .svc-tab__arrow {
  opacity: 1;
  transform: none;
}

.services__panels {
  min-height: 440px;
}

.svc-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  min-height: 440px;
  height: 100%;
}

.svc-panel__media {
  background: linear-gradient(135deg, var(--c-surface-soft) 0%, #fff 100%);
  display: grid;
  place-items: center;
  padding: var(--s-6);
}

.svc-panel__media img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.svc-panel__media--abstract {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 214, 51, 0.18), transparent 58%),
    var(--c-surface-soft);
}

.svc-panel__media--abstract::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(43, 47, 59, 0.08);
  border-radius: var(--radius-lg);
  transform: rotate(-3deg);
}

.svc-panel__media--abstract span {
  position: relative;
  z-index: 1;
  color: var(--c-brand);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.svc-panel__body {
  padding: var(--s-7) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.svc-panel__title {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  text-transform: none;
  margin: 0;
}

.svc-panel__desc {
  color: var(--c-slate);
  margin: 0;
}

.svc-panel__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.svc-panel__points li {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-size: 15px;
  color: var(--c-ink-2);
}

.svc-panel__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-brand);
  color: var(--c-ink);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.svc-panel__footer {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.svc-panel__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-muted);
}

.svc-panel__price b {
  font-size: 22px;
  color: var(--c-ink);
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 1023px) {
  .services__tabs {
    grid-template-columns: 1fr;
  }

  .services__nav {
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
    border-left: 0;
    border-bottom: 2px solid var(--c-line);
    gap: 4px;
  }

  .svc-tab {
    border-left: 0;
    border-bottom: 3px solid transparent;
    margin-left: 0;
    white-space: normal;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: 10px 14px;
    width: auto;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.3;
  }

  .svc-tab[aria-selected="true"] {
    border-bottom-color: var(--c-brand);
    box-shadow: none;
  }

  .svc-tab__num,
  .svc-tab__arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .svc-panel__grid {
    grid-template-columns: 1fr;
  }

  .svc-panel__media {
    min-height: 240px;
  }

  .svc-panel__points {
    grid-template-columns: 1fr;
  }
}

.tab-panel .prose h4 {
  margin-top: var(--s-5);
}

/* balanced 3×2 advantages grid */
.home-why .features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

.home-why .feature {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-color: rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.home-why .feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}

.home-why .feature img {
  margin: 0 0 var(--s-3);
}

/* card teaser text: full text (no truncation) */
.card__text {
  text-wrap: pretty;
}

/* contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--c-line);
}

.contact-list .ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--c-brand);
  border-radius: var(--radius);
  color: var(--c-ink);
}

.contact-list h4 {
  margin: 0 0 4px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-list p {
  margin: 0;
  color: var(--c-slate);
  font-size: 15px;
}

/* requisites table */
.requisites {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.requisites th,
.requisites td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
}

.requisites th {
  color: var(--c-slate);
  font-weight: 500;
  width: 45%;
}

/* 404 */
.error-page {
  text-align: center;
  padding-block: var(--s-9);
}

.error-page__code {
  font-size: clamp(5rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: var(--c-brand);
  margin: 0;
}

/* legal */
.legal .prose {
  max-width: none;
}

.catalog-intro {
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 4vw, 48px);
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

.catalog-intro .prose {
  max-width: none;
}

.catalog-article {
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 48px);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

.legal-document {
  max-width: none;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px);
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

.about-intro .prose,
.contact-grid > div,
.order-card {
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 48px);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

.about-intro .prose {
  max-width: none;
}

.about-facts {
  border-color: rgba(43, 47, 59, 0.06);
}

.about-adv__item,
.equip-card,
.about-partner {
  border-color: rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
}

@media (max-width: 900px) {
  .about-block,
  .about-grid,
  .contact-grid,
  .contacts-split {
    /* minmax(0,1fr): колонка может сжиматься ниже min-content —
       иначе длинный текст в карточке распирает сетку на узких экранах */
    grid-template-columns: minmax(0, 1fr);
  }

  .home-why .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-card {
    position: static;
  }
}

@media (max-width: 600px) {
  .home-why .features {
    grid-template-columns: 1fr;
  }
}

/* ============ clients marquee ============ */
.clients {
  overflow: hidden;
}

.clients__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-bottom: var(--s-6);
}

.clients__head h2 {
  margin: 0;
  text-transform: uppercase;
}

.clients__head .eyebrow {
  margin-bottom: var(--s-2);
}

.clients__note {
  max-width: 520px;
  margin: 0;
  color: var(--c-slate);
  font-size: 16px;
}

.clients__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.clients__track {
  display: flex;
  width: max-content;
  animation: clients-marquee 44s linear infinite;
  will-change: transform;
}

.clients__track:hover {
  animation-play-state: paused;
}

.clients__group {
  display: flex;
}

.client-logo {
  flex: 0 0 auto;
  width: 190px;
  height: 104px;
  margin-right: 16px;
  display: grid;
  place-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.client-logo:hover {
  border-color: var(--c-line-2);
  box-shadow: var(--shadow-1);
}

.client-logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: contrast(1.12) brightness(0.92);
  opacity: 0.95;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.client-logo:hover img {
  opacity: 1;
  transform: scale(1.04);
}

@keyframes clients-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients__track {
    animation: none;
  }
}

@media (max-width: 600px) {
  .client-logo {
    width: 150px;
    height: 84px;
    margin-right: 12px;
  }

  .client-logo img {
    max-height: 44px;
  }

  .clients__track {
    animation-duration: 32s;
  }
}

/* ============ about page ============ */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #23272f 0%, var(--c-dark) 55%, #1b1f27 100%);
  color: #fff;
  padding-block: var(--s-8);
}

.about-hero::before {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -200px;
  width: 720px;
  height: 720px;
  background:
    linear-gradient(to top, rgba(27, 31, 39, 0.55) 0%, rgba(27, 31, 39, 0.15) 22%, rgba(27, 31, 39, 0) 48%),
    radial-gradient(circle at 50% 50%, rgba(255, 214, 51, 0.8) 0%, rgba(255, 214, 51, 0.4) 20%, rgba(255, 214, 51, 0.15) 42%, rgba(255, 214, 51, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: none;
}

.about-hero .eyebrow {
  color: var(--c-brand);
}

.about-hero h1 {
  color: #fff;
}

.about-hero__lead {
  color: #cfd2da;
  font-size: 18px;
  max-width: 760px;
  margin-bottom: var(--s-6);
}

.about-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 40px;
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 601px) {
  .about-hero__stats .stat {
    padding-left: var(--s-5);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-hero__stats .stat:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .about-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: var(--s-5);
  align-items: start;
}

.about-intro .prose p:first-child {
  font-size: 19px;
  color: var(--c-ink-2);
}

.about-facts {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-1);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.about-facts h3 {
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: var(--s-4);
}

.about-facts ul {
  list-style: none;
  margin: 0 0 var(--s-5);
  padding: 0;
}

.about-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}

.about-facts li span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-muted);
}

.about-facts li b {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
}

.about-adv {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
}

.about-adv__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-5);
  font-size: 15px;
  color: var(--c-ink-2);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* odd count (5): make the trailing card span the full row */
.about-adv__item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.about-adv__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}

.about-adv__check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-brand);
  color: var(--c-ink);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-6);
}

.equip-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(43, 47, 59, 0.04);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.equip-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c-surface-soft) 0%, #fff 100%);
  display: grid;
  place-items: center;
  padding: var(--s-5);
  border-bottom: 1px solid var(--c-line);
}

.equip-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.equip-card__body {
  padding: var(--s-5);
}

.equip-card__body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.equip-card__body p {
  color: var(--c-slate);
  font-size: 15px;
  margin: 0;
}

.about-quote {
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--s-6);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-style: italic;
  color: var(--c-ink);
}

.about-partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  margin-top: var(--s-7);
}

.about-partner__text {
  max-width: 640px;
}

.about-partner__text p {
  margin: 0;
  color: var(--c-slate);
}

.about-partner__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.about-partner__logo img {
  max-height: 56px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.about-partner__logo:hover img {
  filter: none;
  opacity: 1;
}

.about-partner__note {
  font-size: 12px;
  color: var(--c-muted);
  max-width: 200px;
}

@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-facts {
    position: static;
  }
}

@media (max-width: 768px) {
  .about-adv,
  .equip-grid {
    grid-template-columns: 1fr;
  }
}

.prose--service {
  max-width: none;
  background: var(--c-surface);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 4px 20px rgba(43, 47, 59, 0.035);
}

/* ============ service item page ============ */
.svc-hero {
  position: relative;
  overflow: hidden;
  margin: var(--s-5) var(--gutter) 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #23272f 0%, var(--c-dark) 55%, #1b1f27 100%);
  color: #fff;
  padding-block: var(--s-8);
}

@media (max-width: 767px) {
  .svc-hero {
    margin: var(--s-4) var(--gutter) 0;
    border-radius: var(--radius-lg);
  }
}

.svc-hero::before {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -200px;
  width: 720px;
  height: 720px;
  background:
    linear-gradient(to top, rgba(27, 31, 39, 0.55) 0%, rgba(27, 31, 39, 0.15) 22%, rgba(27, 31, 39, 0) 48%),
    radial-gradient(circle at 50% 50%, rgba(255, 214, 51, 0.75) 0%, rgba(255, 214, 51, 0.35) 20%, rgba(255, 214, 51, 0.12) 42%, rgba(255, 214, 51, 0) 68%);
  pointer-events: none;
  z-index: 0;
}

.svc-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--s-8);
  align-items: center;
}

.svc-hero .eyebrow {
  color: var(--c-brand);
}

.svc-hero h1 {
  color: #fff;
  margin-bottom: var(--s-4);
  overflow-wrap: anywhere;
}

.svc-hero__lead {
  color: #cfd2da;
  font-size: 18px;
  max-width: 580px;
  margin-bottom: var(--s-5);
}

.svc-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.svc-hero__ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.svc-hero__ghost:hover {
  color: var(--c-ink);
  background: #fff;
  border-color: #fff;
}

.svc-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-5);
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfd2da;
  font-size: 14px;
}

.svc-hero__chip b {
  color: var(--c-brand);
}

.svc-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-surface-soft);
  box-shadow: var(--shadow-2);
}

.svc-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

@media (max-width: 900px) {
  .svc-hero__inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }

  .svc-hero__media {
    aspect-ratio: 16 / 9;
  }
}

.prose--service {
  max-width: none;
}

.prose--service > p:first-child {
  font-size: 19px;
  color: var(--c-ink-2);
}

/* единый кадр внутри описания услуги */
.prose--service .prose-media {
  margin: var(--s-5) 0 var(--s-6);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(43, 47, 59, 0.06);
}

.prose--service .prose-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: inherit;
}

.prose--service > ul {
  list-style: none;
  padding-left: 0;
}

.prose--service > ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.prose--service > ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-brand);
  color: var(--c-ink);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 11px;
}

.prose--service table {
  font-size: 14px;
  margin: var(--s-4) 0;
}

.prose--service table th {
  background: var(--c-line);
  color: var(--c-ink);
  font-weight: 700;
  white-space: nowrap;
}

.prose--service table tbody tr:nth-child(odd) td {
  background: var(--c-bg);
}

.prose--service h2,
.prose--service h3 {
  margin-top: 1.6em;
  text-transform: none;
}

.service-gallery__title {
  margin-top: var(--s-7);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  font-size: 20px;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1680px;
  }
}

@media (min-width: 1900px) {
  .container {
    max-width: 1760px;
  }
}

.gallery__item {
  cursor: zoom-in;
}

.svc-hub__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--s-5);
}

.svc-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.svc-chip:hover {
  background: var(--c-brand);
  color: var(--c-ink);
}

/* ============ site-wide services accent ============ */
.services__lead {
  color: var(--c-slate);
  max-width: 62ch;
  margin: 10px 0 0;
}

.svc-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #23272f 0%, var(--c-dark) 60%, #1b1f27 100%);
  color: #fff;
  padding-block: clamp(36px, 5vw, 64px);
}

.svc-band::before {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 214, 51, 0.35), rgba(255, 214, 51, 0) 68%);
  pointer-events: none;
}

.svc-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--s-7);
  align-items: center;
}

.svc-band .eyebrow {
  color: var(--c-brand);
}

.svc-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.svc-band__text p {
  color: #cfd2da;
  max-width: 48ch;
  margin: 0 0 var(--s-5);
}

.svc-band__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .svc-band__inner {
    grid-template-columns: 1fr;
  }

  .svc-band__links {
    justify-content: flex-start;
  }
}

/* ============ SEO text blocks ============ */
.seo-faq {
  margin-top: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-line);
}

.seo-faq__title {
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  margin-bottom: var(--s-4);
}

.seo-faq__item {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--c-line);
}

.seo-faq__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.seo-faq__item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  text-transform: none;
}

.seo-faq__item p {
  margin: 0;
  color: var(--c-slate);
}

/* ============ SEO steps ============ */
.seo-steps {
  list-style: none;
  counter-reset: seo-step;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: grid;
  gap: 12px;
}

.seo-steps li {
  position: relative;
  padding-left: 46px;
  margin: 0;
  color: var(--c-ink-2);
}

.seo-steps li::before {
  counter-increment: seo-step;
  content: counter(seo-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-brand);
  color: var(--c-ink);
  font-weight: 900;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.seo-steps strong {
  color: var(--c-ink);
}

/* ============ extra content blocks ============ */
.features--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-steps--center {
  max-width: 860px;
  margin-inline: auto;
}

@media (max-width: 1100px) {
  .features--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .features--4 {
    grid-template-columns: 1fr;
  }
}

/* extra inner padding for the rounded home hero */
.hero .container {
  padding-inline: clamp(24px, 4vw, 72px);
}

/* ============ tightened info blocks (guarantees / payment / equipment) ============ */
.section--info {
  background: var(--c-surface);
  padding-block: clamp(26px, 3.2vw, 44px);
}

.section--info + .section--info {
  border-top: 1px solid rgba(43, 47, 59, 0.08);
}

.section--info .section-title {
  margin-bottom: clamp(16px, 2vw, 26px);
}

.section--info .features {
  margin-top: var(--s-4);
  gap: var(--s-4);
}

.section--info .feature {
  position: relative;
  padding: 42px var(--s-5) var(--s-5);
}

.section--info .feature::before {
  content: "";
  position: absolute;
  top: 20px;
  left: var(--s-5);
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-brand);
}

.section--info .feature h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.info-card {
  height: 100%;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--c-surface-soft);
  border: 1px solid rgba(43, 47, 59, 0.06);
  border-radius: var(--radius-lg);
}

.info-card h3 {
  margin: 0 0 var(--s-4);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-card .contact-list {
  margin-bottom: 0;
}

.info-card .contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-card .contact-list .ico {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
}

/* ==== 06-responsive.css ==== */
/* ------------------------------------------------------------------
   06-responsive.css — responsive overrides (must load AFTER components)
   ------------------------------------------------------------------ */
/* brand logo mark is white (designed for dark backgrounds) — render it dark
   on the light header */
.logo img {
  filter: brightness(0) saturate(100%);
}

@media (max-width: 1023px) {
  .burger {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .topbar__address {
    display: none;
  }
}

@media (max-width: 900px) {
  .about-intro .prose,
  .contact-grid > div,
  .order-card,
  .catalog-intro,
  .info-document,
  .catalog-article,
  .legal-document {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .about-intro .prose,
  .contact-grid > div,
  .order-card,
  .catalog-intro,
  .info-document,
  .catalog-article,
  .legal-document {
    padding: 20px;
    border-radius: var(--radius-lg);
  }

}

