/*
Theme Name: Orbita SC
Theme URI: https://orbita-sc.ru
Author: Dmitriy
Description: Кастомная тема для orbita-sc.ru (СЦ «Орбита»). Заменяет Elementor/Elementor Pro
  на чистую семантическую вёрстку с собственными CSS-классами. WooCommerce и JetEngine
  продолжают работать как источники данных, шаблонизация — своя.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: orbita
*/

/* ==========================================================================
   Reset + base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  /* Цвета — взяты из Elementor Global Kit сайта (1:1) */
  --orb-primary: #FFFFFF;
  --orb-secondary: #0F172A;
  --orb-text: #64748B;
  --orb-accent: #0EA5E9;
  --orb-accent-dark: #0284C7;
  --orb-accent-light: #E0F2FE;
  --orb-accent-bg: #F0F9FF;
  --orb-bg: #FFFFFF;
  --orb-bg-alt: #F8FAFC;
  --orb-bg-dark: #0F172A;
  --orb-border: #E5E7EB;
  --orb-easing: cubic-bezier(0.4, 0, 0.2, 1);

  /* Типографика */
  --orb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --orb-font-body-size: 15px;
  --orb-font-body-lh: 1.6em;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--orb-font);
  font-size: var(--orb-font-body-size);
  line-height: var(--orb-font-body-lh);
  color: var(--orb-text);
  background: var(--orb-bg);
}

img { max-width: 100%; height: auto; display: block; }
svg { stroke: currentColor; flex-shrink: 0; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--orb-font);
  color: var(--orb-secondary);
  margin: 0 0 12px;
}
h1 { font-size: 44px; font-weight: 700; line-height: 1.1em; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
h4 { font-size: 14px; font-weight: 700; }
p { margin: 0 0 14px; }

.orb-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.screen-reader-text {
  position: absolute; clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
}

/* Custom scrollbar (как в Kit сайта) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #e2e8f0; border-radius: 8px; }
::-webkit-scrollbar-thumb { background: var(--orb-accent-dark); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #0369a1; }
* { scrollbar-width: thin; scrollbar-color: var(--orb-accent-dark) #e2e8f0; }
