/* Лендинг Denta Vision
 * Технологии: HTML/CSS/JS + CDN библиотеки (Vanta/GSAP)
 */

:root {
  --bg: #f7fbfc;
  --bg2: #ffffff;
  --ink: #052a33;
  --muted: rgba(5, 42, 51, 0.72);
  --muted2: rgba(5, 42, 51, 0.56);
  --stroke: rgba(5, 42, 51, 0.14);
  --stroke2: rgba(5, 42, 51, 0.1);
  --shadow: 0 24px 64px rgba(5, 42, 51, 0.12);
  --shadow2: 0 14px 38px rgba(5, 42, 51, 0.12);

  --brand-900: #0b718a;
  --brand-700: #128aa4;
  --brand-500: #1fb4cf;
  --brand-300: #82d8ea;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --container: 1180px;

  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(1200px 800px at 10% 0%, rgba(130, 216, 234, 0.24), transparent 55%),
    radial-gradient(1100px 700px at 95% 20%, rgba(31, 180, 207, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 35%, #ffffff 100%);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

#swup {
  min-height: 100%;
}

.transition-fade {
  transition: opacity 320ms ease, transform 320ms ease, filter 320ms ease;
  will-change: opacity, transform;
}

.transition-fade.is-changing.is-leaving {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
}

.transition-fade.is-changing.is-rendering {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  inset: 10px auto auto 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg2);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
  transform: translateY(-140%);
  transition: transform 160ms ease;
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(5, 42, 51, 0.08);
}

.header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 180px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 22px rgba(5, 42, 51, 0.12));
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.nav-toggle__icon {
  width: 18px;
  height: 12px;
  position: relative;
}
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle__icon::before {
  top: 1px;
  box-shadow: 0 4px 0 var(--ink), 0 8px 0 var(--ink);
}
.nav-toggle__label {
  font-size: 14px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__link {
  font-size: 14px;
  color: rgba(5, 42, 51, 0.78);
  padding: 10px 12px;
  border-radius: 14px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.is-external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.is-external::after {
  content: "";
  width: 30px;
  height: 30px;
  flex: 0 0 14px;
  background: currentColor;
  opacity: 0.72;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M14%205h5v5h-2V8.41l-7.29%207.3-1.42-1.42%207.3-7.29H14V5z%22/%3E%3Cpath%20d%3D%22M5%207a2%202%200%200%201%202-2h4v2H7v10h10v-4h2v4a2%202%200%200%201-2%202H7a2%202%200%200%201-2-2V7z%22/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M14%205h5v5h-2V8.41l-7.29%207.3-1.42-1.42%207.3-7.29H14V5z%22/%3E%3Cpath%20d%3D%22M5%207a2%202%200%200%201%202-2h4v2H7v10h10v-4h2v4a2%202%200%200%201-2%202H7a2%202%200%200%201-2-2V7z%22/%3E%3C/svg%3E")
    no-repeat center / contain;
}

.nav__link:hover {
  background: rgba(31, 180, 207, 0.12);
  color: rgba(5, 42, 51, 0.9);
}

.nav__cta {
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(11, 113, 138, 0.26);
}
.nav__cta:hover {
  background: linear-gradient(135deg, #0a6880, #1ec0da);
  transform: translateY(-1px);
}

/* Первый экран (Hero) */
.hero {
  position: relative;
  padding: 72px 0 28px;
}

.hero--inner {
  padding-bottom: 10px;
}

.hero__bg {
  position: absolute;
  inset: -120px 0 auto 0;
  height: 560px;
  border-bottom: 1px solid rgba(5, 42, 51, 0.06);
  background: radial-gradient(800px 520px at 20% 12%, rgba(130, 216, 234, 0.55), transparent 60%),
    radial-gradient(760px 520px at 78% 18%, rgba(31, 180, 207, 0.28), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 252, 0.92));
  overflow: hidden;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.hero__copy {
  padding-top: 14px;
}

.hero__logo {
  /* width: min(520px, 100%); */
  height: 110px;
  /* filter: drop-shadow(0 18px 36px rgba(5, 42, 51, 0.12)); */
}

.scan-logo {
  position: relative;
  display: inline-block;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}

.scan-logo.is-scanfx .hero__logo {
  /* Оставляем img для разметки и доступности, анимацию рисуем на canvas */
  opacity: 1;
}

.scan-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}

.scan-logo.is-scanfx .scan-canvas {
  opacity: 0;
}

.scan-beam {
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 0;
  width: 42%;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(130, 216, 234, 0.05) 24%,
      rgba(31, 180, 207, 0.24) 46%,
      rgba(255, 255, 255, 0.58) 50%,
      rgba(31, 180, 207, 0.22) 54%,
      rgba(130, 216, 234, 0.05) 76%,
      rgba(255, 255, 255, 0) 100%
    );
  mix-blend-mode: screen;
  filter: blur(0.2px) brightness(1.05);
  opacity: 0;
  transform: translateX(-200%) skewX(-16deg);
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__kicker {
  margin: 16px 0 10px;
  color: rgba(11, 113, 138, 0.92);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero__lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 62ch;
}

.hero__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, border-color 170ms ease;
  user-select: none;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.btn--primary {
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
  box-shadow: 0 18px 44px rgba(11, 113, 138, 0.28);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 54px rgba(11, 113, 138, 0.32);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.68);
}
.btn--ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 180, 207, 0.35);
  box-shadow: 0 18px 44px rgba(5, 42, 51, 0.12);
}

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

.hero__badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  font-size: 13px;
  color: rgba(5, 42, 51, 0.76);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 28px rgba(5, 42, 51, 0.08);
}

.hero__panel {
  position: relative;
}

.panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(5, 42, 51, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(420px 280px at 20% 20%, rgba(130, 216, 234, 0.35), transparent 60%),
    radial-gradient(420px 280px at 80% 0%, rgba(31, 180, 207, 0.22), transparent 64%);
  pointer-events: none;
  opacity: 0.9;
}

.panel > * {
  position: relative;
}

.panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel__grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.chip {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.chip.is-external {
  position: relative;
  padding-right: 38px;
}
.chip.is-external::after {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.62;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 180, 207, 0.35);
  box-shadow: 0 18px 40px rgba(5, 42, 51, 0.12);
}

.chip__icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 113, 138, 0.12), rgba(31, 180, 207, 0.14));
  color: var(--brand-900);
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 113, 138, 0.14);
}

.chip__icon svg {
  width: 20px;
  height: 20px;
}

.chip__name {
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.chip__desc {
  font-size: 12.5px;
  color: var(--muted2);
}

.panel__note {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(5, 42, 51, 0.1);
  background: rgba(255, 255, 255, 0.6);
  color: rgba(5, 42, 51, 0.76);
  font-size: 13.5px;
}

.panel__spark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand-300), var(--brand-900));
  box-shadow: 0 0 0 6px rgba(31, 180, 207, 0.12);
  margin-top: 4px;
}

/* Секции */
.section {
  padding: 74px 0;
}
.section--tight {
  padding: 54px 0;
}
.section--surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 252, 0.9));
  border-top: 1px solid rgba(5, 42, 51, 0.06);
  border-bottom: 1px solid rgba(5, 42, 51, 0.06);
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  max-width: 72ch;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-size: clamp(24px, 2.5vw, 34px);
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

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

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

.card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(5, 42, 51, 0.12);
  padding: 16px;
  overflow: hidden;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(520px 220px at 15% 0%, rgba(130, 216, 234, 0.22), transparent 64%),
    radial-gradient(520px 220px at 95% 15%, rgba(31, 180, 207, 0.14), transparent 62%);
  pointer-events: none;
}

.card > * {
  position: relative;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: rgba(11, 113, 138, 0.92);
  background: linear-gradient(135deg, rgba(11, 113, 138, 0.12), rgba(31, 180, 207, 0.16));
  border: 1px solid rgba(11, 113, 138, 0.14);
}
.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__title {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.card__list {
  margin: 12px 0 0;
  padding-left: 16px;
  color: rgba(5, 42, 51, 0.74);
  font-size: 13.5px;
  display: grid;
  gap: 8px;
}

/* Вкладки */
.tabs {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(5, 42, 51, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.6));
}

.tab {
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.66);
  padding: 10px 12px;
  border-radius: 16px;
  cursor: pointer;
  color: rgba(5, 42, 51, 0.78);
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.tab:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 180, 207, 0.34);
}

.tab.is-active {
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
  box-shadow: 0 16px 36px rgba(11, 113, 138, 0.22);
}

.tabs__panes {
  padding: 16px;
}

.pane {
  display: none;
}
.pane.is-active {
  display: block;
}

.pane__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.pane__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pane__lead {
  margin: 10px 0 0;
  color: var(--muted);
}

.specs {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.spec {
  border: 1px solid rgba(5, 42, 51, 0.1);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 12px 12px;
}
.spec__k {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(5, 42, 51, 0.55);
}
.spec__v {
  margin-top: 6px;
  font-weight: 650;
  color: rgba(5, 42, 51, 0.82);
}

.callout {
  border-radius: 22px;
  border: 1px solid rgba(11, 113, 138, 0.18);
  background: radial-gradient(520px 240px at 10% 0%, rgba(130, 216, 234, 0.32), transparent 60%),
    linear-gradient(135deg, rgba(11, 113, 138, 0.12), rgba(31, 180, 207, 0.12)),
    rgba(255, 255, 255, 0.72);
  padding: 16px;
  box-shadow: 0 18px 48px rgba(11, 113, 138, 0.14);
}

.callout--soft {
  border-color: rgba(5, 42, 51, 0.12);
  box-shadow: 0 18px 48px rgba(5, 42, 51, 0.12);
}

.callout__title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.callout__text {
  margin: 10px 0 0;
  color: rgba(5, 42, 51, 0.78);
}
.callout__cta {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px rgba(11, 113, 138, 0.22);
}

/* Шаги */
.steps {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.steps__item {
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 16px 38px rgba(5, 42, 51, 0.1);
}

.steps__n {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(11, 113, 138, 0.9);
}
.steps__t {
  margin-top: 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.steps__d {
  margin-top: 6px;
  color: rgba(5, 42, 51, 0.7);
  font-size: 13.5px;
}

/* Сплит-раскладки */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.feature {
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(5, 42, 51, 0.1);
  background: rgba(255, 255, 255, 0.66);
}
.feature__k {
  font-weight: 850;
  letter-spacing: -0.02em;
}
.feature__v {
  margin-top: 6px;
  color: rgba(5, 42, 51, 0.7);
}

.glass {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.38));
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(520px 280px at 20% 0%, rgba(130, 216, 234, 0.42), transparent 60%),
    radial-gradient(520px 280px at 86% 10%, rgba(31, 180, 207, 0.2), transparent 64%),
    linear-gradient(135deg, rgba(11, 113, 138, 0.1), rgba(31, 180, 207, 0.1));
  pointer-events: none;
}
.glass > * {
  position: relative;
}
.glass__title {
  font-family: var(--font-display);
  font-weight: 820;
  letter-spacing: -0.03em;
}
.glass__items {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.glass__item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(5, 42, 51, 0.1);
  background: rgba(255, 255, 255, 0.62);
}
.glass__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--brand-300), var(--brand-900));
  box-shadow: 0 0 0 6px rgba(31, 180, 207, 0.12);
  margin-top: 4px;
}
.glass__k {
  font-weight: 850;
  letter-spacing: -0.02em;
}
.glass__v {
  margin-top: 6px;
  color: rgba(5, 42, 51, 0.72);
}
.glass__cta {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(11, 113, 138, 0.22);
}

/* Плитки + цитаты */
.tile {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 44px rgba(5, 42, 51, 0.12);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(520px 220px at 10% 0%, rgba(130, 216, 234, 0.25), transparent 64%),
    radial-gradient(520px 220px at 95% 10%, rgba(31, 180, 207, 0.16), transparent 62%);
  pointer-events: none;
}
.tile > * {
  position: relative;
}
.tile__title {
  font-family: var(--font-display);
  font-weight: 820;
  letter-spacing: -0.03em;
  font-size: 18px;
}
.tile__text {
  margin-top: 10px;
  color: rgba(5, 42, 51, 0.72);
}

.quote {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 44px rgba(5, 42, 51, 0.12);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(520px 240px at 15% 0%, rgba(130, 216, 234, 0.26), transparent 64%),
    radial-gradient(520px 240px at 95% 15%, rgba(31, 180, 207, 0.14), transparent 62%);
  pointer-events: none;
}
.quote > * {
  position: relative;
}
.quote__title {
  font-family: var(--font-display);
  font-weight: 850;
  letter-spacing: -0.03em;
}
.quote__text {
  margin: 10px 0 0;
  color: rgba(5, 42, 51, 0.74);
}
.quote__meta {
  margin-top: 14px;
  color: rgba(5, 42, 51, 0.56);
  font-weight: 700;
  font-size: 13px;
}

/* Адреса + карта */
.locations {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: stretch;
}

.locations__list {
  display: grid;
  gap: 10px;
  height: 100%;
  align-content: start;
  overflow: auto;
  padding-right: 4px;
}

.loc {
  text-align: left;
  padding: 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 34px rgba(5, 42, 51, 0.1);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.loc:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 180, 207, 0.35);
  box-shadow: 0 18px 44px rgba(5, 42, 51, 0.12);
}

.loc.is-active {
  border-color: rgba(11, 113, 138, 0.38);
  background: linear-gradient(135deg, rgba(11, 113, 138, 0.12), rgba(31, 180, 207, 0.12)),
    rgba(255, 255, 255, 0.7);
}

.loc__city {
  display: block;
  font-family: var(--font-display);
  font-weight: 820;
  letter-spacing: -0.03em;
}
.loc__addr {
  display: block;
  margin-top: 6px;
  color: rgba(5, 42, 51, 0.8);
  font-weight: 700;
}
.loc__meta {
  display: block;
  margin-top: 8px;
  color: rgba(5, 42, 51, 0.64);
  font-size: 13.5px;
}

.loc__meta--opening {
  color: rgba(11, 113, 138, 0.96);
  font-weight: 800;
}

.locations__map {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(5, 42, 51, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.6));
}

.map-head__title {
  font-weight: 850;
  letter-spacing: -0.02em;
  color: rgba(5, 42, 51, 0.82);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-head__controls {
  display: inline-flex;
  padding: 4px;
  border-radius: 16px;
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.62);
}

.seg {
  border: 0;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
  background: transparent;
  font-weight: 800;
  color: rgba(5, 42, 51, 0.72);
  transition: background 160ms ease, color 160ms ease;
}

.seg.is-active {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
  color: rgba(255, 255, 255, 0.94);
}

.map-frame {
  height: 420px;
  flex: 1 1 auto;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(540px 360px at 30% 20%, rgba(130, 216, 234, 0.3), transparent 60%),
    radial-gradient(540px 360px at 80% 10%, rgba(31, 180, 207, 0.18), transparent 62%),
    rgba(255, 255, 255, 0.7);
}

.locations__map.is-2gis .map-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(247, 251, 252, 0), rgba(247, 251, 252, 0.98) 55%);
  pointer-events: none;
}

.map-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.map-embed.is-active {
  opacity: 1;
  pointer-events: auto;
}

.map-embed > a,
.map-embed > a > img {
  width: 100%;
  height: 100%;
  display: block;
}
.map-embed > a > img {
  object-fit: cover;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(5, 42, 51, 0.1);
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 800;
  color: rgba(5, 42, 51, 0.76);
}

.map-link--phone {
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-500));
  box-shadow: 0 18px 44px rgba(11, 113, 138, 0.22);
}

.map-link.is-disabled {
  pointer-events: none;
  opacity: 0.48;
  box-shadow: none;
}

.map-note {
  margin: 0;
  padding: 0 12px 12px;
  color: rgba(5, 42, 51, 0.62);
  font-size: 13px;
}

/* Формы */
.form {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.form::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(520px 280px at 20% 0%, rgba(130, 216, 234, 0.35), transparent 60%),
    radial-gradient(520px 280px at 95% 15%, rgba(31, 180, 207, 0.16), transparent 62%),
    linear-gradient(135deg, rgba(11, 113, 138, 0.1), rgba(31, 180, 207, 0.1));
  pointer-events: none;
}
.form > * {
  position: relative;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.field__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(5, 42, 51, 0.56);
  font-weight: 800;
}
.field__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.66);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field__input:focus {
  border-color: rgba(31, 180, 207, 0.55);
  box-shadow: 0 0 0 6px rgba(31, 180, 207, 0.16);
}
.field__input--area {
  resize: vertical;
}

.form__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.form__fineprint {
  margin: 12px 0 0;
  color: rgba(5, 42, 51, 0.56);
  font-size: 12.5px;
}

.mini {
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(5, 42, 51, 0.1);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 38px rgba(5, 42, 51, 0.1);
}
.mini__k {
  font-family: var(--font-display);
  font-weight: 850;
  letter-spacing: -0.03em;
}
.mini__v {
  margin-top: 8px;
  color: rgba(5, 42, 51, 0.7);
}

.price-groups {
  display: grid;
  gap: 18px;
}

.price-group {
  border-radius: 26px;
  border: 1px solid rgba(5, 42, 51, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 48px rgba(5, 42, 51, 0.1);
  overflow: hidden;
}

.price-group__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(5, 42, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 252, 0.78));
}

.price-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 820;
  letter-spacing: -0.03em;
}

.price-group__code {
  margin: 0;
  color: rgba(5, 42, 51, 0.56);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.price-table th,
.price-table td {
  padding: 14px 20px;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid rgba(5, 42, 51, 0.08);
}

.price-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(5, 42, 51, 0.56);
  font-weight: 850;
  background: rgba(247, 251, 252, 0.86);
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table th:first-child,
.price-table td:first-child {
  width: 120px;
  white-space: nowrap;
  font-weight: 800;
  color: rgba(5, 42, 51, 0.82);
  text-align: center;
}

.price-table th:nth-child(2),
.price-table td:nth-child(2) {
  width: 160px;
  white-space: nowrap;
  font-weight: 800;
  color: rgba(5, 42, 51, 0.82);
}

.price-table td:last-child {
  width: 140px;
  white-space: nowrap;
  font-weight: 850;
  color: rgba(11, 113, 138, 0.96);
  text-align: right;
}

.price-table th:last-child {
  text-align: right;
}

.price-table__name {
  display: block;
}

.price-table__meta {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(5, 42, 51, 0.58);
}

/* Подвал */
.footer {
  padding: 40px 0 20px;
  border-top: 1px solid rgba(5, 42, 51, 0.08);
  background: radial-gradient(900px 540px at 20% 0%, rgba(130, 216, 234, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 252, 0.92));
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__mark {
  width: 40px;
  height: 40px;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 850;
  letter-spacing: -0.03em;
}
.footer__desc {
  margin-top: 4px;
  color: rgba(5, 42, 51, 0.62);
  font-size: 13.5px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.footer__col {
  padding: 14px 14px;
  border-radius: 20px;
  border: 1px solid rgba(5, 42, 51, 0.1);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 38px rgba(5, 42, 51, 0.1);
}
.footer__k {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(5, 42, 51, 0.56);
  font-weight: 850;
}
.footer__a {
  display: block;
  margin-top: 10px;
  color: rgba(5, 42, 51, 0.76);
  font-weight: 750;
}
.footer__a--social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__a--social svg {
  width: 18px;
  height: 18px;
  opacity: 0.82;
  flex: 0 0 18px;
}
.footer__handle {
  font-size: 12.5px;
  color: rgba(5, 42, 51, 0.56);
  font-weight: 750;
  margin-left: 2px;
}
.footer__a.is-external {
  display: flex;
  align-items: center;
}
.footer__a:hover {
  color: rgba(11, 113, 138, 0.92);
}

.noscript {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(5, 42, 51, 0.16);
  border-radius: 18px;
  padding: 12px 12px;
  box-shadow: var(--shadow2);
  z-index: 200;
}

/* Анимация появления */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Адаптив */
@media (max-width: 1040px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .panel__grid {
    grid-template-columns: 1fr;
  }
  .pane__grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .locations {
    grid-template-columns: 1fr;
  }
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 12px;
    display: grid;
    gap: 10px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(5, 42, 51, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }
  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    padding: 12px 14px;
  }
  .hero {
    padding-top: 54px;
  }
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .footer__cols {
    grid-template-columns: 1fr;
  }
  .form__actions {
    grid-template-columns: 1fr;
  }
  .map-frame {
    height: 360px;
  }
  .brand__logo {
    width: 150px;
  }
  .price-group__head {
    flex-direction: column;
    align-items: start;
  }
  .price-table th,
  .price-table td {
    padding: 12px 14px;
  }

  /* На мобильных скрываем крупный логотип в hero (по запросу) */
  .scan-logo {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .scan-beam {
    display: none;
  }
  .scan-canvas {
    display: none;
  }
  .scan-logo .hero__logo {
    opacity: 1;
  }
  .transition-fade {
    transition: none !important;
  }
}
