/* Основные переменные */
:root {
  --primary-color: #2e7d32;
  --primary-light: #60ad5e;
  --primary-dark: #005005;
  --secondary-color: #01579b;
  --secondary-light: #4f83cc;
  --secondary-dark: #002f6c;
  --text-color: #333;
  --text-light: #666;
  --text-dark: #212121;
  --background-color: #f8f9fa;
  --background-alt: #eceff1;
  --white: #ffffff;
  --success: #4caf50;
  --error: #f44336;
  --warning: #ff9800;
  --info: #2196f3;
  --border-color: #e0e0e0;
  --shadow-light: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-dark: 0 8px 16px rgba(0, 0, 0, 0.15);
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  --transition: all 0.3s ease;
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

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

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

ul, ol {
  list-style-position: inside;
  padding-left: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Шапка сайта */
header {
  background-color: var(--white);
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

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

/* Герой-секция */
.hero {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to right, rgba(46, 125, 50, 0.9), rgba(46, 125, 50, 0.7)), url('images/6.jpg');
  background-size: cover;
  background-position: center;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-medium);
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-dark);
  color: var(--primary-dark);
}

/* Уголок новичка */
.novice-block {
  padding: 4rem 0;
  background-color: var(--white);
}

.novice-content {
  text-align: center;
}

.novice-content h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.novice-content h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-light);
}

.novice-content > p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.novice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.novice-card {
  background-color: var(--background-alt);
  border-radius: var(--radius-medium);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.novice-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.novice-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.novice-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.novice-card p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.novice-card a {
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.novice-card a:after {
  content: "→";
  margin-left: 5px;
  transition: var(--transition);
}

.novice-card a:hover:after {
  transform: translateX(5px);
}

/* Секция постов */
.posts {
  padding: 4rem 0;
  background-color: var(--background-color);
}

.posts h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.posts h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-light);
}

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

.post-card {
  background-color: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.post-img {
  height: 200px;
  overflow: hidden;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-img img {
  transform: scale(1.05);
}

.post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

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

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

.read-more:after {
  content: "→";
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover:after {
  transform: translateX(5px);
}

/* Футер */
footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.footer-logo p {
  margin-bottom: 0.5rem;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-social h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

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

.footer-links ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact p svg {
  margin-right: 10px;
  color: var(--primary-light);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Cookie баннер */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-content p {
  margin-bottom: 1.25rem;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-primary {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-small);
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

.btn-secondary {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-small);
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

.cookie-more {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Кнопка "Наверх" */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
}

/* Всплывающие подсказки (tooltips) */
.tooltip {
  position: relative;
}

.tooltip:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text-dark);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-small);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
  z-index: 1000;
}

.tooltip:after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--text-dark) transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.tooltip:hover:before, 
.tooltip:hover:after {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 5px);
}

/* Стили для страницы поста */
.post-content {
  padding: 4rem 0;
  background-color: var(--white);
}

.post-header {
  margin-bottom: 3rem;
}

.post-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.post-meta span {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.post-meta svg {
  margin-right: 5px;
}

.post-featured-image {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  margin-bottom: 2rem;
}

.post-body {
  font-size: 1.1rem;
  line-height: 1.7;
}

.post-body h3 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-body h4 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-body ul, 
.post-body ol {
  margin-bottom: 1.5rem;
}

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

.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-tags span {
  font-weight: 600;
  margin-right: 0.5rem;
}

.post-tags a {
  display: inline-block;
  background-color: var(--background-alt);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-small);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.post-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

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

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

/* Информационные блоки в статьях */
.info-box, .warning-box, .quote-box {
  padding: 1.5rem;
  border-radius: var(--radius-medium);
  margin: 2rem 0;
  position: relative;
}

.info-box {
  background-color: rgba(33, 150, 243, 0.1);
  border-left: 4px solid var(--info);
}

.warning-box {
  background-color: rgba(255, 152, 0, 0.1);
  border-left: 4px solid var(--warning);
}

.info-box h4, .warning-box h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.quote-box {
  background-color: var(--background-alt);
  padding: 2rem;
  text-align: center;
}

.quote-box blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.quote-box blockquote:before,
.quote-box blockquote:after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-light);
  position: absolute;
}

.quote-box blockquote:before {
  top: -10px;
  left: -10px;
}

.quote-box blockquote:after {
  bottom: -20px;
  right: -10px;
}

.quote-box cite {
  font-size: 0.95rem;
  color: var(--text-light);
  display: inline-block;
}

/* Таблицы сравнения */
.comparison-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-light);
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.comparison-table th {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  text-align: left;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--background-alt);
}

/* Похожие статьи */
.related-posts {
  padding: 4rem 0;
  background-color: var(--background-alt);
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

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

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

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

.related-img {
  height: 180px;
  overflow: hidden;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-post:hover .related-img img {
  transform: scale(1.05);
}

.related-content {
  padding: 1.5rem;
}

.related-content h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Страница "О нас" */
.page-header {
  background-color: var(--primary-light);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-header h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

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

.about-info {
  padding: 4rem 0;
  background-color: var(--white);
}

.about-content {
  margin-bottom: 3rem;
}

.about-image {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.team-section {
  padding: 4rem 0;
  background-color: var(--background-alt);
}

.team-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

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

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

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

.team-card h3 {
  margin: 1.5rem 0 0.5rem;
  padding: 0 1.5rem;
}

.team-card p {
  padding: 0 1.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.team-card p:nth-child(4) {
  margin-bottom: 1.5rem;
}

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

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

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

.values-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.values-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

.value-card {
  background-color: var(--background-alt);
  border-radius: var(--radius-medium);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  box-shadow: var(--shadow-light);
}

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

.value-icon {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
}

.value-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

/* Страница контактов */
.contact-section {
  padding: 4rem 0;
  background-color: var(--white);
}

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

.contact-info {
  padding-right: 2rem;
}

.contact-info h3 {
  margin-bottom: 2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.contact-info h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.info-icon {
  margin-right: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 125, 50, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-text h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

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

.contact-form-container {
  background-color: var(--background-alt);
  padding: 2.5rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
}

.contact-form-container h3 {
  margin-bottom: 2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.contact-form-container h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

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

.form-group.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.form-group.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.form-buttons {
  display: flex;
  gap: 1rem;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: var(--error);
}

.form-group.checkbox-group.invalid {
  color: var(--error);
}

.map-section {
  padding: 4rem 0;
  background-color: var(--background-alt);
}

.map-section h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.map-container {
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 400px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.faq-section h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--radius-medium);
  border: 1px solid var(--border-color);
  background-color: var(--white);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.faq-toggle {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

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

/* Модальное окно "Спасибо" */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

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

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

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

.thank-you-content svg {
  margin: 0 auto 1.5rem;
  display: block;
}

.thank-you-content h3 {
  margin-bottom: 1rem;
  color: var(--success);
}

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

/* Адаптивный дизайн */
@media screen and (max-width: 992px) {
  .container {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .logo h1 {
    font-size: 1.6rem;
  }
  
  .hero h2 {
    font-size: 2.4rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .logo img {
    width: 40px;
    height: 40px;
  }
  
  .logo h1 {
    font-size: 1.4rem;
  }
  
  nav ul li {
    margin-left: 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .post-header h2 {
    font-size: 2rem;
  }
  
  .post-meta {
    gap: 1rem;
  }
  
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 576px) {
  header .container {
    flex-direction: column;
    padding: 1rem 15px;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.5rem;
  }
  
  .hero {
    padding: 2.5rem 0;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .post-header h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    gap: 3rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
}
