/* ==========================================================================
   IJICT — Международный журнал информационных и коммуникационных технологий
   Статическая версия дизайна (чистый CSS, без сборки)
   ========================================================================== */

/* ---------- Шрифты ---------- */

/* ---------- Дизайн-токены ---------- */
:root {
  --font-display: "Archivo", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --background: oklch(1 0 0);
  --foreground: oklch(0.19 0.01 260);
  --surface: oklch(0.955 0.002 250);
  --card: oklch(1 0 0);
  --primary: oklch(0.46 0.185 25.5);
  --primary-foreground: oklch(0.99 0 0);
  --primary-dark: oklch(0.34 0.14 26);
  --muted-foreground: oklch(0.51 0.008 260);
  --accent: oklch(0.93 0.02 25);
  --accent-foreground: oklch(0.4 0.17 26);
  --border: oklch(0.9 0.004 250);

  --gradient-hero: linear-gradient(
    100deg,
    color-mix(in oklab, var(--primary-dark) 94%, transparent) 0%,
    color-mix(in oklab, var(--primary) 78%, transparent) 55%,
    color-mix(in oklab, var(--primary) 42%, transparent) 100%
  );
  --shadow-card: 0 1px 0 0 var(--border), 0 18px 40px -30px oklch(0.19 0.01 260 / 0.35);

  --container: 1400px;
  --gutter: 1rem;
}

@media (min-width: 1024px) {
  :root {
    --gutter: 2rem;
  }
}

/* ---------- Базовые стили ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  font-size: inherit;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

section[id] {
  scroll-margin-top: 7rem;
}

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

/* ---------- Иконки (inline SVG) ---------- */
.icon {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-3 { width: 0.75rem; height: 0.75rem; }
.i-35 { width: 0.875rem; height: 0.875rem; }
.i-4 { width: 1rem; height: 1rem; }
.i-5 { width: 1.25rem; height: 1.25rem; }
.i-6 { width: 1.5rem; height: 1.5rem; }
.i-7 { width: 1.75rem; height: 1.75rem; }
.text-primary { color: var(--primary); }

/* ---------- Каркас ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 5rem;
}

.page-shell {
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .page-shell {
    padding-block: 5rem;
  }
}

/* ---------- Типографика-утилиты ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.accent-rule::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  background-color: var(--primary);
  margin-bottom: 1.25rem;
}

.t-xl { font-size: 1.875rem; }
.t-lg { font-size: 1.5rem; }
.t-md { font-size: 1.25rem; }
.t-sm { font-size: 0.875rem; }

@media (min-width: 1024px) {
  .t-xl { font-size: 2.25rem; }
  .t-lg { font-size: 1.875rem; }
  .t-md { font-size: 1.5rem; }
}

.prose-muted {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}
.prose-muted + .prose-muted {
  margin-top: 1rem;
}

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: background-color 0.15s, color 0.15s;
}
.btn-sm { padding: 0.75rem 1.5rem; }

.btn-light {
  background: var(--background);
  color: var(--primary);
}
.btn-light:hover {
  background: color-mix(in oklab, var(--background) 90%, transparent);
}

.btn-ghost-light {
  border: 1px solid color-mix(in oklab, var(--primary-foreground) 70%, transparent);
  color: var(--primary-foreground);
}
.btn-ghost-light:hover {
  background: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
}

.lang {
  display: flex;
  gap: 0.25rem;
}
.lang a {
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  background: var(--surface);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 0.15s;
}
.lang a:hover {
  color: var(--foreground);
}
.lang a.is-active {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.search {
  display: none;
  align-items: center;
  gap: 0.5rem;
  width: 18rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
.search svg {
  color: var(--muted-foreground);
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.875rem;
}
.search input::placeholder {
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .search {
    display: flex;
  }
}

.mainbar {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.mainbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.75rem;
}
.logo-mark {
  padding: 0.25rem 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.05em;
}
.logo-text {
  display: none;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.nav {
  display: none;
  align-items: center;
}
.nav a {
  padding: 1.25rem 0.75rem;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  transition: color 0.15s, border-color 0.15s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  border-color: var(--primary);
  color: var(--primary);
}

.menu-toggle {
  padding: 0.5rem;
}
.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  display: grid;
  border-top: 1px solid var(--border);
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
}
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--accent);
  color: var(--accent-foreground);
}

@media (min-width: 1280px) {
  .nav {
    display: flex;
  }
  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

/* ---------- Главный экран (главная страница) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: var(--gradient-hero);
}
.hero .container {
  position: relative;
  padding-block: 6rem;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
}
.hero h1 {
  max-width: 56rem;
  margin-top: 1.5rem;
  font-size: 2.25rem;
  color: var(--primary-foreground);
}
.hero-lead {
  max-width: 42rem;
  margin-top: 1.5rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--primary-foreground) 90%, transparent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero .container { padding-block: 8rem; }
  .hero h1 { font-size: 3.75rem; }
  .hero-lead { font-size: 1.125rem; }
}

/* ---------- Метрики ---------- */
.metrics {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.metrics .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}
.metric {
  padding: 2rem 1.5rem;
  border-left: 1px solid var(--border);
}
.metric:first-child {
  border-left: 0;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
}
.metric-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
@media (min-width: 1024px) {
  .metrics .container { grid-template-columns: repeat(4, 1fr); }
  .metric-value { font-size: 2.25rem; }
}

/* ---------- Сетка карточек ---------- */
.cards {
  display: grid;
  gap: 1px;
  background: var(--border);
}

@media (min-width: 640px) {
  .cards.sm-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .cards.md-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards.lg-2 { grid-template-columns: repeat(2, 1fr); }
  .cards.lg-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .cards.xl-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
}
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }

.card-title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.375;
  text-transform: uppercase;
}
.card-title-lg { font-size: 1.125rem; }
.card-text {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ---------- Блок «О журнале» ---------- */
.split {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .split-about { grid-template-columns: 1.1fr 0.9fr; }
  .split-about-page { grid-template-columns: 1.05fr 0.95fr; }
  .split-authors { grid-template-columns: 1.2fr 0.8fr; }
  .split-contacts { grid-template-columns: 0.9fr 1.1fr; }
}

.callout {
  border-left: 4px solid var(--primary);
  background: var(--surface);
  padding: 1.5rem;
}
.callout .quote {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.375;
}
.callout .quote-caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.note.is-accent {
  border: 0;
  border-left: 4px solid var(--primary);
}
.note a {
  font-weight: 700;
  color: var(--primary);
}
.note a:hover {
  text-decoration: underline;
}

/* ---------- Текущий выпуск / статьи ---------- */
.issue {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.issue-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.issue-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.issue-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.5rem;
}
.issue-bar .issue-meta {
  margin-top: 0;
}

.article {
  display: flex;
  flex-direction: column;
}
.tag {
  align-self: flex-start;
  background: var(--accent);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--accent-foreground);
}
.tag-solid {
  background: var(--primary);
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  color: var(--primary-foreground);
}
.article h3,
.article h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.375;
}
.article h3 a {
  transition: color 0.15s;
}
.article h3 a:hover {
  color: var(--primary);
}
.article-authors {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.article-meta .mono {
  font-family: var(--font-mono);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--primary);
}
.link-arrow:hover {
  text-decoration: underline;
}
.article-meta .link-arrow {
  margin-left: auto;
}

/* ---------- Шаги публикации ---------- */
.step-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  color: color-mix(in oklab, var(--primary) 25%, transparent);
}
.step .card-title {
  margin-top: 0.75rem;
}

/* ---------- CTA ---------- */
.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--primary);
  padding: 2rem;
  color: var(--primary-foreground);
}
.cta p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 42rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--primary-foreground) 85%, transparent);
}
.cta .icon {
  margin-top: 0.125rem;
}
.cta .btn {
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .cta {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .cta { padding: 3rem; }
}

/* ---------- Индексация ---------- */
.indexing {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.indexing .container {
  padding-block: 3.5rem;
}
.indexing h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}
.indexing-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 2rem;
  background: var(--border);
}
.indexing-list span {
  background: var(--card);
  padding: 1.5rem 2rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

/* ---------- Шапка внутренних страниц ---------- */
.page-hero {
  border-bottom: 1px solid var(--border);
  background: var(--primary);
  color: var(--primary-foreground);
}
.page-hero .container {
  padding-block: 3.5rem;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
}
.crumbs a:hover {
  color: var(--primary-foreground);
}
.page-hero .eyebrow {
  margin-top: 1.5rem;
}
.page-hero h1 {
  max-width: 56rem;
  margin-top: 0.75rem;
  font-size: 1.875rem;
}
.page-hero-lead {
  max-width: 48rem;
  margin-top: 1.25rem;
  line-height: 1.625;
  color: color-mix(in oklab, var(--primary-foreground) 85%, transparent);
}
@media (min-width: 640px) {
  .page-hero h1 { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .page-hero .container { padding-block: 5rem; }
  .page-hero h1 { font-size: 3rem; }
}

/* ---------- Списки определений, нумерованные списки ---------- */
.facts {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
}
.facts > div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
}
.facts > div + div {
  border-top: 1px solid var(--border);
}
.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}
.facts dd {
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .facts > div {
    grid-template-columns: var(--dt, 180px) 1fr;
    gap: 1rem;
  }
}

.numbered {
  margin-top: 1.5rem;
  border: 1px solid var(--border);
}
.numbered li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
}
.numbered li + li {
  border-top: 1px solid var(--border);
}
.numbered .num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--primary);
}

.bullets {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}
.bullets li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}
.bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.5rem;
  background: var(--primary);
}

/* ---------- Редколлегия ---------- */
.role {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.person-name {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.person-degree {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.person-org {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.board {
  margin-top: 2rem;
  border: 1px solid var(--border);
}
.board-head {
  display: none;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}
.board-row {
  display: grid;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.board-row:last-child {
  border-bottom: 0;
}
.board-row strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.board-row .degree {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.board-row .org {
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .board-head,
  .board-row {
    grid-template-columns: 1.1fr 1fr 1.4fr;
    gap: 1.5rem;
  }
  .board-head {
    display: grid;
  }
}

/* ---------- Архив ---------- */
.year-list {
  display: grid;
  gap: 3.5rem;
}
.issue-card {
  display: flex;
  flex-direction: column;
}
.issue-card h3 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}
.issue-card .date {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.issue-card .count {
  margin-top: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}
.issue-card .link-arrow {
  align-self: flex-start;
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

/* ---------- Этика ---------- */
.policy {
  margin-top: 4rem;
  border-left: 4px solid var(--primary);
  background: var(--surface);
  padding: 2rem;
}
.policy p {
  max-width: 56rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ---------- Контакты и форма ---------- */
.contact-lines {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.field {
  display: grid;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--foreground);
  outline: 0;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
}
.form .btn {
  justify-self: start;
}

/* ---------- Подвал ---------- */
.site-footer {
  background: var(--primary-dark);
  color: var(--primary-foreground);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-logo {
  display: inline-block;
  background: var(--primary-foreground);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.05em;
  color: var(--primary);
}
.footer-about {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  opacity: 0.8;
}
.footer-issn {
  margin-top: 1rem;
  font-size: 0.75rem;
  opacity: 0.7;
}
.footer-col h3 {
  font-size: 0.875rem;
}
.footer-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.85;
}
.footer-list.is-contacts {
  gap: 0.75rem;
}
.footer-list a:hover {
  text-decoration: underline;
}
.footer-list li {
  display: flex;
  gap: 0.75rem;
}
.footer-list .icon {
  margin-top: 0.125rem;
}
.footer-bottom {
  border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent);
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.7;
}
@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
