/* ============================================================
   СайтПодКлюч — лендинг веб-студии
   Без внешних библиотек и шрифтов.
   ============================================================ */

:root {
  --bg: #f2efe8;
  --bg-2: #e9e4da;
  --surface: #fffdf8;
  --ink: #10131a;
  --ink-2: #1a1e28;
  --muted: #626878;
  --line: #d9d3c7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: #2447ff;
  --accent-2: #1a35c9;
  --lime: #d9ff57;
  --green: #19a974;
  --red: #d64545;
  --cream: #f7f4ee;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(16, 19, 26, 0.1);
  --container: 1180px;
  --font: "Segoe UI", "Inter", "Manrope", system-ui, -apple-system, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.16em;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover .icon {
  transform: translate(2px, -2px);
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--lime {
  background: var(--lime);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn--lime:hover {
  background: #e6ff8a;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn--sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 12px;
  border-radius: 10px;
}

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

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s, gap 0.2s;
}

.link-btn .icon {
  width: 16px;
  height: 16px;
}

.link-btn:hover {
  border-color: currentColor;
  gap: 10px;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 239, 232, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(16, 19, 26, 0.06);
}

body.menu-open .header {
  background: var(--bg);
}

.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent);
  box-shadow: 3px 3px 0 var(--ink);
}

.logo__mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.logo__name {
  white-space: nowrap;
}

.logo__text strong {
  color: var(--accent);
  font-weight: 800;
}

.logo__text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  position: relative;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 8px;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.header__phone .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

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

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(16, 19, 26, 0.45);
  backdrop-filter: blur(2px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 64px 0 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 255, 87, 0.42), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(36, 71, 255, 0.1), transparent 32%),
    linear-gradient(rgba(16, 19, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 26, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(25, 169, 116, 0.14);
  animation: pulse 2.2s ease-in-out infinite;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.58);
}

.eyebrow--light .eyebrow__dot {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(217, 255, 87, 0.14);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(25, 169, 116, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(25, 169, 116, 0.04); }
}

.hero__title {
  margin: 22px 0 22px;
  font-size: clamp(2.8rem, 5.4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.hero__title > span {
  display: block;
}

.hero__title em {
  display: inline;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero__lead {
  max-width: 550px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero__lead strong {
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  max-width: 540px;
}

.hero__proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.hero__proof .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
  stroke-width: 2.4;
}

.hero__visual {
  position: relative;
  padding: 16px 10px 26px 4px;
}

.browser {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-1.1deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero__visual:hover .browser {
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 15px 15px 0 var(--ink);
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 12px;
  border-bottom: 1.5px solid var(--ink);
  background: #f7f4ee;
}

.browser__dots {
  display: flex;
  gap: 4px;
}

.browser__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9c2b5;
}

.browser__dots i:first-child { background: #ff6b5a; }
.browser__dots i:nth-child(2) { background: #ffc84a; }
.browser__dots i:nth-child(3) { background: #4cc38a; }

.browser__url {
  flex: 1;
  max-width: 220px;
  margin: 0 auto;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser__live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.browser__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.browser img {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  object-position: top center;
}

.hero__sticker {
  position: absolute;
  top: -8px;
  left: -14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.hero__sticker .icon {
  width: 13px;
  height: 13px;
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 10px;
  line-height: 1.25;
}

.float-card strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.float-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.float-card--lead {
  left: -22px;
  bottom: 4px;
  max-width: 260px;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  flex: none;
}

.float-card__icon .icon {
  width: 17px;
  height: 17px;
}

.float-card__dot {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(25, 169, 116, 0.16);
  flex: none;
}

.float-card--time {
  top: 54px;
  right: -18px;
  flex-direction: column;
  gap: 0;
  align-items: center;
  padding: 12px 16px;
  background: var(--lime);
  text-align: center;
  transform: rotate(3deg);
}

.float-card--time strong {
  font-size: 22px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.float-card--time small {
  margin-top: 3px;
  color: var(--ink);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--surface);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  padding: 13px 0;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee i {
  color: var(--accent);
  font-style: normal;
  font-size: 13px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 96px 0;
}

.section--cases {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-head__text {
  max-width: 430px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.feature__num {
  position: absolute;
  top: 22px;
  right: 20px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: #e9edff;
  color: var(--accent);
}

.feature__icon .icon {
  width: 23px;
  height: 23px;
}

.feature h3 {
  margin-bottom: 9px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.feature p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- Cases ---------- */

.cases {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.case {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}

.case--wide {
  grid-column: span 7;
}

.case:hover {
  border-color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  transform: translateY(-2px);
}

.case__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink);
}

.case--wide .case__media {
  aspect-ratio: 12 / 7;
}

.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.case:hover .case__media img {
  transform: scale(1.025);
}

.case__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(16, 19, 26, 0.15);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.case__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case__tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case h3 {
  margin: 14px 0 7px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.case p {
  flex: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.case__features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 14px;
}

.case__features li {
  position: relative;
  padding-left: 10px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.case__features li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.case-cta {
  position: relative;
  grid-column: span 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  padding: 34px 38px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--cream);
}

.case-cta::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.12;
  pointer-events: none;
}

.case-cta > * {
  position: relative;
  z-index: 1;
}

.case-cta h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.case-cta p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

/* ---------- Calculator ---------- */

.section--dark {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.calc {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: start;
}

.calc__intro h2 {
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.calc__intro p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.calc__bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
}

.calc__bullets li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
}

.calc__bullets .icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
  stroke-width: 2.4;
}

.calc__panel {
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: #191d27;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.calc__fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.calc__fieldset legend {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calc__types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.calc-type {
  position: relative;
  cursor: pointer;
}

.calc-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-type__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.calc-type:hover .calc-type__body {
  border-color: rgba(255, 255, 255, 0.3);
}

.calc-type input:checked + .calc-type__body {
  border-color: var(--lime);
  background: rgba(217, 255, 87, 0.08);
  box-shadow: 0 0 0 1px var(--lime);
}

.calc-type input:focus-visible + .calc-type__body {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.calc-type__top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calc-type__top strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.calc-type__top span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
}

.calc-type__desc {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  line-height: 1.35;
}

.calc-type__time {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calc__options {
  display: flex;
  flex-direction: column;
}

.calc-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.calc-option:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.calc-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-option__check {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  color: var(--ink);
  flex: none;
  transition: background 0.18s, border-color 0.18s;
}

.calc-option__check .icon {
  width: 12px;
  height: 12px;
  opacity: 0;
  stroke-width: 3;
  transition: opacity 0.18s;
}

.calc-option input:checked + .calc-option__check {
  border-color: var(--lime);
  background: var(--lime);
}

.calc-option input:checked + .calc-option__check .icon {
  opacity: 1;
}

.calc-option input:focus-visible + .calc-option__check {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.calc-option__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.calc-option__text strong {
  font-size: 12px;
  font-weight: 700;
}

.calc-option__text small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.calc-option__price {
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.calc__result {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 18px;
  border-radius: 16px;
  background: var(--lime);
  color: var(--ink);
}

.calc__result-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.calc__result-top span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calc__result-top strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  white-space: nowrap;
}

.calc__result-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 19, 26, 0.18);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}

.calc__result-bottom b {
  font-weight: 800;
}

.calc__note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  text-align: center;
}

/* ---------- Pricing ---------- */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: transform 0.22s, box-shadow 0.22s;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.price-card--featured {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 10px 10px 0 var(--ink);
}

.price-card--featured:hover {
  transform: translateY(-13px);
  box-shadow: 13px 13px 0 var(--ink);
}

.price-card__badge {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 5px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-card__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card__time {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.price-card--featured .price-card__time {
  color: rgba(255, 255, 255, 0.65);
}

.price-card__price {
  margin: 18px 0 6px;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.price-card__price span {
  font-size: 0.5em;
  vertical-align: 0.2em;
}

.price-card__desc {
  min-height: 42px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.price-card--featured .price-card__desc {
  color: rgba(255, 255, 255, 0.72);
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0 24px;
}

.price-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 12px;
  line-height: 1.4;
}

.price-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.price-card--featured .price-card__list li::before {
  color: var(--lime);
}

.price-card .btn {
  margin-top: auto;
}

.pricing__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.55);
}

.pricing__note .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}

.pricing__note p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.pricing__note strong {
  color: var(--ink);
}

/* ---------- Process ---------- */

.section--process {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.step h3 {
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Why ---------- */

.why {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 56px;
  align-items: start;
}

.why__intro h2 {
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.why__intro p {
  max-width: 400px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}

.why-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.why-item .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  color: var(--accent);
}

.why-item h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.why-item p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */

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

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: start;
}

.faq__intro h2 {
  margin: 14px 0 16px;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.faq__intro p {
  max-width: 360px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.faq__list {
  border-top: 1.5px solid var(--ink);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  flex: none;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.faq-item__icon .icon {
  width: 13px;
  height: 13px;
}

.faq-item[open] .faq-item__icon {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
  transform: rotate(45deg);
}

.faq-item__body {
  padding: 0 36px 18px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  animation: fadeIn 0.2s ease;
}

.faq-item__body a {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Contact ---------- */

.section--contact {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.section--contact::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 71, 255, 0.4), transparent 65%);
  pointer-events: none;
}

.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: start;
}

.contact__intro h2 {
  margin: 14px 0 16px;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.contact__intro > p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.contact__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 26px 0 28px;
}

.contact__links--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  color: var(--cream);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.contact-link:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.contact-link__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--lime);
  flex: none;
}

.contact-link__icon .icon {
  width: 17px;
  height: 17px;
}

.contact-link strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.contact-link small {
  display: block;
  max-width: 150px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-link__arrow {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.35);
  flex: none;
}

.contact__after {
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.contact__after ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.contact__after li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.45;
}

.contact__after b {
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact__form-wrap {
  min-width: 0;
}

.form {
  padding: 26px;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--lime);
}

.form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.form__head h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.form__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form__time .icon {
  width: 13px;
  height: 13px;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field label span {
  color: #a39d90;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbf9f4;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.field textarea {
  min-height: 80px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a8a296;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 71, 255, 0.12);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.field__error {
  display: block;
  min-height: 13px;
  margin-top: 3px;
  color: var(--red);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent__box {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fbf9f4;
  color: #fff;
  flex: none;
  transition: background 0.18s, border-color 0.18s;
}

.consent__box .icon {
  width: 11px;
  height: 11px;
  opacity: 0;
  stroke-width: 3;
  transition: opacity 0.18s;
}

.consent input:checked + .consent__box {
  border-color: var(--accent);
  background: var(--accent);
}

.consent input:checked + .consent__box .icon {
  opacity: 1;
}

.consent input:focus-visible + .consent__box {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.consent a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

.form .btn {
  margin-top: 8px;
}

.form__status {
  min-height: 16px;
  margin-top: 6px;
  color: var(--red);
  font-size: 10px;
  line-height: 1.4;
}

.form__status.is-success {
  color: var(--green);
}

.form__note {
  margin-top: 2px;
  color: #a39d90;
  font-size: 9px;
  line-height: 1.4;
}

.form-success {
  padding: 34px 28px;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--lime);
  text-align: center;
}

.form-success__icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.form-success__icon .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.6;
}

.form-success h3 {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.form-success p {
  max-width: 360px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.form-success__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- Footer ---------- */

.footer {
  padding: 56px 0 22px;
  background: #0b0e14;
  color: rgba(255, 255, 255, 0.72);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.55fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
}

.logo--footer .logo__text {
  color: var(--cream);
}

.logo--footer .logo__text strong {
  color: var(--lime);
}

.logo--footer .logo__text small {
  color: rgba(255, 255, 255, 0.4);
}

.footer__brand p {
  max-width: 300px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  line-height: 1.55;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--lime);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s;
}

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

.footer__contacts .icon {
  width: 14px;
  height: 14px;
  color: var(--lime);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.32);
  font-size: 9px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__note {
  color: rgba(255, 255, 255, 0.28);
}

/* ---------- Dialogs ---------- */

.dialog {
  width: min(980px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.dialog::backdrop {
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(4px);
}

.dialog__inner {
  position: relative;
  max-height: calc(100vh - 40px);
  padding: 34px;
  overflow: auto;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 14px 14px 0 var(--lime);
}

.dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.dialog__close:hover {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(90deg);
}

.dialog__close .icon {
  width: 17px;
  height: 17px;
}

.dialog h2 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.dialog__lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.dialog__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 10px;
  align-items: start;
  margin: 20px 0;
}

.dialog__media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.dialog__media--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.dialog__media--single img {
  max-height: 420px;
  object-fit: cover;
  object-position: top;
}

.dialog__mobile {
  max-height: 370px;
  object-position: top;
}

.dialog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dialog__grid h3 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.dialog__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dialog__list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.dialog__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.dialog__grid .btn {
  margin-top: 16px;
}

/* ---------- Toast & mobile CTA ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.25s, transform 0.25s;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(242, 239, 232, 0.94);
  backdrop-filter: blur(14px);
}

.mobile-cta .btn {
  flex: 1;
  min-height: 46px;
  font-size: 12px;
}

.mobile-cta__tg {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  flex: none;
}

.mobile-cta__tg .icon {
  width: 20px;
  height: 20px;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.features .reveal:nth-child(2),
.cases .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.why__grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.features .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.why__grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.features .reveal:nth-child(4),
.steps .reveal:nth-child(4),
.why__grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.steps .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .nav {
    gap: 18px;
  }

  .header__phone {
    display: none;
  }

  .hero__grid {
    gap: 36px;
  }

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

  .case--wide,
  .case {
    grid-column: span 6;
  }

  .case-cta {
    grid-column: span 12;
  }

  .calc {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 36px;
  }

  .why,
  .faq,
  .contact {
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1.5px solid var(--ink);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 8px 8px 0 var(--ink);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    padding: 12px;
    border-radius: 9px;
    font-size: 14px;
  }

  .nav a:hover {
    background: var(--bg);
  }

  .nav a::after {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .header__actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 42px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 56px;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__visual {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 34px;
  }

  .section-head__text {
    max-width: 560px;
  }

  .case--wide,
  .case {
    grid-column: span 12;
  }

  .case--wide .case__media,
  .case__media {
    aspect-ratio: 16 / 9;
  }

  .calc,
  .why,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .calc__intro p {
    max-width: 560px;
  }

  .pricing {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .price-card--featured {
    transform: none;
  }

  .price-card--featured:hover {
    transform: translateY(-3px);
  }

  .price-card__desc {
    min-height: 0;
  }

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

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

  .contact__form-wrap {
    max-width: 620px;
  }

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

  .footer__brand {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 80px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .header__inner {
    min-height: 68px;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
  }

  .logo__text {
    font-size: 16px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero__title {
    font-size: clamp(2.3rem, 10.5vw, 3.3rem);
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

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

  .hero__visual {
    padding: 8px 2px 22px;
  }

  .browser {
    transform: none;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .float-card--lead {
    left: 6px;
    bottom: -8px;
    max-width: 230px;
  }

  .float-card--time {
    top: 36px;
    right: 0;
  }

  .hero__sticker {
    left: 2px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head h2 {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

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

  .feature {
    min-height: 0;
  }

  .case__body {
    padding: 20px;
  }

  .case h3 {
    font-size: 24px;
  }

  .case-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }

  .case-cta .btn {
    width: 100%;
  }

  .calc__panel {
    padding: 18px;
  }

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

  .calc-type__body {
    padding: 11px 12px;
  }

  .calc-type__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .calc-type__desc {
    font-size: 10px;
  }

  .calc__result-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .calc__result-bottom {
    flex-direction: column;
    gap: 4px;
  }

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

  .step {
    padding-top: 14px;
  }

  .step__num {
    margin-bottom: 10px;
  }

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

  .faq-item summary {
    font-size: 14px;
  }

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

  .contact-link small {
    max-width: 210px;
  }

  .form {
    padding: 20px;
    box-shadow: 8px 8px 0 var(--lime);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer {
    padding-top: 44px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .dialog__inner {
    max-height: calc(100vh - 20px);
    padding: 24px 18px;
    box-shadow: 8px 8px 0 var(--lime);
  }

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

  .dialog__mobile {
    max-width: 220px;
    justify-self: center;
  }

  .dialog__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 72px;
  }

  .toast {
    bottom: 84px;
  }
}

/* ---------- Страница «Создать сайт» ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a {
  transition: color 0.2s;
}

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

.breadcrumbs span[aria-hidden="true"] {
  opacity: 0.45;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 84px;
  border-bottom: 1px solid var(--line);
}

.seo-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 71, 255, 0.14), transparent 66%);
  pointer-events: none;
}

.seo-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 56px;
  align-items: center;
}

.seo-hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.seo-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.seo-hero__lead {
  max-width: 570px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.seo-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.seo-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
}

.seo-facts .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.seo-summary {
  position: relative;
  padding: 28px 26px 24px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--lime);
}

.seo-summary__badge {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.seo-summary__label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.seo-summary__price {
  margin: 6px 0 18px;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.seo-summary__price span {
  color: var(--muted);
  font-size: 1.4rem;
}

.seo-summary ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.seo-summary li {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.seo-summary li .icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--green);
}

.seo-summary__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

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

.seo-card__meta {
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent) !important;
  font-size: 12px !important;
  font-weight: 800;
}

.seo-note {
  max-width: 760px;
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(36, 71, 255, 0.05);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.seo-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}

.compare th {
  background: var(--bg-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare th:nth-child(2) {
  color: var(--accent);
}

.compare td:first-child {
  font-weight: 700;
}

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

.compare tbody tr:hover {
  background: rgba(36, 71, 255, 0.03);
}

@media (max-width: 960px) {
  .seo-hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .seo-summary {
    max-width: 520px;
  }

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

@media (max-width: 680px) {
  .breadcrumbs {
    padding-top: 16px;
  }

  .seo-hero {
    padding: 24px 0 58px;
  }

  .seo-hero h1 {
    font-size: clamp(2.3rem, 9vw, 3.4rem);
  }

  .seo-hero__actions .btn {
    width: 100%;
  }

  .seo-summary {
    padding: 24px 20px 20px;
    box-shadow: 6px 6px 0 var(--lime);
  }

  .seo-summary__badge {
    right: 16px;
  }

  .features--3 {
    grid-template-columns: 1fr;
  }

  .compare th,
  .compare td {
    padding: 13px 14px;
    font-size: 12px;
  }

  .compare-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .compare {
    display: block;
    min-width: 0;
  }

  .compare thead {
    display: none;
  }

  .compare tbody,
  .compare tr,
  .compare td {
    display: block;
    width: auto;
  }

  .compare tr {
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
  }

  .compare tbody tr:last-child {
    margin-bottom: 0;
  }

  .compare td {
    padding: 3px 0;
    border: 0;
  }

  .compare td:first-child {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .compare td:nth-child(2)::before {
    content: "Сайт под ключ: ";
    color: var(--accent);
    font-weight: 800;
  }

  .compare td:nth-child(3)::before {
    content: "Конструктор: ";
    font-weight: 700;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}
