/* Мастерская — страница для бизнеса. Цвета — /shared/tokens.css. */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); overflow-x: hidden; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 15.5px; text-decoration: none !important; white-space: nowrap;
  transition: transform .25s var(--bm-back), box-shadow .25s, background .2s, color .2s; }
.btn.lg { height: 58px; padding: 0 28px; font-size: 17px; border-radius: 18px; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.btn:active { transform: scale(.96); }
.btn-cta { background: #FF8A3D; color: #1d0e02; box-shadow: 0 12px 30px -10px rgba(255, 138, 61, .75), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-cta:hover { background: #ff9c58; box-shadow: 0 16px 36px -10px rgba(255, 138, 61, .9), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-ghost-light { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }

/* шапка */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px; display: flex; align-items: center; gap: 12px; padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px)); color: #fff; transition: background .3s, box-shadow .3s, height .3s; }
.nav.scrolled { background: rgba(7, 44, 51, .82); backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none !important; margin-right: auto; }
.logo .tile { transform-box: fill-box; transform-origin: center; animation: tile 4s var(--bm-back) infinite; }
@keyframes tile { 0%, 70% { transform: none; } 80% { transform: translate(-4px, 7px) rotate(-14deg); } 90%, 100% { transform: none; } }
.nav-links { display: flex; gap: 4px; margin-right: 8px; }
.nav-links a { color: rgba(255,255,255,.82); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; text-decoration: none !important; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }

/* первый экран */
.hero { position: relative; overflow: hidden; color: #eaf8f8; padding: 120px 0 90px; background: linear-gradient(160deg, #0b6668 0%, #073840 55%, #0a2540 100%); isolation: isolate; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; animation: blob 18s ease-in-out infinite alternate; }
.hero-bg .b1 { width: 520px; height: 520px; background: #17c1bd; left: -140px; top: -160px; }
.hero-bg .b2 { width: 480px; height: 480px; background: #2a5bd7; right: -120px; bottom: -200px; animation-delay: -6s; }
.hero-bg .b3 { width: 300px; height: 300px; background: #ff8a3d; right: 30%; top: 30%; opacity: .22; animation-delay: -11s; }
@keyframes blob { to { transform: translate(60px, 40px) scale(1.15); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 14px; font-weight: 600; color: #bdeeee; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #5ff0e4; box-shadow: 0 0 0 0 rgba(95,240,228,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(95,240,228,0); } 100% { box-shadow: 0 0 0 0 rgba(95,240,228,0); } }
.hero h1 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.035em; color: #fff; margin: 22px 0 20px; font-weight: 800; }
.hl { background: linear-gradient(100deg, #ffb27a, #ff8a3d 50%, #ffd29a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.55; color: #c3e8e8; max-width: 580px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts b { font-size: 28px; color: #fff; letter-spacing: -.02em; }
.hero-facts span { color: #9fd3d3; font-size: 14px; }

.hero-phone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone { position: relative; width: 330px; height: 680px; border-radius: 52px; padding: 11px; background: linear-gradient(145deg, #2c3a3d, #0b1214); display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.75), 0 0 0 1.5px rgba(255,255,255,.12), inset 0 0 0 2px #050909; transform: rotate(-2deg); transition: transform .6s var(--bm-ease-out); }
.hero-phone:hover .phone { transform: rotate(0deg) translateY(-4px); }
.phone-status { height: 40px; flex: none; background: #fff; border-radius: 42px 42px 0 0; display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0 30px; font: 650 14px/1 var(--font); color: #0c1213; }
.phone-bat { width: 22px; height: 10px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.phone-bat::after { content: ''; position: absolute; inset: 1.5px 4px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.phone iframe { flex: 1; width: 100%; border: 0; background: #fff; border-radius: 0 0 42px 42px; pointer-events: none; transition: opacity .22s, filter .22s; }
.phone iframe.swap { opacity: 0; filter: blur(6px); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 96px; height: 28px; border-radius: 99px; background: #050909; transform: translateX(-50%); }
.phone-wait { position: absolute; inset: 11px; border-radius: 42px; background: #fff; display: grid; place-items: center; color: var(--brand); transition: opacity .4s; }
.phone-wait.gone { opacity: 0; pointer-events: none; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.kinds { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.kinds button { border: 0; background: transparent; color: #cfeeee; font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 12px; cursor: pointer; transition: background .25s, color .25s; }
.kinds button[aria-selected="true"] { background: #fff; color: #0a3c40; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.96); color: #12272a; box-shadow: 0 20px 50px -18px rgba(0,0,0,.6); animation: float-in 9s var(--bm-back) infinite both; }
.float b { display: block; font-size: 14px; } .float small { display: block; font-size: 12.5px; color: #5b6b6d; }
.fi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #e6f6f5; color: #0A7778; flex: none; }
.float.f1 { left: -60px; top: 18%; animation-delay: 1s; } .float.f2 { right: -70px; top: 44%; animation-delay: 4s; } .float.f3 { left: -40px; bottom: 18%; animation-delay: 7s; }
@keyframes float-in { 0% { opacity: 0; transform: translateY(18px) scale(.85); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-10px) scale(.95); } }

/* бегущая строка */
.marquee-band { background: #072c33; color: #7fc9c9; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.mq span { font-weight: 700; font-size: 17px; margin: 0 22px; white-space: nowrap; }
.mq span::before { content: '✦'; color: #FF8A3D; margin-right: 22px; font-size: 12px; vertical-align: 2px; }

/* разделы */
.sec { padding: 100px 0; }
.sec-tint { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }
.sec-t { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; text-align: center; font-weight: 800; }
.hl-ink { color: var(--primary); }
.sec-sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 640px; margin: 14px auto 0; }
.ex-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.ex { text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: 24px; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; color: var(--ink); font: inherit;
  transition: transform .35s var(--bm-back), border-color .2s, box-shadow .3s; }
.ex:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.ex.on { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.ex b { font-size: 20px; letter-spacing: -.01em; }
.ex p { color: var(--ink-2); font-size: 15px; line-height: 1.5; flex: 1; }
.ex-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; transition: transform .4s var(--bm-back); }
.ex:hover .ex-ic { transform: rotate(-8deg) scale(1.08); }
.ex-for { font-size: 13px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 50px 0 40px; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--sh-1); }
.step-n { position: absolute; top: 18px; right: 22px; font-size: 64px; font-weight: 800; color: var(--primary-soft); line-height: 1; letter-spacing: -.04em; }
.step h3 { font-size: 21px; }
.step p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.step-art { height: 150px; border-radius: 18px; background: var(--surface-2); margin-bottom: 8px; position: relative; overflow: hidden; }
.art1 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 26px 18px; }
.art1 i { border-radius: 14px; background: var(--surface); border: 2px solid var(--line); }
.art1 i.on { border-color: var(--primary); background: var(--primary-soft); animation: pick 3s var(--bm-back) infinite; }
@keyframes pick { 0%, 20% { transform: none; } 30% { transform: translateY(-8px) scale(1.06); } 45%, 100% { transform: none; } }
.art2 { display: flex; gap: 12px; padding: 18px; }
.a2-l { width: 40%; display: flex; flex-direction: column; gap: 8px; } .a2-l i { height: 28px; border-radius: 9px; background: var(--surface); border: 1.5px solid var(--line); }
.a2-l i.on { border-color: var(--primary); background: var(--primary-soft); }
.a2-p { flex: 1; border-radius: 16px; background: var(--surface); border: 2px solid var(--ink); padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.a2-p b { height: 40px; border-radius: 9px; background: var(--brand); animation: recolor 4s ease-in-out infinite; } .a2-p u { height: 8px; width: 70%; border-radius: 4px; background: var(--line-strong); } .a2-p s { height: 8px; width: 40%; border-radius: 4px; background: var(--line); }
@keyframes recolor { 0%, 30% { background: #0FA3A3; } 40%, 65% { background: #E0457B; } 75%, 100% { background: #2F6FED; } }
.art3 { display: flex; align-items: center; justify-content: center; gap: 20px; background: linear-gradient(180deg, #dff0f8, #cfe6ef); }
.bubble { background: #fff; color: #1e88c8; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 12px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.2); animation: bm-float 3s ease-in-out infinite; }
.qr { width: 74px; height: 74px; border-radius: 12px; background: #fff conic-gradient(from 90deg at 25% 25%, #142022 25%, transparent 0) 0 0 / 18px 18px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.2); outline: 6px solid #fff; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.w { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.w b { font-size: 18px; } .w p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.w-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 4px; }

.stats-band { background: #072c33; color: #cfeeee; padding: 70px 0; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.nums b { display: block; font-size: clamp(40px, 5vw, 60px); color: #fff; letter-spacing: -.03em; font-weight: 800; }
.nums span { font-size: 15.5px; color: #93c9c9; }

.qa { border-bottom: 1px solid var(--line); padding: 4px 0; }
.qa:first-of-type { margin-top: 36px; }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-weight: 500; font-size: 22px; flex: none; transition: transform .3s var(--bm-back), background .2s; }
.qa[open] summary::after { transform: rotate(45deg); background: var(--primary-soft); color: var(--primary); }
.qa p { color: var(--ink-2); font-size: 16px; line-height: 1.6; padding: 0 48px 18px 0; animation: bm-fade-down .3s var(--bm-ease-out); }

.final { padding: 30px 0 100px; }
.final-in { position: relative; overflow: hidden; border-radius: 36px; padding: 70px 30px; text-align: center; color: #fff; background: radial-gradient(80% 120% at 0% 0%, #17b6b2, transparent 60%), radial-gradient(70% 100% at 100% 100%, #2a5bd7, transparent 60%), #0a4d55; }
.final-in h2 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.03em; line-height: 1.08; font-weight: 800; }
.final-in p { color: #c3e8e8; font-size: 18px; margin: 14px 0 30px; }

.foot { border-top: 1px solid var(--line); padding: 26px 0 36px; }
.foot-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.foot .logo { color: var(--ink); font-size: 16px; margin-right: 0; }
.foot a { margin-left: auto; font-weight: 600; }

/* планшет */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-facts { justify-content: center; }
  .hero-cta { justify-content: center; }
  .ex-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .float.f1 { left: calc(50% - 300px); } .float.f2 { right: calc(50% - 310px); } .float.f3 { left: calc(50% - 290px); }
}
/* телефон */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .nav .btn-ghost-light { display: none; }
  .hero { padding: 96px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { gap: 22px; } .hero-facts b { font-size: 23px; }
  .phone { width: 300px; height: 610px; border-radius: 48px; }
  .float { display: none; }
  .kinds button { padding: 8px 11px; font-size: 13.5px; }
  .sec { padding: 70px 0; }
  .ex-grid, .why, .steps, .nums { grid-template-columns: 1fr; }
  .final-in { border-radius: 26px; padding: 50px 20px; }
  .final-in .btn { width: 100%; }
  .qa p { padding-right: 0; }
}
@media (max-width: 640px) {
  .eyebrow { font-size: 12.5px; padding: 6px 12px; }
  .hero-facts { gap: 16px; flex-wrap: nowrap; } .hero-facts b { font-size: 21px; } .hero-facts span { font-size: 12.5px; }
  .hero h1 { margin-top: 16px; }
}
