/* ===========================================================================
   easy-site — emileasy.com
   Дизайн-система: тёплый off-white + чёрные/лаймовые карточки + хром-блобы.
   =========================================================================== */

/* ---------- Шрифт (самохостинг, Onest variable, кириллица + латиница) ---------- */
@font-face {
  font-family: "Onest";
  src: url("../assets/fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("../assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------------------------------- Токены --------------------------------- */
:root {
  --bg: #f2eee3;
  --bg-warm: #f6f1e6;
  --ink: #100f0c;
  --ink-soft: #2a2823;
  --muted: #6c685c;
  --line: rgba(16, 15, 12, 0.1);
  --line-soft: rgba(16, 15, 12, 0.06);
  --white: #fbfaf4;
  --lime: #d4f23a;
  --lime-deep: #c2e218;
  --gold: #c39a45;

  --card-black: #100f0c;
  --radius: 30px;
  --radius-sm: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(16, 15, 12, 0.06);
  --shadow-md: 0 18px 50px -24px rgba(16, 15, 12, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(16, 15, 12, 0.45);

  --maxw: 1200px;
  --gap: clamp(14px, 2.2vw, 26px);
  --pad-x: clamp(18px, 5vw, 64px);
  --sect-y: clamp(64px, 9vw, 150px);

  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------- Reset ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-weight: 400;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
/* Тёплое атмосферное свечение + лёгкое зерно поверх фона */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(212, 242, 58, 0.16), transparent 70%),
    radial-gradient(55% 45% at 12% 95%, rgba(195, 154, 69, 0.1), transparent 70%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}

/* -------------------------------- Раскладка -------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section {
  padding-block: var(--sect-y);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 96px);
}

/* ------------------------------- Типографика ------------------------------- */
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.display {
  font-weight: 900;
  font-size: clamp(2.85rem, 8.6vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: clamp(2rem, 5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--ink-soft);
  line-height: 1.45;
  font-weight: 450;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-deep);
}
.muted {
  color: var(--muted);
}
.lime-text {
  color: var(--lime-deep);
}

/* --------------------------------- Кнопки ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.85em 0.95em 0.85em 1.4em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s,
    box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.btn .arrow {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  font-size: 0.95em;
  transition: transform 0.35s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover .arrow {
  transform: translate(3px, -1px) rotate(-2deg);
}
.btn--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary .arrow {
  background: var(--lime);
  color: var(--ink);
}
.btn--primary:hover {
  background: #000;
}
.btn--lime {
  background: var(--lime);
  color: var(--ink);
}
.btn--lime .arrow {
  background: var(--ink);
  color: var(--lime);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  padding-left: 1.4em;
}
.btn--ghost .arrow {
  background: var(--ink);
  color: var(--white);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--lg {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  padding: 1.05em 1.1em 1.05em 1.7em;
}

/* --------------------------------- Шапка ----------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.header.is-stuck {
  background: rgba(242, 238, 227, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}
.brand .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 4px rgba(212, 242, 58, 0.3);
}
.brand b {
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.nav-links a {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--lime-deep);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* кнопка внутри nav-menu нужна только в мобильном выпадающем меню;
   на десктопе показываем единственную кнопку из .nav-cta */
.nav-menu .btn {
  display: none;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  align-items: center;
  justify-content: center;
}
.burger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
body.menu-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}
body.menu-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 90px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}
.hero-eyebrow {
  margin-bottom: 26px;
}
.hero h1 {
  margin-bottom: 28px;
}
.hero h1 .accent {
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.06em;
  height: 0.34em;
  background: var(--lime);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}
.hero .lead {
  max-width: 30ch;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.hero-trust span::before {
  content: "→";
  color: var(--lime-deep);
  font-weight: 700;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(380px, 40vw, 540px);
}
.hero3d {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero3d canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.hero-visual.is-3d .blob-fallback {
  opacity: 0;
  visibility: hidden;
}
.hero-visual .glow {
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(212, 242, 58, 0.42),
    transparent 62%
  );
  filter: blur(8px);
  z-index: 0;
}
.blob {
  position: relative;
  z-index: 1;
  width: clamp(240px, 34vw, 440px);
  filter: drop-shadow(0 30px 40px rgba(16, 15, 12, 0.22));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}
/* декоративные лаймовые точки */
.dot-deco {
  position: absolute;
  border-radius: 50%;
  background: var(--lime);
  z-index: 2;
}

/* ------------------------------ Бегущая строка ----------------------------- */
.ticker {
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.2em;
  padding: 18px 0;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.ticker-item span {
  padding-inline: 1em;
}
.ticker-item .star {
  color: var(--lime);
  font-size: 0.85em;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* -------------------------------- Заголовок секции ------------------------- */
.sect-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(34px, 4vw, 60px);
}
.sect-head .sect-title {
  max-width: 18ch;
}
.sect-head .sect-aside {
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.02rem;
}

/* --------------------------------- Услуги ---------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
.svc {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.svc--wide {
  grid-column: span 7;
}
.svc--narrow {
  grid-column: span 5;
}
.svc .svc-num {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.55;
}
.svc .svc-name {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 14px;
}
.svc .svc-desc {
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.45;
  max-width: 34ch;
}
.svc .svc-foot {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.svc .svc-price {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.svc .svc-arrow {
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.35s var(--ease);
}
.svc:hover .svc-arrow {
  transform: translate(4px, -2px);
}
.svc--black {
  background: var(--card-black);
  color: var(--white);
  background-image: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.08),
    transparent 40%
  );
}
.svc--black .svc-arrow {
  background: var(--lime);
  color: var(--ink);
}
.svc--lime {
  background: var(--lime);
  color: var(--ink);
}
.svc--lime .svc-arrow {
  background: var(--ink);
  color: var(--lime);
}
.svc--paper {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.svc--paper .svc-arrow {
  background: var(--ink);
  color: var(--white);
}
.svc-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.svc--lime .svc-tag,
.svc--paper .svc-tag {
  background: rgba(16, 15, 12, 0.1);
}

/* ------------------------------- Как работаю ------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px 30px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--line-soft);
}
.step .step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 22px;
}
.step h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* --------------------------------- Кейсы ----------------------------------- */
.cases {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
.case {
  grid-column: span 6;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.case:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9e4d6;
  position: relative;
}
.case-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}
.case:hover .case-shot img {
  transform: scale(1.04);
}
.case-body {
  padding: 24px clamp(22px, 2.4vw, 32px) 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.case-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.case-desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}
.case-link {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--ink);
}
.case-link .arrow {
  transition: transform 0.3s var(--ease);
}
.case:hover .case-link .arrow {
  transform: translateX(4px);
}
/* кейс-цифры (психолог) */
.case--stat {
  grid-column: span 12;
  background: var(--card-black);
  color: var(--white);
  border: none;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(30px, 4vw, 56px);
  background-image: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.07),
    transparent 45%
  );
}
.case--stat:hover {
  transform: none;
  box-shadow: none;
}
.case--stat .stat-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.case--stat .stat-copy p {
  color: rgba(251, 250, 244, 0.7);
  max-width: 44ch;
  line-height: 1.5;
}
.stat-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  max-width: 440px;
}
.stat-shot img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(251, 250, 244, 0.12);
}
.stat-nick {
  margin-top: 22px;
  font-size: 0.95rem;
  color: rgba(251, 250, 244, 0.78);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stat-nick b {
  color: var(--lime);
  font-weight: 700;
}
.stat-nick span {
  font-size: 0.78rem;
  color: rgba(251, 250, 244, 0.5);
  padding-left: 10px;
  border-left: 1px solid rgba(251, 250, 244, 0.22);
}
.figure {
  background: rgba(251, 250, 244, 0.06);
  border: 1px solid rgba(251, 250, 244, 0.12);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
}
.figure b {
  display: block;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.figure b .lime-text {
  color: var(--lime);
}
.figure small {
  display: block;
  margin-top: 8px;
  color: rgba(251, 250, 244, 0.6);
  font-size: 0.9rem;
}

/* ------------------------------- Почему я ---------------------------------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.stat-tile {
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  background: var(--white);
  border: 1.5px solid var(--line-soft);
}
.stat-tile:nth-child(2) {
  background: var(--lime);
  border-color: transparent;
}
.stat-tile:nth-child(3) {
  background: var(--card-black);
  color: var(--white);
  border-color: transparent;
}
.stat-tile .big {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.stat-tile .cap {
  margin-top: 10px;
  font-size: 0.96rem;
  opacity: 0.78;
  line-height: 1.35;
}
.why-copy .h2 {
  margin-bottom: 22px;
}
.why-copy p {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 42ch;
}
.stack-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.stack-line span {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
}

/* --------------------------------- Цены ------------------------------------ */
.pricing {
  background: var(--card-black);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 60px);
  background-image: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06),
    transparent 42%
  );
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-top: 1px solid rgba(251, 250, 244, 0.14);
}
.price-row:first-of-type {
  border-top: none;
}
.price-name {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.price-name small {
  display: block;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(251, 250, 244, 0.6);
  margin-top: 4px;
  letter-spacing: 0;
}
.price-val {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lime);
  white-space: nowrap;
}
.price-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.price-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6em 1.1em;
  border-radius: 999px;
  background: rgba(212, 242, 58, 0.14);
  color: var(--lime);
}

/* ----------------------------- Блог (тизер) -------------------------------- */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 30px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1.5px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  min-height: 230px;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.post-card .post-meta {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-card h3 {
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.post-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}
.post-card .case-link {
  margin-top: auto;
}

/* ------------------------------ Финальный CTA ------------------------------ */
.cta {
  position: relative;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 96px) clamp(28px, 5vw, 80px);
  overflow: hidden;
  text-align: center;
}
.cta .blob-cta {
  position: absolute;
  width: clamp(180px, 22vw, 300px);
  right: -4%;
  bottom: -22%;
  opacity: 0.9;
  filter: drop-shadow(0 20px 30px rgba(16, 15, 12, 0.2));
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  position: relative;
  z-index: 1;
}
.cta p {
  margin: 22px auto 34px;
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}
.cta .hero-actions {
  justify-content: center;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* --------------------------------- Footer ---------------------------------- */
.footer {
  padding-block: clamp(48px, 6vw, 90px) 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer .brand {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.footer-tag {
  color: var(--muted);
  max-width: 32ch;
  line-height: 1.5;
}
.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.25s;
}
.footer-col a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ------------------------------- Анимация ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] {
  transition-delay: 0.08s;
}
.reveal[data-d="2"] {
  transition-delay: 0.16s;
}
.reveal[data-d="3"] {
  transition-delay: 0.24s;
}
.reveal[data-d="4"] {
  transition-delay: 0.32s;
}

/* ------------------------------ Адаптивность ------------------------------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 240px;
  }
  .blob {
    width: clamp(200px, 50vw, 320px);
  }
  .svc--wide,
  .svc--narrow {
    grid-column: span 6;
  }
  .why {
    grid-template-columns: 1fr;
  }
  .case--stat {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav-menu {
    display: flex;
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--pad-x) 24px;
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    box-shadow: var(--shadow-md);
  }
  body.menu-open .nav-menu {
    transform: translateY(0);
  }
  .nav-menu a {
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-menu .btn {
    display: inline-flex;
    margin-top: 16px;
    justify-content: center;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .svc--wide,
  .svc--narrow,
  .case {
    grid-column: span 12;
  }
  .why-stats,
  .stat-figures {
    grid-template-columns: 1fr 1fr;
  }
  .posts {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .steps,
  .why-stats {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
