/* Лендинг «Объектив» — точная реализация дизайна Объектив-лендинг-v2.dc.html.
   Все стили классами (без inline): прод-CSP style-src 'self' их не блокирует.
   Golos Text самохостится (variable woff2, OFL) — внешних CDN нет, CSP цел. */

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/landing/fonts/golos-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/landing/fonts/golos-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/landing/fonts/golos-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/landing/fonts/golos-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;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #F5F4F1;
  font-family: 'Golos Text', system-ui, sans-serif;
  color: #24262A;
}

html { scroll-behavior: smooth; }

a { color: #C05B2E; }
a:hover { color: #A64E27; }

h1, h2 { margin: 0; }

/* В оригинале box-sizing: content-box → max-width:1120 + padding 32 = 1184 общих.
   У нас глобальный border-box, поэтому эквивалент — 1184px (контент ровно 1120). */
.lp-wrap { max-width: 1184px; margin: 0 auto; padding: 0 32px; }

/* ===== Кнопки ===== */
.lp-btn-primary {
  background: #C05B2E; border: none; border-radius: 6px; color: #fff;
  font-family: inherit; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.lp-btn-primary:hover { background: #A64E27; color: #fff; }
.lp-btn-top { height: 34px; padding: 0 15px; font-size: 13px; }
.lp-btn-topghost {
  height: 34px; padding: 0 15px; background: transparent; border: 1px solid #4A4E54;
  border-radius: 6px; font-size: 13px; font-weight: 500; color: #fff;
  display: inline-flex; align-items: center; text-decoration: none;
}
.lp-btn-topghost:hover { color: #fff; border-color: #7D838B; }
.lp-btn-hero { height: 46px; padding: 0 22px; font-size: 14.5px; }
.lp-btn-ghost {
  height: 46px; padding: 0 20px; background: transparent; border: 1px solid #4A4E54;
  border-radius: 6px; font-size: 14px; font-weight: 500; color: #fff;
  display: inline-flex; align-items: center; text-decoration: none;
}
.lp-btn-ghost:hover { color: #fff; border-color: #7D838B; }
.lp-btn-light {
  height: 46px; padding: 0 20px; background: #fff; border: 1px solid #E0C7B5;
  border-radius: 6px; color: #24262A; font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; text-decoration: none;
}
.lp-btn-light:hover { color: #24262A; border-color: #C9A78E; }

/* ===== Топбар ===== */
.lp-top { background: #24262A; position: sticky; top: 0; z-index: 100; }
.lp-top-inner { height: 58px; display: flex; align-items: center; gap: 24px; }
.lp-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.lp-brand svg { flex: none; }
.lp-brand-name { font-size: 16px; font-weight: 700; color: #fff; }
.lp-brand-tag {
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #7D838B; margin-left: 10px; padding-top: 2px;
}
.lp-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.lp-nav-link { font-size: 13.5px; color: #AEB4BB; text-decoration: none; }
.lp-nav-link:hover { color: #fff; }
/* Как в дизайне: навигация и CTA-кнопки не переносятся по словам. */
.lp-nav-link, .lp-btn-top, .lp-btn-topghost, .lp-ctabtn { white-space: nowrap; }

/* ===== Hero ===== */
.lp-hero { background: #24262A; }
.lp-hero-inner { padding-top: 68px; padding-bottom: 80px; display: flex; gap: 56px; align-items: flex-start; flex-wrap: wrap; }
.lp-hero-copy { flex: 1.1; min-width: min(440px, 100%); }
.lp-hero h1 {
  font-size: 46px; line-height: 1.12; font-weight: 700;
  letter-spacing: -0.01em; margin: 0 0 18px; max-width: 560px; color: #fff; text-wrap: balance;
}
.lp-hero-sub { font-size: 17px; line-height: 1.6; color: #ADB3BA; margin: 0 0 30px; max-width: 540px; text-wrap: pretty; }
.lp-signup { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 520px; margin: 0; }
.lp-signup input {
  flex: 1 1 240px; min-width: min(240px, 100%); height: 46px; border: 1px solid #4A4E54; border-radius: 6px;
  padding: 0 14px; font-family: inherit; font-size: 14px; color: #24262A; background: #fff; outline: none;
}
.lp-signup input:focus { border-color: #C05B2E; }
.lp-hero-note { flex: 1; min-width: 180px; font-size: 12.5px; color: #7D838B; line-height: 1.45; }
.lp-signup-msg { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #E8C9A8; max-width: 520px; }

.lp-hero-demo { flex: 1; min-width: min(400px, 100%); max-width: 470px; position: relative; padding-bottom: 44px; }
.lp-democard { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); }
.lp-democard-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-democard-head b { font-size: 14px; font-weight: 600; }
.lp-chip-ok {
  display: inline-flex; padding: 4px 10px; background: #E3EFE7; color: #2E6B4C;
  border-radius: 999px; font-size: 12px; font-weight: 500;
}
.lp-democard-text { font-size: 13.5px; line-height: 1.55; color: #4A4842; margin: 10px 0 12px; }
.lp-democard-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.lp-ph {
  position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden;
  border: 0; padding: 0; cursor: pointer;
  background: repeating-linear-gradient(45deg, #ECEAE5 0, #ECEAE5 6px, #E2DFD8 6px, #E2DFD8 12px);
  display: flex; align-items: center; justify-content: center;
}
.lp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-ph-more {
  position: absolute; right: 6px; bottom: 6px; background: rgba(24, 26, 29, 0.72);
  color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: 999px; pointer-events: none;
}

/* Лайтбокс hero-фото (дизайн v2): стрелки по кругу, счётчик, клик по фону закрывает */
.lp-lightbox {
  position: fixed; inset: 0; background: rgba(15, 16, 18, 0.88); z-index: 1000;
  display: flex; align-items: center; justify-content: center; cursor: zoom-out; padding: 28px;
}
.lp-lightbox[hidden] { display: none; }
.lp-lightbox img {
  max-width: 88%; max-height: 92%; border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.lp-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lp-lb-prev { left: 14px; }
.lp-lb-next { right: 14px; }
.lp-lb-close {
  position: absolute; top: 14px; right: 18px; width: 34px; height: 34px;
  border-radius: 8px; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lp-lb-counter {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  color: #B7BCC2; font-size: 12.5px; pointer-events: none;
}
.lp-democard-meta { font-size: 12px; color: #8A867C; }
.lp-badge {
  position: absolute; right: 0; bottom: 0; background: #fff; border-radius: 8px;
  padding: 12px 15px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
  display: flex; align-items: center; gap: 10px;
}
.lp-badge-mark {
  width: 22px; height: 22px; border-radius: 999px; background: #2E7D52; color: #fff;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none;
}
.lp-badge-title { font-size: 12.5px; font-weight: 600; }
.lp-badge-sub { font-size: 11.5px; color: #8A867C; }

/* ===== Для кого ===== */
.lp-aud { background: #fff; }
.lp-aud .lp-wrap { padding-top: 64px; padding-bottom: 72px; }
.lp-aud h2 { font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.lp-aud-sub { font-size: 14.5px; color: #5C636B; margin: 0 0 32px; max-width: 640px; line-height: 1.55; }
.lp-cols { display: flex; gap: 32px; flex-wrap: wrap; align-items: stretch; }
.lp-col {
  flex: 1; min-width: 280px; border-top: 2px solid #24262A; padding-top: 18px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.18s ease, border-top-color 0.18s ease;
}
.lp-col:hover { transform: translateY(-5px); border-top-color: #C05B2E; }
.lp-col-head { display: flex; align-items: center; gap: 10px; }
.lp-role {
  display: inline-flex; padding: 3px 9px; border: 1px solid #D8DBDF; color: #5C636B;
  border-radius: 4px; font-size: 19px; font-weight: 500;
}
.lp-col-title { font-size: 17px; font-weight: 700; line-height: 1.3; color: #24262A; }
.lp-col-list { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.5; color: #4A5058; }
.lp-col-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid #EEECE7;
  font-size: 13px; font-weight: 700; color: #24262A; line-height: 1.45;
}

/* ===== Как работает ===== */
.lp-how { background: #F5F4F1; border-top: 1px solid #E8E6E0; }
.lp-how .lp-wrap { padding-top: 64px; padding-bottom: 72px; }
.lp-how h2 { font-size: 28px; font-weight: 700; margin: 0 0 28px; }
.lp-grid6 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: #E7E4DC; border: 1px solid #E0DDD6; border-radius: 8px; overflow: hidden;
}
.lp-step { background: #fff; padding: 20px; }
.lp-step-num { font-family: ui-monospace, Menlo, monospace; font-size: 20px; font-weight: 700; color: #C05B2E; margin-bottom: 10px; }
.lp-step-title { font-size: 14.5px; font-weight: 600; margin-bottom: 5px; }
.lp-step-text { font-size: 12.5px; line-height: 1.5; color: #5C5952; }

/* ===== Автор ===== */
.lp-author { background: #fff; border-top: 1px solid #E8EAED; }
.lp-author .lp-wrap { padding-top: 64px; padding-bottom: 72px; }
.lp-author-card { display: flex; flex-wrap: wrap; background: #FFFDF8; border: 1px solid #EDE8DE; border-radius: 10px; overflow: hidden; }
.lp-author-photo { width: min(390px, 100%); flex: none; align-self: stretch; min-height: 440px; object-fit: cover; object-position: top; }
.lp-author-body { flex: 1; min-width: min(400px, 100%); padding: 44px 50px; }
.lp-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.lp-eyebrow span:last-child { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #A9472B; }
.lp-eyebrow-line { width: 26px; height: 2px; background: #A9472B; flex: none; }
.lp-author-body h2 { font-size: 36px; line-height: 1.15; font-weight: 700; margin: 0 0 12px; }
.lp-author-role { font-size: 16px; font-weight: 700; color: #A9472B; margin-bottom: 18px; }
.lp-author-quote { font-size: 15px; line-height: 1.65; color: #3F444B; margin: 0 0 24px; max-width: 580px; text-wrap: pretty; }
.lp-timeline { max-width: 580px; margin-bottom: 22px; }
.lp-tl-row { display: flex; align-items: baseline; gap: 20px; padding: 13px 0; border-top: 1px solid #EDE8DE; font-size: 14px; line-height: 1.55; color: #4A5058; }
.lp-tl-last { border-bottom: 1px solid #EDE8DE; }
.lp-tl-year { font-size: 13px; font-weight: 700; color: #A9472B; width: 58px; flex: none; }
.lp-author-channel { font-size: 14.5px; color: #3F444B; margin-bottom: 16px; }
.lp-author-links { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-author-links a {
  height: 40px; padding: 0 18px; border: 1px solid #E2DCD0; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #24262A; text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px; background: #fff;
}
.lp-author-links a:hover { border-color: #C9A78E; color: #24262A; }

/* ===== CTA ===== */
.lp-cta { background: #F6E9E1; border-top: 1px solid #ECD9CB; }
.lp-cta-inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-cta svg { margin-bottom: 16px; }
.lp-cta h2 { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.lp-cta-sub { font-size: 16.5px; line-height: 1.55; color: #8A4B29; margin: 0 0 24px; max-width: 480px; }
.lp-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ===== Футер ===== */
.lp-footer { background: #fff; border-top: 1px solid #E8EAED; }
.lp-footer-inner { padding-top: 20px; padding-bottom: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-footer-brand { display: flex; align-items: center; gap: 8px; }
.lp-footer-brand b { font-size: 13.5px; font-weight: 600; }
.lp-footer-copy { font-size: 12.5px; color: #8A9096; }
.lp-footer-links { margin-left: auto; display: flex; gap: 16px; }
.lp-footer-links a { font-size: 12.5px; color: #5C636B; text-decoration: none; }
.lp-footer-links a:hover { color: #24262A; }

/* ===== Мобильная адаптация — 1:1 из дизайна v2 (om-* → lp-*) ===== */
@media (max-width: 1000px) {
  .lp-grid6 { grid-template-columns: repeat(2, 1fr); }
  .lp-nav-link, .lp-brand-tag { display: none; }
}
@media (max-width: 760px) {
  .lp-nav-link, .lp-brand-tag { display: none; }
  /* Топбар-кнопки не должны вылезать за 375px-вьюпорт. */
  .lp-nav { gap: 10px; }
  .lp-btn-top, .lp-btn-topghost { padding: 0 10px; }
  .lp-hero-inner { padding: 40px 20px 52px; gap: 32px; }
  .lp-wrap { padding-left: 20px; padding-right: 20px; }
  .lp-hero h1 { font-size: 33px; }
  .lp-grid6 { grid-template-columns: 1fr; }
  .lp-author-photo { width: 100%; min-height: 300px; max-height: 400px; }
  .lp-author-body { padding: 28px 22px; }
  /* Scroll-reveal активен только на мобиле — так в дизайн-файле. */
  .lp-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
  .lp-reveal.lp-in { opacity: 1; transform: none; }
  .lp-ctabtn { height: 44px; padding: 0 14px; font-size: 13.5px; flex: 1 1 auto; }
  .lp-step { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
  .lp-step > div:first-child { margin-bottom: 0; font-size: 17px; }
  .lp-step > div:nth-child(2) { margin-bottom: 0; font-size: 15px; }
  .lp-step > div:last-child { grid-column: 1 / -1; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
