@font-face {
  font-family: "Manrope";
  src: url("/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/Inter-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* =========================================================
   ОСНОВА И ТЕМЫ
   ========================================================= */
:root {
  --page-background: #f3f1eb;
  --surface: #faf8f2;
  --surface-translucent: rgba(250, 248, 242, 0.82);
  --text: #151513;
  --muted: #686761;
  --border: rgba(21, 21, 19, 0.16);
  --border-strong: rgba(21, 21, 19, 0.36);
  --shadow: 0 20px 58px rgba(35, 31, 21, 0.09);
  --accent: #151513;
  --accent-text: #fff;
  --card-radius: 22px;
  --page-gap: clamp(14px, 2.4vw, 42px);
  --grid-gap: 12px;
}

html[data-theme="dark"] {
  --page-background: #11110f;
  --surface: #1d1d1a;
  --surface-translucent: rgba(29, 29, 26, 0.84);
  --text: #f5f3ed;
  --muted: #aaa79f;
  --border: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.34);
  --shadow: 0 22px 68px rgba(0, 0, 0, 0.32);
  --accent: #f5f3ed;
  --accent-text: #151513;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%,
      rgba(142, 175, 255, 0.12),
      transparent 34rem),
    radial-gradient(circle at 88% 84%,
      rgba(236, 178, 91, 0.1),
      transparent 30rem),
    var(--page-background);
  background-position:
    0 0,
    100% 100%,
    0 0;
  background-size:
    112% 112%,
    116% 116%,
    auto;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  animation: page-ambient 30s ease-in-out infinite alternate;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

/* =========================================================
   СПОКОЙНАЯ ФОНОВАЯ ГРАФИКА
   ========================================================= */
.ambient-canvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-canvas__graphic {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ambient-canvas__graphic--mesh {
  top: -90px;
  left: -120px;
  width: min(62vw, 880px);
  color: #2e67b0;
  opacity: 0.075;
  animation: ambient-mesh-drift 24s ease-in-out infinite alternate;
}

.ambient-canvas__graphic--orbit {
  right: -140px;
  bottom: -180px;
  width: min(54vw, 760px);
  color: #01aeb1;
  opacity: 0.065;
  animation: ambient-orbit-drift 28s ease-in-out infinite alternate;
}

html[data-theme="dark"] .ambient-canvas__graphic--mesh {
  opacity: 0.11;
}

html[data-theme="dark"] .ambient-canvas__graphic--orbit {
  opacity: 0.09;
}

.site-header,
.page,
.site-footer {
  position: relative;
  z-index: 1;
}

@keyframes ambient-mesh-drift {
  to {
    transform: translate3d(34px, 22px, 0) scale(1.025);
  }
}

@keyframes ambient-orbit-drift {
  to {
    transform: translate3d(-28px, -18px, 0) scale(1.035);
  }
}

/* =========================================================
   SVG-СПРАЙТ
   ========================================================= */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* =========================================================
   ШАПКА
   ========================================================= */
.site-header {
  width: 100%;
  user-select: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 22px var(--page-gap);
}

.site-header__logo-link {
  display: inline-flex;
  width: clamp(154px, 15vw, 226px);
  text-decoration: none;
}

.site-header__logo {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   СТРАНИЦА И ПЕРВЫЙ ЭКРАН
   ========================================================= */
.page {
  width: 100%;
  padding: 18px var(--page-gap) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: end;
  gap: clamp(26px, 4vw, 74px);
  margin-bottom: clamp(30px, 5vw, 72px);
}

.hero[hidden] {
  display: none;
}

.hero__eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  user-select: none;
}

.hero__title {
  user-select: none;
  max-width: 1120px;
  margin: 0;
  font-size: clamp(44px, 5.8vw, 88px);
  font-weight: 820;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__title,
.service-card__title,
.service-detail__title,
.service-detail__section-title,
.feedback-modal__title,
.feedback-form__label,
.service-card__kicker,
.service-card__action,
.site-footer__heading {
  font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  user-select: none;
}

.hero__text {
  max-width: 840px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.58;
}

.hero__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  user-select: none;
}

@media (min-width: 640px) {
  .hero__title--root {
    max-width: none;
    font-size: clamp(48px, 5.25vw, 84px);
    white-space: nowrap;
  }
}

/* =========================================================
   ПОИСК
   ========================================================= */
.service-search {
  position: relative;
  z-index: 12;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0 6px;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
}

.service-search__suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 2px);
  right: 0;
  left: 0;
  max-height: 330px;
  overflow: auto;
  border: 1px solid var(--border);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 22px 50px rgba(20, 29, 34, 0.18);
  backdrop-filter: blur(16px);
}

.service-search__suggestions[hidden] {
  display: none;
}

.service-search__suggestions button {
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.service-search__suggestions button:last-child {
  border-bottom: 0;
}

.service-search__suggestions button:is(:hover, :focus-visible),
.service-search__suggestions button[aria-selected="true"] {
  background: color-mix(in srgb, #01cdcb 9%, var(--surface));
}

.service-search__suggestions button > span,
.service-search__suggestions button strong,
.service-search__suggestions button small {
  display: block;
}

.service-search__suggestions button strong {
  font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 760;
}

.service-search__suggestions button small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}

.service-search__suggestions button > small {
  flex: 0 0 auto;
  margin: 0;
  font-size: 11px;
  white-space: nowrap;
}

.service-search:focus-within {
  border-bottom: 2px solid #01cdcb;
}

.service-search:hover {
  border-bottom-color: color-mix(in srgb,
      #01cdcb 55%,
      var(--border-strong));
}

.service-search__icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  opacity: 0.58;
}

.service-search__input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  user-select: text;
}

.service-search__input::placeholder {
  color: var(--muted);
}

.service-search__clear {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.service-search__clear--visible {
  display: grid;
}

.service-search__clear-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* =========================================================
   НАВИГАЦИЯ ПО УРОВНЯМ
   ========================================================= */
.service-navigation {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  user-select: none;
}

.service-navigation__breadcrumbs {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.service-navigation__link {
  max-width: min(46vw, 520px);
  overflow: hidden;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.service-navigation__link:hover {
  color: var(--text);
}

.service-navigation__separator {
  opacity: 0.48;
}

.service-navigation__back {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.service-navigation__back--visible {
  display: inline-flex;
}

.service-navigation__back {
  position: relative;
  padding-right: 0;
  padding-left: 0;
  font-size: 12px;
  font-weight: 740;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.service-navigation__back::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.service-navigation__back:hover::after,
.service-navigation__back:focus-visible::after {
  transform: scaleX(1);
}

.service-navigation:not(:has(.service-navigation__back--visible)):has(.service-navigation__breadcrumbs:empty) {
  display: none;
}

.service-navigation__back-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

/* =========================================================
   РАБОЧАЯ ОБЛАСТЬ
   ========================================================= */
.services-view {
  width: 100%;
  min-height: 320px;
}

.services-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: var(--grid-gap);
}

.services-grid--matrix {
  grid-auto-rows: 168px;
}

.services-grid--catalog {
  grid-auto-rows: 260px;
}

/* =========================================================
   КАРТОЧКА УСЛУГИ
   ========================================================= */
.service-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  user-select: none;
  background-size: 140% 140%;
  animation: card-breathe 12s ease-in-out infinite alternate;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-6px) scale(1.006);
  border-color: var(--border-strong);
  filter: saturate(1.05);
  box-shadow: 0 28px 72px rgba(24, 28, 31, 0.16);
}

.service-card:hover .service-card__icon--small {
  opacity: 0.92;
  transform: translateY(-2px) scale(1.06);
}

.service-card:hover .service-card__icon--background {
  opacity: 0.145;
}

.service-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--text) 22%, transparent);
  outline-offset: 3px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(145deg,
      transparent,
      rgba(255, 255, 255, 0.018));
  pointer-events: none;
}

.service-card--shine::after {
  content: "";
  position: absolute;
  inset: -75%;
  z-index: -1;
  background: linear-gradient(108deg,
      transparent 43%,
      color-mix(in srgb, currentColor 10%, transparent) 50%,
      transparent 57%);
  opacity: 0;
  transform: translateX(-46%) rotate(8deg);
  pointer-events: none;
}

.service-card--shine:hover::after {
  animation: card-sheen 0.8s ease both;
}

.service-card--ink {
  --border: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.38);
  color: #f7f5ef;
  background: #191917;
}

.service-card--paper {
  color: #151513;
  background: #f9f7f0;
}

.service-card--amber {
  color: #20170d;
  background: linear-gradient(145deg, #f5d49c, #efb75f);
}

.service-card--green {
  color: #101a14;
  background: linear-gradient(145deg, #d7efdf, #94cba4);
}

.service-card--blue {
  color: #101722;
  background: linear-gradient(145deg, #dceaff, #9dc2ff);
}

.service-card--brand {
  color: #071a24;
  background: linear-gradient(145deg,
      #c8edff 0%,
      #9ed9f3 46%,
      #8ee2df 100%);
}

.service-card--external {
  background-size: 220% 220%;
  animation: connect-card-flow 9s ease-in-out infinite alternate;
}

.service-card__footer--action-only {
  justify-content: flex-end;
}

.service-card--outline {
  box-shadow: none;
  background: color-mix(in srgb, var(--surface) 34%, transparent);
  border-style: dashed;
}

.service-card__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.service-card__header-tools {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(151, 67, 9, 0.22);
  border-radius: 999px;
  color: #672706;
  background: rgba(255, 244, 225, 0.82);
  box-shadow: 0 8px 20px rgba(210, 89, 17, 0.12);
  font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.065em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-card__tag-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #e6540d;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__tag--new {
  border-color: rgba(11, 137, 163, 0.24);
  color: #075166;
  background: rgba(226, 250, 253, 0.88);
  box-shadow: 0 8px 20px rgba(16, 157, 184, 0.11);
}

.service-card__tag--new .service-card__tag-icon {
  stroke: #08a9ba;
}

.service-card--tag-new {
  border-color: color-mix(in srgb, #18b9ca 32%, var(--border));
  box-shadow:
    0 20px 58px rgba(16, 157, 184, 0.1),
    var(--shadow);
}

.service-card--tag-new::before {
  background:
    radial-gradient(circle at 88% 7%, rgba(78, 221, 224, 0.2), transparent 40%),
    linear-gradient(135deg, rgba(185, 244, 248, 0.11), rgba(39, 170, 207, 0.025));
}

.service-card--tag-new:hover {
  border-color: color-mix(in srgb, #18b9ca 58%, var(--border-strong));
  box-shadow:
    0 28px 74px rgba(16, 157, 184, 0.18),
    0 18px 48px rgba(24, 28, 31, 0.1);
}

.service-card__fresh-effects {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.service-card__fresh-sheen {
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -38%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(215, 255, 255, 0.78), transparent);
  opacity: 0;
  transform: skewX(-18deg);
}

.service-card__fresh-glint {
  position: absolute;
  top: 16px;
  right: 23%;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #10b6c4;
  box-shadow: 0 0 9px rgba(16, 182, 196, 0.34);
  opacity: 0;
}

.service-card__fresh-glint::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -5px;
  width: 13px;
  height: 3px;
  border-radius: 2px;
  background: inherit;
}

.service-card__fresh-glint:nth-child(3) {
  top: 29px;
  right: 12%;
  scale: 0.62;
}

.service-card--tag-new:is(:hover, :focus-visible) .service-card__fresh-sheen {
  animation: new-card-sheen 0.78s ease both;
}

.service-card--tag-new:is(:hover, :focus-visible) .service-card__fresh-glint {
  animation: new-card-glint 0.72s ease 0.16s both;
}

.service-card--tag-new:is(:hover, :focus-visible) .service-card__fresh-glint:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes new-card-sheen {
  0% { opacity: 0; translate: 0; }
  24% { opacity: 0.72; }
  100% { opacity: 0; translate: 780%; }
}

@keyframes new-card-glint {
  0%, 100% { opacity: 0; transform: rotate(35deg) scale(0.45); }
  45% { opacity: 0.95; transform: rotate(35deg) scale(1); }
}

.service-card--tag-popular {
  overflow: visible;
  border-color: color-mix(in srgb, #ed741e 34%, var(--border));
  box-shadow:
    0 20px 58px rgba(213, 94, 21, 0.11),
    var(--shadow);
}

.service-card--tag-popular::before {
  border-radius: inherit;
  background:
    radial-gradient(circle at 88% 5%, rgba(255, 137, 49, 0.24), transparent 42%),
    linear-gradient(135deg, rgba(255, 216, 180, 0.12), rgba(255, 122, 36, 0.035));
}

.service-card--tag-popular:hover {
  border-color: color-mix(in srgb, #ed741e 58%, var(--border-strong));
  box-shadow:
    0 28px 74px rgba(213, 94, 21, 0.2),
    0 18px 48px rgba(24, 28, 31, 0.1);
}

.service-card__sparks {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.service-card__spark {
  --spark-x: -18px;
  --spark-y: -12px;
  position: absolute;
  left: -2px;
  top: 24%;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: #f26419;
  box-shadow: 0 0 8px rgba(242, 100, 25, 0.26);
  opacity: 0;
}

.service-card__spark:nth-child(1) { transform: rotate(-48deg); }
.service-card__spark:nth-child(2) { --spark-x: -22px; --spark-y: 2px; top: 52%; width: 5px; height: 5px; border-radius: 50%; }
.service-card__spark:nth-child(3) { --spark-x: -14px; --spark-y: 17px; top: 74%; height: 9px; transform: rotate(62deg); }
.service-card__spark:nth-child(4) { --spark-x: 18px; --spark-y: -14px; right: -2px; left: auto; top: 20%; transform: rotate(48deg); }
.service-card__spark:nth-child(5) { --spark-x: 23px; --spark-y: 1px; right: -2px; left: auto; top: 48%; width: 5px; height: 5px; border-radius: 50%; }
.service-card__spark:nth-child(6) { --spark-x: 16px; --spark-y: 16px; right: -2px; left: auto; top: 72%; height: 10px; transform: rotate(-60deg); }
.service-card__spark:nth-child(7) { --spark-x: 20px; --spark-y: -4px; right: -2px; left: auto; top: 38%; width: 3px; height: 3px; border-radius: 50%; }

.service-card--tag-popular:is(:hover, :focus-visible) .service-card__spark {
  animation: popular-card-spark 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.service-card--tag-popular:is(:hover, :focus-visible) .service-card__spark:nth-child(2) { animation-delay: 0.04s; }
.service-card--tag-popular:is(:hover, :focus-visible) .service-card__spark:nth-child(3) { animation-delay: 0.08s; }
.service-card--tag-popular:is(:hover, :focus-visible) .service-card__spark:nth-child(4) { animation-delay: 0.12s; }
.service-card--tag-popular:is(:hover, :focus-visible) .service-card__spark:nth-child(5) { animation-delay: 0.16s; }
.service-card--tag-popular:is(:hover, :focus-visible) .service-card__spark:nth-child(6) { animation-delay: 0.2s; }
.service-card--tag-popular:is(:hover, :focus-visible) .service-card__spark:nth-child(7) { animation-delay: 0.24s; }

@keyframes popular-card-spark {
  0% { opacity: 0; translate: 0 0; scale: 0.45; }
  20% { opacity: 0.95; }
  100% { opacity: 0; translate: var(--spark-x) var(--spark-y); scale: 1.05; }
}

.service-card__kicker {
  max-width: 72%;
  color: currentColor;
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.115em;
  line-height: 1.35;
  text-transform: uppercase;
  opacity: 0.58;
}

.service-card__icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.service-card__icon--small {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  opacity: 0.62;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.service-card__icon--background {
  position: absolute;
  top: 0;
  right: -2%;
  bottom: 0;
  z-index: -1;
  width: min(38%, 300px);
  height: 100%;
  opacity: 0.095;
  transform-origin: center;
  animation: icon-drift 8s ease-in-out infinite alternate;
}

.service-card__body {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.service-card--background-icon .service-card__body {
  max-width: 66%;
}

.service-card__title {
  user-select: none;
  max-width: 100%;
  margin: clamp(26px, 4vh, 50px) 0 0;
  font-size: clamp(27px, 2vw, 38px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
  text-wrap: balance;
}

.service-card__description {
  max-width: 620px;
  margin: 16px 0 0;
  color: currentColor;
  font-size: 14px;
  line-height: 1.58;
  opacity: 0.68;
}

.service-card__path {
  display: block;
  margin: 12px 0 0;
  color: currentColor;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.58;
}

.service-card__footer {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
}

.service-card__terms {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  color: currentColor;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.62;
}

.service-card__term {
  white-space: nowrap;
}

.service-card__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 860;
  letter-spacing: 0.09em;
  white-space: nowrap;
  text-transform: uppercase;
}

.service-card__action-icon,
.service-detail__button-icon,
.feedback-form__submit-icon {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.service-detail__button-icon {
  width: 19px;
  height: 19px;
}

:is(.service-card, .feedback-form__submit):hover :is(.service-card__action-icon, .feedback-form__submit-icon) {
  transform: translateX(4px);
  opacity: 0.86;
}

/* Геометрия карточки влияет только на размеры текста и отступы.
   Содержание и заголовок всегда остаются полными */
.service-card[data-row-span="1"] {
  padding: 16px 18px;
}

.service-card[data-row-span="1"] .service-card__header {
  min-height: 13px;
}

.service-card[data-row-span="1"] .service-card__kicker {
  font-size: 10px;
}

.service-card[data-row-span="1"] .service-card__title {
  margin-top: 9px;
  font-size: clamp(20px, 1.75vw, 28px);
  line-height: 0.98;
}

.service-card[data-row-span="1"] .service-card__description {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.3;
}

.service-card[data-row-span="1"] .service-card__footer {
  margin-top: 8px;
}

.service-card[data-row-span="1"] .service-card__terms {
  font-size: 10px;
}

.service-card[data-column-span="2"][data-row-span="2"] .service-card__title {
  font-size: clamp(23px, 2vw, 32px);
}

.service-card[data-column-span="2"][data-row-span="2"] .service-card__description {
  font-size: 12px;
  line-height: 1.42;
}

.services-grid--catalog .service-card[data-row-span="1"] {
  padding: 28px;
}

/* =========================================================
   ЭКРАН КОНКРЕТНОЙ УСЛУГИ
   ========================================================= */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.5fr);
  align-items: start;
  gap: clamp(14px, 1.6vw, 24px);
}

.service-detail__main,
.service-detail__aside {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface-translucent);
  box-shadow: var(--shadow);
}

.service-detail__main {
  padding: clamp(30px, 4vw, 58px);
  user-select: text;
}

.service-detail__icon {
  position: absolute;
  top: 34px;
  right: 3%;
  width: min(22%, 180px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  opacity: 0.045;
  pointer-events: none;
}

.service-detail__eyebrow,
.service-detail__aside-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  user-select: none;
}

.service-detail__title {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: clamp(38px, 4.25vw, 66px);
  line-height: 0.97;
  letter-spacing: -0.047em;
  text-wrap: balance;
  user-select: none;
}

.service-detail__lead {
  max-width: 820px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.32vw, 19px);
  line-height: 1.62;
}

.service-detail__section {
  margin-top: clamp(34px, 4vw, 52px);
}

.service-detail__section-title {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 800;
  letter-spacing: -0.032em;
  user-select: none;
}

.service-detail__list {
  display: block;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.service-detail__item {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.45;
}

.service-detail__number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.service-detail__extended {
  max-width: 820px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
  white-space: pre-line;
}

.service-detail__aside {
  position: sticky;
  top: 18px;
  padding: clamp(26px, 3vw, 38px);
  user-select: none;
}

.service-detail__aside-label {
  margin-bottom: 18px;
}

.service-detail__facts {
  display: grid;
}

.service-detail__fact {
  padding: 0 0 19px;
  border-bottom: 1px solid var(--border);
}

.service-detail__fact+.service-detail__fact {
  padding-top: 19px;
}

.service-detail__fact-value {
  display: block;
  font-size: clamp(22px, 2.05vw, 32px);
  font-weight: 820;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.service-detail__fact--price .service-detail__fact-value {
  font-size: clamp(29px, 2.85vw, 44px);
}

.service-detail__fact-label {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* =========================================================
   ПУСТОЙ ПОИСК
   ========================================================= */
.search-empty {
  width: 100%;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 50px 22px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--card-radius);
  color: var(--muted);
  text-align: center;
}

.search-empty__text {
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

.feedback-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 19, 28, 0.58);
  backdrop-filter: blur(10px);
}

.feedback-modal[hidden] {
  display: none;
}

.feedback-modal__dialog {
  width: min(720px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  animation: feedback-dialog-in 0.28s ease both;
}

.feedback-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--border);
}

.feedback-modal__title {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
  user-select: none;
}

.feedback-modal__description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.feedback-modal__close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.feedback-modal__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.feedback-form {
  display: grid;
  gap: 20px;
  padding: 26px 30px 30px;
}

.feedback-form__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.feedback-form__label {
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.06em;
  user-select: none;
}

.feedback-form__input,
.feedback-form__textarea,
.feedback-form__select {
  width: 100%;
  min-height: 48px;
  padding: 8px 0 5px;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  user-select: text;
}

.feedback-form__select option {
  color: #151513;
  background: #fff;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

.feedback-form__textarea {
  min-height: 110px;
  resize: vertical;
}

.feedback-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.feedback-form__input:focus,
.feedback-form__textarea:focus,
.feedback-form__select:focus {
  border-bottom: 2px solid #01cdcb;
}

.feedback-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  user-select: none;
}

.feedback-form__consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #01cdcb;
  opacity: 1;
  pointer-events: none;
}

.feedback-form__consent a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.feedback-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
}

.feedback-form__status {
  min-height: 20px;
  margin: 0;
  color: #00a755;
  font-size: 12px;
}

.feedback-form__status--error {
  flex: 1 0 100%;
  min-height: 0;
  padding: 13px 15px;
  border-left: 4px solid #dc8f00;
  color: #2d3337;
  background: linear-gradient(135deg, #ffd84a, #f2b900);
  font-weight: 400;
  line-height: 1.45;
  box-shadow: 0 9px 24px rgba(111, 81, 0, 0.13);
  user-select: none;
}

.feedback-form__actions:has(.feedback-form__status--error) {
  flex-wrap: wrap;
}

.feedback-form__actions:has(.feedback-form__status--error) .feedback-form__submit {
  margin-left: auto;
}

.feedback-form__submit {
  position: relative;
  min-width: 190px;
  min-height: 46px;
  padding: 0 18px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(110deg,
      #285c9d 0%,
      #3286c7 31%,
      #01cdcb 66%,
      #285c9d 100%);
  background-size: 230% 100%;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.055em;
  cursor: pointer;
  animation: action-flow 7s ease-in-out infinite;
}

.feedback-form__submit:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
}

.feedback-form__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.feedback-form[hidden],
.feedback-success[hidden] {
  display: none;
}

.feedback-modal__dialog--success {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #00c967, #009f53);
}

.feedback-modal__dialog--success .feedback-modal__header {
  display: none;
}

.feedback-success {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 42px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  animation: feedback-success-arrive 0.65s cubic-bezier(0.2, 0.9, 0.25, 1);
}

.feedback-success__mark {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #00a755;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1);
  font-size: 48px;
  animation: feedback-success-check 0.7s cubic-bezier(0.2, 0.9, 0.25, 1.25);
}

.feedback-success > div,
.feedback-success__home {
  position: relative;
  z-index: 2;
}

.feedback-success h2 {
  margin: 0 0 8px;
  font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.feedback-success p {
  max-width: 460px;
  margin: 0;
  line-height: 1.5;
}

.feedback-success__home {
  margin-top: 8px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.055em;
  cursor: pointer;
}

.feedback-success__home span {
  font-size: 18px;
  transition: transform 0.18s ease;
}

.feedback-success__home:hover span {
  transform: translateX(4px);
}

.feedback-success__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feedback-success__sparkles i {
  position: absolute;
  width: 7px;
  height: 22px;
  background: rgba(255, 255, 255, 0.72);
  animation: feedback-success-spark 3.8s ease-in-out infinite;
}

.feedback-success__sparkles i:nth-child(1) { top: 14%; left: 14%; transform: rotate(24deg); }
.feedback-success__sparkles i:nth-child(2) { top: 24%; right: 13%; width: 9px; height: 9px; border-radius: 50%; animation-delay: -1.2s; }
.feedback-success__sparkles i:nth-child(3) { bottom: 17%; left: 20%; height: 12px; transform: rotate(70deg); animation-delay: -2.4s; }
.feedback-success__sparkles i:nth-child(4) { right: 22%; bottom: 12%; transform: rotate(-35deg); animation-delay: -0.7s; }
.feedback-success__sparkles i:nth-child(5) { top: 48%; left: 7%; width: 6px; height: 6px; border-radius: 50%; animation-delay: -1.8s; }
.feedback-success__sparkles i:nth-child(6) { top: 8%; right: 36%; height: 14px; transform: rotate(60deg); animation-delay: -3s; }

@keyframes feedback-success-arrive {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
}

@keyframes feedback-success-check {
  from { opacity: 0; transform: scale(0.55) rotate(-12deg); }
}

@keyframes feedback-success-spark {
  0%, 100% { opacity: 0.18; translate: 0 0; }
  50% { opacity: 0.8; translate: 0 -12px; }
}

/* =========================================================
   ПОЛНЫЙ ПЕРЕЧЕНЬ УСЛУГ
   Формируется из serviceTree: код, полное название и цена
   ========================================================= */
.all-services {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  background: var(--surface-translucent);
  box-shadow: var(--shadow);
}

.all-services__head,
.all-services__row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(150px, auto) 24px;
  align-items: center;
  gap: 18px;
}

.all-services__head {
  padding: 14px clamp(20px, 2.6vw, 38px);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
}

.all-services__group+.all-services__group {
  border-top: 1px solid var(--border);
}

.all-services__group-header {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 18px;
  padding: 22px clamp(20px, 2.6vw, 38px) 14px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.all-services__group-code {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.1em;
}

.all-services__group-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  user-select: none;
}

.all-services__group-count {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  user-select: none;
}

.all-services__row {
  width: 100%;
  min-height: 62px;
  padding: 13px clamp(20px, 2.6vw, 38px);
  border: 0;
  border-top: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.all-services__group--standalone .all-services__row {
  border-top: 0;
}

.all-services__row:hover,
.all-services__row:focus-visible {
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

.all-services__row:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--text) 28%, transparent);
  outline-offset: -2px;
}

.all-services__code {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  user-select: none;
}

.all-services__name {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.35;
}

.all-services__tag {
  min-height: 21px;
  padding: 4px 7px;
  gap: 4px;
  font-size: 8px;
  flex: 0 0 auto;
}

.all-services__tag .service-card__tag-icon {
  width: 12px;
  height: 12px;
}

.all-services__price {
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.all-services__arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.18s ease;
}

.all-services__row:hover .all-services__arrow {
  transform: translateX(4px);
}

@media (max-width: 639px) {
  .all-services__head {
    display: none;
  }

  .all-services__group-header {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 18px;
  }

  .all-services__group-count {
    display: none;
  }

  .all-services__row {
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    grid-template-areas:
      "code name arrow"
      ". price arrow";
    gap: 5px 10px;
    min-height: 76px;
    padding: 14px 18px;
  }

  .all-services__code {
    grid-area: code;
  }

  .all-services__name {
    grid-area: name;
    display: grid;
    justify-items: start;
    gap: 7px;
    overflow-wrap: anywhere;
  }

  .all-services__tag {
    margin-top: 1px;
  }

  .all-services__price {
    grid-area: price;
    color: var(--muted);
    font-size: 12px;
  }

  .all-services__arrow {
    grid-area: arrow;
  }
}

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.site-footer {
  width: 100%;
  margin-top: clamp(48px, 6vw, 84px);
  overflow: hidden;
  color: #edf4f6;
  background: linear-gradient(135deg, #07131c, #0a1d2a 62%, #08303b);
  user-select: none;
}

.site-footer__graphics {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: min(52vw, 760px);
  height: 100%;
  color: #50d9da;
  opacity: 0.16;
  transform: translateY(-12px);
  pointer-events: none;
}

.site-footer__graphics-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-dasharray: 8 14;
  animation: footer-line-flow 22s linear infinite;
}

.site-footer__graphics-node {
  fill: currentColor;
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  animation: footer-node-pulse 6s ease-in-out infinite alternate;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 170px auto;
  align-items: start;
  justify-content: start;
  gap: clamp(34px, 4vw, 62px);
  padding: clamp(25px, 3vw, 34px) var(--page-gap);
}

.site-footer__brand {
  min-width: 0;
  padding-top: 2px;
}

.site-footer__logo {
  display: block;
  width: 158px;
  max-width: 100%;
  height: auto;
  color: #fff;
}

.site-footer__groups {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-self: start;
  gap: clamp(28px, 3.4vw, 50px);
  width: auto;
}

.site-footer__group {
  min-width: 0;
}

.site-footer__heading {
  margin: 0 0 5px;
  color: #b8d7df;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__link {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: #edf4f6;
  font-size: 12px;
  line-height: 1.42;
  text-decoration: none;
}

.site-footer__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.site-footer__link:hover::after,
.site-footer__link:focus-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: no-preference) {

  .site-footer--animated .site-footer__logo,
  .site-footer--animated .site-footer__group {
    opacity: 0;
    transform: translateY(7px);
    transition:
      opacity 0.48s ease,
      transform 0.48s ease;
  }

  .site-footer--animated.is-visible .site-footer__logo,
  .site-footer--animated.is-visible .site-footer__group {
    opacity: 1;
    transform: translateY(0);
  }

  .site-footer--animated.is-visible .site-footer__group:nth-child(2) {
    transition-delay: 0.07s;
  }
}

@keyframes footer-line-flow {
  to {
    stroke-dashoffset: -220;
  }
}

@keyframes footer-node-pulse {
  to {
    opacity: 0.9;
    transform: scale(1.22);
  }
}

/* =========================================================
   ПЛАНШЕТ: СР
   ========================================================= */
@media (max-width: 1099px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .services-grid--matrix {
    grid-auto-rows: 160px;
  }

  .services-grid--catalog {
    grid-auto-rows: 270px;
  }

  .service-card__title {
    user-select: none;
    font-size: clamp(26px, 3.2vw, 36px);
  }

  .site-footer__inner {
    grid-template-columns: 145px auto;
    gap: 28px;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .site-footer__logo {
    width: 138px;
  }

  .site-footer__groups {
    grid-template-columns: max-content max-content;
    gap: 24px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail__aside {
    position: relative;
    top: auto;
  }
}

/* =========================================================
   МОБИЛЬНЫЙ: МН
   Все карточки занимают полную ширину двухколоночной сетки
   ========================================================= */

@media (min-width: 640px) and (max-width: 899px) {
  .site-footer__inner {
    grid-template-columns: 120px auto;
    gap: 22px;
  }

  .site-footer__logo {
    width: 112px;
  }

  .site-footer__groups {
    grid-template-columns: max-content max-content;
    gap: 18px;
  }
}

@media (max-width: 639px) {
  :root {
    --card-radius: 18px;
    --grid-gap: 9px;
    --page-gap: 12px;
  }

  .site-header__inner {
    min-height: 78px;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .site-header__logo-link {
    width: 140px;
  }

  .page {
    padding-top: 12px;
  }

  .hero {
    gap: 22px;
    margin-bottom: 30px;
  }

  .hero__title {
    user-select: none;
    white-space: normal;
    font-size: clamp(44px, 13.5vw, 64px);
    line-height: 0.94;
    letter-spacing: -0.045em;
  }

  .hero__text {
    margin-top: 19px;
    font-size: 15px;
  }

  .hero__controls {
    display: block;
    width: 100%;
  }

  .service-search {
    min-height: 50px;
    height: 50px;
  }

  .service-navigation {
    align-items: flex-start;
    flex-direction: column-reverse;
    margin-bottom: 14px;
  }

  .service-navigation__link {
    max-width: 78vw;
  }

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

  .services-grid--matrix {
    grid-auto-rows: 142px;
  }

  .services-grid--catalog {
    grid-auto-rows: 300px;
  }

  .service-card {
    padding: 22px;
  }

  .services-grid--catalog .service-card[data-row-span="1"] {
    padding: 22px;
  }

  .service-card__kicker {
    max-width: 68%;
    font-size: 10px;
  }

  .service-card__icon--small {
    width: 25px;
    height: 25px;
    padding: 0;
  }

  .service-card__icon--background {
    top: -8px;
    right: -3%;
    bottom: auto;
    width: 44%;
    height: 52%;
    opacity: 0.105;
    transform-origin: top right;
  }

  .service-card--background-icon .service-card__body {
    max-width: 100%;
  }

  .service-card__body {
    translate: 0 10px;
  }

  .service-card[data-column-span][data-row-span] .service-card__title {
    user-select: none;
    margin-top: 24px;
    font-size: clamp(26px, 7.4vw, 30px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .service-card[data-column-span][data-row-span] .service-card__description {
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .service-card[data-column-span][data-row-span="1"] .service-card__title {
    margin-top: 10px;
    font-size: clamp(23px, 6.7vw, 27px);
  }

  .service-card[data-column-span][data-row-span="1"] .service-card__description {
    font-size: 14px;
    line-height: 1.4;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .service-card__footer {
    gap: 10px;
    margin-top: 18px;
  }

  .service-card__terms {
    gap: 5px 9px;
    font-size: 11px;
  }

  .service-card__action {
    font-size: 10px;
  }

  .service-detail__main,
  .service-detail__aside {
    padding: 22px;
  }

  .service-detail__icon {
    top: 22px;
    right: 10px;
    width: 110px;
  }

  .service-detail__title {
    max-width: 82%;
    margin-top: 16px;
    font-size: 38px;
  }

  .service-detail__lead {
    font-size: 15px;
  }

  .service-detail__section {
    margin-top: 34px;
  }

  .service-detail__list {
    grid-template-columns: 1fr;
  }

  .service-detail__button {
    width: 100%;
  }

  .feedback-modal {
    padding: 10px;
    place-items: end center;
  }

  .feedback-modal__dialog {
    max-height: calc(100svh - 20px);
  }

  .feedback-modal__header,
  .feedback-form {
    padding-right: 22px;
    padding-left: 22px;
  }

  .feedback-form__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .feedback-form__submit {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 30px;
    padding-bottom: 28px;
  }

  .site-footer__logo {
    width: 150px;
  }

  .site-footer__groups {
    grid-template-columns: 1fr;
    width: 100%;
    justify-self: stretch;
    gap: 22px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail__main,
  .service-detail__aside {
    padding: 22px;
  }

  .service-detail__title {
    font-size: 38px;
  }

  .service-detail__item {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 15px 0;
  }

  .service-detail__aside {
    position: relative;
    top: auto;
  }

  .service-detail__button {
    min-height: 58px;
  }

  .site-footer__graphics {
    width: 100%;
    opacity: 0.12;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .site-footer__logo {
    width: 136px;
  }

  .site-footer__groups {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =========================================================
   ПЛАВНЫЕ ПЕРЕХОДЫ КАРТОЧЕК
   ========================================================= */
.services-view {
  view-transition-name: services-view;
  transform-origin: 50% 0;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
}

::view-transition-old(services-view) {
  animation: services-view-out 0.18s cubic-bezier(0.4, 0, 1, 1) both;
}

::view-transition-new(services-view) {
  animation: services-view-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.services-view--leaving {
  animation: services-view-out 0.18s cubic-bezier(0.4, 0, 1, 1) both;
}

.services-view--entering {
  animation: services-view-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes services-view-out {
  to {
    opacity: 0;
    transform: translateY(-6px) scale(0.996);
    filter: blur(3px);
  }
}

@keyframes services-view-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.996);
    filter: blur(5px);
  }
}

@keyframes card-breathe {
  to {
    background-position: 100% 62%;
  }
}

@keyframes icon-drift {
  to {
    transform: translate3d(-7px, -5px, 0) scale(1.025);
  }
}

@keyframes page-ambient {
  to {
    background-position:
      3% 2%,
      97% 96%,
      0 0;
  }
}

@keyframes footer-ambient {
  to {
    background-position:
      4% 3%,
      96% 94%,
      0 0;
  }
}

@keyframes card-sheen {
  0% {
    opacity: 0;
    transform: translateX(-46%) rotate(8deg);
  }

  32% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    transform: translateX(46%) rotate(8deg);
  }
}

@keyframes connect-card-flow {
  to {
    background-position: 100% 72%;
  }
}

@keyframes feedback-dialog-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
}

@keyframes action-flow {

  0%,
  100% {
    background-position: 0 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* CSS Grid и JavaScript используют один режим, рассчитанный по ширине контейнера */
.services-grid[data-layout-mode="wide"] {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.services-grid[data-layout-mode="tablet"] {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.services-grid[data-layout-mode="mobile"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid--matrix[data-layout-mode="wide"] {
  grid-auto-rows: 168px;
}

.services-grid--matrix[data-layout-mode="tablet"] {
  grid-auto-rows: 160px;
}

.services-grid--matrix[data-layout-mode="mobile"] {
  grid-auto-rows: 150px;
}

.services-grid--catalog[data-layout-mode="wide"] {
  grid-auto-rows: 260px;
}

.services-grid--catalog[data-layout-mode="tablet"] {
  grid-auto-rows: 270px;
}

.services-grid--catalog[data-layout-mode="mobile"] {
  grid-auto-rows: 300px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   ФИНАЛЬНАЯ КОМПОЗИЦИЯ ЭКРАНА УСЛУГИ И ПОДВАЛА
   ========================================================= */
.hero__title--detail {
  max-width: 980px;
  font-size: clamp(40px, 5vw, 76px);
  letter-spacing: -0.038em;
}

.service-detail__section--primary {
  margin-top: clamp(24px, 3vw, 38px);
}

/* Нижняя интерактивная полоса — продолжение карточки, а не отдельная кнопка */
.service-detail__aside {
  --service-detail-aside-padding: clamp(26px, 3vw, 38px);
  padding: var(--service-detail-aside-padding) var(--service-detail-aside-padding) 0;
}

.service-detail__button {
  position: relative;
  isolation: isolate;
  width: calc(100% + (var(--service-detail-aside-padding) * 2));
  min-height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 28px calc(var(--service-detail-aside-padding) * -1) 0;
  padding: 0 var(--service-detail-aside-padding);
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  animation: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition:
    color 0.28s ease,
    letter-spacing 0.28s ease;
}

.service-detail__button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg,
      #285c9d 0%,
      #347fbd 42%,
      #20a7c5 73%,
      #01cdcb 100%);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 1;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail__button::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  left: -24%;
  width: 24%;
  height: 1px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(63, 150, 210, 0.18) 24%,
      rgba(1, 205, 203, 0.9) 50%,
      rgba(255, 255, 255, 0.62) 58%,
      transparent 100%);
  opacity: 0;
  pointer-events: none;
}

.service-detail__button-wave {
  position: absolute;
  z-index: 0;
  inset: -70% -30%;
  background: linear-gradient(112deg,
      transparent 42%,
      rgba(63, 150, 210, 0.04) 46%,
      rgba(1, 205, 203, 0.2) 50%,
      rgba(255, 255, 255, 0.18) 53%,
      transparent 58%);
  opacity: 0;
  transform: translateX(-62%);
  pointer-events: none;
}

.service-detail__button-label {
  position: relative;
  z-index: 1;
}

.service-detail__button-icon {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition:
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease;
}

.service-detail__button.is-inviting::after {
  animation: service-detail-invite-line 8s cubic-bezier(0.16, 1, 0.3, 1) infinite 2.8s;
}

.service-detail__button.is-inviting .service-detail__button-wave {
  animation: service-detail-invite-wave 8s cubic-bezier(0.16, 1, 0.3, 1) infinite 2.8s;
}

.service-detail__button.is-inviting .service-detail__button-label {
  animation: service-detail-invite-label 8s ease-in-out infinite 2.8s;
}

.service-detail__button.is-inviting .service-detail__button-icon {
  animation: service-detail-invite-arrow 8s ease-in-out infinite 2.8s;
}

.service-detail__button:hover {
  color: #fff;
  letter-spacing: 0.09em;
  transform: none;
  background: transparent;
  box-shadow: none;
}

.service-detail__button:hover::before {
  transform: scaleX(1);
}

.service-detail__button:hover::after {
  opacity: 0;
}

.service-detail__button:hover .service-detail__button-icon {
  transform: translateX(6px);
  opacity: 0.9;
}

.service-detail__button:hover::after,
.service-detail__button:hover .service-detail__button-wave,
.service-detail__button:hover .service-detail__button-label,
.service-detail__button:hover .service-detail__button-icon {
  animation-play-state: paused;
}

.service-detail__button:active {
  transform: none;
}

.service-detail__button:focus-visible {
  outline: 3px solid color-mix(in srgb, #01cdcb 48%, transparent);
  outline-offset: -3px;
}

@keyframes service-detail-invite-line {
  0%, 34%, 100% {
    left: -24%;
    opacity: 0;
  }

  39% {
    opacity: 0.86;
  }

  54% {
    left: 100%;
    opacity: 0.24;
  }

  58% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes service-detail-invite-wave {
  0%, 33%, 100% {
    opacity: 0;
    transform: translateX(-62%);
  }

  39% {
    opacity: 0.72;
  }

  57% {
    opacity: 0;
    transform: translateX(62%);
  }
}

@keyframes service-detail-invite-label {
  0%, 34%, 58%, 100% {
    filter: brightness(1);
    letter-spacing: 0;
  }

  43%, 50% {
    filter: brightness(1.22);
    letter-spacing: 0.025em;
  }
}

@keyframes service-detail-invite-arrow {
  0%, 38%, 42%, 47%, 52%, 100% {
    transform: translateX(0);
  }

  40%, 49% { transform: translateX(5px); }
}

/* Слева две компактные группы, справа фирменная подпись */
.site-footer__inner {
  grid-template-columns: max-content 1fr;
  align-items: end;
  justify-content: stretch;
  gap: clamp(52px, 8vw, 150px);
  padding: clamp(24px, 2.8vw, 32px) var(--page-gap);
}

.site-footer__groups {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: grid;
  grid-template-columns: max-content max-content;
  gap: clamp(26px, 3vw, 44px);
  width: auto;
}

.site-footer__brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  padding: 0;
  transform: translateY(-8px);
}

.site-footer__logo {
  width: clamp(150px, 13vw, 210px);
}

.site-footer__legal-id {
  max-width: 380px;
  margin: 0;
  color: rgba(237, 244, 246, 0.52);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.012em;
  text-align: right;
}

@media (max-width: 1099px) and (min-width: 640px) {
  .site-footer__inner {
    grid-template-columns: max-content 1fr;
    gap: clamp(34px, 6vw, 80px);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .site-footer__groups {
    grid-template-columns: max-content max-content;
    gap: 22px;
  }

  .site-footer__logo {
    width: 140px;
  }
}

@media (max-width: 639px) {
  .hero__title--detail {
    font-size: clamp(38px, 12vw, 54px);
  }

  .service-detail__aside {
    --service-detail-aside-padding: 22px;
    padding: var(--service-detail-aside-padding) var(--service-detail-aside-padding) 0;
  }

  .service-detail__button {
    min-height: 64px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
    padding: 28px var(--page-gap);
    text-align: center;
  }

  .site-footer__groups {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr;
    justify-items: center;
    justify-self: stretch;
    gap: 20px;
    width: 100%;
  }

  .site-footer__group,
  .site-footer__list {
    justify-items: center;
    text-align: center;
  }

  .site-footer__link {
    width: auto;
  }

  .site-footer__link::after {
    transform-origin: center;
  }

  .site-footer__brand {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    align-self: auto;
    align-items: center;
    transform: translateY(-5px);
  }

  .site-footer__logo {
    width: 148px;
  }

  .site-footer__legal-id {
    max-width: 330px;
    font-size: 9px;
    text-align: center;
  }
}

/* =========================================================
   ФИНАЛЬНЫЕ МИКРОПРАВКИ И ПЛАВАЮЩИЕ ДЕЙСТВИЯ
   ========================================================= */
@media (min-width: 1100px) {
  .hero {
    margin-bottom: clamp(22px, 2.35vw, 38px);
  }
}

.hero__controls {
  display: block;
  width: 100%;
}

.service-search {
  width: 100%;
  gap: 6px;
}

.service-search__input {
  flex: 1 1 auto;
  min-width: 0;
}

.service-search__submit {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  opacity: 0.62;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.service-search__submit:hover {
  opacity: 1;
  background: color-mix(in srgb, var(--text) 7%, transparent);
  transform: translateY(-1px);
}

.service-search__submit:focus-visible {
  outline: 2px solid #01cdcb;
  outline-offset: 2px;
}

.service-search__submit-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.service-detail__list {
  border-top: 0;
}

.service-detail__item:last-child {
  border-bottom: 0;
}

.service-detail__fact {
  border-bottom: 0;
}

:root {
  --floating-bg: rgba(255, 255, 255, 0.76);
  --floating-bg-hover: rgba(255, 255, 255, 0.94);
  --floating-border: rgba(7, 19, 28, 0.13);
  --floating-text: #07131c;
  --floating-shadow: 0 18px 42px rgba(46, 103, 176, 0.13);
}

html[data-theme="dark"] {
  --floating-bg: rgba(31, 36, 39, 0.78);
  --floating-bg-hover: rgba(43, 49, 53, 0.94);
  --floating-border: rgba(234, 244, 250, 0.16);
  --floating-text: #eaf4fa;
  --floating-shadow: 0 18px 42px rgba(1, 205, 203, 0.1);
}

.floating-actions {
  --floating-bottom: max(18px, env(safe-area-inset-bottom));
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: var(--floating-bottom);
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: calc(100vw - 36px);
  transition: bottom 0.14s linear;
  user-select: none;
}

.floating-action {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--floating-border);
  border-radius: 50%;
  color: var(--floating-text);
  background: var(--floating-bg);
  box-shadow: var(--floating-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.floating-action:hover {
  background: var(--floating-bg-hover);
  transform: translateY(-2px);
}

.floating-action:focus-visible {
  outline: 2px solid #01cdcb;
  outline-offset: 3px;
}

.floating-action__icon {
  position: absolute;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.22s ease,
    transform 0.28s ease;
}

html[data-theme="dark"] .floating-action__icon--moon,
html[data-theme="light"] .floating-action__icon--sun {
  opacity: 0;
  transform: scale(0.72) rotate(-16deg);
}

html[data-theme="dark"] .floating-action__icon--sun,
html[data-theme="light"] .floating-action__icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.cookie-notice {
  width: 46px;
  height: 46px;
  min-width: 46px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 1px solid var(--floating-border);
  border-radius: 23px;
  color: var(--floating-text);
  background: var(--floating-bg);
  box-shadow: var(--floating-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 1;
  transition:
    width 0.58s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease,
    transform 0.38s ease,
    padding 0.58s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice.is-expanded {
  width: min(570px, calc(100vw - 154px));
  padding-right: 14px;
}

.cookie-notice.is-closing {
  width: 46px;
  padding-right: 0;
  opacity: 0;
  transform: scale(0.88);
}

.cookie-notice__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
}

.cookie-notice__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-notice__message {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: var(--floating-text);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity 0.25s ease 0.24s,
    transform 0.3s ease 0.22s;
}

.cookie-notice.is-expanded .cookie-notice__message {
  opacity: 0.82;
  transform: translateX(0);
}

.cookie-notice__message a {
  color: inherit;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-notice__break {
  display: none;
}

.cookie-notice__accept {
  min-width: 68px;
  height: 30px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #2e67b0, #3f96d2 48%, #01cdcb);
  box-shadow:
    0 7px 18px rgba(46, 103, 176, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity 0.25s ease 0.3s,
    transform 0.3s ease 0.28s,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.cookie-notice.is-expanded .cookie-notice__accept {
  opacity: 1;
  transform: translateX(0);
}

.cookie-notice__accept:hover {
  filter: brightness(1.05);
  box-shadow:
    0 9px 22px rgba(46, 103, 176, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@media (max-width: 639px) {

  .hero__controls,
  .service-search {
    width: 100%;
    max-width: none;
  }

  .floating-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 8px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .cookie-notice {
    height: 46px;
    min-height: 46px;
    flex: 0 0 46px;
  }

  .cookie-notice.is-expanded {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100vw - 132px);
    min-width: 0;
    height: 46px;
    min-height: 46px;
    flex-basis: calc(100vw - 132px);
    align-items: center;
    padding: 0 6px 0 0;
    border-radius: 23px;
  }

  .cookie-notice.is-closing {
    height: 46px;
  }

  .cookie-notice.is-expanded .cookie-notice__icon {
    width: 30px;
    height: 44px;
    min-width: 30px;
  }

  .cookie-notice.is-expanded .cookie-notice__icon svg {
    width: 17px;
    height: 17px;
  }

  .cookie-notice__message {
    display: block;
    min-width: 0;
    padding-right: 4px;
    font-size: clamp(8.5px, 2.55vw, 10px);
    line-height: 1.06;
    white-space: normal;
    text-wrap: balance;
  }

  .cookie-notice__break {
    display: block;
  }

  .cookie-notice__accept {
    min-width: 50px;
    height: 28px;
    padding: 0 8px;
    font-size: 8.5px;
    letter-spacing: 0.035em;
  }
}

@media (prefers-reduced-motion: reduce) {

  .service-detail__button,
  .service-detail__button::before,
  .service-detail__button::after {
    animation: none;
  }

  .cookie-notice,
  .cookie-notice__message,
  .cookie-notice__accept,
  .floating-action__icon {
    transition: none;
  }
}
