@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/literata-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/literata-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/literata-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/literata-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/literata-cyrillic-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/literata-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Literata;
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/literata-cyrillic-500i.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Literata;
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/literata-latin-500i.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/onest-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/onest-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/onest-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/onest-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root,
[data-theme="teplo"] {
  --bg: #f3ece3;
  --bg-2: #fffaf4;
  --ink: #2c211c;
  --muted: #6d584c;
  --line: #e3d4c5;
  --accent: #c4623e;
  --accent-ink: #fff8f3;
  --accent-soft: #f6e1d6;
  --deep: #7c3e2c;
  --honey: #c4623e;
  --serif: Literata, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: Onest, "Avenir Next", "Segoe UI", sans-serif;
  --display: var(--serif);
  --radius: 22px;
  --radius-sm: 16px;
  --header: rgba(243, 236, 227, 0.92);
  --footer-bg: #2c211c;
  --footer-ink: #f6efe6;
  --shadow: 0 16px 40px rgba(90, 48, 28, 0.06);
  color-scheme: light;
}

[data-theme="yasnost"] {
  --bg: #f2f5f3;
  --bg-2: #ffffff;
  --ink: #1c2430;
  --muted: #5a675f;
  --line: #d5ded8;
  --accent: #2f6b52;
  --accent-ink: #f4faf7;
  --accent-soft: #e3efe8;
  --deep: #1e4a38;
  --honey: #2f6b52;
  --display: var(--sans);
  --radius: 8px;
  --radius-sm: 6px;
  --header: rgba(242, 245, 243, 0.94);
  --footer-bg: #1c2430;
  --footer-ink: #f3f6f4;
  --shadow: none;
}

[data-theme="krug"] {
  --bg: #f6f1e6;
  --bg-2: #fffdf8;
  --ink: #1a1f2b;
  --muted: #5c564c;
  --line: #e3d6c0;
  --accent: #1a1f2b;
  --accent-ink: #f6f1e6;
  --accent-soft: #f4e4c6;
  --deep: #1a1f2b;
  --honey: #c9842a;
  --display: var(--serif);
  --radius: 0px;
  --radius-sm: 0px;
  --header: rgba(246, 241, 230, 0.94);
  --footer-bg: #1a1f2b;
  --footer-ink: #f6f1e6;
  --shadow: none;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 5.5rem;
}

body.is-print { padding-bottom: 0; }

[data-theme="teplo"] body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 42% at 100% -8%, rgba(196, 98, 62, 0.18), transparent 55%),
    radial-gradient(ellipse 36% 28% at 0% 12%, rgba(196, 98, 62, 0.08), transparent 46%);
}

img { max-width: 100%; }

h1, h2, h3, p { overflow-wrap: break-word; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 0.9rem;
  z-index: 50;
}

.skip-link:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

[data-theme="yasnost"] .site-header { border-bottom-color: var(--line); }
[data-theme="krug"] .site-header { border-top: 6px solid var(--honey); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem 1.4rem;
  min-height: 4.4rem;
  flex-wrap: wrap;
  padding: 0.55rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.logo svg { width: 36px; height: 36px; flex: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }

.header-phone {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--honey);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.55rem; }

[data-theme="yasnost"] h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.45rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

[data-theme="yasnost"] h2 { font-weight: 700; letter-spacing: -0.04em; }

[data-theme="krug"] h1 {
  font-size: clamp(3.1rem, 7.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 600;
}

[data-theme="krug"] h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 0.96;
}

.mark { color: var(--deep); white-space: nowrap; }
[data-theme="teplo"] .mark { font-style: italic; }
[data-theme="krug"] .mark {
  color: inherit;
  background-image: linear-gradient(var(--honey), var(--honey));
  background-repeat: no-repeat;
  background-size: 100% 0.12em;
  background-position: 0 90%;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--deep);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
}

[data-theme="yasnost"] .eyebrow {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

[data-theme="krug"] .eyebrow {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
}

.lead {
  font-size: 1.16rem;
  max-width: 42rem;
  margin: 1rem 0 0;
}

.muted { color: var(--muted); }
.section { padding: 4.4rem 0; }
.section > p,
.parent-note > p { max-width: 46rem; }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head p:last-child { margin-bottom: 0; }

.hero {
  display: grid;
  gap: 1.6rem;
  padding: 2.6rem 0 1rem;
}

.hero:has(.hero-art) {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
  align-items: start;
}

.hero-art {
  margin: 0;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: #fff;
}

.hero-side { display: none; }

.hero-facts {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-facts li {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.9rem;
  box-shadow: var(--shadow);
}

.hero-facts strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-facts span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

[data-theme="yasnost"] .hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.8fr);
  align-items: stretch;
  gap: 1.5rem 2rem;
  padding-top: 2.2rem;
}

[data-theme="yasnost"] .hero-copy { grid-column: 1; }
[data-theme="yasnost"] .hero:not(:has(.hero-facts)) {
  grid-template-columns: 1fr;
}
[data-theme="yasnost"] .hero:not(:has(.hero-facts)) .hero-copy { grid-column: 1 / -1; }
[data-theme="yasnost"] .hero-facts {
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
}

[data-theme="yasnost"] .hero-facts li {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 -1px -1px 0;
}

[data-theme="yasnost"] .hero-facts strong {
  font-size: 1.45rem;
  font-weight: 700;
}

[data-theme="krug"] .hero {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.4rem;
  padding-top: 2rem;
}

[data-theme="krug"] .hero-side {
  display: block;
  grid-column: 1;
  grid-row: 1 / span 2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
}

[data-theme="krug"] .hero-copy { grid-column: 2; }
[data-theme="krug"] .hero-facts {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-top: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

[data-theme="krug"] .hero-facts li {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  min-width: 9rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

[data-theme="yasnost"] .button { border-radius: 6px; }
[data-theme="krug"] .button { border-radius: 0; }
[data-theme="krug"] .button-ghost { box-shadow: inset 0 0 0 1.5px var(--ink); }

.button:hover { filter: brightness(0.96); }
.button-ghost:hover { background: var(--accent-soft); }

.directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.direction {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.3rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
}

.direction p { margin: 0; }
.direction h3 { margin-top: 0.15rem; }
.direction-art {
  margin: -1.4rem -1.35rem 0.35rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  line-height: 0;
  background: #fff;
}
.direction-art img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.direction-kicker {
  margin: 0;
  color: var(--deep);
  font-size: 0.92rem;
}

[data-theme="krug"] .direction {
  box-shadow: none;
  border-top: 1px solid var(--ink);
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}

[data-theme="krug"] .direction h3 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 0.95;
}

[data-theme="yasnost"] .direction {
  box-shadow: none;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
}

.direction-short {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
}

[data-theme="krug"] .direction-short { border-top-color: var(--honey); }

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.8rem;
}

.text-link {
  color: var(--deep);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

[data-theme="krug"] .text-link { text-decoration-color: var(--honey); }

.pull {
  margin: 2rem 0 0;
  padding: 0;
  max-width: 40rem;
}

.pull p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

[data-theme="yasnost"] .pull p {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

[data-theme="krug"] .pull p {
  font-style: normal;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
}

.steps, .checks, .meetings { list-style: none; margin: 0; padding: 0; }

.steps { display: grid; gap: 1rem; }

.steps li, .meeting {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

[data-theme="yasnost"] .steps li,
[data-theme="yasnost"] .meeting {
  box-shadow: none;
  border: 1px solid var(--line);
}

[data-theme="krug"] .steps li,
[data-theme="krug"] .meeting {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding-left: 0;
  padding-right: 0;
}

.num {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--deep);
  letter-spacing: -0.04em;
  min-width: 1.8rem;
}

[data-theme="krug"] .num { color: var(--honey); }

.steps h3, .meeting h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.steps p, .meeting p { margin: 0; }

.checks li {
  position: relative;
  padding-left: 1.45rem;
  margin: 0.75rem 0;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--honey);
}

[data-theme="krug"] .checks li::before { border-radius: 0; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}

.facts div { background: var(--bg-2); padding: 1rem 1.1rem; }
.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 0.28rem 0 0;
  font-family: var(--display);
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.note {
  margin-top: 1rem;
  max-width: 46rem;
}

.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.person {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.1rem;
  align-items: start;
}

[data-theme="yasnost"] .person {
  box-shadow: none;
  border: 1px solid var(--line);
}

[data-theme="krug"] .person {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid var(--ink);
}

.portrait { margin: 0; }
.portrait figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.portrait-placeholder {
  width: 148px;
  height: 176px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--deep);
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: -0.04em;
  border-radius: var(--radius-sm);
}

[data-theme="teplo"] .portrait-placeholder {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--bg-2), 0 0 0 8px var(--accent);
}

.portrait img {
  width: 164px;
  height: 164px;
  max-width: none;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--bg-2), 0 0 0 8px var(--accent);
  display: block;
}

.person h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.person p { margin: 0.35rem 0; }

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.contact-card .actions { margin-top: 0.15rem; }

.legal-note {
  margin: 0.9rem 0 0;
  max-width: 46rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.qr-card {
  margin: 1.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.qr-card img {
  width: 148px;
  height: 148px;
  border-radius: 22px;
  background: var(--bg);
}

.qr-card figcaption {
  margin: 0;
  max-width: 16rem;
  color: var(--muted);
}

[data-theme="yasnost"] .contact-card {
  box-shadow: none;
  border: 1px solid var(--line);
}

[data-theme="krug"] .contact-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: 0;
  box-shadow: none;
}

[data-theme="krug"] .contact-card .muted { color: #d9d0c2; }
[data-theme="krug"] .contact-card .button {
  background: var(--honey);
  color: #1a1f2b;
}
[data-theme="krug"] .contact-card .button-ghost {
  color: var(--bg);
  box-shadow: inset 0 0 0 1.5px rgba(246, 241, 230, 0.45);
}

.phone {
  display: block;
  margin: 0.4rem 0 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  font-weight: 600;
}

.parent-note {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
}

[data-theme="krug"] .parent-note {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border-top: 6px solid var(--honey);
  padding-top: 1.4rem;
}

.meetings { display: grid; gap: 0.7rem; }

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 2.2rem 0 2.4rem;
}

.site-footer a { color: inherit; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  align-items: end;
}
.site-footer p { margin: 0.2rem 0; }
.footer-brand {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.3rem;
}

.print-label { display: none; }

body.is-print .print-label {
  display: block;
  margin: 0 0 0.6rem;
  font-family: Onest, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5c564c;
}

body.is-print .print-chapter + .print-chapter { break-before: page; }

.person, .direction, .steps li, .meeting, .contact-card, .facts div, .hero-facts li {
  break-inside: avoid;
}

h1, h2, h3 { break-after: avoid; }

@page {
  size: A4;
  margin: 14mm 14mm 16mm;
}

@media print {
  .site-header,
  .skip-link { display: none !important; }
  body { background: white; padding-bottom: 0; }
  .wrap { width: auto; }
  a { text-decoration: none; }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

@media (max-width: 860px) {
  [data-theme="yasnost"] .hero,
  [data-theme="krug"] .hero,
  .hero:has(.hero-art),
  .split,
  .directions,
  .people,
  .contacts,
  .facts,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  [data-theme="yasnost"] .hero-copy,
  [data-theme="yasnost"] .hero-facts,
  [data-theme="krug"] .hero-copy,
  [data-theme="krug"] .hero-facts {
    grid-column: auto;
    grid-row: auto;
  }

  [data-theme="krug"] .hero-side { display: none; }
  [data-theme="krug"] .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.4rem;
  }
  [data-theme="yasnost"] .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .person { grid-template-columns: 1fr; }
  [data-theme="teplo"] .portrait-placeholder,
  .portrait img { width: 132px; height: 132px; }
}

@media (max-width: 700px) {
  .logo { order: 1; margin-right: 0; }
  .header-phone { order: 2; margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; }
}

@media (max-width: 560px) {
  .wrap { width: min(1120px, calc(100% - 1.25rem)); }
  .hero-facts,
  [data-theme="yasnost"] .hero-facts,
  [data-theme="krug"] .hero-facts,
  .facts { grid-template-columns: 1fr; }
  h1 { font-size: 2.15rem; }
  [data-theme="krug"] h1 { font-size: 2.55rem; line-height: 0.98; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { filter: none; }
}
