/* Светлана Байкина — howtofeelwow.com */
/* Дизайн-система: тёмный шалфей + терракота на тёплом белом.
   Шрифты: Cormorant Garamond — заголовки, PT Serif — длинный текст, PT Sans — интерфейс и метки. */
:root {
  --ground: #FDFAF7;      /* тёплый белый — основной фон */
  --surface: #F7F3EE;     /* крем — карточки и секции */
  --ink: #2C2C2C;         /* основной текст */
  --muted: #7A7068;       /* вспомогательный текст */
  --line: #DDD5CA;        /* линии и рамки */
  --accent: #3D5247;      /* тёмный шалфей — кнопки, акцентные блоки */
  --accent-ink: #FDFAF7;
  --sage: #6B8C7D;        /* шалфей — вторичные элементы */
  --sage-light: #A8C4B8;
  --ochre: #B8704A;       /* терракота — выделения и котики */
  --terra-light: #D4956E;
  --deep: #3D5247;
  --deep-ink: #FDFAF7;
  --deep-muted: #C3D3CB;
  --display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --serif: "PT Serif", "Georgia", serif;
  --text: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #1B201D; --surface: #222824; --ink: #EDE7DF; --muted: #A99F95;
    --line: #38403B; --accent: #A8C4B8; --accent-ink: #1B201D; --sage: #8FB0A1; --sage-light: #5E7A6D;
    --ochre: #D4956E; --terra-light: #E0AE8C; --deep: #2A3830; --deep-ink: #EDE7DF; --deep-muted: #A9BDB3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #1B201D; --surface: #222824; --ink: #EDE7DF; --muted: #A99F95;
  --line: #38403B; --accent: #A8C4B8; --accent-ink: #1B201D; --sage: #8FB0A1; --sage-light: #5E7A6D;
  --ochre: #D4956E; --terra-light: #E0AE8C; --deep: #2A3830; --deep-ink: #EDE7DF; --deep-muted: #A9BDB3;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16.5px/1.7 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
h1, h2, h3 { font-weight: 300; margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); letter-spacing: -0.01em; }
h1 em, h2 em, .cta__title em { font-style: italic; color: var(--accent); }
h1 em.t, h2 em.t, .cta__title em.t { color: var(--ochre); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(2.1rem, 3.8vw, 2.8rem); line-height: 1.12; }
h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; line-height: 1.2; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 28px; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; } }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.eyebrow, .label, dt { font-family: var(--text); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.eyebrow { color: var(--ochre); letter-spacing: 0.22em; }
.eyebrow::before { content: ""; display: inline-block; width: 32px; height: 1px; background: var(--ochre); vertical-align: middle; margin-right: 12px; transform: translateY(-3px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-family: var(--text); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 15px 28px; border: 1px solid var(--accent); border-radius: 0; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--ochre); border-color: var(--ochre); color: #FDFAF7; }
.btn--small { padding: 9px 18px; font-size: 0.72rem; background: transparent; color: var(--accent); }
.btn--small:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.link { color: var(--sage); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; font-size: 0.95rem; }
.link:hover { color: var(--ochre); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 32px; min-height: 74px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand__name { font-family: var(--display); font-weight: 300; font-size: 1.45rem; letter-spacing: 0.02em; color: var(--accent); }
.brand__name em { font-style: italic; color: var(--ochre); }
.brand__tag { font-size: 0.64rem; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); opacity: .72; }
.nav a:hover { color: var(--ochre); opacity: 1; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 88px; padding-block: 88px 72px; align-items: center; }
.hero__text { max-width: 36rem; }
.hero__title { font-size: clamp(3.1rem, 7vw, 5.6rem); line-height: 1.0; letter-spacing: -0.015em; }
.hero .lede { font-size: 1.08rem; line-height: 1.8; max-width: 26em; }
.hero__text { display: flex; flex-direction: column; gap: 30px; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 6px; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 0; margin-top: 40px; margin-bottom: 64px; padding-block: 22px; border-block: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding-inline: 20px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 300; font-size: 1.9rem; line-height: 1.1; color: var(--ochre); font-variant-numeric: lining-nums; }
.facts dd span { display: block; font-family: var(--text); font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero__photo { max-width: 400px; margin-right: 18px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; margin-top: 16px; margin-bottom: 48px; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Schemas — тёмная полоса */
.schemas { background: var(--deep); color: var(--deep-ink); padding-block: 128px; }
.schemas .eyebrow, .schemas .label { color: var(--deep-muted); }
.schemas__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
.schemas__text { display: flex; flex-direction: column; gap: 22px; }
.schemas__text p:last-child { color: var(--deep-muted); }
.schemas__quotes { display: flex; flex-direction: column; gap: 14px; }
.schemas__quotes ul { list-style: none; padding: 0; }
.schemas__quotes li { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; padding-block: 16px; border-bottom: 1px solid color-mix(in srgb, var(--deep-ink) 16%, transparent); }
.schemas__quotes .qm { color: var(--terra-light); }
.schemas .eyebrow { color: var(--terra-light); }
.schemas .eyebrow::before { background: var(--terra-light); }
.schemas .deco-cat, .schemas .cat { color: var(--sage-light); }
.schemas h2 em { color: var(--sage-light); }
.schemas h2 em.t { color: var(--terra-light); }
.schemas__after { margin-top: 12px; color: var(--deep-muted); max-width: 34em; }
@media (max-width: 880px) { .schemas { padding-block: 60px; } .schemas__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Sections */
.section { padding-block: 128px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 72px; }
.section > :not(.section__head) { grid-column: 2; }
.section__head { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.section + .section { border-top: 1px solid var(--line); }
@media (max-width: 880px) { .section { grid-template-columns: 1fr; padding-block: 60px; } .section > :not(.section__head) { grid-column: 1; } }

/* Запросы — сетка карточек через тонкие линии, первая карточка тёмная */
.req-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.req-grid li { background: var(--ground); display: flex; }
.req-grid a { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 24px; text-decoration: none; font-family: var(--display); font-size: 1.4rem; line-height: 1.2; transition: background .2s; }
.req-grid a::after { content: "→"; font-family: var(--text); font-size: 0.9rem; color: var(--ochre); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.req-grid a:hover { background: var(--surface); }
.req-grid a:hover::after { opacity: 1; transform: none; }
.req-grid li:first-child a { background: var(--deep); color: var(--deep-ink); }
.req-grid li:first-child a::after { color: var(--terra-light); opacity: 1; transform: none; }
.req-grid li:first-child a:hover { background: color-mix(in srgb, var(--deep) 88%, #000); }
@media (max-width: 640px) { .req-grid { grid-template-columns: 1fr; } .req-grid a { padding: 16px 18px; font-size: 1.3rem; } }

/* Session */
.session__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: start; }
.session__text { font-family: var(--serif); font-size: 1rem; line-height: 1.85; color: var(--muted); }
.session__things { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); }
.session__things ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.session__things li { padding-left: 20px; position: relative; font-size: 0.95rem; }
.session__things li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; background: var(--ochre); border-radius: 50%; }
.session__body .link { grid-column: 1; justify-self: start; }
@media (max-width: 720px) { .session__body { grid-template-columns: 1fr; } }

/* Process timeline */
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 34px; }
.timeline__dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--ground); border: 1.5px solid var(--accent); }
.timeline li:first-child .timeline__dot { background: var(--ochre); border-color: var(--ochre); }
.timeline h3 { font-size: 1.5rem; }
.timeline p { color: var(--muted); font-size: 0.95rem; }
.duration { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.duration div { display: flex; flex-direction: column; gap: 4px; }
.duration dt { font-family: var(--display); font-weight: 300; font-size: 2.3rem; line-height: 1.05; letter-spacing: 0; text-transform: none; color: var(--ochre); }
.duration dd { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding-top: 0; padding-left: 36px; }
}

/* Quote band */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border-block: 1px solid var(--line); }
.quote__photo img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; object-position: 30% 40%; }
.quote__text { align-self: center; padding: 64px clamp(24px, 6vw, 88px); display: flex; flex-direction: column; gap: 26px; max-width: 640px; }
.quote__text p { font-family: var(--display); font-style: italic; font-weight: 300; color: var(--accent); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.3; text-wrap: balance; }
.quote__text .qm { color: var(--ochre); }
.nw { white-space: nowrap; }
.quote__text footer { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 800px) { .quote { grid-template-columns: 1fr; } .quote__photo img { aspect-ratio: 4 / 3; max-height: none; } .quote__text { padding: 40px 16px; } }

/* About */
.about__body { display: flex; flex-direction: column; gap: 44px; }
.about__questions { font-family: var(--display); font-weight: 300; font-size: clamp(1.55rem, 2.8vw, 2.1rem); line-height: 1.38; color: var(--muted); }
.about__questions span { color: var(--ink); font-style: italic; }
.about__questions span:nth-child(even) { color: var(--sage); }
.about__cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 16px; font-family: var(--serif); font-size: 1rem; line-height: 1.85; }
.about__links { display: flex; flex-wrap: wrap; gap: 14px 28px; padding-top: 8px; }
@media (max-width: 760px) { .about__cols { grid-template-columns: 1fr; } }

/* Booking */
.booking { background: var(--surface); border-block: 1px solid var(--line); padding-block: 128px; }
.booking__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; }
.booking__head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; }
.booking__info { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices th, .prices td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices tr:first-child > * { border-top: 1px solid var(--line); }
.prices th { text-align: left; font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
.prices td { text-align: right; font-family: var(--display); font-weight: 300; font-size: 2rem; line-height: 1.1; color: var(--ochre); }
.prices span { display: block; font-family: var(--text); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
.how-to-book { padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.how-to-book li::marker { color: var(--ochre); font-weight: 600; }
.note { border-left: 2px solid var(--ochre); padding: 4px 0 4px 16px; font-size: 0.95rem; }
.note a, .booking__info .small a { color: var(--accent); }
.cal { width: 100%; min-height: 560px; border: 1px solid var(--line); background: var(--ground); overflow: auto; }
@media (max-width: 880px) {
  .booking { padding-block: 60px; }
  .booking__grid { grid-template-columns: 1fr; }
  .zoom { max-width: 320px; }
  .hero__photo { max-width: 380px; }
}

/* Principles & docs */
.principles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principles li { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; background: var(--ground); }
.principles p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.docs { list-style: none; padding: 0; margin-top: 40px; display: flex; flex-direction: column; }
.docs li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 24px; padding-block: 16px; border-top: 1px solid var(--line); }
.docs li + li { border-top-color: var(--line); }
.docs a { font-family: var(--display); font-size: 1.45rem; line-height: 1.2; text-decoration: none; }
.docs a::after { content: " →"; color: var(--ochre); }
.docs a:hover { color: var(--ochre); }
.docs span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 640px) { .principles { grid-template-columns: 1fr; } .docs li { grid-template-columns: 1fr; } }

/* Document pages */
.doc { padding-block: 56px 96px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 72px; max-width: 880px; }
.doc--toc, .doc--photos { max-width: 1180px; grid-template-columns: minmax(0, 3.2fr) minmax(0, 8fr); }
.doc__head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid var(--line); max-width: 820px; }
.doc__toc, .doc__photos { grid-column: 1; align-self: start; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.doc__toc { display: flex; flex-direction: column; gap: 12px; font-size: 0.93rem; }
.doc__toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--line); }
.doc__toc a { display: block; padding-left: 14px; text-decoration: none; color: var(--muted); }
.doc__toc a:hover { color: var(--ink); box-shadow: inset 2px 0 0 var(--ochre); }
.doc__photos { display: flex; flex-direction: column; gap: 40px; padding-top: 60px; }
.doc__body, .doc--toc .doc__cta, .doc--photos .doc__cta { grid-column: -2; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 42em; font-family: var(--serif); font-size: 1rem; line-height: 1.85; }
.prose h2 { font-size: 2rem; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 9px; }
.prose li::marker { color: var(--ochre); }
.prose a { color: var(--sage); text-underline-offset: 3px; }
.prose em { color: var(--muted); }
.doc__cta { margin-top: 64px; padding: 40px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 42em; }
.doc__cta-title { font-family: var(--display); font-weight: 300; font-size: 2.1rem; line-height: 1.15; }
.doc__cta p:not(.doc__cta-title) { color: var(--muted); font-size: 0.95rem; }
.certs { list-style: none; padding: 0 !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px !important; }
.certs li { display: flex; flex-direction: column; gap: 10px; }
.certs li::marker { content: ""; }
.certs a { display: block; border: 1px solid var(--line); background: var(--surface); padding: 8px; transition: border-color .2s; }
.certs a:hover { border-color: var(--ochre); }
.certs img { width: 100%; aspect-ratio: 1.41; object-fit: contain; }
.certs span { font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 880px) {
  .doc, .doc--toc, .doc--photos { grid-template-columns: 1fr; padding-top: 36px; }
  .doc__toc, .doc__photos { position: static; margin-bottom: 36px; }
  .doc__photos { flex-direction: row; gap: 20px; padding-top: 56px; }
  .doc__photos .frame { flex: 1; }
  .doc__body, .doc--toc .doc__cta, .doc--photos .doc__cta { grid-column: 1; }
}
@media (max-width: 520px) { .certs { grid-template-columns: 1fr; } }

/* Requests page */
.req-page { padding-block: 56px 96px; display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 8fr); gap: 0 72px; }
.req-page__head { grid-column: 1 / -1; }
.req-index { align-self: start; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.req-index ol { list-style: none; padding: 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; font-size: 0.9rem; }
.req-index a { display: block; padding-left: 14px; text-decoration: none; color: var(--muted); }
.req-index a:hover { color: var(--ink); box-shadow: inset 2px 0 0 var(--ochre); }
.req-list { display: flex; flex-direction: column; }
.req { padding-block: 44px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.req:first-child { border-top: 0; padding-top: 0; }
.req__intro { font-family: var(--serif); font-size: 1rem; line-height: 1.85; max-width: 40em; }
.req__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.req__cols .label { margin-bottom: 12px; }
.req__signs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.96rem; }
.req__signs li { padding-left: 20px; position: relative; }
.req__signs li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; background: var(--ochre); border-radius: 50%; }
.req__help { background: var(--surface); border: 1px solid var(--line); padding: 20px 22px; }
@media (max-width: 880px) {
  .req-page { grid-template-columns: 1fr; padding-top: 36px; }
  .req-index { position: static; margin-bottom: 36px; }
  .req-index ol { display: block; columns: 2; column-gap: 16px; }
  .req-index li { break-inside: avoid; padding-block: 3px; }
  .req__cols { grid-template-columns: 1fr; }
}

/* Footer */
.foot { background: var(--deep); color: var(--deep-ink); padding-block: 56px 32px; font-size: 0.94rem; }
.foot .label { color: var(--deep-muted); margin-bottom: 4px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.foot__grid > * { display: flex; flex-direction: column; gap: 8px; }
.foot__id p:last-child { color: var(--deep-muted); max-width: 22em; }
.foot__grid a { text-decoration: none; color: var(--deep-ink); overflow-wrap: anywhere; }
.foot__grid a:hover { color: var(--terra-light); }
.foot__name { font-family: var(--display); font-weight: 300; font-size: 1.7rem; }
.foot__legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--deep-ink) 16%, transparent); font-size: 0.8rem; color: var(--deep-muted); }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }


/* Фото в рамке «как в Zoom» */
.frame { display: flex; flex-direction: column; gap: 12px; position: relative; }
.frame__screen { position: relative; }
.frame__screen img { width: 100%; object-fit: cover; border-radius: 14px; }
.frame__tag { position: absolute; left: 12px; bottom: 12px; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3; color: #F2F1EC; background: rgba(17, 18, 16, .66); padding: 3px 8px; border-radius: 3px; }
.frame__tag--r { left: auto; right: 12px; font-variant-numeric: tabular-nums; }
.frame figcaption { font-size: 0.86rem; color: var(--muted); max-width: 32em; }
.frame__cat { position: absolute; z-index: 1; pointer-events: none; }
.frame__cat .cat, .deco-cat .cat { width: 100%; }

/* Котик на рамке: выглядывает сверху */
.frame--peeking { padding-top: 34px; }
.frame--peeking .frame__cat { top: -41px; right: 22px; width: 78px; }
/* Спит на верхнем краю фото */
.frame--sleeping-edge { padding-top: 54px; }
.frame--sleeping-edge .frame__cat { top: -55px; right: 14px; width: 110px; }
/* Машет лапкой из-за фото */
.frame--peek-wave { padding-top: 48px; }
.frame--peek-wave .frame__cat { top: -49px; right: 18px; width: 96px; }

/* Котики в разделах без фото */
.deco-cat { display: block; color: var(--accent); pointer-events: none; }
.deco-cat--thinking { width: 150px; margin-top: 24px; }
.deco-cat--scroll { width: 128px; margin-top: 20px; }
.deco-cat--yarn { width: 140px; margin-top: 20px; }
.deco-cat--stairs { width: 120px; margin-top: 20px; }
.deco-cat--padlock { width: 104px; margin-top: 20px; }
@media (max-width: 880px) {
  .deco-cat--stairs { width: 96px; margin-top: 8px; }
  .deco-cat--scroll { width: 104px; margin-top: 8px; }
  .deco-cat--yarn { width: 114px; margin-top: 8px; }
  .deco-cat--padlock { width: 84px; margin-top: 8px; }
}

/* Котик в плашке «Первая встреча» */
.doc__cta { position: relative; padding-right: 140px; }
.doc__cta-cat { position: absolute; right: 26px; bottom: 24px; width: 92px; }
.doc__cta-cat .cat { width: 100%; }
@media (max-width: 520px) {
  .doc__cta { padding-right: 30px; padding-bottom: 110px; }
  .doc__cta-cat { width: 80px; }
}
.cat { display: block; color: var(--accent); height: auto; overflow: visible; }

/* Вопросы и ответы */
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-block: 18px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--ochre); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover h3 { color: var(--ochre); }
.faq__item h3 { font-size: 1.5rem; }
.faq__item p { padding-bottom: 22px; color: var(--muted); max-width: 44em; font-family: var(--serif); line-height: 1.8; }
.deco-cat--question { width: 96px; margin-top: 20px; }
@media (max-width: 880px) { .deco-cat--question { width: 80px; margin-top: 8px; } }

/* ——— Главная в стиле концепта ——— */
.trust { list-style: none; padding: 26px 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px 0; border-block: 1px solid var(--line); }
.trust li { flex: 1 1 200px; display: flex; align-items: center; gap: 14px; padding-inline: 28px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust__num { font-family: var(--display); font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--ochre); white-space: nowrap; }
.trust__label { font-size: 0.8rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 720px) { .trust li { flex-basis: 45%; padding-inline: 0 12px; border-left: 0; } .trust__num { font-size: 2rem; } }

.schemas__text > p:not(.eyebrow) { font-family: var(--serif); line-height: 1.85; max-width: 26em; }

.services { padding-block: 128px 0; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.services__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.services__note { font-size: 0.85rem; color: var(--muted); max-width: 15rem; line-height: 1.6; }
.svc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc a { display: flex; flex-direction: column; height: 100%; padding: 44px 40px; background: var(--ground); text-decoration: none; transition: background .2s; }
.svc a:hover { background: var(--surface); }
.svc__num { font-family: var(--display); font-weight: 300; font-size: 3.2rem; line-height: 1; color: var(--line); margin-bottom: 22px; }
.svc__name { font-size: 1.85rem; font-weight: 400; margin-bottom: 14px; }
.svc__desc { font-size: 0.9rem; line-height: 1.75; color: var(--muted); margin-bottom: 26px; max-width: 30em; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--line); color: var(--muted); }
.svc--featured a { background: var(--deep); color: var(--deep-ink); }
.svc--featured a:hover { background: color-mix(in srgb, var(--deep) 86%, #000); }
.svc--featured .svc__num { color: color-mix(in srgb, var(--deep-ink) 18%, transparent); }
.svc--featured .svc__desc { color: color-mix(in srgb, var(--deep-ink) 70%, transparent); }
.svc--featured .tag { border-color: color-mix(in srgb, var(--deep-ink) 28%, transparent); color: color-mix(in srgb, var(--deep-ink) 75%, transparent); }
.services__more { margin-top: 28px; }
@media (max-width: 720px) {
  .services { padding-top: 80px; }
  .services__head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .services__side { flex-direction: row-reverse; align-items: center; text-align: left; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc a { padding: 32px 24px; }
}

.approach { padding-block: 128px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; }
.approach__quote { position: relative; aspect-ratio: 1 / 1; max-height: 460px; background: linear-gradient(135deg, var(--surface) 0%, var(--sage-light) 100%); display: flex; align-items: center; justify-content: center; padding: 48px; }
.approach__quote p { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.35; color: var(--accent); text-align: center; text-wrap: balance; }
.approach__quote p::before { content: "“"; display: block; font-size: 5.5rem; line-height: 0.7; color: color-mix(in srgb, var(--accent) 30%, transparent); margin-bottom: 14px; }
.approach__quote .deco-cat { position: absolute; right: 28px; bottom: 22px; width: 118px; margin: 0; }
.approach__content { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.approach__text { font-family: var(--serif); line-height: 1.85; color: var(--muted); max-width: 30em; }
.methods { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.methods li { display: flex; align-items: center; gap: 14px; }
.methods li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ochre); flex: none; }
@media (max-width: 880px) { .approach { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 80px; } .approach__quote { aspect-ratio: auto; min-height: 320px; } }

.cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 140px 56px 64px; background: var(--surface); border: 1px solid var(--line); }
.cta__text { display: flex; flex-direction: column; gap: 12px; }
.cta__title { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.15; }
.cta__sub { font-size: 0.95rem; color: var(--muted); max-width: 28em; }
.cta__action { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta__note { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); }
.cta__cat { position: absolute; right: 36px; bottom: 0; width: 72px; }
.cta__cat .cat { width: 100%; }
.doc__cta-wrap { grid-column: -2; margin-top: 72px; }
.doc__cta-wrap .cta, .req-list .cta, .section-page__cta .cta { flex-direction: column; align-items: flex-start; padding: 44px 44px 96px; }
.doc__cta-wrap .cta__action, .req-list .cta__action { align-items: flex-start; }
.section-page__cta { padding-bottom: 96px; }
.section-page__cta .cta { flex-direction: row; align-items: center; padding: 56px 140px 56px 64px; }
.section-page > .section:first-child, .section-page > .approach:first-child { padding-top: 88px; }
.section-page h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.req-list .cta { margin-top: 48px; }
@media (max-width: 880px) {
  .cta, .section-page__cta .cta { flex-direction: column; align-items: flex-start; padding: 40px 28px 96px; }
  .cta__action { align-items: flex-start; }
  .cta__cat { right: 24px; width: 64px; }
  .doc__cta-wrap { grid-column: 1; }
}

.timeline p { font-size: 0.9rem; }
.about__cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about__text .about__questions { font-family: var(--display); font-weight: 300; font-size: clamp(1.5rem, 2.5vw, 1.95rem); line-height: 1.4; }
.about__text > p:not(.about__questions) { color: var(--muted); }
.docs-row { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 32px; }
.faq__item summary::after { color: var(--ochre); }
.quote__text p { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

.trust__num, .prices td, .duration dt, .svc__num, .facts dd { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.approach__quote { aspect-ratio: 5 / 4; max-height: none; width: 100%; }
@media (max-width: 760px) {
  .about__cols { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .about__rest { max-width: 420px; }
  .approach__quote { aspect-ratio: auto; padding: 44px 28px 120px; }
}

/* ——— Мобильное меню («бутерброд») ——— */
.burger { display: none; width: 44px; height: 44px; margin-left: 4px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; color: var(--accent); }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.top.is-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.top.is-open .burger span:nth-child(2) { opacity: 0; }
.top.is-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav a[aria-current="page"] { color: var(--ochre); opacity: 1; }
.nav__book { display: none; }
@media (max-width: 860px) {
  .burger { display: block; }
  .top .top__book { margin-left: auto; }
  .top .nav { display: none; }
  .top.is-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px 16px 24px; background: var(--ground); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -24px rgba(0,0,0,.25); max-height: calc(100vh - 80px); overflow-y: auto; }
  .top.is-open .nav a { font-family: var(--display); font-size: 1.6rem; letter-spacing: 0; text-transform: none; opacity: 1; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .top.is-open .nav .nav__book { display: block; align-self: stretch; margin: 20px 0 0; border: 1px solid var(--accent); text-align: center; font-family: var(--text); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 15px; border-bottom: 0; color: var(--accent-ink); }
}
@media (max-width: 400px) { .top .top__book { display: none; } .burger { margin-left: auto; } }

/* ——— Блог ——— */
.blog { padding-block: 56px 96px; }
.blog .doc__head { max-width: 820px; }
.posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.posts__item a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 36px 36px 32px; background: var(--ground); border: 1px solid var(--line); text-decoration: none; transition: background .2s, border-color .2s; }
.posts__item a:hover { background: var(--surface); border-color: var(--sage-light); }
.posts__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; margin-bottom: 8px; }
.posts__date { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ochre); }
.posts__title { font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.15; }
.posts__desc { font-size: 0.92rem; line-height: 1.7; color: var(--muted); }
.posts__more { margin-top: auto; padding-top: 8px; font-size: 0.9rem; color: var(--sage); }
.posts__empty { display: flex; align-items: center; gap: 24px; padding: 48px; background: var(--surface); border: 1px solid var(--line); font-family: var(--display); font-size: 1.6rem; font-weight: 300; }
.posts__empty .deco-cat { width: 110px; margin: 0; flex: none; }
.blog__cta { margin-top: 72px; }
.post__cover { grid-column: -2; margin-bottom: 40px; max-width: 42em; }
.post__cover img { width: 100%; border-radius: 14px; }
.post__back { grid-column: -2; margin-top: 48px; }
.post .eyebrow a { color: inherit; text-decoration: none; }
.prose img { border-radius: 14px; margin-block: 8px; }
@media (max-width: 720px) {
  .posts__item a { padding: 28px 22px; }
  .posts__empty { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .post__cover, .post__back { grid-column: 1; }
}
@media (max-width: 520px) { .hero .btn { padding: 14px 18px; font-size: 0.7rem; letter-spacing: 0.12em; } }
