/* 
* Основные стили для блога "Как защитить свои финансы в цифровом мире" 
* Версия: 1.0
* Тема: Финансовая безопасность
*/

/* ---------- Сброс и основные стили ---------- */
:root {
  --primary-color: #2c5282; /* Темно-синий */
  --primary-light: #3b82f6; /* Светло-синий */
  --primary-dark: #1e3a5f; /* Очень темно-синий */
  --secondary-color: #38a169; /* Зеленый для акцентов */
  --secondary-light: #48bb78; /* Светло-зеленый */
  --secondary-dark: #2f855a; /* Темно-зеленый */
  --warning-color: #e53e3e; /* Красный для предупреждений */
  --text-color: #2d3748; /* Темно-серый для основного текста */
  --text-light: #718096; /* Серый для вспомогательного текста */
  --bg-color: #ffffff; /* Белый фон */
  --bg-light: #f7fafc; /* Светло-серый фон */
  --bg-dark: #edf2f7; /* Серый фон */
  --border-color: #e2e8f0; /* Светло-серый для границ */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 0.375rem;
  --transition: all 0.3s ease;
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
  --header-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---------- Типографика ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ---------- Шапка сайта ---------- */
header {
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  max-height: 60px;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

nav a:hover {
  color: var(--primary-light);
}

nav a.active {
  color: var(--primary-color);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* ---------- Главная секция (Hero) ---------- */
.hero {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ---------- Секция популярных постов ---------- */
.featured-posts {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  color: var(--primary-light);
}

.view-all-posts {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- Секция вебинара ---------- */
.webinar-section {
  padding: 5rem 0;
}

.webinar-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.webinar-info h2 {
  margin-bottom: 1.5rem;
}

.webinar-info p {
  margin-bottom: 2rem;
}

.webinar-details {
  margin-bottom: 2rem;
}

.webinar-details li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.webinar-details li svg {
  margin-right: 0.75rem;
  color: var(--primary-color);
}

.webinar-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

/* ---------- Секция "Почему стоит читать наш блог" ---------- */
.why-us {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.why-us h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* ---------- Секция подписки на рассылку ---------- */
.newsletter {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  color: white;
  margin-bottom: 1rem;
}

.newsletter p {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ---------- Глоссарий ---------- */
.glossary {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.glossary h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.glossary-terms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.term {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.term h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.term p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* ---------- Футер ---------- */
footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about img {
  max-height: 60px;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
}

footer h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

footer ul li {
  margin-bottom: 0.75rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

footer a:hover {
  color: white;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
}

.footer-contact ul li svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  text-align: center;
}

/* ---------- Страница блога ---------- */
.page-header {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header p {
  max-width: 800px;
  margin: 0 auto;
}

.blog-content {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.blog-posts {
  display: grid;
  gap: 3rem;
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.post-category {
  color: var(--primary-color);
  font-weight: 600;
}

.blog-sidebar {
  display: grid;
  gap: 2rem;
}

.sidebar-widget {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.search-form {
  display: flex;
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.search-form button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: none;
  border: none;
  padding: 0 1rem;
  color: var(--text-light);
}

.categories-widget ul li {
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.categories-widget ul li:last-child {
  border-bottom: none;
}

.categories-widget a {
  display: flex;
  justify-content: space-between;
}

.popular-posts {
  display: grid;
  gap: 1.25rem;
}

.popular-post {
  display: flex;
  gap: 1rem;
}

.popular-post img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.popular-post h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.popular-post .post-date {
  font-size: 0.75rem;
  color: var(--text-light);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-light);
  border-radius: 2rem;
  font-size: 0.875rem;
  transition: var(--transition);
}

.tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.webinar-widget {
  text-align: center;
}

.webinar-info img {
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.webinar-info h4 {
  margin-bottom: 0.5rem;
}

.webinar-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.webinar-info .btn {
  margin-top: 1rem;
}

/* ---------- Страница отдельного поста ---------- */
.post-full {
  padding: 5rem 0;
}

.post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.post-full .post-meta {
  justify-content: center;
}

.post-featured-image {
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-callout {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-callout.warning {
  border-left-color: var(--warning-color);
}

.post-callout h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.post-callout.warning h3 {
  color: var(--warning-color);
}

.post-callout p:last-child {
  margin-bottom: 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 3rem 0;
}

.post-tags span {
  font-weight: 600;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.post-share span {
  font-weight: 600;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-light);
  border-radius: 50%;
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
}

.related-posts {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* ---------- Страница о нас ---------- */
.about-intro {
  padding: 5rem 0;
}

.about-intro .container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.team-member p {
  padding: 0 1.5rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-light);
  border-radius: 50%;
  transition: var(--transition);
}

.member-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

.achievements-section {
  padding: 5rem 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.achievement-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.achievement-card p {
  margin-bottom: 0;
}

.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  color: white;
}

.cta-content p {
  margin-bottom: 2rem;
}

/* ---------- Страница контактов ---------- */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
}

.contact-form-container {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
}

.contact-info {
  display: grid;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(44, 82, 130, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-item h3 {
  margin-bottom: 0.5rem;
}

.info-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

.social-contact {
  margin-top: 2rem;
}

.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 2rem;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.faq-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* ---------- Кнопка отзыва и модальные окна ---------- */
.feedback-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
}

.btn-feedback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.btn-feedback:hover {
  background-color: var(--secondary-dark);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--warning-color);
}

.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating input {
  display: none;
}

.rating label {
  cursor: pointer;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rating label:before {
  content: '★';
  font-size: 1.5rem;
  color: var(--bg-dark);
}

.rating input:checked ~ label:before,
.rating label:hover ~ label:before,
.rating label:hover:before {
  color: var(--primary-color);
}

.thank-you-content {
  text-align: center;
}

.thank-you-content svg {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.thank-you-content h2 {
  margin-bottom: 1rem;
}

.thank-you-content p {
  margin-bottom: 2rem;
}

/* ---------- Уведомление о cookies ---------- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 99;
  padding: 1rem 0;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cookie-content p {
  flex: 1;
  margin-bottom: 0;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cookie-policy-link {
  margin-left: 1rem;
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .webinar-section .container,
  .about-intro .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .blog-post {
    grid-template-columns: 1fr;
  }

  .post-image img {
    height: 250px;
  }

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

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  header {
    position: relative;
    height: auto;
    padding: 1rem 0;
  }

  header .container {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 1rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
  }

  .newsletter-form button {
    border-radius: var(--border-radius);
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
