/* ==========================================================================
   NotePro — стиль №3: «Сервисный центр»
   Светлая корпоративная тема, доверие через ясность: факты, процесс, цены.
   Вдохновлено структурой профессиональных сервис-центров (vik-on, notebook74),
   собственная визуальная идентичность NotePro.
   ========================================================================== */

:root{
  --ink:        #101828;   /* заголовки, основной текст */
  --ink-soft:   #475467;   /* второстепенный текст */
  --ink-faint:  #98A2B3;   /* подписи, мета */

  --paper:      #FFFFFF;   /* фон */
  --surface:    #F5F6F8;   /* альтернативный фон секций */
  --surface-2:  #EEF1F5;   /* карточки на surface */
  --line:       #E4E7EC;   /* тонкие разделители */

  --brand:      #1849D6;   /* фирменный синий — инженерная надёжность */
  --brand-dark: #123AA8;
  --brand-tint: #EAF0FE;   /* очень светлый синий для подложек */

  --signal:     #1f75ff;   /* сигнальный оранжевый — акцент/срочность */
  --signal-dark:#1512c9;

  --ok:         #12875A;   /* статус "готово" / гарантия */

  --font-display: 'Manrope', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Consolas', monospace;

  --shadow-sm: 0 1px 2px rgba(16,24,40,0.05);
  --shadow-md: 0 4px 12px rgba(16,24,40,0.06), 0 1px 2px rgba(16,24,40,0.04);
  --shadow-lg: 0 16px 40px -12px rgba(16,24,40,0.18);
}

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

body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{ font-family: var(--font-display); letter-spacing: -0.02em; font-weight: 800; }
.mono{ font-family: var(--font-mono); }

::selection{ background: var(--brand); color: #fff; }
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background: var(--surface); }
::-webkit-scrollbar-thumb{ background: #C8CDD6; border-radius:999px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-link{
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .95rem;
  transition: color .15s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active{ color: var(--ink); }
.nav-link.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-22px;
  height:2px; background: var(--brand);
}

#sidebar{ background: var(--paper); }

/* ---------- eyebrow ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  font-family: var(--font-mono);
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.eyebrow .dot{
  width:6px; height:6px; border-radius:999px; background: var(--brand);
}

/* ---------- кнопки ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  font-family: var(--font-display);
  font-weight:700;
  border-radius: 12px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
  border: 1.5px solid transparent;
}
.btn:active{ transform: scale(.98); }

.btn-signal{
  background: var(--signal);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(20,198,247,1);
}
.btn-signal:hover{ background: var(--signal-dark); }

.btn-ink{
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover{ background: #000; }

.btn-outline{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover{ border-color: var(--ink); }

.btn-brand-ghost{
  background: var(--brand-tint);
  color: var(--brand);
}
.btn-brand-ghost:hover{ background: #DEE9FE; }

/* ---------- карточки ---------- */
.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover{ box-shadow: var(--shadow-md); }

.card-lift:hover{ transform: translateY(-4px); border-color: #D0D5DD; }

/* ---------- статистика (моно-цифры) ---------- */
.stat-num{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--ink);
  line-height:1;
}
.stat-label{ font-size:.88rem; color: var(--ink-soft); margin-top:.4rem; }

/* ---------- трекер заказа — сигнатурный элемент ---------- */
.tracker{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.tracker::before{
  content:"";
  position:absolute;
  top:19px; left:0; right:0;
  height:2px;
  background: var(--line);
  z-index:0;
}
.tracker-progress{
  position:absolute;
  top:19px; left:0;
  height:2px;
  background: var(--brand);
  z-index:1;
  transition: width .4s ease;
}
.tracker-step{
  position: relative;
  z-index:2;
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align:center;
  cursor: pointer;
  padding: 0 .5rem;
  background: transparent;
  border: none;
  font: inherit;
}
.tracker-step .node{
  width:40px; height:40px;
  border-radius:999px;
  background: var(--paper);
  border: 2px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono);
  font-weight:700;
  font-size:.9rem;
  color: var(--ink-faint);
  transition: all .2s ease;
  margin-bottom: .9rem;
}
.tracker-step.active .node{
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 6px var(--brand-tint);
}
.tracker-step.done .node{
  border-color: var(--brand);
  background: var(--paper);
  color: var(--brand);
}
.tracker-step .step-title{
  font-weight:700;
  font-size:.85rem;
  color: var(--ink-faint);
  transition: color .2s ease;
}
.tracker-step.active .step-title{ color: var(--ink); }

.tracker-detail{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2.5rem;
}

/* ---------- прайс-таблица ---------- */
.price-table{
  width:100%;
  border-collapse: collapse;
  overflow: hidden;
}
.price-table thead th{
  text-align:left;
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 0 1.75rem 1rem;
}
.price-table tbody tr{
  background: var(--paper);
}
.price-table tbody td{
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1rem;
}
.price-table tbody tr:hover td{ background: var(--surface); }
.price-table tbody tr:first-child td{ border-top:none; }
.price-cell{
  font-family: var(--font-mono);
  font-weight:700;
  color: var(--ink);
  text-align:right;
  white-space:nowrap;
}

/* ---------- чек-лист ---------- */
.checklist li{
  display:flex;
  gap:.85rem;
  align-items:flex-start;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.checklist li:last-child{ border-bottom:none; }
.checklist .mark{
  flex:none;
  width:22px; height:22px;
  border-radius:999px;
  background: var(--brand-tint);
  color: var(--brand);
  display:flex; align-items:center; justify-content:center;
  font-size:.7rem;
  margin-top:2px;
}

/* ---------- FAQ аккордеон ---------- */
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child{ border-top: 1px solid var(--line); }
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  text-align:left;
  padding: 1.4rem 0;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
}
.faq-q .icon{
  flex:none;
  width:28px; height:28px;
  border-radius:999px;
  border: 1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  transition: transform .25s ease, background .2s ease, border-color .2s ease;
  color: var(--ink-soft);
}
.faq-item.open .faq-q .icon{
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color:#fff;
}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition: max-height .3s ease;
}
.faq-a p{ padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 640px; line-height:1.6; }

/* ---------- квадраты/иконки фактов ---------- */
.fact-icon{
  width:48px; height:48px;
  border-radius:14px;
  background: var(--brand-tint);
  color: var(--brand);
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem;
  margin-bottom:1.25rem;
}

/* ---------- форма обратной связи ---------- */
.form-field{ margin-bottom: 1.4rem; }
.form-field label{
  display:block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: .5rem;
}
.form-input{
  width:100%;
  background: var(--surface);
  border: 1.5px solid var(--line);
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 12px;
  transition: border-color .15s ease, background .15s ease;
}
.form-input:focus{ outline:none; border-color: var(--brand); background: var(--paper); }
.form-input::placeholder{ color: var(--ink-faint); }
textarea.form-input{ resize: vertical; min-height: 100px; }

.channel-toggle{ display:flex; gap: .7rem; flex-wrap: wrap; }
.channel-option{ display:none; }
.channel-option-label{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size:.9rem;
  font-weight:600;
  padding: .7rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all .15s ease;
  user-select: none;
}
.channel-option:checked + .channel-option-label{
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.channel-option-label:hover{ border-color: var(--brand); }

.form-status{
  font-size: .88rem;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  margin-top: 1.1rem;
  display:none;
}
.form-status.show{ display:block; }
.form-status.ok{ background: #EAF7F1; color: var(--ok); }
.form-status.error{ background: #FDECEA; color: #B42318; }

/* ---------- декоративное свечение в hero ---------- */
.hero-glow{
  position:absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: .55;
  pointer-events:none;
}

/* ---------- reveal on scroll ---------- */
[data-reveal]{
  opacity:0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible{ opacity:1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  [data-reveal]{ opacity:1; transform:none; transition:none; }
}

@media (max-width: 768px){
  .tracker{ grid-template-columns: repeat(5, minmax(0,1fr)); }
  .tracker-step .step-title{ font-size:.68rem; }
  .tracker-step .node{ width:32px; height:32px; font-size:.75rem; }
  .tracker::before, .tracker-progress{ top:15px; }
}
