/* ==========================================================================
   ООО «ЧЕТКА» (chetka.co) — Корпоративная дизайн-система (Vanilla CSS)
   ========================================================================== */

:root {
  /* Цветовая палитра: Тёмная тема (по умолчанию) */
  --bg-base: #0a0e14;
  --bg-surface: #111721;
  --bg-surface-elevated: #161f2c;
  --bg-card: #141c28;
  --bg-card-hover: #192333;
  --bg-input: #0e141d;
  --bg-body-radial: #151e2b;
  --header-bg: rgba(10, 14, 20, 0.85);
  --mobile-menu-bg: rgba(10, 14, 20, 0.98);
  --footer-bg: #070a0e;
  --brand-symbol-bg: linear-gradient(135deg, #1d283a 0%, #111722 100%);
  --brand-symbol-border: #263445;

  --border-subtle: #1f2937;
  --border-default: #263445;
  --border-focus: #4b89dc;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0a0e14;
  --text-heading: #ffffff;

  --accent-primary: #3b82f6;
  --accent-primary-hover: #2563eb;
  --accent-secondary: #60a5fa;
  --accent-subtle: rgba(59, 130, 246, 0.12);
  --accent-border: rgba(59, 130, 246, 0.3);
  --link-color: #60a5fa;
  --link-hover: #93c5fd;
  --nav-link-hover-bg: var(--bg-surface);

  --status-active: #10b981;
  --status-active-subtle: rgba(16, 185, 129, 0.15);

  /* Типографика */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Размеры и отступы */
  --container-max-width: 1160px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Переходы и тени */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Цветовая палитра: Светлая тема */
:root[data-theme="light"] {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #ffffff;
  --bg-body-radial: #e2e8f0;
  --header-bg: rgba(255, 255, 255, 0.88);
  --mobile-menu-bg: rgba(255, 255, 255, 0.98);
  --footer-bg: #f8fafc;
  --brand-symbol-bg: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  --brand-symbol-border: #bfdbfe;

  --border-subtle: #e2e8f0;
  --border-default: #cbd5e1;
  --border-focus: #3b82f6;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --text-heading: #0f172a;

  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-secondary: #2563eb;
  --accent-subtle: rgba(37, 99, 235, 0.08);
  --accent-border: rgba(37, 99, 235, 0.22);
  --link-color: #2563eb;
  --link-hover: #1d4ed8;
  --nav-link-hover-bg: #f1f5f9;

  --status-active: #059669;
  --status-active-subtle: rgba(5, 150, 105, 0.12);

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-input: #ffffff;
    --bg-body-radial: #e2e8f0;
    --header-bg: rgba(255, 255, 255, 0.88);
    --mobile-menu-bg: rgba(255, 255, 255, 0.98);
    --footer-bg: #f8fafc;
    --brand-symbol-bg: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    --brand-symbol-border: #bfdbfe;

    --border-subtle: #e2e8f0;
    --border-default: #cbd5e1;
    --border-focus: #3b82f6;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    --text-heading: #0f172a;

    --accent-primary: #2563eb;
    --accent-primary-hover: #1d4ed8;
    --accent-secondary: #2563eb;
    --accent-subtle: rgba(37, 99, 235, 0.08);
    --accent-border: rgba(37, 99, 235, 0.22);
    --link-color: #2563eb;
    --link-hover: #1d4ed8;
    --nav-link-hover-bg: #f1f5f9;

    --status-active: #059669;
    --status-active-subtle: rgba(5, 150, 105, 0.12);

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1);
  }
}

/* Сброс стилей и базовые настройки */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-base);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, var(--bg-body-radial) 0%, var(--bg-base) 60%);
  background-attachment: fixed;
  color: var(--text-primary);
  background-color: var(--bg-base);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Контейнеры */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Ссылки */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--link-hover);
}

.link-inline {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-inline:hover {
  color: var(--link-hover);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  border-color: var(--accent-primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--border-focus);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

/* Бейджи */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.badge-tech {
  background-color: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent-secondary);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-primary);
}

/* ==========================================================================
   Хедер и навигация
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--transition-fast), background-color var(--transition-normal);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Логотип */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
}

.brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--brand-symbol-bg);
  border: 1px solid var(--brand-symbol-border);
  border-radius: var(--radius-md);
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

/* Статус в шапке */
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-active);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* Навигация */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: var(--nav-link-hover-bg);
}

/* Действия в хедере */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Переключатель темы оформления */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-surface-elevated);
  border-color: var(--border-focus);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.theme-toggle .theme-icon {
  transition: transform var(--transition-fast);
}

.theme-toggle:hover .theme-icon {
  transform: rotate(15deg);
}

/* В тёмной теме показываем солнце (клик включит светлую) */
.theme-toggle .theme-icon-sun {
  display: block;
}

.theme-toggle .theme-icon-moon {
  display: none;
}

/* В светлой теме показываем луну (клик включит тёмную) */
:root[data-theme="light"] .theme-toggle .theme-icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .theme-icon-moon {
  display: block;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .theme-icon-sun {
    display: none;
  }
  :root:not([data-theme="dark"]) .theme-toggle .theme-icon-moon {
    display: block;
  }
}

.header-cta {
  display: inline-flex;
}

/* Бургер-кнопка для мобильных */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-default);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.menu-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Секция
   ========================================================================== */
.hero-section {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin-bottom: 20px;
  max-width: 900px;
}

.hero-description {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.icon-arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .icon-arrow {
  transform: translateX(3px);
}

/* Информационные плашки Hero */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.highlight-item {
  border-left: 2px solid var(--border-default);
  padding-left: 14px;
}

.highlight-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.highlight-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.highlight-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Общие стили секций
   ========================================================================== */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-secondary);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.6;
}

/* ==========================================================================
   Секция: Услуги и цены
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.service-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-default);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  color: var(--accent-secondary);
  border: 1px solid var(--accent-border);
}

.service-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.service-title {
  font-size: 1.3125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-details {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-detail-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.service-features {
  list-style: none;
}

.service-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.service-features li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent-secondary);
  font-size: 1.1rem;
  line-height: 1;
}

/* Блок цен в карточке */
.service-pricing {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-top: auto;
}

.pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pricing-row:last-child {
  margin-bottom: 0;
}

.pricing-name {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-val {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Пояснение к ценам */
.pricing-disclaimer {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  align-items: flex-start;
}

.disclaimer-icon {
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.disclaimer-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.disclaimer-text strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Секция: Технологии
   ========================================================================== */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tech-category {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.tech-category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 20px;
  border-left: 3px solid var(--accent-primary);
  padding-left: 12px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.tech-tag:hover {
  border-color: var(--accent-primary);
  background-color: var(--bg-surface-elevated);
}

.tech-name {
  font-weight: 600;
  color: var(--text-primary);
}

.tech-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Секция: О компании
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-content p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-content .lead-text {
  font-size: 1.1875rem;
  color: var(--text-primary);
}

.about-principles {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.principle-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-secondary);
  background-color: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.principle-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.principle-text strong {
  font-size: 1rem;
  color: var(--text-primary);
}

.principle-text span {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Боковой блок фактов */
.about-summary-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.summary-box-title {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-list {
  list-style: none;
}

.summary-list li {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.summary-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   Секция: Реквизиты
   ========================================================================== */
.requisites-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.requisites-header {
  padding: 24px 32px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.requisites-company-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.02em;
}

.requisites-short-name {
  font-size: 0.875rem;
  color: var(--accent-secondary);
  font-weight: 500;
  margin-top: 2px;
}

.requisites-table-wrap {
  padding: 16px 32px 28px;
  overflow-x: auto;
}

.requisites-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.requisites-table th,
.requisites-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.requisites-table th {
  width: 280px;
  font-weight: 500;
  color: var(--text-secondary);
  vertical-align: top;
}

.requisites-table td {
  color: var(--text-primary);
}

.requisites-table tr:last-child th,
.requisites-table tr:last-child td {
  border-bottom: none;
}

.req-code {
  font-family: var(--font-mono);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--accent-secondary);
}

.okved-list {
  list-style: none;
}

.okved-list li {
  margin-bottom: 6px;
}

.okved-list li:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Секция: Контакты
   ========================================================================== */
.contacts-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
}

.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 24px;
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-body {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-email {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  word-break: break-all;
}

.contact-email:hover {
  color: var(--accent-secondary);
}

.contact-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-notice {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notice-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.contact-notice p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.contact-notice p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Подвал сайта
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--footer-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 32px;
  transition: background-color var(--transition-normal);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 400px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-nav-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Уведомление Toast
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--accent-border);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Адаптивность (Responsive Design)
   ========================================================================== */
@media (max-width: 1080px) {
  .header-status {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.125rem;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-categories {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contacts-wrapper {
    grid-template-columns: 1fr;
  }

  .requisites-table th {
    width: 220px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .header-status {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--mobile-menu-bg);
    border-bottom: 1px solid var(--border-default);
    padding: 20px 24px;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-description {
    font-size: 1.0625rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px;
  }

  .requisites-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .requisites-table th,
  .requisites-table td {
    display: block;
    width: 100%;
    padding: 8px 12px;
  }

  .requisites-table th {
    border-bottom: none;
    padding-top: 14px;
    font-weight: 600;
    color: var(--accent-secondary);
  }

  .contact-card {
    flex-direction: column;
    padding: 24px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Стили для печати (Print Stylesheet)
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .site-header,
  .menu-toggle,
  .hero-actions,
  #copyRequisitesBtn,
  #copyEmailBtn,
  .toast,
  .site-footer {
    display: none !important;
  }

  .section {
    page-break-inside: avoid;
    border-bottom: 1px solid #cccccc;
    padding: 20px 0;
  }

  .service-card,
  .requisites-card,
  .about-summary-box {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    color: #000000 !important;
  }

  .req-code {
    border: none !important;
    background: transparent !important;
    color: #000000 !important;
  }
}
