/* общий boilerplate внутренних страниц */
:root {
  --bg: #F5F1EA;
  --surface: #FFFFFF;
  --text: #45413C;
  --muted: #6B6760;
  --light: #B5B0A6;
  --accent: #C9A961;
  --accent-h: #B8954A;
  --accent-hover: var(--accent-h);
  --dark: #1A1814;
  --border: rgba(26, 24, 20, 0.10);
  --ph: #E5E0D6;
  --ph-t: #888780;
  --placeholder: var(--ph);
  --placeholder-text: var(--ph-t);
  --container: 1280px;
  --gutter: 80px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --f-serif: var(--serif);
  --f-sans: var(--sans);
  --text-muted: var(--muted);
  --text-light: var(--light);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.section { padding: 120px var(--gutter); }
.section-white { background: var(--surface); }
.section-dark { background: var(--dark); }
.container { max-width: var(--container); margin: 0 auto; }

.eyebrow {
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.05;
  color: var(--text);
}

.h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
  color: var(--text);
}

.h-card {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--text);
}

.italic { font-style: italic; }
.accent { color: var(--accent); }
.lead { font-size: 17px; line-height: 1.7; color: var(--text); }

.body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}

.body + .body { margin-top: 20px; }

.ph {
  background: var(--ph);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ph-t);
  font-size: 12px;
  letter-spacing: 2px;
  padding: 24px;
}

.precta {
  padding: 140px var(--gutter);
  text-align: center;
  background: var(--surface);
}

.precta-name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 10px;
  color: var(--text);
  margin-bottom: 10px;
}

.precta-tag {
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 56px;
}

.precta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  color: var(--text);
  margin-bottom: 48px;
  line-height: 1.15;
}

.precta__title .italic {
  color: var(--accent);
  font-style: italic;
}

.breadcrumb {
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.breadcrumb-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  transition: color .15s;
}

.breadcrumb-back:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--light); }
.breadcrumb-current { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 18px;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-lg, .btn-sm {
  height: 52px;
  padding: 0 32px;
  font-size: 18px;
}

.btn-primary {
  background: linear-gradient(120deg, #bd8f3c 0%, #e7cd86 50%, #bd8f3c 100%);
  color: #fff;
  border: none;
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(120, 80, 10, .25);
  box-shadow: 0 4px 14px rgba(184, 138, 42, .35);
}

.btn-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(26, 24, 20, 0.35);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

.btn,
.btn-primary,
.btn-outline,
.btn-lg,
.btn-sm {
  min-width: 220px;
  padding: 0 36px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  :root { --gutter: 48px; }
}

@media (max-width: 768px) {
  :root { --gutter: 24px; }

  .btn,
  .btn-primary,
  .btn-outline,
  .btn-lg,
  .btn-sm {
    min-width: 0;
    width: 100%;
  }
}

/* контентные тексты — на всю ширину колонки */
[class*="page-"] .body,
[class*="page-"] .lead,
[class*="page-"] .hero p,
[class*="page-"] .hero-lead,
[class*="page-"] .hero-desc,
[class*="page-"] .hero-desc p,
[class*="page-"] .hero-note,
[class*="page-"] .quote-card p,
[class*="page-"] .dissertation-text p,
[class*="page-"] .dissertation-footer p,
[class*="page-"] .approach-text .body,
[class*="page-"] .ip-footer,
[class*="page-"] .arch-note,
[class*="page-"] .step-card p,
[class*="page-"] .adv-feature-text,
[class*="page-"] .prin-card p,
[class*="page-"] .ip-card p,
[class*="page-"] .key-result p,
[class*="page-"] .science-intro-body .body,
[class*="page-"] .science-tool-card p,
[class*="page-"] .science-disclaimer,
[class*="page-"] .address-detail,
[class*="page-"] .what-grid > div > p,
[class*="page-"] .arch-head > p,
[class*="page-"] .aud-head + p,
[class*="page-"] .loc-head + p {
  max-width: none;
}

.menu-address-text a,
.address-detail a,
.footer-contacts-col a {
  color: inherit;
  text-decoration: none;
}

.menu-address-text a:hover,
.address-detail a:hover,
.footer-contacts-col a:hover {
  color: var(--accent);
}
