@font-face {
  font-family: Literata;
  font-style: normal;
  font-weight: 420 680;
  font-display: swap;
  src: url("../fonts/literata-cyrillic.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: 420 680;
  font-display: swap;
  src: url("../fonts/literata-latin.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: Manrope;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.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 {
  --bg: #f3efe8;
  --bg-deep: #e6dfd3;
  --paper: #faf7f2;
  --ink: #1c1916;
  --muted: #4e4942;
  --line: #d9d1c4;
  --accent: #7a3228;
  --inverse: #171512;
  --inverse-text: #f6f1e8;
  --wa: #1d6b45;
  --header-h: 4.25rem;
  --serif: Literata, "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: Manrope, "Segoe UI", sans-serif;
  --max: 72rem;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  color-scheme: light;
}

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

html { overflow-x: clip; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 450;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
}

img { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

::selection { background: #ead8d2; color: var(--ink); }

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

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1rem;
  z-index: 50;
  border-radius: 0 0 0.5rem 0.5rem;
}
.skip:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topline {
  display: none;
  background: var(--inverse);
  color: var(--inverse-text);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.topline__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
  line-height: 1;
}
.logo__name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 580;
  letter-spacing: -0.04em;
}
.logo__role {
  display: none;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.18s ease, background 0.18s ease;
}
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__lines::before { top: -6px; }
.nav-toggle__lines::after { top: 6px; }
.nav-check:checked + .nav-toggle .nav-toggle__lines { background: transparent; }
.nav-check:checked + .nav-toggle .nav-toggle__lines::before { top: 0; transform: rotate(45deg); }
.nav-check:checked + .nav-toggle .nav-toggle__lines::after { top: 0; transform: rotate(-45deg); }
.nav-check:focus-visible + .nav-toggle { outline: 2px solid var(--accent); outline-offset: 3px; }

.nav { display: none; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.55rem;
}
.nav a[aria-current="page"] { color: var(--accent); }
@media (max-width: 899px) {
  .nav-check:checked ~ .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 40;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    padding: 0.4rem;
    background: #faf7f2;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    box-shadow: 0 18px 40px rgba(28, 25, 22, 0.12);
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero__actions .btn--ghost { grid-column: 1 / -1; }
}

.header__phone {
  display: none;
  text-decoration: none;
  font-weight: 680;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 670;
  letter-spacing: -0.015em;
  cursor: pointer;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--ink); border-color: #cbbfae; }
.btn--wa { background: var(--wa); color: #f4faf6; }

.hero { padding: 1.4rem 0 1rem; }
.hero__grid {
  display: grid;
  gap: 1.4rem;
}
.kicker {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.7rem);
  font-weight: 560;
}
.hero__roles {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--muted);
}
.hero__lead {
  margin-top: 1.15rem;
  max-width: 40rem;
  font-size: 1.08rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.3rem;
}
.hero__photo {
  margin: 0;
  background: var(--bg-deep);
  border-radius: 1.4rem;
  overflow: hidden;
}
.hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}
.hero__photo figcaption {
  padding: 0.7rem 1rem 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.facts {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
}
.facts li {
  padding-top: 0.85rem;
  display: grid;
  gap: 0.15rem;
}
.facts strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.facts span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 3.2rem 0; }
.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 0.9rem;
}
.section__intro {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.quote {
  margin: 1.4rem 0 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 2px solid var(--accent);
  max-width: 42rem;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.quote footer {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.svc-list { display: grid; }
.svc {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__n {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 0.95rem;
}
.svc__title {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  font-weight: 560;
}
.svc__text { color: var(--muted); max-width: 42rem; }
.svc__go {
  font-weight: 700;
  font-size: 0.92rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.steps li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.steps strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.band {
  background: var(--inverse);
  color: var(--inverse-text);
  border-radius: 1.3rem;
  padding: clamp(1.3rem, 4vw, 2.4rem);
}
.band .kicker { color: #e7b2a8; }
.band h2 { margin-bottom: 0.7rem; }
.band p { max-width: 38rem; color: #e7e1d6; }
.band .btn { margin-top: 1.1rem; }
.band .btn--ghost { color: var(--inverse-text); border-color: rgba(246, 241, 232, 0.35); }

.timeline {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--line);
}
.timeline__item { position: relative; padding: 0 0 1.2rem 0.9rem; }
.timeline__item::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  left: calc(-1rem - 4px);
  top: 0.45rem;
}
.timeline__years {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.timeline__place {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-top: 0.15rem;
}
.timeline__detail { color: var(--muted); margin-top: 0.15rem; }

.contact {
  display: grid;
  gap: 1.2rem;
}
.contact__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem 1rem 1.1rem;
}
.contact__card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}
.contact__card p + p { margin-top: 0.55rem; }
.contact__card a { color: var(--accent); }

.map {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  min-height: 16rem;
  aspect-ratio: 4 / 3;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.appt { display: grid; gap: 0.8rem; }
.appt__field { display: grid; gap: 0.35rem; }
.appt label { font-size: 0.86rem; font-weight: 680; }
.appt input,
.appt textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: var(--bg);
  border: 1px solid #cfc6b8;
  border-radius: 0.7rem;
  padding: 0.8rem 0.9rem;
  min-height: 3rem;
}
.appt textarea { min-height: 7rem; resize: vertical; }
.appt__error { color: var(--accent); font-size: 0.92rem; }
.form-note { color: var(--muted); font-size: 0.9rem; }
.form-note a { color: var(--accent); }

.page { padding: 1.2rem 0 3rem; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.crumbs a { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: #b5ab9d; }
.page-head { max-width: 46rem; margin-bottom: 1.5rem; }
.page-head h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.lead {
  margin-top: 0.8rem;
  font-size: 1.12rem;
  color: var(--muted);
}
.page-grid { display: grid; gap: 1.6rem; }
.prose { max-width: 44rem; }
.prose h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  margin: 2rem 0 0.6rem;
}
.prose h3 {
  font-size: 1.25rem;
  margin: 1.4rem 0 0.4rem;
}
.prose p { margin: 0 0 0.9rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.15rem; }
.prose li { margin: 0.3rem 0; }
.prose li > p { margin: 0; }
.prose a { color: var(--accent); text-underline-offset: 0.16em; }
.prose h2 a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 0.14em; }
.record-line {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.record-line a { color: var(--accent); }

.aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.1rem;
}
.aside__kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.aside__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-top: 0.4rem;
}
.aside__role, .aside__hours, .aside__place { color: var(--muted); margin-top: 0.35rem; }
.aside__actions { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.aside__more {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

.faq { margin-top: 2.4rem; }
.faq h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 3.2rem;
  padding: 0.85rem 0;
  font-weight: 680;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 1rem; color: var(--muted); max-width: 44rem; }

.related { margin-top: 2.2rem; }
.related h2 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.related__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  background: var(--paper);
}

.footer {
  background: var(--inverse);
  color: var(--inverse-text);
  padding: 2.2rem 0 1.4rem;
}
.footer a { color: inherit; }
.footer__grid { display: grid; gap: 1.3rem; }
.footer__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.footer__role, .footer__grid p { color: #ddd6cb; }
.footer__label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e7b2a8;
  font-weight: 700;
}
.footer__nav { display: grid; gap: 0.35rem; align-content: start; }
.footer__nav a { text-decoration: none; }
.footer__note {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(246, 241, 232, 0.14);
  color: #c9c1b4;
  font-size: 0.86rem;
}

.dock {
  position: fixed;
  z-index: 40;
  left: 0.7rem;
  right: 0.7rem;
  bottom: calc(0.55rem + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.dock .btn { box-shadow: 0 10px 24px rgba(28, 25, 22, 0.16); }

.empty { padding: 1rem 0 2rem; }
.empty__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

@media (hover: hover) {
  .btn--primary:hover { background: #000; }
  .btn--ghost:hover { background: rgba(28, 25, 22, 0.04); }
  .btn--wa:hover { background: #18583a; }
  .svc:hover .svc__title { color: var(--accent); }
  .nav a:hover { background: rgba(28, 25, 22, 0.04); }
  .related__list a:hover { border-color: var(--accent); }
}

@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .facts li { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .contact { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .footer__grid { grid-template-columns: 1.3fr 1.2fr 1fr 0.8fr; }
  .timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
    border-left: 0;
    padding: 0;
  }
  .timeline__item {
    border-top: 1px solid var(--line);
    padding: 0.9rem 0 1rem;
  }
  .timeline__item::before { display: none; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .topline { display: block; }
  .logo__role { display: block; }
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav a { font-size: 0.95rem; padding: 0.45rem 0.6rem; }
  .header__phone { display: inline-flex; margin-left: 0.4rem; }
  .dock { display: none; }
  .hero { padding: 2rem 0 1rem; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 2.5rem;
    align-items: end;
  }
  .page-grid:not(.page-grid--solo) {
    grid-template-columns: minmax(0, 1fr) 17.5rem;
    align-items: start;
    gap: 2.5rem;
  }
  .aside { position: sticky; top: calc(var(--header-h) + 1rem); }
  .section { padding: 4.5rem 0; }
}

@media (min-width: 1100px) {
  .hero__photo img { max-height: 38rem; width: 100%; object-fit: cover; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .dock, .nav-toggle, .topline, .header__phone, .appt, .aside__actions { display: none !important; }
  .header { position: static; }
  body { padding: 0; background: #fff; color: #000; }
  .footer { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
