/* SDKS Group - main stylesheet */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #3b82f6; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: #64748b; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: #0f172a; }
h1 { font-size: 44px; letter-spacing: -1px; }
h2 { font-size: 32px; margin-bottom: 16px; letter-spacing: -0.5px; }
h3 { font-size: 22px; margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 8px; }
p { margin-bottom: 16px; }
ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 24px;
}
.site-header__logo img { height: 52px; }
@media (max-width: 768px) { .site-header__logo img { height: 40px; } }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a { color: #0f172a; font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: #3b82f6; text-decoration: none; }
.site-header__cta { display: flex; gap: 12px; align-items: center; }
.region-switch {
  border: 1px solid #cbd5e1; background: #fff; border-radius: 8px;
  padding: 6px 10px; font-size: 14px; cursor: pointer;
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #0f172a; margin: 4px 0; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.15s;
  text-align: center; white-space: nowrap;
}
.btn-primary { background: #3b82f6; color: #fff; }
.btn-primary:hover { background: #2563eb; text-decoration: none; }
.btn-outline { background: transparent; color: #0f172a; border-color: #cbd5e1; }
.btn-outline:hover { background: #f1f5f9; text-decoration: none; }
.btn-ghost { background: transparent; color: #3b82f6; padding: 8px 0; }
.btn-ghost:hover { color: #2563eb; }

/* Hero */
.hero { padding: 80px 0 96px; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.hero__eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(59,130,246,0.1); color: #2563eb;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { font-size: 52px; margin-bottom: 20px; max-width: 780px; }
.hero__sub { font-size: 19px; color: #475569; max-width: 680px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stats */
.stats { background: #0f172a; color: #fff; padding: 56px 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat__num { font-size: 42px; font-weight: 800; color: #60a5fa; margin-bottom: 4px; letter-spacing: -1px; }
.stat__label { font-size: 14px; color: #cbd5e1; }

/* Cards */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px;
  background: #fff; transition: all 0.15s;
}
.card:hover { border-color: #3b82f6; transform: translateY(-2px); }
.card__icon { height: 80px; margin-bottom: 16px; }
.card__icon img { height: 100%; width: auto; }
.card__title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card__text { color: #475569; font-size: 15px; margin-bottom: 16px; }
.card__link { font-weight: 600; }

/* Cases */
.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case {
  border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px;
}
.case__industry { font-size: 13px; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.case__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.case__result { color: #2563eb; font-weight: 600; font-size: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: #3b82f6; color: #fff; display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 16px;
}
.step__title { font-weight: 700; margin-bottom: 6px; }
.step__text { color: #64748b; font-size: 14px; }

/* FAQ */
.faq__item {
  border-bottom: 1px solid #e2e8f0; padding: 20px 0;
}
.faq__q { font-weight: 600; cursor: pointer; padding-right: 40px; position: relative; }
.faq__q::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 22px; color: #3b82f6; transition: transform 0.2s;
}
.faq__item.open .faq__q::after { content: '−'; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.25s; color: #475569; }
.faq__item.open .faq__a { max-height: 500px; padding-top: 12px; }

/* Forms */
.form { max-width: 560px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1;
  border-radius: 10px; font-size: 15px; font-family: inherit;
  background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.form textarea { min-height: 100px; resize: vertical; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #64748b; }
.form-check input { margin-top: 4px; }
.form-status { padding: 12px; border-radius: 8px; margin-bottom: 16px; display: none; }
.form-status.success { display: block; background: #ecfdf5; color: #047857; border: 1px solid #6ee7b7; }
.form-status.error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }

/* Footer */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 64px 0 24px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
  margin-bottom: 40px;
}
.footer__col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; }
.footer__col li { margin-bottom: 10px; font-size: 14px; }
.footer__logo img { height: 56px; margin-bottom: 16px; }
.footer__legal-name { font-size: 15px; color: #e2e8f0; margin-bottom: 12px; line-height: 1.4; }
.footer__legal-name strong { color: #ffffff; font-weight: 700; }
.footer__about { font-size: 14px; color: #94a3b8; }
.footer__legal {
  padding-top: 24px; border-top: 1px solid #1e293b;
  font-size: 13px; color: #64748b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  background: #0f172a; color: #fff; padding: 18px 22px;
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: none; align-items: center; justify-content: space-between;
  gap: 20px; z-index: 200; max-width: 720px; margin: 0 auto;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 14px; color: #cbd5e1; }
.cookie-banner a { color: #60a5fa; }
.cookie-banner button {
  background: #3b82f6; color: #fff; border: none;
  padding: 10px 18px; border-radius: 8px; cursor: pointer; font-weight: 600;
}

/* Legal pages */
.legal-page { padding: 60px 0 80px; }
.legal-page h1 { font-size: 36px; margin-bottom: 24px; }
.legal-page h2 { font-size: 22px; margin: 32px 0 12px; }
.legal-page h3 { font-size: 18px; margin: 20px 0 10px; }
.legal-page p, .legal-page li { font-size: 15px; color: #334155; }
.legal-page .updated { color: #64748b; font-size: 14px; margin-bottom: 24px; }

/* Page header */
.page-header { padding: 56px 0 40px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.page-header h1 { font-size: 40px; margin-bottom: 12px; }
.page-header p { font-size: 18px; color: #475569; max-width: 700px; }

/* Product page hero */
.prod-hero { padding: 64px 0; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); color: #fff; }
.prod-hero h1 { color: #fff; }
.prod-hero p { color: #cbd5e1; font-size: 18px; max-width: 600px; }
.prod-hero .btn-primary { background: #60a5fa; color: #0f172a; }
.prod-hero .btn-primary:hover { background: #93c5fd; }

/* Feature list */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feature__icon { width: 44px; height: 44px; background: rgba(59,130,246,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: #3b82f6; font-weight: 700; font-size: 18px; }
.feature__title { font-weight: 700; margin-bottom: 6px; }
.feature__text { color: #475569; font-size: 14px; }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { padding: 16px 0; border-bottom: 1px solid #e2e8f0; }
.contact-item__label { font-size: 13px; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item__value { font-size: 17px; font-weight: 500; }

/* Requisites */
.requisites { background: #f8fafc; padding: 24px; border-radius: 12px; font-size: 14px; }
.requisites dt { font-weight: 600; color: #0f172a; margin-top: 8px; }
.requisites dd { color: #475569; margin-bottom: 4px; }

/* Responsive */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 32px; }
  .hero h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .section { padding: 56px 0; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; border-bottom: 1px solid #e2e8f0; gap: 16px; }
  .site-nav.open { display: flex; }
  .site-header__cta { gap: 8px; }
  .site-header__cta .btn { padding: 8px 14px; font-size: 14px; }
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .case-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; bottom: 12px; left: 12px; right: 12px; }
}
@media (max-width: 480px) {
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 28px; }
  .stats__grid { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
}
