:root {
  --graphite: #1f2933;
  --bg-light: #f4f6f8;
  --text: #263238;
  --muted: #6b7280;
  --border: #d7dee5;
  --orange: #f97316;
  --orange-h: #ea580c;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
p { margin-bottom: 0; }
a { text-decoration: none; color: inherit; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.btn-orange,
.btn-orange-sm,
.btn-outline {
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  display: inline-block;
  text-align: center;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 15px;
}
.btn-orange:hover { background: var(--orange-h); color: var(--white); }
.btn-orange-sm {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 11px 22px;
  font-size: 14px;
}
.btn-orange-sm:hover { background: var(--orange-h); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
  padding: 13px 28px;
  font-size: 15px;
}
.btn-outline:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); color: var(--white); }

.site-header {
  background: var(--graphite);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: block; min-width: 178px; }
.logo {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  line-height: 1.1;
}
.logo span,
.footer-logo span { color: var(--orange); }
.logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.45);
  letter-spacing: .03em;
  margin-top: 1px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.main-nav a:hover { color: var(--white); }
.header-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.header-phone:hover { color: var(--orange); }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-cta { padding: 10px 20px; font-size: 14px; }
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }

#hero {
  background: var(--graphite);
  padding: 72px 0 80px;
}
.hero-h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  color: var(--white);
  margin-bottom: 18px;
  max-width: 620px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-form-card {
  background: var(--white);
  border-radius: 6px;
  padding: 32px;
}
.hero-form-card h3 { font-size: 18px; color: var(--graphite); margin-bottom: 4px; }
.hero-form-card .form-hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  padding: 10px 13px;
  background: var(--white);
  box-shadow: none;
}
.form-control:focus,
.form-select:focus { border-color: var(--orange); }
.agree-text,
.agree-micro { font-size: 12px; color: var(--muted); margin-top: 10px; }
.agree-text a,
.agree-micro a { color: var(--orange); text-decoration: underline; }

#products,
#tasks,
#capabilities,
#process,
#request,
#faq,
#contacts { padding: 80px 0; }
#products,
#capabilities,
#faq { background: var(--bg-light); }
#tasks,
#process,
#contacts { background: var(--white); }
#products h2,
#tasks h2,
#capabilities h2,
#process h2,
#request h2,
#faq h2,
#contacts h2 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 10px; }
.products-intro,
.caps-intro,
.contacts-sub {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 44px;
  font-size: 16px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 24px;
  height: 100%;
  transition: box-shadow .18s, border-color .18s;
}
.product-card:hover { border-color: var(--orange); box-shadow: 0 4px 20px rgba(249,115,22,.08); }
.product-icon {
  width: 40px;
  height: 40px;
  background: rgba(249,115,22,.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.product-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--graphite); }
.product-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.products-cta {
  margin-top: 40px;
  background: var(--graphite);
  border-radius: 6px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.products-cta p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 560px; }

.task-list { list-style: none; padding: 0; margin: 0; }
.task-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text);
}
.task-list li:last-child { border-bottom: none; }
.task-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  min-width: 26px;
  padding-top: 2px;
}

.cap-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cap-item:last-child { border-bottom: none; }
.cap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 8px;
  flex-shrink: 0;
}
.cap-item p { font-size: 15px; color: var(--text); }

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.process-step:last-child { margin-bottom: 0; }
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: rgba(249,115,22,.15);
  line-height: 1;
  min-width: 48px;
  user-select: none;
}
.step-body h3 { font-size: 16px; margin-bottom: 4px; color: var(--graphite); }
.step-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.process-aside {
  background: var(--graphite);
  border-radius: 6px;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-aside h3 { font-size: 20px; color: var(--white); margin-bottom: 12px; }
.process-aside p { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 24px; }

#request { background: var(--graphite); }
#request h2 { color: var(--white); }
.request-sub { color: rgba(255,255,255,.6); margin-bottom: 44px; font-size: 16px; }
.request-form-wrap {
  background: var(--white);
  border-radius: 6px;
  padding: 40px;
}
.request-form-wrap .form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.request-hint {
  background: var(--bg-light);
  border-radius: 6px;
  padding: 32px;
  height: 100%;
}
.request-hint h3 { font-size: 17px; color: var(--graphite); margin-bottom: 16px; }
.request-hint ul { list-style: none; padding: 0; margin: 0; }
.request-hint li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.request-hint li:last-child { border-bottom: none; }
.hint-dot { color: var(--orange); font-size: 18px; line-height: 1.3; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--graphite);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(249,115,22,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.faq-btn.open .faq-icon { background: var(--orange); }
.faq-icon svg { transition: transform .2s; }
.faq-btn.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
}
.faq-answer.open { display: block; }

.contact-block,
.rekvizity {
  background: var(--bg-light);
  border-radius: 6px;
  padding: 32px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(249,115,22,.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.contact-value { font-size: 16px; font-weight: 600; color: var(--graphite); }
.contact-value a { color: var(--graphite); transition: color .15s; }
.contact-value a:hover { color: var(--orange); }
.contact-value.phone-link { font-size: 20px; font-family: 'Montserrat', sans-serif; }
.rekvizity h3 { font-size: 15px; color: var(--graphite); margin-bottom: 14px; }
.rekvizity p { font-size: 13px; color: var(--muted); line-height: 1.8; }

.site-footer {
  background: var(--graphite);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}
.footer-sub { font-size: 12px; color: rgba(255,255,255,.3); margin-top: 4px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-links a:hover { color: var(--white); }

.page-section {
  padding: 72px 0;
  background: var(--bg-light);
  min-height: 58vh;
}
.text-page {
  max-width: 860px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px;
}
.text-page h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 16px; }
.text-page h2 { font-size: 22px; margin-top: 32px; margin-bottom: 12px; }
.text-page p,
.text-page li { color: var(--muted); }
.text-page ul { margin-bottom: 0; }
.thanks-mark {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(249,115,22,.12);
  color: var(--orange);
  margin-bottom: 18px;
}

@media (max-width: 991px) {
  .burger { display: block; }
  .header-phone,
  .header-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    background: var(--graphite);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 10px 0; }
  .hero-form-card { margin-top: 40px; }
  .products-cta { text-align: center; justify-content: center; }
  .process-aside { margin-top: 24px; }
}
@media (max-width: 767px) {
  #hero { padding: 48px 0 56px; }
  #products,
  #tasks,
  #capabilities,
  #process,
  #request,
  #faq,
  #contacts { padding: 56px 0; }
  .hero-h1 { font-size: 26px; }
  .request-form-wrap,
  .hero-form-card,
  .text-page { padding: 24px; }
  .process-step { gap: 16px; }
  .step-num { font-size: 28px; min-width: 36px; }
  .brand { min-width: auto; }
  .logo { font-size: 20px; }
}
