/* ═══════════════════════════════════════════════════════════════════════
   RAGIMOFF · «НОКТЮРН» — дизайн новой версии сайта (по прототипу B).
   Единственный файл стилей: старые стили сайта НЕ подключаются.
   Содержимое страниц (тексты, фото, поля форм) приходит с боевого сайта,
   здесь — только вид: ночь, золото, антиква с курсивом, стекло, свет.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --n-bg: #07090E; --n-bg2: #0A0D14; --n-layer: #11141C; --n-gold: #C9A961; --n-gold2: #E2CC94;
  --n-milk: #F2EDE3; --n-text: #E3DDD1; --n-soft: #CFC8BB; --n-smoke: #A8A296;
  --n-line: rgba(242,237,227,.12); --n-line2: rgba(242,237,227,.22); --n-glass: rgba(242,237,227,.035);
  --n-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --n-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --n-read: 'Alegreya', Georgia, serif;   /* RAGIM Text (заместитель до файлов шрифта RAGIM) */
  --n-e: cubic-bezier(.2,.8,.2,1); --n-e2: cubic-bezier(.7,0,.2,1);
  --n-wrap: 1240px; --n-pad: clamp(18px, 4.5vw, 56px);
  --accent: #C9A961;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.n-body { margin: 0; background: var(--n-bg); color: var(--n-text); font: 400 16px/1.65 var(--n-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.n-body img { max-width: 100%; height: auto; }
.n-body a { color: var(--n-gold); text-decoration: none; transition: color .3s var(--n-e); }
.n-body a:hover { color: var(--n-gold2); }
.n-body ::selection { background: var(--n-gold); color: var(--n-bg); }
.n-body h1, .n-body h2, .n-body h3, .n-body h4 { margin: 0; font-weight: 400; }
.n-body p { margin: 0; }
.n-body strong, .n-body b { color: var(--n-milk); font-weight: 600; }
.n-wrap { max-width: var(--n-wrap); margin: 0 auto; padding: 0 var(--n-pad); }
.n-skip { position: absolute; left: -9999px; top: 0; z-index: 500; background: var(--n-gold); color: var(--n-bg) !important; padding: 12px 18px; border-radius: 0 0 12px 0; }
.n-skip:focus { left: 0; }
.n-grain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; opacity: .05; mix-blend-mode: screen; }
.n-body :focus-visible { outline: 2px solid var(--n-gold); outline-offset: 3px; }

/* ═══ header ═══ */
.n-head { position: fixed; top: 16px; left: 0; right: 0; z-index: 300; pointer-events: none; transition: transform .5s var(--n-e); }
.n-head-in { pointer-events: auto; max-width: 1380px; margin: 0 auto; width: calc(100% - 32px); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 20px; border-radius: 99px; background: rgba(12,15,22,.6); border: 1px solid var(--n-line); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); transition: background .4s; }
.n-head.is-scrolled .n-head-in { background: rgba(10,12,18,.88); }
.n-head.is-hidden { transform: translateY(-130%); }
.n-logo { display: flex; align-items: center; gap: 10px; color: var(--n-milk) !important; font: 500 17px/1 var(--n-serif); letter-spacing: .2em; white-space: nowrap; }
.n-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.n-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 99px; color: var(--n-text) !important; font: 500 13.5px/1 var(--n-sans); white-space: nowrap; }
.n-link:hover, .n-link.is-on, .n-dd.is-on > .n-link { color: var(--n-gold) !important; background: rgba(201,169,97,.08); }
.n-books { color: var(--n-gold2) !important; }
.n-dd { position: relative; }
.n-dd-panel { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 270px; padding: 10px; border-radius: 22px; background: rgba(12,15,22,.97); border: 1px solid var(--n-line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--n-e), transform .4s var(--n-e), visibility .3s; }
.n-dd:hover .n-dd-panel, .n-dd:focus-within .n-dd-panel, .n-dd.is-open .n-dd-panel { opacity: 1; visibility: visible; transform: none; }
.n-dd-panel a { padding: 11px 14px; border-radius: 12px; color: var(--n-text) !important; font: 500 14px/1.35 var(--n-sans); }
.n-dd-panel a:hover { background: rgba(201,169,97,.1); color: var(--n-gold) !important; }
.n-dd-panel .n-dd-hub { font: italic 400 21px/1.2 var(--n-serif); color: var(--n-gold) !important; border-bottom: 1px solid var(--n-line); border-radius: 12px 12px 0 0; margin-bottom: 4px; }
.n-head-r { display: flex; align-items: center; gap: 10px; }
.n-langs { display: flex; gap: 2px; padding: 3px; border-radius: 99px; border: 1px solid var(--n-line); }
.n-lang { min-width: 34px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; font: 600 11.5px/1 var(--n-sans); letter-spacing: .08em; color: var(--n-smoke) !important; }
.n-lang.is-on { background: var(--n-milk); color: var(--n-bg) !important; }
.n-cta { height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--n-gold); color: var(--n-bg) !important; font: 700 12.5px/1 var(--n-sans); letter-spacing: .08em; white-space: nowrap; transition: transform .5s cubic-bezier(.3,1.6,.5,1), box-shadow .5s; }
.n-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(201,169,97,.7); color: var(--n-bg) !important; }
.n-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--n-line2); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.n-burger i { display: block; width: 18px; height: 1.5px; background: var(--n-milk); transition: transform .4s var(--n-e); }
.n-burger[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.n-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.n-mob { position: fixed; inset: 0; z-index: 290; background: rgba(7,9,14,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--n-e2), visibility .7s; }
.n-mob.is-open { clip-path: inset(0); visibility: visible; }
.n-mob-in { padding: 104px 22px 48px; display: flex; flex-direction: column; gap: 6px; }
.n-m-big { display: block; padding: 6px 0; color: var(--n-milk) !important; font: 300 40px/1.1 var(--n-serif); }
.n-m-sub { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 4px 0 16px; border-bottom: 1px solid var(--n-line); margin-bottom: 8px; }
.n-m-sub a { color: var(--n-smoke) !important; font: 500 14px/1.6 var(--n-sans); }
.n-m-langs { display: flex; gap: 6px; margin-top: 20px; }
.n-m-langs .n-lang { height: 44px; min-width: 56px; border: 1px solid var(--n-line); }
@media (max-width: 1180px) { .n-nav { display: none; } .n-burger { display: inline-flex; } .n-logo { margin-right: auto; } }
@media (max-width: 560px) { .n-head-in { padding-left: 14px; gap: 8px; } .n-langs { display: none; } .n-cta { padding: 0 14px; font-size: 11px; } .n-logo span { font-size: 14px; letter-spacing: .14em; } }

/* ═══ first screens ═══ */
.n-hero { position: relative; min-height: min(88vh, 800px); display: flex; align-items: flex-end; padding: 150px 0 80px; overflow: hidden; isolation: isolate; background: var(--n-bg); }
.n-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 32%), rgba(201,169,97,.15), transparent 62%); }
.n-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,169,97,.4), transparent); }
.n-hero-bg { position: absolute; inset: 0; z-index: -2; }
.n-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5); animation: nZoom 2.6s var(--n-e) both; }
.n-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,14,.5), rgba(7,9,14,.96)), rgba(201,169,97,.14); }
@keyframes nZoom { from { transform: scale(1.18); } to { transform: scale(1.04); } }
.n-hero-in { position: relative; width: 100%; }
.n-crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; font: 500 12.5px/1 var(--n-sans); color: var(--n-smoke); }
.n-crumbs a { color: var(--n-smoke) !important; }
.n-crumbs a:hover { color: var(--n-gold) !important; }
.n-eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1.3 var(--n-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--n-gold); }
.n-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: 0 0 34px; }
.n-h1 { margin: 22px 0 0 !important; font: 300 clamp(48px, 7.2vw, 116px)/.92 var(--n-serif) !important; letter-spacing: -.025em; color: var(--n-milk); text-wrap: balance; }
.n-h1-a { display: block; }
.n-h1-b { display: block; font-style: italic; color: var(--n-gold); }
.n-lead { margin: 28px 0 0 !important; max-width: 620px; font: 400 clamp(16px, 1.35vw, 19px)/1.7 var(--n-sans); color: var(--n-soft); }
.n-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.n-btn, .n-body .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 99px; border: 1px solid transparent; font: 700 13.5px/1.2 var(--n-sans); letter-spacing: .05em; text-align: center; cursor: pointer; transition: transform .5s cubic-bezier(.3,1.6,.5,1), box-shadow .5s, background .3s, border-color .3s, color .3s; }
.n-btn, .n-body .btn-fill, .n-body button[type="submit"] { background: var(--n-gold); color: var(--n-bg) !important; border-color: var(--n-gold); }
.n-btn:hover, .n-body .btn-fill:hover, .n-body button[type="submit"]:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(201,169,97,.65); background: var(--n-gold2); color: var(--n-bg) !important; }
.n-btn-ghost, .n-body .btn-line, .n-body .btn:not(.btn-fill) { background: transparent; color: var(--n-milk) !important; border-color: var(--n-line2); }
.n-btn-ghost:hover, .n-body .btn-line:hover, .n-body .btn:not(.btn-fill):hover { border-color: var(--n-gold); color: var(--n-gold) !important; box-shadow: none; transform: translateY(-2px); background: transparent; }
.n-rise { animation: nRise 1.1s var(--n-e) both; animation-delay: var(--d, 0s); }
@keyframes nRise { from { opacity: 0; transform: translateY(34px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes nFloat { 50% { transform: translateY(-12px); } }
.n-hero-has-art { align-items: center; }
.n-hero-has-art .n-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.n-hero-has-art .n-h1 { font-size: clamp(44px, 6vw, 98px) !important; }
.n-hero-art { margin: 0; position: relative; }
.n-hero-art::before { content: ""; position: absolute; inset: 10% -8% -8% 10%; border-radius: 40px; background: radial-gradient(circle at 60% 40%, rgba(201,169,97,.3), transparent 65%); filter: blur(34px); z-index: -1; }
.n-hero-art img { display: block; width: 100%; height: auto; border-radius: 30px; animation: nFloat 10s ease-in-out 1.5s infinite; }
.n-hero-person .n-hero-art img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 999px 999px 30px 30px; filter: grayscale(1) contrast(1.05); transition: filter 1.2s; }
.n-hero-person .n-hero-art:hover img { filter: none; }
.n-hero-person .n-hero-art::after { content: ""; position: absolute; inset: 0; border-radius: 999px 999px 30px 30px; background: linear-gradient(180deg, rgba(201,169,97,.25), transparent 50%); mix-blend-mode: multiply; pointer-events: none; }
.n-hero-person .n-h1 { font-size: clamp(56px, 8vw, 132px) !important; }
@media (max-width: 900px) { .n-hero-has-art .n-hero-in { grid-template-columns: 1fr; } .n-hero-art { max-width: 440px; } .n-hero { padding-top: 130px; } }
/* painted first screen: full-bleed nocturne painting, subject on the right, headline over the dark left */
.n-hero-paint { min-height: min(94vh, 900px); }
.n-hero-paint .n-hero-bg { overflow: hidden; }
.n-hero-paint .n-hero-bg img { filter: saturate(1.04) brightness(.92); object-position: 72% 50%; transform-origin: 70% 45%; animation: nPaintIn 3.2s var(--n-e) both; will-change: transform; transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1.06)); }
.n-hero-paint .n-hero-bg::after { background:
  linear-gradient(90deg, rgba(7,9,14,.94) 0%, rgba(7,9,14,.78) 30%, rgba(7,9,14,.25) 62%, rgba(7,9,14,.05) 100%),
  linear-gradient(180deg, rgba(7,9,14,.55) 0%, transparent 22%, transparent 62%, var(--n-bg) 100%); }
.n-hero-paint::before { mix-blend-mode: screen; }
@keyframes nPaintIn { from { opacity: 0; transform: scale(1.22); filter: saturate(.4) brightness(.5) blur(8px); } to { opacity: 1; transform: scale(1.06); } }
@media (max-width: 900px) {
  .n-hero-paint { min-height: 92svh; }
  .n-hero-paint .n-hero-bg img { object-position: 66% 50%; }
  .n-hero-paint .n-hero-bg::after { background: linear-gradient(180deg, rgba(7,9,14,.35) 0%, rgba(7,9,14,.2) 30%, rgba(7,9,14,.86) 66%, var(--n-bg) 100%); }
}

.n-hero-home { min-height: 100vh; min-height: 100svh; align-items: center; padding: 120px 0 56px; }
.n-hh { position: relative; display: grid; justify-items: center; text-align: center; width: 100%; }
.n-hh .n-eyebrow { margin-bottom: 18px; }
.n-hh .n-eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.n-hh-title { margin: 0; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; font-weight: 300; }
.n-hh-a { display: block; font: 300 clamp(36px, 10.6vw, 190px)/.86 var(--n-serif); letter-spacing: -.035em; color: var(--n-milk); white-space: nowrap; }
.n-hh-a span { display: inline-block; animation: nLetter 1.2s var(--n-e) both; animation-delay: calc(.25s + var(--i) * .045s); }
@keyframes nLetter { from { opacity: 0; transform: translateY(60%); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.n-hh-b { position: relative; z-index: 3; display: block; margin-top: .04em; font: italic 300 clamp(34px, 7.4vw, 120px)/.95 var(--n-serif); color: var(--n-gold); text-shadow: 0 12px 40px rgba(7,9,14,.6); }
.n-hh-photo { position: relative; z-index: 2; width: min(360px, 66vw); margin-top: -0.5em; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); animation: nRise 1.3s var(--n-e) .7s both, nFloat 9s ease-in-out 2s infinite; }
.n-halo { position: absolute; left: 50%; top: 56%; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%; background: radial-gradient(circle, rgba(201,169,97,.32), rgba(201,169,97,.06) 55%, transparent 70%); animation: nBreathe 8s ease-in-out infinite; pointer-events: none; }
@keyframes nBreathe { 50% { transform: scale(1.08); opacity: .8; } }
.n-hh-foot { position: relative; z-index: 3; margin-top: -60px; padding: 26px 30px; border-radius: 28px; background: rgba(12,15,22,.72); border: 1px solid var(--n-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; max-width: 920px; }
.n-hh-foot .n-lead { margin: 0 !important; max-width: 520px; text-align: left; }
.n-hh-foot .n-ctas { margin: 0; }
@media (max-width: 700px) { .n-hh-foot { margin-top: -30px; padding: 20px; } .n-hh-foot .n-lead { text-align: center; } }
.n-marquee { overflow: hidden; border-top: 1px solid var(--n-line); border-bottom: 1px solid var(--n-line); padding: 26px 0; }
.n-belt { display: flex; align-items: center; gap: 40px; width: max-content; animation: nBelt 46s linear infinite; }
.n-belt span { font: italic 300 clamp(36px, 5vw, 68px)/1 var(--n-serif); color: var(--n-milk); white-space: nowrap; }
.n-belt i { width: 12px; height: 12px; border-radius: 50%; background: var(--n-gold); flex: 0 0 12px; }
@keyframes nBelt { to { transform: translateX(-50%); } }

/* specialists (index + home) */
.n-sec { padding: clamp(80px, 10vw, 140px) 0; }
.n-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 48px; margin-bottom: 56px; }
.n-h2 { margin: 18px 0 0; font: 300 clamp(44px, 5.6vw, 92px)/.95 var(--n-serif); letter-spacing: -.02em; color: var(--n-milk); }
.n-h2 em { font-style: italic; color: var(--n-gold); }
.n-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.n-person { position: relative; display: block; min-height: 660px; border-radius: 30px; overflow: hidden; background: var(--n-layer); isolation: isolate; }
.n-person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) brightness(.85); transform: scale(1.04); transition: filter 1s, transform 1.2s var(--n-e); z-index: -2; }
.n-person-tint { position: absolute; inset: 0; z-index: -1; background: rgba(201,169,97,.42); mix-blend-mode: multiply; transition: opacity 1s; }
.n-person::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(7,9,14,.94) 86%); }
.n-person:hover img { filter: none; transform: none; }
.n-person:hover .n-person-tint { opacity: 0; }
.n-person-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px; display: flex; flex-direction: column; gap: 12px; }
.n-person-name { font: 300 clamp(44px, 5vw, 70px)/.95 var(--n-serif); color: var(--n-milk); }
.n-person-lead { font: 400 16px/1.6 var(--n-sans); color: var(--n-soft); max-width: 520px; }

/* ═══ sections from the original pages — Nocturne components ═══ */
main.page-main > section:not(.n-hero):not(.n-sec), main.page-main > div.stats-strip, main.page-main > .cta-band, main.page-main > .legal-banner, main.page-main > .legal-block, main.page-main > .tg-band, main.page-main > .filter-bar { position: relative; padding: clamp(80px, 10vw, 140px) var(--n-pad); }
main.page-main > section:not(.n-hero):not(.n-sec) > *, main.page-main > div > .stats-inner, main.page-main > div > [class$="-inner"] { max-width: var(--n-wrap); margin-left: auto; margin-right: auto; }
main.page-main > section:not(.n-hero):not(.n-sec) + section:not(.n-sec)::before { content: ""; position: absolute; top: 0; left: var(--n-pad); right: var(--n-pad); height: 1px; background: linear-gradient(90deg, transparent, var(--n-line), transparent); }
main.page-main > section:nth-of-type(even):not(.n-hero):not(.n-sec) { background: radial-gradient(900px 500px at 85% 0%, rgba(201,169,97,.05), transparent 70%); }
.sec-inner > * + *, main.page-main > section > * + * { margin-top: 0; }

/* section header */
.n-body .badge { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1.3 var(--n-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--n-gold); }
.n-body .badge::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: 0 0 34px; }
.n-body .sec-h2, .n-body main h2 { display: block; margin-top: 18px; font: 300 clamp(40px, 5.4vw, 88px)/.98 var(--n-serif); letter-spacing: -.02em; color: var(--n-milk); text-wrap: balance; }
.n-body .sec-h2 .sh-line { display: inline; }
.n-body .sec-h2 .sh-line + .sh-line { font-style: italic; color: var(--n-gold); }
.n-body .sec-sub, .n-body .sec-lead, .n-body .stud-sub { display: block; max-width: 640px; margin-top: 22px; font: 400 17px/1.7 var(--n-sans); color: var(--n-soft); }
.n-body .sec-sub span, .n-body .sec-lead span { display: inline; }
.n-body .sec-header, .n-body .sec-inner { position: relative; }
.n-body .sec-header + *, .n-body .sec-inner + *, .n-body .sec-sub + *, .n-body .sec-lead + *, .n-body .sec-h2 + div, .n-body .sec-h2 + ul, .n-body .stud-sub + * { margin-top: 56px; }

/* grids */
.n-body .grid-2, .n-body .grid-3, .n-body .feat-grid-3, .n-body .svc-grid, .n-body .svc-prog-grid, .n-body .adv-grid, .n-body .opp-grid, .n-body .req-grid, .n-body .why-grid, .n-body .reviews-grid, .n-body .blog-grid-2, .n-body .yt-grid, .n-body .fmt-grid, .n-body .tg-reviews, .n-body .dir-grid, .n-body .trust-grid, .n-body .def-grid, .n-body .video-grid, .n-body .books-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 18px; }
.n-body .process-grid, .n-body .steps-row, .n-body .reg-path { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; position: relative; margin-top: 56px; }
.n-body .about-grid, .n-body .overview-grid, .n-body .bio-2col, .n-body .reg-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .n-body .about-grid, .n-body .overview-grid, .n-body .bio-2col, .n-body .reg-grid { grid-template-columns: 1fr; } }

/* glass cards */
.n-body .card, .n-body .feat-card, .n-body .adv-card, .n-body .opp-card, .n-body .why-item, .n-body .svc-card, .n-body .xid-card, .n-body .dir-card, .n-body .def-card, .n-body .trust-card, .n-body .info-card, .n-body .fmt-card, .n-body .step-card, .n-body .req-block, .n-body .review-card, .n-body .tg-review, .n-body .video-card, .n-body .blog-card, .n-body .price-card, .n-body .mod-panel, .n-body .law-card, .n-body .faq-item, .n-body .author-block, .n-body .rv-card, .n-body .bc {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 26px; background: linear-gradient(180deg, rgba(242,237,227,.05), rgba(242,237,227,.015)); border: 1px solid var(--n-line); color: var(--n-text); overflow: hidden; transition: transform .7s var(--n-e), border-color .5s, background .5s; }
.n-body .card:hover, .n-body .feat-card:hover, .n-body .adv-card:hover, .n-body .opp-card:hover, .n-body .why-item:hover, .n-body .svc-card:hover, .n-body .xid-card:hover, .n-body .dir-card:hover, .n-body .def-card:hover, .n-body .trust-card:hover, .n-body .fmt-card:hover, .n-body .step-card:hover, .n-body .video-card:hover, .n-body .blog-card:hover, .n-body .price-card:hover, .n-body .bc:hover {
  transform: translateY(-6px); border-color: rgba(201,169,97,.5); background: radial-gradient(460px circle at 50% 0%, rgba(201,169,97,.12), transparent 62%), rgba(242,237,227,.03); }
.n-body .card.featured { border-color: rgba(201,169,97,.45); }
/* labels, numbers, titles, text inside cards */
.n-body .card-label, .n-body .svc-card-label, .n-body .opp-label, .n-body .blog-card-cat, .n-body .bc-cat, .n-body .fmt-label, .n-body .book-card-tag, .n-body .mod-sub, .n-body .law-source, .n-body .cur-group-title, .n-body .ind-meta-label, .n-body .info-lbl, .n-body .pl, .n-body .upload-hint, .n-body .review-prog, .n-body .tl-tag {
  font: 600 11.5px/1.4 var(--n-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--n-gold); }
.n-body .feat-num, .n-body .adv-num, .n-body .why-num, .n-body .dir-num, .n-body .trust-num, .n-body .fmt-num, .n-body .step-num, .n-body .age-num, .n-body .check-num, .n-body .law-num {
  font: italic 300 52px/1 var(--n-serif); color: var(--n-gold); }
.n-body .card h3, .n-body .card h4, .n-body .feat-card h3, .n-body .feat-card h4, .n-body .adv-title, .n-body .opp-title, .n-body .why-item h3, .n-body .why-item h4, .n-body .svc-card h3, .n-body .svc-card h4, .n-body .xid-card h4, .n-body .xid-card h3, .n-body .dir-card h3, .n-body .dir-card h4, .n-body .step-title, .n-body .req-block-title, .n-body .video-title, .n-body .blog-card-title, .n-body .bc-title, .n-body .law-title, .n-body .age-title, .n-body .tl-title, .n-body .def-title, .n-body .trust-title, .n-body .fmt-title, .n-body .info-card-title {
  font: 400 clamp(25px, 2.2vw, 31px)/1.12 var(--n-serif); color: var(--n-milk); letter-spacing: -.005em; }
.n-body .card p, .n-body .feat-card p, .n-body .adv-body, .n-body .opp-body, .n-body .why-item p, .n-body .svc-card p, .n-body .xid-card p, .n-body .dir-card p, .n-body .step-body, .n-body .video-desc, .n-body .blog-card-excerpt, .n-body .bc-lead, .n-body .def-body, .n-body .trust-body, .n-body .fmt-body, .n-body .age-desc, .n-body .tl-desc, .n-body .price-card-desc { font: 400 15.5px/1.68 var(--n-sans); color: var(--n-soft); }
.n-body .card-link, .n-body .video-link, .n-body .blog-card-read, .n-body .bc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--n-gold) !important; font: 600 13.5px/1 var(--n-sans); letter-spacing: .04em; }
.n-body .card:hover .card-link, .n-body .xid-card:hover .card-link { transform: translateX(4px); }
.n-body .n-ico { width: 46px; height: 46px; fill: none; stroke: var(--n-milk); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.n-body .n-ico .d { fill: var(--n-gold); stroke: none; }
.n-body .xid-card:hover .n-ico .d { animation: nHop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes nHop { 50% { transform: translateY(-4px); } }
.n-body .svc-card.active { border-color: rgba(201,169,97,.5); }
.n-body .svc-actions, .n-body .cta-pair, .n-body .legal-btns, .n-body .cta-band-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.n-body .ind-meta-item { display: flex; flex-direction: column; gap: 4px; }
.n-body .ind-meta-val { font: 400 24px/1.2 var(--n-serif); color: var(--n-milk); }

/* steps with a golden thread */
.n-body .process-step, .n-body .reg-path-step, .n-body .check-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 34px 24px 0 0; border: 0; background: none; }
.n-body .process-step::before, .n-body .reg-path-step::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(201,169,97,.7), rgba(201,169,97,.08)); }
.n-body .process-step::after, .n-body .reg-path-step::after { content: ""; position: absolute; top: 2px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--n-bg); border: 1px solid var(--n-gold); }
.n-body .process-step:first-child::after, .n-body .reg-path-step:first-child::after { background: var(--n-gold); box-shadow: 0 0 0 6px rgba(201,169,97,.15), 0 0 26px rgba(201,169,97,.6); }
.n-body .process-num, .n-body .reg-path-num, .n-body .rp-num { font: italic 300 46px/1 var(--n-serif); color: var(--n-gold); margin-top: 10px; }
.n-body .process-step h3, .n-body .process-step h4, .n-body .reg-path-step h3, .n-body .reg-path-step h4, .n-body .reg-path-step strong { font: 400 27px/1.15 var(--n-serif); color: var(--n-milk); }
.n-body .process-step p, .n-body .reg-path-step p, .n-body .reg-path-step span { font: 400 15px/1.65 var(--n-sans); color: var(--n-soft); }

/* stats */
.n-body .stats-strip { border-top: 1px solid var(--n-line); border-bottom: 1px solid var(--n-line); padding-top: 64px !important; padding-bottom: 64px !important; }
.n-body .stats-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.n-body .stat-div { display: none; }
.n-body .stat-item { display: flex; flex-direction: column; gap: 10px; padding-left: 22px; border-left: 1px solid rgba(201,169,97,.35); }
.n-body .stat-num { font: 300 clamp(56px, 6vw, 92px)/.9 var(--n-serif); color: var(--n-milk); letter-spacing: -.03em; }
.n-body .stat-label { font: 500 13px/1.4 var(--n-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--n-smoke); }

/* timelines */
.n-body .tl-row, .n-body .timeline-list li, .n-body .age-row { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--n-line); align-items: baseline; }
.n-body .timeline-list { list-style: none; margin: 0; padding: 0; }
.n-body .tl-year, .n-body .timeline-list li > strong { font: italic 300 clamp(30px, 3vw, 44px)/1 var(--n-serif) !important; color: var(--n-gold) !important; }
.n-body .timeline-list li > span { font: 400 16px/1.7 var(--n-sans); color: var(--n-soft); }
.n-body .tl-row > div:last-child { display: flex; flex-direction: column; gap: 8px; }
.n-body .tl-btn, .n-body .timeline-book-link { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; color: var(--n-gold) !important; font-weight: 600; }
.n-body .about-img img, .n-body .about-content img { border-radius: 999px 999px 26px 26px; width: 100%; object-fit: cover; filter: grayscale(.2); }
.n-body .about-img-btn { margin-top: 16px; }
@media (max-width: 640px) { .n-body .tl-row, .n-body .timeline-list li, .n-body .age-row { grid-template-columns: 1fr; gap: 8px; } }

/* galleries — every image whole, its own proportions */
.n-gallery { columns: 3 300px; column-gap: 16px; margin-top: 56px; }
.n-shot { break-inside: avoid; display: block; width: 100%; margin: 0 0 16px; padding: 10px; border: 1px solid var(--n-line); border-radius: 20px; background: linear-gradient(180deg, rgba(242,237,227,.05), rgba(242,237,227,.015)); cursor: zoom-in; text-align: left; color: var(--n-soft); transition: border-color .4s, transform .6s var(--n-e); }
.n-shot:hover { border-color: rgba(201,169,97,.55); transform: translateY(-4px); }
.n-shot img { display: block; width: 100%; height: auto; border-radius: 12px; }
.n-shot-cap { display: block; padding: 12px 6px 4px; font: 500 13px/1.45 var(--n-sans); color: var(--n-soft); }
.n-lb { position: fixed; inset: 0; z-index: 450; background: rgba(5,6,10,.94); display: none; align-items: center; justify-content: center; padding: 64px 16px; }
.n-lb.is-open { display: flex; }
.n-lb img { max-width: min(1200px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 80px -30px #000; }
.n-lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--n-line2); background: rgba(12,15,22,.8); color: var(--n-milk); font: 300 26px/1 var(--n-sans); cursor: pointer; }
.n-lb .n-lb-x { top: 16px; right: 16px; }
.n-lb .n-lb-p { left: 16px; top: 50%; margin-top: -26px; }
.n-lb .n-lb-n { right: 16px; top: 50%; margin-top: -26px; }
.n-lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: var(--n-soft); font: 500 14px var(--n-sans); }

/* programs with prices — horizontal glass strip */
.n-strip { display: flex !important; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 22px; margin-top: 56px; scrollbar-width: thin; scrollbar-color: rgba(201,169,97,.5) transparent; cursor: grab; }
.n-strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.n-strip > * { flex: 0 0 min(380px, 86vw); scroll-snap-align: start; }
.n-body .price-card-head { display: flex; flex-direction: column; gap: 10px; }
.n-body .price-card-head h4, .n-body .price-card-head h3 { font: 400 34px/1.05 var(--n-serif); color: var(--n-milk); }
.n-body .price-card-head span { align-self: flex-start; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(201,169,97,.4); font: 600 11.5px/1.3 var(--n-sans); letter-spacing: .06em; color: var(--n-gold); }
.n-body .price-row, .n-body .info-row, .n-body .fmt-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px dashed rgba(242,237,227,.12); }
.n-body .price-row-label, .n-body .fmt-label { font: 500 14px/1.4 var(--n-sans); color: var(--n-smoke); letter-spacing: 0; text-transform: none; }
.n-body .price-row-value, .n-body .info-val, .n-body .fmt-val { font: 500 15.5px/1.4 var(--n-sans); color: var(--n-milk); text-align: right; }
.n-body .accent { color: var(--n-gold) !important; }
.n-body .price-total { margin-top: 6px; padding: 16px 18px; border-radius: 18px; background: rgba(201,169,97,.08); border: 1px solid rgba(201,169,97,.25); display: flex; flex-direction: column; gap: 4px; }
.n-body .price-total .num { font: 400 34px/1 var(--n-serif); color: var(--n-gold); }
.n-body .price-total .lbl { font: 500 12.5px/1.4 var(--n-sans); color: var(--n-soft); }
.n-body .price-card .btn { min-height: 48px; width: 100%; }
.n-body .fmt-note { display: block; font: 400 13px/1.5 var(--n-sans); color: var(--n-smoke); }

/* consultation price table */
.n-body .pricing-tbl { display: flex; flex-direction: column; gap: 14px; margin-top: 48px; }
.n-body .pricing-tbl-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 16px; align-items: center; padding: 26px 30px; border-radius: 24px; border: 1px solid var(--n-line); background: var(--n-glass); }
.n-body .pricing-tbl-name { display: flex; flex-direction: column; gap: 6px; }
.n-body .pricing-tbl-name strong { font: 400 30px/1.1 var(--n-serif); color: var(--n-milk); }
.n-body .pricing-tbl-name span { font: 400 14.5px/1.5 var(--n-sans); color: var(--n-soft); }
.n-body .pricing-tbl-price { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 1px solid var(--n-line); }
.n-body .pv { font: 400 32px/1 var(--n-serif); color: var(--n-gold); }
@media (max-width: 700px) { .n-body .pricing-tbl-row { grid-template-columns: 1fr 1fr; } .n-body .pricing-tbl-name { grid-column: 1 / -1; } }

/* curriculum, overview, requirements */
.n-body .cur-wrap, .n-body .sec-curriculum .sec-inner { display: block; }
.n-body .cur-group-title { display: block; margin: 40px 0 6px; }
.n-body .cur-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--n-line); }
.n-body .cur-row > div:first-child { display: flex; gap: 18px; align-items: baseline; }
.n-body .cur-num, .n-body .cur-date { font: italic 400 22px/1 var(--n-serif); color: var(--n-gold); min-width: 44px; }
.n-body .cur-name { font: 400 22px/1.3 var(--n-serif); color: var(--n-milk); }
.n-body .cur-hours { font: 500 15px/1 var(--n-sans); color: var(--n-soft); white-space: nowrap; }
.n-body .cur-total { margin-top: 18px; font: 400 26px var(--n-serif); color: var(--n-gold); }
.n-body .overview-text p { font: 400 18px/1.8 var(--n-sans); color: var(--n-soft); }
.n-body .overview-text p + p { margin-top: 16px; }
.n-body .highlights-list, .n-body .req-list, .n-body .mod-list, .n-body main .sec-body ul, .n-body .dir-topics { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.n-body .highlights-list li, .n-body .req-list li, .n-body .mod-list li, .n-body main .sec-body ul li, .n-body .dir-topics li { position: relative; padding-left: 26px; font: 400 15.5px/1.6 var(--n-sans); color: var(--n-soft); }
.n-body .highlights-list li::before, .n-body .req-list li::before, .n-body main .sec-body ul li::before, .n-body .dir-topics li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: var(--n-gold); }
.n-body .mod-list { counter-reset: m; columns: 2 300px; display: block; }
.n-body .mod-list li { counter-increment: m; break-inside: avoid; margin-bottom: 10px; }
.n-body .mod-list li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 0; font: italic 400 15px/1.6 var(--n-serif); color: var(--n-gold); }
.n-body .overview-grid aside, .n-body .overview-grid > div:last-child { padding: 28px; border-radius: 26px; border: 1px solid var(--n-line); background: var(--n-glass); }

/* family-therapy modules */
.n-body .mod-panel summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 12px; }
.n-body .mod-panel summary::-webkit-details-marker { display: none; }
.n-body .mod-panel h3 { font: 300 clamp(36px, 4vw, 56px)/1 var(--n-serif); color: var(--n-milk); }
.n-body .mod-note { font: italic 400 22px/1.3 var(--n-serif); color: var(--n-gold); }
.n-body .mod-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.n-body .mod-chip { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--n-line2); letter-spacing: .04em; text-transform: none; font-size: 12.5px; color: var(--n-text); }
.n-body .mod-price { font: 400 26px/1.3 var(--n-serif); color: var(--n-gold); }
.n-body .mod-price span { display: block; margin-top: 6px; font: 400 14.5px/1.6 var(--n-sans); color: var(--n-soft); }
.n-body .mod-open { align-self: flex-start; padding: 12px 20px; border-radius: 99px; border: 1px solid rgba(201,169,97,.5); color: var(--n-gold); font: 600 13px var(--n-sans); }
.n-body .mod-panel[open] .mod-open { background: var(--n-gold); color: var(--n-bg); }

/* accordions: FAQ (details) and laws */
.n-body .faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; }
.n-body .faq-item { padding: 0; }
.n-body .faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 24px 28px; font: 400 24px/1.25 var(--n-serif); color: var(--n-milk); }
.n-body .faq-item summary::-webkit-details-marker { display: none; }
.n-body .faq-item summary::after { content: "+"; flex: 0 0 38px; height: 38px; border-radius: 50%; border: 1px solid var(--n-line2); display: grid; place-items: center; font: 300 22px/1 var(--n-sans); color: var(--n-gold); transition: transform .5s var(--n-e); }
.n-body .faq-item[open] summary::after { transform: rotate(45deg); }
.n-body .faq-item > :not(summary) { padding: 0 28px 26px; font: 400 16px/1.7 var(--n-sans); color: var(--n-soft); }
.n-body .law-grid { display: flex; flex-direction: column; gap: 14px; }
.n-body .law-card { padding: 0; }
.n-body .law-card-head { display: grid; grid-template-columns: 70px minmax(0, 1fr) 40px; gap: 18px; align-items: center; padding: 26px 28px; cursor: pointer; }
.n-body .law-head-text { display: flex; flex-direction: column; gap: 8px; }
.n-body .law-arrow { color: var(--n-gold); font-size: 20px; transition: transform .5s var(--n-e); }
.n-body .law-card.is-open .law-arrow { transform: rotate(180deg); }
.n-body .law-body { display: none; padding: 0 28px 28px; }
.n-body .law-card.is-open .law-body { display: block; }
.n-body .law-article { padding: 18px 0; border-top: 1px solid var(--n-line); }
.n-body .law-article-ref { display: block; font: 600 13px/1.4 var(--n-sans); color: var(--n-gold); margin-bottom: 8px; }
.n-body .law-article-text { font: italic 400 20px/1.55 var(--n-serif); color: var(--n-text); }
.n-body .law-comment { margin-top: 16px !important; padding: 18px 20px; border-radius: 16px; background: rgba(201,169,97,.08); font: 400 15.5px/1.65 var(--n-sans); color: var(--n-text); }
.n-body .law-link-btn { display: inline-flex; margin-top: 16px; padding: 12px 20px; border-radius: 99px; border: 1px solid rgba(201,169,97,.5); font: 600 13px var(--n-sans); }

/* reviews */
.n-body .review-card::before, .n-body .tg-review::before { content: "“"; position: absolute; top: -14px; right: 22px; font: 400 140px/1 var(--n-serif); color: rgba(201,169,97,.16); }
.n-body .review-stars { color: var(--n-gold); letter-spacing: .2em; }
.n-body .review-text, .n-body .tg-text { font: italic 400 21px/1.5 var(--n-serif); color: var(--n-text); }
.n-body .review-meta { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--n-line); }
.n-body .review-name { font: 600 15px var(--n-sans); color: var(--n-milk); }

/* videos */
.n-body .video-card { padding: 0; }
.n-body .video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0E1118; overflow: hidden; }
.n-body .video-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.75); transition: filter .8s, transform 1.2s var(--n-e); }
.n-body .video-card:hover .video-thumb img { filter: none; transform: scale(1.04); }
.n-body .video-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--n-gold); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(201,169,97,.18); }
.n-body .video-play svg { width: 24px; height: 24px; fill: var(--n-bg); margin-left: 3px; }
.n-body .video-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.n-body .yt-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; border: 1px solid var(--n-line); }
.n-body .yt-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* articles lists ("useful reading") and blog cards */
.n-body .n-reading { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.n-body .n-reading li a { display: flex; flex-direction: column; height: 100%; border-radius: 24px; overflow: hidden; border: 1px solid var(--n-line); background: var(--n-glass); color: var(--n-text) !important; transition: transform .7s var(--n-e), border-color .5s; }
.n-body .n-reading li a:hover { transform: translateY(-6px); border-color: rgba(201,169,97,.5); }
.n-body .n-reading img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.8); transition: filter .8s; }
.n-body .n-reading li a:hover img { filter: none; }
.n-body .n-reading li a > span { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.n-body .n-reading li a > span > span:first-child { font: 600 11.5px/1.4 var(--n-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--n-gold); }
.n-body .n-reading li a > span > span:last-child { font: 400 24px/1.2 var(--n-serif); color: var(--n-milk); }
.n-body .n-reading li a > span:last-child:not(:first-child):not(:has(span)) { display: none; }
.n-body .blog-card { padding: 0; }
.n-body .blog-card-img, .n-body .blog-featured-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.n-body .blog-card-img img, .n-body .blog-featured-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: filter .8s, transform 1.2s var(--n-e); }
.n-body .blog-card:hover .blog-card-img img { filter: none; transform: scale(1.04); }
.n-body .blog-card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; flex: 1; }
.n-body .blog-card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--n-line); display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--n-smoke); }
.n-body .blog-featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: 30px; overflow: hidden; border: 1px solid var(--n-line); background: var(--n-glass); margin-bottom: 24px; }
.n-body .blog-featured-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.n-body .blog-featured-title { font: 300 clamp(34px, 3.6vw, 54px)/1.02 var(--n-serif); color: var(--n-milk); }
.n-body .blog-featured-badge { align-self: flex-start; font: 600 11.5px var(--n-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--n-gold); }
@media (max-width: 800px) { .n-body .blog-featured { grid-template-columns: 1fr; } }
.n-body .filter-bar { padding-top: 40px !important; padding-bottom: 0 !important; }
.n-body .filter-inner { display: flex; flex-wrap: wrap; gap: 8px; }
.n-body .filter-btn { min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--n-line2); background: transparent; color: var(--n-text); font: 500 13.5px var(--n-sans); cursor: pointer; }
.n-body .filter-btn.active, .n-body .filter-btn:hover { background: var(--n-milk); color: var(--n-bg); border-color: var(--n-milk); }

/* article (blog post) */
.n-body .art-cover img { width: 100%; border-radius: 28px; display: block; }
.n-body .article-body { max-width: 760px; margin: 48px auto 0; font: 400 18px/1.85 var(--n-sans); color: var(--n-text); }
.n-body .article-body > * + * { margin-top: 1.1em; }
.n-body .article-body h2 { font-size: clamp(32px, 3.4vw, 48px) !important; margin-top: 1.8em !important; }
.n-body .article-body h3 { font: 400 30px/1.2 var(--n-serif); color: var(--n-milk); margin-top: 1.6em; }
.n-body .article-body ul, .n-body .article-body ol { padding-left: 1.2em; }
.n-body .article-body li::marker { color: var(--n-gold); }
.n-body .article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--n-gold); font: italic 400 25px/1.5 var(--n-serif); color: var(--n-milk); }
.n-body .article-body table, .n-body .art-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.n-body .article-body th, .n-body .article-body td, .n-body .art-table th, .n-body .art-table td { padding: 12px 14px; border-bottom: 1px solid var(--n-line); text-align: left; vertical-align: top; }
.n-body .article-body th, .n-body .art-table th { color: var(--n-gold); font: 600 12.5px var(--n-sans); letter-spacing: .08em; text-transform: uppercase; }
.n-body .article-body figure, .n-body .art-fig { margin: 2em 0; }
.n-body .article-body figure img, .n-body .art-fig img { border-radius: 22px; width: 100%; }
.n-body .article-body figcaption { margin-top: 10px; font-size: 14px; color: var(--n-smoke); }
.n-body .author-block { max-width: 760px; margin: 56px auto 0; flex-direction: row; align-items: center; }
.n-body .author-block img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.n-body .art-sources { max-width: 760px; margin: 40px auto 0; font-size: 14px; color: var(--n-smoke); }
.n-body .ref-item { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--n-line); }
.n-body .ref-n { color: var(--n-gold); }

/* bands: call to action, legal, telegram reviews */
.n-body .cta-band, .n-body .legal-banner, .n-body .legal-block, .n-body .tg-band { text-align: center; }
.n-body .cta-band-inner, .n-body .legal-banner-inner, .n-body .legal-block-inner, .n-body .tg-inner { position: relative; padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px); border-radius: 36px; border: 1px solid rgba(201,169,97,.28); background: radial-gradient(700px 300px at 50% 0%, rgba(201,169,97,.16), transparent 70%), rgba(242,237,227,.03); overflow: hidden; }
.n-body .cta-band .sec-h2, .n-body .legal-block h2, .n-body .tg-band h2 { margin-top: 0; }
.n-body .cta-band .sec-sub, .n-body .legal-block p, .n-body .legal-banner p, .n-body .tg-band p { margin-left: auto; margin-right: auto; }
.n-body .cta-band-btns, .n-body .legal-btns { justify-content: center; }
.n-body .legal-banner-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; text-align: left; }
.n-body .tg-reviews { margin-top: 36px; text-align: left; }

/* books band */
.n-body .books-band { margin-top: 48px; }
.n-body .book-card-row { display: flex; gap: 20px; padding: 22px; border-radius: 24px; border: 1px solid var(--n-line); background: var(--n-glass); }
.n-body .book-spine { flex: 0 0 64px; min-height: 120px; border-radius: 8px; background-color: var(--n-gold); background-image: linear-gradient(180deg, var(--n-gold), #8E7440); display: grid; place-items: center; }
.n-body .book-spine-text { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 12px var(--n-sans); color: var(--n-bg) !important; letter-spacing: .1em; }
.n-body .book-card-info { display: flex; flex-direction: column; gap: 8px; }
.n-body .book-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ═══ forms (fields keep their original names — registration and ePoint work as before) ═══ */
.n-body form#regForm, .n-body form#xidRegForm, .n-body .reg-form-wrap, .n-body .form-section, .n-body .rev-form-wrap, .n-body #registration form, .n-body #order form {
  margin-top: 48px; padding: clamp(24px, 4vw, 48px); border-radius: 32px; border: 1px solid var(--n-line2); background: radial-gradient(600px 260px at 100% 0%, rgba(201,169,97,.1), transparent 70%), rgba(17,20,28,.7); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; flex-direction: column; gap: 22px; text-align: left; }
.n-body .form-2col, .n-body .form-grid, .n-body .rf2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px 22px; }
.n-body .form-field, .n-body .form-group, .n-body .reg-field, .n-body .rev-field, .n-body .rfield { display: flex; flex-direction: column; gap: 8px; }
.n-body form label, .n-body .form-label, .n-body .upload-lbl { font: 600 12px/1.4 var(--n-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--n-soft); }
.n-body form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]), .n-body form select, .n-body form textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--n-line2); background: rgba(242,237,227,.04); color: var(--n-milk); font: 400 16px/1.4 var(--n-sans); transition: border-color .3s, box-shadow .3s; }
.n-body form textarea { min-height: 120px; resize: vertical; }
.n-body form input::placeholder, .n-body form textarea::placeholder { color: rgba(242,237,227,.4); }
.n-body form input:focus, .n-body form select:focus, .n-body form textarea:focus { outline: none; border-color: var(--n-gold); box-shadow: 0 0 0 4px rgba(201,169,97,.16); }
.n-body form select option { background: var(--n-layer); color: var(--n-milk); }
.n-body .tile-group, .n-body .cols3, .n-body .cols2, .n-body .form-radio-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.n-body .tile-opt, .n-body input.form-radio-tile { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.n-body .tile-lbl, .n-body .form-radio-lbl, .n-body label.form-radio-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--n-line2); background: rgba(242,237,227,.03); cursor: pointer; font: 400 22px/1.2 var(--n-serif); letter-spacing: 0; text-transform: none; color: var(--n-milk); transition: border-color .3s, background .3s, transform .4s var(--n-e); }
.n-body .tile-lbl span, .n-body .form-radio-lbl span, .n-body label.form-radio-tile span { font: 500 12.5px/1.4 var(--n-sans); letter-spacing: .02em; color: var(--n-smoke); }
.n-body .tile-lbl br, .n-body .form-radio-lbl br { display: none; }
.n-body .tile-lbl:hover, .n-body .form-radio-lbl:hover { border-color: rgba(201,169,97,.5); transform: translateY(-2px); }
.n-body .tile-opt:checked + .tile-lbl, .n-body .form-radio-tile:checked + .form-radio-lbl, .n-body label.form-radio-tile:has(input:checked) { border-color: var(--n-gold); background: rgba(201,169,97,.12); box-shadow: inset 0 0 0 1px var(--n-gold); }
.n-body .tile-opt:checked + .tile-lbl::after, .n-body .form-radio-tile:checked + .form-radio-lbl::after { content: ""; position: absolute; top: 16px; right: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--n-gold); box-shadow: 0 0 0 4px rgba(201,169,97,.2); }
.n-body .tile-opt:focus-visible + .tile-lbl, .n-body .form-radio-tile:focus-visible + .form-radio-lbl { outline: 2px solid var(--n-gold); outline-offset: 3px; }
.n-body label.form-radio-tile input { position: absolute; opacity: 0; }
.n-body .upload-grid, .n-body .form-file-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.n-body .upload-item, .n-body .form-file-item { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; border: 1px dashed rgba(201,169,97,.5); background: rgba(201,169,97,.04); }
.n-body .form-file-lbl { font: 600 12px/1.4 var(--n-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--n-milk); }
.n-body .form-file-hint, .n-body .upload-hint { font: 400 13px/1.5 var(--n-sans); letter-spacing: 0; text-transform: none; color: var(--n-smoke); }
.n-body .form-file-list { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--n-soft); }
.n-body .upload-item input[type="file"], .n-body .form-file-item input[type="file"] { color: var(--n-soft); font: 400 14px var(--n-sans); }
.n-body input[type="file"]::file-selector-button { margin-right: 12px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--n-gold); background: transparent; color: var(--n-gold); font: 600 13px var(--n-sans); cursor: pointer; }
.n-body .pdf-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 99px; border: 1px solid rgba(201,169,97,.5); background: transparent; color: var(--n-gold) !important; font: 600 13px var(--n-sans); letter-spacing: .06em; cursor: pointer; }
.n-body .pdf-btn:hover { background: var(--n-gold); color: var(--n-bg) !important; }
.n-body .pdf-btn svg { width: 16px; height: 16px; }
.n-body .form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.n-body .form-note, .n-body .reg-note, .n-body .prog-enroll-note { font: 400 13.5px/1.6 var(--n-sans); color: var(--n-smoke); }
.n-body form button[type="submit"] { min-height: 58px; padding: 0 34px; border-radius: 99px; border: 0; font: 700 14px/1 var(--n-sans); letter-spacing: .06em; cursor: pointer; }
.n-body .form-success { padding: 22px 24px; border-radius: 20px; border: 1px solid rgba(201,169,97,.5); background: rgba(201,169,97,.1); color: var(--n-milk); }
.n-body .form-full { grid-column: 1 / -1; }
.n-body .rev-stars-input { color: var(--n-gold); font-size: 28px; letter-spacing: .2em; }
.n-body [data-need]::after { color: #E8A0A0; }

/* ═══ footer ═══ */
.n-foot { position: relative; background: #05070B; border-top: 1px solid var(--n-line); padding: clamp(64px, 8vw, 110px) 0 40px; overflow: hidden; }
.n-foot-mark { display: block; font: 300 clamp(60px, 15vw, 250px)/.8 var(--n-serif); letter-spacing: .02em; color: transparent !important; -webkit-text-stroke: 1px rgba(201,169,97,.6); background: linear-gradient(0deg, var(--n-gold) 0 50%, transparent 50% 100%); background-size: 100% 200%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; transition: background-position 1.2s var(--n-e); margin-bottom: 56px; white-space: nowrap; }
.n-foot-mark:hover { background-position: 0 100%; }
.n-foot-orig { color: var(--n-soft); font: 400 14.5px/1.8 var(--n-sans); }
.n-foot-orig > div, .n-foot-orig .footer-inner, .n-foot-orig .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 32px; }
.n-foot-orig a { color: var(--n-soft) !important; }
.n-foot-orig a:hover { color: var(--n-gold) !important; }
.n-foot-orig ul { list-style: none; margin: 0; padding: 0; }
.n-foot-orig h3, .n-foot-orig h4, .n-foot-orig h5, .n-foot-orig .footer-title, .n-foot-orig strong { font: 600 12px/1.4 var(--n-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--n-gold); margin-bottom: 12px; display: block; }
.n-foot-orig .footer-bottom, .n-foot-orig .footer-copy, .n-foot-orig > p:last-child { grid-column: 1 / -1; margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--n-line); font-size: 13px; color: var(--n-smoke); }
.n-foot-orig svg { width: 18px; height: 18px; }
.n-body .wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 250; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(0,0,0,.7); }
.n-body .wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* reveal on scroll */
.n-io { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--n-e), transform 1.1s var(--n-e); }
.n-io.is-in { opacity: 1; transform: none; }

/* мягкий режим (ОС просит меньше движения): короткие проявления остаются, бесконечные движения — нет */
.n-soft .n-io { transform: translateY(12px); transition-duration: .6s, .6s; }
.n-soft .n-hh-photo, .n-soft .n-halo { animation: none !important; }
.n-soft .n-belt { animation-duration: 90s !important; }

/* ═══ шрифтовая система концепта RAGIM: Cormorant — заголовки и «почерк», Alegreya — чтение, Manrope — интерфейс ═══ */
.n-body .n-lead, .n-body .sec-sub, .n-body .sec-lead, .n-body .stud-sub, .n-body .n-person-lead,
.n-body .card p, .n-body .feat-card p, .n-body .adv-body, .n-body .opp-body, .n-body .why-item p, .n-body .svc-card p, .n-body .xid-card p, .n-body .dir-card p, .n-body .step-body, .n-body .video-desc, .n-body .blog-card-excerpt, .n-body .bc-lead, .n-body .def-body, .n-body .trust-body, .n-body .fmt-body, .n-body .age-desc, .n-body .tl-desc, .n-body .price-card-desc,
.n-body .timeline-list li > span, .n-body .process-step p, .n-body .reg-path-step p, .n-body .overview-text p, .n-body .highlights-list li, .n-body .req-list li, .n-body .mod-list li, .n-body main .sec-body, .n-body .faq-item > :not(summary), .n-body .law-comment, .n-body .mod-price span, .n-body .pricing-tbl-name span, .n-body .article-body, .n-body .art-sources, .n-body main section > .sec-inner > p:not([class]) {
  font-family: var(--n-read) !important; font-size: 17.5px; line-height: 1.7; }
.n-body .article-body { font-size: 19.5px !important; line-height: 1.8 !important; }
.n-body .n-lead { font-size: clamp(18px, 1.5vw, 21px) !important; }
.n-body .n-ico-sm { width: 40px; height: 40px; margin-bottom: 2px; }
.n-body .law-card-head .n-ico-sm { display: none; }

/* ═══ Главная · первый экран-сцена (08.11.2026): закреплённый кадр, прокрутка ведёт камеру.
   Кадры видео (если есть) рисуются на canvas, иначе — наезд по картине. Имя и портрет — ниже, в «Специалистах». ═══ */
.n-body .n-cine { position: relative; height: 240vh; padding: 0 !important; background: var(--n-bg); }
.n-body .n-cine > .n-cine-stick { max-width: none !important; width: 100%; margin: 0 !important; padding: 0 !important; }
.n-cine-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.n-cine-frame { --cz: 1; --cx: 0px; position: absolute; left: 50%; top: 50%; width: max(100%, 179.3vh); width: max(100%, 179.3svh); aspect-ratio: 1664 / 928;
  transform: translate(-50%, -50%) translate3d(var(--cx), 0, 0) scale(var(--cz)); transform-origin: 63% 72%; will-change: transform; z-index: -2; }
.n-cine-img, .n-cine-cv, .n-cine-dust { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.n-cine-img { object-fit: cover; animation: nCineIn 2.4s var(--n-e) both; }
.n-cine-cv { opacity: 0; transition: opacity .6s; }
.n-cine-frame.has-frames .n-cine-cv { opacity: 1; }
.n-cine-dust { pointer-events: none; mix-blend-mode: screen; }
/* дыхание света лампы — по координатам картины (лампа ≈ 84% / 38%, пятно на книге ≈ 62% / 70%) */
.n-cine-glow { position: absolute; left: 50%; top: 22%; width: 52%; height: 70%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(38% 30% at 66% 26%, rgba(255,214,140,.30), transparent 70%), radial-gradient(44% 26% at 26% 74%, rgba(255,226,170,.20), transparent 72%);
  animation: nLamp 7s ease-in-out infinite; }
@keyframes nLamp { 0%, 100% { opacity: .55; } 38% { opacity: 1; } 55% { opacity: .78; } 70% { opacity: .95; } }
@keyframes nCineIn { from { opacity: 0; filter: brightness(.35) blur(6px); transform: scale(1.06); } to { opacity: 1; filter: none; transform: none; } }
.n-cine-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,9,14,.92) 0%, rgba(7,9,14,.72) 30%, rgba(7,9,14,.18) 58%, transparent 75%),
              linear-gradient(0deg, rgba(7,9,14,.85) 0%, transparent 32%), linear-gradient(180deg, rgba(7,9,14,.55) 0%, transparent 22%); }
.n-cine-beat { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.n-cine-b1 { --t1: 1; --y1: 0px; opacity: var(--t1); translate: 0 var(--y1); }
.n-cine-b1 > * { max-width: 620px; }
.n-cine-h1 { margin: 26px 0 0; font-weight: 300; color: var(--n-milk); }
.n-cine-kicker { display: block; margin-bottom: 14px; font: 400 clamp(19px, 1.7vw, 25px)/1.2 var(--n-serif); letter-spacing: .04em; color: var(--n-soft); }
.n-cine-title { display: block; font: italic 300 clamp(46px, 5.6vw, 88px)/1 var(--n-serif); letter-spacing: -.015em; color: var(--n-milk); text-wrap: balance; }
.n-cine-b1 .n-ctas { margin-top: 38px; }
.n-cine-b2 { --t2: 0; opacity: var(--t2); translate: 0 calc((1 - var(--t2)) * 40px); pointer-events: none; display: flex; justify-content: flex-start; }
.n-cine-quote { max-width: 760px; margin: 0; font: 300 clamp(26px, 2.7vw, 42px)/1.32 var(--n-serif); color: var(--n-milk); text-wrap: pretty; text-shadow: 0 4px 30px rgba(7,9,14,.85); }
.n-cine-quote::before { content: ""; display: block; width: 46px; height: 1px; margin-bottom: 26px; background: var(--n-gold); }
.n-cine-cue { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 64px; background: var(--n-line2); overflow: hidden; opacity: calc(1 - var(--t2, 0)); }
.n-cine-cue i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--n-gold); animation: nCue 2.2s var(--n-e2) infinite; }
@keyframes nCue { to { top: 110%; } }
.n-cine-out { position: absolute; inset: 0; background: linear-gradient(0deg, var(--n-bg) 0%, rgba(7,9,14,.7) 100%); opacity: var(--out, 0); pointer-events: none; }
.n-cine + .n-marquee { position: relative; z-index: 1; margin-top: 0; }
@media (max-width: 700px) {
  .n-body .n-cine { height: 220vh; }
  .n-cine-frame { width: auto; height: 68vh; height: 68svh; top: 7svh; transform-origin: 62% 70%; transform: translate(-60%, 0) translate3d(var(--cx), 0, 0) scale(var(--cz)); }
  .n-cine-shade { background: linear-gradient(0deg, var(--n-bg) 0%, var(--n-bg) 26%, rgba(7,9,14,.55) 40%, transparent 56%, transparent 80%, rgba(7,9,14,.7) 100%); }
  .n-cine-beat { top: auto; bottom: 84px; transform: none; }
  .n-cine-title { font-size: clamp(40px, 11.5vw, 54px); }
  .n-cine-b1 .n-ctas { margin-top: 28px; }
  .n-cine-quote { font-size: clamp(23px, 6.4vw, 28px); }
  .n-cine-cue { bottom: 18px; height: 44px; }
}


/* ═══ Главная · «О специалисте»: без второй копии портрета; хронология в две колонки ═══ */
.n-home .n-about-home .about-grid { grid-template-columns: 1fr; }
.n-home .n-about-home .timeline-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.n-home .n-about-home .timeline-list li { grid-template-columns: 96px minmax(0, 1fr); gap: 22px; padding: 28px 0; }
.n-home .n-about-home .timeline-list li > strong { font-size: clamp(28px, 2.4vw, 36px) !important; }
.n-about-more-row { display: flex; justify-content: flex-start; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--n-line); }
@media (max-width: 900px) { .n-home .n-about-home .timeline-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .n-home .n-about-home .timeline-list li { grid-template-columns: 1fr; gap: 6px; } }

/* ═══ Кнопки — шрифт RAGIM Text (Alegreya, полная поддержка ə ğ ı ö ü ş ç), без капса и «интерфейсного» гротеска ═══ */
.n-btn, .n-body .btn, .n-body button[type="submit"] { font: 500 17px/1.2 var(--n-read) !important; letter-spacing: .01em !important; text-transform: none !important; padding: 0 30px; }
.n-cta { font: 500 15.5px/1 var(--n-read); letter-spacing: .02em; text-transform: none; }
.n-btn-ghost, .n-body .btn-line, .n-body .btn:not(.btn-fill) { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(242,237,227,.04); }

.n-home .n-about-home .about-action { margin: clamp(56px, 7vw, 96px) 0 26px; }
.n-home .n-about-home .diploma-label { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1.3 var(--n-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--n-gold); }
.n-home .n-about-home .diploma-label::before { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ═══ Главная · сцена на кадрах видео (JobTop): касание → поиск → заголовок. Переопределяет общий .n-cine выше ═══ */
.n-body .n-cine-v { height: 250vh; }
.n-cine-v .n-cine-frame { width: max(100%, 177.78vh); width: max(100%, 177.78svh); aspect-ratio: 16 / 9; transform-origin: 50% 40%; }
.n-cine-v .n-cine-img { object-fit: cover; animation: nCineIn 1.8s var(--n-e) both; }
.n-cine-v .n-cine-cv { opacity: 1; }
.n-cine-v .n-cine-shade { background:
  linear-gradient(90deg, rgba(7,9,14,var(--sh,.15)) 0%, rgba(7,9,14,calc(var(--sh,.15) * .75)) 34%, transparent 62%),
  linear-gradient(0deg, rgba(7,9,14,.7) 0%, transparent 26%), linear-gradient(180deg, rgba(7,9,14,.45) 0%, transparent 18%); }
/* строка поиска — на месте светящейся строки из видео (21–51 % ширины, 35–41 % высоты кадра) */
.n-cine-search { position: absolute; left: 21.4%; top: 34.6%; width: 30%; height: 6.4%; display: flex; align-items: center; gap: .8vw; padding: 0 1.4vw;
  border-radius: 999px; color: #EAF6FF; background: rgba(160,205,255,.12); border: 1px solid rgba(200,230,255,.7);
  box-shadow: 0 0 22px rgba(120,190,255,.55), inset 0 0 18px rgba(150,210,255,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: var(--sq, 0); transform: scale(calc(.94 + var(--sq, 0) * .06)); pointer-events: none; }
.n-cine-search svg { flex: 0 0 auto; width: 1.25vw; height: 1.25vw; min-width: 14px; min-height: 14px; opacity: .9; }
.n-cine-q { font: 500 clamp(13px, 1.25vw, 22px)/1 var(--n-sans); letter-spacing: .02em; white-space: nowrap; overflow: hidden; }
.n-cine-caret { width: 1.5px; height: 42%; background: #EAF6FF; animation: nCaret 1s steps(1) infinite; }
@keyframes nCaret { 50% { opacity: 0; } }
/* заголовок: рукописное имя «пишется», строгая строка встаёт по буквам */
.n-cine-v .n-cine-b1 { opacity: 1; translate: none; visibility: visible; pointer-events: none; }
.n-cine-v .n-cine-b1 > * { max-width: 640px; }
.n-cine-v .n-cine-b1 .n-cine-h1 { max-width: none; }
.n-cine-v .n-cine-b1 .n-eyebrow, .n-cine-v .n-cine-lead, .n-cine-v .n-cine-b1 .n-ctas { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--n-e), transform 1s var(--n-e); }
.n-cine-v .n-cine-h1 { margin: 18px 0 0; }
.n-cine-hand { display: block; padding: .08em .1em .12em 0; font: 400 clamp(56px, 6.2vw, 112px)/1.05 "Marggraff Kursiv", "Cormorant Garamond", cursive; color: var(--n-gold2);
  text-shadow: 0 6px 40px rgba(7,9,14,.7); white-space: nowrap; clip-path: inset(-20% 100% -30% 0); transition: clip-path 1.9s cubic-bezier(.55,.1,.3,1); }
.n-cine-strong { display: block; margin-top: .1em; font: 600 clamp(30px, 3.3vw, 56px)/1 'Oswald', 'Manrope', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--n-milk); white-space: nowrap; }
.n-cine-strong span { display: inline-block; opacity: 0; transform: translateY(.6em) rotateX(-70deg); transform-origin: 50% 100%; transition: opacity .6s var(--n-e), transform .9s var(--n-e); transition-delay: calc(1.1s + var(--i) * .035s); }
.n-cine-lead { margin: 30px 0 0; font: 400 clamp(16px, 1.25vw, 19px)/1.65 var(--n-read); color: var(--n-soft); text-shadow: 0 2px 18px rgba(7,9,14,.9); }
.n-cine-v .n-cine-b1 .n-ctas { margin-top: 30px; }
.n-cine-v.is-title .n-cine-b1 { pointer-events: auto; }
.n-cine-v.is-title .n-cine-hand { clip-path: inset(-20% -5% -30% 0); }
.n-cine-v.is-title .n-cine-strong span { opacity: 1; transform: none; }
.n-cine-v.is-title .n-cine-b1 .n-eyebrow { opacity: 1; transform: none; transition-delay: .2s; }
.n-cine-v.is-title .n-cine-lead { opacity: 1; transform: none; transition-delay: 1.7s; }
.n-cine-v.is-title .n-cine-b1 .n-ctas { opacity: 1; transform: none; transition-delay: 1.95s; }
.n-cine-v .n-cine-cue { opacity: calc(1 - var(--t2, 0)); }
@media (max-width: 700px) {
  .n-body .n-cine-v { height: 230vh; }
  .n-cine-v .n-cine-frame { width: 100svh; width: 100vh; height: 100svh; aspect-ratio: 1 / 1; top: 0; transform: translate(-50%, 0) scale(var(--cz)); }
  .n-cine-v .n-cine-shade { background: linear-gradient(0deg, rgba(7,9,14,.97) 0%, rgba(7,9,14,.85) 30%, rgba(7,9,14,calc(var(--sh,.1) * .8)) 52%, transparent 66%), linear-gradient(180deg, rgba(7,9,14,.5) 0%, transparent 16%); }
  .n-cine-search { position: fixed; left: 50%; top: 55%; width: 80vw; height: 50px; margin-left: -40vw; padding: 0 18px; gap: 10px; background: rgba(20,40,70,.45); }
  .n-cine-search svg { width: 18px; height: 18px; }
  .n-cine-q { font-size: 16px; }
  .n-cine-hand { font-size: clamp(38px, 11.6vw, 56px); }
  .n-cine-strong { font-size: clamp(24px, 7.4vw, 32px); white-space: normal; }
  .n-cine-lead { font-size: 15.5px; margin-top: 16px; }
}

/* ═══ Логотип: знак приложения «R.» (жирная R + золотая точка) и сразу за ним AGIMOFF — читается одним словом RAGIMOFF ═══ */
.n-logo { gap: 0 !important; font: 800 19px/1 var(--n-sans) !important; letter-spacing: .05em !important; }
.n-logo-r { color: var(--n-milk); }
.n-logo-r i { display: none; }
.n-logo-w { position: relative; color: var(--n-milk); padding-right: .42em; }
.n-logo-w::after { content: ""; position: absolute; right: .04em; bottom: .02em; width: .27em; height: .27em; border-radius: 50%; background: var(--n-gold); }

/* ═══ Первый экран (правки 08.11 вечер): сцена начинается под меню, голова героини не уходит под панель ═══ */
.n-cine-v .n-cine-stick { --hh: 84px; background: var(--n-bg); }
.n-cine-v .n-cine-frame { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%); mask-image: linear-gradient(180deg, transparent 0, #000 9%); top: var(--hh); width: max(100%, calc((100vh - var(--hh)) * 1.7778)); width: max(100%, calc((100svh - var(--hh)) * 1.7778)); transform: translate(-50%, 0); }
.n-cine-hand { font-family: "Monsieur La Doulaise", "Marggraff Kursiv", cursive !important; font-size: clamp(58px, 6vw, 108px) !important; line-height: 1.12 !important; color: var(--n-gold2); padding: .02em .25em .08em 0; }
.n-cine-strong { margin-top: .5em !important; }
.n-cine-v .n-cine-b1 .n-ctas { margin-top: 38px; }
@media (max-width: 700px) {
  .n-cine-v .n-cine-stick { --hh: 72px; }
  .n-cine-v .n-cine-frame { top: var(--hh); width: calc(100vh - var(--hh)); width: calc(100svh - var(--hh)); height: auto; aspect-ratio: 1 / 1; transform: translate(-50%, 0); }
  .n-cine-hand { font-size: clamp(50px, 14.5vw, 66px) !important; }
  .n-cine-v .n-cine-b1 .n-ctas { margin-top: 26px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   СТАНДАРТ КАРТОЧЕК (Кенан 08.11.2026) — один для всех блоков всех страниц.
   Поля карточки одинаковы со всех сторон (--n-card-pad); внутренний шаг один (--n-card-gap);
   кнопки/ссылки действия прижаты к низу → отступ под кнопкой = отступу сверху (математически).
   Новые карточки получают это правило сами, если их класс есть в списке ниже.
   ═══════════════════════════════════════════════════════════════════════ */
:root { --n-card-pad: 32px; --n-card-gap: 14px; --n-card-radius: 22px; }
@media (max-width: 640px) { :root { --n-card-pad: 24px; } }
.n-body :is(.price-card, .card, .svc-card, .feat-card, .xid-card, .info-card, .adv-card, .trust-card, .dir-card, .opp-card, .fmt-card, .step-card, .review-card, .def-card, .bc) {
  display: flex !important; flex-direction: column; gap: var(--n-card-gap); padding: var(--n-card-pad) !important; }
.n-body :is(.price-card, .card, .svc-card, .feat-card, .xid-card, .info-card, .adv-card, .trust-card, .dir-card, .opp-card, .fmt-card, .step-card, .review-card, .def-card, .bc) > * { margin-top: 0; margin-bottom: 0; }
.n-body :is(.price-card, .card, .svc-card, .feat-card, .xid-card, .info-card, .adv-card, .trust-card, .dir-card, .opp-card, .fmt-card, .step-card, .review-card, .def-card, .bc) > :is(a.btn:first-of-type, .btn-row, [class*="-cta"], [class*="-actions"], a[class*="-link"]:last-child, a[class*="-more"]:last-child) { margin-top: auto !important; }
.n-body .price-card > a.btn + a.btn { margin-top: 0 !important; }
.n-body .price-card .price-total { margin-top: 6px; }
.n-body :is(.price-card, .card, .svc-card, .feat-card, .xid-card, .info-card, .adv-card, .trust-card, .dir-card, .opp-card, .fmt-card, .step-card, .review-card, .def-card, .bc) > :last-child:not(a):not(button):not(.btn) { padding-bottom: 0 !important; border-bottom: 0 !important; }

/* ═══ Краткосрочные тренинги (08.11.2026): карточки, программа по месяцам, калькулятор, форма — по стандарту карточек ═══ */
.n-short-order { margin: 0 0 28px; font: italic 400 clamp(19px, 1.6vw, 23px)/1.5 var(--n-serif); color: var(--n-soft); }
.n-short-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .n-short-grid { grid-template-columns: 1fr; } }
.n-body .n-short-card h3 { margin: 0; font: 400 clamp(26px, 2.2vw, 34px)/1.15 var(--n-serif); color: var(--n-milk); }
.n-body .n-short-card .price-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--n-line); font: 400 16px/1.45 var(--n-read); color: var(--n-soft); }
.n-body .n-short-card .price-row span:last-child { color: var(--n-text); text-align: right; }
.n-body .n-short-card .price-total { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 18px; border-radius: 14px; background: rgba(201,169,97,.08); border: 1px solid rgba(201,169,97,.28); }
.n-body .n-short-card .price-total span { display: flex; flex-direction: column; gap: 2px; font: 500 16px/1.3 var(--n-read); color: var(--n-milk); }
.n-body .n-short-card .price-total small { font: 400 13.5px/1.35 var(--n-read); color: var(--n-smoke); }
.n-body .n-short-card .price-total b { font: 500 clamp(28px, 2.4vw, 36px)/1 var(--n-serif); color: var(--n-gold); white-space: nowrap; }
.n-body .n-short-card > a.btn { width: 100%; }
.n-months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: m; }
@media (max-width: 900px) { .n-months { grid-template-columns: 1fr; } }
.n-month { display: flex; flex-direction: column; gap: var(--n-card-gap); padding: var(--n-card-pad); border-radius: var(--n-card-radius); background: var(--n-glass); border: 1px solid var(--n-line); align-self: start; }
.n-month-n { font: italic 400 clamp(30px, 2.6vw, 40px)/1 var(--n-serif); color: var(--n-gold); }
.n-month h4 { margin: 0; font: 600 18px/1.3 var(--n-sans); color: var(--n-milk); }
.n-month p { margin: 8px 0 0; font: 400 17px/1.65 var(--n-read); color: var(--n-soft); }
.n-short-foot { margin: 28px 0 0; font: 500 17px/1.5 var(--n-read); color: var(--n-gold2); }
.n-ind-box, .n-form { display: flex; flex-direction: column; gap: 22px; padding: var(--n-card-pad); border-radius: var(--n-card-radius); background: var(--n-glass); border: 1px solid var(--n-line); }
.n-ind-rates { margin: 0; font: 400 15.5px/1.6 var(--n-read); color: var(--n-smoke); }
.n-calc { display: flex; flex-direction: column; gap: 20px; }
.n-calc-row { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.n-calc-row legend, .n-calc-lbl { width: 100%; margin-bottom: 4px; padding: 0; font: 600 12px/1.3 var(--n-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--n-gold); }
.n-chip { position: relative; cursor: pointer; }
.n-chip input { position: absolute; opacity: 0; pointer-events: none; }
.n-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--n-line2); font: 500 16px/1.2 var(--n-read); color: var(--n-text); transition: background .25s, border-color .25s, color .25s; }
.n-chip input:checked + span { background: var(--n-gold); border-color: var(--n-gold); color: var(--n-bg); }
.n-chip input:focus-visible + span { outline: 2px solid var(--n-gold2); outline-offset: 2px; }
.n-calc-hours input, .n-form-grid input { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--n-line2); background: rgba(7,9,14,.55); color: var(--n-milk); font: 500 17px/1.2 var(--n-read); }
.n-calc-hours input { max-width: 160px; }
.n-form-grid input[type="file"] { padding: 12px 16px; font-size: 15px; }
.n-calc-out { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--n-line); }
.n-calc-rate { font: 400 16px/1.4 var(--n-read); color: var(--n-soft); }
.n-calc-total { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.n-calc-total small { font: 600 12px/1 var(--n-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--n-smoke); }
.n-calc-total b { font: 500 clamp(34px, 3vw, 46px)/1 var(--n-serif); color: var(--n-gold); }
.n-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .n-form-grid { grid-template-columns: 1fr; } }
.n-form-grid label { display: flex; flex-direction: column; gap: 8px; }
.n-form-grid label > span { font: 600 12px/1.3 var(--n-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--n-smoke); }
.n-form .is-bad { border-color: #d9826f !important; }
.n-form > .n-btn { align-self: flex-start; }
.n-form-msg { margin: 0; font: 500 16px/1.5 var(--n-read); color: var(--n-gold2); }
.n-form-msg.is-err { color: #e8a0a0; }
.n-body .n-short-card .price-total { flex-direction: row !important; text-align: left !important; }
@media (max-width: 420px) { .n-body .n-short-card .price-total { flex-direction: column !important; align-items: flex-start; } }

/* ═══ Тренинг «Семейная терапия»: короткий блок «кто ведёт» и плашка записи ═══ */
.n-who { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; padding: var(--n-card-pad); border-radius: var(--n-card-radius); background: var(--n-glass); border: 1px solid var(--n-line); color: inherit !important; transition: border-color .3s, transform .5s var(--n-e); }
.n-who:hover { border-color: rgba(201,169,97,.45); transform: translateY(-3px); }
.n-who img { width: 180px; height: 220px; object-fit: cover; object-position: 50% 20%; border-radius: 16px; filter: grayscale(.15); }
.n-who-body { display: flex; flex-direction: column; gap: var(--n-card-gap); }
.n-who-name { font: 400 clamp(30px, 2.6vw, 40px)/1.1 var(--n-serif); color: var(--n-milk); }
.n-who-lead { font: 400 17px/1.65 var(--n-read); color: var(--n-soft); }
.n-who-more { font: 500 16px/1.2 var(--n-read); color: var(--n-gold); }
@media (max-width: 640px) { .n-who { grid-template-columns: 1fr; } .n-who img { width: 100%; height: 260px; } }
.n-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: var(--n-card-pad); border-radius: var(--n-card-radius); background: linear-gradient(135deg, rgba(201,169,97,.10), rgba(242,237,227,.03)); border: 1px solid rgba(201,169,97,.3); }
.n-cta-box .n-h2 { margin: 10px 0 0; }
.n-cta-box .n-lead { margin-top: 12px !important; }

/* ═══ Запись на консультацию и выбор оплаты (09.11.2026) ═══ */
.n-consult .n-calc-out { padding-top: 0; border-top: 0; }
.n-form-wide { display: flex; flex-direction: column; gap: 8px; }
.n-form-wide > span { font: 600 12px/1.3 var(--n-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--n-smoke); }
.n-form-wide textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--n-line2); background: rgba(7,9,14,.55); color: var(--n-milk); font: 400 17px/1.5 var(--n-read); resize: vertical; }
.n-form-after { margin: 0; font: 400 15.5px/1.6 var(--n-read); color: var(--n-gold2); }
.n-pay-choice { display: flex; flex-wrap: wrap; gap: 12px; }
.n-body .n-chip span { text-transform: none !important; letter-spacing: .01em !important; font: 500 16px/1.2 var(--n-read) !important; }

/* ═══ Предложение установить приложение (PWA) — сверху, как уведомление ═══ */
.n-app { position: fixed; left: 50%; top: 12px; z-index: 1000; display: flex; align-items: center; gap: 14px; width: min(560px, calc(100vw - 24px)); padding: 12px 12px 12px 14px;
  border-radius: 18px; background: rgba(17,20,28,.94); border: 1px solid rgba(201,169,97,.35); box-shadow: 0 20px 50px -18px rgba(0,0,0,.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translate(-50%, -140%); transition: transform .55s var(--n-e); }
.n-app.is-in { transform: translate(-50%, 0); }
.n-app-ico { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #061826; color: #fff; display: grid; place-items: center; font: 800 24px/1 var(--n-sans); }
.n-app-ico i { position: absolute; right: 7px; bottom: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--n-gold); }
.n-app-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.n-app-txt b { font: 600 15px/1.3 var(--n-sans); color: var(--n-milk); }
.n-app-txt small { font: 400 13.5px/1.4 var(--n-read); color: var(--n-soft); }
.n-app-go { flex: 0 0 auto; min-height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--n-gold); color: var(--n-bg); font: 500 15px/1 var(--n-read); cursor: pointer; }
.n-app-x { flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--n-smoke); font-size: 22px; cursor: pointer; }

/* ═══ Программы на главной (Кенан 09.11): закреплённая лента, едет по вертикальной прокрутке;
   каждая карточка — подсетка из 6 рядов (значок · название · описание · условия · цена · кнопки) → ряды на одной линии ═══ */
.n-body .n-hs { position: relative; padding: 0 !important; }
.n-body .n-hs-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; overflow: hidden; padding: 88px 0 24px; box-sizing: border-box; }
.n-body .n-hs-stick > .sec-inner { width: 100%; max-width: var(--n-wrap); margin: 0 auto; padding: 0 var(--n-pad); }
.n-body .n-hs-stick > .sec-inner .sec-header { margin: 0 !important; }
.n-body .n-hs [data-hs-track] { display: grid !important; grid-auto-flow: column; grid-auto-columns: 392px; grid-template-rows: repeat(6, auto); column-gap: 24px; row-gap: 0;
  width: max-content; max-width: none !important; margin: 0 !important; padding: 0 max(var(--n-pad), calc((100vw - var(--n-wrap)) / 2 + var(--n-pad))) !important;
  overflow: visible !important; transform: translate3d(var(--hx, 0px), 0, 0); will-change: transform; }
.n-body .n-hs .price-card { grid-row: span 6; display: grid !important; grid-template-rows: subgrid; row-gap: 14px; gap: 14px; height: auto !important; min-width: 0;
  transform: scale(var(--cs, 1)); opacity: var(--co, 1); transition: transform .35s var(--n-e), opacity .35s var(--n-e), border-color .3s; transform-origin: 50% 50%; }
.n-body .n-hs .price-card > * { margin: 0 !important; }
.n-body .n-hs .price-card-head { display: flex; flex-direction: column; gap: 6px; align-self: start; }
.n-body .n-hs .price-card-head :is(h3, h4) { margin: 0; white-space: nowrap; font: 400 clamp(22px, 1.7vw, 26px)/1.15 var(--n-serif) !important; color: var(--n-milk); }
.n-body .n-hs .price-card-head span { font: 600 11.5px/1.3 var(--n-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--n-gold); }
.n-body .n-hs .price-card-desc { align-self: start; font-size: 15.5px !important; line-height: 1.6 !important; color: var(--n-soft); }
.n-body .n-hs .n-pc-rows { align-self: start; display: flex; flex-direction: column; }
.n-body .n-hs .n-pc-rows .price-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-top: 1px solid var(--n-line); font: 400 14.5px/1.4 var(--n-read); }
.n-body .n-hs .n-pc-rows .price-row-value { text-align: right; color: var(--n-text); }
.n-body .n-hs .price-total { align-self: end; display: flex !important; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(201,169,97,.08); border: 1px solid rgba(201,169,97,.28); text-align: left !important; }
.n-body .n-hs .price-total .num { font: 500 30px/1 var(--n-serif); color: var(--n-gold); }
.n-body .n-hs .price-total .lbl { font: 400 14px/1.3 var(--n-read); color: var(--n-smoke); }
.n-body .n-hs .n-pc-actions { align-self: end; display: flex; flex-direction: column; gap: 10px; }
.n-body .n-hs .n-pc-actions .btn { width: 100%; min-height: 48px; }
.n-body .n-hs .price-card > svg, .n-body .n-hs .n-pc-ico { width: 40px; height: 40px; }
.n-hs-dots { display: flex; gap: 8px; justify-content: center; }
@media (max-width: 700px) {
  .n-body .n-hs [data-hs-track] { grid-auto-columns: 84vw; column-gap: 14px; padding: 0 8vw !important; }
  .n-body .n-hs .n-pc-rows { display: none; }
  .n-body .n-hs-stick { padding-top: 76px; gap: 18px; }
  .n-body .n-hs-stick > .sec-inner .sec-sub { display: none; }
}
.n-body .n-hs .n-hs-intro { grid-row: 1 / span 5; align-self: center; width: 340px; max-width: none !important; margin: 0 24px 0 0 !important; padding: 0 !important; }
.n-body .n-hs [data-hs-track] { grid-auto-columns: auto; grid-template-columns: none; }
.n-body .n-hs .price-card { width: 380px; }
.n-body .n-hs .n-hs-intro .sec-h2 { font-size: clamp(40px, 3.6vw, 58px) !important; line-height: 1.02 !important; }
.n-body .n-hs .price-card > svg { display: none; }
.n-body .n-hs .price-card { grid-row: span 5; }
.n-body .n-hs [data-hs-track] { grid-template-rows: repeat(5, auto); }
.n-body .n-hs .n-pc-rows .price-row { padding: 5px 0; font-size: 14px; }
.n-body .n-hs .price-card-desc { font-size: 15px !important; line-height: 1.55 !important; }
@media (max-width: 700px) {
  .n-body .n-hs .n-hs-intro { width: 80vw; margin-right: 6vw !important; }
  .n-body .n-hs .price-card { width: 82vw; }
  .n-body .n-hs .price-card { grid-row: span 4; }
  .n-body .n-hs [data-hs-track] { grid-template-rows: repeat(4, auto); }
  .n-body .n-hs .n-hs-intro { grid-row: 1 / span 4; }
}
.n-body .n-hs .price-card { grid-row: 1 / span 5 !important; }
@media (max-width: 700px) { .n-body .n-hs .price-card { grid-row: 1 / span 4 !important; } }
.n-body .n-hs .price-card { margin: 0 !important; }

/* ═══ Ряды карточек (Кенан 09.11): карточки ряда одной высоты; соседние элементы выравнивает nocturne.js (alignRows) ═══ */
.n-body :is(.card, .svc-card, .feat-card, .xid-card, .info-card, .adv-card, .trust-card, .dir-card, .opp-card, .fmt-card, .step-card, .review-card, .def-card, .blog-card) { align-self: stretch; }
/* подзаголовок секции: без жёстких переносов — одна строка, если не помещается — две равные (text-wrap: balance) */
.n-body .sec-sub br { display: none; }
.n-body .sec-sub :is(span[class*="-desk"], span[class*="-mob"], .sh-line) { display: inline; }
.n-body .sec-sub [class*="-mob"] { display: none !important; }
.n-body .sec-header .sec-sub { max-width: 980px !important; text-wrap: balance; }
.n-body .svc-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px !important; }
@media (max-width: 960px) { .n-body .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .n-body .svc-grid { grid-template-columns: 1fr !important; } }

/* ═══ О специалисте (Кенан 09.11): хронология с линией и точками, проявление по одной строке, подсветка при наведении ═══ */
.n-body .bio-2col.n-one-col { grid-template-columns: 1fr !important; }
.n-body .timeline-list { position: relative; }
.n-body .timeline-list li { position: relative; padding-left: 28px !important; border-radius: 14px; transition: background .4s var(--n-e), opacity .9s var(--n-e), transform 1s var(--n-e); }
.n-body .timeline-list li::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, rgba(201,169,97,.55), rgba(201,169,97,.08)); }
.n-body .timeline-list li::after { content: ""; position: absolute; left: 2px; top: 34px; width: 9px; height: 9px; border-radius: 50%; background: var(--n-bg); border: 1px solid var(--n-gold); transition: background .3s, box-shadow .3s; }
.n-body .timeline-list li:hover { background: rgba(201,169,97,.05); }
.n-body .timeline-list li:hover::after { background: var(--n-gold); box-shadow: 0 0 0 6px rgba(201,169,97,.14); }
.n-body .timeline-list li:hover > strong { text-shadow: 0 0 24px rgba(201,169,97,.45); }
.n-body .timeline-list li.n-io { transform: translateX(-18px); }
.n-body .timeline-list li.n-io.is-in { transform: none; }
/* сертификаты: горизонтальная лента со свайпом и прилипанием */
.n-body .n-gallery { display: flex !important; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: thin; scrollbar-color: rgba(201,169,97,.4) transparent; -webkit-overflow-scrolling: touch; }
.n-body .n-gallery .n-shot { flex: 0 0 auto; width: clamp(220px, 24vw, 300px); scroll-snap-align: start; transition: transform .5s var(--n-e), box-shadow .5s, opacity .9s var(--n-e); }
.n-body .n-gallery .n-shot:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.n-body .n-gallery .n-shot img { width: 100%; height: clamp(160px, 17vw, 210px); object-fit: cover; border-radius: 12px; }

/* ═══ Подвал (Кенан 09.11): 4 колонки в ряд на десктопе, 2 на планшете, 1 на телефоне; знак заливается при подходе ═══ */
.n-body .n-foot-orig > div, .n-body .n-foot-orig .footer-inner { display: block !important; }
.n-body .n-foot-orig .footer-grid { display: grid !important; grid-template-columns: 1.35fr 1fr 1fr 1fr !important; gap: 40px !important; align-items: start; }
.n-body .n-foot-orig .footer-grid > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.n-body .n-foot-orig .footer-links { display: flex; flex-direction: column; gap: 8px; }
.n-body .n-foot-orig .footer-col-title { font: 600 12px/1.4 var(--n-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--n-gold); }
.n-body .n-foot-orig .social-links { display: flex; gap: 10px; }
.n-body .n-foot-orig .social-links a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--n-line2); font: 600 11px/1 var(--n-sans); transition: border-color .3s, color .3s, transform .4s var(--n-e); }
.n-body .n-foot-orig .social-links a:hover { border-color: var(--n-gold); transform: translateY(-3px); }
.n-body .n-foot-orig .footer-bottom { margin-top: 48px !important; }
@media (max-width: 960px) { .n-body .n-foot-orig .footer-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 600px) { .n-body .n-foot-orig .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; } }
.n-foot-mark.is-in { background-position: 0 100%; }

/* ═══ Книги: в общей сетке, карточка книги ═══ */
.n-body .n-books-band { max-width: var(--n-wrap); margin: clamp(56px, 6vw, 88px) auto 0 !important; padding: 0 var(--n-pad) !important; background: none !important; }
.n-body .books-band-inner { display: flex; flex-direction: column; gap: 18px; padding: 0 !important; max-width: none !important; }
.n-body .books-band-label { font: 600 12px/1.3 var(--n-sans); letter-spacing: .24em; text-transform: uppercase; color: var(--n-gold); }
.n-body .book-card-row { display: grid !important; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: var(--n-card-pad); border-radius: var(--n-card-radius); background: var(--n-glass); border: 1px solid var(--n-line); transition: border-color .4s, transform .6s var(--n-e); }
.n-body .book-card-row:hover { border-color: rgba(201,169,97,.4); transform: translateY(-4px); }
.n-body .book-spine { width: 120px; height: 168px; border-radius: 6px 14px 14px 6px; background: linear-gradient(90deg, #2a2216 0 10px, #3b2f1c 10px 12px, #17130c 12px), linear-gradient(160deg, #3a2e1b, #120f0a); box-shadow: 0 24px 40px -22px rgba(0,0,0,.9), inset -1px 0 0 rgba(201,169,97,.35); display: grid; place-items: center; padding: 14px; }
.n-body .book-spine-text { font: italic 400 18px/1.15 var(--n-serif); color: var(--n-gold2); text-align: center; writing-mode: horizontal-tb !important; transform: none !important; }
.n-body .book-card-info { display: flex; flex-direction: column; gap: 10px; }
.n-body .book-card-info h3 { margin: 0; font: 400 clamp(28px, 2.4vw, 36px)/1.1 var(--n-serif); color: var(--n-milk); }
.n-body .book-card-info p { margin: 0; font: 400 16.5px/1.6 var(--n-read); color: var(--n-soft); max-width: 640px; }
.n-body .book-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.n-body .book-card-tag { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--n-line2); font: 500 12.5px/1.2 var(--n-sans); color: var(--n-soft); }
@media (max-width: 760px) { .n-body .book-card-row { grid-template-columns: 1fr; justify-items: start; } .n-body .book-spine { width: 96px; height: 132px; } }
/* простая лента (статьи): карточки одного ряда */
.n-body .n-hs-simple [data-hs-track] { grid-template-rows: auto !important; align-items: stretch; }
.n-body .n-hs-simple .n-hs-intro { grid-row: 1 !important; }
.n-body .n-hs-simple .blog-card { width: 380px; grid-row: 1 !important; margin: 0 !important; transform: scale(var(--cs, 1)); opacity: var(--co, 1); transition: transform .35s var(--n-e), opacity .35s var(--n-e); }
@media (max-width: 700px) { .n-body .n-hs-simple .blog-card { width: 80vw; } }

/* ═══ Кнопки: перекат текста + притяжение к курсору ═══ */
.n-roll { position: relative; display: inline-flex; flex-direction: column; height: 1.25em; overflow: hidden; line-height: 1.25em; }
.n-roll > span { display: block; transition: transform .55s cubic-bezier(.7,0,.2,1); }
:is(.n-btn, .n-body .btn, .n-cta):hover .n-roll > span { transform: translateY(-100%); }
:is(.n-btn, .n-body .btn, .n-cta) { translate: var(--mxb, 0px) var(--myb, 0px); transition: translate .35s var(--n-e), transform .5s cubic-bezier(.3,1.6,.5,1), box-shadow .5s, background .3s, border-color .3s, color .3s; }
.n-body section > .n-books-band { margin-left: auto !important; margin-right: auto !important; width: 100% !important; box-sizing: border-box; }
.n-body .n-books-band { padding: 0 !important; }
.n-body .book-spine-text { display: block !important; opacity: 1 !important; color: var(--n-gold2) !important; }
.n-form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 760px) { .n-form-grid-3 { grid-template-columns: 1fr !important; } }

/* ═══ Лендинг программы (Кенан 09.11): факты, документ, одна карточка цены ═══ */
.n-facts { padding: 28px 0 0; }
.n-facts-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.n-facts-list li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: var(--n-glass); border: 1px solid var(--n-line); }
.n-facts-list span { font: 600 11.5px/1.3 var(--n-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--n-gold); }
.n-facts-list b { font: 500 17px/1.35 var(--n-read); color: var(--n-milk); }
.n-doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .n-doc-grid { grid-template-columns: 1fr; } }
.n-doc-text { display: flex; flex-direction: column; gap: 16px; }
.n-doc-text .n-h2 { margin: 0; font-size: clamp(30px, 3vw, 44px) !important; }
.n-doc-logo { align-self: flex-start; display: block; background: #fff; border-radius: 14px; padding: 12px 18px; line-height: 0; }
.n-doc-logo img { display: block; width: clamp(200px, 22vw, 280px); height: auto; }
.n-doc-link { align-self: flex-start; padding: 12px 18px; border-radius: 99px; border: 1px solid rgba(201,169,97,.45); color: var(--n-gold) !important; font: 500 16px/1.3 var(--n-read); transition: background .3s, color .3s; }
.n-doc-link:hover { background: var(--n-gold); color: var(--n-bg) !important; }
.n-price-one-card { max-width: 460px; }
.n-price-one-card .price-card > svg { display: none; }
.n-who-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .n-who-pair { grid-template-columns: 1fr; } }
.n-who-pair .n-who { grid-template-columns: 130px minmax(0,1fr); } .n-who-pair .n-who img { width: 130px; height: 160px; }

/* ═══ Корпоративная страница: темы, хроника мероприятий ═══ */
.n-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .n-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .n-topics { grid-template-columns: 1fr; } }
.n-topic h3 { margin: 0; font: 400 clamp(24px, 2vw, 30px)/1.15 var(--n-serif); color: var(--n-milk); }
.n-topic p { margin: 0; font: 400 16.5px/1.6 var(--n-read); color: var(--n-soft); }
.n-yt { margin-top: 28px; display: inline-block; }
.n-events { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .n-events { grid-template-columns: 1fr; } }
.n-event { display: flex; flex-direction: column; gap: 10px; padding: var(--n-card-pad); border-radius: var(--n-card-radius); background: var(--n-glass); border: 1px solid var(--n-line); border-top: 2px solid var(--n-gold); }
.n-event-date { font: 600 12px/1.3 var(--n-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--n-gold); }
.n-event h4 { margin: 0; font: 400 26px/1.15 var(--n-serif); color: var(--n-milk); }
.n-event p { margin: 0; font: italic 400 18px/1.45 var(--n-read); color: var(--n-soft); }
.n-card-more { margin-top: auto; color: var(--n-gold) !important; font: 500 16px/1.2 var(--n-read); }
.n-card-more:hover { color: var(--n-gold2) !important; }
.n-body .n-foot-orig .footer-bottom { font-size: 12.5px !important; line-height: 1.6 !important; }
.n-body .dg-lightbox { display: none !important; }
.n-inline-link { color: var(--n-gold) !important; white-space: nowrap; }

/* ═══ РИТМ — единая формула отступов и выравнивания (Кенан 09.11.2026, DESIGN-STANDARD §10) ═══
   Отступ = Фибоначчи × u.  u = 8px на телефоне, 12px на компьютере.  Шаги 2·3·5·8 → отношение соседних ≈ 1,6 (золотое сечение).
   r1 = 2u  (16/24)  внутри группы: метка → заголовок → подзаголовок, абзац → абзац, промежутки внутри карточки
   r2 = 3u  (24/36)  текст → кнопка, цена → кнопка, карточка ↔ карточка, ряд кнопок
   r3 = 5u  (40/60)  шапка блока (метка+заголовок+подзаголовок) → содержимое блока
   r4 = 8u  (64/96)  поле секции сверху и снизу; между секциями — одна граница, без сложения пустот
   Текст: только по левому краю (+ перенос слов), строка не шире 68 знаков. По центру — только 1–2 строки (JS снимает центр с более длинных). */
:root { --u: 8px; }
@media (min-width: 901px) { :root { --u: 12px; } }
:root { --r1: calc(var(--u) * 2); --r2: calc(var(--u) * 3); --r3: calc(var(--u) * 5); --r4: calc(var(--u) * 8); }

/* r4 — секции */
.n-body .n-sec, main.page-main > section:not(.n-hero):not(.n-cine):not(.n-hs), main.page-main > .cta-band, main.page-main > .legal-banner,
main.page-main > .legal-block, main.page-main > .tg-band, main.page-main > div.stats-strip { padding-top: var(--r4) !important; padding-bottom: var(--r4) !important; }

/* r1 — внутри шапки блока */
.n-body .sec-h2, .n-body main h2, .n-body .n-h2 { margin-top: var(--r1) !important; }
.n-body :is(.sec-label, .badge, .n-eyebrow) + :is(.sec-h2, h2, .n-h2) { margin-top: var(--r1) !important; }
.n-body :is(.sec-inner, .sec-header, .n-sec-head, .n-doc-text, .cta-band-inner, .legal-block-inner, .tg-text) > :is(.sec-h2, h2, .n-h2):first-child { margin-top: 0 !important; }
.n-body :is(.sec-sub, .sec-lead, .stud-sub, .n-lead) { margin-top: var(--r1) !important; }

/* r3 — шапка → содержимое */
.n-body .n-sec-head { margin-bottom: var(--r3) !important; }
.n-body .sec-header + *, .n-body .sec-sub + *, .n-body .sec-lead + *, .n-body .sec-h2 + div, .n-body .sec-h2 + ul,
.n-body .stud-sub + *, .n-body .n-lead + :is(div, ul, form, .n-grid) { margin-top: var(--r3) !important; }
.n-body .n-hs:not(.n-hs-native) [data-hs-track] { margin-top: 0 !important; }

/* r2 — текст → кнопка, цена → кнопка, ряды кнопок, сетки карточек */
.n-body :is(.svc-actions, .cta-pair, .legal-btns, .cta-band-btns, .n-pc-actions, .form-footer, .conclusion-btns, .n-about-more-row, .book-card-row) { margin-top: var(--r2) !important; }
.n-body :is(p, ul, ol, .price-total, .form-note, .sec-body, .n-lead, .sec-sub) + :is(a.btn, .btn, .n-btn, button[type=submit]) { margin-top: var(--r2) !important; }
.n-body .price-card .price-total + *, .n-body .n-short-card .price-total + * { margin-top: var(--r2) !important; }
.n-body :is(.grid-2, .grid-3, .grid-4, .n-people, .dir-grid, .why-grid, .svc-grid, .blog-grid-2, .n-grid, .yt-grid-3) { gap: var(--r2) !important; }

/* абзацы в тексте */
.n-body main :is(.article-body, .sec-body, .bio-2col, .overview-text) p + p { margin-top: var(--r1) !important; }

/* текст: левый край, перенос, ширина строки */
.n-body main :is(p, li, .sec-sub, .sec-lead, .n-lead, .price-card-desc):not(:is(.cta-band, .legal-block, .legal-banner, .tg-band) *) { text-align: left; }
.n-body main :is(p, li, .sec-sub, .sec-lead, .n-lead, .price-card-desc) { hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; }
.n-body main :is(p, .sec-sub, .sec-lead, .n-lead) { max-width: 68ch; }
.n-body .n-ta-c { text-align: center !important; }
.n-body :is(.cta-band, .legal-block, .legal-banner, .tg-band) :is(p, .sec-sub) { margin-left: auto; margin-right: auto; }

/* мобильная лента: без закрепления на весь экран — карточки листаются пальцем */
.n-body .n-hs.n-hs-native { height: auto !important; padding-top: var(--r4) !important; padding-bottom: var(--r4) !important; }
.n-body .n-hs.n-hs-native .n-hs-stick { position: static; height: auto; padding: 0; gap: var(--r3); overflow: visible; display: flex; }
.n-body .n-hs.n-hs-native [data-hs-track] { transform: none !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px !important; }
.n-body .n-hs.n-hs-native [data-hs-track]::-webkit-scrollbar { display: none; }
.n-body .n-hs.n-hs-native [data-hs-track] > * { scroll-snap-align: center; --cs: 1; --co: 1; }
.n-body .n-hs.n-hs-native .n-hs-stick > .sec-inner .sec-sub { display: block; }
.n-body .n-hs.n-hs-native .n-hs-intro { width: auto !important; max-width: var(--n-wrap) !important; margin: 0 auto var(--r3) !important; padding: 0 var(--n-pad) !important; box-sizing: border-box; }
.n-body .n-hs .prog-enroll-note { max-width: var(--n-wrap); margin: var(--r2) auto 0 !important; padding: 0 var(--n-pad); box-sizing: border-box; }

/* меню телефона: подпункты обучения и консультаций — по стрелке (Кенан 09.11) */
.n-m-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.n-m-tog { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--n-line); border-radius: 50%; background: none; color: var(--n-gold); cursor: pointer; transition: transform .3s; }
.n-m-fold .n-m-sub { display: none; }
.n-m-fold.is-open .n-m-sub { display: flex; }
.n-m-fold.is-open .n-m-tog { transform: rotate(180deg); }
.n-mob .n-m-group { border-bottom: 1px solid var(--n-line); padding: 10px 0; margin: 0; }
.n-mob .n-m-sub { border-bottom: 0 !important; margin: 0 !important; padding: 8px 0 4px !important; }
body:has(.n-mob.is-open) .n-app { display: none !important; }

/* контакты */
.n-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--r3); align-items: start; }
@media (max-width: 900px) { .n-contact-grid { grid-template-columns: 1fr; } }
.n-contact-col { display: flex; flex-direction: column; gap: var(--r2); }
.n-contact-card { display: flex; flex-direction: column; gap: var(--r1); padding: 32px 24px; border-radius: 24px; background: var(--n-layer); border: 1px solid var(--n-line); }
.n-contact-card p { margin: 0 !important; font: 400 17px/1.65 var(--n-read); color: var(--n-soft); }
.n-contact-addr { font: 400 clamp(24px, 2.2vw, 30px)/1.3 var(--n-serif) !important; color: var(--n-milk) !important; }
.n-contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--r1); }
.n-contact-btns .btn { flex: 1 1 160px; justify-content: center; }
.n-contact-note { font-size: 14px !important; color: var(--n-smoke) !important; }
.n-contact-mail { align-self: flex-start; color: var(--n-gold) !important; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--n-serif); border-bottom: 1px solid rgba(201,169,97,.4); }
.n-contact-map { position: sticky; top: 96px; border-radius: 24px; overflow: hidden; border: 1px solid var(--n-line); aspect-ratio: 4 / 5; background: var(--n-layer); }
@media (max-width: 900px) { .n-contact-map { position: static; aspect-ratio: 1 / 1; } }
.n-contact-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.5) invert(.9) hue-rotate(180deg) contrast(.9); }

.n-contact-go { display: grid; grid-template-columns: 1fr 1fr; }
.n-contact-go .btn:first-child { grid-column: 1 / -1; }

/* ритм внутри карточек цены: промежутки r1, цена → кнопки r2 (перебивает «> * { margin: 0 }» карточек) */
html body.n-body main :is(.price-card, .n-short-card) { row-gap: var(--r1) !important; }
html body.n-body main :is(.price-card, .n-short-card) > :is(.price-total, .price-row:last-of-type) + :is(a.btn, .btn, .n-pc-actions) { margin-top: calc(var(--r2) - var(--r1)) !important; }
html body.n-body main .n-hs .price-card > .n-pc-actions { margin-top: calc(var(--r2) - var(--r1)) !important; }
/* документ: заголовок, текст — r1; текст → ссылка r2 */
html body.n-body .n-doc-text { gap: var(--r1) !important; }
html body.n-body .n-doc-text > .n-doc-link { margin-top: calc(var(--r2) - var(--r1)) !important; }
/* r2 — кнопка или ряд кнопок после любого текста/сетки/поля формы (обёртки без класса тоже) */
html body.n-body main :is(p, ul, ol, .price-total, .prog-price, .rfield, .form-group, [class*="grid"], [class*="tags"], div:not([class*="btn"])) + :is(div, form, p):has(> :is(a.btn, .btn, button):first-child) { margin-top: var(--r2) !important; }
html body.n-body main :is(p, .rfield, .form-group, textarea, div:not([class*="btn"]):not(:has(> .btn))) + :is(a.btn, .btn, button[type=submit]) { margin-top: var(--r2) !important; }
html body.n-body .n-hs.n-hs-native .sec-inner > [data-hs-track] { margin-top: var(--r3) !important; }
/* r3 — любой заголовок блока (h2 / подзаголовок) → содержимое-блок (сетка, галерея, список, таблица), кроме текста статьи */
html body.n-body main :is(h2, .sec-h2, .sec-sub, .sec-lead):not(.article-body *):not(.cta-band *):not(.n-doc-text *) + :is(div, ul, ol, table, .n-gallery, details):not([data-hs-track]):not(:has(> :is(a.btn, .btn, button):first-child)) { margin-top: var(--r3) !important; }
html body.n-body main :is(.sec-header, .sec-inner) + :is(.n-gallery, div):not([data-hs-track]) { margin-top: var(--r3) !important; }

/* плашка приложения — внизу слева, не закрывает меню и не спорит с кнопкой WhatsApp (Кенан 09.11) */
.n-app { left: 12px !important; right: auto !important; top: auto !important; bottom: 12px !important; width: min(520px, calc(100vw - 100px)) !important; transform: translateY(140%) !important; }
.n-app.is-in { transform: none !important; }
@media (max-width: 560px) { .n-app { padding: 10px !important; gap: 10px !important; } .n-app-txt small { display: none; } }

/* закреплённые ленты на компьютере — прежняя плотность карточек (лента рассчитана на высоту экрана) */
@media (min-width: 901px) {
  html body.n-body main .n-hs:not(.n-hs-native) .price-card { row-gap: 14px !important; gap: 14px !important; }
  html body.n-body main .n-hs:not(.n-hs-native) .price-card > .n-pc-actions,
  html body.n-body main .n-hs:not(.n-hs-native) .price-card > .price-total + * { margin-top: 0 !important; }
  html body.n-body main .n-hs:not(.n-hs-native) [data-hs-track] { margin-top: 0 !important; }
  html body.n-body main .n-hs:not(.n-hs-native) .n-hs-stick { padding-top: 84px !important; }
}
@media (min-width: 901px) {
  html body.n-body main .n-hs:not(.n-hs-native) .sec-inner > [data-hs-track] { margin-top: var(--r2) !important; }
  html body.n-body main .n-hs:not(.n-hs-native) .prog-enroll-note { margin-top: 6px !important; }
}
/* телефон: лента листается внутри себя и НЕ расширяет страницу (иначе браузер уменьшает весь сайт) */
html body.n-body .n-hs.n-hs-native [data-hs-track] { overflow-x: auto !important; overflow-y: hidden !important; max-width: 100% !important; box-sizing: border-box; }
html body.n-body .n-hs.n-hs-native .n-hs-stick { overflow-x: clip !important; }

/* закреплённая лента на телефоне (возвращена, Кенан 09.11): содержимое у верха экрана — без пустоты над блоком */
@media (max-width: 900px) {
  html body.n-body .n-hs .n-hs-stick { justify-content: flex-start !important; padding-top: 84px !important; padding-bottom: 16px !important; }
  html body.n-body main .n-hs .price-card { row-gap: 12px !important; gap: 12px !important; }
  html body.n-body main .n-hs .price-card > .n-pc-actions, html body.n-body main .n-hs .price-card > .price-total + * { margin-top: 0 !important; }
  html body.n-body main .n-hs .sec-inner > [data-hs-track] { margin-top: var(--r2) !important; }
}
@media (max-width: 900px) { html body.n-body .n-hs [data-hs-track] > .n-hs-intro { align-self: start !important; padding-top: 8px !important; } }
