/* ============================================
   style.css — общие стили для всего сайта
   Подключается на каждой странице
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Golos+Text:wght@400;500;600&display=swap');

:root {
  --blue: #1a3cff;
  --dark: #0a0a0f;
  --light: #f4f3ee;
  --gray: #6b6b7b;
  --card: #13131a;
  --border: rgba(255,255,255,0.07);
  --accent: #ff3c1a;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Golos Text', sans-serif;
  background: var(--dark); color: var(--light);
  overflow-x: hidden; line-height: 1.6;
  padding-top: 64px;
}

/* ---- HEADER ---- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 64px;
  background: rgba(10,10,15,0.95); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: 14px; text-decoration: none; color: var(--light);
  letter-spacing: -0.02em; white-space: nowrap;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: rgba(244,243,238,0.6); text-decoration: none;
  font-size: 14px; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--light); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-tg { font-size: 18px; text-decoration: none; transition: transform 0.2s; }
.nav-tg:hover { transform: scale(1.2); }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--light);
  font-weight: 600; font-size: 14px; transition: color 0.2s;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--blue); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #00e676; box-shadow: 0 0 6px #00e676;
  animation: blink 2s infinite; flex-shrink: 0;
}
@keyframes blink {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.5)}
}
.burger {
  display: none; background: none; border: none;
  color: var(--light); font-size: 22px; cursor: pointer; padding: 4px;
}

/* Mobile nav */
.nav-mobile {
  display: none; flex-direction: column;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(10,10,15,0.98); border-bottom: 1px solid var(--border);
  padding: 20px; gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(244,243,238,0.75); text-decoration: none;
  font-size: 16px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile .mobile-phone {
  color: var(--blue); font-weight: 700; font-size: 18px;
  margin-top: 8px; border-bottom: none;
}

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  padding: 16px 40px; font-size: 13px;
  color: var(--gray); display: flex; gap: 8px; align-items: center;
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--light); }
.breadcrumbs span { color: rgba(107,107,123,0.5); }

/* ---- ОБЩИЕ СЕКЦИИ ---- */
.section { padding: 80px 40px; }
.section-sm { padding: 48px 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.s-label {
  font-family: 'Unbounded', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.05;
  margin-bottom: 20px;
}
h1 .hl { color: var(--blue); }
h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px; font-weight: 700; margin-bottom: 10px;
}
.lead {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(244,243,238,.65); line-height: 1.7; max-width: 580px;
}

/* ---- КНОПКИ ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 700;
  padding: 16px 28px; border-radius: 4px; text-decoration: none;
  border: none; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2d4fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26,60,255,.4); }
.btn-outline { background: transparent; color: var(--light); border: 1px solid rgba(255,255,255,.18); }
.btn-outline:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
.btn-full { width: 100%; justify-content: center; }

/* ---- КАРТОЧКИ ---- */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; padding: 32px;
}
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* ---- ФОРМА ---- */
.form-section {
  background: #0d0d14; position: relative; overflow: hidden;
}
.form-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(26,60,255,.08) 0%, transparent 70%);
}
.form-inner { position: relative; max-width: 620px; margin: 0 auto; text-align: center; }
.form-inner .lead { margin: 0 auto 40px; }
.form-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 36px; text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.fg label {
  font-size: 11px; font-weight: 600; color: var(--gray);
  text-transform: uppercase; letter-spacing: .09em;
}
.fg input, .fg select, .fg textarea {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px; padding: 12px 14px; color: var(--light);
  font-family: 'Golos Text', sans-serif; font-size: 15px;
  outline: none; transition: border-color .2s; width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); }
.fg select { appearance: none; cursor: pointer; }
.fg textarea { resize: vertical; min-height: 90px; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.2); }
.form-note { text-align: center; font-size: 11px; color: var(--gray); margin-top: 12px; }
.form-success { display: none; padding: 40px 20px; text-align: center; }
.form-success .big { font-size: 48px; margin-bottom: 14px; }
.form-success h3 { font-family: 'Unbounded', sans-serif; font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--gray); font-size: 15px; }
.form-success a { color: var(--blue); text-decoration: none; }

/* ---- SEO ТЕКСТ ---- */
.seo-text { font-size: 16px; color: rgba(244,243,238,.7); line-height: 1.85; }
.seo-text p { margin-bottom: 20px; }
.seo-text strong { color: var(--light); }
.seo-text h2 { font-size: clamp(20px, 2.5vw, 28px); margin-top: 40px; margin-bottom: 16px; }
.seo-text ul { margin: 16px 0 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.seo-text ul li { color: rgba(244,243,238,.7); }

/* ---- STATS ---- */
.stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat dt { font-family: 'Unbounded', sans-serif; font-size: 28px; font-weight: 900; }
.stat dd { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ---- CHECKLIST ---- */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li {
  display: flex; gap: 12px; font-size: 15px;
  color: rgba(244,243,238,.8); line-height: 1.5;
}
.checklist li::before { content: '✓'; color: #00e676; font-weight: 700; flex-shrink: 0; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--light);
  font-family: 'Golos Text', sans-serif; font-size: 16px; font-weight: 600;
  text-align: left; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .ico { transition: transform .3s; font-size: 20px; color: var(--blue); flex-shrink: 0; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a {
  font-size: 15px; color: var(--gray); line-height: 1.75;
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* ---- FOOTER ---- */
#site-footer {
  background: #07070d; padding: 56px 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.footer-logo {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: 15px; margin-bottom: 12px;
}
.footer-logo span { color: var(--blue); }
.footer-desc { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 6px;
  font-size: 16px; text-decoration: none; transition: transform 0.2s;
}
.social-btn:hover { transform: scale(1.1); }
.social-btn.tg { background: #229ED9; }
.social-btn.ig { background: linear-gradient(135deg,#f09433,#dc2743,#bc1888); }
.footer-col h4 {
  font-family: 'Unbounded', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; color: var(--gray); margin-bottom: 16px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(244,243,238,.6); text-decoration: none;
  font-size: 14px; transition: color .2s;
}
.footer-col a:hover { color: var(--light); }
.footer-phone {
  display: block; font-family: 'Unbounded', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--light) !important;
  margin-bottom: 6px;
}
.footer-hours { font-size: 12px; color: var(--gray); margin-bottom: 16px; }
.footer-link { display: block; margin-bottom: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(107,107,123,.5); flex-wrap: wrap; gap: 8px;
}

/* ---- STICKY CALL ---- */
.sticky-call {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  padding: 14px 20px; background: var(--blue); color: #fff; text-align: center;
  text-decoration: none; font-family: 'Unbounded', sans-serif;
  font-size: 14px; font-weight: 700;
}

/* ---- RESPONSIVE ---- */
@media(max-width:1100px) {
  #site-header { padding: 0 24px; }
  .section { padding: 64px 24px; }
  .breadcrumbs { padding: 14px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media(max-width:768px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-tg { display: none; }
  .burger { display: block; }
  .section { padding: 52px 18px; }
  .breadcrumbs { padding: 12px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  #site-footer { padding: 40px 18px 24px; }
  .sticky-call { display: block; }
  body { padding-bottom: 52px; }
  .stats { gap: 24px; }
}
