/* ===== Цвета и базовые настройки — меняйте здесь ===== */
:root {
  --accent: #b98a44;      /* основной акцент (кнопки, ссылки) */
  --dark:   #1f2733;      /* тёмный фон / заголовки */
  --gray:   #f4f5f7;      /* серый фон секций */
  --text:   #3c4450;      /* основной текст */
  --white:  #ffffff;
  --green:  #2e8b57;      /* «бесплатно» / выгода */
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== Шапка ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-weight: 700; font-size: 22px; color: var(--white); text-decoration: none; line-height: 1.1; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--accent); letter-spacing: .6px; text-transform: uppercase; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: #cfd6df; text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--accent); }
.header__phone { font-weight: 700; color: var(--white); text-decoration: none; white-space: nowrap; }
.header__phone small { display: block; font-size: 11px; font-weight: 500; color: #8a93a2; }
.burger { display: none; font-size: 24px; background: none; border: 0; cursor: pointer; color: var(--white); }

/* ===== Главный экран ===== */
.hero { background: var(--dark); color: #cfd6df; }
.hero h1 { color: var(--white); }
.hero__slogan { color: var(--accent); }
.hero__inner {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
  align-items: center; padding: 80px 20px;
}
.hero h1 { font-size: 34px; line-height: 1.25; margin-bottom: 16px; }
.hero__slogan { font-size: 18px; opacity: .9; margin-bottom: 20px; }
.hero__checks { list-style: none; margin-bottom: 28px; font-size: 17px; }
.hero__checks li { margin-bottom: 6px; }

.hero__photo img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--accent);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}

/* ===== Кнопки ===== */
.btn {
  display: inline-block; padding: 14px 34px; border-radius: 30px;
  background: var(--accent); color: var(--white); font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer; font-size: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn--light { background: var(--white); color: var(--dark); }

/* ===== Секции ===== */
.section { padding: 80px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--dark); color: var(--white); }
.section h2 {
  font-size: 30px; color: var(--dark); margin-bottom: 12px;
  border-left: 6px solid var(--accent); padding-left: 14px;
}
.section--dark h2 { color: var(--white); }
.section__lead { font-size: 17px; margin-bottom: 32px; max-width: 700px; }

/* ===== Карточки ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.section--gray .card { box-shadow: none; }
.card h3 { color: var(--dark); margin-bottom: 8px; font-size: 18px; }
.card--review b { display: block; margin-top: 12px; color: var(--accent); }
.card__price { margin-top: 10px; font-weight: 700; color: var(--accent); }

/* ===== Ремонт: уровни ===== */
.cards--repair { grid-template-columns: repeat(4, 1fr); }
.card--tier ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; }
.card--tier li { margin-bottom: 4px; }
.tier__price { color: var(--accent); font-weight: 700; font-size: 17px; margin-top: 4px; }
.tier__price span { color: #8a93a2; font-weight: 500; font-size: 14px; }
.tier__note { font-size: 13px; color: #8a93a2; margin-top: 10px; }
.tier__tag {
  background: var(--accent); color: var(--white); font-size: 11px;
  padding: 2px 8px; border-radius: 10px; vertical-align: middle;
}
.subhead { font-size: 22px; color: var(--dark); margin: 40px 0 16px; }

/* ===== Плашки «бесплатно» ===== */
.card--free { border: 1px solid #e3e7ee; box-shadow: none; }
.card--free h3::before { content: "✓ "; color: var(--green); }
.cta { text-align: center; margin-top: 36px; }
.cta .btn--light { background: var(--dark); color: var(--white); }

/* ===== Этапы ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 26px;
  position: relative; box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
}
.step h3 { color: var(--dark); margin-bottom: 8px; }

/* ===== Команда ===== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; }
.member h3 { margin-top: 14px; color: var(--dark); font-size: 17px; }
.member__role { color: var(--accent); font-size: 14px; margin-bottom: 8px; }
.member__photo {
  aspect-ratio: 1; object-fit: cover; object-position: top;
  border-radius: 50%; max-width: 160px; width: 100%; margin: 0 auto;
}
.member p:last-child { font-size: 14px; }

/* ===== Заглушки под фото ===== */
.photo-placeholder {
  aspect-ratio: 3/4; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #d9dee6, #d9dee6 14px, #e7ebf1 14px, #e7ebf1 28px);
  display: flex; align-items: center; justify-content: center;
  color: #7a8494; font-weight: 600; text-align: center;
}
.photo-placeholder--round { aspect-ratio: 1; border-radius: 50%; max-width: 160px; margin: 0 auto; }

/* ===== Контакты и форма ===== */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contacts p { margin-bottom: 10px; }
.contacts a { color: var(--white); }
.form {
  background: var(--white); color: var(--text);
  border-radius: var(--radius); padding: 30px;
}
.form h3 { color: var(--dark); margin-bottom: 16px; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 12px;
  border: 1px solid #d8dde5; border-radius: 8px; font-size: 15px;
  font-family: inherit;
}
.form textarea { min-height: 90px; resize: vertical; }
.form small { display: block; margin-top: 10px; color: #8a93a2; font-size: 12px; }

/* ===== Футер ===== */
.footer { padding: 40px 0 22px; background: #161c25; color: #9aa4b2; font-size: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 20px; }
.footer__col b { display: block; color: var(--white); margin-bottom: 10px; font-size: 15px; }
.footer__col a, .footer__col span { display: block; color: #9aa4b2; text-decoration: none; margin-bottom: 6px; }
.footer__col a:hover { color: var(--accent); }
.footer__legal { border-top: 1px solid #2a3341; padding-top: 16px; display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: #9aa4b2; }
.footer__legal a:hover { color: var(--accent); }

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .hero__inner, .contacts { grid-template-columns: 1fr; }
  .cards, .cards--4, .cards--repair, .steps, .team, .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
         background: var(--dark); flex-direction: column; padding: 20px;
         box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .nav.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .header__phone { margin-left: auto; }
}
@media (max-width: 560px) {
  .cards, .cards--4, .cards--repair, .steps, .team, .footer__cols { grid-template-columns: 1fr; }
  .hero__inner { padding: 50px 20px; }
  .hero h1 { font-size: 26px; }
}

.form .hp { position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.form-status { margin:10px 0 0; font-size:14px; }
.form-status.ok { color:var(--green); }
.form-status.err { color:#c0392b; }
.form a { color: var(--accent); }
