/* ==========================================================================
   Ольга Назаренко — финансовый директор. Прототип по ТЗ (6 референсов).
   Шрифты подобраны замером по референсам: заголовки EB Garamond,
   текст Montserrat. Префикс nz- — чтобы при переносе в тему WP
   не пересечься со стилями старой CFO-Theme.
   ========================================================================== */

:root {
  --cream: #F2EEEB;
  --cream-2: #EEEBE6;
  --paper: #FCF8F1;
  --card: #FFFDF9;
  --ink: #141414;
  --ink-2: #2B2823;
  --muted: #6A645B;
  --gold: #957036;
  --gold-2: #B08A58;
  --gold-3: #D8BE8F;
  --gold-line: rgba(149, 112, 54, .35);
  --night: #08090A;
  --night-2: #0E0F11;
  --night-3: #16171A;
  --text-light: #EDE8E1;
  --muted-light: #9C968C;

  --serif: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Inter", system-ui, sans-serif;

  --container: 1360px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, p { margin: 0; }

.nz-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- общие элементы ---------- */
.nz-ic {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round;
}
.nz-ic--check .fill { fill: rgba(149, 112, 54, .9); stroke: none; }
.nz-ic--check .on-fill { stroke: #fff; stroke-width: 2; }

.nz-rule { display: block; width: 72px; height: 1px; background: var(--gold-2); margin: 22px 0; }
.nz-rule--short { width: 36px; margin: 16px 0; }
.nz-rule--light { background: rgba(216, 190, 143, .55); }

.nz-circle {
  display: inline-grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--gold-line); color: var(--gold);
  font-size: 38px;
}

.nz-index { display: block; font: 400 26px/1 var(--serif); color: var(--gold-2); margin-bottom: 18px; }
.nz-num { display: block; font: 400 36px/1 var(--serif); color: var(--gold); }

.nz-h2 {
  font: 400 clamp(2.1rem, 3.7vw, 3.9rem)/1.08 var(--serif);
  letter-spacing: -.005em;
  color: var(--ink);
  max-width: 24ch;
}
.nz-h2 span { color: var(--gold); }
.nz-h2--light { color: var(--text-light); }
.nz-h2--light span { color: var(--gold-2); }

.nz-sub { font: 400 clamp(1.25rem, 1.7vw, 1.75rem)/1.3 var(--serif); margin-top: 14px; }
.nz-sub--gold { color: var(--gold); }

.nz-lead-sans { margin-top: 12px; font-size: clamp(14px, 1.05vw, 17px); color: var(--ink-2); }
.nz-lead-sans--light { color: var(--muted-light); }

/* кнопки */
.nz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 26px; border-radius: 3px;
  font: 500 13px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
}
.nz-btn .nz-ic { font-size: 18px; transition: transform .35s var(--ease); }
.nz-btn:hover .nz-ic { transform: translateX(4px); }
.nz-btn--gold {
  color: #fff;
  background: linear-gradient(135deg, #C7A36F 0%, #A9814B 48%, #8C6A3A 100%);
  box-shadow: 0 10px 26px rgba(120, 88, 40, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.nz-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(120, 88, 40, .36), inset 0 1px 0 rgba(255, 255, 255, .25); }
.nz-btn--outline { color: var(--ink); border: 1px solid var(--gold-line); background: rgba(255, 255, 255, .35); }
.nz-btn--outline:hover { border-color: var(--gold); background: rgba(255, 255, 255, .7); }
.nz-btn--ghost { color: var(--text-light); border: 1px solid rgba(216, 190, 143, .35); justify-content: space-between; text-align: left; }
.nz-btn--ghost:hover { border-color: var(--gold-2); color: #fff; }
.nz-btn--sm { padding: 11px 18px; font-size: 11px; }

/* появление при прокрутке */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* ---------- шапка ---------- */
.nz-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: background .4s, padding .4s, box-shadow .4s, color .4s;
}
.nz-header__inner { display: flex; align-items: center; gap: 34px; }
.nz-logo { font: 400 22px/1 var(--serif); letter-spacing: .01em; margin-right: auto; white-space: nowrap; }
.nz-logo span { color: var(--gold); }
.nz-nav { display: flex; gap: 30px; font-size: 13px; }
.nz-nav a { position: relative; opacity: .8; transition: opacity .3s; }
.nz-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--gold-2); transition: right .4s var(--ease); }
.nz-nav a:hover { opacity: 1; }
.nz-nav a:hover::after { right: 0; }
.nz-header__phone { font: 400 18px/1 var(--serif); white-space: nowrap; }
.nz-header.is-scrolled { padding: 10px 0; background: rgba(242, 238, 235, .86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(20, 20, 20, .06); }
.nz-header.is-dark { color: var(--text-light); }
.nz-header.is-dark.is-scrolled { background: rgba(8, 9, 10, .78); box-shadow: 0 1px 0 rgba(216, 190, 143, .12); }
.nz-burger { display: none; width: 40px; height: 40px; position: relative; }
.nz-burger span { position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nz-burger span:first-child { top: 16px; }
.nz-burger span:last-child { top: 24px; }
.nz-header.is-open .nz-burger span:first-child { top: 20px; transform: rotate(45deg); }
.nz-header.is-open .nz-burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- 1. первый экран ---------- */
.nz-hero {
  position: relative; overflow: hidden;
  min-height: max(720px, 100vh);
  background: var(--cream);
  display: flex; align-items: center;
}
.nz-hero__bg {
  position: absolute; inset: -10% 0;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(255, 250, 244, .9) 0%, rgba(255, 250, 244, 0) 70%),
    linear-gradient(90deg, #F7F4F1 0%, #F2EEEB 42%, #E8E0D7 100%);
}
/* тёплая вертикальная полоса света, как в референсе справа */
.nz-hero__lamp {
  position: absolute; top: 0; bottom: 22%; right: 3.5%; width: 3px;
  background: linear-gradient(180deg, rgba(255, 236, 200, 0) 0%, rgba(255, 236, 200, .95) 30%, rgba(255, 236, 200, .8) 70%, rgba(255, 236, 200, 0) 100%);
  box-shadow: 0 0 40px 14px rgba(255, 226, 180, .45);
  filter: blur(.4px);
}
.nz-hero__grid { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 60px; }
.nz-hero__content { width: min(52%, 760px); }
.nz-hero__name { font: 400 clamp(1.3rem, 1.9vw, 2rem)/1.1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.nz-hero__title {
  font: 400 clamp(2.2rem, 3.55vw, 4.1rem)/1.04 var(--serif);
  text-transform: uppercase; letter-spacing: .004em; white-space: nowrap;
}
.nz-hero__lead { font-size: clamp(16px, 1.4vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }

.nz-hero__stats { list-style: none; padding: 0; margin: 30px 0 26px; display: flex; align-items: flex-start; }
.nz-hero__stats li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(14px, 1.8vw, 30px); }
.nz-hero__stats li:first-child { padding-left: 0; }
.nz-hero__stats li + li { border-left: 1px solid rgba(20, 20, 20, .08); }
.nz-hero__stats .nz-ic { font-size: 36px; color: var(--gold-2); margin-bottom: 12px; }
.nz-hero__stats strong { font: 400 clamp(1.6rem, 2.2vw, 2.4rem)/1 var(--serif); text-transform: uppercase; }
.nz-hero__stats span { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.nz-hero__stats li.is-text { max-width: 270px; }
.nz-hero__stats li.is-text span { margin-top: 0; line-height: 1.45; }

.nz-hero__clients { font-size: clamp(14px, 1.08vw, 17px); color: var(--ink-2); max-width: 34em; }
.nz-hero__clients b { font-weight: 500; color: var(--gold); }
.nz-hero__motto { margin: 26px 0 28px; font: 400 clamp(1.25rem, 1.75vw, 1.9rem)/1.2 var(--serif); color: var(--gold); text-transform: uppercase; letter-spacing: .02em; }
.nz-btn--hero { padding: 24px 44px 24px 30px; font: 400 17px/1 var(--serif); letter-spacing: .08em; }
.nz-btn--hero .nz-ic { font-size: 20px; }
.nz-btn--hero:hover .nz-ic { transform: translate(3px, -3px); }
.nz-hero__note { margin-top: 24px; font-size: clamp(14px, 1.02vw, 16px); line-height: 1.55; color: var(--muted); max-width: 30em; }

.nz-hero__figure {
  position: absolute; z-index: 1; right: 0; bottom: 0;
  height: 96.6%;             /* как в референсе: фигура занимает 96.6% высоты кадра */
  pointer-events: none;
}
.nz-hero__figure img {
  height: 100%; width: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%);
}

/* ---------- 2. боли ---------- */
.nz-pains { position: relative; overflow: hidden; background: var(--cream-2); padding: clamp(90px, 9vw, 150px) 0 clamp(60px, 6vw, 100px); }
.nz-pains__still {
  position: absolute; top: 0; right: 0; width: 40%; height: auto;
  pointer-events: none;
}
.nz-pains__still img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 70%, transparent 100%);
          mask-composite: intersect;
  filter: saturate(.9);
}
.nz-pains__inner { position: relative; z-index: 1; }
.nz-pains__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 60px; max-width: 60%; margin-top: 44px; }
.nz-pain { display: flex; gap: 22px; }
.nz-pain__body { border-left: 1px solid var(--gold-line); padding-left: 22px; }
.nz-pain h3 { font: 600 clamp(16px, 1.3vw, 20px)/1.35 var(--sans); margin: 12px 0 10px; }
.nz-pain p { font-size: clamp(14px, 1.05vw, 16px); color: var(--muted); line-height: 1.55; }
.nz-pain--wide { grid-column: 1 / -1; max-width: 50%; }

.nz-strip {
  margin-top: clamp(50px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 30px 40px 30px 36px;
  background: rgba(255, 255, 255, .62); backdrop-filter: blur(10px);
  border-left: 2px solid var(--gold-2);
  box-shadow: 0 20px 50px rgba(60, 45, 25, .08);
}
.nz-strip__title { font: 400 clamp(1.35rem, 1.9vw, 2rem)/1.25 var(--serif); }
.nz-strip__title span { color: var(--gold); }
.nz-strip__note { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 44em; }

/* ---------- 3. результат ---------- */
.nz-results { position: relative; overflow: hidden; background: var(--night); color: var(--text-light); padding: clamp(90px, 9vw, 150px) 0 0; }
.nz-results__marble { position: absolute; top: -2%; right: 0; width: 44%; pointer-events: none; }
.nz-results__marble img {
  width: 100%; height: auto;
  /* левый и нижний края растворяются полностью: иначе на чёрном фоне читалась рамка картинки */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 45%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 45%, transparent 100%);
          mask-composite: intersect;
}
.nz-results__glow { position: absolute; inset: 0; background: radial-gradient(45% 55% at 82% 8%, rgba(176, 138, 88, .12), transparent 70%); pointer-events: none; }
.nz-results__inner { position: relative; z-index: 1; }
.nz-results .nz-h2 { max-width: none; }
.nz-results__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px; }
.nz-result { padding: 10px clamp(18px, 2.2vw, 36px) 40px; }
.nz-result:first-child { padding-left: 0; }
.nz-result + .nz-result { border-left: 1px solid transparent; border-image: linear-gradient(180deg, rgba(216,190,143,0) 0%, rgba(216,190,143,.55) 45%, rgba(216,190,143,.08) 100%) 1; }
.nz-bignum {
  display: block; font: 400 clamp(3.8rem, 7vw, 7.4rem)/1 var(--serif);
  background: linear-gradient(180deg, #F0D8A6 0%, #C49A5E 55%, #94703B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nz-rule--short.nz-rule { background: rgba(216, 190, 143, .55); }
.nz-results .nz-rule--short { background: rgba(216, 190, 143, .55); }
.nz-result h3 { font: 500 clamp(17px, 1.45vw, 22px)/1.35 var(--sans); color: #fff; margin-bottom: 14px; }
.nz-result p { font-size: clamp(14px, 1.05vw, 16px); color: #B5AEA3; line-height: 1.6; }
.nz-results__bottom {
  display: flex; align-items: center; gap: 30px;
  margin-top: 30px; padding: 40px 0 clamp(60px, 6vw, 90px);
  border-top: 1px solid rgba(216, 190, 143, .28);
}
.nz-results__arrow { font-size: 34px; color: var(--gold-2); }
.nz-results__bottom p { font: 400 clamp(1.4rem, 2.3vw, 2.4rem)/1.25 var(--serif); padding-left: 30px; border-left: 1px solid rgba(216, 190, 143, .3); }
.nz-results__bottom span { color: var(--gold-2); }

/* ---------- 4. кейсы ---------- */
.nz-cases { position: relative; background: var(--paper); padding: clamp(90px, 9vw, 150px) 0 clamp(60px, 6vw, 100px); }
.nz-cases .nz-h2 { max-width: none; }
.nz-cases__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.nz-case {
  display: flex; flex-direction: column;
  padding: 30px 26px 26px; border-radius: 14px;
  background: var(--card);
  border: 1px solid rgba(149, 112, 54, .12);
  box-shadow: 0 18px 44px rgba(80, 60, 30, .06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.nz-case:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(80, 60, 30, .11); }
.nz-case .nz-circle { margin-bottom: 26px; }
.nz-case__value { font: 400 clamp(2.2rem, 3.1vw, 3.4rem)/1.05 var(--serif); white-space: nowrap; }
.nz-case__value--text { white-space: normal; font-size: clamp(1.7rem, 2.2vw, 2.3rem); }
.nz-case__unit { font: 400 clamp(1.2rem, 1.65vw, 1.8rem)/1.2 var(--serif); color: var(--gold); margin-top: 4px; }
.nz-case h3 { font: 600 clamp(14px, 1.1vw, 17px)/1.35 var(--sans); margin-bottom: 10px; }
.nz-case__text { font-size: clamp(13.5px, 1vw, 15.5px); color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.nz-case__result {
  margin-top: auto; display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border-radius: 10px; background: #F5EFE4;
  font-size: clamp(13px, .95vw, 14.5px); line-height: 1.5; color: var(--ink-2);
}
.nz-case__result b { font-weight: 600; }
.nz-case__result .nz-ic { font-size: 22px; }
.nz-cases__bottom { display: flex; align-items: center; gap: 28px; margin-top: 50px; padding-top: 36px; border-top: 1px solid var(--gold-line); }
.nz-cases__bottom p { font: 400 clamp(1.3rem, 2vw, 2.1rem)/1.3 var(--serif); }
.nz-cases__bottom span { color: var(--gold); }

/* ---------- 5. форматы ---------- */
.nz-formats { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); color: var(--text-light); padding: clamp(90px, 9vw, 150px) 0 clamp(60px, 6vw, 100px); }
.nz-formats__glow { position: absolute; top: -20%; left: 25%; width: 60%; height: 70%; background: radial-gradient(closest-side, rgba(176, 138, 88, .1), transparent); pointer-events: none; }
.nz-formats .nz-h2 { max-width: none; }
.nz-formats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 50px; }
.nz-format {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 26px 26px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid rgba(216, 190, 143, .18);
  transition: transform .5s var(--ease), border-color .5s;
}
.nz-format:hover { transform: translateY(-6px); border-color: rgba(216, 190, 143, .4); }
.nz-format.is-key {
  border-color: rgba(216, 190, 143, .75);
  background: linear-gradient(180deg, rgba(176, 138, 88, .12), rgba(176, 138, 88, .03));
  box-shadow: 0 0 0 1px rgba(216, 190, 143, .15), 0 30px 70px rgba(0, 0, 0, .5);
}
.nz-format__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 5px 16px; border-radius: 2px;
  background: linear-gradient(135deg, #C7A36F, #9A7543); color: #141414;
  font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.nz-format .nz-circle { color: var(--gold-2); border-color: rgba(216, 190, 143, .35); margin-bottom: 26px; }
.nz-num--big { font-size: clamp(2.4rem, 3.2vw, 3.4rem); color: var(--gold-2); }
.nz-formats .nz-rule--short { background: rgba(216, 190, 143, .55); }
.nz-format h3 { font: 400 clamp(1.5rem, 2vw, 2.2rem)/1.12 var(--serif); color: #fff; margin-bottom: 14px; }
.nz-format p { font-size: clamp(14px, 1.02vw, 15.5px); color: #C2BBB0; line-height: 1.6; margin-bottom: 26px; }
.nz-format .nz-btn { margin-top: auto; }
.nz-formats__bottom {
  display: flex; align-items: center; gap: 28px;
  margin-top: 30px; padding: 26px 30px;
  border: 1px solid rgba(216, 190, 143, .18); border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}
.nz-formats__bottom .nz-circle { color: var(--gold-2); border-color: rgba(216, 190, 143, .35); }
.nz-formats__bottom-text { flex: 1; padding-right: 28px; border-right: 1px solid rgba(216, 190, 143, .2); }
.nz-formats__bottom-title { font: 400 clamp(1.25rem, 1.8vw, 1.9rem)/1.2 var(--serif); color: #fff; }
.nz-formats__bottom-text p:last-child { font-size: 13px; color: var(--muted-light); margin-top: 6px; }

/* ---------- остались вопросы ---------- */
.nz-contacts { position: relative; overflow: hidden; background: var(--night); color: var(--text-light); padding: clamp(90px, 9vw, 150px) 0 0; }
.nz-contacts__waves { position: absolute; left: 0; bottom: 70px; width: 44%; height: 300px; opacity: .9; pointer-events: none; }
.nz-contacts__waves path { animation: nzWave 12s ease-in-out infinite alternate; }
.nz-contacts__waves path:nth-child(2n) { animation-duration: 15s; }
@keyframes nzWave { to { transform: translateY(-10px); } }
.nz-contacts__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.25fr .9fr; align-items: center; gap: clamp(30px, 4vw, 70px); padding-bottom: clamp(70px, 7vw, 110px); }
.nz-contacts__title { padding-right: clamp(20px, 3vw, 60px); border-right: 1px solid rgba(216, 190, 143, .25); }
.nz-contacts__title h2 { font: 400 clamp(2.6rem, 4.6vw, 4.8rem)/1 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.nz-contacts__title h2 span { color: var(--gold-2); }
.nz-contacts__title .nz-rule { background: rgba(216, 190, 143, .55); }
.nz-contacts__title p { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-light); }
.nz-contacts__links { display: grid; gap: 22px; }
.nz-contact {
  display: flex; align-items: center; gap: 22px;
  padding: 22px 26px; border-radius: 10px;
  border: 1px solid rgba(216, 190, 143, .3);
  transition: border-color .4s, background .4s, transform .4s var(--ease);
}
.nz-contact:hover { border-color: var(--gold-2); background: rgba(176, 138, 88, .06); transform: translateX(6px); }
.nz-contact .nz-circle { color: var(--gold-2); border-color: rgba(216, 190, 143, .4); }
.nz-contact__text { flex: 1; display: flex; flex-direction: column; }
.nz-contact__text b { font: 400 clamp(1.3rem, 1.6vw, 1.7rem)/1.1 var(--serif); color: #fff; }
.nz-contact__text small { font-size: 13px; color: var(--muted-light); margin-top: 4px; }
.nz-contact__arrow { font-size: 24px; color: var(--gold-2); transition: transform .4s var(--ease); }
.nz-contact:hover .nz-contact__arrow { transform: translateX(4px); }
.nz-contacts__brand { text-align: center; }
.nz-mono { position: relative; display: inline-block; width: 110px; height: 130px; }
.nz-mono i {
  position: absolute; font: 400 96px/1 var(--serif); font-style: normal;
  background: linear-gradient(180deg, #E8CF9C 0%, #B08A58 60%, #8A6737 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nz-mono i:first-child { left: 4px; top: 0; }
.nz-mono i:last-child { left: 22px; top: 42px; }
.nz-contacts__brand-name { font: 400 clamp(1.6rem, 2.1vw, 2.2rem)/1.05 var(--serif); text-transform: uppercase; letter-spacing: .03em; margin-top: 10px; }
.nz-contacts__brand .nz-rule { margin: 18px auto; width: 50px; background: rgba(216, 190, 143, .55); }
.nz-contacts__brand-tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); line-height: 1.7; }

.nz-footer { border-top: 1px solid rgba(216, 190, 143, .35); padding: 22px 0; font-size: 12px; color: var(--muted-light); }
.nz-footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.nz-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.nz-footer a:hover { color: var(--gold-3); }

/* ---------- модальное окно ---------- */
.nz-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(8, 9, 10, .6); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.nz-modal.is-open { opacity: 1; visibility: visible; }
.nz-modal__card { position: relative; width: min(520px, 100%); padding: 44px 40px 36px; background: var(--paper); border-radius: 6px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); transform: translateY(20px); transition: transform .5s var(--ease); }
.nz-modal.is-open .nz-modal__card { transform: none; }
.nz-modal__close { position: absolute; top: 16px; right: 16px; font-size: 22px; color: var(--muted); }
.nz-modal__card h3 { font: 400 2.1rem/1.1 var(--serif); }
.nz-modal__lead { margin: 12px 0 24px; color: var(--muted); font-size: 14px; }
.nz-form { display: grid; gap: 16px; }
.nz-form label span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.nz-form input:not([type=checkbox]) { width: 100%; padding: 14px 16px; border: 1px solid rgba(20, 20, 20, .14); border-radius: 3px; background: #fff; font: 15px var(--sans); color: var(--ink); outline: none; transition: border-color .3s; }
.nz-form input:focus { border-color: var(--gold-2); }
.nz-form__agree { display: flex; gap: 10px; align-items: flex-start; }
.nz-form__agree span { text-transform: none !important; letter-spacing: 0 !important; font-size: 12px !important; line-height: 1.5; }
.nz-form__agree a { color: var(--gold); text-decoration: underline; }
.nz-form__agree input { margin-top: 3px; accent-color: var(--gold); }
.nz-form__status { font-size: 13px; min-height: 1.2em; color: var(--gold); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1200px) {
  .nz-nav { gap: 20px; }
  .nz-header__phone { display: none; }
  .nz-cases__grid, .nz-formats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .nz-format.is-key { margin-top: 0; }
  .nz-results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .nz-result:nth-child(3) { padding-left: 0; border-left: 0; }
  .nz-pains__grid { max-width: 72%; }
}

@media (max-width: 960px) {
  .nz-nav, .nz-header__cta { display: none; }
  .nz-burger { display: block; }
  .nz-header.is-open { background: rgba(242, 238, 235, .97); }
  .nz-header.is-open .nz-nav {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 20px var(--pad) 30px; background: inherit; font-size: 16px;
  }
  .nz-header.is-dark.is-open { background: rgba(8, 9, 10, .97); }

  /* первый экран: фигура под заголовком, во всю ширину */
  .nz-hero { display: block; min-height: 0; }
  .nz-hero__lamp { display: none; }
  .nz-hero__grid { padding-top: 96px; padding-bottom: 50px; }
  .nz-hero__content { width: 100%; display: flex; flex-direction: column; }
  .nz-hero__title { font-size: clamp(2rem, 8.4vw, 3.6rem); white-space: normal; }
  .nz-hero__figure { display: none; }

  .nz-pains__still { display: none; }
  .nz-pains .nz-h2 br { display: none; }
  .nz-pains__grid { grid-template-columns: 1fr; max-width: none; gap: 34px; }
  .nz-pain--wide { max-width: none; }
  .nz-strip { flex-direction: column; align-items: flex-start; padding: 26px 24px; }

  .nz-results__marble { width: 60%; opacity: .7; }
  .nz-results__bottom { gap: 18px; }
  .nz-results__bottom p { padding-left: 18px; }

  .nz-contacts__grid { grid-template-columns: 1fr; }
  .nz-contacts__title { border-right: 0; padding-right: 0; }
  .nz-contacts__brand { text-align: left; }
  .nz-contacts__brand .nz-rule { margin-left: 0; }
  .nz-contacts__waves { width: 100%; opacity: .5; }
  .nz-formats__bottom { flex-direction: column; align-items: flex-start; }
  .nz-formats__bottom-text { border-right: 0; padding-right: 0; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .nz-hero__stats { margin: 26px 0 22px; }
  .nz-hero__stats li { padding: 0 12px; }
  .nz-hero__stats li.is-text { max-width: 150px; }
  .nz-hero__stats li.is-text span { font-size: 9.5px; }
  .nz-btn--hero, .nz-strip .nz-btn, .nz-formats__bottom .nz-btn { width: 100%; }
  .nz-cases__grid, .nz-formats__grid, .nz-results__grid { grid-template-columns: 1fr; }
  .nz-result { padding: 10px 0 26px; border-left: 0 !important; border-bottom: 1px solid rgba(216, 190, 143, .15); }
  .nz-pain { gap: 16px; }
  .nz-circle { width: 48px; height: 48px; font-size: 21px; }
  .nz-cases__bottom, .nz-results__bottom { flex-direction: column; align-items: flex-start; }
  .nz-results__bottom p { border-left: 0; padding-left: 0; }
  .nz-modal__card { padding: 40px 22px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .nz-contacts__waves path { animation: none; }
  html { scroll-behavior: auto; }
}

/* В форматах кнопки набраны строчными, как в макете; в полосе болей — капсом антиквой */
.nz-format .nz-btn, .nz-formats__bottom .nz-btn {
  text-transform: none; letter-spacing: .01em; font-size: 15px; font-weight: 500; padding: 18px 22px;
}
.nz-strip .nz-btn { font-family: var(--serif); font-weight: 400; font-size: 15px; letter-spacing: .06em; padding: 22px 30px; }

/* Интерьер за фигурой на первом экране: размытый натюрморт, как фон фото в макете */
.nz-hero__interior {
  position: absolute; top: 0; right: -4%; width: 42%; height: 100%;
  pointer-events: none; opacity: .55;
}
.nz-hero__interior img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%;
  filter: blur(14px) saturate(.8) brightness(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
@media (max-width: 960px) { .nz-hero__interior { display: none; } }

/* Заголовок болей: две строки, как в макете */
.nz-pains .nz-h2 { max-width: none; }

/* Фото на телефоне: под заголовком, во всю ширину экрана, низ растворяется */
.nz-hero__figure-mob { display: none; }
@media (max-width: 960px) {
  .nz-hero__figure-mob {
    display: block; margin: 4px calc(var(--pad) * -1) 18px;
    background: radial-gradient(70% 60% at 60% 45%, #FFFAF4 0%, rgba(255, 250, 244, 0) 70%);
  }
  .nz-hero__figure-mob img {
    width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  }
}
@media (max-width: 640px) {
  .nz-hero__stats { justify-content: space-between; }
  .nz-hero__stats li { padding: 0 8px; }
  .nz-hero__stats strong { white-space: nowrap; font-size: 1.55rem; }
  .nz-hero__stats span { font-size: 10px; letter-spacing: .04em; }
  .nz-hero__stats .nz-ic { font-size: 30px; }
  .nz-hero__motto { font-size: 1.15rem; }
}
