:root {
  --bg: #10141b;
  --bg-soft: #141a23;
  --surface: #1a2029;
  --surface-2: #212836;
  --line: #2a3240;
  --line-strong: #3a4452;
  --text: #edeef0;
  --muted: #9aa4b1;
  --accent: #d4a531;
  --accent-2: #eec254;
  --accent-dim: rgba(212, 165, 49, 0.14);
  --on-accent: #181206;
  --header-bg: rgba(16, 20, 27, 0.86);
  --header-bg-scrolled: rgba(13, 17, 23, 0.97);
  --footer-bg: #0c0f14;
  --footer-muted: #6d7683;
  --row-stripe: rgba(255, 255, 255, 0.015);
  --hero-overlay: rgba(255, 255, 255, 0.02);
  --page-head-overlay: rgba(255, 255, 255, 0.016);
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --shadow-1: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 18px 48px rgba(0, 0, 0, 0.5);
  --container: 1160px;
  --header-h: 72px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --surface: #f0f1f4;
  --surface-2: #e8eaed;
  --line: #dce0e6;
  --line-strong: #c4c9d2;
  --text: #1a1d24;
  --muted: #5c6370;
  --accent: #d4a531;
  --accent-2: #b8912a;
  --accent-dim: rgba(212, 165, 49, 0.10);
  --on-accent: #181206;
  --header-bg: rgba(255, 255, 255, 0.86);
  --header-bg-scrolled: rgba(255, 255, 255, 0.97);
  --footer-bg: #f5f6f8;
  --footer-muted: #7a7f8a;
  --row-stripe: rgba(0, 0, 0, 0.025);
  --hero-overlay: rgba(0, 0, 0, 0.015);
  --page-head-overlay: rgba(0, 0, 0, 0.012);
  --shadow-1: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 18px 48px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.section {
  padding-block: clamp(56px, 9vw, 108px);
}

.section--alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
}

.section-lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.04rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}

.text-link::after {
  content: "\2192";
  transition: transform 0.18s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn--accent {
  background: linear-gradient(160deg, var(--accent-2), var(--accent));
  color: var(--on-accent);
}

.btn--accent:hover {
  box-shadow: 0 6px 22px rgba(212, 165, 49, 0.35);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: rgba(212, 165, 49, 0.55);
  color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--muted);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--muted);
}

.btn--dark {
  background: #171208;
  color: var(--accent-2);
}

.btn--dark:hover {
  background: #241a08;
  transform: translateY(-1px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header--scrolled {
  background: var(--header-bg-scrolled);
  border-color: var(--line);
  box-shadow: var(--shadow-1);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand .st {
  stroke: var(--accent);
  fill: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand__text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  margin-left: auto;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 4px;
}

.nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav__link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav__link--active {
  color: var(--accent);
}

.nav__link--active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav__phone {
  display: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}

.burger__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.burger__box i {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger--open .burger__box i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--open .burger__box i:nth-child(2) {
  opacity: 0;
}

.burger--open .burger__box i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 9vw, 120px) clamp(44px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, var(--hero-overlay) 0 1px, transparent 1px 96px),
    radial-gradient(720px 480px at 88% 4%, rgba(212, 165, 49, 0.12), transparent 64%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 44px;
}

.hero__title {
  font-size: clamp(2rem, 5.4vw, 3.45rem);
  line-height: 1.08;
}

.hl {
  font-style: normal;
  color: var(--accent);
  background: linear-gradient(transparent 68%, var(--accent-dim) 0);
}

.hero__lead {
  margin-top: 22px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

.stats {
  border-block: 1px solid var(--line);
}

.stats__grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.stats__grid::-webkit-scrollbar {
  display: none;
}

.stat {
  flex: 1 0 170px;
  padding: 24px clamp(10px, 2vw, 22px);
  text-align: center;
  scroll-snap-align: start;
}

.stat:not(:first-child) {
  border-left: 1px solid var(--line);
}

.stat b {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.adv {
  counter-reset: adv;
}

.adv-item {
  position: relative;
  display: grid;
  gap: 8px 26px;
  padding: 26px clamp(10px, 2.5vw, 26px);
  margin-inline: calc(clamp(10px, 2.5vw, 26px) * -1);
  border-top: 1px solid var(--line);
  transition: background 0.18s ease;
}

.adv-item:last-child {
  border-bottom: 1px solid var(--line);
}

.adv-item:nth-child(even) {
  background: var(--bg-soft);
}

.adv-item:hover {
  background: var(--surface);
}

.adv-num {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.adv-title {
  font-size: 1.1rem;
  font-weight: 750;
}

.adv-text {
  color: var(--muted);
  font-size: 0.96rem;
}

.svc-grid {
  display: grid;
  gap: 16px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.svc-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 165, 49, 0.55);
  box-shadow: var(--shadow-2);
}

.svc-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  color: var(--accent);
}

.svc-card__icon svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-card h3 {
  font-size: 1.14rem;
}

.svc-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.svc-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 650;
}

.svc-card__more::after {
  content: "\2192";
  transition: transform 0.18s ease;
}

.svc-card:hover .svc-card__more::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  gap: 40px;
  align-items: start;
}

.split__body > p + p {
  margin-top: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 22px;
}

.chips li {
  padding: 8px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.87rem;
  color: var(--muted);
}

.clients {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.client {
  background: var(--bg);
  padding: 24px 22px;
}

.client small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.client b {
  display: block;
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.4;
}

.client span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #e9bf4e 0%, var(--accent) 52%, #b3872a 100%);
  color: var(--on-accent);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(23, 18, 8, 0.06) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: grid;
  gap: 26px;
  padding-block: clamp(48px, 7vw, 76px);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  color: #171208;
  max-width: 22ch;
}

.cta-band p {
  margin-top: 10px;
  color: rgba(23, 18, 8, 0.78);
  max-width: 52ch;
}

.cta-band__phone {
  display: inline-block;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 800;
  color: #171208;
  text-decoration: none;
  border-bottom: 3px solid rgba(23, 18, 8, 0.35);
}

.cta-band__phone:hover {
  border-bottom-color: #171208;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 84px) 0 clamp(30px, 4vw, 44px);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, var(--page-head-overlay) 0 1px, transparent 1px 110px),
    radial-gradient(600px 320px at 90% 0%, rgba(212, 165, 49, 0.09), transparent 62%);
  pointer-events: none;
}

.page-head .container {
  position: relative;
}

.page-head .hero-logo {
  float: right;
  width: clamp(130px, 24vw, 215px);
  height: auto;
  margin: 10px 0 22px clamp(20px, 4vw, 44px);
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.32));
}

.page-head h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.7rem);
  max-width: 26ch;
}

.page-head .section-lead {
  max-width: 62ch;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.jump a {
  padding: 8px 15px;
  border: 1px solid rgba(212, 165, 49, 0.4);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.jump a:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.service {
  padding-block: clamp(46px, 7vw, 80px);
  border-top: 1px solid var(--line);
}

.service:nth-of-type(even) {
  background: var(--bg-soft);
}

.service__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.service__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--accent-dim);
  border: 1px solid rgba(212, 165, 49, 0.3);
  border-radius: 14px;
  color: var(--accent);
}

.service__icon svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
}

.service__tag {
  display: block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.service__text {
  margin-top: 14px;
  color: var(--muted);
  max-width: 70ch;
}

.ticks {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 22px;
  max-width: 640px;
}

@media (min-width: 720px) {
  .ticks {
    grid-template-columns: 1fr 1fr;
    gap: 10px 26px;
  }
}

.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 0.94rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  background: var(--accent-dim);
  border-radius: 6px;
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.service__foot {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: 0.92rem;
  color: var(--muted);
}

.price-group {
  margin-top: clamp(36px, 5vw, 56px);
}

.price-group:first-of-type {
  margin-top: 0;
}

.price-group__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.price-group__bar h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  white-space: nowrap;
}

.price-group__bar::after {
  /* content: ""; */
  flex: 1;
  height: 0px;
  background: var(--line);
}

.price-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent-dim);
  border-radius: 10px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg-soft);
}

.table-scroll table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.table-scroll th,
.table-scroll td {
  padding: 14px 18px;
  text-align: left;
}

.table-scroll thead th {
  background: var(--surface);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.table-scroll tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.table-scroll tbody tr:nth-child(even) {
  background: var(--row-stripe);
}

.table-scroll td:nth-child(even) {
  white-space: nowrap;
  font-weight: 750;
  color: var(--accent);
}

.price-note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--muted);
}

.how-price {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.how-price h2 {
  font-size: 1.15rem;
}

.how-price ol {
  list-style: none;
  counter-reset: hp;
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.how-price li {
  counter-increment: hp;
  position: relative;
  padding-left: 42px;
  font-size: 0.92rem;
  color: var(--muted);
}

.how-price li::before {
  content: "0" counter(hp);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
}

.how-price .btn {
  margin-top: 22px;
  width: 100%;
}

.how-price__phone {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.how-price__phone a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.contact-item__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 12px;
  color: var(--accent);
}

.contact-item__icon svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item h2 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item p {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 650;
}

.contact-item p a {
  color: var(--accent);
  text-decoration: none;
}

.contact-item p a:hover {
  text-decoration: underline;
}

.contact-item small {
  display: block;
  margin-top: 4px;
  font-size: 0.83rem;
  color: var(--muted);
}

.doc-panel {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-m);
}

.doc-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.kv-list {
  display: grid;
  gap: 14px;
}

.kv-list div {
  display: grid;
  gap: 3px;
}

.kv-list dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.kv-list dd {
  font-size: 0.95rem;
}

.timeline {
  list-style: none;
  position: relative;
  max-width: 720px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 30px 38px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: var(--bg);
}

.timeline b {
  display: block;
  color: var(--accent);
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.timeline p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 58ch;
}

.principles {
  list-style: none;
  counter-reset: pr;
  display: grid;
  gap: 26px;
}

.principles li {
  counter-increment: pr;
  position: relative;
  padding-left: 64px;
}

.principles li::before {
  content: "0" counter(pr);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.principles h3 {
  font-size: 1.08rem;
}

.principles p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 58ch;
}

.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
}

.footer__main {
  display: grid;
  gap: 36px;
  padding-block: clamp(44px, 6vw, 60px) 36px;
}

.brand--footer .brand__text strong {
  font-size: 0.98rem;
}

.footer__desc {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__note {
  margin-top: 12px;
  max-width: 40ch;
  font-size: 0.8rem;
  color: var(--footer-muted);
}

.footer__title {
  margin: 4px 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__col nav ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__col nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.15s ease;
}

.footer__col nav a:hover {
  color: var(--accent);
}

.footer__contacts {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--muted);
}

.footer__contacts a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__contacts a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  justify-content: space-between;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--footer-muted);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 300;
  width: min(660px, calc(100% - 32px));
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--muted);
  background: var(--surface);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }

[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }

@media (min-width: 720px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner p {
    margin-right: 18px;
  }

  .clients {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

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

  .cta-band__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .nav__list {
    gap: 6px;
  }

  .nav__phone {
    display: none !important;
  }

  .burger {
    display: none;
  }

  .adv-item {
    grid-template-columns: 72px 280px 1fr;
    align-items: baseline;
  }

  .svc-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .svc--w3 {
    grid-column: span 3;
  }

  .svc--w2 {
    grid-column: span 2;
  }

  .svc--full {
    grid-column: span 6;
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .svc--full .svc-card__more {
    margin-top: 0;
    margin-left: auto;
  }

  .service__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
  }

  .price-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 48px;
    align-items: start;
  }

  .contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
  }

  .footer__main {
    grid-template-columns: 1.35fr 0.8fr 1.1fr;
    gap: 48px;
  }
}

@media (max-width: 991.98px) {
  .header__cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 24px clamp(16px, 4vw, 32px) 40px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow-y: auto;
  }

  .nav--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__list li + li {
    border-top: 1px solid var(--line);
  }

  .nav__link {
    padding: 18px 6px;
    font-size: 1.15rem;
    border-radius: 0;
  }

  .nav__link--active::after {
    left: 6px;
    right: auto;
    width: 28px;
    bottom: 12px;
  }

  .nav__phone {
    display: inline-flex;
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
