/* Маркетплейс товарных знаков */
:root {
  --color-header-bg: #111827;
  --color-header-border: #1f2937;
  --color-text: #f1f5f9;
  --color-text-muted: #cbd5e1;
  --color-surface: rgba(15, 23, 42, 0.58);
  --color-surface-strong: rgba(15, 23, 42, 0.72);
  --color-accent: #14b8a6;
  --color-accent-hover: #2dd4bf;
  --color-accent-light: #5eead4;
  --color-hero-text: #f9fafb;
  --page-bg-overlay: linear-gradient(180deg, rgba(17, 24, 39, 0.72) 0%, rgba(15, 118, 110, 0.45) 50%, rgba(17, 24, 39, 0.88) 100%);
  --page-border: rgba(255, 255, 255, 0.14);
  --container: min(1180px, calc(100% - 2rem));
  --header-height: 72px;
  --section-pad-y: clamp(3.5rem, 6vw, 5.5rem);
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-heading: "Literata", "Georgia", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-height) + 12px);
  background-color: #0f172a;
  background-image: var(--page-bg-overlay), url("/hero-bg.svg");
  background-size: cover, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  background-repeat: no-repeat, no-repeat;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
  background: transparent;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-light);
  text-decoration: none;
}

a:hover {
  color: #99f6e4;
  text-decoration: underline;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow { width: min(720px, var(--container)); }

.container--wide {
  width: min(1240px, calc(100% - 2rem));
  margin-inline: auto;
}

.page-scroll {
  flex: 1;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  padding-bottom: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(160px, 230px) minmax(360px, 1fr) minmax(220px, 330px);
  gap: clamp(0.65rem, 1.5vw, 1.25rem);
  width: min(1480px, 100%);
  min-width: 980px;
  margin-inline: auto;
  padding: 1.25rem max(0.75rem, 1rem) 0;
  align-items: start;
  box-sizing: border-box;
}

.page-main {
  min-width: 0;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 0.75rem);
}

.sidebar-accordion-toggle {
  display: none;
  width: 100%;
  text-align: left;
  border: 1px solid var(--page-border);
  background: rgba(15, 23, 42, 0.68);
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.sidebar-accordion-toggle[aria-expanded="true"] {
  border-color: var(--color-accent-light);
}

.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.ad-slot {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.28);
  min-height: 300px;
}

.ad-slot-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
}

.ad-slot-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.marks-panel-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.marks-panel-note {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.marks-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(78vh, 680px);
  overflow-y: auto;
  border-top: 1px solid var(--page-border);
  -webkit-overflow-scrolling: touch;
}

.marks-panel-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marks-panel-list a {
  display: block;
  padding: 0.5rem 0.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-accent-light);
}

.marks-panel-list a:hover {
  background: rgba(45, 212, 191, 0.12);
  text-decoration: none;
  color: #ccfbf1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-header-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.5rem 0;
}

.nav--left {
  justify-self: start;
}

.brand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-hero-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--color-hero-text);
  text-decoration: none;
  opacity: 0.9;
}

.brand-logo {
  flex-shrink: 0;
}

.header-right {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 0.65rem;
}

.header-link,
.header-phone {
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-phone {
  font-weight: 600;
  white-space: nowrap;
}

.auth-btn {
  border: 1px solid rgba(94, 234, 212, 0.45);
  background: rgba(20, 184, 166, 0.14);
  color: #ccfbf1;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.auth-btn:hover {
  background: rgba(45, 212, 191, 0.24);
}

.header-link:hover,
.header-phone:hover {
  color: var(--color-accent-light);
  text-decoration: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
}

.nav-list a {
  color: #d1d5db;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.35rem 0;
}

.nav-list a:hover {
  color: var(--color-accent-light);
  text-decoration: none;
}

.nav-item--mobile-only {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #374151;
  border-radius: 8px;
  background: #1f2937;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #f9fafb;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(92vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: var(--section-pad-y) 0;
  max-width: 64rem;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  line-height: 1.05;
  color: var(--color-hero-text);
}

.hero-title-main {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-top: 0.35rem;
}

.hero-subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: rgba(249, 250, 251, 0.92);
  line-height: 1.7;
  max-width: 62rem;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.45);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.section {
  padding-block: var(--section-pad-y);
  scroll-margin-top: calc(var(--header-height) + 8px);
}

.section-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.1vw, 2.1rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.section-title--center {
  text-align: center;
}

.catalog-note {
  color: var(--color-text-muted);
  text-align: center;
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 48rem;
  margin-inline: auto;
}

.catalog-class-hint {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #94a3b8;
}

.catalog-controls {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.catalog-filter-row {
  display: grid;
  gap: 0.45rem;
}

.catalog-filter-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.catalog-status-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.catalog-sort-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.catalog-sort-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.catalog-sort {
  border: 1px solid var(--page-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
  min-width: 12rem;
}

.catalog-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-accent-light);
}

.catalog-search {
  border: 1px solid var(--page-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1.02rem;
}

.catalog-filter-label--sub {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.catalog-class-filter {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.catalog-class-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.catalog-class-group {
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.45);
}

.catalog-class-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.catalog-class-chips--services .chip--class-num {
  border-color: rgba(167, 139, 250, 0.35);
}

.chip {
  border: 1px solid var(--page-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.chip--all {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.chip--class-num {
  min-width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip.is-active,
.chip:hover {
  border-color: var(--color-accent-light);
  background: rgba(45, 212, 191, 0.18);
}

.chip--class-num.is-active {
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.35);
}

.catalog-class-chips--services .chip--class-num.is-active,
.catalog-class-chips--services .chip--class-num:hover {
  color: #f5f3ff;
  border-color: #c4b5fd;
  background: rgba(139, 92, 246, 0.22);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.35);
}

.catalog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.catalog-item {
  background: var(--color-surface);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
  padding: 0.8rem;
}

.catalog-card.catalog-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 11.5rem;
}

.catalog-card-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
  line-height: 1.3;
}

.catalog-card-class,
.catalog-card-status,
.catalog-card-price {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.catalog-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.catalog-empty {
  margin: 0.8rem 0 0;
  color: #fca5a5;
}

.section--about {
  background: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.about-media {
  margin: 0;
}

.about-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--page-border);
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.about-rule {
  width: 4rem;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: 2px;
  margin: 1.25rem 0 1.5rem;
}

.text-flow p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  max-width: 38rem;
}

.text-flow p:last-child {
  margin-bottom: 0;
}

.text-flow--center { text-align: center; }
.text-flow--center p { margin-left: auto; margin-right: auto; }

.section--why {
  background: transparent;
  border-block: 1px solid var(--page-border);
}

.why-text {
  max-width: 100%;
}

.section--how,
.section--who {
  background: transparent;
  border-block: none;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.featured-block {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(17, 94, 89, 0.22) 42%, rgba(15, 23, 42, 0.95) 100%),
    rgba(15, 23, 42, 0.55);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  padding: clamp(2rem, 5vw, 3.25rem);
}

.featured-block--who {
  background:
    linear-gradient(195deg, rgba(15, 23, 42, 0.92) 0%, rgba(76, 29, 149, 0.18) 45%, rgba(15, 23, 42, 0.95) 100%),
    rgba(15, 23, 42, 0.55);
}

.featured-block__title {
  margin-bottom: 0.75rem;
}

.featured-block__lead {
  margin: 0 auto 2.25rem;
  max-width: 52rem;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #cbd5e1;
  font-weight: 400;
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.step-card {
  position: relative;
  margin: 0;
  padding: 1.5rem 1.5rem 1.5rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.35);
  min-height: 11rem;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 800;
  color: #042f2e;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
}

.step-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f8fafc;
}

.step-card__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.68;
  color: #cbd5e1;
  font-weight: 400;
}

.audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.audience-grid--featured {
  gap: 1.35rem;
}

.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.audience-card--featured {
  padding: 1.5rem 1.45rem 1.6rem;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.4);
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.audience-card__tag {
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #99f6e4;
  background: rgba(45, 212, 191, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.35);
}

.audience-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.28;
  color: #f1f5f9;
}

.audience-card__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.68;
  color: #cbd5e1;
  font-weight: 400;
}

.news-demo-note {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
}

.news-sidebar {
  margin-top: 1rem;
}

.news-sidebar h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.news-sidebar-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.section--features {
  background: transparent;
}

.features-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.12);
  color: var(--color-accent-light);
}

.feature-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.feature-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section--consult {
  background: transparent;
}

.consult-demo-note {
  margin: -1rem 0 1.5rem;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
}

.consult-intro {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
}

.consult-form {
  background: var(--color-surface-strong);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.45rem;
}

.req {
  color: var(--color-accent);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--color-text);
  border: 1px solid var(--page-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder {
  color: rgba(203, 213, 225, 0.65);
}

.form-input:focus {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 1px;
  border-color: var(--color-accent);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.field-error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #fca5a5;
  min-height: 1.2em;
}

.form-success {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  color: #065f46;
  font-weight: 500;
  text-align: center;
}

.form-success[hidden] {
  display: none !important;
}

.section--contacts {
  background: transparent;
}

.contacts-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.contacts-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--page-border);
}

.contacts-list li:last-child {
  border-bottom: none;
}

.contacts-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.contacts-list a {
  font-weight: 600;
  font-size: 1.05rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--page-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.social-link:hover {
  border-color: var(--color-accent-light);
  color: #fff;
  text-decoration: none;
}

.social-icon {
  display: flex;
  color: var(--color-accent);
}

.stub-stack {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--page-border);
  display: grid;
  gap: 1.5rem;
}

.stub-block {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
  scroll-margin-top: calc(var(--header-height) + 8px);
}

.stub-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.stub-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.faq-stack {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--page-border);
  scroll-margin-top: calc(var(--header-height) + 8px);
}

.faq-list {
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.faq-item {
  margin: 0;
  padding: 1rem 1.15rem;
  background: var(--color-surface);
  border: 1px solid var(--page-border);
  border-radius: var(--radius);
}

.faq-item dt {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.98rem;
}

.faq-item dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.services-main {
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 4rem;
}

.services-lead {
  margin: 0 0 1.25rem;
  max-width: 52rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.service-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.service-steps li {
  margin-bottom: 0.25rem;
}

.service-meta {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
}

.service-card .btn {
  margin-top: 0.75rem;
  align-self: flex-start;
}

.site-footer {
  background: rgba(17, 24, 39, 0.92);
  border-top: 1px solid var(--page-border);
  color: #94a3b8;
  padding: 1.75rem 0;
  margin-top: auto;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.footer-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #94a3b8;
}

.footer-disclaimer a {
  margin-left: 0.25rem;
}

.modal-demo-hint {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

@media (max-width: 1360px) {
  .page-layout {
    grid-template-columns: minmax(150px, 210px) minmax(420px, 1fr) minmax(210px, 300px);
    min-width: 900px;
  }
}

@media (max-width: 1180px) {
  .page-layout {
    grid-template-columns: minmax(140px, 190px) minmax(420px, 1fr) minmax(190px, 270px);
    min-width: 840px;
  }
}

@media (max-width: 1024px) {
  .page-layout {
    min-width: 0;
  }

  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-right {
    gap: 0.3rem 0.45rem;
  }
  .auth-btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
  }

  .nav-toggle {
    display: flex;
    grid-column: 1;
    grid-row: 1;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
  }

  .header-right { grid-column: 3; grid-row: 1; flex-direction: column; align-items: flex-end; gap: 0.2rem; }

  .nav--left {
    grid-column: 1 / -1;
    grid-row: 2;
    display: none;
    padding-top: 0.75rem;
    border-top: 1px solid #374151;
    margin-top: 0.35rem;
  }

  .nav--left.is-open {
    display: block;
  }

  .nav-list { flex-direction: column; gap: 0; }

  .nav-item--mobile-only {
    display: list-item;
    border-top: 1px solid #374151;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
  }

  .nav-list a { display: block; padding: 0.65rem 0; }
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none !important;
  }

  .nav--left {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .page-scroll {
    overflow-x: hidden;
  }

  .page-layout {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 1rem;
    padding-inline: max(0.75rem, 1rem);
  }

  .page-main {
    order: -1;
    width: 100%;
    min-width: 0;
  }

  .sidebar {
    position: static;
    top: auto;
    width: 100%;
    min-width: 0;
  }

  .marks-panel-list {
    max-height: 45vh;
  }

  .news-sidebar-list {
    gap: 0.45rem;
    font-size: 0.82rem;
  }

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

  .about-media {
    order: -1;
  }

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

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

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

  .hero {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: calc(var(--header-height) + 4px);
  }

  :root {
    --container: calc(100% - 1.25rem);
  }

  .header-link { display: none; }

  .header-phone {
    font-size: 0.8rem;
  }

  .brand-text {
    max-width: 7.5rem;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .sidebar-card {
    padding: 0.8rem 0.7rem;
  }

  .ad-slot {
    min-height: 220px;
  }

  .marks-panel-list a {
    font-size: 0.8rem;
    padding: 0.45rem 0.1rem;
  }
}

@media (max-width: 375px) {
  .page-layout {
    padding-inline: 0.65rem;
  }

  .ad-slot {
    min-height: 120px;
  }

  .marks-panel-list {
    max-height: 45vh;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.7);
  z-index: 300;
}

.modal {
  position: fixed;
  z-index: 301;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100% - 1.5rem));
  background: var(--color-surface-strong);
  border: 1px solid var(--page-border);
  border-radius: 12px;
  padding: 1.1rem;
}

.modal h2 {
  margin: 0 0 0.8rem;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.6rem;
  cursor: pointer;
}

.auth-form {
  display: grid;
  gap: 0.75rem;
}

.auth-form label {
  display: grid;
  gap: 0.3rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.auth-form input {
  border: 1px solid var(--page-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

.auth-error {
  margin: 0;
  color: #fca5a5;
  font-size: 0.85rem;
}

.auth-success {
  margin: 0;
  color: #6ee7b7;
  font-size: 0.85rem;
}
