/* ============================================================
   Fern Hollow Bindery — hand bookbinding
   Стили без внешних зависимостей: только системные шрифты.
   ============================================================ */

:root {
  --paper: #f3eee3;
  --paper-2: #ebe4d5;
  --card: #faf6ec;
  --ink: #211c16;
  --ink-soft: #3a332a;
  --muted: #6d6355;
  --line: #d9cfbd;
  --line-strong: #c3b69e;
  --green: #3c5943;
  --green-deep: #26382c;
  --gold: #b08a52;
  --rust: #8a4a33;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Бумажное зерно поверх фона */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--green);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--green-deep); }

img, svg { max-width: 100%; }
svg { display: block; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--green); color: var(--paper); }

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

.container {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green-deep);
  color: var(--paper);
  padding: 12px 18px;
}
.skip-link:focus { left: 0; color: var(--paper); }

[id] { scroll-margin-top: 96px; }

/* ---------------- Типографика ---------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 34em;
}

.muted { color: var(--muted); }
.small {
  font-family: var(--sans);
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------------- Кнопки ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
}
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--paper); }

.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, .35); }

.btn-sm { padding: 11px 18px; font-size: .625rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
}
.link-arrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width .18s ease;
}
.link-arrow:hover::after { width: 32px; }

/* ---------------- Шапка ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 238, 227, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  flex-shrink: 0;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.075rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: .5rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 9px 13px;
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 2px;
}
.nav a:hover { color: var(--green-deep); background: rgba(60, 89, 67, .07); }
.nav a[aria-current="page"] { color: var(--green-deep); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--green);
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
  transform: translateX(-50%);
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------------- Главный экран ---------------- */

.hero {
  position: relative;
  padding: 68px 0 84px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 82% 18%, rgba(60, 89, 67, .10), transparent 70%),
    radial-gradient(520px 380px at 4% 92%, rgba(176, 138, 82, .08), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: 22px;
  max-width: 11em;
}
.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero .lead { max-width: 31em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 26px;
  font-family: var(--sans);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

/* Макет книги */

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 20px 0;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: min(120%, 470px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.book {
  position: relative;
  width: min(74%, 330px);
  aspect-ratio: 3 / 4.08;
  transform: rotate(-3.2deg);
  filter: drop-shadow(0 34px 44px rgba(38, 56, 44, .26));
}

.book-cover {
  position: absolute;
  inset: 0;
  border-radius: 3px 8px 8px 3px;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .10), transparent 55%),
    linear-gradient(150deg, #4a6852 0%, #3c5943 42%, #2a3d2f 100%);
  box-shadow:
    inset -12px 0 20px -14px rgba(0, 0, 0, .55),
    inset 12px 0 16px -14px rgba(255, 255, 255, .16);
  overflow: hidden;
}
.book-cover::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, .30);
  box-shadow: 2px 0 0 rgba(255, 255, 255, .05);
}

.book-pages {
  position: absolute;
  top: 7px;
  bottom: 7px;
  right: -10px;
  width: 15px;
  z-index: 2;
  border-radius: 1px 3px 3px 1px;
  background: repeating-linear-gradient(to bottom, #f0e7d3 0 2px, #d7cab1 2px 3px);
  box-shadow: 2px 0 8px rgba(0, 0, 0, .22);
}

.book-frame {
  position: absolute;
  inset: 20px 20px 20px 32px;
  border: 1px solid rgba(201, 170, 112, .50);
}
.book-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 170, 112, .20);
}

.book-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 34px;
  color: #e8d9b6;
}

.book-kicker {
  font-family: var(--sans);
  font-size: .5rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .78;
  margin-bottom: 20px;
}

.book-title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.02;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.book-sub {
  font-style: italic;
  font-size: .875rem;
  letter-spacing: .02em;
  margin-top: 12px;
  opacity: .82;
}

.book-mono {
  margin-top: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 170, 112, .60);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: .75rem;
  letter-spacing: .06em;
  opacity: .9;
}

.book-year {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  text-align: center;
  font-family: var(--sans);
  font-size: .45rem;
  letter-spacing: .38em;
  opacity: .55;
}

.art-note {
  margin: 0;
  font-family: var(--sans);
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------- Секции ---------------- */

.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0;
  max-width: 17em;
}
.section-head p {
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 32em;
}
.section-head .head-side { flex-shrink: 0; padding-bottom: 5px; }

/* Факты */

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 40px;
}
.fact b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 5px;
}
.fact span {
  font-family: var(--sans);
  font-size: .625rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Услуги — строки */

.service-list { border-bottom: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  transition: background .2s ease;
}
.service-row:hover { background: rgba(250, 246, 236, .6); color: inherit; }

.service-num {
  font-family: var(--sans);
  font-size: .5625rem;
  letter-spacing: .2em;
  color: var(--muted);
  padding-top: 8px;
}
.service-body h3 {
  font-size: 1.3rem;
  margin: 0 0 5px;
  letter-spacing: -.005em;
}
.service-body p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  max-width: 46em;
}
.service-price {
  font-family: var(--sans);
  font-size: .5625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
  padding-top: 10px;
}

/* Этапы */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.step { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.step-num {
  display: block;
  font-family: var(--sans);
  font-size: .5625rem;
  letter-spacing: .2em;
  color: var(--green);
  margin-bottom: 10px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin: 0; }

/* Обложки работ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

.work-card { display: block; color: inherit; }
.work-card:hover { color: inherit; }

.cover {
  position: relative;
  aspect-ratio: 3 / 4.1;
  padding: 34px 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 2px 5px 5px 2px;
  color: #efe4cb;
  background: linear-gradient(150deg, #4a6852, #3c5943 55%, #2b3f31);
  box-shadow:
    0 2px 3px rgba(33, 28, 22, .06),
    0 20px 34px -26px rgba(33, 28, 22, .65);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.work-card:hover .cover {
  transform: translateY(-5px) rotate(-.4deg);
  box-shadow:
    0 4px 6px rgba(33, 28, 22, .07),
    0 30px 46px -28px rgba(33, 28, 22, .7);
}
.cover::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(239, 228, 203, .32);
  pointer-events: none;
}
.cover::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(to right, rgba(0, 0, 0, .30), rgba(255, 255, 255, .04));
}
.cover > * { position: relative; z-index: 1; }
.cover > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cover-kicker {
  font-family: var(--sans);
  font-size: .5rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .7;
}
.cover-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: .03em;
  margin: 0;
  color: inherit;
}
.cover-author {
  display: block;
  font-style: italic;
  font-size: .8125rem;
  opacity: .82;
  margin-top: 8px;
}
.cover-orn {
  width: 30px;
  height: 1px;
  background: rgba(239, 228, 203, .55);
  margin: 14px 0;
}
.cover-foot {
  font-family: var(--sans);
  font-size: .45rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  opacity: .55;
}

/* Варианты обложек */

.cover--rust { background: linear-gradient(150deg, #a05c40, #8a4a33 55%, #6b3726); color: #f3e5cd; }
.cover--slate { background: linear-gradient(150deg, #55636a, #414e56 55%, #2f3a40); color: #ece6d8; }
.cover--ochre { background: linear-gradient(150deg, #b98d4f, #a3763c 55%, #7f5b2c); color: #f6ecd6; }
.cover--charcoal { background: linear-gradient(150deg, #3b3934, #2b2925 55%, #1e1c19); color: #e9dfc9; }
.cover--sage { background: linear-gradient(150deg, #8b9a7f, #6f8064 55%, #56644c); color: #f4efe0; }
.cover--ink { background: linear-gradient(150deg, #2f4457, #253645 55%, #1b2833); color: #e9e1cd; }

.work-meta { padding-top: 16px; }
.work-meta h3 { font-size: 1.05rem; margin: 0 0 3px; }
.work-meta p {
  margin: 0;
  font-family: var(--sans);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Цитата */

.quote {
  padding: 86px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.quote blockquote {
  margin: 0 auto;
  max-width: 20em;
  font-size: clamp(1.4rem, 2.9vw, 2.05rem);
  line-height: 1.34;
  font-style: italic;
  letter-spacing: -.01em;
}
.quote blockquote::before,
.quote blockquote::after { content: "“"; }
.quote blockquote::after { content: "”"; }
.quote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--sans);
  font-style: normal;
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Полоса визита */

.visit-band {
  background: var(--green-deep);
  color: #efe6d2;
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}
.visit-band::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(239, 230, 210, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(239, 230, 210, .03);
  pointer-events: none;
}
.visit-band .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 56px;
  align-items: center;
}
.visit-band .eyebrow { color: #c9b88f; }
.visit-band h2 {
  color: #f6efdf;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
  max-width: 14em;
}
.visit-band p { color: rgba(239, 230, 210, .76); max-width: 34em; margin: 0; }
.visit-band .btn { border-color: rgba(239, 230, 210, .5); color: #f6efdf; justify-self: end; }
.visit-band .btn:hover { background: #f6efdf; color: var(--green-deep); border-color: #f6efdf; }

/* ---------------- Внутренние страницы ---------------- */

.page-head {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(540px 280px at 84% 0%, rgba(60, 89, 67, .09), transparent 70%);
  pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -.02em;
  margin-bottom: 14px;
  max-width: 15em;
}
.page-head .lead { max-width: 40em; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: .5625rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs span[aria-current] { color: var(--ink-soft); }

/* Две колонки */

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}
.split h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
.split p { color: var(--ink-soft); }

/* Принципы */

.principles { display: grid; gap: 26px; }
.principle {
  padding-left: 22px;
  border-left: 1px solid var(--line-strong);
}
.principle h3 { font-size: 1.1rem; margin-bottom: 4px; }
.principle p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Списки */

.list-lined { border-top: 1px solid var(--line); }
.list-lined li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}
.list-lined li span {
  font-family: var(--sans);
  font-size: .5625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
  white-space: nowrap;
}

/* Подробно об услугах */

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 56px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  margin: 12px 0 7px;
}
.service-detail > div > p { color: var(--ink-soft); margin: 0 0 12px; }
.price {
  margin: 0;
  font-family: var(--sans);
  font-size: .625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
}
.bullets { display: grid; gap: 8px; margin-top: 16px; }
.bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: .95rem;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.note-box {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 26px 28px;
}
.note-box h3 { font-size: 1.1rem; margin-bottom: 6px; }
.note-box p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Форма */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: start;
}

.form {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 32px;
}
.form h2 { font-size: 1.4rem; margin-bottom: 20px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label {
  font-family: var(--sans);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  transition: border-color .16s ease, background .16s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
}
.field input::placeholder,
.field textarea::placeholder { color: #a2988a; font-style: italic; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  font-family: var(--sans);
  font-size: .6875rem;
  line-height: 1.6;
  color: var(--muted);
}
.consent input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--green); flex-shrink: 0; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(60, 89, 67, .08);
  font-size: .875rem;
  color: var(--green-deep);
}
.form-status.is-visible { display: block; }

.info-list { display: grid; gap: 26px; }
.info-item h3 {
  font-family: var(--sans);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.info-item p, .info-item a { font-family: var(--serif); font-size: 1.0625rem; color: var(--ink); margin: 0; }
.info-item a:hover { color: var(--green); }
.info-item small {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: .6875rem;
  color: var(--muted);
}

.hours { display: grid; gap: 9px; max-width: 320px; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 7px;
  border-bottom: 1px dotted var(--line-strong);
  font-size: .9375rem;
}
.hours div span:last-child { color: var(--muted); }

.map {
  margin-top: 30px;
  border: 1px solid var(--line);
  background: #eae3d3;
  padding: 0;
  overflow: hidden;
}
.map svg { width: 100%; height: auto; }

/* FAQ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 18px 34px 18px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 16px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--green);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .95rem;
  max-width: 56em;
}

/* Текстовая страница */

.prose { max-width: 68ch; }
.prose h2 {
  font-size: 1.3rem;
  margin: 34px 0 10px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: .98rem; line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1em; }
.prose .note { color: var(--muted); font-size: .8125rem; font-style: italic; }

/* 404 */

.error-page {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}
.error-code {
  font-family: var(--serif);
  font-size: clamp(4rem, 11vw, 7rem);
  line-height: 1;
  color: var(--line-strong);
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.error-page h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.error-page p { color: var(--muted); max-width: 32em; margin: 0 auto 26px; }

/* ---------------- Подвал ---------------- */

.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 58px 0 26px;
  font-size: .9375rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  padding-bottom: 40px;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.footer-brand p {
  color: var(--muted);
  font-size: .9375rem;
  max-width: 26em;
  margin: 0;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--green); }
.footer-col address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom .spacer { margin-left: auto; }

/* ---------------- Уменьшенное движение ---------------- */

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

/* ---------------- Адаптив ---------------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-art { order: 2; }
  .hero-art::before { width: min(90%, 430px); }
  .book { width: min(56%, 320px); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .visit-band .container { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .visit-band .btn { justify-self: start; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-inner { height: 70px; gap: 12px; }
  .brand-name { font-size: .95rem; }
  .brand-name small { font-size: .45rem; }
  .header-cta { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 16px 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 34px -28px rgba(33, 28, 22, .6);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 44px 0 60px; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-art { padding: 10px 0 0; }
  .book { width: min(78%, 300px); }
  .hero-art::before { width: 86%; }

  .section { padding: 60px 0; }
  .section-tight { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
  .section-head .head-side { padding-bottom: 0; }

  .facts { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .service-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px 16px;
    padding: 22px 0;
  }
  .service-price { grid-column: 2; padding-top: 2px; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .service-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 34px 0; }
  .note-box { padding: 22px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .cover { padding: 24px 18px 22px; }
  .cover-title { font-size: 1.05rem; }
  .work-meta h3 { font-size: .95rem; }
  .work-meta p { font-size: .55rem; }

  .quote { padding: 60px 0; }

  .visit-band { padding: 52px 0; }
  .visit-band::before { display: none; }

  .page-head { padding: 42px 0 34px; }

  .form { padding: 22px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-bottom { font-size: .5625rem; }
  .footer-bottom .spacer { display: none; }
}

@media (max-width: 460px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-mark { display: none; }
  .hero-meta { gap: 6px 16px; }
}
