/*
Theme Name: ProEvent Stage Control
Theme URI: https://myproevent.ru/
Author: Digital-spark
Description: Премиальная адаптивная тема для сайта платформы ProEvent.
Version: 1.4.3
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: proevent
*/

@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-cyrillic-400-normal.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-cyrillic-600-normal.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-cyrillic-700-normal.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-cyrillic-800-normal.woff2") format("woff2"); font-weight:800; font-style:normal; font-display:swap; unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); font-weight:800; font-style:normal; font-display:swap; }

:root {
  --navy: #101338;
  --deep: #080a24;
  --ink: #f7f8ff;
  --muted: #b8bce0;
  --coral: #ff6b4a;
  --violet: #7868ff;
  --line: rgba(255,255,255,.14);
  --lamp-left-y: 0px; --lamp-right-y: 0px; --beam-left-y: 0px; --beam-right-y: 0px;
  --beam-left-angle: -16deg; --beam-right-angle: 17deg;
}

* { box-sizing: border-box; min-width:0; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  min-width: 320px;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: min(1312px, calc(100% - 64px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(5,7,26,.64);
  backdrop-filter: blur(18px);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 27px; font-weight: 800; letter-spacing: -.04em; }
.logo .custom-logo-link { display:inline-flex; align-items:center; }
.logo .custom-logo { display:block; width:auto; max-width:min(240px,42vw); height:44px; object-fit:contain; }
.logo-mark {
  width: 34px; height: 34px; border: 9px solid var(--coral); border-right-color: transparent;
  border-radius: 50%; position: relative; transform: rotate(5deg);
}
.logo-mark::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--coral); border-radius: 50%; right: -14px; top: 4px; }
.logo-mark span { position: absolute; width: 5px; height: 5px; background: var(--ink); border-radius: 50%; top: 6px; left: 3px; }
nav { display: flex; gap: 42px; margin-left: auto; }
nav ul { display:flex; gap:42px; align-items:center; margin:0; padding:0; list-style:none; }
nav a { color: #d9dcef; font-size: 15px; position: relative; }
nav a::after { content: ""; height: 2px; position: absolute; left: 0; right: 100%; bottom: -10px; background: var(--coral); transition: right .18s; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.header-cta { border: 1px solid var(--line); padding: 11px 18px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.menu-toggle { display:none; margin-left:10px; width:42px; height:42px; border:1px solid var(--line); border-radius:8px; background:transparent; }
.menu-toggle span { display:block; width:20px; height:2px; margin:5px auto; background:white; }
.custom-logo-link { display:flex; }.custom-logo { width:auto; max-width:190px; max-height:48px; }

.hero {
  min-height: 900px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 100%, rgba(91,60,255,.37), transparent 30%),
    radial-gradient(circle at 98% 40%, rgba(255,76,62,.22), transparent 26%),
    linear-gradient(125deg, #080a25 0%, #111643 54%, #080a24 100%);
}
.stage-lights { position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden; }
.stage-lamp { position:absolute; top:84px; width:86px; height:42px; border-radius:12px 12px 28px 28px; background:linear-gradient(180deg,#25294e,#070917); border:1px solid rgba(255,255,255,.18); box-shadow:0 8px 22px rgba(0,0,0,.55); }
.stage-lamp::after { content:""; position:absolute; inset:12px 18px 7px; border-radius:50%; background:#fff7db; box-shadow:0 0 25px #fff,0 0 50px currentColor; }
.lamp-left { left:7%; color:#8477ff; transform:translateY(var(--lamp-left-y)) rotate(-14deg); }
.lamp-right { right:5%; color:#ff6b4a; transform:translateY(var(--lamp-right-y)) rotate(14deg); }
.light-beam { position:absolute; top:105px; width:420px; height:790px; opacity:.3; filter:blur(10px); transform-origin:50% 0; mix-blend-mode:screen; will-change:transform; clip-path:polygon(45% 0,55% 0,100% 100%,0 100%); }
.beam-left { left:-45px; background:linear-gradient(180deg,rgba(137,119,255,.8),rgba(120,104,255,.08) 70%,transparent); transform:translateY(var(--beam-left-y)) rotate(var(--beam-left-angle)); }
.beam-right { right:-70px; background:linear-gradient(180deg,rgba(255,128,93,.78),rgba(255,107,74,.07) 70%,transparent); transform:translateY(var(--beam-right-y)) rotate(var(--beam-right-angle)); }
.hero::before {
  content:""; position:absolute; inset: 56% 0 0;
  background-image: radial-gradient(rgba(120,104,255,.55) 1px, transparent 1px);
  background-size: 18px 18px; opacity: .25; transform: perspective(500px) rotateX(64deg) scale(1.6);
}
.hero-grid { min-height: 900px; padding-top: 150px; display: grid; grid-template-columns: 42% 58%; align-items: center; position: relative; z-index: 2; }
.hero-copy { padding-bottom: 30px; position: relative; z-index: 4; }
.hero h1 { margin: 0; max-width: 630px; font-size: clamp(58px,5.2vw,76px); line-height: 1.03; letter-spacing: -.055em; font-weight: 850; }
.hero-lead { max-width: 540px; margin: 25px 0 36px; font-size: 21px; line-height: 1.55; color: var(--muted); }
.button-row { display: flex; gap: 16px; flex-wrap: wrap; }
.button,
.button:link,
.button:visited,
.button:hover,
.button:focus,
.button:active { min-height: 58px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; border-radius: 8px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 750; transition: .2s ease; }
.button.primary { background: linear-gradient(90deg, #ff5f48, #ff7e58); box-shadow: 0 15px 40px rgba(255,107,74,.22); }
.button.secondary { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.03); }
.button:hover { transform: translateY(-2px); }
.button.primary:hover { box-shadow: 0 18px 44px rgba(255,107,74,.32); }
.button.secondary:hover { border-color: var(--violet); background: rgba(120,104,255,.08); }
.hero-proof { display: flex; gap: 48px; margin-top: 52px; color: #aab0d3; font-size: 14px; line-height: 1.55; }
.hero-proof b { display: block; color: white; font-size: 22px; }

.visual-wrap { min-height: 720px; position: relative; }
.spot { position: absolute; width: 130px; height: 560px; filter: blur(18px); opacity: .32; top: -120px; border-radius: 50%; }
.spot-violet { left: 20%; background: linear-gradient(#8775ff, transparent); transform: rotate(24deg); }
.spot-coral { right: -8%; background: linear-gradient(#ff6048, transparent); transform: rotate(-18deg); }
.hero-phone {
  position: absolute;
  z-index: 5;
  width: 465px;
  height: auto;
  top: -34px;
  left: 25%;
  filter: drop-shadow(0 45px 55px rgba(0,0,0,.5));
  transform: rotate(1deg);
}
.phone {
  position: absolute; z-index: 5; width: 350px; height: 690px; top: 0; left: 31%;
  border: 8px solid #090b18; border-radius: 54px; padding: 22px 16px 18px;
  background: #090d27; box-shadow: 0 45px 80px rgba(0,0,0,.52), inset 0 0 0 2px #60657c;
  transform: rotate(5deg); overflow: hidden;
}
.phone::before { content:""; position:absolute; top: 10px; left: 50%; transform:translateX(-50%); width: 100px; height: 24px; border-radius: 30px; background:#03040d; }
.phone-top, .phone-head { display:flex; justify-content:space-between; align-items:center; position:relative; z-index:2; }
.phone-top { font-size: 10px; padding: 0 12px 20px; }.phone-top i { width: 30px; height: 8px; border-top: 3px dotted white; }
.phone-head { font-size: 13px; padding: 6px 2px 16px; }.phone-head b { font-size:16px; font-weight:600; }.notify { color:var(--coral); }
.event-card { display:grid; grid-template-columns: 90px 1fr; gap:11px; align-items:center; padding:9px; border:1px solid rgba(255,255,255,.10); background:#111631; border-radius:14px; }
.event-photo { height:70px; border-radius:9px; display:grid; place-items:center; background: radial-gradient(circle at 50% 30%,#ff745d,transparent 30%),linear-gradient(145deg,#2f1d69,#101843); font-size:9px; letter-spacing:.12em; }
.event-card b { font-size:12px; line-height:1.3; }.event-card small { display:block; margin-top:8px; font-size:8px; color:#aeb3ce; }
.app-card { margin-top:9px; padding:12px; border:1px solid rgba(255,255,255,.09); border-radius:13px; background:#111631; }
.app-title { display:flex; justify-content:space-between; font-size:11px; }.app-title strong { color:var(--coral); }
.progress { height:6px; margin:10px 0; background:#282c48; border-radius:5px; overflow:hidden; }.progress i { display:block; height:100%; width:68%; background:linear-gradient(90deg,var(--coral),#ff8168); border-radius:5px; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; }.stats span { color:#9298b8; font-size:7px; }.stats b { display:block; margin-bottom:3px; color:white; font-size:13px; }.stats .coral { color:var(--coral); }
.avatars { display:flex; margin-top:10px; }.avatars i { width:28px; height:28px; display:grid; place-items:center; margin-right:-5px; border:2px solid #111631; border-radius:50%; background:linear-gradient(145deg,#ffb185,#5363bc); font-size:8px; font-style:normal; }.avatars i:last-child { background:#2e3250; }
.point-grid { display:grid; grid-template-columns:repeat(3,1fr); margin-top:10px; }.point-grid span { color:#969cbb; font-size:7px; }.point-grid b { color:#a292ff; font-size:13px; margin-right:3px; }
.chats p { position:relative; padding:8px 0 0 27px; margin:0; font-size:9px; }.chats p::before { content:"□"; position:absolute; left:0; color:#b9bee4; }.chats small { display:block; color:#7e85a6; }.chats em { position:absolute; right:0; top:12px; width:18px; height:18px; display:grid; place-items:center; background:var(--coral); border-radius:50%; font-size:8px; font-style:normal; }
.float-card { position:absolute; z-index:4; width:220px; padding:19px; background:linear-gradient(145deg,rgba(32,37,80,.88),rgba(16,19,56,.72)); border:1px solid rgba(255,255,255,.22); border-radius:18px; box-shadow:0 25px 60px rgba(0,0,0,.35); backdrop-filter:blur(14px); }
.card-kicker { margin:0 0 15px; font-weight:750; font-size:12px; }
.task-card { left:3%; top:120px; transform:rotate(-4deg); }.task { display:block; padding:8px 0 8px 25px; border-bottom:1px solid rgba(255,255,255,.08); color:#d7daf0; font-size:9px; position:relative; }.task::before { content:""; position:absolute; left:0; width:14px; height:14px; border:1px solid #8d8fd0; border-radius:50%; }.task.done::before { content:"✓"; display:grid; place-items:center; background:var(--coral); border:0; color:white; }
.team-card { right:-9%; top:160px; transform:rotate(5deg); }.mini-row { display:flex; justify-content:space-between; padding:7px 0; font-size:9px; color:#c5c9e6; }.mini-row span::before { content:"♟"; color:var(--violet); margin-right:8px; }
.feedback-card { right:-3%; bottom:54px; transform:rotate(4deg); }.feedback-card strong { display:block; font-size:27px; }.feedback-card strong span { font-size:13px; color:var(--coral); letter-spacing:2px; }.feedback-card small { color:#9ba1c2; font-size:9px; }.feedback-card i { display:block; height:5px; margin-top:10px; background:linear-gradient(90deg,var(--coral) 75%,transparent 75%); border-radius:4px; }.feedback-card i:nth-last-child(2) { width:72%; background:linear-gradient(90deg,var(--violet) 58%,transparent 58%); }.feedback-card i:last-child { width:52%; }

.trust-strip { background:#0b0d2a; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-inner { min-height:96px; display:flex; align-items:center; justify-content:space-between; gap:24px; color:#848aad; text-transform:uppercase; letter-spacing:.1em; font-size:11px; }
.trust-inner p { color:white; text-transform:none; letter-spacing:0; font-weight:650; }
.section { padding:130px 0; }
.features { background:#f5f6fb; color:#11142f; }
.section-heading { display:grid; grid-template-columns:1.15fr .65fr; gap:100px; align-items:end; margin-bottom:60px; }
.section-heading h2, .how h2, .control h2, .contact h2 { margin:0; font-size:clamp(42px,4.2vw,62px); line-height:1.08; letter-spacing:-.045em; }
.section-heading > p, .how-copy > p, .control-copy > p { color:#6b7088; font-size:17px; line-height:1.7; margin:0; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-card { min-height:320px; padding:27px; position:relative; border:1px solid #e3e5ee; border-radius:18px; background:white; transition:.25s; overflow:hidden; }
.feature-card:hover { transform:translateY(-5px); border-color:#c9c7ff; box-shadow:0 22px 45px rgba(28,28,70,.10); }
.feature-number { position:absolute; right:22px; top:22px; color:#8f94aa; font-size:16px; font-weight:750; }
.feature-icon { width:48px; height:48px; margin:25px 0 50px; border:1px solid #ffb7a8; border-radius:14px; background:radial-gradient(circle at 65% 35%,var(--coral) 0 5px,transparent 6px),linear-gradient(145deg,#fff1ed,#fff); }
.feature-card h3 { font-size:21px; letter-spacing:-.02em; margin:0 0 14px; }.feature-card p { color:#74788d; font-size:14px; line-height:1.65; margin:0; }

.how { background:#0b0e2c; }
.how-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:120px; align-items:start; }
.how-copy { position:sticky; top:120px; }.how-copy > p { color:#9ba1c5; margin:26px 0; }.text-link { display:inline-flex; gap:30px; color:var(--coral); font-weight:700; margin-top:15px; }
.steps { border-top:1px solid var(--line); }.step { display:grid; grid-template-columns:70px 1fr; gap:30px; padding:38px 0; border-bottom:1px solid var(--line); }.step > span { color:var(--coral); font-size:17px; font-weight:800; }.step h3 { font-size:28px; margin:0 0 10px; }.step p { color:#9ca2c5; line-height:1.6; margin:0; }

.control { background:#f5f6fb; color:#12152f; }
.control-card { padding:70px; display:grid; grid-template-columns:.9fr 1.1fr; gap:90px; align-items:center; border-radius:30px; background:linear-gradient(135deg,#fff,#eeeefd); box-shadow:0 30px 80px rgba(31,26,78,.09); }
.control-copy > p { margin:25px 0 30px; }.control-copy ul { list-style:none; padding:0; }.control-copy li { padding:10px 0 10px 28px; position:relative; font-weight:650; }.control-copy li::before { content:"✓"; position:absolute; left:0; color:var(--coral); }
.dashboard { padding:27px; background:#101338; color:white; border:1px solid rgba(255,255,255,.16); border-radius:22px; box-shadow:0 30px 70px rgba(10,12,42,.3); transform:rotate(1deg); }
.dash-head { display:flex; justify-content:space-between; }.dash-head b { color:var(--coral); }.dash-progress { height:8px; margin:15px 0 22px; background:#292c50; border-radius:5px; }.dash-progress i { display:block; width:86%; height:100%; background:linear-gradient(90deg,var(--violet),var(--coral)); border-radius:5px; }
.dash-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }.dash-grid div { padding:14px; background:rgba(255,255,255,.05); border-radius:12px; }.dash-grid small,.dash-grid span { display:block; color:#aeb3cf; font-size:13px; }.dash-grid strong { display:block; margin:8px 0; font-size:30px; }.dash-grid .good { color:#65d6a1; }
.activity { display:flex; gap:13px; align-items:center; margin-top:12px; padding:13px; border:1px solid rgba(255,255,255,.08); border-radius:12px; }.activity i { width:10px; height:10px; background:var(--coral); border-radius:50%; box-shadow:0 0 16px var(--coral); }.activity i.violet { background:var(--violet); box-shadow:0 0 16px var(--violet); }.activity span { display:flex; flex-direction:column; }.activity b { font-size:13px; }.activity small { color:#9da3c2; font-size:12px; margin-top:4px; }

.team-section { background:#0b0e2c; }.section-heading.compact { align-items:end; }.section-heading.compact > p { color:#9ea4c5; }
.team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }.portrait { aspect-ratio: .82; border-radius:18px; display:grid; place-items:center; overflow:hidden; position:relative; background:radial-gradient(circle at 50% 35%,#6271c4,transparent 25%),linear-gradient(145deg,#1b2050,#11132e); border:1px solid var(--line); }.portrait::after { content:""; position:absolute; width:70%; height:56%; bottom:-15%; border-radius:50% 50% 20% 20%; background:linear-gradient(145deg,#4e527b,#222641); }.portrait span { position:relative; z-index:2; font-size:30px; font-weight:800; color:rgba(255,255,255,.8); }.portrait-2 { background:radial-gradient(circle at 50% 35%,#bd755c,transparent 25%),linear-gradient(145deg,#32244f,#11132e); }.portrait-3 { background:radial-gradient(circle at 50% 35%,#d0829a,transparent 25%),linear-gradient(145deg,#48244b,#11132e); }.portrait-4 { background:radial-gradient(circle at 50% 35%,#689eb0,transparent 25%),linear-gradient(145deg,#183c4d,#11132e); }
.person h3 { margin:20px 0 6px; font-size:17px; }.person p { margin:0; color:#8f95b7; font-size:13px; }

.contact { background:#0b0e2c; padding-top:30px; }.contact-card { padding:70px; display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:end; background:radial-gradient(circle at 80% 20%,rgba(120,104,255,.4),transparent 34%),linear-gradient(135deg,#171b52,#11143c); border:1px solid var(--line); border-radius:30px; }.contact-card p:not(.eyebrow) { color:#aeb3d0; font-size:16px; line-height:1.6; max-width:560px; }
form label { display:block; margin-bottom:10px; color:#c9cce0; font-size:12px; }.input-row { display:flex; }.input-row input { min-width:0; flex:1; height:60px; padding:0 18px; color:white; background:rgba(3,5,25,.5); border:1px solid rgba(255,255,255,.18); border-right:0; border-radius:8px 0 0 8px; outline:0; }.input-row input:focus { border-color:var(--violet); }.input-row button { border:0; padding:0 22px; color:white; background:var(--coral); border-radius:0 8px 8px 0; font-size:13px; font-weight:750; cursor:pointer; }.input-row button span { margin-left:15px; }.contact form > small { display:block; margin-top:12px; color:#7f86aa; font-size:9px; }

footer { padding:80px 0 30px; background:#07091e; }.footer-grid { display:grid; grid-template-columns:1.4fr .7fr .8fr; gap:80px; }.footer-grid > div { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }.footer-grid p { max-width:280px; color:#7f86a9; font-size:13px; line-height:1.6; }.footer-grid b { margin-bottom:8px; font-size:12px; color:#7f86a9; text-transform:uppercase; letter-spacing:.1em; }.footer-grid a,.footer-grid span { font-size:13px; color:#c7cae0; }.footer-bottom { display:flex; justify-content:space-between; margin-top:55px; padding-top:25px; border-top:1px solid rgba(255,255,255,.08); color:#676d91; font-size:11px; }
.post-toc { margin:0 0 36px; border:1px solid rgba(255,255,255,.16); border-radius:14px; background:rgba(255,255,255,.05); overflow:hidden; }
.post-toc summary { padding:18px 22px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; color:var(--ink); font-size:17px; font-weight:750; list-style:none; }
.post-toc summary::-webkit-details-marker { display:none; }.post-toc summary span { color:var(--coral); font-size:24px; transition:transform .2s; }.post-toc[open] summary span { transform:rotate(45deg); }
.post-toc nav { padding:0 22px 20px; border-top:1px solid rgba(255,255,255,.1); }.post-toc ol { margin:16px 0 0; padding-left:22px; }.post-toc li { margin:10px 0; color:#c8cce5; }.post-toc .toc-level-3 { margin-left:20px; font-size:14px; }.post-toc a:hover { color:var(--coral); }

@media (prefers-reduced-motion:no-preference) {
  .hero-phone { animation:float 6s ease-in-out infinite; }
  .float-card { animation:cardFloat 7s ease-in-out infinite; }
  .team-card { animation-delay:-2s; }.feedback-card { animation-delay:-4s; }
  @keyframes float { 0%,100%{translate:0 0} 50%{translate:0 -8px} }
  @keyframes cardFloat { 0%,100%{margin-top:0} 50%{margin-top:-5px} }
}
@media (max-width:1100px) {
  .shell { width:min(calc(100% - 40px), 1000px); }.hero-grid { grid-template-columns:minmax(0,48%) minmax(0,52%); }.hero h1 { font-size:54px; }.visual-wrap { width:100%; min-height:650px; }.hero-phone { width:min(410px,72%); left:50%; transform:translateX(-50%) rotate(1deg); }.task-card { left:0; }.team-card { right:0; }.feedback-card { right:0; }.feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.control-card,.contact-card { padding:48px; gap:45px; }
}
@media (max-width:800px) {
  .stage-lamp { width:64px; height:34px; }.lamp-left { left:2%; }.lamp-right { right:1%; }.light-beam { opacity:.2; width:300px; }
  .shell { width:calc(100% - 32px); }.site-header { position:fixed; }.header-inner { height:72px; }.logo { font-size:22px; }.logo .custom-logo { height:36px; max-width:42vw; }.logo-mark { transform:scale(.8); } .site-header nav { display:none; position:fixed; top:72px; left:0; right:0; max-height:calc(100dvh - 72px); overflow-y:auto; padding:22px 16px; background:#090b26; border-bottom:1px solid var(--line); }.site-header nav.is-open { display:block; }.site-header nav ul { flex-direction:column; align-items:flex-start; gap:18px; }.header-cta { margin-left:auto; }.menu-toggle { display:block; flex:0 0 auto; }
  .hero,.hero-grid { min-height:auto; }.hero-grid { grid-template-columns:1fr; padding-top:130px; }.hero-copy { text-align:left; }.hero h1 { font-size:clamp(42px,12vw,58px); }.hero-lead { font-size:17px; }.hero-proof { gap:30px; }.visual-wrap { min-height:610px; width:100%; margin-top:30px; }.hero-phone { width:min(440px,88vw); left:50%; transform:translateX(-50%) rotate(1deg); }.phone { left:50%; transform:translateX(-50%) rotate(3deg); }.task-card { left:0; }.team-card { right:0; }.feedback-card { right:2%; }
  .trust-inner { min-height:110px; flex-wrap:wrap; justify-content:flex-start; padding:25px 0; }.trust-inner p { width:100%; margin:0; }.section { padding:85px 0; }.section-heading { grid-template-columns:1fr; gap:22px; margin-bottom:40px; }.section-heading h2,.how h2,.control h2,.contact h2 { font-size:40px; }.feature-grid { grid-template-columns:1fr; }.feature-card { min-height:280px; }.how-grid { grid-template-columns:1fr; gap:55px; }.how-copy { position:static; }.control-card,.contact-card { grid-template-columns:1fr; padding:32px 22px; }.dashboard { transform:none; }.team-grid { grid-template-columns:repeat(2,1fr); }.footer-grid { grid-template-columns:1fr 1fr; }.footer-grid > div:first-child { grid-column:1/-1; }
}
@media (max-width:520px) {
  .button-row { flex-direction:column; }.button { width:100%; }.hero-proof { flex-direction:column; gap:14px; }.visual-wrap { min-height:500px; }.hero-phone { width:min(410px,96vw); }.phone { width:min(350px,90vw); height:620px; }.task-card { display:none; }.team-card { display:none; }.feedback-card { left:0; right:auto; bottom:22px; max-width:58vw; }.feature-grid,.team-grid { grid-template-columns:1fr; }.section-heading h2,.how h2,.control h2,.contact h2 { font-size:34px; }.control-card,.contact-card { width:100%; }.dash-grid { grid-template-columns:1fr; }.input-row { flex-direction:column; gap:8px; }.input-row input { border:1px solid rgba(255,255,255,.18); border-radius:8px; }.input-row button { min-height:56px; border-radius:8px; }.footer-grid { grid-template-columns:1fr; }.footer-grid > div:first-child { grid-column:auto; }
}

/* Базовая типографика и элементы классического редактора */
.content-page { padding-top:150px; min-height:65vh; }
.entry-content { max-width:1040px; }
.entry-narrow { max-width:780px; margin-inline:auto; }
.content-wide .entry-content { max-width:none; }
.entry-content h1,.archive-header h1,.error-page h1 { margin:0 0 36px; font-size:clamp(42px,6vw,72px); line-height:1.04; letter-spacing:-.045em; }
.entry-content h2 { margin:64px 0 22px; font-size:clamp(30px,4vw,46px); line-height:1.12; }
.entry-content h3 { margin:44px 0 18px; font-size:clamp(24px,3vw,32px); }
.entry-content h4 { margin:34px 0 14px; font-size:22px; }
.entry-content p,.entry-content li,.archive-description { color:#c3c7df; font-size:17px; line-height:1.75; }
.entry-content .lead { color:#fff; font-size:clamp(20px,2.4vw,26px); line-height:1.55; }
.entry-content a:not(.button) { color:#ff8a70; text-decoration:underline; text-underline-offset:3px; }
.entry-content ul,.entry-content ol { padding-left:26px; margin:22px 0; }
.entry-content li { margin:9px 0; padding-left:5px; }
.entry-content li::marker { color:var(--coral); font-weight:800; }
.entry-content blockquote { margin:38px 0; padding:28px 34px; border-left:4px solid var(--coral); border-radius:0 14px 14px 0; background:rgba(255,255,255,.06); }
.entry-content blockquote p { margin:0; color:#fff; font-size:21px; }
.entry-content blockquote cite { display:block; margin-top:15px; color:#9fa5c7; font-size:15px; font-style:normal; }
.entry-content mark { padding:.08em .3em; color:#17172e; background:#ffcb78; border-radius:3px; }
.entry-content code { padding:.16em .42em; color:#e1ddff; background:#25294f; border-radius:5px; }
.entry-content pre { max-width:100%; overflow:auto; padding:22px; background:#050619; border:1px solid var(--line); border-radius:12px; }
.entry-content hr { margin:50px 0; border:0; border-top:1px solid var(--line); }
.entry-content img { max-width:100%; height:auto; border-radius:16px; }
.entry-cover { width:100%; margin:0 0 38px; }
.entry-meta { margin:0 0 12px; color:#979dbd; font-size:15px; }
.table-scroll { max-width:100%; overflow-x:auto; margin:28px 0; border:1px solid var(--line); border-radius:14px; }
.entry-content table { width:100%; min-width:620px; border-collapse:collapse; background:rgba(255,255,255,.035); }
.entry-content th,.entry-content td { padding:16px 18px; text-align:left; border-bottom:1px solid var(--line); font-size:15px; line-height:1.5; }
.entry-content th { color:#fff; background:rgba(120,104,255,.16); }
.entry-content tr:last-child td { border-bottom:0; }
.button.text-button,
.button.text-button:link,
.button.text-button:visited,
.button.text-button:hover,
.button.text-button:focus,
.button.text-button:active { min-height:44px; padding-inline:6px; color:#fff; background:none; }
.notice { padding:18px 20px; border:1px solid var(--line); border-radius:10px; }
.notice-info { border-left:4px solid #8072ff; background:rgba(120,104,255,.12); }
.notice-success { border-left:4px solid #4ed29b; background:rgba(78,210,155,.1); }
.notice-warning { border-left:4px solid #ffb757; background:rgba(255,183,87,.1); }
.post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:45px; }
.post-card { min-width:0; padding:28px; background:#111431; border:1px solid var(--line); border-radius:18px; }
.post-card h2 { margin:8px 0 16px; font-size:25px; }
.post-card p { color:#aeb3cf; line-height:1.65; }
.post-card-description { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.navigation.pagination { margin-top:48px; }
.nav-links { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; }
.page-numbers { display:inline-flex; min-width:46px; min-height:46px; padding:8px 14px; align-items:center; justify-content:center; color:#fff; text-decoration:none; background:#111431; border:1px solid var(--line); border-radius:10px; }
.page-numbers.current,.page-numbers:hover,.page-numbers:focus { color:#fff; background:var(--coral); border-color:var(--coral); }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 28px; color:#858bab; font-size:14px; line-height:1.5; }
.breadcrumbs a { color:#b8bdd8; text-decoration:none; }
.breadcrumbs a:hover,.breadcrumbs a:focus { color:#fff; }
.breadcrumbs [aria-current="page"] { max-width:100%; overflow:hidden; color:#858bab; text-overflow:ellipsis; white-space:nowrap; }
.related-posts { margin-top:100px; padding-top:72px; border-top:1px solid var(--line); }
.related-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:30px; }
.related-heading h2 { margin:8px 0 0; font-size:clamp(34px,5vw,56px); line-height:1.06; }
.related-actions { display:flex; align-items:center; gap:10px; }
.carousel-arrow { display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center; color:#fff; font:inherit; font-size:20px; background:#111431; border:1px solid var(--line); border-radius:50%; cursor:pointer; }
.carousel-arrow:hover,.carousel-arrow:focus { background:#24284d; border-color:#62698e; }
.related-all { min-height:48px; margin-left:6px; }
.related-carousel { display:grid; grid-auto-columns:calc((100% - 40px)/3); grid-auto-flow:column; gap:20px; overflow-x:auto; padding:2px 2px 18px; scroll-behavior:smooth; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#4a4f75 transparent; }
.related-card { display:flex; min-width:0; min-height:310px; padding:26px; flex-direction:column; background:#111431; border:1px solid var(--line); border-radius:18px; scroll-snap-align:start; }
.related-card h3 { margin:8px 0 14px; font-size:23px; line-height:1.3; }
.related-card h3 a { color:#fff; text-decoration:none; }
.related-card > p:not(.entry-meta) { display:-webkit-box; overflow:hidden; margin:0 0 20px; color:#aeb3cf; line-height:1.65; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.related-card .text-link { margin-top:auto; }
.error-page { padding-top:190px; padding-bottom:130px; text-align:center; }
.error-code { margin:0; color:var(--coral); font-size:clamp(90px,18vw,220px); font-weight:900; line-height:.8; opacity:.25; }
.footer-grid .menu { display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:0; margin:0; list-style:none; }
.footer-widget { margin-top:8px; }

/* Внутренний интерфейс приложения: минимальный читаемый размер цифр и подписей. */
.phone-top,.event-photo,.event-card small,.stats span,.avatars i,.point-grid span,.task,.mini-row,.feedback-card small,.chats p,.chats small { font-size:max(11px,.72rem); }
.stats b,.point-grid b,.event-card b,.app-title { font-size:max(14px,.88rem); }

@media (max-width:1100px) {
  .visual-wrap { transform:none; width:100%; }
  .post-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .related-carousel { grid-auto-columns:calc((100% - 20px)/2); }
}
@media (max-width:800px) {
  .content-page { padding-top:120px; }
  .header-cta { display:none; }
  .post-grid { grid-template-columns:1fr; }
  .entry-content p,.entry-content li { font-size:16px; }
  .light-beam { max-width:70vw; }
  .related-posts { margin-top:72px; padding-top:52px; }
  .related-heading { align-items:flex-start; flex-direction:column; }
  .related-actions { width:100%; }
  .related-all { margin-left:auto; }
  .related-carousel { grid-auto-columns:min(86%,360px); }
}
@media (max-width:520px) {
  .shell { width:calc(100% - 24px); }
  .content-page { padding-top:105px; }
  .entry-content h1 { margin-bottom:26px; }
  .entry-content blockquote { padding:22px; margin-inline:0; }
  .footer-bottom { gap:18px; flex-direction:column; }
  .float-card { max-width:56vw; padding:14px; }
  .breadcrumbs [aria-current="page"] { display:none; }
  .breadcrumbs span:last-of-type::before { content:none; }
  .related-actions { flex-wrap:wrap; }
  .related-all { width:auto; min-width:0; }
  .related-carousel { grid-auto-columns:92%; }
}
