/* Валентина Пулло — стили сайта.
   Палитра взята из фотосессии: светлая фактурная стена, песочный жилет,
   оливковый пиджак, тёмно-зелёное бархатное кресло, медовые волосы. */

@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap;
  src: url(../fonts/cormorant-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap;
  src: url(../fonts/cormorant-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap;
  src: url(../fonts/cormorant-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap;
  src: url(../fonts/cormorant-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap;
  src: url(../fonts/cormorant-cyrillic-500i.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap;
  src: url(../fonts/cormorant-latin-500i.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap;
  src: url(../fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F5F3EF;         /* стена */
  --paper: #FBFAF8;
  --ink: #1D2622;
  --ink-2: #545E58;
  --line: #DAD6CE;
  --sand: #E7DED2;       /* жилет */
  --sage: #8E9A8B;       /* пиджак */
  --sage-soft: #E4E8E0;
  --forest: #1F362F;     /* кресло */
  --forest-2: #2B4840;
  --gold: #8A5D2B;       /* волосы, для текста: 5,2 : 1 на фоне */
  --gold-light: #E2C79C; /* акцент на тёмном */

  --serif: "Cormorant", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --r: 4px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 650; }
figure { margin: 0; }
::selection { background: var(--sand); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sec) 0; }

.eyebrow { font: 600 12.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow--light { color: var(--gold-light); }
.h2 { font: 500 clamp(36px, 5vw, 60px)/1.05 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.h2 em { font-style: italic; color: var(--gold); }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; }
.head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.head--center { text-align: center; margin-left: auto; margin-right: auto; }
.head__sub { margin: 18px 0 0; color: var(--ink-2); font-size: 18px; text-wrap: balance; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--forest); color: #fff; }
.btn--solid:hover { background: var(--forest-2); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { min-height: 42px; padding: 0 20px; font-size: 14.5px; border-color: rgba(29,38,34,.35); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: var(--gold-light); color: var(--forest); }
.btn--light:hover { background: #fff; }

/* ---------- шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s; }
.header.is-scrolled, .header.is-open { background: rgba(245,243,239,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo__mark { width: 28px; height: 28px; color: var(--gold); flex: none; }
.logo__name { font: 600 22px/1 var(--serif); letter-spacing: .01em; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.burger { display: none; }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: stretch; overflow: hidden; background: #D9DAD7; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(245,243,239,.93) 0%, rgba(245,243,239,.8) 36%, rgba(245,243,239,0) 64%); }
.hero__in { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: 40px; }
.hero__text { max-width: 560px; margin: auto 0; }
.hero__title { font: 500 clamp(64px, 9vw, 124px)/.9 var(--serif); letter-spacing: -.02em; margin-bottom: 28px; }
.hero__title span { display: block; font-style: italic; color: var(--gold); padding-left: .5em; }
.hero__lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; max-width: 470px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 176px)); gap: 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(29,38,34,.18); max-width: 600px; }
.hero__facts b { display: block; font: 500 30px/1.1 var(--serif); margin-bottom: 6px; }
.hero__facts span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

/* ---------- с чем приходят ---------- */
.requests { background: var(--paper); }
.req { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: req; }
.req li { padding: 28px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-increment: req; position: relative; transition: background .3s; }
.req li:hover { background: var(--bg); }
.req li::before { content: counter(req, decimal-leading-zero); display: block; font: 500 15px/1 var(--serif); color: var(--gold); margin-bottom: 20px; }
.req b { display: block; font: 600 25px/1.15 var(--serif); margin-bottom: 10px; }
.req span { display: block; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.req li.req__cta { background: var(--forest); color: #F2EFE8; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.req li.req__cta::before { color: var(--gold-light); }
.req__cta b { color: #fff; }
.req__cta span { color: rgba(242,239,232,.75); }
.req li.req__cta:hover { background: var(--forest-2); }
.req__cta a { color: var(--gold-light); font-weight: 600; font-size: 15.5px; text-decoration: none; border-bottom: 1px solid rgba(226,199,156,.5); align-self: flex-start; padding-bottom: 2px; }
.req__cta a:hover { color: #fff; border-color: #fff; }
.req__after { max-width: 760px; margin: 48px 0 0; font: 500 clamp(22px, 2.3vw, 28px)/1.4 var(--serif); }

/* ---------- история ---------- */
.story__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.story__photo { position: sticky; top: calc(var(--header-h) + 24px); }
.story__photo img { border-radius: var(--r); }
.story__text .h2 { margin-bottom: 32px; }
.story__text > p:not(.eyebrow):not(.lead) { color: var(--ink-2); }
.turns { margin: 40px 0; display: grid; gap: 16px; }
.turns li { padding: 28px 30px; background: var(--paper); border-left: 2px solid var(--gold); }
.turns__n { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.turns b { display: block; font: 600 28px/1.15 var(--serif); margin-bottom: 10px; }
.turns p { margin: 0; color: var(--ink-2); }
.creds { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.creds dt { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: 6px; }
.creds dd { margin: 0; font-size: 16px; line-height: 1.5; }

/* ---------- подход ---------- */
.approach { background: var(--sage-soft); position: relative; }
.approach__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 72px); }
.approach__top .head { margin-bottom: 0; }
.quote { margin: 0; padding: 0 0 0 28px; border-left: 1px solid var(--sage); }
.quote p { margin: 0; font: 500 italic clamp(22px, 2.2vw, 27px)/1.4 var(--serif); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--sage); }
.steps li { position: relative; padding: 0 24px 0 0; }
.steps__n { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--sage-soft); border: 1px solid var(--sage); font: 600 17px/1 var(--serif); margin-bottom: 22px; }
.steps li:last-child .steps__n { background: var(--forest); color: var(--gold-light); border-color: var(--forest); }
.steps b { display: block; font: 600 26px/1.15 var(--serif); margin-bottom: 10px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; }
.approach__bottom { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 80px); margin-top: clamp(64px, 8vw, 104px); align-items: center; }
.approach__photo img { border-radius: var(--r); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.principles b { display: block; font: 600 24px/1.2 var(--serif); margin-bottom: 10px; }
.principles p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- форматы: чем ниже, тем глубже ---------- */
.formats { padding-bottom: 0; }
.depth { margin-top: 8px; }
.lvl { padding: 40px 0; border-top: 1px solid rgba(29,38,34,.08); }
.lvl--1 { background: var(--paper); }
.lvl--2 { background: #EDEFE9; }
.lvl--3 { background: #DCE2D8; }
.lvl--4 { background: var(--forest); color: #F2EFE8; border-top: 0; }
.lvl__in { display: grid; grid-template-columns: 26px 240px 1fr 220px; gap: 36px; align-items: center; }
.lvl__meter { display: grid; gap: 6px; align-self: stretch; align-content: center; }
.lvl__meter i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; opacity: .45; margin: 0 auto; }
.lvl--1 .lvl__meter i:nth-child(-n+1), .lvl--2 .lvl__meter i:nth-child(-n+2),
.lvl--3 .lvl__meter i:nth-child(-n+3), .lvl--4 .lvl__meter i { background: currentColor; opacity: 1; }
.lvl__meter { color: var(--gold); }
.lvl--4 .lvl__meter { color: var(--gold-light); }
.lvl__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.lvl__kicker { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.lvl--4 .lvl__kicker { color: var(--gold-light); }
.lvl__title { font: 600 clamp(28px, 3vw, 36px)/1.1 var(--serif); margin-bottom: 12px; }
.lvl__body p:last-child { margin: 0; color: var(--ink-2); font-size: 16px; }
.lvl--4 .lvl__body p:last-child { color: rgba(242,239,232,.78); }
.lvl__side { display: grid; gap: 16px; justify-items: start; }
.lvl__price { margin: 0; font: 600 26px/1.15 var(--serif); }
.lvl__price small { display: block; font: 400 14px/1.4 var(--sans); color: var(--ink-2); margin-top: 4px; }
.lvl--4 .lvl__price small { color: rgba(242,239,232,.7); }

.galaxy { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin: var(--sec) 0 calc(var(--sec) * .75); padding: clamp(24px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.galaxy__img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; border-radius: var(--r); }
.galaxy__title { font: 600 clamp(28px, 3vw, 38px)/1.1 var(--serif); margin-bottom: 16px; }
.galaxy__body p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 28px; }

/* ---------- кому подойду ---------- */
.fit { background: var(--paper); }
.fit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__col { padding: clamp(28px, 3vw, 40px); border-radius: var(--r); }
.fit__col--yes { background: var(--sage-soft); }
.fit__col--no { background: var(--bg); border: 1px solid var(--line); }
.fit__col h3 { font: 600 30px/1.1 var(--serif); margin-bottom: 20px; }
.fit__col li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid rgba(29,38,34,.1); }
.fit__col li::before { position: absolute; left: 0; top: 12px; font-weight: 700; }
.fit__col--yes li::before { content: "✓"; color: var(--forest); }
.fit__col--no li::before { content: "—"; color: var(--gold); }
.rules { margin-top: clamp(48px, 6vw, 72px); }
.rules__title { font: 600 clamp(26px, 2.6vw, 32px)/1.15 var(--serif); margin-bottom: 24px; }
.rules__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: rule; }
.rules__list li { counter-increment: rule; padding-top: 20px; border-top: 2px solid var(--forest); }
.rules__list b { display: block; font-size: 17px; margin-bottom: 8px; }
.rules__list b::before { content: counter(rule) ". "; color: var(--gold); }
.rules__list span { color: var(--ink-2); font-size: 15.5px; }

/* ---------- для компаний ---------- */
.business { background: var(--forest); color: #F2EFE8; position: relative; overflow: hidden; }
.business__rays { position: absolute; width: 1100px; height: 1100px; left: calc(50% - 180px); top: 50%; margin-top: -550px; color: var(--gold-light); opacity: .11; pointer-events: none; }
.business__grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.business .h2 { margin-bottom: 28px; }
.business .lead { color: rgba(242,239,232,.85); margin-bottom: 36px; }
.business__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; margin-bottom: 40px; }
.business__list li { padding-top: 16px; border-top: 1px solid rgba(226,199,156,.35); }
.business__list b { display: block; font: 600 23px/1.2 var(--serif); margin-bottom: 6px; color: #fff; }
.business__list span { display: block; font-size: 15px; color: rgba(242,239,232,.72); }
.business__photo img { border-radius: var(--r); }

/* ---------- видео ---------- */
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vcard { display: block; text-decoration: none; }
.vcard__img { position: relative; display: block; overflow: hidden; border-radius: var(--r); margin-bottom: 18px; background: #ccc; }
.vcard__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(.6); transition: transform .6s, filter .6s; }
.vcard:hover .vcard__img img { filter: none; }
.vcard:hover .vcard__img img { transform: scale(1.03); }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(251,250,248,.92); transition: transform .3s; }
.vcard__play::after { content: ""; position: absolute; left: 29px; top: 24px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--forest); }
.vcard:hover .vcard__play { transform: scale(1.08); }
.vcard__kicker { display: block; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.vcard__title { display: block; font: 600 25px/1.2 var(--serif); }

/* ---------- вопросы ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__grid .head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font: 600 clamp(21px, 2vw, 25px)/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg); transition: transform .3s, margin .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 680px; }

/* ---------- финал ---------- */
.final { background: var(--sand); }
.final__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.final__photo img { border-radius: var(--r); }
.final .h2 { margin-bottom: 20px; }
.final .lead { margin-bottom: 32px; max-width: 540px; }
.final__alt { margin: 28px 0 0; color: var(--ink-2); }
.final__alt a { color: var(--ink); font-weight: 600; }

/* ---------- формы ---------- */
.lform__label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.lform__input { width: 100%; min-height: 54px; padding: 0 20px; border: 1px solid rgba(29,38,34,.3); border-radius: 999px; background: #fff; font: 500 17px/1 var(--sans); color: var(--ink); }
.lform__input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31,54,47,.15); }
.lform__input.is-error { border-color: #A3402C; }
.lform__row { display: flex; gap: 10px; max-width: 520px; }
.lform__row .lform__input { flex: 1; }
.lform__status { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; }
.lform__status.is-ok { color: var(--forest); font-weight: 600; }
.lform__status.is-err { color: #A3402C; }

.ldialog { width: min(480px, calc(100vw - 32px)); padding: 40px 36px 28px; border: 0; border-radius: 8px; background: var(--bg); color: var(--ink); }
.ldialog::backdrop { background: rgba(20,30,26,.55); backdrop-filter: blur(3px); }
.ldialog__close, .vdialog__close { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: inherit; }
.lform__title { font: 600 30px/1.15 var(--serif); margin-bottom: 24px; }
.lform__btn { width: 100%; margin-top: 12px; }
.ldialog .eyebrow { margin-bottom: 12px; }

.vdialog { width: min(1100px, calc(100vw - 32px)); padding: 0; border: 0; background: #000; overflow: visible; }
.vdialog::backdrop { background: rgba(10,14,12,.85); }
.vdialog__close { top: -46px; right: -4px; color: #fff; }
.vdialog__frame { aspect-ratio: 16 / 9; }
.vdialog__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- подвал ---------- */
.footer { background: var(--forest); color: rgba(242,239,232,.7); font-size: 14.5px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- появление при прокрутке ---------- */
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .rise.is-in { opacity: 1; transform: none; }

/* ===================== адаптив ===================== */
@media (max-width: 1100px) {
  .lvl__in { grid-template-columns: 22px 200px 1fr; }
  .lvl__side { grid-column: 3; grid-template-columns: auto auto; align-items: center; gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .principles { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 960px) {
  .business__rays { left: 50%; margin-left: -550px; top: auto; bottom: -300px; margin-top: 0; }
  .nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; background: var(--bg); padding: 8px var(--gut) 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
  .nav a { padding: 14px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: .25s; }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -7px; } .burger span::after { top: 7px; }
  .header.is-open .burger span { background: transparent; }
  .header.is-open .burger span::before { top: 0; transform: rotate(45deg); }
  .header.is-open .burger span::after { top: 0; transform: rotate(-45deg); }
  .header__in { gap: 12px; }

  .story__grid, .approach__top, .approach__bottom, .business__grid, .faq__grid, .final__grid, .galaxy { grid-template-columns: 1fr; }
  .story__photo, .faq__grid .head { position: static; }
  .story__photo { max-width: 460px; }
  .approach__photo { max-width: 400px; }
  .business__photo { max-width: 460px; }
  .final__photo { max-width: 420px; }
  .rules__list { grid-template-columns: 1fr; }
}

@media (max-width: 859px) {
  .hero { flex-direction: column; min-height: 0; background: var(--bg); }
  .hero::before { display: none; }
  .hero__photo { position: relative; display: block; height: min(72svh, 620px); margin-top: var(--header-h); overflow: hidden; }
  .hero__photo img { object-position: 50% 20%; }
  .hero__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); }
  .hero__in { padding-top: 0; margin-top: -64px; padding-bottom: 56px; }
  .hero__title { margin-bottom: 20px; }
  .hero__facts { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .hero__facts li { display: grid; grid-template-columns: 1fr; gap: 2px; }
  .hero__facts b { font-size: 26px; margin: 0; }
  .hero__facts span br { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .lvl { padding: 32px 0; }
  .lvl__in { grid-template-columns: 1fr; gap: 20px; }
  .lvl__meter { display: flex; align-self: auto; justify-content: flex-start; order: -1; }
  .lvl__meter i { margin: 0; }
  .lvl__side { grid-column: auto; grid-template-columns: 1fr; justify-items: stretch; }
  .lvl__side .btn { width: 100%; }
  .lvl__img { aspect-ratio: 16 / 10; object-position: 50% 25%; }
  .final__photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 15%; }
  .business__photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
  .story__photo img, .approach__photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; }
  .fit__grid, .vgrid, .business__list, .creds, .steps { grid-template-columns: 1fr; }
  .steps { row-gap: 32px; }
  .hero__actions .btn, .galaxy .btn, .business .btn { width: 100%; }
  .lform__row { flex-direction: column; }
  .req li { padding: 24px 20px 26px; }
  .footer__in { flex-direction: column; align-items: flex-start; }
  .header__cta { display: none; }
}
