/* ===========================================================
   АйТи+ Консалтинг — стили лендинга (чистый CSS, без фреймворков)
   Палитра проекта Solway вынесена в CSS-переменные.
   =========================================================== */

:root {
  --bg: #f3ede2;
  --surface: #f9f5ee;
  --card: #f3ede2;
  --border: #d9cfc2;
  --ink: #0f0c0a;
  --muted: #2e2a28;
  --accent: #f1592a;
  --accent-ink: #1f120d;

  --radius-section: clamp(24px, 3vw, 40px);
  --pad-section: clamp(20px, 4vw, 48px);
  --shadow-section: 0 35px 120px -60px rgba(15, 23, 42, 0.55);
  --shadow-card: 0 10px 40px -20px rgba(15, 23, 42, 0.25);
}

/* --- Базовый сброс --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

a {
  color: inherit;
}

/* --- Каркас: боковое меню + контент --- */
.app-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px 40px;
  min-height: 100vh;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* --- Боковая навигация --- */
.sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 30px 80px -50px rgba(15, 23, 42, 0.55);
  padding: 20px;
}

.burger {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 20px;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
}

.burger__icon {
  font-size: 20px;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-link {
  display: block;
  padding: 16px;
  border-radius: 24px;
  background-color: var(--card);
  border: 1px solid transparent;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.nav-link:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.nav-link__num {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 6px;
}

.nav-link__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* --- Секция-карточка --- */
.section {
  border: 1px solid var(--border);
  border-radius: var(--radius-section);
  background-color: var(--surface);
  padding: var(--pad-section);
  box-shadow: var(--shadow-section);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head__note {
  max-width: 300px;
  text-align: right;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}

.eyebrow--mt {
  margin-top: 16px;
}

.pill {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

/* --- Hero --- */
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
}

.hero__tagline {
  max-width: 260px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: right;
}

.hero__lead {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 760px;
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 24px;
  background-color: var(--accent);
  padding: 16px 24px;
  color: var(--accent-ink);
}

.hero__cta-link {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
}

/* --- Сетки карточек --- */
.cards-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background-color: var(--card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card--flex {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* --- Стек технологий --- */
.subheading {
  margin-top: 48px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.stack-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stack__group {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 14px;
  color: var(--ink);
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
}

/* --- Тарифы --- */
.plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.plan__price {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.plan__note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.plan__desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.feature-list__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 8px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.feature-list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* --- Блок «Сведения об ИТ-деятельности» (анонс) --- */
.compliance__title {
  margin-top: 16px;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.compliance__text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 760px;
}

.btn {
  display: inline-block;
  margin-top: 24px;
  border: none;
  border-radius: 20px;
  background-color: var(--accent);
  padding: 14px 24px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

/* --- Контакты --- */
.contact-grid {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-card {
  flex: 1 1 220px;
  text-decoration: none;
  color: var(--ink);
}

.contact-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.contact-card__value {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

/* --- Футер с реквизитами --- */
.footer {
  border: 1px solid var(--border);
  border-radius: var(--radius-section);
  background-color: var(--surface);
  padding: var(--pad-section);
  box-shadow: var(--shadow-section);
  scroll-margin-top: 24px;
}

.footer__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.footer__legal {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  max-width: 760px;
}

.req-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.req--wide {
  grid-column: 1 / -1;
}

.req__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 4px;
}

.req__value {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.req-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.okved-list {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

/* ===========================================================
   Страница «Сведения об ИТ-деятельности»
   =========================================================== */
.it-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.back-link {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.doc-title {
  margin-top: 20px;
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.doc h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.doc h3 {
  margin-top: 24px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.doc p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 820px;
}

.doc-list {
  margin-top: 16px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.doc-list li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.doc-list strong {
  color: var(--ink);
}

/* ===========================================================
   Адаптив: телефоны и планшеты — меню сворачивается в бургер
   =========================================================== */
@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .sidebar {
    position: static;
  }

  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    margin-top: 12px;
  }

  .nav-links.is-open {
    display: flex;
  }
}
