/* Каталитическая трансформация — лендинг.
   Палитра и типографика совпадают с декой метода. */

@font-face {
  font-family: 'PT Serif';
  src: url('assets/fonts/ptserif-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PT Serif';
  src: url('assets/fonts/ptserif-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PT Serif';
  src: url('assets/fonts/ptserif-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'PT Sans';
  src: url('assets/fonts/ptsans-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PT Sans';
  src: url('assets/fonts/ptsans-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --paper: #F2EEE7;
  --card: #EAE5DC;
  --ink: #1B2430;
  --green: #2F4F45;
  --muted: #6E6E68;
  --rule: #D6CFC4;
  --soft: #2C343E;
  --serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --sans: 'PT Sans', -apple-system, 'Segoe UI', Arial, sans-serif;
  --gut: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---------- шапка ---------- */

.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(242, 238, 231, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.top__inner {
  display: flex; align-items: center; gap: 32px;
  height: 76px;
}
.brand { text-decoration: none; margin-right: auto; }
.brand__mark {
  display: block;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green);
}
.brand__sub {
  display: block; font-size: 12px; color: var(--muted); letter-spacing: 0.02em; margin-top: 2px;
}
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; font-size: 14px; color: var(--soft);
  letter-spacing: 0.01em; border-bottom: 1px solid transparent; padding-bottom: 3px;
}
.nav a:hover { border-color: var(--green); }

/* ---------- кнопки ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none;
  color: var(--paper); background: var(--green);
  padding: 16px 26px; border: 1px solid var(--green); border-radius: 2px;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: #243F37; border-color: #243F37; }
.btn--ghost {
  background: transparent; color: var(--green);
}
.btn--ghost:hover { background: var(--green); color: var(--paper); }
.btn--light {
  background: var(--paper); color: var(--green); border-color: var(--paper);
}
.btn--light:hover { background: #FFFDF8; border-color: #FFFDF8; }

.link-arrow {
  font-size: 15px; color: var(--green); text-decoration: none;
  border-bottom: 1px solid rgba(47, 79, 69, 0.4); padding-bottom: 2px;
}
.link-arrow::after { content: ' →'; }
.link-arrow:hover { border-color: var(--green); }

/* ---------- общие элементы ---------- */

.kicker {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green); margin: 0 0 26px;
}
.kicker--light { color: rgba(242, 238, 231, 0.72); }

.h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.12;
  letter-spacing: -0.012em; color: var(--ink);
  margin: 0 0 26px; max-width: 27ch;
}
.h2--small { font-size: clamp(28px, 3vw, 42px); }

.lead {
  font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55; color: var(--muted); margin: 0 0 34px; max-width: 62ch;
}
.lead--wide { max-width: 76ch; }

.plate {
  margin: 56px 0 0;
  border-left: 4px solid var(--green);
  background: var(--card);
  padding: 28px 32px;
  font-family: var(--serif); font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.45; color: var(--ink);
  max-width: 74ch;
}
.plate--wide { max-width: none; }

/* ---------- первый экран ---------- */

.hero { border-bottom: 1px solid var(--rule); overflow: hidden; position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
  align-items: stretch; min-height: min(84vh, 760px);
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 0 64px; max-width: 660px; position: relative; z-index: 2;
}
h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 3.9vw, 56px); line-height: 1.07;
  letter-spacing: -0.018em; color: var(--ink);
  margin: 0 0 30px; text-wrap: balance;
}
.hero__lead {
  font-family: var(--serif); font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55; color: var(--soft); margin: 0 0 36px; max-width: 46ch;
}
.hero__acts { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.hero__72 { display: flex; align-items: baseline; gap: 16px; margin: 44px 0 0; }
.hero__72num {
  font-family: var(--serif); font-weight: 700; font-size: clamp(46px, 4.6vw, 62px);
  color: var(--green); line-height: 0.9;
}
.hero__72num span {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 24px; margin-left: 8px;
}
.hero__72cap { margin: 0; font-size: 15px; color: var(--muted); }

.hero__foot {
  margin: 46px 0 0; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 40ch;
}

.hero__photo {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(47vw, 720px); overflow: hidden;
}
.hero__photo img {
  height: 100%; width: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%);
}

/* ---------- секции ---------- */

.sec { padding: clamp(64px, 8vw, 112px) 0; border-bottom: 1px solid var(--rule); }
.sec--band { background: var(--card); }

.pains { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.pains li {
  position: relative; padding-left: 34px; margin: 0 0 18px;
  font-family: var(--serif); font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5; color: var(--soft);
}
.pains li::before {
  content: '—'; position: absolute; left: 0; top: 0; color: var(--green);
}

.maprow {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px);
  align-items: start; margin-top: 8px;
}
.map {
  border: 2px solid var(--green); border-radius: 10px;
  background: #EFEAE1; padding: 26px 30px 30px;
}
.map__label {
  margin: 0 0 16px; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--green);
}
.map ul { list-style: none; margin: 0; padding: 0; }
.map li {
  font-family: var(--serif); font-size: clamp(17px, 1.3vw, 21px);
  color: var(--ink); padding: 9px 0; border-bottom: 1px solid var(--rule);
}
.map li:last-child { border-bottom: 0; }
.map li::before { content: '— '; color: var(--green); }

.props { display: grid; gap: 26px; }
.prop h3, .gain h3, .step h3, .twocol h3 {
  font-family: var(--serif); font-weight: 700; font-size: 19px;
  color: var(--ink); margin: 0 0 6px; line-height: 1.3;
}
.prop p, .gain p, .step p, .twocol p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.gains {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
}
.gain { padding: 24px 0; border-top: 1px solid var(--rule); }
.gain h3 { color: var(--green); }

.twocol {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.twocol h3 { margin-bottom: 12px; font-size: 21px; }
.twocol p + p { margin-top: 14px; }

.limits { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rule); }
.limits__label {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green); margin: 0 0 14px;
}
.limits ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.limits li {
  position: relative; padding-left: 26px; font-size: 16px; color: var(--soft);
}
.limits li::before { content: '·'; position: absolute; left: 6px; color: var(--green); font-weight: 700; }

/* ---------- кто ведёт ---------- */

.who {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.who__photo img { border-radius: 4px; filter: saturate(0.95); }
.who__text .lead { margin-bottom: 22px; }
.who__text p { max-width: 60ch; }

.formula {
  margin: 34px 0 0; padding: 26px 30px;
  background: var(--card); border-left: 4px solid var(--green);
}
.formula p {
  margin: 0 0 10px; font-family: var(--serif); font-weight: 700;
  font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; color: var(--ink);
}
.formula cite {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: 14.5px; line-height: 1.55; color: var(--muted);
}

/* ---------- шаги ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.step { border-top: 2px solid var(--green); padding-top: 20px; }
.step__n {
  display: block; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; color: var(--muted); margin-bottom: 12px;
}

/* ---------- приглашение ---------- */

.invite { background: var(--green); color: var(--paper); padding: clamp(72px, 9vw, 128px) 0; }
.invite__inner { max-width: 900px; }
.invite h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 4vw, 54px); line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 24px; color: #F7F3EC;
}
.invite__lead {
  font-family: var(--serif); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55;
  color: rgba(242, 238, 231, 0.82); margin: 0 0 36px; max-width: 58ch;
}
.invite__note { margin: 22px 0 0; font-size: 14px; color: rgba(242, 238, 231, 0.62); }

/* ---------- подвал ---------- */

.foot { padding: 44px 0; background: var(--paper); }
.foot__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap;
}
.foot__name {
  margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--green);
}
.foot__sub { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.foot__right { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot__right a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.foot__right a:hover { border-color: var(--green); }

/* ---------- появление ---------- */

.rise { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- адаптив ---------- */

@media (max-width: 1000px) {
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 48px 0 8px; }
  .hero__photo { order: -1; height: 62vh; width: auto; position: static; margin: 0 calc(-1 * var(--gut)); }
  .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
                     mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
                     -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
  .maprow, .twocol, .who, .steps { grid-template-columns: 1fr; }
  .who__photo { max-width: 420px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .gains, .pains { grid-template-columns: 1fr; }
  .gains > .gain:first-child { border-top: 0; }
  .top__inner { height: 66px; }
  .brand__sub { display: none; }
  .nav__cta { padding: 12px 18px; font-size: 12px; }
  .hero__72 { margin-top: 32px; }
  .hero__foot { margin-top: 34px; }
  .plate { padding: 22px 22px; margin-top: 40px; }
}

/* печать */
@media print {
  .top, .invite .btn, .foot__right, .hero__photo { display: none; }
  body { background: #fff; }
}
