/* ===== Базовое ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-dark: #1a3f2b;
  --green: #2d6b4a;
  --green-light: #f0f7f3;
  --text: #222;
  --muted: #555;
  --border: #dce8e0;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* ===== Шапка ===== */
.site-header {
  background: var(--green-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.logo { font-size: 22px; font-weight: 700; color: #fff; }
.logo span { color: #7fd4a0; }
.logo small { display: block; font-size: 11px; font-weight: 400; opacity: .8; letter-spacing: 1px; text-transform: uppercase; }

.main-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: #e8f5ee; font-size: 15px; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: #7fd4a0; text-decoration: none; }

.header-phone { text-align: right; }
.header-phone a { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.header-phone small { display: block; font-size: 12px; opacity: .8; }

/* ===== Герой ===== */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.hero h1 { font-size: 38px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.hero .subtitle { font-size: 19px; opacity: .9; max-width: 700px; margin: 0 auto 20px; }
.hero .stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin: 24px 0; }
.hero .stat { text-align: center; }
.hero .stat b { display: block; font-size: 30px; font-weight: 800; }
.hero .stat span { font-size: 13px; opacity: .85; }
.hero .cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  transition: .2s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-phone { background: #ffb300; color: #1a3f2b; }
.btn-phone:hover { background: #ffc107; }

.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #fff; }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #3a7f5a; }

.hero .guarantee { display: inline-block; background: rgba(255,255,255,.15); padding: 6px 20px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-top: 18px; }

/* ===== Секции ===== */
.section { padding: 50px 20px; }
.section-alt { background: var(--green-light); }

.section h2 { font-size: 30px; color: var(--green-dark); margin-bottom: 12px; text-align: center; }
.section .lead { text-align: center; color: var(--muted); font-size: 17px; max-width: 700px; margin: 0 auto 30px; }

/* УТП-карточки */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 10px; }
.usp-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; text-align: center; }
.usp-card .icon { font-size: 34px; margin-bottom: 8px; }
.usp-card h3 { font-size: 16px; color: var(--green-dark); margin-bottom: 6px; }
.usp-card p { font-size: 14px; color: var(--muted); }

/* Цены */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 10px; }
.price-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.hit { border-color: var(--green); box-shadow: 0 6px 20px rgba(45,107,74,.15); }
.price-card .badge {
  position: absolute;
  top: -12px;
  right: 16px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: .5px;
}
.price-card h3 { font-size: 19px; color: var(--green-dark); margin-bottom: 4px; }
.price-card .desc { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.price-card .price { font-size: 26px; font-weight: 800; color: var(--green-dark); margin-bottom: 10px; }
.price-card .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.price-card ul { list-style: none; margin-bottom: 18px; flex-grow: 1; }
.price-card li { font-size: 14px; padding: 4px 0 4px 22px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Шаги */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 10px; }
.step-card { text-align: center; padding: 16px; }
.step-card .num {
  display: inline-block;
  width: 44px; height: 44px;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  line-height: 44px;
  margin-bottom: 10px;
}
.step-card h4 { font-size: 16px; color: var(--green-dark); margin-bottom: 4px; }
.step-card p { font-size: 13px; color: var(--muted); }

/* Модели */
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 10px; }
.model-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.model-card h3 { font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.model-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.model-card .tag { background: var(--green-light); color: var(--green-dark); font-size: 12px; padding: 3px 10px; border-radius: 12px; }
.model-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.model-card .price { font-size: 20px; font-weight: 700; color: var(--green-dark); }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; margin-bottom: 10px; }
.faq-item h3 { font-size: 16px; color: var(--green-dark); margin-bottom: 6px; cursor: pointer; }
.faq-item p { font-size: 14px; color: var(--muted); }

/* Статьи (список) */
.article-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 10px; }
.article-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.article-card h3 { font-size: 17px; color: var(--green-dark); margin-bottom: 6px; }
.article-card h3 a { color: var(--green-dark); }
.article-card p { font-size: 14px; color: var(--muted); }

/* Статья */
.article-body { max-width: 780px; margin: 0 auto; padding: 40px 20px; }
.article-body h1 { font-size: 32px; color: var(--green-dark); margin-bottom: 16px; line-height: 1.25; }
.article-body h2 { font-size: 24px; color: var(--green-dark); margin: 28px 0 12px; }
.article-body h3 { font-size: 19px; color: var(--green-dark); margin: 22px 0 10px; }
.article-body p { margin-bottom: 14px; font-size: 16px; }
.article-body ul, .article-body ol { margin: 0 0 14px 24px; font-size: 16px; }
.article-body li { margin-bottom: 6px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--green-light); color: var(--green-dark); }
.article-body .meta { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.article-body blockquote {
  border-left: 4px solid var(--green);
  background: var(--green-light);
  padding: 12px 18px;
  margin: 16px 0;
  border-radius: 0 6px 6px 0;
}
.article-body .cta-box {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  margin: 24px 0;
  text-align: center;
}
.article-body .cta-box p { margin-bottom: 10px; }

/* Отзывы */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 10px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.review-card .name { font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.review-card .text { font-size: 14px; color: var(--muted); }

/* Контакты / форма */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 10px; }
.contact-info h3 { font-size: 18px; color: var(--green-dark); margin-bottom: 8px; }
.contact-info p { font-size: 16px; margin-bottom: 12px; }
.contact-info .big-phone { font-size: 28px; font-weight: 800; color: var(--green-dark); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--green); border-color: transparent; }

/* CTA-блок */
.cta-block {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}
.cta-block h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.cta-block p { opacity: .9; font-size: 16px; margin-bottom: 16px; }
.cta-block .big-phone { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.cta-block .big-phone a { color: #fff; }

/* Подвал */
.site-footer { background: #111; color: #888; padding: 30px 20px; font-size: 14px; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner a { color: #bbb; }
.footer-inner .copy { margin-top: 16px; width: 100%; text-align: center; font-size: 13px; }

/* Хлебные крошки */
.breadcrumbs { padding: 14px 20px 0; max-width: 1000px; margin: 0 auto; font-size: 13px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* Адаптив */
@media (max-width: 700px) {
  .header-inner { flex-direction: column; text-align: center; gap: 6px; padding: 10px 12px; }
  .main-nav { flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 14px; }
  .header-phone { text-align: center; }
  .header-phone a { font-size: 17px; }
  .header-phone small { font-size: 11px; }
  .hero { padding: 28px 16px; }
  .hero h1 { font-size: 23px; margin-bottom: 8px; }
  .hero .subtitle { font-size: 14px; margin-bottom: 14px; }
  .hero .stats { gap: 10px 22px; margin: 14px 0; }
  .hero .stat b { font-size: 20px; }
  .hero .stat span { font-size: 11px; }
  .hero .cta-buttons { gap: 10px; margin-top: 4px; }
  .hero .btn { padding: 12px 22px; font-size: 15px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 36px 16px; }
  .section h2 { font-size: 24px; }
}

/* Фото на сайте */
.photo-block { margin: 18px 0 22px; text-align: center; }
.photo-block img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.photo-caption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.model-card img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 10px; }
.contact-info img { max-width: 100%; border-radius: 8px; margin-top: 12px; }

.price-card img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 10px; }

/* Модалка выбора звонка/заявки (десктоп) */
.call-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9999; align-items: center; justify-content: center; padding: 16px; }
.call-modal-box { background: #fff; border-radius: 14px; padding: 28px 24px; max-width: 360px; width: 100%; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.call-modal-box h3 { margin: 0 0 6px; font-size: 20px; }
.call-modal-box p { color: #666; margin: 0 0 20px; font-size: 14px; }
.call-modal-box .btn { display: block; width: 100%; margin-bottom: 10px; font-size: 16px; padding: 14px; text-decoration: none; box-sizing: border-box; }
.call-modal-close { background: none; border: none; color: #888; margin-top: 8px; cursor: pointer; font-size: 14px; text-decoration: underline; }
