/* ===== Общие стили ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* ===== Шапка ===== */
header {
  background: #ffffff;
  color: #333;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e0e0e0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo:hover {
  color: #555;
}

/* ===== Навигация ===== */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: #555;
  text-decoration: none;
  padding: 0.5rem 0;
  border-radius: 0;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

nav a:hover {
  color: #000;
  border-bottom: 2px solid #333;
}

/* Мобильное меню */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.4rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 1rem;
    border-radius: 0;
    border-bottom: 1px solid #34495e;
  }

  .hamburger {
    display: flex;
  }

  .header-container {
    flex-wrap: wrap;
  }
}

/* ===== Основной контент ===== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.container {
  background: white;
  border-radius: 0;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: none;
  border: 1px solid #e0e0e0;
}

/* ===== Заголовки ===== */
h1 {2rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600
  margin-bottom: 1rem;
}left;
  font-size: 1.1rem;
  color: #666;
  font-weight: 400
  text-align: center;
  font-size: 1.3rem;
  color: #2ecc71;
  font-weight: bold;
  margin-bottom: 2rem;
}

/* ===== Описание ===== */
.description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: justify;
  margin-bottom: 1.5rem;
}

/* ===== Сетка товаров ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.product-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: none;
  box-shadow: none;
  border-color: #999;
}

.product-image {
  width: 100%;
  height: 220px;
  background-color: #ecf0f1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.product-price {
  font-size: 1.4rem;
  color: #000;
  font-weight: 700;
  color: #2ecc71;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.product-spec {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ecf0f1;
}

.detail-line {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.detail-label {
  font-weight: bold;
  color: #2c3e50;
}

/* ===== Кнопки ===== */
button, .btn {
  display: inline-block;
  background-color: #333;
  color: white;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.5px;
}

button:hover, .btn:hover {
  background-color: #000;
}

/* ===== Форма контакта ===== */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #2c3e50;
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2ecc71;
  box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

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

/* ===== Контактная информация ===== */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
#f9f9f9;
  color: #333;
  padding: 2rem;
  border-radius: 0;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-card p {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #666;
}

.contact-card a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: on: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ===== Подвал ===== */
footer {
  background-color: #f5f5f5;
  color: #666;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #e0e0e0;
}

footer p {
  margin: 0.5rem 0;
}

/* ===== Галерея ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

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

/* ===== Сертификаты ===== */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.certificate {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.certificate img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Цены ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.price-table th {
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: bold;
}

.price-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #ecf0f1;
}

.price-table tr:hover {
  background-color: #f8f9fa;
}

.price-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

/* ===== Отзыв / Выделение ===== */
.alert {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;f0f0f0;
  border-color: #999;
  color: #333

.alert-info {
  background-color: #d1ecf1;
  border-color: #0c5460;
  color: #0c5460;
}

.alert-success {
  background-color: #d4edda;
  border-color: #155724;
  color: #155724;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #856404;
  color: #856404;
}

.alert-error {
  background-color: #f8d7da;
  border-color: #721c24;
  color: #721c24;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

  .contact-info {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  main {
    padding: 1rem 0.5rem;
  }

  .container {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  nav {
    gap: 0 !important;
  }

  .description {
    font-size: 1rem;
  }
}

/* ===== Дополнительно ===== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pd-1 { padding: 0.5rem; }
.pd-2 { padding: 1rem; }
.pd-3 { padding: 1.5rem; }

.text-muted {
  color: #777;
}

.text-success {
  color: #2ecc71;
}

.text-danger {
  color: #e74c3c;
}
