/* Дополнительные стили внутренних страниц — в тех же токенах, что и главная */
.page-hero {
  padding: 132px 16px 44px;
  background: linear-gradient(180deg, #f0f6f2 0%, var(--bg) 100%);
  text-align: center;
}
.page-hero .container { max-width: 880px; }
.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(30px, 6vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
}
.page-hero h1 em { font-style: normal; color: var(--sage); }
.page-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 28px;
}
.breadcrumbs {
  /* сброс наследованных правил от nav из основного CSS */
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border: 0 !important;
  transform: none !important;
  padding: 0 !important;
  z-index: auto !important;
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  font-size: 12px; color: var(--text-dim);
  margin-bottom: 4px;
}
.breadcrumbs a { color: var(--text-dim); text-decoration: none; }
.breadcrumbs a:hover { color: var(--sage); }
.breadcrumbs span[aria-current] { color: var(--text-muted); }

.article { max-width: 820px; margin: 0 auto; }
.page-hero + main .section-pad { padding-top: 40px; }
.article h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.article h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 19px;
  font-weight: 800;
  margin: 30px 0 10px;
}
.article p { font-size: 17px; line-height: 1.75; color: var(--text-muted); margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; }
.article li { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin-bottom: 8px; }
.article strong { color: var(--text); }
.article a { color: var(--sage); text-decoration: none; border-bottom: 1px solid rgba(111,168,138,.35); }
.article a:hover { border-bottom-color: var(--sage); }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

.schedule-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 16px;
  margin: 8px 0 20px;
}
.schedule-table th, .schedule-table td {
  padding: 13px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.schedule-table th { background: var(--surface2); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-dim); }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.schedule-table .dur { color: var(--text-dim); font-size: 13px; white-space: nowrap; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p { margin: 0; font-size: 16px; }

.page-links {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 26px;
}
.page-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
}
.page-links a:hover { border-color: var(--border-hover); box-shadow: var(--shadow); transform: translateY(-1px); }

.review-list { display: grid; gap: 16px; }
.review-list .review-card { flex: none; width: 100%; }

@media (max-width: 768px) {
  .page-hero { padding-top: 108px; }
  .schedule-table { font-size: 15px; }
  .schedule-table th, .schedule-table td { padding: 11px 12px; }
}

/* Таблицы на телефоне — карточками, без горизонтальной прокрутки */
@media (max-width: 600px) {
  .schedule-table { border: none; background: none; }
  .schedule-table thead { display: none; }
  .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td { display: block; width: 100%; }
  .schedule-table tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 10px;
  }
  .schedule-table td { border: 0; padding: 2px 0; }
  .schedule-table td:first-child { font-size: 17px; margin-bottom: 4px; }
  .schedule-table td:nth-child(2) { font-size: 14px; }
  .schedule-table td:last-child { font-weight: 800; color: var(--text); font-size: 17px; margin-top: 6px; white-space: normal; text-align: left !important; }
  .schedule-table .dur { font-size: 12px; }
}

/* Карточки статей в блоге */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.post-card {
  display: block; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: var(--transition);
}
.post-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.post-card-tag {
  display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 12px;
}
.post-card h2 { font-family: 'Raleway', sans-serif; font-size: 20px; line-height: 1.3; margin: 0 0 10px; color: var(--text); }
.post-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* Онлайн-запись */
.cta-phone { margin-top: 14px; font-size: 15px; color: var(--text-muted); }
.cta-phone a { color: var(--text); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--sage-light); }

.booking-card {
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.booking-head h2 {
  font-family: 'Raleway', sans-serif; font-size: 26px; font-weight: 800;
  margin: 8px 0 10px; letter-spacing: -.02em;
}
.booking-head p { font-size: 16px; line-height: 1.65; color: var(--text-muted); margin: 0 0 22px; }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--text-muted); }
.field span em { font-weight: 400; font-style: normal; color: var(--text-dim); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-glow);
}
.field input:invalid:not(:placeholder-shown) { border-color: #d98b8b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.booking-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.booking-status { font-size: 14px; color: var(--text-muted); }
.booking-status.err { color: #b45151; }
.booking-done {
  padding: 26px; border-radius: var(--radius-sm);
  background: var(--sage-glow); border: 1px solid var(--sage-light);
  font-size: 17px; line-height: 1.6; color: var(--text);
}
@media (max-width: 600px) {
  .booking-card { padding: 22px 18px; }
  .booking-grid { grid-template-columns: 1fr; }
}
