/* =========================================================
   Аксиома — студия веб-разработки
   ========================================================= */

:root {
  --ink: #111318;
  --ink-soft: #2d323d;
  --muted: #666d7c;
  --line: #e6e7ec;
  --paper: #ffffff;
  --sand: #f6f5f2;
  --accent: #2b59ff;
  --accent-dark: #1b45e0;
  --accent-soft: #eef2ff;
  --dark: #0d1017;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(17, 19, 24, .05);
  --shadow: 0 2px 4px rgba(17, 19, 24, .04), 0 18px 44px -16px rgba(17, 19, 24, .16);
  --container: 1180px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Manrope", var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

::selection { background: rgba(43, 89, 255, .16); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
.section--sand { background: var(--sand); }

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 1.0625rem; }

.lead-muted { color: var(--muted); font-size: 1.0625rem; margin-top: 18px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease,
              color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(43, 89, 255, .65);
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(43, 89, 255, .7);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: #ccd1dc;
  background: #fbfbfc;
}

.btn--sm { padding: 9px 17px; font-size: .875rem; }
.btn--block { width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(17, 19, 24, .5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -.03em;
  flex: none;
}

.logo__mark { color: var(--accent); flex: none; }

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

.nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color .15s ease, color .15s ease;
}

.nav a:hover { background: var(--sand); color: var(--ink); }

.header-cta { margin-left: 6px; }
.cta-short { display: none; }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: 4px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

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

.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

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

.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(43, 89, 255, .10) 0%, rgba(43, 89, 255, 0) 62%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .14);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.038em;
  font-weight: 800;
}

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

.hero__lead {
  margin-top: 24px;
  max-width: 520px;
  font-size: 1.125rem;
  color: var(--muted);
}

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

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
  font-size: .875rem;
  color: var(--muted);
}

.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { color: #16a34a; flex: none; }

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

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(43, 89, 255, .16), rgba(122, 160, 255, .04));
  filter: blur(6px);
}

.mock {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 470px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 40px 70px -34px rgba(16, 20, 40, .42);
  overflow: hidden;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: #fbfbfc;
  border-bottom: 1px solid var(--line);
}

.mock__dots { display: flex; gap: 5px; flex: none; }
.mock__dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2e4ea; }

.mock__url {
  flex: 1;
  max-width: 210px;
  margin-inline: auto;
  padding: 3px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

.mock__body { padding: 22px; }

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

.mock__title { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.mock__chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #15803d;
  font-size: 11px;
  font-weight: 600;
}

.mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 132px;
  margin-bottom: 20px;
  padding-bottom: 1px;
  border-bottom: 1px dashed var(--line);
}

.mock__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #6f90ff, #cdd9ff);
  transform-origin: bottom;
  animation: grow .9s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms + 250ms);
}

.mock__chart span:last-child {
  background: linear-gradient(180deg, var(--accent), #7d9bff);
}

@keyframes grow {
  from { transform: scaleY(.12); opacity: .35; }
  to { transform: none; opacity: 1; }
}

.mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock__stat {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fdfdfe;
}

.mock__stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: -.02em;
}

.mock__stat span { font-size: 10.5px; color: var(--muted); }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px -14px rgba(16, 20, 40, .3);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}

.float-card b { font-size: 14px; color: var(--accent); }

.float-card .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .14);
}

.float-card--1 { top: 14px; left: -16px; }
.float-card--2 { bottom: 4px; right: -12px; animation-delay: -3s; }

@keyframes float {
  50% { transform: translateY(-9px); }
}

/* ---------- Logos ---------- */

.logos {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logos__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.logos__inner span {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #a2a8b4;
  transition: color .2s ease;
}

.logos__inner span:hover { color: var(--ink-soft); }

/* ---------- Services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #d3d8e2;
  box-shadow: var(--shadow);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  background: var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
}

.card h3 { font-size: 1.125rem; margin-bottom: 9px; }
.card p { font-size: .9375rem; color: var(--muted); }

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid #dcdcd3;
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--accent);
}

.step__num {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
}

.step h3 { font-size: 1.0625rem; margin: 12px 0 9px; }
.step p { font-size: .9rem; color: var(--muted); }

.step__time {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid #e2e1d9;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-soft);
}

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

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}

.case__cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 16 / 11;
  padding: 13% 9% 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease;
}

.case:hover .case__cover { transform: translateY(-4px); }

.case__cover--1 { --chip: #2b59ff; background: linear-gradient(140deg, #101828 5%, #2b59ff 68%, #86a5ff); }
.case__cover--2 { --chip: #0f766e; background: linear-gradient(140deg, #0e2b27 5%, #0f766e 68%, #5eead4); }
.case__cover--3 { --chip: #7c3aed; background: linear-gradient(140deg, #251032 5%, #7c3aed 68%, #c4b5fd); }
.case__cover--4 { --chip: #ea580c; background: linear-gradient(140deg, #2b1508 5%, #ea580c 68%, #fed7aa); }

.case__win {
  width: 100%;
  padding: 14px 16px 20px;
  background: rgba(255, 255, 255, .96);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -18px 48px -30px rgba(4, 8, 20, .7);
}

.win__bar { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; }
.win__bar i { width: 6px; height: 6px; border-radius: 50%; background: #d6d9e1; }

.win__addr {
  width: 46%;
  height: 6px;
  margin-left: 10px;
  border-radius: 3px;
  background: #eef0f5;
}

.win__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eef0f4;
}

.win__logo { width: 13px; height: 13px; border-radius: 4px; background: var(--chip); }

.win__links { display: flex; gap: 5px; margin-left: auto; }
.win__links i { width: 20px; height: 4px; border-radius: 2px; background: #dfe3ea; }

.win__btn { width: 40px; height: 12px; margin-left: 4px; border-radius: 4px; background: var(--chip); }

.win__heading {
  width: 64%;
  height: 10px;
  margin-bottom: 9px;
  border-radius: 3px;
  background: #252a33;
}

.win__line {
  width: 100%;
  height: 5px;
  margin-bottom: 6px;
  border-radius: 3px;
  background: #e6e8ee;
}

.win__line--short { width: 72%; margin-bottom: 13px; }

.win__cta {
  width: 72px;
  height: 16px;
  margin-bottom: 16px;
  border-radius: 5px;
  background: var(--chip);
  opacity: .92;
}

.win__blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding-bottom: 4px;
}

.win__blocks span {
  height: 54px;
  border: 1px solid #eaedf3;
  border-radius: 5px;
  background: #f2f4f8;
}

.case__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: .8125rem;
  color: var(--muted);
}

.case h3 { margin: 10px 0 8px; font-size: 1.25rem; }
.case p { font-size: .9375rem; color: var(--muted); }

.case__result {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 11px;
  background: #eaf7ef;
  border-radius: 999px;
  color: #15803d;
  font-size: .8125rem;
  font-weight: 600;
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding: 56px 52px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% -20%, rgba(43, 89, 255, .45), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  pointer-events: none;
}

.stat { position: relative; }

.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.stat b em { font-style: normal; color: #8fb0ff; }

.stat span {
  display: block;
  margin-top: 12px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .62);
}

/* ---------- Quotes ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid #e6e5dd;
  border-radius: var(--radius);
}

.quote p {
  font-size: .9875rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
}

.quote__author b {
  display: block;
  font-size: .875rem;
  font-weight: 600;
}

.quote__author span span {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
}

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

.faq { max-width: 860px; }

.faq details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq details:first-child { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.faq details p {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .9375rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-top: 14px; }

.contact-list {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.contact-item { display: flex; align-items: flex-start; gap: 14px; }

.contact-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid #e4e3db;
  border-radius: 11px;
  color: var(--accent);
}

.contact-item b {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  font-size: .9375rem;
  color: var(--muted);
}

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

.form-card {
  padding: 36px;
  background: #fff;
  border: 1px solid #e6e5dd;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form-intro { margin-bottom: 24px; font-size: .9375rem; color: var(--muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: inherit;
  font-size: .9375rem;
  color: var(--ink);
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

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

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

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

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form-note { margin-top: 12px; font-size: .75rem; color: var(--muted); }

.form-success { padding: 18px 0; text-align: center; }

.form-success__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #eaf7ef;
  color: #15803d;
}

.form-success h3 { margin-bottom: 8px; }
.form-success p { font-size: .9375rem; color: var(--muted); }
.form-success a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

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

.site-footer {
  padding: 68px 0 30px;
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.logo--footer { color: #fff; }
.logo--footer .logo__mark { color: #2b59ff; }

.footer-brand p {
  max-width: 290px;
  margin-top: 18px;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .55);
}

.footer-col h4 {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.footer-col ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
}

.footer-col a { color: rgba(255, 255, 255, .72); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col li { color: rgba(255, 255, 255, .55); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .45);
}

/* ---------- Cookie ---------- */

.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  display: none;
  max-width: 390px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 60px -22px rgba(17, 19, 24, .35);
  font-size: .8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie.is-visible { display: block; animation: cookie-in .35s ease both; }

.cookie p { margin-bottom: 14px; }
.cookie a { color: var(--accent); }

.cookie__actions { display: flex; align-items: center; gap: 14px; }
.cookie__actions a { font-size: .8125rem; font-weight: 500; }

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

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

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

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

/* ---------- Inner pages ---------- */

.page-hero {
  padding: 54px 0 46px;
  background: var(--sand);
  border-bottom: 1px solid #e6e5dd;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .8125rem;
  color: var(--muted);
}

.breadcrumbs a { transition: color .15s ease; }
.breadcrumbs a:hover { color: var(--accent); }

.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }

.page-hero .updated {
  margin-top: 14px;
  font-size: .875rem;
  color: var(--muted);
}

.legal { padding: 64px 0 92px; }
.legal__body { max-width: 800px; }

.legal h2 {
  margin: 40px 0 12px;
  font-size: 1.25rem;
  scroll-margin-top: 100px;
}

.legal h2:first-child { margin-top: 0; }

.legal p {
  margin-bottom: 12px;
  font-size: .9875rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal ul {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: .9875rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal li::marker { color: var(--accent); }

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__note {
  margin-top: 44px;
  padding: 18px 22px;
  background: var(--sand);
  border-radius: 12px;
  font-size: .875rem !important;
  color: var(--muted) !important;
}

/* ---------- 404 ---------- */

.error-page {
  padding: 110px 0 120px;
  text-align: center;
}

.error-code {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(5rem, 16vw, 9.5rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.06em;
  background: linear-gradient(135deg, var(--accent), #9db3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 { margin-top: 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }

.error-page p {
  max-width: 480px;
  margin: 14px auto 0;
  color: var(--muted);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.error-page + .site-footer { padding: 34px 0 26px; }

.error-page + .site-footer .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

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

@media (max-width: 1024px) {
  .hero__grid { gap: 36px; }
  .hero h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; margin-top: 16px; }
  .mock { max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }

  .burger { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 34px -28px rgba(17, 19, 24, .45);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 10px; }
  .header-cta { margin-left: auto; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 52px 0; }
  .section-head { margin-bottom: 38px; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .cases { grid-template-columns: 1fr; gap: 40px; }
  .quotes { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .stats { padding: 38px 28px; }
  .stat span { margin-top: 8px; }

  .form-card { padding: 26px 22px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }

  .cookie { left: 14px; right: 14px; bottom: 14px; max-width: none; }
}

@media (max-width: 520px) {
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .header-inner { gap: 14px; }
  .hero__actions .btn { width: 100%; }
  .float-card--1 { left: -4px; top: 6px; }
  .float-card--2 { right: -2px; bottom: 0; }
  .float-card { font-size: 11px; padding: 8px 11px; }
  .mock__stat { padding: 9px; }
  .mock__stat b { font-size: 13px; }
  .contact-list { margin-top: 28px; }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
