/* Base styles (базовые стили) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}
header{
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid #e9eef2;
}
h1, h2 {
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
p {
  margin-bottom: 1em;
}
ul {
  list-style: none;
  padding-left: 0;
}
a {
  color: #1e90ff; /* синий акцент для ссылок */
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Container layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar (меню навигации) */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 0;
}
.logo {
  font-size: 1.1em;
  font-weight: 700;
  color: #333;
}
.nav-menu {
  display: flex;
  gap: 1em;
}
.nav-menu a {
  font-weight: 600;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

/* Hero section */
.hero-section {
  padding: 4em 0;
  background: #f5fafa; /* очень светлый фон с сине-зелёным оттенком */
}
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-text {
  flex: 1 1 50%;
  padding-right: 1em;
}
.hero-text h1 {
  font-size: 2em;
  color: #2e8b57; /* зелёный акцент для заголовка Hero */
  margin-bottom: 0.5em;
}
.hero-text p {
  font-size: 1.1em;
  margin-bottom: 1.2em;
}
.btn-contact {
  display: inline-block;
  padding: 0.75em 1.5em;
  background: linear-gradient(45deg, #2e8b57, #1e90ff);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  font-weight: 600;
}
.btn-contact:hover {
  opacity: 0.9;
}
.hero-image {
  flex: 1 1 35%;
  text-align: center;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}

/* Section styles */
section {
  padding: 2em 0;
}
section h2 {
  font-size: 1.5em;
  color: #2e8b57; /* зелёный акцент для заголовков разделов */
  margin-bottom: 1em;
  position: relative;
}
section h2 {
  text-decoration-line: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: .4em;
  text-decoration-color: #1e90ff;
}
section h2::before { display: none; }

section p {
  font-size: 1em;
  text-align: justify;
}

/* Tips list (список рекомендаций) */
.tips-list li {
  margin-bottom: 1em;
  line-height: 1.5;
}
.tips-list i {
  color: #2e8b57;
  margin-right: 0.5em;
}

/* Footer */
footer {
  background: #f0f0f0;
  padding: 0.5em 0;
  text-align: center;
  font-size: 0.9em;
  color: #555;
}
footer a {
  color: #333;
}
footer a:hover {
  text-decoration: underline;
}

/* Responsive Design (адаптивность) */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    border: 1px solid #ddd;
    padding: 1em;
  }
  .nav-menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
    color: #333;
  }
  .hero-content {
    flex-direction: column;
  }
  .hero-text {
    padding: 0;
    text-align: center;
    margin-bottom: 2em;
  }
  .hero-text h1 {
    font-size: 1.5em;
  }
  .hero-image {
    width: 100%;
  }
}

/* Contact form specific (стили формы обратной связи) */
.contact-form {
  max-width: 600px;
}
.contact-form label {
  display: block;
  margin: 0.5em 0 0.2em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form textarea {
  resize: vertical;
}
