:root {
  --main-color: #8b2e2e;
  --bg-light: #fffaf8;
  --bg-accent: #fef3e7;
  --text-color: #2b2b2b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg-light);
  color: var(--text-color);
  line-height: 1.6;
}

header {
  background: #3e1f1f;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

nav a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* Главная: HERO */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 2rem;
  background: white;
}

.hero-text {
  flex: 1 1 300px;
  padding-right: 2rem;
}

.hero-text h1 {
  font-size: 2rem;
  color: var(--main-color);
}

.hero-text p {
  line-height: 1.6;
}

.hero-image {
  flex: 1 1 300px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Блок "Что поставляем" */
.what-we-supply {
  background: var(--bg-accent);
  padding: 3rem 2rem;
  text-align: center;
}

.what-we-supply h2 {
  font-size: 1.8rem;
  color: var(--main-color);
  margin-bottom: 2rem;
}

.supply-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.supply-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  width: 260px;
}

.supply-item img {
  height: 64px;
  margin-bottom: 1rem;
}

.supply-item h3 {
  color: var(--main-color);
}

/* Цифры / факты */
.stats {
  background: var(--main-color);
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item {
  margin: 1rem;
}

.stat-item h3 {
  font-size: 2rem;
  margin: 0;
}

/* Галерея */
.gallery {
  padding: 2rem;
  background: white;
  text-align: center;
}

.gallery h2 {
  font-size: 1.6rem;
  color: var(--main-color);
}

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

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Отзывы */
.testimonials {
  background: #f9f1f1;
  padding: 3rem 2rem;
}

.testimonials h2 {
  text-align: center;
  color: var(--main-color);
}

.testimonial {
  max-width: 600px;
  margin: 1.5rem auto;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial span {
  display: block;
  margin-top: 1rem;
  color: #555;
  font-style: italic;
}

/* Каталог / форма */
.lead-form {
  background: #eee;
  text-align: center;
  padding: 3rem 1rem;
}

.lead-form h2 {
  margin-bottom: 1.5rem;
}

.lead-form form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.lead-form input {
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 250px;
}

.lead-form button {
  padding: 0.8rem 1.5rem;
  background: var(--main-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* Общие стили внутренних страниц */
.page {
  max-width: 800px;
  margin: 2rem auto;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.page h1 {
  color: var(--main-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.page h2 {
  color: var(--main-color);
  margin-top: 2rem;
}

.page ul {
  padding-left: 1.2rem;
}

.page ul li {
  margin-bottom: 0.7rem;
}

/* Футер */
footer {
  text-align: center;
  padding: 1rem;
  background: #3e1f1f;
  color: white;
  margin-top: 3rem;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-text {
    padding: 0;
  }

  nav {
    margin-top: 1rem;
  }

  .supply-grid {
    flex-direction: column;
    align-items: center;
  }
}

.payment-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
  align-items: flex-start;
}

.payment-image {
  flex: 1 1 300px;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.payment-text {
  flex: 2 1 400px;
  min-width: 280px;
}

.card-block {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  padding: 2rem;
  margin: 2rem 0;
}

.card-block h2 {
  margin-top: 0;
  color: var(--main-color);
}

.section-icon {
  font-size: 2rem;
  margin-right: 0.5rem;
  color: var(--main-color);
}

.illustrated-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.illustrated-section img {
  flex: 1 1 300px;
  max-width: 100px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.illustrated-section .text {
  flex: 2 1 400px;
}

.notice-block {
  background: #fff7f2;
  border-left: 6px solid var(--main-color);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.notice-block h2 {
  margin-top: 0;
  color: var(--main-color);
}

.notice-block a {
  color: var(--main-color);
  text-decoration: underline;
  font-weight: 500;
}
.price-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-list li {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: 6px solid var(--main-color);
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.price-list li:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.price-list a {
  display: block;
  padding: 1rem 1.25rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.price-list a:hover {
  color: var(--main-color);
}
