/* ===== Палитра и база ===== */
:root {
  --bg: #faf7f2;          /* кремовый фон */
  --card: #ffffff;
  --accent: #5f7f71;      /* шалфейно-зелёный */
  --accent-dark: #456158;
  --text: #33302b;
  --muted: #6f6a61;
  --line: #e7e0d5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
}
h1, h2, h3, .logo { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* ===== Шапка ===== */
.site-header { padding: 18px 0; border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.logo { font-size: 22px; color: var(--text); text-decoration: none; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.menu a { color: var(--muted); text-decoration: none; font-size: 15px; }
.menu a:hover, .menu a.active { color: var(--accent-dark); }

/* ===== Кнопки ===== */
.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 13px 30px; border-radius: 30px; text-decoration: none; font-size: 16px;
  transition: background .2s;
}
.btn:hover { background: var(--accent-dark); }
.btn-outline {
  display: inline-block; border: 1.5px solid var(--accent); color: var(--accent-dark) !important;
  padding: 11px 28px; border-radius: 30px; text-decoration: none; font-size: 16px;
}

/* ===== Главная ===== */
.hero { display: flex; align-items: center; gap: 50px; padding: 60px 0; }
.hero-text { flex: 1; }
.hero h1 { font-size: 38px; line-height: 1.25; margin-bottom: 16px; }
.hero p { font-size: 18px; color: var(--muted); margin-bottom: 28px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.photo-placeholder {
  width: 300px; height: 360px; flex-shrink: 0; border-radius: 16px;
  background: linear-gradient(160deg, #dfe8e2, #c9d8cf);
  display: flex; align-items: center; justify-content: center;
  color: #7d9188; font-size: 15px;
}
.photo { width: 300px; height: 360px; object-fit: cover; border-radius: 16px; flex-shrink: 0; }
section { padding: 46px 0; }
.section-title { font-size: 28px; margin-bottom: 22px; }
.section-link { display: inline-block; margin-top: 18px; color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.about-brief { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.about-brief p { color: var(--muted); max-width: 560px; }

/* ===== Карточки ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .price { display: block; margin-top: 14px; font-size: 19px; font-weight: 700; color: var(--accent-dark); }
.card .note { font-size: 13px; font-weight: 400; color: var(--muted); }

/* ===== Блок записи ===== */
.cta { background: #eef2ee; border-radius: 16px; text-align: center; padding: 50px 24px; }
.cta h2 { font-size: 26px; margin-bottom: 12px; }
.cta p { color: var(--muted); margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Подвал ===== */
.site-footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 26px 0 34px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: space-between; }
.site-footer a { color: var(--accent-dark); text-decoration: none; }

/* ===== Внутренние страницы и статьи ===== */
.page-title { font-size: 32px; padding: 40px 0 8px; }
.article { max-width: 720px; padding-bottom: 50px; }
.article .lead { font-size: 18px; color: var(--muted); margin-bottom: 24px; }
.article h2 { font-size: 24px; margin: 34px 0 12px; }
.article p, .article li { margin-bottom: 14px; }
.article ul { padding-left: 22px; }
.article img { max-width: 100%; border-radius: 12px; margin: 18px 0; }
.article blockquote { border-left: 3px solid var(--accent); padding-left: 18px; color: var(--muted); margin: 20px 0; font-style: italic; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.back-link { display: inline-block; margin-top: 26px; color: var(--accent-dark); text-decoration: none; }

/* ===== Телефоны ===== */
@media (max-width: 760px) {
  .hero { flex-direction: column-reverse; text-align: center; padding: 36px 0; gap: 28px; }
  .hero-buttons, .cta-buttons { justify-content: center; }
  .hero h1 { font-size: 30px; }
  .about-brief { flex-direction: column; }
  .cards { grid-template-columns: 1fr; }
  .photo-placeholder, .photo { width: 240px; height: 290px; }
  .header-inner { justify-content: center; }
}
/* Четыре карточки на главной: 2×2 */
.cards.four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) {
  .cards.four { grid-template-columns: 1fr; }
}