/* ===== Дыхание QA 0034 — светлая тема ===== */
:root {
  --bg: #faf8f4;
  --bg-alt: #f1efe7;
  --card: #ffffff;
  --text: #333a37;
  --muted: #6e7772;
  --accent: #5f7355;
  --accent-dark: #4b5d44;
  --accent-soft: #e6ecdf;
  --line: #e3e0d6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(51, 58, 55, .08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* --- Шапка --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #a8bb9a, var(--accent));
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.nav a:not(.btn):hover { color: var(--accent-dark); }

/* --- Кнопки --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--accent-dark); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); }
.btn-wide { width: 100%; }

/* --- Hero --- */
.hero { padding: 56px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.lead {
  margin: 0 0 26px;
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 14px;
}
.hero-points li::before { content: "· "; color: var(--accent); }
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* --- Секции --- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -.01em;
}
.section-sub {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 56ch;
}

/* --- Карточки расписания --- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.card h3 { margin: 0; font-size: 19px; }
.badge {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-alt { background: #f0e6df; color: #8a5f43; }
.card-meta {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
}
.card-text { margin: 0; font-size: 15px; color: var(--muted); }
.card-price {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  font-weight: 600;
}

/* --- Форма записи --- */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.booking-points {
  margin: 0;
  padding: 18px 22px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  display: grid;
  gap: 10px;
}
.booking-points li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.lead-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 6px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s;
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 72px; }

.lead-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
}
.lead-consent input { margin-top: 3px; accent-color: var(--accent); }
.lead-consent a { color: var(--accent-dark); }

.form-status {
  margin: 0;
  font-size: 14px;
  color: var(--accent-dark);
  text-align: center;
}

/* --- Футер --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo { margin: 0; font-weight: 700; }
.footer-note { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.footer-contacts p { margin: 4px 0; font-size: 14px; color: var(--muted); }
.footer-contacts a { color: var(--accent-dark); }

/* --- Адаптив --- */
@media (max-width: 900px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid,
  .booking-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .hero-media img { min-height: 240px; }
}
@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .lead-form { padding: 20px; }
}
