/* psyrey.ru — оформление сайта. Шрифты подключаются из fonts.css */
:root {
  --paper: #f5f2ec;
  --paper-2: #ece7de;
  --card: #fbfaf7;
  --white: #fff;
  --ink: #1e2b32;
  --ink-2: #3a4a52;
  --muted: #5c6a72;
  --line: #dcd6cb;
  --slate: #4f6b79;
  --slate-2: #7c98a6;
  --mist: #dde6ea;
  --mist-2: #edf2f4;
  --deep: #1c2a31;
  --deep-2: #26373f;
  --clay: #ad5c3f;
  --clay-2: #94492f;
  --sand: #e3d7c3;
  --r: 20px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(30, 43, 50, .04), 0 14px 34px -14px rgba(30, 43, 50, .16);
  --shadow-lg: 0 2px 4px rgba(30, 43, 50, .05), 0 30px 60px -24px rgba(30, 43, 50, .28);
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 40px);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1;
}
body { position: relative; }
body.home::before { content: ''; position: absolute; top: 0; right: 0; width: min(980px, 100vw); height: 760px; background: radial-gradient(ellipse closest-side at 62% 42%, rgba(124, 152, 166, .34), rgba(124, 152, 166, 0)); pointer-events: none; z-index: -1; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--slate); color: #fff; }

h1, h2, h3, h4 { overflow-wrap: break-word; font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -.012em; color: var(--ink); }
h1 { font-size: clamp(46px, 6.6vw, 96px); }
h2 { font-size: clamp(34px, 4.3vw, 60px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.12; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--slate); font-weight: 500; }

.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - var(--gut) * 2); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--alt { background: var(--paper-2); }
.section--deep { background: var(--deep); color: #e6ecee; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep h2 em { color: var(--slate-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section--deep .eyebrow { color: var(--slate-2); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); }
.section--deep .lead { color: #c9d4d9; }
.muted { color: var(--muted); }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 4.5vw, 60px); flex-wrap: wrap; }
.head > div { max-width: 760px; }
.head p { margin: 18px 0 0; max-width: 620px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px;
  border-radius: 999px; font-weight: 500; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -12px rgba(173, 92, 63, .8); }
.btn--primary:hover { background: var(--clay-2); transform: translateY(-2px); }
.btn--dark { background: var(--deep); color: #fff; }
.btn--dark:hover { background: var(--slate); transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(30, 43, 50, .22); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); transform: translateY(-2px); }
.btn--line { border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); border-bottom: 1px solid rgba(30, 43, 50, .25); padding-bottom: 4px; transition: gap .25s, border-color .25s, color .25s; }
.more svg { width: 18px; height: 18px; }
.more:hover { gap: 16px; border-color: var(--clay); color: var(--clay); }
.section--deep .more { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
/* размытие вынесено в ::before: иначе шапка становится опорой для fixed-меню и оно не раскрывается на весь экран */
.header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(245, 242, 236, .84); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.header.is-stuck { border-color: rgba(30, 43, 50, .09); box-shadow: 0 10px 30px -22px rgba(30, 43, 50, .5); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand b { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.brand span { display: block; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); }
.nav a { font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(30, 43, 50, .18); align-items: center; justify-content: center; margin-left: auto; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .burger { display: inline-flex; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: var(--header) 0 0 0; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; padding: 20px var(--gut) 40px; overflow-y: auto; margin: 0; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav a { font-family: var(--serif); font-size: 32px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a::after { display: none; }
  .nav .nav__cta { display: flex; margin-top: 28px; border: 0; font-family: var(--sans); font-size: 16px; width: auto; color: #fff; padding: 0 28px; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .header::before { background: var(--paper); }
  .nav-open { overflow: hidden; }
}
@media (min-width: 1121px) { .nav .nav__cta { display: none; } }

/* ---------- первый экран ---------- */
.hero { padding: clamp(26px, 2.6vw, 36px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: 520px; height: 520px; left: -260px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 215, 195, .9), rgba(227, 215, 195, 0) 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero .lead { max-width: 560px; margin-bottom: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(30, 43, 50, .1); font-size: 14px; color: var(--ink-2); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.hero__photo { position: relative; justify-self: end; width: min(100%, 440px); }
.hero__photo .arch { border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--mist); box-shadow: var(--shadow-lg); }
.hero__photo .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__photo::before { content: ''; position: absolute; inset: -18px -18px auto auto; width: 62%; aspect-ratio: 1; border: 1px solid rgba(79, 107, 121, .45); border-radius: 50%; z-index: -1; }
.hero__note { position: absolute; left: -44px; bottom: 44px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 250px; display: flex; gap: 14px; align-items: center; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.hero__note svg { width: 40px; height: 40px; flex: none; padding: 10px; border-radius: 50%; background: var(--mist); color: var(--slate); }
.hero__note b { display: block; color: var(--ink); font-weight: 600; }
.hero__since { position: absolute; right: -14px; top: 26%; width: 112px; height: 112px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-content: center; text-align: center; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; box-shadow: var(--shadow-lg); }
.hero__since b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: 0; line-height: 1; margin: 2px 0; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(40px, 6vw, 76px); border-top: 1px solid var(--line); position: relative; z-index: 1; }
.fact { padding: 26px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { display: block; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 48px); font-weight: 500; line-height: 1; color: var(--ink); }
.fact span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.45; max-width: 220px; }

/* ---------- бегущая строка ---------- */
.ticker { background: var(--deep); color: #dfe7ea; overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { font-family: var(--serif); font-size: 24px; font-style: italic; white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.ticker span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--slate-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- услуги ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.service { background: var(--card); border: 1px solid rgba(30, 43, 50, .07); border-radius: var(--r); padding: 28px 26px 30px; position: relative; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background .35s; counter-increment: s; min-height: 230px; display: flex; flex-direction: column; }
.service::before { content: '0' counter(s); font-family: var(--serif); font-size: 20px; color: var(--slate-2); font-style: italic; margin-bottom: auto; padding-bottom: 28px; }
.service h3 { font-size: 26px; margin-bottom: 10px; }
.service p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.service:nth-child(1), .service:nth-child(6) { background: var(--mist); border-color: transparent; }
.service:nth-child(4) { background: var(--sand); border-color: transparent; }

/* ---------- как работаю ---------- */
.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.method__sticky { position: sticky; top: calc(var(--header) + 32px); }
.method h2 { margin-bottom: 26px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; counter-reset: p; }
.point { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .14); counter-increment: p; }
.point h3 { font-size: 24px; margin-bottom: 8px; display: flex; gap: 14px; align-items: baseline; }
.point h3::before { content: counter(p, decimal-leading-zero); font-size: 15px; font-family: var(--sans); color: var(--slate-2); font-weight: 500; letter-spacing: .05em; }
.point p { margin: 0; font-size: 15.5px; color: #b8c5cb; line-height: 1.55; padding-left: 34px; }

/* ---------- обо мне (блок) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__photo { position: relative; }
.about__photo img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow-lg); }
.about__photo::after { content: ''; position: absolute; left: -22px; bottom: -22px; width: 46%; height: 46%; border-radius: var(--r-lg); background: var(--sand); z-index: -1; }
.about h2 { margin-bottom: 22px; }
.checks { list-style: none; display: grid; gap: 12px; margin: 26px 0 32px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.6' fill='none' stroke='%234f6b79' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- цитата ---------- */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 980px; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.12; font-weight: 500; letter-spacing: -.012em; }
.quote blockquote em { color: var(--slate); }
.quote svg { width: 44px; height: 44px; color: var(--clay); margin: 0 auto 26px; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- формат и стоимость ---------- */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.format { background: var(--card); border-radius: var(--r); padding: 30px 28px; border: 1px solid rgba(30, 43, 50, .07); display: flex; flex-direction: column; gap: 12px; }
.format svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--mist); color: var(--slate); margin-bottom: 10px; }
.format p { margin: 0; color: var(--muted); font-size: 15.5px; }
.format b { margin-top: auto; padding-top: 18px; font-weight: 500; font-size: 15px; color: var(--ink); border-top: 1px solid var(--line); }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.term { border-radius: var(--r); padding: 26px 28px; background: var(--deep); color: #cfd9dd; }
.term b { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1; color: #fff; }
.term i { font-style: normal; font-size: 14px; margin-left: 8px; color: var(--slate-2); }
.term p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; }
.free { margin-top: 16px; border-radius: var(--r); background: var(--sand); padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.free p { margin: 0; font-size: 17px; max-width: 720px; }
.free b { font-family: var(--serif); font-size: 26px; font-weight: 600; display: block; line-height: 1.1; margin-bottom: 4px; }

/* ---------- карточки видео ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.vcard { display: block; text-align: left; width: 100%; }
.vcard__thumb { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--deep); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.vcard:hover .vcard__thumb img { transform: scale(1.05); opacity: .86; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--ink); transition: transform .3s, background .3s, color .3s; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); opacity: 0; }
.vcard:hover .vcard__play, .vcard:focus-visible .vcard__play { opacity: 1; }
.vcard__play svg { width: 22px; height: 22px; margin-left: 3px; }
.vcard:hover .vcard__play { transform: scale(1.1); background: var(--clay); color: #fff; }
.vcard__time { position: absolute; right: 8px; bottom: 8px; background: rgba(20, 30, 36, .78); color: #fff; font-size: 11.5px; font-weight: 500; line-height: 1; padding: 4px 6px; border-radius: 6px; }
.vcard h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: 0; margin: 14px 0 6px; transition: color .25s; }
.vcard:hover h3 { color: var(--clay); }
.vcard__meta { font-size: 13.5px; color: var(--muted); }
.vcard--big { grid-column: span 2; grid-row: span 2; }
.vcard--big h3 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin-top: 18px; }
.vcard--big .vcard__play { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
.vcard--big .vcard__play svg { width: 28px; height: 28px; }
.section--deep .vcard h3 { color: #fff; }
.section--deep .vcard__meta { color: #9fb0b8; }
.shorts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.vcard--short .vcard__thumb { aspect-ratio: 9 / 16; }
.vcard--short h3 { font-size: 14.5px; margin-top: 10px; }
.vcard--short .vcard__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.vcard--short .vcard__play svg { width: 18px; height: 18px; }

/* ---------- карточки текстов ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { background: var(--card); border: 1px solid rgba(30, 43, 50, .07); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; position: relative; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mist); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pcard__tag i { font-style: normal; display: inline-flex; align-items: center; gap: 5px; color: var(--clay); }
.pcard__tag i svg { width: 12px; height: 12px; }
.pcard h3 { font-size: 27px; transition: color .25s; }
.pcard:hover h3 { color: var(--clay); }
.pcard p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { margin-top: auto; padding-top: 14px; font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.pcard__foot svg { width: 20px; height: 20px; color: var(--ink); transition: transform .3s, color .3s; }
.pcard:hover .pcard__foot svg { transform: translateX(5px); color: var(--clay); }
.pcard--text { background: var(--card); }
.pcard--text .pcard__body { padding-top: 30px; }
.pcard--text::before { content: attr(data-letter); position: absolute; right: 14px; top: -22px; font-family: var(--serif); font-size: 150px; line-height: 1; font-style: italic; color: var(--mist); pointer-events: none; }
.pcard--text .pcard__body { position: relative; }
.pcard--text p { -webkit-line-clamp: 7; }
.pcard a.cover { position: absolute; inset: 0; z-index: 2; }
.pcard--wide { grid-column: span 2; flex-direction: row; }
.pcard--wide .pcard__img { flex: 1 1 52%; aspect-ratio: auto; min-height: 320px; }
.pcard--wide .pcard__body { flex: 1 1 48%; justify-content: center; padding: 36px; }
.pcard--wide h3 { font-size: clamp(30px, 3vw, 42px); }
.pcard--wide p { -webkit-line-clamp: 5; font-size: 16px; }

/* ---------- отзывы ---------- */
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--card); border-radius: var(--r); padding: 30px 28px; border: 1px solid rgba(30, 43, 50, .07); display: flex; flex-direction: column; gap: 18px; }
.review svg.q { width: 30px; height: 30px; color: var(--slate-2); }
.review p { margin: 0 0 .8em; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.review p:last-child { margin-bottom: 0; }
.review__who { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.review__who i { width: 40px; height: 40px; border-radius: 50%; background: var(--mist); color: var(--slate); display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 20px; font-weight: 600; flex: none; }
.review__who b { display: block; color: var(--ink); font-weight: 500; font-size: 15.5px; }
.reviews-all { columns: 2; column-gap: 20px; }
.reviews-all .review { break-inside: avoid; margin-bottom: 20px; }
.review__more { align-self: flex-start; font-size: 14.5px; font-weight: 500; color: var(--clay); border-bottom: 1px solid currentColor; }
.review.is-clamped .review__text { max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }

/* ---------- вопросы ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid rgba(30, 43, 50, .08); border-radius: 18px; overflow: hidden; transition: background .3s, box-shadow .3s; }
.faq details[open] { background: #fff; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); font-weight: 500; line-height: 1.2; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 10v10M10 15h10' stroke='%231e2b32' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/30px no-repeat; transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sand); }
.faq .faq__a { padding: 0 26px 24px; color: var(--ink-2); max-width: 820px; }
.faq .faq__a p:last-child { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.split__sticky { position: sticky; top: calc(var(--header) + 32px); }
.split__sticky h2 { margin-bottom: 20px; }

/* ---------- запись ---------- */
.cta { background: var(--deep); color: #dbe4e8; border-radius: var(--r-lg); padding: clamp(32px, 5.5vw, 76px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta::before { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 152, 166, .42), rgba(124, 152, 166, 0) 70%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: 18px; }
.cta h2 em { color: var(--slate-2); }
.cta p { color: #b9c6cc; max-width: 520px; }
.cta__phone { font-family: var(--serif); font-size: clamp(34px, 3.8vw, 52px); font-weight: 500; color: #fff; line-height: 1; display: inline-block; margin: 8px 0 22px; transition: color .25s; }
.cta__phone:hover { color: var(--slate-2); }
.cta__side { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); padding: 28px; }
.cta__side h3 { color: #fff; font-size: 24px; margin-bottom: 16px; }
.cta__side ul { list-style: none; display: grid; gap: 14px; }
.cta__side li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.45; color: #cfd9dd; }
.cta__side li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--slate-2); }
.cta__side a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- подвал ---------- */
.footer { background: var(--deep); color: #a9b8bf; padding: clamp(48px, 6vw, 80px) 0 28px; margin-top: clamp(64px, 9vw, 128px); font-size: 15px; }
.footer--flush { margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.footer .brand b { color: #fff; } .footer .brand span { color: #8fa1a9; }
.footer .brand img { background: #fff; border-radius: 50%; }
.footer p { margin: 18px 0 0; max-width: 300px; line-height: 1.6; }
.footer h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; color: #fff; transition: background .25s, border-color .25s, transform .25s; }
.footer__social a:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- внутренние страницы ---------- */
/* шапка страницы: полоса с «крошками» и подписью раздела, затем заголовок слева и пояснение справа */
.phead { padding: clamp(14px, 1.8vw, 22px) 0 0; }
.phead__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-bottom: clamp(14px, 1.8vw, 22px); margin-bottom: clamp(26px, 3.6vw, 48px); border-bottom: 1px solid var(--line); }
.phead__bar .eyebrow { margin: 0; }
.crumbs { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; min-height: 40px; padding: 0 18px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(30, 43, 50, .1); font-size: 13.5px; line-height: 1; color: var(--muted); }
.crumbs a { display: inline-flex; flex: none; align-items: center; gap: 7px; white-space: nowrap; color: var(--ink-2); transition: color .2s; }
.crumbs a:hover { color: var(--clay); }
.crumbs a svg { width: 15px; height: 15px; flex: none; color: var(--slate); }
.crumbs .sep { width: 12px; height: 12px; flex: none; opacity: .45; }
.crumbs span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 500; }
.phead__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-bottom: clamp(26px, 3.4vw, 44px); border-bottom: 1px solid var(--line); }
.phead h1 { font-size: clamp(40px, 5.4vw, 78px); }
.phead__side .lead { margin: 0; font-size: clamp(16.5px, 1.25vw, 18.5px); line-height: 1.6; }
.phead__side .btns { margin-top: 16px; flex-wrap: nowrap; }
.phead--narrow .phead__in { display: block; border-bottom: 0; padding-bottom: 0; }
.phead--narrow h1 { font-size: clamp(38px, 4.6vw, 64px); }
.phead--narrow .lead { margin: 18px 0 0; }
.phead + .section--tight, .phead + article.section--tight { padding-top: clamp(28px, 4vw, 52px); }
.phead--narrow + .section--tight, .phead--narrow + article.section--tight { padding-top: clamp(24px, 3vw, 36px); }
@media (max-width: 900px) { .phead__in { grid-template-columns: 1fr; align-items: start; gap: 14px; } }

.prose { font-size: 18.5px; line-height: 1.8; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-size: clamp(30px, 3vw, 42px); margin: 1.6em 0 .6em; }
.prose h3 { font-size: clamp(25px, 2.3vw, 32px); margin: 1.5em 0 .5em; }
.prose h4 { font-size: 24px; margin: 1.4em 0 .5em; }
.prose a { color: var(--clay); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--clay-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 0; list-style: none; display: grid; gap: .55em; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--slate-2); }
.prose ol { counter-reset: o; }
.prose ol li { position: relative; padding-left: 38px; counter-increment: o; }
.prose ol li::before { content: counter(o); position: absolute; left: 0; top: .2em; width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--slate); font-size: 13px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--clay); font-family: var(--serif); font-size: 1.32em; line-height: 1.4; color: var(--ink); font-style: italic; }
.prose blockquote p { margin: 0 0 .5em; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose img { border-radius: 18px; margin: 1.8em auto; }
.prose figure { margin: 1.8em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }
.prose--tale > p:first-of-type::first-letter { font-family: var(--serif); font-size: 4.3em; line-height: .8; float: left; padding: .08em .12em 0 0; color: var(--slate); font-weight: 500; }

.post__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 14.5px; color: var(--muted); margin-top: 20px; }
.post__meta a.tag:hover { color: var(--clay); }
.post__meta span { display: inline-flex; align-items: center; gap: 8px; }
.post__meta svg { width: 16px; height: 16px; }
.post__meta .tag { color: var(--slate); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
.post__cover { border-radius: var(--r-lg); overflow: hidden; margin: 0 0 clamp(32px, 5vw, 56px); box-shadow: var(--shadow); background: var(--mist); }
.post__cover img { width: 100%; max-height: 520px; object-fit: cover; object-position: 50% 22%; }
.post__cover--small { margin-inline: auto; }
.listen { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; background: var(--deep); color: #cfd9dd; border-radius: var(--r); padding: 18px; margin: 0 0 clamp(32px, 5vw, 52px); }
.listen .vcard__thumb { border-radius: 12px; }
.listen .vcard__play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.listen b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; color: #fff; line-height: 1.1; margin-bottom: 6px; }
.listen p { margin: 0; font-size: 15px; line-height: 1.5; }
.listen small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-2); font-weight: 600; margin-bottom: 8px; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--clay); transform: scaleX(0); transform-origin: left; z-index: 60; }
.author { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center; background: var(--paper-2); border-radius: var(--r); padding: 26px 28px; }
.author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; }
.author b { font-family: var(--serif); font-size: 26px; font-weight: 600; display: block; line-height: 1.1; }
.author p { margin: 6px 0 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pager a { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; transition: border-color .25s, background .25s; display: block; }
.pager a:hover { border-color: var(--ink); background: #fff; }
.pager small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pager b { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; }
.pager a:last-child { text-align: right; }

/* ---------- фильтры ---------- */
.tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: clamp(28px, 4vw, 44px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(30, 43, 50, .16); font-size: 15px; color: var(--ink-2); transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.chips button small { font-size: 12.5px; opacity: .6; }
.chips button:hover { border-color: var(--ink); color: var(--ink); }
.chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { position: relative; flex: 0 1 320px; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid rgba(30, 43, 50, .16); background: rgba(255, 255, 255, .7); padding: 0 18px 0 46px; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, background .2s; }
.search input:focus { outline: none; border-color: var(--slate); background: #fff; }
.search svg { position: absolute; left: 16px; top: 13px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.vsection { margin-bottom: clamp(48px, 6vw, 84px); }
.vsection__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.vsection__head h2 { font-size: clamp(30px, 3.2vw, 44px); }
.vsection__head p { margin: 0; color: var(--muted); font-size: 15.5px; }
.vsection__head span { margin-left: auto; font-size: 14px; color: var(--muted); }
.empty { display: none; padding: 60px 0; text-align: center; color: var(--muted); font-size: 18px; }
[hidden] { display: none !important; }

/* ---------- сертификаты ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { background: #fff; border-radius: 16px; padding: 12px 12px 16px; border: 1px solid rgba(30, 43, 50, .08); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.cert:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 10px; background: var(--paper-2); }
.cert span { font-size: 14px; line-height: 1.4; color: var(--ink-2); padding: 0 4px; overflow-wrap: anywhere; }
.certs > *, .pgrid > *, .vgrid > *, .shorts > *, .services > *, .rgrid > *, .formats > *, .terms > *, .contacts > *, .maps > *, .cols-2 > *, .about > *, .method > *, .split > *, .cta > *, .hero__grid > * { min-width: 0; }
.certs--row { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact { background: var(--card); border: 1px solid rgba(30, 43, 50, .07); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 8px; transition: transform .3s, box-shadow .3s, background .3s; }
a.contact:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: #fff; }
.contact svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--mist); color: var(--slate); margin-bottom: 12px; }
.contact small { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact b { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.contact span { font-size: 15px; color: var(--muted); }
.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.map { background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid rgba(30, 43, 50, .07); }
.map__info { padding: 22px 26px; }
.map__info b { font-family: var(--serif); font-size: 26px; font-weight: 500; display: block; line-height: 1.1; }
.map__info span { color: var(--muted); font-size: 15.5px; display: block; margin: 6px 0 12px; }
.map__frame { aspect-ratio: 16 / 10; background: var(--mist) center/cover; position: relative; }
.map__frame::before { content: 'Карта загружается…'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14.5px; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border-radius: var(--r); padding: 30px 30px 32px; background: var(--card); border: 1px solid rgba(30, 43, 50, .07); }
.panel--sand { background: var(--sand); border-color: transparent; }
.panel--mist { background: var(--mist); border-color: transparent; }
.panel h3 { margin-bottom: 16px; }
.panel .checks { margin: 0; }
.nolist { list-style: none; display: grid; gap: 10px; }
.nolist li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.nolist li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 14px; height: 1.5px; background: var(--clay); }

/* ---------- окна ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(16, 24, 29, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); overflow-y: auto; }
.modal.is-open { display: flex; }
.modal__box { width: min(1040px, 100%); margin: auto; }
.modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -30px #000; }
.modal__frame.is-short { aspect-ratio: 9 / 16; width: min(420px, 100%); margin-inline: auto; max-height: 82vh; }
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__info { color: #d5dee2; padding: 20px 4px 0; display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.modal__info h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); max-width: 720px; }
.modal__info p { margin: 10px 0 0; font-size: 15px; color: #a9b8bf; max-width: 720px; white-space: pre-line; max-height: 150px; overflow-y: auto; }
.modal__close { position: fixed; right: 18px; top: 18px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; z-index: 2; }
.modal__close:hover { background: var(--clay); transform: rotate(90deg); }
.modal__close svg { width: 22px; height: 22px; }
.modal__img { max-height: 90vh; width: auto; margin: auto; border-radius: 10px; box-shadow: 0 40px 100px -30px #000; }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__btn { width: 60px; height: 60px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(173, 92, 63, .9); transition: transform .3s, background .3s; }
.fab__btn:hover { transform: scale(1.06); background: var(--clay-2); }
.fab__btn svg { width: 26px; height: 26px; }
.fab__list { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.fab.is-open .fab__list { opacity: 1; visibility: visible; transform: none; }
.fab__list a { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); height: 46px; padding: 0 18px 0 14px; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: 15px; font-weight: 500; transition: transform .2s, background .2s; }
.fab__list a:hover { transform: translateX(-4px); background: var(--mist); }
.fab__list svg { width: 20px; height: 20px; color: var(--slate); }

/* ---------- появление ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-content: center; text-align: center; padding: 80px 0; }
.nf b { font-family: var(--serif); font-size: clamp(120px, 20vw, 240px); line-height: .8; color: var(--mist); font-weight: 500; font-style: italic; }
.nf h1 { font-size: clamp(34px, 4vw, 52px); margin: 20px 0 16px; }
.nf p { color: var(--muted); margin-bottom: 28px; }
.nf .btns { justify-content: center; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .shorts { grid-template-columns: repeat(4, 1fr); }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .hero__note { left: -12px; }
  .contacts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { justify-self: center; order: -1; width: min(78%, 360px); }
  .hero__note { left: -28px; bottom: 26px; }
  .hero__since { right: -22px; width: 96px; height: 96px; }
  .hero__since b { font-size: 28px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 26px; border-top: 1px solid var(--line); }
  .method, .about, .split, .cta { grid-template-columns: 1fr; }
  .method__sticky, .split__sticky { position: static; }
  .formats, .terms, .rgrid { grid-template-columns: 1fr; }
  .vgrid, .pgrid { grid-template-columns: 1fr 1fr; }
  .pcard--wide { grid-column: span 2; }
  .reviews-all { columns: 1; }
  .maps, .cols-2 { grid-template-columns: 1fr; }
  .author { grid-template-columns: 72px 1fr; }
  .author img { width: 72px; height: 72px; }
  .author .btn { grid-column: 1 / -1; justify-self: start; }
  .about__photo { order: -1; }
}
@media (max-width: 640px) {
  :root { --header: 66px; }
  .brand b { font-size: 20px; } .brand span { font-size: 10px; letter-spacing: .1em; } .brand img { width: 38px; height: 38px; }
  .services, .points, .vgrid, .pgrid { grid-template-columns: 1fr; }
  .vcard--big, .pcard--wide { grid-column: auto; grid-row: auto; }
  .pcard--wide { flex-direction: column; }
  .pcard--wide .pcard__img { min-height: 0; aspect-ratio: 3 / 2; flex: none; }
  .pcard--wide .pcard__body { padding: 24px 26px 26px; }
  .service { min-height: 0; }
  .shorts { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: 1fr 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .listen { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { text-align: left; }
  .prose { font-size: 17.5px; line-height: 1.75; }
  .hero__note { position: static; margin: 16px auto 0; max-width: none; }
  .hero__photo { width: min(86%, 340px); }
  .btn { min-height: 52px; padding: 0 24px; }
  .hero .btns .btn { flex: 1 1 100%; }
  .ticker span { font-size: 20px; gap: 30px; padding: 0 15px; }
  .point p { padding-left: 0; }
  .tools { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .search { width: 100%; }
  .search { flex: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .fab { right: 14px; bottom: 14px; }
  .fab__btn { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
@media print {
  .header, .footer, .fab, .ticker, .cta, .pager, .progress { display: none !important; }
  body { background: #fff; }
}


/* точка фокуса для каждой картинки: чтобы в кадре были головы и главное */
.pcard__img img[src*="06/-------------------."], .post__cover img[src*="06/-------------------."] { object-position: 50% 10%; }
.pcard__img img[src*="06/----------------."], .post__cover img[src*="06/----------------."] { object-position: 50% 0%; }
.pcard__img img[src*="06/----------------1."], .post__cover img[src*="06/----------------1."] { object-position: 50% 12%; }
.pcard__img img[src*="06/---------."], .post__cover img[src*="06/---------."] { object-position: 50% 0%; }
.pcard__img img[src*="05/4BB644BF-44A3-497E-AC19-355B6FDAE245."], .post__cover img[src*="05/4BB644BF-44A3-497E-AC19-355B6FDAE245."] { object-position: 50% 62%; }
.pcard__img img[src*="05/photo_2022-05-30-02.31.49."], .post__cover img[src*="05/photo_2022-05-30-02.31.49."] { object-position: 50% 60%; }
.pcard__img img[src*="10/photo_2022-10-24-15.42.11."], .post__cover img[src*="10/photo_2022-10-24-15.42.11."] { object-position: 50% 40%; }
.pcard__img img[src*="07/16281."], .post__cover img[src*="07/16281."] { object-position: 50% 45%; }
/* схема: целиком, без обрезки */
.pcard__img img[src*="81eeade888c4"], .post__cover img[src*="81eeade888c4"] { object-fit: contain; background: #fff; }
