/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }

/* ===== VARIABLES ===== */
:root {
  --accent: #2563EB;
  --accent-dark: #1d4ed8;
  --accent-light: #eff6ff;
  --accent-mid: #dbeafe;
  --bg: #ffffff;
  --bg-2: #f8faff;
  --bg-3: #f1f5f9;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --border: #e2e8f0;
  --green: #16a34a;
  --green-light: #dcfce7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(37,99,235,0.08);
  --shadow-lg: 0 8px 40px rgba(37,99,235,0.13);
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all .18s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.35); }
.btn--outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn--outline:hover { background: var(--accent-light); }
.btn--ghost { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn--sm { padding: 9px 18px; font-size: 14px; border-radius: 8px; }
.btn--full { width: 100%; }

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title--center { text-align: center; }
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 48px;
}
.section-sub--center { text-align: center; margin-left: auto; margin-right: auto; }
.accent { color: var(--accent); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  height: 68px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.logo__suffix { color: var(--accent); font-weight: 500; letter-spacing: 0; }

/* ===== NAV ===== */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.nav a:hover { color: var(--accent); }
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}
.header__phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--accent); }

/* ===== BURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 72px;
  background: linear-gradient(135deg, #f8faff 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== HERO CARD ===== */
.hero__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label { font-size: 13px; color: var(--text-2); }
.hero__model { display: flex; flex-direction: column; gap: 12px; }
.model-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.4;
}
.model-row svg { flex-shrink: 0; margin-top: 1px; }

/* ===== PROBLEM ===== */
.problem {
  padding: 72px 0;
  background: var(--bg-3);
}
.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.problem__left .section-title { margin-bottom: 16px; }
.problem__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.problem-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid transparent;
}
.problem-card--bad { border-color: #fee2e2; }
.problem-card--good { border-color: var(--green-light); }
.problem-card__label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.problem-card--bad .problem-card__label { color: #dc2626; }
.problem-card--good .problem-card__label { color: var(--green); }
.problem-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.problem-list li { font-size: 14px; color: var(--text-2); display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.problem-list .x { color: #dc2626; font-weight: 700; flex-shrink: 0; }
.problem-list .check { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ===== ADVANTAGES ===== */
.advantages { padding: 88px 0; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.adv:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.adv__icon { margin-bottom: 16px; }
.adv__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}
.adv__desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ===== SERVICES ===== */
.services { padding: 0 0 88px; background: var(--bg-2); }
.services .container { padding-top: 72px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.service__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.service__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
}
.service__desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.service__list { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service__list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--text-2); line-height: 1.4; }
.service__list svg { flex-shrink: 0; margin-top: 1px; }
.service__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  padding-top: 8px;
}
.service__price span { font-size: 14px; font-weight: 500; color: var(--text-2); }

/* ===== PRICE ===== */
.price { padding: 88px 0; }
.price-wrap { max-width: 860px; margin: 0 auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table thead tr { background: var(--accent); }
.price-table th {
  padding: 16px 20px;
  text-align: left;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.price-table tbody tr { border-bottom: 1px solid var(--border); background: #fff; }
.price-table tbody tr:last-child { border: none; }
.price-table td { padding: 14px 20px; font-size: 14px; color: var(--text-2); }
.price-table td:first-child { color: var(--text); }
.price-val { font-weight: 700; color: var(--accent) !important; white-space: nowrap; }
.price-highlight td { background: var(--accent-light); }
.price-total td { background: #f0fdf4; }
.price-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-mid);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.price-note svg { flex-shrink: 0; margin-top: 1px; }

/* ===== PROCESS ===== */
.process { padding: 88px 0; background: var(--bg-2); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-mid));
  z-index: 0;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.step__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}
.step__desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ===== REVIEWS ===== */
.reviews { padding: 88px 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review__header { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review__name { font-weight: 700; font-size: 15px; }
.review__role { font-size: 13px; color: var(--text-2); }
.review__stars { color: #f59e0b; font-size: 14px; margin-left: auto; }
.review__text { font-size: 14px; color: var(--text-2); line-height: 1.7; font-style: italic; flex: 1; }
.review__result {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 8px 12px;
  border-radius: 8px;
}

/* ===== FAQ ===== */
.faq { padding: 88px 0; background: var(--bg-2); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--accent); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__arrow { flex-shrink: 0; transition: transform .2s; }
.faq__item[open] .faq__arrow { transform: rotate(180deg); }
.faq__answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact { padding: 88px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 16px; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.contact-card svg { flex-shrink: 0; }
.contact-card__label { font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.contact-card__val { font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; }
.contact-card__val:hover { color: var(--accent); }

/* ===== FORM ===== */
.form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.form__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 24px;
}
.form { display: flex; flex-direction: column; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 13px; font-weight: 600; color: var(--text); }
.form__input {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s;
  outline: none;
  width: 100%;
}
.form__input:focus { border-color: var(--accent); }
.form__select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form__textarea { resize: vertical; min-height: 90px; }
.form__note--ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}
.form__note--ok a { color: #15803d; }

.form__note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  font-size: 13px;
  line-height: 1.5;
  color: #b91c1c;
}
.form__note a { color: #b91c1c; font-weight: 600; text-decoration: underline; }

.form__privacy { font-size: 12px; color: var(--text-3); text-align: center; }
.form__privacy a { color: var(--text-2); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer__tagline { font-size: 13px; color: var(--text-2); margin-top: 8px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { font-size: 14px; color: var(--text-2); text-decoration: none; }
.footer__nav a:hover { color: var(--accent); }
.footer__legal { display: flex; flex-direction: column; gap: 6px; }
.footer__legal p { font-size: 13px; color: var(--text-2); }
.footer__legal a { color: var(--text-2); text-decoration: none; }
.footer__legal a:hover { color: var(--accent); }
.footer__copy { color: var(--text-3) !important; font-size: 12px !important; margin-top: 4px; }

/* ===== FAB ===== */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #229ED9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34,158,217,0.45);
  z-index: 90;
  transition: transform .2s, box-shadow .2s;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(34,158,217,0.55); }

/* ===== MULTI-PAGE NAV ===== */
.nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 700;
}

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero {
  padding: 80px 0 72px;
  background: linear-gradient(135deg, #f8faff 0%, #fff 60%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  top: -160px; right: -80px;
  animation: orb-drift 10s ease-in-out infinite;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}
.page-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.page-hero__desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.page-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== HERO ART WRAP (index) ===== */
.hero__art-wrap {
  position: relative;
}
.hero__art-wrap .hero-float--tl {
  top: -14px;
  left: -20px;
}
.hero__art-wrap .hero-float--br {
  bottom: -14px;
  right: -12px;
}

/* ===== ABSTRACT ILLUSTRATIONS ===== */
.art-network,
.art-flow,
.art-chart,
.art-connect {
  width: 100%;
  height: auto;
  max-width: 500px;
  filter: drop-shadow(0 8px 32px rgba(37,99,235,0.06));
}
.art-connect {
  max-width: 400px;
  margin: 28px 0;
}

/* ===== HTML FUNNEL (services page) ===== */
.funnel {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.funnel__row {
  position: relative;
  width: 100%;
  border-radius: 14px;
  padding: 16px 22px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37,99,235,0.16);
}
.funnel__row--1 { width: 100%; background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; }
.funnel__row--2 { width: 88%;  background: linear-gradient(135deg, #93c5fd, #60a5fa); }
.funnel__row--3 { width: 72%;  background: linear-gradient(135deg, #3b82f6, #2563EB); }
.funnel__row--4 { width: 56%;  background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.funnel__row:not(:first-child)::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #cbd5e1;
}
.funnel__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.funnel__label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}
.funnel__pct {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 100px;
  background: rgba(255,255,255,0.22);
  white-space: nowrap;
}
.funnel__row--1 .funnel__pct { background: #fff; color: #1d4ed8; }
.funnel__sub {
  font-size: 12px;
  opacity: 0.92;
  margin-top: 4px;
  line-height: 1.4;
}
.funnel__base {
  margin-top: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #fff;
  background: #1d4ed8;
  padding: 11px 22px;
  border-radius: 100px;
  box-shadow: 0 8px 22px rgba(29,78,216,0.28);
  text-align: center;
}

/* ===== METRICS BAR ===== */
.metrics-bar {
  background: var(--accent);
  padding: 40px 0;
}
.metrics-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.metrics-bar__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.metrics-bar__label {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  top: -100px; right: 5%;
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  bottom: -80px; left: 8%;
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-banner__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-banner__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.cta-banner__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--white {
  background: #fff;
  color: var(--accent);
  border: none;
}
.btn--white:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}
.btn--ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
}
.btn--ghost-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ===== DETAILED STEPS (how.html) ===== */
.process-detail {
  padding: 88px 0;
}
.steps-detailed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.step-detail:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent-mid);
  transform: translateX(4px);
}
.step-detail__num {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-detail__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}
.step-detail__desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}
.step-detail__features {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-detail__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.step-detail__features li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== REVIEWS WIDE GRID ===== */
.reviews-grid--wide {
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
}

/* ===== CONTACT PAGE ===== */
.contact-page {
  padding: 80px 0 88px;
  background: linear-gradient(135deg, #f8faff 0%, #fff 60%);
  min-height: calc(100vh - 68px - 180px);
}
.contact-page__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-page__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.contact-page__desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 8px;
  max-width: 480px;
}
.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.trust-badge svg { flex-shrink: 0; margin-top: 1px; }

/* ===== BREAKPOINTS ===== */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
  .adv-grid { gap: 16px; }
}

@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; font-size: 16px; }
  .nav a:last-child { border: none; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .steps-grid::before { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .reviews-grid--wide { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 60px; }
  .problem__inner { grid-template-columns: 1fr; gap: 32px; }
  .problem__cards { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .price-table th:last-child, .price-table td:last-child { display: none; }
  /* multi-page */
  .page-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero__art { max-width: 400px; margin: 0 auto; }
  .metrics-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .step-detail { grid-template-columns: 1fr; gap: 16px; }
  .contact-page__inner { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid--wide { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .header__phone { display: none; }
  .hero__cta { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
  .problem__cards { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .reviews-grid { max-width: 100%; }
  .services-grid { max-width: 100%; }
  .form-wrap { padding: 24px 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  /* multi-page */
  .page-hero__art { max-width: 340px; margin: 8px auto 0; }
  .funnel__row--2 { width: 92%; }
  .funnel__row--3 { width: 82%; }
  .funnel__row--4 { width: 72%; }
  .funnel__label { font-size: 15px; }
  .metrics-bar__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .cta-banner__btns .btn { width: 100%; max-width: 320px; }
  .reviews-grid--wide { max-width: 100%; }
}

@media (max-width: 380px) {
  .logo__suffix { display: none; }
  .hero__title { font-size: 28px; }
}

/* custom cursor removed */

/* =============================================
   TICKER
   ============================================= */
.ticker-wrap {
  background: var(--accent);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 50;
}
.ticker-track { display: flex; width: 100%; overflow: hidden; }
.ticker-items {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-items span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.ticker-dot { color: rgba(255,255,255,0.35) !important; font-size: 8px !important; }
.ticker-wrap:hover .ticker-items { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   BACKGROUNDS
   ============================================= */

/* Hero: dot grid + gradient orbs */
.hero {
  background-image:
    radial-gradient(ellipse 55% 65% at 78% 45%, rgba(37,99,235,.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 70%, rgba(37,99,235,.04) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='14' cy='14' r='1.2' fill='%232563EB' fill-opacity='0.055'/%3E%3C/svg%3E");
  background-size: auto, auto, 28px 28px;
}

/* Advantages: subtle grid */
.advantages {
  background-image:
    url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h48v48H0z' fill='none'/%3E%3Cpath d='M0 48V0h48' fill='none' stroke='%232563EB' stroke-opacity='.045' stroke-width='.8'/%3E%3C/svg%3E");
  background-size: 48px 48px;
}

/* Problem: diagonal stripe */
.problem {
  background-image:
    url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='24' x2='24' y2='0' stroke='%230f172a' stroke-opacity='.025' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 24px 24px;
}

/* Process: rings */
.process {
  background-image:
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='60' cy='60' r='56' fill='none' stroke='%232563EB' stroke-opacity='.04' stroke-width='1'/%3E%3Ccircle cx='60' cy='60' r='38' fill='none' stroke='%232563EB' stroke-opacity='.03' stroke-width='1'/%3E%3Ccircle cx='60' cy='60' r='20' fill='none' stroke='%232563EB' stroke-opacity='.03' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  background-position: center;
}

/* Contact: mesh gradient */
.contact {
  background-image:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(37,99,235,.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 30%, rgba(37,99,235,.03) 0%, transparent 50%);
}

/* =============================================
   FLOATING PRINTS (hero badges)
   ============================================= */
.hero__stats { position: relative; }

.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(37,99,235,.13);
  z-index: 10;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.hero-float strong  { display: block; font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.2; }
.hero-float span    { font-size: 11px; color: var(--text-2); }
.hero-float svg     { flex-shrink: 0; }

.hero-float--tl {
  top: -18px; left: -24px;
  animation: float-badge-1 4s ease-in-out infinite;
}
.hero-float--br {
  bottom: -18px; right: -16px;
  animation: float-badge-2 5s ease-in-out infinite;
}

@keyframes float-badge-1 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}
@keyframes float-badge-2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50%       { transform: translateY(-10px) rotate(-1deg); }
}

/* =============================================
   ACTIVITY TOASTS
   ============================================= */
.act-toast {
  position: fixed;
  bottom: 96px; left: -320px;
  z-index: 800;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  max-width: 280px;
  backdrop-filter: blur(8px);
  transition: left .45s cubic-bezier(.34,1.56,.64,1);
}
.act-toast.show { left: 20px; }
.act-toast__icon { font-size: 22px; flex-shrink: 0; }
.act-toast__name  { font-weight: 700; font-size: 13px; color: var(--text); }
.act-toast__label { font-size: 11px; color: var(--text-2); margin-top: 1px; }

/* =============================================
   3-D TILT CARDS
   ============================================= */
.adv, .service, .hero__card, .review, .step {
  transform-style: flat;
  will-change: transform;
}

/* =============================================
   ANIMATIONS
   ============================================= */

/* --- Keyframes --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes shimmer {
  0%   { transform: translateX(-120%) skewX(-12deg); }
  100% { transform: translateX(220%) skewX(-12deg); }
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.45); }
  60%       { box-shadow: 0 0 0 14px rgba(37,99,235,0); }
}
@keyframes ripple-anim {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(2.8); opacity: 0; }
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(25px, -20px) scale(1.05); }
  66%       { transform: translate(-15px, 18px) scale(0.97); }
}
@keyframes line-grow {
  from { transform: scaleX(0); transform-origin: left center; }
  to   { transform: scaleX(1); transform-origin: left center; }
}
@keyframes num-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.18); color: #1d4ed8; }
  100% { transform: scale(1); }
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.25); }
  55%       { box-shadow: 0 0 0 8px rgba(37,99,235,0); }
}
@keyframes spin-check {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

/* --- Scroll progress bar --- */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  border-radius: 0 2px 2px 0;
  transition: width .08s linear;
  pointer-events: none;
}

/* --- Hero ambient orbs --- */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  top: -160px; right: -80px;
  animation: orb-drift 10s ease-in-out infinite;
}
.hero::after {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  animation: orb-drift 14s ease-in-out infinite reverse;
}
.hero__inner { position: relative; z-index: 1; }

/* --- Hero entrance stagger --- */
.hero__badge { animation: fadeInUp .55s ease .05s both; }
.hero__title  { animation: fadeInUp .6s  ease .18s both; }
.hero__desc   { animation: fadeInUp .6s  ease .32s both; }
.hero__cta    { animation: fadeInUp .6s  ease .46s both; }
.hero__stats  { animation: fadeInRight .7s ease .2s both; }

/* Badge subtle pulse after entrance */
.hero__badge { animation: fadeInUp .55s ease .05s both, badge-pulse 3.5s ease-in-out 1.2s infinite; }

/* --- Hero card float --- */
.hero__card { animation: float 5s ease-in-out infinite; }

/* --- CTA hero button pulse --- */
.hero__cta .btn:first-child { animation: btn-pulse 2.8s ease-in-out 1.2s infinite; }

/* --- Primary button shimmer --- */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  animation: shimmer 4s ease-in-out 2s infinite;
}

/* --- Ripple --- */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: ripple-anim .55s ease-out forwards;
}
.btn--primary   .btn-ripple { background: rgba(255,255,255,0.35); }
.btn--outline   .btn-ripple { background: rgba(37,99,235,0.18); }
.btn--ghost     .btn-ripple { background: rgba(37,99,235,0.12); }

/* --- Logo hover animation --- */
.logo:hover .logo__icon svg { animation: spin-check .45s ease; }

/* --- Enhanced card hovers --- */
.adv {
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s;
}
.adv:hover {
  box-shadow: 0 10px 32px rgba(37,99,235,0.14);
  transform: translateY(-5px);
  border-color: var(--accent-mid);
}
.adv:hover .adv__icon svg rect { transition: fill .2s; fill: #dbeafe; }

.service {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(37,99,235,0.16);
}

.review {
  transition: transform .22s ease, box-shadow .22s ease;
}
.review:hover {
  transform: translateY(-5px) rotate(0.4deg);
  box-shadow: 0 10px 32px rgba(37,99,235,0.13);
}

/* --- Problem cards slide in --- */
.problem-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.problem-card--bad.anim-in  { animation: fadeInLeft  .55s ease both; }
.problem-card--good.anim-in { animation: fadeInRight .55s ease .1s both; }

/* --- Steps line draw on scroll --- */
.steps-grid.line-visible::before {
  animation: line-grow .9s cubic-bezier(.4,0,.2,1) .2s both;
}

/* --- Step hover --- */
.step {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-mid);
}
.step__num {
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover .step__num {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}

/* --- Number pop after count --- */
.stat__num.pop { animation: num-pop .45s ease; }

/* --- Stagger classes (set by JS) --- */
.stagger-1  { transition-delay: 0ms !important; }
.stagger-2  { transition-delay: 80ms !important; }
.stagger-3  { transition-delay: 160ms !important; }
.stagger-4  { transition-delay: 240ms !important; }
.stagger-5  { transition-delay: 320ms !important; }
.stagger-6  { transition-delay: 400ms !important; }

/* --- FAQ smooth answer --- */
.faq__item { transition: border-color .2s; }
.faq__item[open] { border-color: var(--accent); }
.faq__answer { animation: fadeInUp .22s ease; }

/* --- Contact card hover --- */
.contact-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.contact-card:hover {
  transform: translateX(4px);
  border-color: var(--accent-mid);
  box-shadow: var(--shadow);
}

/* --- FAB wiggle on first appear --- */
@keyframes fab-in {
  0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
  70%  { transform: scale(1.15) rotate(10deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); }
}
.fab { animation: fab-in .6s cubic-bezier(.34,1.56,.64,1) 1.5s both; }

/* --- Form input ring --- */
.form__input {
  transition: border-color .18s, box-shadow .18s;
}
.form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* --- Stat number glow --- */
.stat__num {
  transition: color .2s;
}

