/* ===== DataCraft — palette & base ===== */
:root {
  --bg: #0E1620;          /* deep graphite-navy — dominant dark */
  --bg-2: #131F2E;        /* slightly lighter dark surface */
  --surface: #F5F2EC;     /* warm light surface */
  --surface-2: #ECE7DD;   /* warm light, deeper */
  --accent: #2DD4BF;      /* teal — trust + growth */
  --accent-ink: #0B3D38;  /* dark teal for text on teal */
  --cta: #F59E0B;         /* warm amber — CTA */
  --cta-hover: #E8920A;
  --ink: #1A2230;         /* near-black text on light */
  --ink-soft: #4A5666;    /* muted text on light */
  --on-dark: #F5F2EC;     /* text on dark */
  --on-dark-soft: #9FB0C2;/* muted text on dark */
  --line: rgba(255, 255, 255, 0.10);
  --radius: 16px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--on-dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.hl { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--cta {
  background: var(--cta);
  color: #2A1B00;
  box-shadow: 0 8px 24px -8px rgba(245, 158, 11, 0.6);
}
.btn--cta:hover { background: var(--cta-hover); }

.btn--ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--block { width: 100%; padding: 16px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 22, 32, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; }
.brand__mark {
  width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #1E9E8E);
  box-shadow: 0 0 18px -2px var(--accent);
}
.brand__accent { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: 14px; font-size: 0.95rem; color: var(--on-dark-soft); }
.site-nav a:hover { color: var(--on-dark); }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lang-toggle {
  padding: 8px 11px; min-width: 42px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  color: var(--on-dark); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  cursor: pointer; transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.site-header__cta { padding: 10px 20px; color: #2A1B00; }
.site-header__cta:hover { color: #2A1B00; }
.site-header__cta--short { display: none; }

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0 12px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--on-dark); transition: transform 0.22s var(--ease), opacity 0.22s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 12vw, 140px) 0 clamp(60px, 9vw, 110px); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 75% 0%, rgba(45, 212, 191, 0.18), transparent 70%),
    radial-gradient(50% 50% at 10% 20%, rgba(245, 158, 11, 0.10), transparent 70%),
    linear-gradient(180deg, #0E1620, #0B1019);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 60% 10%, #000 0%, transparent 75%);
  animation: gridShift 22s linear infinite;
  opacity: 0.5;
}
@keyframes gridShift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 64px); align-items: center; }
.hero__content { max-width: 720px; }
.hero__media { position: relative; }
.hero__img {
  width: 100%; height: auto; display: block;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.hero__media-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(14, 22, 32, 0.82); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-size: 0.85rem; font-weight: 600; color: var(--on-dark);
}
.hero__media-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero__eyebrow {
  display: inline-block; margin: 0 0 18px;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
}
.hero__title { font-size: clamp(2.1rem, 6vw, 4rem); font-weight: 800; }
.hero__subtitle {
  margin: 24px 0 32px; max-width: 640px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--on-dark-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(22px, 5vw, 48px);
  list-style: none; margin: 8px 0 0; padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--accent); font-weight: 800; }
.hero__stats span { font-size: 0.9rem; color: var(--on-dark-soft); }

/* Desktop: two-column hero with a stats panel filling the right side */
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr); gap: clamp(40px, 5vw, 72px); }
  .hero__content { max-width: none; }
  .hero__stats {
    flex-direction: column; flex-wrap: nowrap; align-items: stretch;
    gap: 0; margin: 0; padding: 6px 6px;
    border-top: none; border: 1px solid var(--line);
    border-radius: 20px; background: rgba(255, 255, 255, 0.03);
  }
  .hero__stats li {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 22px; border-bottom: 1px solid var(--line);
  }
  .hero__stats li:last-child { border-bottom: none; }
  .hero__stats span { text-align: right; max-width: 160px; font-size: 0.95rem; }
}

/* Desktop: center section intros so headings aren't stranded left */
@media (min-width: 760px) {
  .section > .container > .section__title,
  .section > .container > .section__lead { text-align: center; }
  .section > .container > .section__lead { margin-left: auto; margin-right: auto; }
}

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 112px) 0; background: var(--surface); color: var(--ink); }
.section--dark { background: var(--bg); color: var(--on-dark); }
.section__title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
.section--dark .section__title { color: var(--on-dark); }
.section__lead {
  margin: 14px 0 0; max-width: 620px;
  font-size: 1.1rem; color: var(--ink-soft);
}
.section--dark .section__lead { color: var(--on-dark-soft); }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 44px; }

/* Carousel (mobile only) */
.cards-dots { display: none; }
@media (max-width: 759px) {
  .cards {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    margin-left: calc(-1 * clamp(20px, 5vw, 40px));
    margin-right: calc(-1 * clamp(20px, 5vw, 40px));
    padding: 6px clamp(20px, 5vw, 40px) 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards .card { flex: 0 0 84%; scroll-snap-align: center; }

  .cards-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .cards-dots button {
    width: 8px; height: 8px; padding: 0; border: none; cursor: pointer;
    border-radius: 999px; background: var(--surface-2);
    transition: width 0.2s var(--ease), background 0.2s var(--ease);
  }
  .cards-dots button.is-active { width: 24px; background: var(--accent); }
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 32px;
  box-shadow: 0 18px 40px -28px rgba(26, 34, 48, 0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 26px 50px -28px rgba(45, 212, 191, 0.45); }
.card__cover { width: 100%; height: 200px; object-fit: cover; display: block; }
.card:hover .card__cover { filter: saturate(1.05); }
.card > :not(.card__cover) { margin-left: 32px; margin-right: 32px; }
.card__icon {
  margin-top: -36px;
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: #fff;
  border: 1px solid var(--surface-2);
  box-shadow: 0 10px 24px -12px rgba(26, 34, 48, 0.45);
  margin-bottom: 18px;
}
.card__title { font-size: 1.4rem; }
.card__text { color: var(--ink-soft); margin: 12px 0 18px; }
.card__list { margin: 0; padding: 0; list-style: none; }
.card__list { margin-bottom: 24px; }
.card__list li { position: relative; padding: 8px 0 8px 28px; border-top: 1px solid var(--surface-2); }
.card__list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--accent-ink); font-weight: 700;
  background: rgba(45, 212, 191, 0.25); width: 20px; height: 20px;
  border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem;
}

/* ===== Card "order service" button ===== */
.card__order {
  display: flex; margin-top: auto;
  background: var(--accent); color: #06231f;
  box-shadow: 0 10px 24px -12px rgba(45, 212, 191, 0.7);
}
.card__order:hover { background: #26bda9; }

/* ===== Feature cards (flagship services) ===== */
.card--feature { border-color: rgba(45, 212, 191, 0.45); }

/* ===== Automation flow ===== */
.flow {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  align-items: stretch; margin-top: 44px;
}
.flow__step {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.flow__step--final { border-color: rgba(45, 212, 191, 0.5); box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.15); }
.flow__icon {
  width: 60px; height: 60px; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 1.7rem;
  border-radius: 16px; background: rgba(45, 212, 191, 0.14);
}
.flow__title { font-size: 1.15rem; margin-bottom: 6px; }
.flow__step p { margin: 0; color: var(--on-dark-soft); }
.flow__arrow {
  display: grid; place-items: center;
  color: var(--accent); font-size: 1.6rem; font-weight: 700;
  transform: rotate(90deg);
}

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: none; }
.step {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.step__num { font-size: 0.9rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.step__title { font-size: 1.25rem; margin: 8px 0 6px; }
.step p { margin: 0; color: var(--on-dark-soft); }

/* ===== Benefits ===== */
.benefits { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 44px; }
.benefit { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--surface-2); }
.benefit__icon { font-size: 1.8rem; margin-bottom: 10px; }
.benefit h3 { font-size: 1.25rem; }
.benefit p { color: var(--ink-soft); margin: 8px 0 0; }

/* ===== Lead form ===== */
.lead__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form__row .field { margin-bottom: 0; }
.field__label { font-size: 0.9rem; color: var(--on-dark-soft); font-weight: 600; }
.req { color: var(--cta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--on-dark);
  font-size: 1rem; font-family: inherit;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #5f7187; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  background: rgba(45, 212, 191, 0.06);
}
.field select { appearance: none; cursor: pointer; }

/* honeypot — hidden from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 16px; font-size: 0.97rem; min-height: 1.2em; text-align: center; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #ff6b6b; }

/* ===== Pains ===== */
.pains {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.pain {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--surface-2);
  border-left: 3px solid var(--cta);
  border-radius: 12px; padding: 18px 20px;
}
.pain__icon { font-size: 1.4rem; line-height: 1.4; }
.pain p { margin: 0; color: var(--ink); }
.pains__cta {
  margin: 28px 0 0; font-size: 1.1rem; font-weight: 600; color: var(--ink);
}

/* ===== Telegram order mockup ===== */
.tg-showcase {
  margin-top: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.tg-phone {
  position: relative;
  width: 340px; max-width: 90vw;
  background: #0e1621;
  border: 10px solid #060b12;
  border-radius: 36px;
  padding: 22px 12px 18px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8);
}
.tg-phone__bar {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 5px; border-radius: 999px; background: #060b12;
}
.tg-chat { border-radius: 18px; overflow: hidden; }
.tg-chat__header {
  display: flex; align-items: center; gap: 12px;
  background: #17212b; padding: 12px 14px;
}
.tg-chat__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
  color: #fff; background: linear-gradient(135deg, #2dd4bf, #2AABEE);
}
.tg-chat__meta { display: flex; flex-direction: column; line-height: 1.25; }
.tg-chat__meta strong { color: #fff; font-size: 0.95rem; }
.tg-chat__meta span { color: #6fb0d8; font-size: 0.8rem; }
.tg-chat__body {
  background:
    linear-gradient(rgba(14, 22, 33, 0.92), rgba(14, 22, 33, 0.92)),
    radial-gradient(circle at 20% 20%, #1d2b3a, #0e1621);
  padding: 18px 14px 16px;
}
.tg-msg {
  position: relative;
  background: #182433; color: #e7eef5;
  border-radius: 4px 14px 14px 14px;
  padding: 12px 14px 18px; max-width: 92%;
  font-size: 0.9rem; line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.tg-msg__title { font-weight: 700; margin-bottom: 8px; color: #fff; }
.tg-row { margin: 2px 0; }
.tg-row span { color: #8fa9bf; }
.tg-msg__time {
  display: block; text-align: right; margin-top: 6px;
  font-size: 0.72rem; color: #6f8aa0;
}
.tg-check { color: #4fc3f7; }
.tg-showcase__caption {
  max-width: 460px; text-align: center; margin: 0;
  color: var(--on-dark-soft); font-size: 0.98rem;
}

/* ===== Cases (result stats) ===== */
.cases {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 40px 0 8px;
}
.case {
  text-align: center; padding: 22px 10px;
  background: var(--bg); color: var(--on-dark);
  border-radius: var(--radius);
}
.case strong { display: block; font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--accent); font-weight: 800; }
.case span { font-size: 0.88rem; color: var(--on-dark-soft); }

/* ===== Reviews ===== */
.reviews {
  display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 28px;
}
.review {
  background: #fff; border: 1px solid var(--surface-2);
  border-radius: var(--radius); padding: 26px;
  box-shadow: 0 18px 40px -30px rgba(26, 34, 48, 0.4);
}
.review__stars { color: #F5B301; letter-spacing: 2px; margin-bottom: 12px; }
.review__text { color: var(--ink); margin: 0 0 18px; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), #1E9E8E);
}
.review__author strong { display: block; color: var(--ink); }
.review__author span { font-size: 0.85rem; color: var(--ink-soft); }

/* ===== CTA band ===== */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--bg); color: var(--on-dark);
  padding: clamp(48px, 7vw, 80px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-band__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 15% 20%, rgba(45, 212, 191, 0.20), transparent 60%),
    radial-gradient(50% 120% at 90% 80%, rgba(245, 158, 11, 0.14), transparent 60%);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px;
}
.cta-band__copy { flex: 1 1 400px; }
.cta-band__title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; }
.cta-band__text { margin: 12px 0 0; color: var(--on-dark-soft); font-size: 1.1rem; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Modal ===== */
body.modal-open { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(6, 12, 20, 0.72); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  background: var(--bg-2); color: var(--on-dark);
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  animation: modalIn 0.22s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  color: var(--on-dark); cursor: pointer;
}
.modal__close:hover { border-color: var(--accent); color: var(--accent); }
.modal__close svg { width: 20px; height: 20px; }
.modal__title { font-size: 1.35rem; margin: 0 40px 6px 0; }
.modal__service { margin: 0 0 18px; color: var(--on-dark-soft); font-size: 0.95rem; }
.modal__service strong { color: var(--accent); }
.modal .form { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .modal__dialog { animation: none; } }

/* ===== Back to top ===== */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #06231f; border: none;
  box-shadow: 0 12px 30px -10px rgba(45, 212, 191, 0.6);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-2px); }
.to-top svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity 0.2s; }
  .to-top:hover { transform: none; }
}

/* ===== Icon sizing & colors (SVG) ===== */
.card__icon { color: var(--accent); }
.card__icon svg { width: 30px; height: 30px; }

.flow__icon { color: var(--accent); }
.flow__icon svg { width: 28px; height: 28px; }
.flow__arrow svg { width: 26px; height: 26px; }

.benefit__icon { color: var(--accent); line-height: 1; }
.benefit__icon svg { width: 30px; height: 30px; }

.pain__icon { color: var(--cta); display: flex; align-items: center; }
.pain__icon svg { width: 22px; height: 22px; }

.tg-msg__title svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 3px; }
.tg-row svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }

.site-footer__phone svg { width: 18px; height: 18px; vertical-align: -4px; }

/* ===== Footer ===== */
.site-footer { background: #0A1018; border-top: 1px solid var(--line); padding: 44px 0; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 28px;
}
.site-footer__brand { flex: 1 1 260px; }
.site-footer__tagline { color: var(--on-dark-soft); margin: 12px 0 0; }
.site-footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.site-footer__contacts-label { font-size: 0.85rem; color: var(--on-dark-soft); }
.btn__icon { margin-right: -2px; }
.btn--tg {
  background: #229ED9;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(34, 158, 217, 0.6);
}
.btn--tg:hover { background: #1B8CC2; }
.site-footer__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.1rem; font-weight: 600; color: var(--on-dark);
}
.site-footer__phone:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (min-width: 760px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .pains { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .flow { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .flow__arrow { transform: rotate(0deg); }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .lead__inner { grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
  .lead__copy { position: sticky; top: 92px; }
}
@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .site-header__inner { gap: 12px; }
  .site-header__actions { gap: 8px; }
  .site-header__cta--full { display: none; }
  .site-header__cta--short { display: inline-flex; padding: 9px 14px; font-size: 0.9rem; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 10px clamp(20px, 5vw, 40px) 18px;
    background: rgba(14, 22, 32, 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav__cta { margin-top: 12px; border-bottom: none; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg::after { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}
