
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-cyrillic_latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-cyrillic_latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-cyrillic_latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* ===== Базовые стили ===== */
:root {
  --bg-primary: #0B1D33;
  --bg-secondary: #102A4C;
  --bg-card: #132F52;
  --text-primary: #FFFFFF;
  --text-secondary: #C0C8D1;
  --accent: #1E90FF;
  --accent-hover: #0066CC;
  --border: #1E3A5F;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Шапка ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 29, 51, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-primary);
}

.logo__text {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo__sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav__list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav__list a:hover {
  color: var(--text-primary);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  padding: 100px 0 80px;
  background: radial-gradient(ellipse at 30% 20%, #1E3A5F 0%, transparent 70%),
              radial-gradient(ellipse at 70% 50%, #102A4C 0%, transparent 70%);
}

.hero__inner {
  text-align: center;
  max-width: 800px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== Секции ===== */
.section {
  padding: 70px 0;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.section__footer {
  text-align: center;
  margin-top: 40px;
}

/* ===== Сетки ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.card .card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.badge {
  background: rgba(30, 144, 255, 0.15);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== Услуги ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  min-height: 80px;
}

/* ===== Блог ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.blog-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* ===== CTA ===== */
.cta-box {
  background: linear-gradient(135deg, #1E3A5F 0%, #102A4C 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ===== Футер ===== */
.footer {
  background: #081826;
  padding: 60px 0 20px;
  margin-top: 70px;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--accent);
}

.footer__bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
  .nav__list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 15px;
  }

  .nav__list.active {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .cards-grid,
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 30px 20px;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }
}
/* ===== Фильтры ===== */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--accent);
}

/* ===== Пагинация ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
}

.pagination button.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Формы ===== */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 8px;
}

.form-submit {
    text-align: center;
}

/* ===== Статья ===== */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content .article-meta {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.article-content .full-text {
    display: none;
}

.article-content .full-text.visible {
    display: block;
}

.article-content .read-full-btn {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
}