﻿/* ==========================================================================
   ZAMEROFF — замерочный сервис, Минск
   design system + layout
   ========================================================================== */

:root {
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --white: #ffffff;
  --ink: #0f1c2e;
  --ink-2: #1c2e45;
  --muted: #5c6a7a;
  --muted-2: #5f6d7c;
  --line: #e3dbcc;
  --line-2: #d2c7b3;
  --accent: #f5a524;
  --accent-hover: #e59412;
  --accent-soft: #fdf0d8;
  --accent-ink: #3a2a08;
  --green: #1c6b58;
  --green-soft: #e3f1eb;
  --blue: #2e5b8f;
  --danger: #b42318;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(15, 28, 46, 0.06);
  --shadow: 0 2px 4px rgba(15, 28, 46, 0.04), 0 18px 40px -20px rgba(15, 28, 46, 0.28);
  --shadow-l: 0 30px 70px -30px rgba(15, 28, 46, 0.35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  --font-display: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 6px #fff;
}

.section--dark :focus-visible,
.footer :focus-visible {
  outline-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(15, 28, 46, 0.92);
}

.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;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  vertical-align: -0.16em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(56px, 7.5vw, 104px);
  position: relative;
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.section--paper2 {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: #eef3f8;
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--flush-top {
  padding-top: 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
}

.section-head p {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 62ch;
}

.section-head--center p {
  margin-inline: auto;
}

.section--dark .section-head p {
  color: #a8b8c9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section--dark .eyebrow {
  color: #9fb0c3;
}

.lead {
  font-size: clamp(17px, 1.7vw, 19px);
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s, border-color 0.18s, box-shadow 0.18s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(15, 28, 46, 0.45);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  --btn-bd: var(--accent);
}

.btn--accent:hover {
  --btn-bg: var(--accent-hover);
  --btn-bd: var(--accent-hover);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
}

.btn--ghost:hover {
  --btn-bd: var(--ink);
  background: #fff;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bd: #fff;
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  border-color: #fff;
}

.btn--sm {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn__note {
  display: block;
  font-family: var(--font);
  font-weight: 400;
  font-size: 12px;
  opacity: 0.75;
  margin-top: 2px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-bottom: 1.5px solid var(--line-2);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.header.is-stuck {
  background: rgba(246, 242, 234, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(15, 28, 46, 0.5);
}

.header__in {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo__mark {
  width: 72px;
  height: 72px;
  flex: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.06em;
}

.logo__sub {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 9px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

.nav a:hover {
  background: rgba(15, 28, 46, 0.06);
}

.nav a.is-active {
  background: rgba(15, 28, 46, 0.08);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  flex: none;
  white-space: nowrap;
}

.header__phone span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.header__phone strong {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
}

.header__phone:hover strong {
  color: var(--accent-hover);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.burger span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), top 0.2s;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 18px 24px 28px;
  display: none;
  box-shadow: var(--shadow-l);
}

.mobile-menu.is-open {
  display: block;
  animation: menu-in 0.22s var(--ease);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
  margin-bottom: 18px;
}

.mobile-menu nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}

.mobile-menu__foot {
  display: grid;
  gap: 12px;
}

/* ---------- hero ---------- */

main {
  padding-top: var(--header-h);
}

.hero {
  position: relative;
  padding-block: clamp(40px, 5vw, 72px) clamp(48px, 6vw, 88px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 28, 46, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 28, 46, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -160px;
  top: -200px;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.28), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-s);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 10px;
}

.hero__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(28, 107, 88, 0.18);
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  background: linear-gradient(180deg, transparent 62%, rgba(245, 165, 36, 0.55) 62%);
}

.hero__lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: #46566a;
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: none;
}

.hero__b2b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 520px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.hero__b2b b {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  line-height: 1.3;
}

.hero__b2b small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
}

.hero__b2b-link {
  flex: none;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.hero__b2b:hover {
  border-color: var(--accent);
  background: #fff;
}

@media (max-width: 560px) {
  .hero__b2b {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* hero visual */

.hero__visual {
  position: relative;
  padding: 10px 0;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-l);
  padding: 18px;
  transform: rotate(1.2deg);
  transition: transform 0.4s var(--ease);
}

.plan-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.plan-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 10px;
}

.plan-card__title {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-card__title svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}

.plan-card__status {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--green);
  background: var(--green-soft);
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.plan-card svg.plan {
  width: 100%;
  height: auto;
}

.plan-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.25;
}

.plan-float b {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
}

.plan-float span {
  color: var(--muted);
  font-size: 11.5px;
}

.plan-float__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.plan-float--price {
  left: -14px;
  bottom: 54px;
  animation: float-y 7s ease-in-out infinite;
}

.plan-float--price .plan-float__icon {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.plan-float--files {
  right: -12px;
  bottom: -16px;
  animation: float-y 6s ease-in-out infinite reverse;
}

.plan-float--files .plan-float__icon {
  background: var(--green-soft);
  color: var(--green);
}

@keyframes float-y {
  50% {
    transform: translateY(-7px);
  }
}

/* stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(36px, 4vw, 56px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: rgba(255, 255, 255, 0.62);
  padding: 20px 22px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

/* ---------- compare ---------- */

.compare-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.compare-note {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.compare-note .big {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.compare-note .big small {
  display: block;
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.compare-note p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 36ch;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fbf9f4;
  font-weight: 600;
}

.compare-table thead th:last-child {
  color: var(--ink);
  background: var(--accent-soft);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td:first-child {
  color: var(--ink-2);
  font-weight: 500;
}

.compare-table td.yes {
  background: #fffdf7;
  font-weight: 500;
}

.compare-table td.yes svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}

.compare-table td.no {
  color: var(--muted-2);
}

/* ---------- service cards ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
  min-height: 152px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--paper-2);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.service-card__icon svg {
  width: 21px;
  height: 21px;
}

.service-card h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
}

.service-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

.service-card__price {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.service-card__price b {
  font-size: 17px;
  color: var(--ink);
  font-weight: 700;
}

/* ---------- calculator ---------- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 20px;
  align-items: start;
}

.calc__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--shadow-s);
}

.calc__block + .calc__block {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.calc__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.calc__label h3 {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.calc__label span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.chips-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-check {
  position: relative;
}

.chip-check input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.chip-check span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 0.16s;
  cursor: pointer;
  white-space: nowrap;
}

.chip-check span .tick {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: grid;
  place-items: center;
  flex: none;
}

.chip-check span .tick svg {
  width: 10px;
  height: 10px;
  opacity: 0;
  color: #fff;
}

.chip-check span .price-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.chip-check input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.chip-check input:checked + span .tick {
  background: var(--accent);
  border-color: var(--accent);
}

.chip-check input:checked + span .tick svg {
  opacity: 1;
  color: var(--ink);
}

.chip-check input:checked + span .price-tag {
  color: rgba(255, 255, 255, 0.7);
}

.chip-check input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.chip-check input:disabled + span {
  opacity: 0.45;
  cursor: not-allowed;
}

/* radio cards for format/urgency */

.opt-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.opt-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.opt {
  position: relative;
}

.opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.opt__body {
  display: block;
  padding: 13px 15px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  transition: all 0.16s;
  height: 100%;
  cursor: pointer;
}

.opt__body strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.opt__body strong em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.opt__body small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.opt input:checked + .opt__body {
  border-color: var(--accent);
  background: #fffaf0;
  box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.18);
}

.opt input:checked + .opt__body strong em {
  color: var(--ink);
}

.opt input:focus-visible + .opt__body {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* summary */

.calc__summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: radial-gradient(260px 260px at 100% 0%, rgba(245, 165, 36, 0.3), transparent 70%), var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 26px;
  box-shadow: var(--shadow-l);
  overflow: hidden;
}

.calc__summary .eyebrow {
  color: #9fb0c3;
  margin-bottom: 10px;
}

.calc__summary .eyebrow::before {
  background: var(--accent);
}

.calc__total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  position: relative;
}

.calc__total b {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calc__total span {
  font-size: 14px;
  color: #9fb0c3;
}

.calc__total-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: #9fb0c3;
  min-height: 18px;
}

.calc__list {
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #cdd8e3;
}

.calc__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.calc__list li span:last-child {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: #fff;
  white-space: nowrap;
}

.calc__list li.is-empty {
  color: #8fa0b3;
  justify-content: flex-start;
  font-style: italic;
}

.calc__list li.is-discount span:last-child {
  color: var(--accent);
}

.calc__summary .btn {
  width: 100%;
}

.calc__fine {
  margin-top: 12px;
  font-size: 11.5px;
  color: #8fa0b3;
  text-align: center;
  line-height: 1.4;
}

.calc__hint {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #c3cfdb;
  line-height: 1.4;
}

.calc__hint svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

/* ---------- calculator: object rows ---------- */

.object-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.obj {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.16s, background 0.16s, box-shadow 0.16s;
  min-width: 0;
}

.obj.is-on {
  border-color: var(--ink);
  background: #fffdf7;
  box-shadow: 0 6px 18px -14px rgba(15, 28, 46, 0.5);
}

.obj__info {
  min-width: 0;
}

.obj__info b {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
}

.obj__info span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.3;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  flex: none;
  transition: background 0.16s, border-color 0.16s;
}

.stepper button {
  width: 27px;
  height: 27px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s;
}

.stepper button:hover {
  background: var(--paper-2);
}

.stepper output {
  min-width: 16px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.obj:not(.is-on) .stepper button[data-minus] {
  opacity: 0.3;
  pointer-events: none;
}

.obj.is-on .stepper {
  background: var(--ink);
  border-color: var(--ink);
}

.obj.is-on .stepper output,
.obj.is-on .stepper button {
  color: #fff;
}

.obj.is-on .stepper button:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- calculator: km ---------- */

.km {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.km__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.km__toggle:has(input:checked) {
  border-color: var(--ink);
  background: #fffdf7;
}

.km__toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
  margin: 0;
  cursor: pointer;
}

.km__field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.km__field input {
  width: 78px;
  height: 42px;
  padding: 0 10px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 14px;
  text-align: center;
}

.km__field input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(15, 28, 46, 0.08);
}

/* ---------- form extras ---------- */

.form-error-global {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff4f2;
  border: 1px solid #f3c9c3;
  color: #8c1d12;
  font-size: 13px;
  line-height: 1.45;
}

.form-error-global a {
  color: #8c1d12;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-row .chip-check span {
  min-height: 42px;
}

/* ---------- features / report ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: #fff;
  padding: 26px 24px;
}

.feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--ink-2);
  margin-bottom: 16px;
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 16.5px;
  margin-bottom: 7px;
}

.feature p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.doc-mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.doc-mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.doc-mock__head b {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-mock img,
.doc-mock svg {
  width: 100%;
  height: auto;
}

.doc-mock__stamp {
  position: absolute;
  right: -18px;
  bottom: 26px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--green);
  color: var(--green);
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(-12deg);
}

.doc-mock__stamp b {
  display: block;
  font-size: 18px;
  letter-spacing: 0;
}

.checklist {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.checklist li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.checklist li svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--green);
  margin-top: 2px;
}

.checklist li b {
  font-weight: 700;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  counter-increment: step;
  overflow: hidden;
}

.step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  right: 14px;
  top: 8px;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(15, 28, 46, 0.055);
  line-height: 1;
}

.step__time {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 9px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16.5px;
  margin-bottom: 7px;
}

.step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- pricing ---------- */

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  gap: 20px;
  align-items: start;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fbf9f4;
  font-weight: 600;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:hover td {
  background: #fffdf7;
}

.price-table .num {
  font-family: var(--mono);
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

.price-table .muted {
  color: var(--muted);
  font-size: 13px;
}

.price-aside {
  display: grid;
  gap: 14px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.price-card h3 {
  font-size: 15.5px;
  margin-bottom: 12px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.price-card ul li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.price-card ul svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex: none;
  margin-top: 2px;
}

.price-card--accent {
  background: var(--accent-soft);
  border-color: #f0d9ac;
}

.price-card--accent p {
  font-size: 13.5px;
  color: #5c4a22;
}

/* ---------- b2b ---------- */

.b2b {
  position: relative;
  overflow: hidden;
}

.b2b::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(80% 80% at 80% 20%, #000, transparent 70%);
  pointer-events: none;
}

.b2b__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.b2b h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.b2b__lead {
  margin-top: 18px;
  color: #a8b8c9;
  font-size: 16.5px;
  max-width: 50ch;
}

.b2b__list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.b2b__list li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: #dbe4ee;
  line-height: 1.45;
}

.b2b__list svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--accent);
  margin-top: 2px;
}

.b2b__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.b2b__panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(6px);
}

.b2b__panel-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb0c3;
  margin-bottom: 18px;
}

.sla {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.sla div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #16273c;
  font-size: 13.5px;
  color: #cdd8e3;
}

.sla b {
  font-family: var(--mono);
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
}

/* ---------- samples ---------- */

.samples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sample {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.sample:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.sample__img {
  aspect-ratio: 4 / 3;
  background: #fbf9f4;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 12px;
}

.sample__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sample__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.sample__body b {
  font-family: var(--font-display);
  font-size: 14.5px;
  display: block;
}

.sample__body span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.sample__zoom {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink);
}

.sample__zoom svg {
  width: 15px;
  height: 15px;
}

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review__stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
}

.review__stars svg {
  width: 16px;
  height: 16px;
}

.review p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.review__author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 6px;
}

.review__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink-2);
  flex: none;
}

.review__author b {
  display: block;
  font-size: 13.5px;
}

.review__author span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--line-2);
  box-shadow: var(--shadow-s);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  flex: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  inset: 50% 7px auto;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateY(-50%);
}

.faq-item summary .plus::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s;
}

.faq-item[open] summary .plus {
  background: var(--accent);
  border-color: var(--accent);
}

.faq-item[open] summary .plus::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-item__body {
  padding: 0 20px 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-item__body p + p {
  margin-top: 10px;
}

/* ---------- coverage ---------- */

.coverage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.district {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}

.district svg {
  width: 17px;
  height: 17px;
  color: var(--accent-hover);
  flex: none;
}

.district span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
}

.coverage-note {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--accent-soft);
  border: 1px dashed #e8cd96;
  border-radius: 12px;
  font-size: 13px;
  color: #5c4a22;
}

.coverage-note svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
}

/* ---------- form ---------- */

.order {
  position: relative;
}

.order__in {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}

.order__aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.order__aside .section-head {
  margin-bottom: 24px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ink-2);
}

.contact-item__icon svg {
  width: 18px;
  height: 18px;
}

.contact-item b {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact-item a,
.contact-item p {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-item a:hover {
  color: var(--accent-hover);
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
}

.form-progress__step {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}

.form-progress__step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.form-progress__step.is-done::after,
.form-progress__step.is-active::after {
  transform: scaleX(1);
}

.form-progress__step.is-active::after {
  background: var(--accent);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: step-in 0.28s var(--ease);
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.form-step__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.form-step__head h3 {
  font-size: 21px;
}

.form-step__head span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.field > label {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.field > label .req {
  color: var(--danger);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: 11px;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  appearance: none;
}

.textarea {
  min-height: 92px;
  resize: vertical;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6a7a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: #bdb09a;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(15, 28, 46, 0.08);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}

.field__hint {
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.4;
}

.field__error {
  font-size: 12px;
  color: var(--danger);
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-slot {
  position: relative;
}

.time-slot input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.time-slot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
}

.time-slot input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.time-slot input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin: 6px 0 18px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  flex: none;
  cursor: pointer;
}

.consent a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.consent a:hover {
  border-color: var(--ink);
}

.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.form-nav .btn {
  flex: 1;
}

.form-back {
  background: none;
  border: 0;
  padding: 10px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.form-back:hover {
  color: var(--ink);
}

.form-back svg {
  width: 15px;
  height: 15px;
}

.summary-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.summary-box__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13.5px;
}

.summary-box__row span {
  color: var(--muted);
}

.summary-box__row b {
  font-family: var(--mono);
  font-weight: 600;
  text-align: right;
}

.summary-box__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-weight: 800;
}

.summary-box__total b {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success.is-active {
  display: block;
  animation: step-in 0.3s var(--ease);
}

.form-success__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.form-success__icon svg {
  width: 36px;
  height: 36px;
}

.form-success h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 40ch;
  margin: 0 auto 8px;
}

.form-success__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  background: var(--paper);
  border: 1px dashed var(--line-2);
  padding: 8px 14px;
  border-radius: 8px;
  margin: 12px 0 20px;
}

/* ---------- B2B: пакеты ---------- */

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}

.pkg:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pkg--featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #eef3f8;
}

.pkg--featured h3,
.pkg--featured .pkg__price b {
  color: #fff;
}

.pkg--featured .pkg__note,
.pkg--featured li {
  color: #b9c7d6;
}

.pkg--featured .btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.pkg__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 8px;
  border-radius: 10px;
}

.pkg h3 {
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 4px;
}

.pkg__note {
  font-size: 12px;
  color: var(--muted);
  min-height: 32px;
  line-height: 1.35;
}

.pkg__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 6px;
}

.pkg__price b {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pkg__price span {
  font-size: 12.5px;
  color: var(--muted);
}

.pkg ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
}

.pkg li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.pkg li svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex: none;
  margin-top: 2px;
}

.pkg--featured li svg {
  color: var(--accent);
}

.pkg .btn {
  margin-top: auto;
  width: 100%;
}

/* ---------- B2B: макет кабинета ---------- */

.dash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-l);
  overflow: hidden;
}

.dash__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbf9f4;
}

.dash__dots {
  display: flex;
  gap: 5px;
}

.dash__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
  display: block;
}

.dash__dots i:first-child {
  background: #e8a49c;
}

.dash__dots i:nth-child(2) {
  background: #f0cd8a;
}

.dash__dots i:nth-child(3) {
  background: #a8cdb9;
}

.dash__url {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  margin-left: 6px;
}

.dash__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.dash__head b {
  font-family: var(--font-display);
  font-size: 15px;
}

.dash__filters {
  display: flex;
  gap: 6px;
}

.dash__filters span {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--muted);
}

.dash__filters span.is-on {
  background: var(--ink);
  color: #fff;
}

.dash__row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.9fr 0.7fr;
  gap: 10px;
  align-items: center;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.dash__row:last-child {
  border-bottom: 0;
}

.dash__row--head {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: #fbf9f4;
}

.dash__row b {
  font-weight: 600;
  display: block;
}

.dash__row small {
  color: var(--muted);
  font-size: 10.5px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.status--new {
  background: #fdf0d8;
  color: #7a5a12;
}

.status--work {
  background: #e4ebf5;
  color: #2e5b8f;
}

.status--done {
  background: var(--green-soft);
  color: var(--green);
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  display: block;
}

/* ---------- B2B: сравнение затрат ---------- */

.cost-table td,
.cost-table th {
  font-size: 13.5px;
}

.cost-table tr.is-total td {
  background: var(--accent-soft);
  font-family: var(--font-display);
  font-weight: 800;
}

.cost-table tr.is-total td:last-child {
  color: var(--green);
}

/* ---------- B2B: интеграция ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: flow;
}

.flow__item {
  position: relative;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: flow;
}

.flow__item::before {
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  margin-bottom: 12px;
}

.flow__item h3 {
  font-size: 14.5px;
  margin-bottom: 6px;
}

.flow__item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.code-line {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--ink);
  color: #dbe4ee;
  padding: 10px 12px;
  border-radius: 8px;
  overflow-x: auto;
  white-space: nowrap;
}

.code-line b {
  color: var(--accent);
}

/* ---------- B2B: responsive ---------- */

@media (max-width: 1080px) {
  .pkg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pkg-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .dash__row {
    grid-template-columns: 1fr 1fr;
  }

  .dash__row--head {
    display: none;
  }
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: #c9d4e0;
  padding-block: 56px 28px;
  position: relative;
  overflow: hidden;
}

.footer__in {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo__name {
  color: #fff;
}

.footer .logo__sub {
  color: #8fa0b3;
}

.footer__about {
  margin-top: 16px;
  font-size: 13.5px;
  color: #93a3b5;
  max-width: 32ch;
  line-height: 1.55;
}

.footer h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa0b3;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer__links {
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__contact {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.footer__contact a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
}

.footer__contact a:hover {
  color: var(--accent);
}

.footer__contact small {
  color: #8fa0b3;
  font-size: 12px;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: #dbe4ee;
}

.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.socials svg {
  width: 19px;
  height: 19px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: #7f90a3;
}

.footer__bottom a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__bottom a:hover {
  color: #fff;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- cookie ---------- */

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px 18px;
  background: var(--ink);
  color: #dbe4ee;
  border-radius: 16px;
  box-shadow: var(--shadow-l);
  font-size: 12.5px;
  line-height: 1.45;
}

.cookie.is-visible {
  display: flex;
  animation: cookie-in 0.4s var(--ease);
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.cookie p {
  flex: 1;
}

.cookie a {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie .btn {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 13px;
  flex: none;
}

/* ---------- mobile sticky ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(246, 242, 234, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}

.mobile-cta .btn {
  flex: 1;
  min-height: 46px;
  font-size: 14px;
}

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 46, 0.7);
  backdrop-filter: blur(4px);
}

.modal__box {
  position: relative;
  background: #fff;
  border-radius: 18px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 22px;
  box-shadow: var(--shadow-l);
  animation: step-in 0.25s var(--ease);
}

.modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.modal__close:hover {
  background: var(--paper);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-right: 44px;
}

.modal img {
  width: 100%;
  height: auto;
}

/* ---------- reveal ---------- */

[data-reveal] {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- inner pages ---------- */

.page-hero {
  padding-block: clamp(36px, 5vw, 64px) clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 28, 46, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 28, 46, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(60% 100% at 30% 0%, #000, transparent 75%);
  mask-image: radial-gradient(60% 100% at 30% 0%, #000, transparent 75%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  max-width: 20ch;
}

.page-hero p {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
  position: relative;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.prose {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.prose h2 {
  font-size: 24px;
  margin: 38px 0 14px;
}

.prose h3 {
  font-size: 18px;
  margin: 26px 0 10px;
}

.prose p {
  margin-bottom: 12px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px 0;
  padding-left: 22px;
  display: grid;
  gap: 7px;
}

.prose ul li {
  list-style: disc;
}

.prose ol li {
  list-style: decimal;
}

.prose a {
  color: var(--blue);
  border-bottom: 1px solid rgba(46, 91, 143, 0.25);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13.5px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prose .note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: #5c4a22;
  margin: 20px 0;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .header__phone {
    display: none;
  }

  .logo__mark {
    width: 50px;
    height: 50px;
  }

  .logo__name {
    font-size: 19px;
    letter-spacing: 0.03em;
  }

  .nav a {
    padding: 8px 8px;
    font-size: 13px;
  }

  .hero__in {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__lead {
    max-width: 60ch;
  }

  .calc {
    grid-template-columns: 1fr;
  }

  .calc__summary {
    position: static;
  }

  .compare-wrap,
  .report-grid,
  .b2b__in,
  .faq-layout,
  .order__in,
  .price-layout {
    grid-template-columns: 1fr;
  }

  .compare-note,
  .order__aside {
    position: static;
  }

  .b2b__panel {
    max-width: 560px;
  }

  .footer__in {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .object-list {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .header__actions {
    margin-left: auto;
  }

  .burger {
    display: inline-flex;
  }

  .header__actions .btn {
    display: none;
  }

  .grid-3,
  .features,
  .reviews,
  .samples,
  .coverage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-cta {
    display: flex;
  }

  .footer {
    padding-bottom: 84px;
  }

  .cookie {
    bottom: 78px;
  }

  .opt-row--3 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 66px;
  }

  .container {
    padding-inline: 18px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .hero h1 em {
    white-space: normal;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__trust {
    gap: 8px 14px;
    font-size: 12.5px;
  }

  .plan-float--price {
    left: 4px;
    bottom: 64px;
  }

  .plan-float--files {
    right: 0;
    bottom: -12px;
    top: auto;
  }

  .plan-float {
    padding: 8px 10px;
    font-size: 11px;
  }

  .plan-float b {
    font-size: 12px;
  }

  .plan-float__icon {
    width: 28px;
    height: 28px;
  }

  .grid-3,
  .features,
  .reviews,
  .samples,
  .coverage,
  .grid-2,
  .grid-4,
  .opt-row,
  .field-row {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 16px;
  }

  .footer__in {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    font-size: clamp(26px, 7.4vw, 34px);
  }

  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    position: relative;
  }

  .price-table tr:last-child {
    border-bottom: 0;
  }

  .price-table td {
    border: 0;
    padding: 2px 0;
  }

  .price-table td.num {
    text-align: left;
    font-size: 16px;
    margin-top: 4px;
  }

  .price-table td.num::before {
    content: "Стоимость: ";
    font-family: var(--font);
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px;
    font-size: 13px;
  }

  .compare-table thead th:first-child {
    width: 42%;
  }

  .form-nav {
    flex-wrap: wrap;
  }

  .form-nav .btn {
    flex: 1 1 100%;
  }

  .form-back {
    order: 2;
    margin-inline: auto;
  }

  .cookie {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cookie .btn {
    width: 100%;
  }

  .plan-card {
    transform: none;
  }

  .doc-mock__stamp {
    right: 8px;
    bottom: 10px;
    width: 78px;
    height: 78px;
    font-size: 8px;
  }

  .doc-mock__stamp b {
    font-size: 15px;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .mobile-menu,
  .mobile-cta,
  .cookie,
  .footer,
  .hero__visual,
  .calc,
  .order {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section {
    padding-block: 20px;
  }
}

/* фото с объекта */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.photo-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-card figcaption {
  padding: 12px 14px 14px;
}
.photo-card b {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
}
.photo-card span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}
@media (max-width: 760px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-card img {
    aspect-ratio: 16 / 10;
  }
}

/* Реальный рукописный обмерный план на главной */
.plan-card img.plan {
  display: block;
  width: 100%;
  height: auto;
}

/* Подписи образцов поверх реальных сканов */
.sample__img { position: relative; }
.sample__doc-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 8px 10px 7px;
  text-align: left;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(210,199,179,.65);
  pointer-events: none;
}
.sample__doc-top small {
  display: block;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--muted);
}
.sample__doc-top b {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.2;
  color: var(--ink);
}
.sample__doc-top em {
  display: block;
  margin-top: 1px;
  font-family: var(--mono);
  font-size: 6px;
  font-style: normal;
  line-height: 1.3;
  color: var(--muted);
}
.sample__doc-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px 9px 7px;
  text-align: left;
  background: linear-gradient(0deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
  border-top: 1px solid rgba(210,199,179,.75);
  pointer-events: none;
}
.sample__doc-bottom--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sample__doc-bottom i {
  display: block;
  font-family: var(--mono);
  font-size: 5.2px;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #9a8a6a;
  font-style: normal;
}
.sample__doc-bottom b {
  display: block;
  margin-top: 1px;
  font-family: var(--font);
  font-size: 6.2px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
.modal__doc { position: relative; }
.modal__doc .sample__doc-top { padding: 14px 16px 12px; }
.modal__doc .sample__doc-top small { font-size: 9px; }
.modal__doc .sample__doc-top b { font-size: 17px; margin-top: 3px; }
.modal__doc .sample__doc-top em { font-size: 9px; margin-top: 2px; }
.modal__doc .sample__doc-bottom { gap: 12px; padding: 10px 14px 11px; }
.modal__doc .sample__doc-bottom i { font-size: 7.5px; }
.modal__doc .sample__doc-bottom b { font-size: 9.5px; margin-top: 2px; }

/* Мобильный прайс: карточки вместо таблицы */
@media (max-width: 620px) {
  .price-table {
    display: grid;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  .price-table tbody {
    display: grid;
    gap: 10px;
    width: 100%;
  }
  .price-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title price" "note note";
    gap: 4px 12px;
    width: 100%;
    padding: 14px 15px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 28, 46, .04);
  }
  .price-table tr:last-child {
    border-bottom: 1px solid var(--line);
  }
  .price-table tr:hover td {
    background: transparent;
  }
  .price-table th[scope="row"] {
    grid-area: title;
    display: block;
    padding: 0;
    border: 0;
    font-size: 15px;
    line-height: 1.25;
    text-align: left;
  }
  .price-table td.muted {
    grid-area: note;
    display: block;
    padding: 0;
    border: 0;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--muted);
  }
  .price-table td.num {
    grid-area: price;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1px;
    padding: 0;
    border: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
  }
  .price-table td.num::before {
    content: "цена";
    display: block;
    font-family: var(--mono);
    font-size: 7.5px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .price-table + .price-table {
    margin-top: 10px !important;
  }
}


/* Юридический блок владельца */
.footer__owner {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #93a3b5;
  font-size: 12px;
  line-height: 1.55;
}
.footer__owner a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer__owner a:hover { color: var(--accent); }
.footer__registry { color: #8fa0b3; }
.footer--minimal { padding: 28px 0; }


.footer > .footer__registry {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 18px;
}
