:root {
  --ink: #111111;
  --white: #ffffff;
  --surface: #f4f4f5;
  --gray: #6b7280;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #111111;
  --accent-dark: #000000;
  --accent-soft: rgba(17, 17, 17, 0.08);
  --accent-rgb: 17, 17, 17;
  --shadow-sm: 0 4px 20px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 12px 40px rgba(17, 17, 17, 0.1);
  --shadow-accent: 0 10px 28px rgba(var(--accent-rgb), 0.32);
  --radius: 16px;
  --radius-lg: 16px;
  --font: "Nunito", system-ui, sans-serif;
  --wrap: min(1080px, calc(100% - 32px));
  /* legacy aliases */
  --black: var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: header-in 0.6s ease both;
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.header__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  text-align: center;
  color: var(--ink);
}

.logo__word {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22em;
  width: max-content;
  max-width: 100%;
  box-sizing: content-box;
  padding: 0.12em 0.16em 8px 0.1em;
  font-family: "Orbitron", var(--font);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: 0.32em;
  line-height: 1.05;
  text-transform: uppercase;
  overflow: hidden;
}

.logo__letter {
  display: block;
  color: var(--ink);
  animation: logo-letter-glow 4.8s ease-in-out infinite;
}

.logo__letter:nth-child(1) { animation-delay: 0s; }
.logo__letter:nth-child(3) { animation-delay: 1.7s; }
.logo__letter:nth-child(4) { animation-delay: 2.55s; }

.logo__e {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 0.68em;
  height: 0.82em;
  margin: 0 0.08em;
  flex-shrink: 0;
  animation: logo-letter-glow 4.8s ease-in-out infinite;
  animation-delay: 0.85s;
}

.logo__e i {
  display: block;
  height: 0.11em;
  background: var(--accent);
  border-radius: 1px;
  transform-origin: left center;
}

.logo__e i:nth-child(1) { animation: logo-e-worm 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.logo__e i:nth-child(2) { animation: logo-e-worm 4.4s cubic-bezier(0.45, 0, 0.55, 1) infinite reverse; }
.logo__e i:nth-child(3) { animation: logo-e-worm 5.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }

.logo__scan {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(17, 17, 17, 0.12) 16%,
    #d4d4d8 50%,
    rgba(17, 17, 17, 0.12) 84%,
    transparent 100%
  );
  box-shadow:
    0 0 7px rgba(232, 241, 247, 0.7),
    0 0 16px rgba(198, 218, 230, 0.35);
  animation: logo-scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logo-scan {
  0% {
    transform: translateX(-40%);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    transform: translateX(360%);
    opacity: 0;
  }
}

@keyframes logo-letter-glow {
  0%,
  14%,
  100% {
    color: var(--ink);
    filter: none;
  }
  7% {
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.55));
  }
}

@keyframes logo-e-worm {
  0% {
    transform: scaleX(0.36);
  }
  50% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0.36);
  }
}

.header-social,
.side-nav__social,
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-social li,
.side-nav__social li,
.footer__social li {
  margin: 0;
  padding: 0;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s,
    color 0.2s,
    background-color 0.2s;
}

.social-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-icon--instagram:hover {
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.35);
  background: rgba(193, 53, 132, 0.07);
}

.social-icon--telegram:hover {
  color: #26a5e4;
  border-color: rgba(38, 165, 228, 0.35);
  background: rgba(38, 165, 228, 0.07);
}

.social-icon--tiktok:hover {
  color: var(--ink);
  border-color: rgba(51, 51, 51, 0.22);
  background: var(--surface);
}

.social-icon--viber:hover {
  color: #7360f2;
  border-color: rgba(115, 96, 242, 0.35);
  background: rgba(115, 96, 242, 0.07);
}

.social-icon--youtube:hover {
  color: #ff0000;
  border-color: rgba(255, 0, 0, 0.28);
  background: rgba(255, 0, 0, 0.06);
}

.social-menu {
  position: relative;
  z-index: 2;
}

.social-menu.active {
  z-index: 9999;
}

button.social-menu__btn {
  font: inherit;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.social-menu__btn svg {
  pointer-events: none;
}

.social-menu.active .social-icon {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-menu.active .social-icon--instagram {
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.35);
  background: rgba(193, 53, 132, 0.07);
}

.social-menu.active .social-icon--tiktok {
  color: var(--ink);
  border-color: rgba(51, 51, 51, 0.22);
  background: var(--surface);
}

.social-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 9999;
  display: grid;
  gap: 4px;
  min-width: 236px;
  max-width: min(280px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.22s;
}

.social-menu--up .social-menu__panel {
  top: auto;
  bottom: calc(100% + 10px);
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom right;
}

.social-menu.active .social-menu__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.social-menu:not(.active) .social-menu__link,
.social-menu[data-menu-locked] .social-menu__link {
  pointer-events: none;
}

.social-menu__link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.social-menu__link:hover,
.social-menu__link:focus-visible {
  background: var(--surface);
  color: var(--accent-dark);
}

.header-social .social-menu__panel {
  right: 0;
  left: auto;
}

.footer__social .social-menu:first-child .social-menu__panel,
.side-nav__meta .social-menu:first-child .social-menu__panel {
  right: auto;
  left: 0;
  transform-origin: bottom left;
}

.side-nav__meta .social-menu__panel {
  min-width: 180px;
}

.logo__tagline {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  padding-bottom: 6px;
  overflow: hidden;
  font-family: "Nunito", var(--font);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
  margin-right: -0.38em;
}

.logo__tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(17, 17, 17, 0.12) 16%,
    #d4d4d8 50%,
    rgba(17, 17, 17, 0.12) 84%,
    transparent 100%
  );
  box-shadow:
    0 0 6px rgba(232, 241, 247, 0.65),
    0 0 12px rgba(198, 218, 230, 0.3);
  animation: logo-scan 4.8s ease-in-out infinite;
  animation-delay: 0.35s;
  pointer-events: none;
}

.nav {
  display: none;
}

.nav__link {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__link--active {
  color: var(--accent-dark);
  font-weight: 600;
}

.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-social--bar {
  display: none;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 6px 12px;
  border: none;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
}

.lang__toggle:hover {
  filter: brightness(1.05);
}

.lang__btn {
  padding: 6px 10px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray);
}

.lang__btn.is-active {
  background: var(--accent);
  color: var(--white);
}

.sound-toggle {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gray);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.sound-toggle svg {
  width: 18px;
  height: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-toggle__off {
  display: none;
}

.sound-toggle.is-muted .sound-toggle__on {
  display: none;
}

.sound-toggle.is-muted .sound-toggle__off {
  display: block;
}

.sound-toggle:hover,
.sound-toggle[aria-pressed="true"] {
  color: var(--ink, #111);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70%;
  bottom: -70%;
  left: -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: var(--shadow-accent);
}

.btn:hover::after {
  left: 125%;
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.header-phone {
  position: relative;
  gap: 8px;
  min-height: 38px;
  padding: 7px 14px;
  overflow: hidden;
  isolation: isolate;
}

.header-phone::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 14px;
  bottom: 5px;
  left: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  transform: scaleX(0);
  transform-origin: left;
  animation: header-phone-line 3.8s ease-in-out infinite;
}

.header-phone__iphone {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 29px;
  filter: drop-shadow(0 2px 3px rgba(20, 27, 34, 0.18));
  animation: header-iphone-float 3.8s ease-in-out infinite;
}

.header-phone__iphone svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.phone-num,
.side-nav__phone,
.person-card__phone {
  font-family: "Michroma", "Montserrat", "Nunito", system-ui, sans-serif;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.055em;
}

.header-phone .phone-num {
  font-size: 0.67rem;
  line-height: 1;
  white-space: nowrap;
}

@keyframes header-phone-line {
  0%,
  22% { transform: scaleX(0); opacity: 0; }
  45% { transform: scaleX(1); opacity: 1; }
  70%,
  100% { transform: scaleX(1); opacity: 0; }
}

@keyframes header-iphone-float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

.btn--full {
  width: 100%;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.burger:hover {
  background: var(--accent-soft);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.side-nav {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  visibility: hidden;
}

.side-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}

.side-nav__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(21, 25, 28, 0.28);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.side-nav.is-open .side-nav__backdrop {
  opacity: 1;
}

.side-nav__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(22rem, 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #ffffff;
  border-right: none;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.side-nav.is-open .side-nav__panel {
  transform: translateX(0);
}

.side-nav__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.side-nav__lang-slash {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.lang--drawer {
  display: flex;
  align-items: center;
  gap: 2px;
  border: none;
  overflow: visible;
  background: none;
}

.lang--drawer .lang__toggle {
  min-width: 36px;
  padding: 5px 10px;
  border-radius: 8px;
}

.lang--drawer .lang__btn {
  min-width: 0;
  padding: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: transparent;
}

.lang--drawer .lang__btn.is-active {
  background: transparent;
  color: var(--ink);
}

.side-nav__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.side-nav__close:hover {
  opacity: 1;
}

.side-nav__brand {
  justify-self: center;
  margin: 0;
  overflow: visible;
}

.side-nav__brand .logo__word {
  font-size: 1.12rem;
  overflow: visible;
  margin-right: 0;
  letter-spacing: 0.22em;
}

.side-nav__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 20px 20px;
}

.side-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
}

.side-nav__catalog {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
}

.side-nav__catalog-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.side-nav__chevron {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.side-nav__catalog.is-open .side-nav__chevron {
  transform: translateY(3px) rotate(-135deg);
}

.side-nav__catalog-list {
  display: flex;
  flex-direction: column;
}

.side-nav__catalog-list[hidden] {
  display: none !important;
}

.side-nav .nav__link {
  width: 100%;
}

.side-nav .nav__link::after {
  display: none;
}

.side-nav__link,
.side-nav__admin {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: none;
  border-radius: 14px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s;
}

.side-nav__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f4f4f5;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease-out;
  pointer-events: none;
}

.side-nav__link:hover .side-nav__fill,
.side-nav__link:focus-visible .side-nav__fill,
.side-nav__link--active .side-nav__fill,
.side-nav__admin:hover .side-nav__fill,
.side-nav__admin:focus-visible .side-nav__fill,
.side-nav__admin.side-nav__link--active .side-nav__fill {
  transform: scaleX(1);
}

.side-nav__link-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
}

.side-nav__care {
  margin: 16px 0 0;
  padding: 10px 12px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.side-nav__care:hover,
.side-nav__care.is-active {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.4);
}

.side-nav__care-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}

.side-nav__care-icon svg {
  width: 20px;
  height: 20px;
}

.side-nav__care-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.side-nav__care-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}

.side-nav__care-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gray);
}

.side-nav__consult {
  margin: 18px 0 0;
  padding: 10px 12px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.side-nav__consult:hover {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: rgba(var(--accent-rgb), 0.4);
}

.side-nav__consult-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}

.side-nav__link--sub {
  padding: 8px 12px 8px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.side-nav__link--laser {
  gap: 8px;
}

.side-nav__laser-pip {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a3c;
  box-shadow: 0 0 8px rgba(255, 90, 60, 0.85);
}

.side-nav__laser {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background:
    radial-gradient(140px 52px at 100% 0%, rgba(255, 90, 60, 0.28), transparent 72%),
    #111111;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.side-nav__laser:hover,
.side-nav__laser.is-active {
  background:
    radial-gradient(160px 64px at 100% 0%, rgba(255, 90, 60, 0.4), transparent 72%),
    #1c1c1c;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.18);
}

.side-nav__laser-scan {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 1px;
  top: 22%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12) 10%,
    #ff5a3c 42%,
    #fff 50%,
    #ff5a3c 58%,
    rgba(255, 255, 255, 0.12) 90%,
    transparent
  );
  box-shadow: 0 0 10px rgba(255, 90, 60, 0.9);
  pointer-events: none;
  animation: side-nav-laser-scan 2.8s ease-in-out infinite;
}

.side-nav__laser-scan--calc,
.side-nav__laser-scan--shower,
.side-nav__laser-scan--sections,
.side-nav__laser-scan--pass,
.side-nav__laser-scan--care,
.side-nav__laser-scan--ii {
  top: 14%;
  bottom: auto;
  left: 0;
  right: 0;
  width: auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.14) 10%,
    #fff 42%,
    #fff 50%,
    #fff 58%,
    rgba(255, 255, 255, 0.14) 90%,
    transparent
  );
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
  filter: none;
  opacity: 0;
  animation: side-nav-scan-down 7s linear infinite;
  animation-fill-mode: backwards;
}

.side-nav__laser-scan--shower {
  animation-delay: 0.7s;
}

.side-nav__laser-scan--sections {
  animation-delay: 1.4s;
}

.side-nav__laser-scan--pass {
  animation-delay: 2.8s;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12) 10%,
    #ff5a3c 42%,
    #fff 50%,
    #ff5a3c 58%,
    rgba(255, 255, 255, 0.12) 90%,
    transparent
  );
  box-shadow: 0 0 10px rgba(255, 90, 60, 0.9);
}

.side-nav__laser-scan--care {
  animation-delay: 4.2s;
}

.side-nav__laser-scan--ii {
  animation-delay: 5.6s;
}

.side-nav__sections .side-nav__chevron {
  z-index: 3;
  color: rgba(255, 255, 255, 0.72);
}


.side-nav__laser-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #fff;
}

.side-nav__laser-icon svg {
  width: 26px;
  height: 26px;
}

.side-nav__calc {
  justify-content: space-between;
  --mini-plate: #111111;
}

.side-nav__laser.side-nav__calc:hover,
.side-nav__laser.side-nav__calc.is-active {
  --mini-plate: #1c1c1c;
}

.side-nav__calcs > .side-nav__calc {
  position: relative;
  justify-content: flex-start;
  padding-right: 44px;
}

.side-nav__calcs > .side-nav__calc .side-nav__calc-mini {
  margin-left: auto;
}

.side-nav__calc-hint {
  color: rgba(255, 255, 255, 0.58);
}

.side-nav__calcs.is-open .side-nav__calc-hint {
  display: none;
}

.side-nav__calcs .side-nav__chevron {
  position: absolute;
  right: 4px;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 36px;
  margin-left: 0;
  border: 0;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  animation: side-nav-calc-nudge 1.8s ease-in-out 2;
}

.side-nav__calcs .side-nav__chevron::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.side-nav__calcs.is-open .side-nav__chevron {
  transform: translateY(-50%);
  animation: none;
}

.side-nav__calcs.is-open .side-nav__chevron::before {
  transform: translateY(3px) rotate(-135deg);
}

.side-nav__calcs .side-nav__catalog-list.side-nav__calc-peek[hidden] {
  display: block !important;
  max-height: 38px;
  margin-top: -2px;
  overflow: hidden;
  opacity: 0.72;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 18%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 18%, transparent 92%);
}

.side-nav__calcs.is-open .side-nav__catalog-list.side-nav__calc-peek {
  max-height: none;
  margin-top: 0;
  overflow: visible;
  opacity: 1;
  pointer-events: auto;
  mask-image: none;
  -webkit-mask-image: none;
}

.side-nav__calcs .side-nav__catalog-list .side-nav__calc {
  margin-top: 0;
}

@keyframes side-nav-calc-nudge {
  0%,
  100% {
    transform: translateY(-50%);
  }
  35% {
    transform: translateY(calc(-50% + 4px));
  }
  55% {
    transform: translateY(-50%);
  }
}

.side-nav__calc .side-nav__laser-title {
  font-size: 0.92rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.side-nav__calc-mini {
  position: relative;
  z-index: 3;
  width: 76px;
  height: 58px;
  flex: 0 0 auto;
  color: #fff;
}

.side-nav__calc-mini svg,
.side-nav__calc-mini img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.side-nav__calc-mini--rail {
  width: 78px;
  height: 50px;
}

.side-nav__calc-mini--shower {
  width: 46px;
  height: 88px;
  margin-right: 6px;
}

.side-nav__laser-ray {
  stroke: #ff5a3c;
  stroke-width: 1.8;
}

.side-nav__laser-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.side-nav__sections,
.side-nav__links > a.side-nav__laser,
.side-nav__care {
  padding: 8px 12px;
  gap: 10px;
}

.side-nav__sections .side-nav__laser-icon,
.side-nav__links > a.side-nav__laser .side-nav__laser-icon,
.side-nav__care .side-nav__laser-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.side-nav__sections .side-nav__laser-icon svg,
.side-nav__links > a.side-nav__laser .side-nav__laser-icon svg,
.side-nav__care .side-nav__laser-icon svg {
  width: 20px;
  height: 20px;
}

.side-nav__care-buy {
  position: relative;
  z-index: 1;
  margin-left: auto;
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.side-nav__laser-title {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.side-nav__laser-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.64);
}

@keyframes side-nav-scan-down {
  0% {
    top: 14%;
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  18% {
    top: 86%;
    opacity: 1;
  }
  20% {
    top: 86%;
    opacity: 0;
  }
  100% {
    top: 86%;
    opacity: 0;
  }
}

@keyframes side-nav-laser-scan {
  0% {
    top: 16%;
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    top: 84%;
    opacity: 0;
  }
}

@keyframes side-nav-laser-scan-x {
  0% {
    left: 8%;
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    left: 92%;
    opacity: 0;
  }
}

@keyframes side-nav-laser-scan-x-rev {
  0% {
    left: 92%;
    opacity: 0;
  }
  14% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    left: 8%;
    opacity: 0;
  }
}

@keyframes side-nav-wave {
  from {
    background-position: 0 center;
  }
  to {
    background-position: -64px center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .side-nav__laser-scan {
    animation: none;
    top: 72%;
    opacity: 0.9;
  }

  .side-nav__laser-scan--calc,
  .side-nav__laser-scan--sections,
  .side-nav__laser-scan--pass,
  .side-nav__laser-scan--care,
  .side-nav__laser-scan--ii {
    top: 72%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
  }
}

.side-nav__laser--soft {
  margin-top: 8px;
  border: none;
  background:
    radial-gradient(140px 52px at 100% 0%, rgba(255, 255, 255, 0.16), transparent 72%),
    #111111;
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
}

.side-nav__laser--soft:hover,
.side-nav__laser--soft.is-active {
  background:
    radial-gradient(160px 64px at 100% 0%, rgba(255, 255, 255, 0.26), transparent 72%),
    #1c1c1c;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.18);
}

.side-nav__laser.side-nav__consult {
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.side-nav__laser-icon .ii-mark--sm {
  color: #fff;
  font-size: 0.72rem;
  min-width: 0;
}

.side-nav__admin {
  margin-top: 14px;
  padding: 8px 12px;
  text-transform: none;
  letter-spacing: 0;
}

.side-nav__admin-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.side-nav__admin-chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.side-nav__admin-chip span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.side-nav__meta {
  margin-top: auto;
  padding: 32px 12px 8px;
  border-top: 1px solid var(--line);
}

.side-nav__meta-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-nav__meta-title {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.side-nav__meta-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: 11px;
  padding: 0;
  color: var(--muted);
  text-decoration: none;
  flex: 0 0 auto;
}

.side-nav__meta-admin svg {
  width: 11px;
  height: 11px;
  display: block;
}

.side-nav__meta-admin:hover,
.side-nav__meta-admin.is-active {
  color: var(--ink);
}

.side-nav__meta-ai {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
}

.side-nav__meta-ai::before {
  content: "";
  position: absolute;
  inset: -8px;
}

.side-nav__meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.side-nav__meta-list > li {
  margin: 0;
}

.side-nav__meta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.side-nav__meta-link:hover {
  opacity: 0.7;
}

.side-nav__meta-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.side-nav__meta-muted {
  color: var(--muted);
}

.side-nav__meta .social-menu {
  position: relative;
}

.side-nav__meta .social-menu__panel {
  left: 0;
  right: auto;
  min-width: 180px;
}

.side-nav__meta .social-menu__btn {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  background: linear-gradient(180deg, var(--white) 0%, var(--surface) 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.hero::before {
  top: -180px;
  right: -140px;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12), transparent 68%);
  animation: ambient-orb-right 12s ease-in-out infinite alternate;
}

.hero::after {
  bottom: -230px;
  left: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(88, 215, 255, 0.075), transparent 69%);
  animation: ambient-orb-left 14s ease-in-out infinite alternate;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@keyframes ambient-orb-right {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to { transform: translate3d(-46px, 34px, 0) scale(1.08); }
}

@keyframes ambient-orb-left {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(58px, -28px, 0) scale(1.1); }
}

.hero__quick {
  position: absolute;
  z-index: 3;
  top: -54px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 332px;
  padding: 9px 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 24px rgba(24, 33, 42, 0.08);
  backdrop-filter: blur(10px);
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero__quick:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.42);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb), 0.15);
}

.hero__quick-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 34px;
  width: 34px;
  height: 25px;
}

.hero__quick-icon span {
  display: block;
  height: 4px;
  border-radius: 1px;
  background: var(--accent);
  transform-origin: left center;
  animation: hero-quick-bars 3.4s ease-in-out infinite;
}

.hero__quick-icon span:nth-child(2) { animation-delay: 0.12s; }
.hero__quick-icon span:nth-child(3) { animation-delay: 0.24s; }

.hero__quick-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero__quick-copy strong {
  font-size: 0.84rem;
  line-height: 1.2;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.hero__quick-copy small {
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--muted);
}

.hero__quick-arrow {
  color: var(--accent);
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.hero__quick:hover .hero__quick-arrow {
  transform: translate(2px, -2px);
}

@keyframes hero-quick-bars {
  0%,
  100% {
    opacity: 0.58;
    transform: scaleX(0.72);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
    box-shadow: 0 0 7px rgba(var(--accent-rgb), 0.42);
  }
}

.label {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink);
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
}

.lead {
  margin-top: 16px;
  color: var(--gray);
  max-width: 42ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 28px;
}

.hero__cta-phone {
  order: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  flex: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hero__cta-phone svg {
  width: 20px;
  height: 20px;
}

.hero__cta-phone:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

@media (min-width: 721px) {
  .hero__cta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 16px;
  }

  .hero__cta .btn {
    justify-self: start;
  }

  .hero__cta-phone {
    justify-self: center;
    text-align: center;
  }

  .hero__cta .consult-promo {
    justify-self: end;
  }
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.hero__proof li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.04);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero__proof li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #111 35%, #111 65%, transparent);
  opacity: 0.2;
  transition: opacity 0.25s ease;
}

.hero__proof li:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 17, 0.18);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
}

.hero__proof li:hover::before {
  opacity: 0.85;
}

.hero__proof-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero__proof-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.18);
  animation: proof-ring 2.8s ease-in-out infinite;
}

.hero__proof li:nth-child(2) .hero__proof-ring {
  animation-delay: 0.45s;
}

.hero__proof li:nth-child(3) .hero__proof-ring {
  animation-delay: 0.9s;
}

.hero__proof-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hero__proof-num {
  display: block;
  margin: 0;
  font-family: "Orbitron", "Michroma", var(--font);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray);
  line-height: 1;
}

.hero__proof-icon {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0;
  fill: #fff;
  transform-origin: center;
  animation: proof-icon 2.8s ease-in-out infinite;
}

.hero__proof-cut {
  fill: #111;
}

.hero__proof li:nth-child(2) .hero__proof-icon {
  animation-delay: 0.35s;
}

.hero__proof li:nth-child(3) .hero__proof-icon {
  animation-delay: 0.7s;
}

.hero__proof-icon--pin {
  animation-name: proof-pin;
}

.hero__proof li:hover .hero__proof-icon {
  animation-duration: 1.2s;
}

.hero__proof strong {
  display: block;
  min-width: 0;
  font-family: "Nunito", var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

@keyframes proof-ring {
  0%, 100% { transform: scale(0.94); opacity: 0.3; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes proof-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes proof-pin {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-2px); }
  60% { transform: translateY(0.5px); }
}

.link-arrow {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent);
}

.link-arrow:hover {
  color: var(--accent);
  border-bottom-color: transparent;
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
}

.hero__frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}

.semo-mark {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12em;
  width: max-content;
  max-width: calc(100% - 16px);
  margin-right: -0.28em;
  padding-bottom: 8px;
  overflow: hidden;
  transform: translateX(-50%);
  font-family: "Orbitron", var(--font);
  font-weight: 500;
  font-size: clamp(0.62rem, 1.8vw, 0.82rem);
  letter-spacing: 0.28em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.semo-mark__letter {
  display: block;
  animation: logo-letter-glow 4.8s ease-in-out infinite;
}

.semo-mark__letter:nth-child(1) { animation-delay: 0s; }
.semo-mark__letter:nth-child(3) { animation-delay: 1.7s; }
.semo-mark__letter:nth-child(4) { animation-delay: 2.55s; }

.semo-mark__e {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 0.62em;
  height: 0.76em;
  margin: 0 0.06em;
  flex-shrink: 0;
  animation: logo-letter-glow 4.8s ease-in-out infinite;
  animation-delay: 0.85s;
}

.semo-mark__e i {
  display: block;
  height: 0.1em;
  background: var(--accent);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.45);
  transform-origin: left center;
}

.semo-mark__e i:nth-child(1) { animation: logo-e-worm 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.semo-mark__e i:nth-child(2) { animation: logo-e-worm 4.4s cubic-bezier(0.45, 0, 0.55, 1) infinite reverse; }
.semo-mark__e i:nth-child(3) { animation: logo-e-worm 5.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }

.semo-mark__scan {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(17, 17, 17, 0.14) 16%,
    #d4d4d8 50%,
    rgba(17, 17, 17, 0.14) 84%,
    transparent 100%
  );
  box-shadow:
    0 0 7px rgba(232, 241, 247, 0.75),
    0 0 14px rgba(198, 218, 230, 0.4);
  animation: logo-scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

.works-grid__btn .semo-mark {
  top: auto;
  bottom: 8px;
  height: auto;
  aspect-ratio: unset;
  padding-bottom: 8px;
  box-sizing: border-box;
}

.service-block__thumb .semo-mark {
  font-size: 0.48rem;
  letter-spacing: 0.16em;
  margin-right: -0.16em;
  bottom: 4px;
}

.preview-strip__item .semo-mark {
  font-size: 0.52rem;
  bottom: 5px;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(17, 17, 17, 0.08) 45%,
    rgba(51, 51, 51, 0.22) 100%
  );
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 38%, rgba(255, 255, 255, 0.38) 65%, rgba(255, 255, 255, 0.1) 100%);
}

.hero.is-hero-bg {
  min-height: 78vh;
}

@media (min-width: 769px) {
  .hero.is-hero-bg {
    padding-bottom: 32px;
  }

  .hero.is-hero-bg .hero__text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(78vh - 104px);
  }
}

.hero.is-hero-bg .hero__visual {
  display: none;
}

/* Адаптивный текст под тёмное фото */
.hero.is-dark-photo .hero__slideshow::after {
  background: linear-gradient(90deg, rgba(8, 12, 18, 0.9) 0%, rgba(8, 12, 18, 0.68) 40%, rgba(8, 12, 18, 0.3) 70%, rgba(8, 12, 18, 0.1) 100%);
}

.hero.is-dark-photo .hero__text .label {
  color: rgba(255, 255, 255, 0.75);
}

.hero__text h1 {
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.65);
}

.hero__text .lead {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(10, 14, 20, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.hero.is-dark-photo .hero__text h1 {
  color: #fff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.6);
}

.hero.is-dark-photo .hero__proof strong {
  color: #fff;
}

.hero.is-dark-photo .hero__proof-num {
  color: var(--accent);
}

.hero.is-dark-photo .hero__proof li {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.hero.is-dark-photo .link-arrow {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.hero__proof--docked {
  max-width: 1120px;
  margin: 14px auto 10px;
  padding: 0 20px;
}

.hero__cta--docked {
  max-width: 1120px;
  margin: 0 auto 8px;
  padding: 0 20px;
}

.hero__cta--docked + .section {
  padding-top: 32px;
}

.hero.is-dark-photo .hero__cta-phone {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero.is-dark-photo .hero__cta-phone:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@property --hero-wipe {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 120%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path 1.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.7s ease,
    --hero-wipe 1.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero__slide.is-active,
.hero__slide.is-prev {
  clip-path: inset(0 0 0 0);
}

.hero__slide.is-prev {
  opacity: 1;
  z-index: 1;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
  --hero-wipe: 0%;
  -webkit-mask-image: linear-gradient(90deg, transparent var(--hero-wipe), black calc(var(--hero-wipe) + 30%));
  mask-image: linear-gradient(90deg, transparent var(--hero-wipe), black calc(var(--hero-wipe) + 30%));
}

.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: contrast(1.04) saturate(0.92);
}

.hero__slide.is-active img,
.hero__frame.is-static .hero__image {
  animation: hero-kenburns 16s ease-out forwards;
  transform-origin: 50% 42%;
}

@keyframes hero-kenburns {
  from { transform: scale(1.14); }
  to { transform: scale(1.34); }
}

.hero__frame.is-slideshow .hero__slideshow {
  display: block;
}

.hero__frame.is-slideshow .hero__image {
  display: none;
}

.hero__video,
.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__video {
  filter: contrast(1.06) saturate(0.9);
}

.hero__image {
  filter: contrast(1.04) saturate(0.92);
}

.hero__frame.is-static .hero__video {
  display: none;
}

.hero__frame.is-static .hero__image {
  display: block;
}

.hero__video[hidden],
.hero__image[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(56px);
  filter: blur(6px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active img,
  .hero__frame.is-static .hero__image {
    animation: none;
  }
}

/* Calc sum pulse */
.calc__sum.is-pulse {
  animation: calc-pulse 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes calc-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.1); color: var(--accent, #c8a24a); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .calc__sum.is-pulse { animation: none; }
}

/* Page fade-in */
main {
  animation: page-fade 0.5s ease both;
}

@keyframes page-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Hero parallax target */
.hero__text {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Price shimmer */
.price-from {
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-dark) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: price-shimmer 5s linear infinite;
}

@keyframes price-shimmer {
  from { background-position: 0% 0; }
  to { background-position: 220% 0; }
}

/* FAQ smooth open */
.seo-faq summary {
  position: relative;
  padding-right: 28px;
  list-style: none;
  transition: color 0.2s ease;
}

.seo-faq summary::-webkit-details-marker {
  display: none;
}

.seo-faq summary::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s ease;
}

.seo-faq summary:hover {
  color: var(--accent-dark);
}

.seo-faq details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.seo-faq details[open] p {
  animation: faq-open 0.3s ease both;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  main,
  .price-from {
    animation: none;
  }
  .seo-faq details[open] p {
    animation: none;
  }
}

/* Sections */
.section {
  padding: 72px 0;
}

.page-contact {
  background: var(--surface);
}

.section--alt {
  background: var(--surface);
  color: var(--ink);
}

.section--alt .lead,
.section--alt .section__head p {
  color: var(--gray);
}

.section__head {
  margin-bottom: 40px;
  max-width: 520px;
}

.section__head h2,
.home-teaser > h2,
.reviews .section__head h2,
.cta-band h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 9px;
}

.section__head h2::after,
.home-teaser > h2::after,
.reviews .section__head h2::after,
.cta-band h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.12));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.75s 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.section__head.is-visible h2::after,
.home-teaser.is-visible > h2::after,
.cta-band.is-visible h2::after {
  transform: scaleX(1);
}

.section__head p {
  margin: 12px 0 0;
  color: var(--gray);
}

/* Services — home cards */
.service-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-cards:not(.is-expanded) .service-card--extra {
  display: none;
}

.service-cards.is-expanded .service-card--extra {
  animation: serviceExtraIn 0.35s ease both;
}

@keyframes serviceExtraIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.service-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card__inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card__cover-link {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

.service-card__cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card__cover-link:hover .service-card__cover {
  transform: scale(1.04);
}

.service-card__minis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 12px 0;
  margin-top: -28px;
  position: relative;
  z-index: 1;
}

.service-card__mini-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  line-height: 0;
}

.service-card__mini {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  flex: 1;
}

.service-card__num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.service-card__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-card__title a {
  color: var(--ink);
  transition: color 0.2s;
}

.service-card__title a:hover {
  color: var(--accent-dark);
}

.service-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.5;
}

.price-from {
  margin: 10px 0 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.price-from__note {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.service-card .price-from {
  margin-top: 8px;
}

.service-points {
  list-style: none;
  margin: 2px 0 0;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--radius);
}

.service-points li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 4px;
}

.service-card__actions .btn {
  width: 100%;
}

.service-card__more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.service-card__works {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-card__works:hover {
  color: var(--accent-dark);
}

/* Services — detail page */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
}

.service-block {
  scroll-margin-top: 88px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-block__head {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px 20px;
  margin-bottom: 24px;
}

.service-block__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 4px;
}

.service-block__intro h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

.service-block__intro p {
  margin: 0 0 12px;
  color: var(--gray);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 52ch;
}

.service-block__media {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}

.service-block__featured {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface);
}

.service-block__featured img {
  display: block;
  width: 100%;
  min-height: 220px;
  max-height: 360px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-block__featured:hover img,
.service-block__featured:focus-visible img {
  transform: scale(1.03);
}

.service-block__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 88px);
  gap: 8px;
  align-content: start;
}

.service-block__thumb {
  position: relative;
  margin: 0;
  padding: 0;
  width: 88px;
  height: 108px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  cursor: zoom-in;
  flex-shrink: 0;
}

.service-block__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-block__thumb:hover img,
.service-block__thumb:focus-visible img {
  transform: scale(1.05);
}

.service-block__thumb--lead {
  animation: thumb-pulse 2.2s ease-in-out infinite;
}

.service-block__thumb--lead::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius) + 2px);
  border: 2px solid transparent;
  animation: thumb-ring 2.2s ease-in-out infinite;
  pointer-events: none;
}

.service__thumb-hint {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  animation: hint-bounce 1.4s ease-in-out infinite;
}

.service-block__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@keyframes thumb-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes thumb-ring {
  0%,
  100% {
    border-color: transparent;
    opacity: 0.3;
  }
  50% {
    border-color: rgba(var(--accent-rgb), 0.45);
    opacity: 1;
  }
}

@keyframes hint-bounce {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(2px, -2px);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  max-width: 100%;
}

.lightbox__img {
  display: block;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #eceef0;
  border-radius: var(--radius);
}

.lightbox__img[hidden],
.lightbox__video[hidden] {
  display: none;
}

.lightbox__video {
  display: block;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  width: auto;
  height: auto;
  background: #0c0d0e;
  border-radius: var(--radius);
}

.lightbox.is-video .lightbox__video {
  width: min(100%, 420px);
  height: auto;
  max-height: calc(100dvh - 88px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  object-fit: contain;
}

.media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(12, 13, 14, 0.48);
  border: 2px solid rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.media-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.works-grid__btn.is-video,
.preview-strip__item.is-video {
  cursor: pointer;
}

.works-grid__btn.is-portrait img {
  aspect-ratio: 9 / 16;
}

.preview-strip__item.is-portrait img {
  width: 108px;
  height: 168px;
}

.page-videos {
  padding-top: 8px;
}

.page-videos h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 1.35rem;
}

.page-videos .preview-strip {
  justify-content: center;
  gap: 16px;
}

.page-videos .preview-strip__item.is-video img,
.page-videos .preview-strip__item.is-portrait img {
  width: 168px;
  height: 280px;
}

.lightbox__close {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  align-self: flex-start;
  min-height: 48px;
  min-width: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lightbox__close::before {
  content: "← ";
}

/* Why us */
.why h2 {
  margin-bottom: 16px;
}

.why-lead {
  margin: 0 0 32px;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gray);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.why-list--2 {
  margin-bottom: 16px;
}

#sliding,
#showers {
  scroll-margin-top: 88px;
}

.glass-seo {
  margin-top: 48px;
}

.glass-seo .section__head {
  margin-bottom: 20px;
}

.faq-list {
  margin-top: 16px;
}

.faq-list h3 {
  font-size: 1rem;
}

@media (min-width: 800px) {
  .why-list--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.why-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.why-item h2,
.why-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.why-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 56ch;
}

.trust-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.trust-grid--about {
  margin: 0 0 28px;
}

.trust-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.trust-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  cursor: zoom-in;
}

.trust-card__slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
  cursor: zoom-in;
}

.trust-card__slideshow .trust-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.trust-card__slideshow .trust-card__slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .trust-card__slideshow .trust-card__photo {
    transition: none;
  }
}

.trust-card__body {
  padding: 16px 18px 20px;
}

.trust-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
}

.trust-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.5;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-map-section {
  padding-top: 0;
  background: var(--surface);
}

.contact-map-section .section__head {
  margin-bottom: 24px;
}

.contact-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact-map::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb), 0.08));
  pointer-events: none;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 46vw, 520px);
  border: 0;
}

.contact__heading,
.form__title {
  margin: 0 0 18px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.contact__info p {
  margin-top: 12px;
  color: var(--gray);
}

.person-card {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.person-card__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}

.person-card__name {
  margin: 6px 0 4px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.person-card__phone {
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.055em;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}

.person-card__phone:hover {
  color: var(--accent);
  border-bottom-color: transparent;
}

.social-title {
  margin: 28px 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social__badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, border-color 0.2s, color 0.2s, background-color 0.2s;
}

.social__badge svg {
  width: 20px;
  height: 20px;
}

.social__link--instagram .social__badge {
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.25);
  background: rgba(193, 53, 132, 0.06);
}

.social__link--viber .social__badge {
  color: #7360f2;
  border-color: rgba(115, 96, 242, 0.25);
  background: rgba(115, 96, 242, 0.06);
}

.social__link--telegram .social__badge {
  color: #26a5e4;
  border-color: rgba(38, 165, 228, 0.25);
  background: rgba(38, 165, 228, 0.06);
}

.social__link--tiktok .social__badge {
  color: var(--ink);
  border-color: rgba(51, 51, 51, 0.18);
  background: var(--surface);
}

.social__link--youtube .social__badge {
  color: #e62117;
  border-color: rgba(230, 33, 23, 0.25);
  background: rgba(230, 33, 23, 0.06);
}

.social__link.social-menu__btn {
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.social-menu--contact {
  list-style: none;
}

.social-menu--contact .social-menu__panel {
  left: 0;
  right: auto;
  transform-origin: top left;
}

.social-menu.active .social__link {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.social__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.social__link:hover .social__badge {
  transform: scale(1.06);
}

.visit-info {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.visit-info__address {
  margin: 0 0 12px;
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
}

.visit-info__address a {
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}

.visit-info__address a:hover {
  color: var(--accent);
  border-bottom-color: transparent;
}

.visit-info__hours {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--gray);
}

.visit-info__hours li {
  margin-bottom: 4px;
}

.visit-info__note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
}

.form__honeypot {
  display: none !important;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.form input,
.form textarea {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--gray);
}

.form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form__consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__status {
  margin: 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form__status.is-ok {
  color: #2f7d4a;
}

.form__status.is-error {
  color: #b42318;
}

.form__photo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__photo[hidden] {
  display: none !important;
}

.form__photo input[type="file"] {
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #f7f8fa;
}

.form__photo-hint {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}

.form__photo-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.form__photo-preview {
  width: 100%;
  height: 96px;
  max-height: none;
  object-fit: cover;
  border-radius: 12px;
  background: #ddd;
}

.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

.photo-quote__inner {
  max-width: 640px;
}

.photo-quote__form {
  margin-top: 8px;
}

/* Footer */
.footer {
  position: relative;
  z-index: 40;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--gray);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 16px auto 0;
  font-size: 0.82rem;
}

.footer__legal a {
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal a:hover {
  color: var(--ink);
}

.footer__geo {
  margin: 12px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
}

.legal {
  padding: 8px 0 72px;
  max-width: 960px;
}

.legal h2 {
  margin: 28px 0 10px;
  font-size: 1.12rem;
}

.legal p,
.legal li {
  color: var(--gray);
  line-height: 1.65;
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.laser-shot {
  margin: 18px 0 8px;
}

.laser-shot img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.laser-price {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 0.92rem;
}

.laser-price th,
.laser-price td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}

.laser-price th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.thanks {
  min-height: 48vh;
  text-align: center;
}

.thanks__lead {
  max-width: 28rem;
  margin: 0 auto 24px;
  font-size: 1.15rem;
  color: var(--gray);
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer__social .social-icon {
  width: 38px;
  height: 38px;
}

/* Inner pages */
.page-hero {
  position: relative;
  padding: 48px 0 40px;
  background: linear-gradient(180deg, var(--white) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: 0;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.48;
  animation: page-hero-line 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes page-hero-line {
  0%,
  100% { transform: translateX(0); opacity: 0.14; }
  50% { transform: translateX(-145%); opacity: 0.58; }
}

.page-hero--alt {
  background: var(--surface);
}

.page-hero__inner {
  max-width: 640px;
}

.page-hero--photo {
  padding: 28px 0 36px;
}

.page-hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-hero--photo .page-hero__inner {
  max-width: none;
}

.page-hero--photo .lead {
  margin: 12px 0 0;
}

.page-hero__shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #eceef0;
}

.page-hero__shot img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.rail-story__shots {
  list-style: none;
  margin: 20px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.rail-story__shots img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 800px) {
  .page-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-hero__shot img {
    height: 420px;
  }

  .rail-story__shots {
    grid-template-columns: repeat(3, 1fr);
  }

  .rail-story__shots img {
    height: 200px;
  }
}

.page-hero h1 {
  margin-top: 8px;
}

.page-hero__actions {
  margin: 16px 0 0;
}

.quote-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 0;
  width: 100%;
  max-width: 520px;
}

.quote-path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 108px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  text-align: left;
  text-decoration: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.quote-path:hover,
.quote-path:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.quote-path--calc {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.quote-path--calc:hover,
.quote-path--calc:focus-visible {
  box-shadow: 0 14px 32px rgba(var(--accent-rgb), 0.4);
}

.quote-path--photo {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.92)),
    radial-gradient(120% 80% at 100% 0%, rgba(var(--accent-rgb), 0.14), transparent 55%);
}

.quote-path__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
}

.quote-path__label {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.quote-path__hint {
  margin-top: auto;
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.78;
  font-weight: 600;
}

.quote-paths__more {
  margin: 12px 0 0;
  font-size: 0.9rem;
}

.quote-paths__more a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
}

.quote-paths__more a:hover {
  border-bottom-color: var(--accent);
}

.legal .seo-cta {
  display: block;
  margin: 28px 0 8px;
}

.legal .seo-cta--split {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.legal .seo-cta--split .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.legal .quote-paths {
  max-width: 560px;
}

@media (max-width: 420px) {
  .quote-paths {
    grid-template-columns: 1fr;
  }
  .quote-path {
    min-height: 96px;
  }
}

.calc-section {
  scroll-margin-top: 104px;
}

.calc {
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.calc__field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.calc__label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.calc__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.calc__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.calc__thumbs--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.calc__thumbs--4 {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 800px) {
  .calc__thumbs--4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .calc__thumbs--5,
  .calc__thumbs--6,
  .calc__thumbs--7 {
    grid-template-columns: repeat(3, 1fr);
  }

  .calc__thumbs--8 {
    grid-template-columns: repeat(4, 1fr);
  }

  .calc__thumbs--9,
  .calc__thumbs--10 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.calc__thumb {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.calc__thumb picture {
  display: block;
  cursor: zoom-in;
}

.calc__thumb img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: contain;
  object-position: center;
  padding: 8px 6px 0;
  background: #eceef0;
}

@media (min-width: 800px) {
  .calc__thumb img {
    height: 176px;
    object-fit: cover;
    padding: 0;
    background: #cfd3d7;
  }
}

.calc__thumb[data-calc-num]::after {
  content: attr(data-calc-num);
  position: absolute;
  right: 8px;
  bottom: 10px;
  z-index: 1;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(20, 22, 24, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.calc__thumb-copy {
  display: grid;
  gap: 3px;
  padding: 8px 36px 10px 8px;
}

.calc__thumb-name {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.calc__thumb-desc {
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gray);
}

.calc__thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.calc__pill {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.calc__pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.calc__input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1.1rem;
}

.calc__result {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.calc__result-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.calc__sum {
  margin: 4px 0 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--accent-dark);
}

.calc__spec,
.calc__note {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--gray);
}

.calc__result .btn {
  margin-top: 14px;
}

.btn--outline {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
  box-shadow: none;
}

.section-cta {
  margin: 40px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.home-teaser {
  text-align: center;
}

.home-teaser h2 {
  margin-bottom: 8px;
}

.home-teaser p {
  margin: 0 0 24px;
  color: var(--gray);
  max-width: 48ch;
  margin-inline: auto;
}

.reviews {
  padding: 40px 0 48px;
}

.reviews--home {
  padding-top: 8px;
  padding-bottom: 48px;
  background: var(--surface);
}

.reviews .section__head {
  margin-bottom: 20px;
}

.reviews__scroller {
  margin: 0;
}

.reviews__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.review-card {
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.review-card__stars {
  margin: 0 0 8px;
  color: #b0894a;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.review-card__text {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.review-card__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gray);
}

.review-card__meta strong {
  color: var(--ink);
  font-weight: 700;
}

.review-card__meta span {
  display: block;
  margin-top: 2px;
  color: var(--accent-dark);
  font-weight: 600;
}

@media (max-width: 799px) {
  .reviews__scroller {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: -16px;
    padding: 2px 16px 10px;
    scrollbar-width: none;
  }

  .reviews__scroller::-webkit-scrollbar {
    display: none;
  }

  .reviews__list {
    display: flex;
    gap: 12px;
    width: max-content;
  }

  .review-card {
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: start;
  }
}

@media (min-width: 800px) {
  .reviews__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.preview-strip {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.preview-strip__item {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.preview-strip__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.preview-strip__item img {
  display: block;
  width: 120px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.preview-strip__item:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.02);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-band:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.32);
  box-shadow: var(--shadow-md);
}

.cta-band__text h2 {
  margin-bottom: 8px;
}

.cta-band__text p {
  margin: 0;
  color: var(--gray);
  max-width: 42ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.works-filter {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.works-filter:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.works-filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.works-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.works-grid__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  cursor: zoom-in;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-grid__btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.works-grid__btn img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.works-grid__btn:hover img {
  transform: scale(1.035);
  filter: saturate(1.07) contrast(1.025);
}

.works-grid__caption {
  display: block;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.works-grid__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px 20px;
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.55;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

/* Responsive */
@media (max-width: 1100px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    gap: 16px;
    font-size: 0.82rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-points {
    padding: 12px 14px;
    gap: 10px;
  }

  .service-points li {
    font-size: 0.92rem;
    line-height: 1.5;
    padding-left: 18px;
  }
}

@media (min-width: 900px) {
  .header__brand {
    justify-content: flex-start;
    flex: 1;
  }

  .header-social--bar {
    display: flex;
  }

  .header__brand .logo {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .header__call {
    display: none;
  }

  .hero__quick {
    display: none;
  }

  .lang--bar {
    display: none;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }

  .social-menu__panel {
    min-width: min(240px, calc(100vw - 32px));
  }

  .hero__grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact .form {
    order: -1;
  }

  .hero {
    padding: 24px 0 28px;
  }

  .hero.is-hero-bg {
    min-height: 62dvh;
    padding-bottom: 14px;
  }

  .hero.is-hero-bg .hero__grid {
    display: flex;
    flex-direction: column;
    min-height: calc(62dvh - 38px);
  }

  .hero.is-hero-bg .hero__text > .lead {
    margin-top: auto;
    padding-bottom: 10px;
  }

  .hero__grid {
    gap: 12px;
  }

  /* Flatten text so we can put CTA right under the video */
  .hero__text {
    display: contents;
  }

  .hero__visual {
    order: 1;
    justify-content: flex-start;
  }

  .hero__text > .label {
    order: 2;
    margin: 0;
    font-size: 0.72rem;
  }

  .hero__text > h1 {
    order: 3;
    margin: 4px 0 0;
    font-size: clamp(1.5rem, 6vw, 1.9rem);
    line-height: 1.12;
  }

  .hero__cta {
    order: 4;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "btn call ai";
    align-items: center;
    column-gap: 10px;
    margin-top: 10px;
    width: 100%;
  }

  .hero__cta .btn {
    grid-area: btn;
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 0.92rem;
  }

  .hero__cta .consult-promo {
    grid-area: ai;
    justify-self: end;
    padding: 3px 10px 3px 3px;
  }

  .hero__cta .consult-promo__label {
    font-size: 0.86rem;
  }

  .hero__cta .consult-promo__arrow {
    display: none;
  }

  .hero__cta-phone {
    grid-area: call;
    justify-self: center;
    width: 44px;
    height: 44px;
  }

  .hero__text > .lead {
    order: 5;
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.4;
    max-width: none;
  }

  .hero__proof {
    order: 6;
    margin-top: 10px;
    gap: 6px;
  }

  .hero__proof li {
    gap: 8px;
    padding: 8px 8px 8px 8px;
    border-radius: 12px;
  }

  .hero__proof-mark {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .hero__proof-icon {
    width: 16px;
    height: 16px;
  }

  .hero__proof-num {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .hero__proof strong {
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .hero__frame {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .page-videos.section {
    padding: 28px 0 20px;
  }

  .page-videos h2 {
    margin-bottom: 12px;
    font-size: 1.15rem;
  }

  .page-videos .preview-strip {
    gap: 10px;
  }

  .page-videos .preview-strip__item.is-video img,
  .page-videos .preview-strip__item.is-portrait img {
    width: 112px;
    height: 186px;
  }

  .section {
    padding: 48px 0;
  }

  .service-block {
    padding: 20px;
  }

  .service-block__head {
    grid-template-columns: 40px 1fr;
    gap: 8px 12px;
  }

  .service-block__media {
    grid-template-columns: 1fr;
  }

  .service-block__thumbs {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
  }

  .service-block__thumb {
    width: 72px;
    height: 88px;
  }

  .service-block__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .service-block__foot .btn {
    width: 100%;
  }

  .social__link > span:not(.social__badge) {
    display: none;
  }

  .social__link {
    padding: 4px;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .footer__inner {
    justify-content: center;
    text-align: center;
  }

  .cta-band {
    padding: 24px;
  }

  .cta-band__actions {
    width: 100%;
  }

  .cta-band__actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .preview-strip__item img {
    width: 96px;
    height: 120px;
  }

}

.form-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 16px;
}

.form-popup[hidden] {
  display: none;
}

.form-popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 18, 22, 0.55);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.form-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(100vh - 32px, 100dvh - 32px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.form-popup .form {
  margin: 0;
  padding-top: 36px;
}

.form-popup__lead {
  margin: -8px 0 4px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-popup__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.form-popup-open {
  overflow: hidden;
}

.fab {
  display: none;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.fab__panel[hidden] {
  display: none;
}

.fab__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.fab__link svg {
  width: 20px;
  height: 20px;
}

.fab__link--telegram {
  color: #229ed9;
}

.fab__link--viber {
  color: #7360f2;
}

.fab__toggle {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}

.fab__toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 900px) {
  .fab {
    display: flex;
  }

  body.form-popup-open .fab {
    display: none;
  }
}

.seo-cover {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 14px;
}

.seo-cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  cursor: zoom-in;
}

.seo-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.seo-hub .seo-cluster {
  margin: 36px 0 8px;
}

.seo-cluster h2 a {
  text-decoration: none;
}

.seo-q-list {
  margin: 12px 0 0;
  padding-left: 1.15em;
}

@media (min-width: 800px) {
  .seo-q-list {
    columns: 2;
    column-gap: 40px;
  }
}

.seo-q-list li {
  break-inside: avoid;
  margin: 0 0 8px;
}

.seo-q-uk {
  display: block;
  font-size: 0.82em;
  color: var(--gray);
}

.seo-q-ru {
  display: block;
  font-size: 0.82em;
  color: var(--gray);
}

/* SEO keywords: for crawlers, not shown to visitors */

.seo-kw {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.seo-kw ul { margin: 0; padding: 0; list-style: 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;
}

/* AI consultant — окрема кнопка */
.consult-open {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 85;
  min-width: 56px;
  height: 56px;
  padding: 0 14px 0 8px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open .consult-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.consult-open__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .consult-open {
    right: calc(16px + 56px + 12px + env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .consult-open__label {
    display: none;
  }

  body.form-popup-open .consult-open,
  body.is-consult-open .consult-open,
  body.is-consult-open .fab {
    display: none;
  }
}

@media (min-width: 901px) {
  body.is-consult-open .consult-open {
    display: none;
  }
}

/* ІІ mark — type-in + soft glow */
.ii-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.06em;
  font-family: "Orbitron", var(--font);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: inherit;
}

.ii-mark__letter {
  opacity: 0;
  transform: translateY(0.18em);
  animation: ii-type-in 4.8s ease-in-out infinite;
}

.ii-mark__letter:nth-child(1) {
  animation-delay: 0.15s;
}

.ii-mark__letter:nth-child(2) {
  animation-delay: 0.42s;
}

.ii-mark__cursor {
  width: 0.08em;
  height: 0.85em;
  margin-left: 0.06em;
  border-radius: 1px;
  background: currentColor;
  opacity: 0;
  animation: ii-cursor 4.8s ease-in-out infinite;
}

@keyframes ii-type-in {
  0%,
  6% {
    opacity: 0;
    transform: translateY(0.18em);
    text-shadow: none;
  }
  12%,
  72% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  }
  86%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
    text-shadow: none;
  }
}

@keyframes ii-cursor {
  0%,
  8% {
    opacity: 0;
  }
  10%,
  18% {
    opacity: 1;
  }
  22%,
  70% {
    opacity: 0;
  }
  74%,
  82% {
    opacity: 0.6;
  }
  88%,
  100% {
    opacity: 0;
  }
}

.ii-mark--fab {
  font-size: 1.15rem;
  min-width: 1.6em;
}

.ii-mark--sm {
  font-size: 0.95rem;
  color: var(--accent-dark);
  min-width: 1.4em;
}

.ii-mark--sm .ii-mark__letter {
  text-shadow: none;
}

.ii-mark--sm .ii-mark__letter,
.ii-mark--promo .ii-mark__letter {
  animation-name: ii-type-in-ink;
}

@keyframes ii-type-in-ink {
  0%,
  6% {
    opacity: 0;
    transform: translateY(0.18em);
    filter: blur(2px);
  }
  12%,
  72% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  86%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
    filter: blur(0);
  }
}

.ii-mark--promo {
  font-size: 1.55rem;
  color: #fff;
  min-width: 1.7em;
}

.hero__cta .consult-promo {
  flex-shrink: 0;
}

.hero__cta .btn,
.hero__cta .consult-promo {
  background: #fff;
  color: var(--ink);
  border-color: rgba(17, 17, 17, 0.14);
  box-shadow: 0 8px 22px rgba(15, 25, 40, 0.14);
}

.hero__cta .btn:hover,
.hero__cta .consult-promo:hover,
.hero__cta .btn:focus-visible,
.hero__cta .consult-promo:focus-visible {
  background: #fff;
  color: var(--ink);
}

.hero__cta .btn:active,
.hero__cta .consult-promo:active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.consult-promo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  padding: 4px 12px 4px 4px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: #111;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.consult-promo:hover,
.consult-promo:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  outline: none;
}

.consult-promo__orb {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2a2a, #0a0a0a 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.consult-promo__orb--fab {
  width: 40px;
  height: 40px;
}

.consult-promo__orb--fab .consult-promo__core {
  font-size: 0.7rem;
}

.consult-promo__orb--fab .consult-promo__dot {
  /* keep orbit radius in sync with larger orb */
  animation-name: ai-orbit-fab;
}

.consult-promo__orb--sm {
  width: 22px;
  height: 22px;
}

.consult-promo__orb--sm .consult-promo__core {
  font-size: 0.42rem;
  letter-spacing: 0.04em;
}

.consult-promo__orb--sm .consult-promo__dot {
  width: 2.5px;
  height: 2.5px;
  margin: -1.25px 0 0 -1.25px;
  animation-name: ai-orbit-sm;
}

.consult-promo__orb--sm .consult-promo__ring {
  inset: 2px;
}

@keyframes ai-orbit-fab {
  0% {
    transform: rotate(0deg) translateX(14px) scale(1);
    opacity: 0.95;
  }
  50% {
    transform: rotate(180deg) translateX(14px) scale(0.75);
    opacity: 0.45;
  }
  100% {
    transform: rotate(360deg) translateX(14px) scale(1);
    opacity: 0.95;
  }
}

@keyframes ai-orbit-sm {
  0% {
    transform: rotate(0deg) translateX(7px) scale(1);
    opacity: 0.95;
  }
  50% {
    transform: rotate(180deg) translateX(7px) scale(0.75);
    opacity: 0.45;
  }
  100% {
    transform: rotate(360deg) translateX(7px) scale(1);
    opacity: 0.95;
  }
}

.consult-promo__ring {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  animation: ai-ring 2.8s ease-in-out infinite;
}

.consult-promo__core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Orbitron", var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  animation: ai-core 2.8s ease-in-out infinite;
}

.consult-promo__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
  animation: ai-orbit 2.4s linear infinite;
}

.consult-promo__dot--1 {
  animation-delay: 0s;
}

.consult-promo__dot--2 {
  animation-delay: -0.8s;
}

.consult-promo__dot--3 {
  animation-delay: -1.6s;
}

@keyframes ai-orbit {
  0% {
    transform: rotate(0deg) translateX(12px) scale(1);
    opacity: 0.95;
  }
  50% {
    transform: rotate(180deg) translateX(12px) scale(0.75);
    opacity: 0.45;
  }
  100% {
    transform: rotate(360deg) translateX(12px) scale(1);
    opacity: 0.95;
  }
}

@keyframes ai-ring {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

@keyframes ai-core {
  0%,
  100% {
    text-shadow: 0 0 0 transparent;
    letter-spacing: 0.06em;
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
    letter-spacing: 0.1em;
  }
}

.consult-promo__label {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.consult-promo__arrow {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.consult-promo:hover .consult-promo__arrow {
  transform: translateX(3px);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .consult-promo__ring,
  .consult-promo__core,
  .consult-promo__dot {
    animation: none !important;
  }
}

.consult {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(20, 28, 36, 0.35);
}

.consult[hidden] {
  display: none !important;
}

.consult__panel {
  width: min(430px, 100%);
  max-height: min(680px, calc(100dvh - 24px));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(15, 25, 40, 0.32), 0 4px 18px rgba(15, 25, 40, 0.14);
  overflow: hidden;
  animation: consult-in 0.28s ease;
}

@keyframes consult-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.consult__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(135deg, #46617c 0%, var(--accent) 55%, var(--accent-dark) 100%);
  color: #fff;
}

.consult__id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.consult__avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.consult__id-text {
  min-width: 0;
}

.consult__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 3px 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.85;
}

.consult__status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: consult-pulse 2.2s ease-out infinite;
}

@keyframes consult-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.consult__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}

.consult__head h2 {
  margin: 1px 0 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consult__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.consult__messages {
  flex: 1;
  overflow: auto;
  padding: 16px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(var(--accent-rgb), 0.09), transparent 60%),
    linear-gradient(180deg, #f4f7fa 0%, var(--surface) 30%);
}

.consult__msg {
  position: relative;
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.consult__msg--assistant {
  align-self: flex-start;
  margin-left: 34px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(20, 30, 45, 0.06);
  border-bottom-left-radius: 5px;
  box-shadow: 0 2px 8px rgba(20, 30, 45, 0.07);
}

.consult__msg--assistant::before {
  content: "S";
  position: absolute;
  left: -34px;
  top: 2px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(var(--accent-rgb), 0.35);
}

.consult__msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 3px 10px rgba(var(--accent-rgb), 0.28);
}

.consult__msg.is-thinking {
  padding: 12px 16px;
}

.consult__dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 44px;
}

.consult__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray);
  opacity: 0.45;
  animation: consult-dot 1.2s ease-in-out infinite;
}

.consult__dots i:nth-child(2) { animation-delay: 0.15s; }
.consult__dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes consult-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.consult__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 12px;
  background: linear-gradient(180deg, #f4f7fa 0%, var(--surface) 100%);
}

.consult__chips[hidden] {
  display: none;
}

.consult__chip {
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.07);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.consult__chip:hover {
  background: rgba(var(--accent-rgb), 0.14);
}

.consult__chip:active {
  transform: scale(0.96);
}

.consult__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.consult__form textarea {
  resize: none;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
  min-height: 44px;
  max-height: 110px;
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.consult__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.consult__send {
  align-self: end;
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 16px;
  border-bottom-right-radius: 5px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .consult {
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 10px max(10px, env(safe-area-inset-bottom));
    background: rgba(20, 28, 36, 0.45);
  }

  .consult__panel {
    width: min(330px, calc(100vw - 20px));
    height: min(540px, 58dvh);
    max-height: min(540px, 58dvh);
    margin-bottom: 12px;
    border-radius: 20px;
    transition: width 0.25s ease, height 0.25s ease, max-height 0.25s ease, margin 0.25s ease;
  }

  .consult__form textarea {
    font-size: 16px;
  }

  .consult.is-kb {
    align-items: flex-end;
    justify-content: center;
    padding: 0 10px;
  }

  .consult.is-kb .consult__panel {
    width: min(560px, 100%);
    height: calc(var(--vvh, 62dvh) - 14px);
    max-height: calc(var(--vvh, 62dvh) - 14px);
    margin: 0 0 8px;
  }
}

.care-offer {
  display: grid;
  gap: 18px;
  margin: 28px auto 4px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.care-offer img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--surface);
}

.care-offer__kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.care-offer h2 {
  margin: 8px 0 0;
  color: var(--ink);
}

.care-offer p {
  margin: 10px 0 0;
  color: var(--gray);
}

.care-offer__price {
  margin: 16px 0 0;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.care-offer__actions {
  margin: 16px 0 0;
}

.care-offer + .care-offer {
  margin-top: 14px;
}

@media (min-width: 800px) {
  .care-offer {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 28px;
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .consult {
    padding: 0 8px max(8px, env(safe-area-inset-bottom));
    align-items: flex-end;
    justify-content: flex-end;
  }

  .consult__panel {
    width: min(320px, calc(100vw - 16px));
    height: min(520px, 56dvh);
    max-height: min(520px, 56dvh);
    margin-bottom: 8px;
    border-radius: 20px;
  }

  .consult__form textarea {
    font-size: 16px;
  }
}


/* ===== Extra motion ===== */

/* Popup заявки — красивое появление */
.form-popup__backdrop {
  animation: semo-fade-in 0.3s ease;
}
.form-popup__dialog {
  animation: semo-popup-in 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes semo-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes semo-popup-in {
  from { opacity: 0; transform: translateY(26px) scale(0.95); }
  to { opacity: 1; transform: none; }
}
.form-popup__close {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}
.form-popup__close:hover {
  transform: rotate(90deg);
}

/* Hero-карточка «заявка» — лёгкое парение */
.hero__quick {
  animation: semo-quick-float 5.5s ease-in-out infinite;
}
@keyframes semo-quick-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

/* FAB-кнопка — мягкая пульсация */
.fab__toggle {
  animation: semo-fab-breathe 3.2s ease-in-out infinite;
}
@keyframes semo-fab-breathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.06; }
}

/* Миниатюры в карточках услуг — отклик при наведении */
.service-card__mini {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.service-card__mini-btn:hover .service-card__mini {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Карточки работ — лёгкий подъём при наведении */
.works-grid__item {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.works-grid__item:hover {
  transform: translateY(-5px);
}

@media (prefers-reduced-motion: reduce) {
  .form-popup__backdrop,
  .form-popup__dialog,
  .form-popup__close,
  .hero__quick,
  .fab__toggle,
  .service-card__mini,
  .works-grid__item {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== SEO text blocks ===== */
.seo-text {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.seo-text h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  line-height: 1.3;
}
.seo-text p {
  margin: 0 0 12px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
}
.seo-text p:last-child {
  margin-bottom: 0;
}
.seo-faq {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}
.seo-faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--card, #fff);
}
.seo-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink, #1a1a1a);
}
.seo-faq details p {
  margin: 10px 0 2px;
}
.related-links {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 8px;
}
.related-links h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 600;
}
.related-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-links__grid a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.related-links__grid a:hover {
  border-color: var(--accent);
  background: rgba(193, 53, 132, 0.06);
}

/* Mobile bottom dock — calculator / AI / chat */
.mobile-dock {
  display: none;
}

@media (max-width: 768px) {
  .mobile-dock {
    display: flex;
    position: fixed;
    left: 50%;
    bottom: max(0px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 84;
    gap: 18px;
    padding: 4px 28px;
    border-radius: 999px;
    background: transparent;
    border: 1.5px solid var(--ink);
    box-shadow: 0 8px 22px rgba(15, 25, 40, 0.12);
  }

  .mobile-dock__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17, 17, 17, 0.28);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s, color 0.2s, transform 0.15s;
  }

  .mobile-dock__btn:active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    transform: scale(0.92);
  }

  .mobile-dock__btn svg {
    width: 20px;
    height: 20px;
  }

  .consult-open,
  .fab__toggle {
    display: none !important;
  }

  .fab {
    bottom: max(78px, calc(env(safe-area-inset-bottom) + 64px));
  }

  body {
    padding-bottom: 76px;
  }
}

@media (max-width: 768px) {
  .mobile-dock__btn .consult-promo__orb--sm {
    width: 24px;
    height: 24px;
  }
}

/* Dock calculator popup */
.dock-calc-pop {
  display: none;
}

.dock-calc-pop.is-open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 15, 22, 0.35);
}

.dock-calc-pop__card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 68px;
  width: min(400px, calc(100vw - 24px));
  max-width: none;
  max-height: min(78dvh, 640px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.dock-calc-pop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.95rem;
}

.dock-calc-pop__close {
  border: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray);
  padding: 0 4px;
}

.dock-calc-pop__body {
  overflow-y: auto;
  padding: 12px 14px;
  -webkit-overflow-scrolling: touch;
}

.dock-calc-pop__body .calc {
  margin: 0;
}

.dock-calc-pop__more {
  display: block;
  text-align: center;
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-dark);
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.dock-calc-pop__more:hover {
  color: var(--accent);
}

.dock-calc-pop__empty {
  padding: 18px 8px;
  color: var(--gray);
  font-size: 0.92rem;
  text-align: center;
}
