/* ═══════════════════════════════════════════════════
   NOVONEMO® — единый светлый стиль
   Цвет: #1f5cff, фон: #f0f4fb / #fff
═══════════════════════════════════════════════════ */

:root {
  --accent:      #1f5cff;
  --accent-dark: #1445cc;
  --accent-soft: rgba(31, 92, 255, 0.08);
  --accent-line: rgba(31, 92, 255, 0.16);
  --text:        #1a2f6e;
  --muted:       rgba(26, 47, 110, 0.6);
  --bg:          #f0f4fb;
  --bg-soft:     #f0f4fb;
  --surface:     #ffffff;
  --line:        rgba(31, 92, 255, 0.12);
  --shadow:      0 4px 24px rgba(31, 92, 255, 0.1);
  --shadow-lg:   0 12px 48px rgba(31, 92, 255, 0.14);
  --radius-lg:   20px;
  --radius-md:   14px;
  --radius-sm:   10px;
  --container:   min(1160px, calc(100vw - 40px));
  --ease:        200ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

/* Фиксированный фон с мягким градиентом */
.page-shell {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 8% 12%, rgba(31,92,255,0.09) 0%, transparent 36%),
    radial-gradient(circle at 92% 6%,  rgba(31,92,255,0.07) 0%, transparent 30%),
    linear-gradient(180deg, #f8fbfe 0%, #eef3fc 40%, #f5f8ff 100%);
}

/* Убираем старые orb/grid */
.bg-grid, .bg-orb, .orb-1, .orb-2, .orb-3 { display: none; }

/* ── Контейнер ───────────────────────────────── */
.container { width: var(--container); margin: 0 auto; }
.section   { padding: 52px 0; }

.section-intro {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-label, .eyeline {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
}

/* ── Типографика ─────────────────────────────── */
h1, h2, h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  line-height: 1.1;
  color: var(--text);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  margin-bottom: 14px;
  max-width: 18ch;
}

h3 { font-size: clamp(1rem, 1.8vw, 1.25rem); }

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

strong { color: var(--text); }

/* ── Карточка (поверхность) ──────────────────── */
.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

/* ── Шапка ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 12px 0;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--accent);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 38px;
  padding: 5px 8px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.brand-text {
  font-family: "Unbounded", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--ease);
}

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

/* ── Кнопки ──────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.button:hover, .button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px rgba(31,92,255,0.3);
}

.button-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 12px 36px rgba(31,92,255,0.38);
}

.button-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.button-outline:hover {
  background: var(--accent-soft);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}

/* ══════════════════════════════════════════════
   HERO — центрированный, вариант 2
══════════════════════════════════════════════ */
.hero { padding-top: 0; }

.hero-centered {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 20px 48px;
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
}

/* Все текстовые элементы внутри hero ограничены шириной трёх карточек */
.hero-top-title,
.hero-logo-section,
.hero-subtitle,
.hero-bottom {
  width: 100%;
  max-width: var(--container);
}

/* Вопрос сверху */
.hero-top-title { width: 100%; margin-bottom: 20px; }

.hero-question {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1.02rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}

.hero-question strong {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}

/* Логотип */
.hero-logo-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.hero-logo-wrapper { position: relative; }
.hero-logo-link { display: block; text-decoration: none; }

.hero-logo-text {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent);
}

.hero-logo-text sup {
  font-size: 0.26em;
  vertical-align: super;
  opacity: 0.7;
}

.hero-logo-wrapper::after { display: none; }

/* Разделитель + h1 */
.hero-subtitle {
  width: 100%;
  padding-top: 12px;
  margin-bottom: 16px;
  border-top: 2px solid var(--accent-line);
}

.hero-subtitle h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.1rem, 2.6vw, 1.65rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0 auto;
}

/* УТП таблетка */
.hero-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* УТП — убрана таблетка */
.hero-bottom::before { display: none; }

.hero-description-text {
  font-size: clamp(0.86rem, 1.3vw, 0.96rem);
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 20px;
  text-align: center;
  width: 100%;
}

/* Направления */
.hero-directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
  counter-reset: dir-count;
}

.hero-direction-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  box-shadow: var(--shadow);
}

.hero-direction-item::before {
  counter-increment: dir-count;
  content: "0" counter(dir-count);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.45;
  letter-spacing: 0.08em;
}

.hero-direction-icon { display: none; }

.hero-direction-item strong {
  display: block;
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(0.82rem, 1.1vw, 0.94rem);
  margin-bottom: 3px;
}

.hero-direction-item span {
  font-size: clamp(0.76rem, 1vw, 0.84rem);
  color: var(--muted);
  line-height: 1.52;
}

/* Блок результата — просто синий текст */
.hero-result-text {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 700;
  color: var(--accent);
  max-width: 100%;
  margin: 0 0 22px;
  line-height: 1.55;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  width: 100%;
}

/* Кнопка + подпись */
.hero-bottom .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin: 0;
}

.hero-note {
  text-align: center;
  font-size: clamp(0.82rem, 1.1vw, 0.93rem);
  color: var(--muted);
  line-height: 1.55;
  margin-top: 4px;
}

/* Анимации hero */
.hero-anim-1 {
  opacity: 0; transform: translateY(-12px);
  animation: heroFadeDown 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}
.hero-anim-2 {
  opacity: 0; transform: scale(0.94);
  animation: heroScaleUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.35s forwards;
}
.hero-anim-3 {
  opacity: 0; transform: translateY(12px);
  animation: heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.72s forwards;
}
.hero-anim-4 {
  opacity: 0; transform: translateY(16px);
  animation: heroFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 1.0s forwards;
}

@keyframes heroFadeDown { to { opacity:1; transform:translateY(0); } }
@keyframes heroScaleUp  { to { opacity:1; transform:scale(1); } }
@keyframes heroFadeUp   { to { opacity:1; transform:translateY(0); } }

/* ══════════════════════════════════════════════
   OFFER
══════════════════════════════════════════════ */
.offer-card, .process-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.offer-text { font-size: 1rem; color: var(--muted); }
.offer-emphasis { max-width: 540px; }

.check-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ══════════════════════════════════════════════
   СТАТЫ
══════════════════════════════════════════════ */
.stats-grid, .reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}

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

.stat-card, .niche-card, .reason-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.stat-card {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-value {
  display: inline-block;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
}

.stats-footnote { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }

/* ══════════════════════════════════════════════
   НИШИ
══════════════════════════════════════════════ */
.niche-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-index, .service-number {
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.5;
}

.niche-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
  align-self: flex-start;
}

.niche-button:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31,92,255,0.24);
  transform: translateY(-2px);
}

.niche-button-arrow { display: inline-block; transition: transform var(--ease); }
.niche-button:hover .niche-button-arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════════
   УСЛУГИ
══════════════════════════════════════════════ */
.services-list { display: grid; gap: 14px; }

.service-card {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  gap: 22px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow var(--ease), transform var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.service-card h3 { margin-bottom: 12px; color: var(--text); }
.service-card p  { margin-bottom: 14px; }

.service-card strong {
  display: block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ══════════════════════════════════════════════
   ПОЧЕМУ МЫ
══════════════════════════════════════════════ */
.reasons-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }

.reason-card h3 {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

/* ══════════════════════════════════════════════
   КАК РАБОТАЕМ
══════════════════════════════════════════════ */
.timeline { display: grid; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline-item:first-child { border-top: 0; }

.timeline-item span {
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.6;
}

.timeline-item h3 { margin-bottom: 10px; color: var(--text); }

/* ══════════════════════════════════════════════
   ФОРМА / КОНТАКТ
══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,440px);
  gap: 28px;
  align-items: start;
}

.contact-points { display: grid; gap: 10px; margin-top: 24px; }

.contact-points article {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-points strong { display: block; margin-bottom: 4px; color: var(--text); }
.contact-points span   { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.contact-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

#lead-form { display: grid; gap: 16px; }

.field { display: grid; gap: 6px; }

.field label, .checkbox {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  padding: 13px 16px;
  transition: border-color var(--ease), background var(--ease);
}

.field input::placeholder, .field textarea::placeholder {
  color: rgba(26,47,110,0.35);
}

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

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

.checkboxes { display: grid; gap: 10px; }

.checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  gap: 10px;
  align-items: start;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
}

.checkbox input { margin-top: 3px; accent-color: var(--accent); }
.checkbox a, .footer-links a { color: var(--accent); }

.submit-button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  min-height: 52px;
  padding: 0 28px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
}

.submit-button:hover {
  background: var(--accent-dark);
  box-shadow: 0 10px 30px rgba(31,92,255,0.3);
  transform: translateY(-1px);
}

.submit-button[disabled] { opacity: 0.55; cursor: progress; }

.form-status { min-height: 22px; font-size: 0.9rem; }
.form-status.is-error   { color: #d94f5a; }
.form-status.is-success { color: var(--accent); }

/* ══════════════════════════════════════════════
   ФУТЕР
══════════════════════════════════════════════ */
.site-footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-brand { margin-bottom: 14px; color: var(--accent); }

.footer-copy, .footer-legal p { font-size: 0.9rem; color: var(--muted); }

.footer-links { display: grid; gap: 8px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--ease);
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════
   COOKIE
══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: auto;
  width: min(360px, calc(100vw - 32px));
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 40px 12px 14px;
  font-size: 9.5px;
  color: var(--muted);
  line-height: 1.35;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}

.cookie-banner p { margin: 0; color: var(--muted); font-size: 9.5px; line-height: 1.35; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }

.cookie-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 14px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--ease), color var(--ease);
  padding: 0;
  line-height: 1;
}

.cookie-close:hover { background: var(--accent-soft); color: var(--accent); }

/* ══════════════════════════════════════════════
   REVEAL
══════════════════════════════════════════════ */
body.motion-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.motion-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   АДАПТИВ
══════════════════════════════════════════════ */
@media (max-width: 1120px) {
  .hero-layout, .contact-layout, .offer-grid, .footer-grid,
  .stats-grid, .niches-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .service-card, .timeline-item { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --container: min(100vw - 24px, 100%); }
  .section { padding: 36px 0; }
  .hero-content { padding: 28px 16px 36px; }
  .hero-directions { grid-template-columns: 1fr; gap: 8px; }
  .button-small { display: none; }
  .stat-card, .niche-card, .reason-card,
  .offer-card, .process-shell, .contact-card { padding: 20px; border-radius: 16px; }
  .service-card { padding: 18px 20px; }
  .cookie-banner { width: min(82vw, 340px); bottom: 10px; right: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

/* ══════════════════════════════════════════════
   АНИМАЦИИ
══════════════════════════════════════════════ */
@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(1.06); }
}

@keyframes painReveal {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

@keyframes strikeIn {
  from { transform:scaleX(0); }
  to   { transform:scaleX(1); }
}

/* ══════════════════════════════════════════════
   PAIN SECTION (если вернётся)
══════════════════════════════════════════════ */
.pain-head-negative { color: #d94f5a; }
.pain-head-positive { color: var(--accent); }

.pain-cell {
  min-height: 72px;
  padding: 16px 16px 16px 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; align-items: center;
  color: var(--text); line-height: 1.5;
  position: relative;
}

.pain-cell-negative { border-color: rgba(217,79,90,0.2); background: rgba(217,79,90,0.04); }
.pain-cell-positive { border-color: var(--accent-line); background: var(--accent-soft); }

.pain-icon { position: absolute; left: 14px; top: 16px; font-weight: 800; }
.pain-icon-negative { color: #d94f5a; }
.pain-icon-positive { color: var(--accent); }

.pain-brand { color: var(--accent); margin-right: 5px; }

.pain-tagline {
  margin-top: 18px;
  color: var(--text);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  line-height: 1.35;
}

.signal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

/* Misc */
.text-cta {
  margin-top: auto; padding: 0; border: 0;
  background: none; color: var(--accent);
  text-align: left; font-weight: 700;
}

.hero-panel { display: none; }
.hero-float { display: none; }
.hero-layout { display: block; }
.hero-accent-plashka { display: none; }
