/* ==========================================================
   Особо разыскиваемый управляющий — основной стиль
   ========================================================== */

:root {
  --ink: #0d1320;
  --ink-2: #151d2e;
  --ink-3: #1f2940;
  --paper: #f5f1e8;
  --paper-2: #ebe5d8;
  --white: #fffdf8;
  --text: #1a1e27;
  --muted: #5c6370;
  --muted-light: #a9afbb;
  --burgundy: #7d1f2c;
  --burgundy-2: #98283a;
  --gold: #b48f55;
  --gold-light: #d4b582;
  --line: rgba(13, 19, 32, .12);
  --line-light: rgba(255, 253, 248, .14);

  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

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

/* ---------- Eyebrow / ornaments ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .section--dark2 .eyebrow, .page-head .eyebrow, .footer .eyebrow, .hero .eyebrow { color: var(--gold-light); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.section--dark .lead, .section--dark2 .lead { color: var(--muted-light); }

.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); margin: 0 auto;
}
.ornament::before, .ornament::after { content: ""; height: 1px; width: 60px; background: currentColor; opacity: .6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  line-height: 1.3; text-align: center;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--burgundy); color: var(--white); }
.btn--primary:hover { background: var(--burgundy-2); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(180, 143, 85, .12); border-color: var(--gold); }
.btn:active { transform: translateY(1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; letter-spacing: .04em;
  text-decoration: none; color: var(--burgundy);
  border-bottom: 1px solid transparent;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: 12px; border-color: currentColor; }
.section--dark .link-arrow, .section--dark2 .link-arrow { color: var(--gold-light); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--white);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.header.is-solid, .header--solid {
  background: rgba(13, 19, 32, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-light);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; min-width: 0; }
.brand__mark {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--gold-light);
  letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; white-space: nowrap; }
.brand__sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none; color: inherit; opacity: .88;
  transition: opacity .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { opacity: 1; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; min-height: 44px; padding: 0 18px; font-size: .8rem; }

.header-tg {
  display: none; width: 46px; height: 46px; margin-left: auto; border-radius: 50%;
  align-items: center; justify-content: center; background: var(--burgundy); color: #fff;
}
.header-tg svg { width: 20px; height: 20px; }
.burger {
  display: none;
  width: 46px; height: 46px; border: 1px solid var(--line-light); border-radius: var(--radius);
  background: transparent; color: inherit; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background .3s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: inline-flex; }
  .header-tg { display: inline-flex; }
  .header__inner { gap: 10px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--ink);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .header { background: var(--ink); }
  .nav__link { padding: 18px 0; font-family: var(--serif); font-size: 1.5rem; border-bottom: 1px solid var(--line-light); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 28px 0 0; min-height: 54px; font-size: .9rem; }
}
@media (max-width: 520px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1rem; white-space: normal; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__bg { animation: none; transform: none; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 19, 32, .94) 0%, rgba(13, 19, 32, .78) 38%, rgba(13, 19, 32, .2) 62%, rgba(13, 19, 32, .05) 100%),
    linear-gradient(180deg, rgba(13, 19, 32, .55) 0%, rgba(13, 19, 32, 0) 22%, rgba(13, 19, 32, 0) 62%, rgba(13, 19, 32, .9) 88%, var(--ink) 100%);
}
.hero__content { padding-top: calc(var(--header-h) + 48px); padding-bottom: 40px; }
.hero__text { max-width: 640px; }
.hero__kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: .8rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 22px;
}
.hero__kicker::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero__title {
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  font-weight: 600;
  line-height: 1.02;
  margin: 0 0 26px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero__slogan {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: rgba(255, 253, 248, .9);
  max-width: 30ch; margin: 0 0 36px;
  padding-left: 22px; border-left: 2px solid var(--burgundy);
}
.hero__slogan em { display: block; color: var(--gold-light); font-size: 1.15em; margin-top: 4px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions .btn--ghost { color: var(--white); border-color: rgba(255, 253, 248, .5); }
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; }
  .hero picture { display: block; }
  .hero__bg {
    position: relative; inset: auto; z-index: 0;
    height: 64svh; min-height: 360px; max-height: 620px;
    object-position: 50% 15%;
    animation: none; transform: none;
  }
  .hero::before {
    z-index: 1; bottom: auto; height: 64svh; min-height: 360px; max-height: 620px;
    background: linear-gradient(180deg, rgba(13, 19, 32, .6) 0%, rgba(13, 19, 32, 0) 22%, rgba(13, 19, 32, 0) 62%, var(--ink) 100%);
  }
  .hero__content { position: relative; z-index: 2; padding-top: 0; margin-top: -48px; padding-bottom: 48px; }
  .hero__title { font-size: clamp(2.2rem, 10.5vw, 3rem); line-height: 1.08; margin-bottom: 20px; }
  .hero__slogan { font-size: 1.15rem; margin-bottom: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line-light);
}
.fact { padding: 22px 12px 0; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line-light); }
.fact__num { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gold-light); line-height: 1.1; }
.fact__label { display: block; font-size: .82rem; color: var(--muted-light); line-height: 1.4; margin-top: 6px; }
@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 18px; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.page-head__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; opacity: .28; filter: grayscale(.3);
}
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--ink) 15%, rgba(13, 19, 32, .55) 100%);
}
.page-head h1 { max-width: 24ch; font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
.page-head .lead { max-width: 60ch; margin-bottom: 0; color: rgba(255, 253, 248, .78); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted-light); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--muted-light); }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--tight { padding: clamp(56px, 7vw, 90px) 0; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark2 { background: var(--ink-2); color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Intro (who am I) ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

.portrait { position: relative; margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); }
.portrait::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--gold); border-radius: var(--radius);
}
.portrait { isolation: isolate; }
.portrait figcaption { margin-top: 30px; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .portrait { max-width: 420px; margin-right: 18px; } }

.statement { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.4; margin-bottom: 28px; }
.statement strong { color: var(--burgundy); font-weight: 600; }

.creds { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 0; }
.creds li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.creds li:first-child { border-top: 1px solid var(--line); }
.creds li::before {
  content: ""; flex: none; width: 7px; height: 7px; transform: rotate(45deg) translateY(-2px);
  background: var(--gold);
}
.section--dark .creds li { border-color: var(--line-light); }

.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--burgundy); margin: 0 0 30px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

.service {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px 30px 30px;
  background: var(--white);
  text-decoration: none; color: inherit;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service__num {
  font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1;
  color: var(--gold); margin-bottom: 22px;
}
.service__title { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.25; margin: 0 0 10px; }
.service__text { font-size: .95rem; color: var(--muted); margin: 0 0 22px; flex: 1; transition: color .3s; }
.service__more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy);
  transition: gap .3s var(--ease), color .3s;
}
.service:hover { background: var(--ink); color: var(--white); }
.service:hover .service__text { color: var(--muted-light); }
.service:hover .service__more { color: var(--gold-light); gap: 14px; }

/* Compact list (home page) */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); counter-reset: svc; }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list li { border-bottom: 1px solid var(--line-light); }
.svc-list a {
  display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 12px;
  padding: 20px 0; text-decoration: none; color: inherit;
}
.svc-list__num { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold); }
.svc-list__title { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.3; transition: color .25s; }
.svc-list__arrow { color: var(--gold); opacity: .4; transition: transform .3s var(--ease), opacity .3s; }
.svc-list a:hover .svc-list__title { color: var(--gold-light); }
.svc-list a:hover .svc-list__arrow { opacity: 1; transform: translateX(4px); }

/* ---------- Vertical photo feature ---------- */
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
}
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.feature__photo {
  position: relative; margin: 0;
  justify-self: center; width: 100%; max-width: 460px;
}
.feature__photo img, .feature__placeholder {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
.feature__photo::after {
  content: ""; position: absolute; inset: -14px; border: 1px solid rgba(180, 143, 85, .5); border-radius: 6px; pointer-events: none;
}
.feature__placeholder {
  display: grid; place-items: center; text-align: center; padding: 30px;
  background: repeating-linear-gradient(135deg, var(--ink-3) 0 14px, var(--ink-2) 14px 28px);
  color: var(--muted-light); font-size: .9rem;
}
.feature__quote {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08;
  margin: 0 0 26px;
}
.feature__quote span { color: var(--gold-light); font-style: italic; font-weight: 400; }

/* ---------- Cinematic wide image ---------- */
.cinema { position: relative; margin: 0 auto; max-width: 1100px; }
.cinema__btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
  outline: 1px solid rgba(180, 143, 85, .45); outline-offset: 12px;
}
.cinema__btn img { width: 100%; height: auto; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); }
.cinema__btn:hover img { transform: scale(1.02); }
.cinema figcaption { margin-top: 26px; text-align: right; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--muted-light); }
.cinema__text { max-width: 760px; margin: clamp(36px, 5vw, 56px) auto 0; text-align: center; }
.cinema__text .btn-row { justify-content: center; }
@media (max-width: 600px) {
  .cinema__btn { outline-offset: 6px; }
  .cinema figcaption { text-align: center; margin-top: 20px; }
}

/* ---------- Advice teaser / CTA band ---------- */
.band {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }
.band__card {
  position: relative; overflow: hidden;
  padding: 40px 36px; border-radius: var(--radius);
  background: var(--ink); color: var(--white);
}
.band__big { font-family: var(--serif); font-size: clamp(4.5rem, 10vw, 7.5rem); line-height: .9; color: var(--gold-light); }
.band__card p { color: var(--muted-light); margin: 10px 0 0; }

.preview-list { list-style: none; padding: 0; margin: 0 0 30px; counter-reset: pv; }
.preview-list li { counter-increment: pv; display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.preview-list li::before { content: counter(pv, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--gold); line-height: 1.65; }
.preview-list li > span { min-width: 0; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.epigraph {
  position: relative; margin: 0; padding: 8px 0 8px 34px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45;
}
.epigraph cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Video (YouTube lite) ---------- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }
.video-card h3 { margin: 18px 0 6px; font-size: 1.25rem; }
.video-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.section--dark .video-card p, .section--dark2 .video-card p { color: var(--muted-light); }

.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: var(--ink-3) center / cover no-repeat;
}
.yt > button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .45)); transition: opacity .3s; pointer-events: none; }
.yt:hover::before { opacity: .6; }
.yt.is-playing::before { display: none; }
.yt__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(125, 31, 44, .92); color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), background .3s;
}
.yt__play svg { width: 26px; height: 26px; margin-left: 4px; }
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.08); background: var(--burgundy-2); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Local video with fallback */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__fallback {
  position: absolute; inset: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(125, 31, 44, .35), transparent 65%),
    var(--ink);
  color: var(--white); text-decoration: none;
}
.player__fallback strong { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 600; }
.player__fallback span { color: var(--muted-light); font-size: .95rem; }
.player__fallback .yt__play { position: static; transform: none; }
.player.is-fallback video { display: none; }
.player.is-fallback .player__fallback { display: flex; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 38px; padding: 0 0 34px; }
.timeline li::before {
  content: ""; position: absolute; left: 114px; top: 9px; width: 9px; height: 9px;
  background: var(--paper); border: 1px solid var(--gold); transform: rotate(45deg);
}
.timeline__year { font-family: var(--serif); font-size: 1.15rem; color: var(--burgundy); text-align: right; line-height: 1.5; }
.timeline h3 { font-size: 1.2rem; margin: 0 0 4px; }
.timeline p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 600px) {
  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 30px; }
  .timeline li::before { left: 0; }
  .timeline__year { text-align: left; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--ink); padding: 32px 26px; }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-light); line-height: 1; margin-bottom: 12px; }
.stat__label { color: var(--muted-light); font-size: .93rem; line-height: 1.45; }

/* ---------- Gallery / lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.gallery__item { margin: 0; }
.gallery__btn {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); cursor: zoom-in; overflow: hidden;
}
.gallery__btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.gallery__btn:hover img { transform: scale(1.04); }
.gallery__item figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.gallery__item figcaption a { color: var(--burgundy); }

.photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.photos .gallery__btn img { aspect-ratio: auto; height: 100%; object-fit: cover; }
.photos > :first-child { grid-row: span 2; }
@media (max-width: 760px) { .photos { grid-template-columns: 1fr; } .photos > :first-child { grid-row: auto; } }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(8, 11, 18, .92); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 60px 16px 24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 100px); object-fit: contain; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-light); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Article (service pages) ---------- */
.article { font-size: 1.06rem; }
.article h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin-top: 1.8em; }
.article h3 { margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article ul li::marker { color: var(--gold); }
.article ol li::marker { color: var(--burgundy); font-family: var(--serif); font-weight: 600; }
.article a { color: var(--burgundy); }
.article blockquote {
  margin: 1.8em 0; padding: 22px 28px; background: var(--white); border-left: 3px solid var(--burgundy);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5;
}
.article .note {
  margin: 2em 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  font-size: .98rem;
}
.article .note strong { color: var(--burgundy); }
.article .sign { font-family: var(--serif); font-style: italic; color: var(--muted); margin-top: 2em; }
.article .yt { margin: 1.6em 0; }

.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 28px 26px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.aside-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.aside-card p { color: var(--muted-light); font-size: .95rem; }
.aside-card .btn { width: 100%; }
.aside-card--light { background: var(--white); color: var(--text); border: 1px solid var(--line); }
.aside-card--light p { color: var(--muted); }
.aside-card--light .btn--ghost { color: var(--ink); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 64px; }
.pager a { display: block; padding: 24px 26px; background: var(--white); text-decoration: none; transition: background .25s; }
.pager a:hover { background: var(--paper-2); }
.pager small { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pager span { font-family: var(--serif); font-size: 1.15rem; line-height: 1.3; }
.pager a:last-child { text-align: right; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager a:last-child { text-align: left; } }

/* ---------- Checklist (advice) ---------- */
.checklist-tools {
  position: sticky; top: var(--header-h); z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0; margin-bottom: 18px;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.progress { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: var(--muted); flex: 1; min-width: 220px; }
.progress__bar { flex: 1; max-width: 240px; height: 4px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; background: var(--burgundy); transition: width .4s var(--ease); }
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--text);
  font-size: .85rem; cursor: pointer;
}
.tool-btn:hover { border-color: var(--gold); }

.checklist { list-style: none; margin: 0; padding: 0; }
.check {
  display: grid; grid-template-columns: 54px 1fr 32px; gap: 16px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.check__num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.1; color: var(--gold); }
.check__text { margin: 0; }
.check__text strong { font-weight: 600; }
.check__box { position: relative; width: 28px; height: 28px; margin-top: 2px; }
.check__box input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.check__box span {
  pointer-events: none; display: grid; place-items: center; width: 28px; height: 28px;
  border: 1.5px solid var(--muted-light); border-radius: 50%; color: transparent; transition: all .25s var(--ease);
}
.check__box span svg { width: 14px; height: 14px; }
.check__box input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.check__box input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.check.is-done .check__text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(125, 31, 44, .4); }
@media (max-width: 560px) { .check { grid-template-columns: 40px 1fr 30px; gap: 10px; } .check__num { font-size: 1.3rem; } }

/* ---------- Footer / contacts ---------- */
.footer { background: var(--ink); color: var(--white); padding: clamp(72px, 9vw, 110px) 0 36px; }
.contact-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.contact-head p { color: var(--muted-light); }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
@media (max-width: 680px) { .contacts { grid-template-columns: 1fr; } }
.contact {
  display: flex; align-items: center; gap: 20px;
  padding: 26px 28px; border: 1px solid var(--line-light); border-radius: var(--radius);
  text-decoration: none; color: inherit;
  transition: border-color .3s, background .3s;
}
.contact:hover { border-color: var(--gold); background: rgba(180, 143, 85, .06); }
.contact__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--burgundy); }
.contact__icon svg { width: 24px; height: 24px; }
.contact small { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 2px; }
.contact strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; word-break: break-word; }
.contact em { display: block; font-style: normal; font-size: .88rem; color: var(--muted-light); margin-top: 2px; }

.footer__bottom {
  margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--muted-light);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { color: var(--muted-light); text-decoration: none; }
.footer__nav a:hover { color: var(--gold-light); }

/* Floating Telegram button */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--burgundy); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
  transform: translateY(120px); transition: transform .4s var(--ease), background .25s;
}
.fab.is-visible { transform: none; }
.fab:hover { background: var(--burgundy-2); }
.fab svg { width: 26px; height: 26px; }
@media (max-width: 1020px) { .fab { display: none; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Print (advice checklist) ---------- */
@media print {
  .header, .fab, .footer, .checklist-tools, .player, .page-head__bg, .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-head { background: #fff; color: #000; padding: 0 0 16px; }
  .page-head::after { display: none; }
  .page-head .lead { color: #333; }
  .section { padding: 12px 0; }
  .check { padding: 8px 0; break-inside: avoid; }
  .js .reveal { opacity: 1; transform: none; }
}
