html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #444444;
  background-color: #f9f9f8;
}

* {
  box-sizing: border-box;
}

a {
  color: #1a237e;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0d1b6a;
}

button, input[type="submit"] {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #222222;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e8e7;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a237e;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo:hover {
  color: #1a237e;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  color: #444444;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #1a237e;
}

nav a.active {
  color: #1a237e;
  font-weight: 600;
}

.btn-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border: 1px solid #1a237e;
  background-color: transparent;
  color: #1a237e;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.btn-catalog:hover {
  background-color: rgba(26, 35, 126, 0.05);
  transform: scale(1.02);
  color: #1a237e;
}

footer {
  background-color: #f9f9f8;
  border-top: 1px solid #e8e8e7;
  padding: 2rem 0;
  margin-top: 4rem;
}

footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

footer h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #222222;
}

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

footer li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #666666;
  font-size: 0.95rem;
}

footer a:hover {
  color: #1a237e;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #e8e8e7;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #888888;
}

.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  padding: 2rem;
}

.hero h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222222;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 1.5rem;
}

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

.benefit-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border: 1px solid #e8e8e7;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #1a237e;
}

.benefit-card h3 {
  margin-top: 0;
  color: #1a237e;
  font-size: 1.25rem;
}

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

.product-card {
  background-color: #ffffff;
  border: 1px solid #e8e8e7;
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #1a237e;
  transform: translateY(-2px);
}

.product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

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

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222222;
  margin: 0 0 0.5rem 0;
}

.product-desc {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-price {
  font-size: 1.5rem;
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-btn {
  align-self: flex-start;
  padding: 0.6rem 1.5rem;
  border: 1px solid #1a237e;
  background-color: transparent;
  color: #1a237e;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background-color: rgba(26, 35, 126, 0.05);
  transform: scale(1.02);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border: 1px solid #e8e8e7;
  border-left: 4px solid #1a237e;
  border-radius: 2px;
}

.testimonial-text {
  font-style: italic;
  color: #555555;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonial-author {
  font-weight: 600;
  color: #222222;
  font-size: 0.95rem;
}

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

.faq-item h3 {
  color: #1a237e;
  font-size: 1.1rem;
  margin-top: 0;
}

.faq-item p {
  color: #666666;
  font-size: 0.95rem;
}

.info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-block {
  background-color: #ffffff;
  padding: 1.5rem;
  border: 1px solid #e8e8e7;
  text-align: center;
  border-radius: 3px;
}

.info-block h3 {
  color: #1a237e;
  margin-top: 0;
  font-size: 1rem;
}

.info-block p {
  font-size: 0.9rem;
  color: #666666;
  margin: 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #222222;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a237e;
  box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}

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

.checkbox-group {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-submit {
  padding: 0.8rem 2rem;
  background-color: #1a237e;
  color: #ffffff;
  border: 1px solid #1a237e;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #0d1b6a;
  transform: scale(1.02);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid #e8e8e7;
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.cookie-text {
  flex-grow: 1;
  font-size: 0.9rem;
  color: #666666;
}

.cookie-text a {
  color: #1a237e;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.btn-cookie {
  padding: 0.6rem 1.2rem;
  border: 1px solid #1a237e;
  background-color: transparent;
  color: #1a237e;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-cookie:hover {
  background-color: rgba(26, 35, 126, 0.05);
}

.btn-cookie-accept {
  background-color: #1a237e;
  color: #ffffff;
  border-color: #1a237e;
}

.btn-cookie-accept:hover {
  background-color: #0d1b6a;
}

.thank-you-container {
  text-align: center;
  padding: 3rem 1rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #1a237e;
}

.thank-you-container h1 {
  margin-top: 0;
  color: #222222;
}

.thank-you-container p {
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 2rem;
}

.sort-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.sort-select {
  padding: 0.6rem 1rem;
  border: 1px solid #ddd;
  background-color: #ffffff;
  color: #444444;
  font-size: 0.95rem;
  border-radius: 3px;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  padding: 0.6rem 1rem;
  border: 1px solid #ddd;
  background-color: #ffffff;
  color: #444444;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.view-btn.active {
  background-color: #1a237e;
  color: #ffffff;
  border-color: #1a237e;
}

.hints-section {
  background-color: #f5f5f4;
  padding: 2rem;
  border: 1px solid #e8e8e7;
  border-radius: 3px;
  margin-top: 2rem;
}

.hints-section h3 {
  margin-top: 0;
  color: #1a237e;
}

.hints-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hints-list li {
  padding: 0.75rem 0;
  color: #666666;
  border-bottom: 1px solid #e8e8e7;
  font-size: 0.95rem;
}

.hints-list li:last-child {
  border-bottom: none;
}

.about-section {
  background-color: #ffffff;
  padding: 2rem;
  border: 1px solid #e8e8e7;
  border-radius: 3px;
  margin-bottom: 2rem;
}

.about-section h2 {
  margin-top: 0;
  color: #1a237e;
}

.guidelines-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.guidelines-list li {
  padding: 0.75rem 0 0.75rem 1.5rem;
  position: relative;
  color: #666666;
  font-size: 0.95rem;
}

.guidelines-list li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1a237e;
  font-weight: bold;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.comparison-item {
  background-color: #f9f9f8;
  padding: 1.5rem;
  border: 1px solid #e8e8e7;
  border-radius: 3px;
}

.comparison-item h4 {
  margin-top: 0;
  color: #1a237e;
}

@media (max-width: 768px) {
  nav {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hero {
    min-height: 250px;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

  .product-image {
    height: 180px;
  }

  footer .container {
    grid-template-columns: 1fr;
  }

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

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  .sort-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-select,
  .view-toggle {
    width: 100%;
  }

  .view-toggle {
    justify-content: space-around;
  }

  .view-btn {
    flex: 1;
  }

  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    width: 100%;
    justify-content: center;
  }

  .benefits-grid,
  .testimonials-grid,
  .faq-grid,
  .info-blocks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  nav {
    gap: 0.3rem;
    font-size: 0.75rem;
  }

  .btn-catalog {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 200px;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
  }

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

  .product-image {
    height: 200px;
  }

  .hero-content {
    padding: 1rem;
  }

  .section {
    margin-bottom: 2rem;
  }

  .hints-section,
  .about-section {
    padding: 1.5rem;
  }
}
