/* ============================================================
   pages.css — стили внутренних страниц (на базе той же системы)
   ============================================================ */

/* ---------- шапка-герой внутренних страниц ---------- */
.page-hero { position: relative; overflow: hidden; padding: 168px 0 56px; }
.page-hero.center { text-align: center; }
.page-hero.center .page-hero-inner { margin: 0 auto; }
.page-hero-inner { position: relative; z-index: 2; max-width: 860px; }
.page-title { margin-top: 20px; font-size: clamp(2.4rem, 5.2vw, 4rem); }
.page-lead { margin-top: 24px; max-width: 680px; }
.page-hero.center .page-lead { margin-left: auto; margin-right: auto; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { margin-top: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* связка нижний CTA отступ */
.page-section { padding: 88px 0; position: relative; }

/* ---------- Обо мне: интро со снимком ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.about-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0,0,0,.6); }
.about-portrait img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: center 20%; will-change: transform; }
.about-lead p { color: var(--text-2); font-size: 1.15rem; line-height: 1.7; }
.about-lead p + p { margin-top: 18px; }

/* ---------- ценности ---------- */
.value-card .ic { margin-bottom: 22px; }
.value-card h3 { margin-bottom: 10px; }

/* ---------- таймлайн ---------- */
.timeline { position: relative; margin-top: 8px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #000; box-shadow: 0 0 0 1px var(--accent); }
.tl-year { color: var(--accent); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
.tl-title { font-weight: 700; font-size: 1.2rem; margin-top: 4px; }
.tl-text { color: var(--text-2); margin-top: 8px; max-width: 640px; }

/* ---------- манифест: крупные блоки ---------- */
.manifesto-block { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 56px 0; border-top: 1px solid var(--line); }
.manifesto-block:first-of-type { border-top: 0; }
.mf-mark { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.mf-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.mf-body p { color: var(--text-2); font-size: 1.15rem; line-height: 1.7; margin-top: 18px; max-width: 720px; }
.mf-body p + p { margin-top: 14px; }

/* ---------- видео-хаб ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: linear-gradient(160deg, #15151a, #0a0a0c); transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.video-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 0%, rgba(var(--accent-rgb), .16), transparent 60%); opacity: .8; }
.video-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.video-num { position: relative; z-index: 2; font-size: .85rem; color: var(--muted); font-weight: 600; }
.video-card h3 { position: relative; z-index: 2; margin-top: 10px; font-size: 1.35rem; }
.video-card p { position: relative; z-index: 2; margin-top: 8px; color: var(--text-2); font-size: .96rem; }
.video-play { position: absolute; top: 22px; right: 22px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-strong); color: var(--text); padding-left: 3px; transition: background .4s var(--ease), color .4s var(--ease); }
.video-card:hover .video-play { background: var(--accent); color: var(--accent-on); border-color: transparent; }

/* ---------- список статей (blog) ---------- */
.article-list { border-top: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: center; padding: 34px 8px; border-bottom: 1px solid var(--line); transition: background .4s var(--ease), padding-left .4s var(--ease); }
.article-row:hover { background: var(--surface); padding-left: 20px; }
.ar-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); }
.ar-main h3 { font-size: 1.5rem; }
.ar-main p { color: var(--text-2); margin-top: 8px; max-width: 620px; }
.ar-meta { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.ar-go { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.article-row:hover .ar-go { background: var(--accent); color: var(--accent-on); border-color: transparent; transform: translateX(4px); }

/* ---------- страница статьи ---------- */
.article-head { max-width: 760px; }
.article-meta { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: .92rem; margin-top: 22px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { color: var(--text-2); font-size: 1.18rem; line-height: 1.75; }
.article-body p + p { margin-top: 24px; }
.article-body h2 { font-size: 1.7rem; margin: 48px 0 0; }
.article-body h2 + p { margin-top: 16px; }
.article-body .pullquote { margin: 44px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent); font-size: 1.5rem; line-height: 1.45; font-weight: 600; color: var(--text); }
.article-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; margin-bottom: 8px; transition: color .3s var(--ease); }
.article-back:hover { color: var(--accent); }
.article-back svg { transform: rotate(180deg); }

/* ---------- медиа: награды / признание ---------- */
.award-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 22px; }
.award-card { padding: 30px; }
.award-card .ic { margin-bottom: 20px; }
.award-card .ic.ic-logo { background: #fff; border-color: var(--line); padding: 6px; }
.award-card .ic.ic-logo img { width: 100%; height: 100%; object-fit: contain; }
.award-card .ic.ic-bare { background: transparent; border: 0; padding: 0; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); }
.award-card .ic.ic-bare img { width: 100%; height: 100%; object-fit: contain; }
.award-card h3 { font-size: 1.2rem; }
.award-card p { color: var(--text-2); margin-top: 8px; font-size: .96rem; }

.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ---------- живые эфиры (медиа) ---------- */
.live-band { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 26px; border: 1px solid var(--line-strong); background: radial-gradient(120% 150% at 0% 0%, rgba(var(--accent-rgb), .16), transparent 55%), linear-gradient(180deg, #16161a, #0b0b0d); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.live-time { text-align: center; padding: 24px 34px; border-radius: 20px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .32); }
.live-time .d { font-weight: 800; font-size: 1.3rem; color: var(--accent-2); letter-spacing: .14em; }
.live-time .t { font-weight: 800; font-size: 2.4rem; color: var(--text); line-height: 1; margin-top: 6px; letter-spacing: -.02em; }
.live-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 10px; }
.live-body p { color: var(--text-2); margin-top: 14px; max-width: 640px; line-height: 1.6; }
.live-body .btn { margin-top: 24px; }
@media (max-width: 680px) {
  .live-band { grid-template-columns: 1fr; gap: 24px; padding: 30px; text-align: center; }
  .live-time { justify-self: center; }
  .live-body p { margin-left: auto; margin-right: auto; }
}

/* ---------- контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.contact-card { padding: 40px; }
.contact-card h2 { font-size: 1.7rem; }
.contact-card p { color: var(--text-2); margin-top: 12px; }
.wa-preview { margin-top: 20px; padding: 15px 20px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-left: 3px solid var(--accent); color: var(--text-2); font-style: italic; }
.form { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
textarea.field { resize: vertical; min-height: 130px; }
.form-success { display: none; padding: 16px 20px; border-radius: 14px; background: rgba(44, 160, 96, .12); border: 1px solid rgba(44, 160, 96, .4); color: #7fe0a8; font-weight: 600; }
.form-success.show { display: block; }
.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.contact-line .ic { width: 44px; height: 44px; border-radius: 12px; }
.contact-line .cl-k { color: var(--muted); font-size: .85rem; }
.contact-line .cl-v { font-weight: 600; }

/* ---------- \u0444\u043e\u0442\u043e\u0433\u0430\u043b\u0435\u0440\u0435\u044f ---------- */
.gallery-hint { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: .92rem; }
.gallery-hint svg { color: var(--accent); flex: none; }
.gallery-grid { columns: 4; column-gap: 18px; }
.g-figure { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 18px; }
.gallery-grid image-slot { display: block; width: 100%; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: rgba(245, 245, 247, .5); transition: border-color .4s var(--ease), background .4s var(--ease); }
.gallery-grid image-slot:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.g-cap { margin-top: 10px; font-size: .92rem; line-height: 1.4; color: var(--text-2); outline: none; cursor: text; border-radius: 6px; padding: 1px 3px; transition: color .2s var(--ease), box-shadow .2s var(--ease); }
.g-cap:hover { color: var(--text); }
.g-cap:focus { color: var(--text); box-shadow: 0 0 0 2px var(--accent-ring); }
.g-cap.is-empty::before { content: attr(data-placeholder); color: var(--muted); opacity: .6; }
.gallery-grid.caps-off .g-cap { display: none; }
@media (max-width: 1100px) { .gallery-grid { columns: 3; } }
@media (max-width: 760px) { .gallery-grid { columns: 2; column-gap: 14px; } .g-figure { margin-bottom: 14px; } }
@media (max-width: 460px) { .gallery-grid { columns: 1; } }

/* ---------- цитата-философия (медиа) ---------- */
.big-quote { position: relative; text-align: center; max-width: 940px; margin: 0 auto; padding: 8px 0; }
.big-quote::before { content: ""; position: absolute; left: 50%; top: -30px; transform: translateX(-50%); width: 560px; height: 320px; max-width: 100%; background: radial-gradient(60% 60% at 50% 40%, rgba(var(--accent-rgb), .12), transparent 70%); pointer-events: none; z-index: 0; }
.big-quote > * { position: relative; z-index: 1; }
.bq-mark { display: block; font-size: 4.4rem; line-height: .5; color: var(--accent); font-weight: 800; }
.bq-text { font-size: clamp(1.6rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--text); margin-top: 10px; text-wrap: balance; }
.bq-sub { margin: 28px auto 0; max-width: 680px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-2); line-height: 1.6; text-wrap: pretty; }
.bq-author { margin-top: 28px; font-weight: 700; color: var(--accent-2); letter-spacing: .01em; }
.bq-author::before { content: ""; display: block; width: 40px; height: 2px; background: var(--accent); margin: 0 auto 16px; opacity: .7; }

/* ---------- \u0430\u0434\u0430\u043f\u0442\u0438\u0432 ---------- */
@media (max-width: 920px) {
  .page-hero { padding-top: 130px; }
  .about-intro { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait { max-width: 420px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .award-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .manifesto-block { grid-template-columns: 1fr; gap: 14px; padding: 40px 0; }
  .mf-mark { font-size: 2.6rem; }
  .video-grid { grid-template-columns: 1fr; }
  .award-grid { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 40px 1fr; }
  .article-row .ar-go { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .article-body p { font-size: 1.08rem; }
}

/* ——— Манифест: история «точка отсчёта» ——— */
.story { max-width: 760px; margin: 0 auto; }
.story-narr { font-size: 1.16rem; line-height: 1.65; color: var(--text-2); margin: 0; }
.story-dialog { margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.dlg-line { padding: 15px 20px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line); }
.dlg-who { display: block; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.dlg-q { display: block; font-size: 1.1rem; line-height: 1.5; color: var(--text); }
.dlg-line.dlg-me { background: rgba(var(--accent-rgb), .07); border-color: var(--accent-ring); }
.dlg-line.dlg-key { border-color: var(--accent-ring); }
.dlg-line.dlg-key .dlg-q { color: var(--accent-2); font-weight: 600; }
.story-concl { margin: 26px 0 0; font-size: 1.26rem; line-height: 1.5; font-weight: 700; color: var(--text); }
.story-after { margin: 12px 0 0; font-size: 1.1rem; line-height: 1.6; color: var(--text-2); }
