@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #0957F5;
  --navy: #0B1220;
  --deep-navy: #071A33;
  --white: #FFFFFF;
  --soft-white: #F7F9FC;
  --graphite: #202633;
  --muted: #667085;
  --line: #E4E9F1;
  --gold: #D6A84B;
  --success: #18A873;
  --risk: #D94A4A;
  --font: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--soft-white); color: var(--graphite); font: 400 16px/1.65 var(--font); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { touch-action: manipulation; }

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: var(--navy);
  color: var(--white);
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; position: relative; isolation: isolate; }
.brand img { display: block; width: 218px; height: auto; animation: logoGlow 4.8s ease-in-out infinite; }
.brand::after { content: ''; position: absolute; inset: -3px; pointer-events: none; background: linear-gradient(108deg, transparent 18%, rgba(255,255,255,.1) 34%, rgba(126,178,255,.95) 46%, #FFFFFF 50%, rgba(9,87,245,.9) 56%, transparent 74%); background-size: 260% 100%; background-position: 160% 0; -webkit-mask: url('/assets/brand-logo.png') center / contain no-repeat; mask: url('/assets/brand-logo.png') center / contain no-repeat; mix-blend-mode: screen; opacity: .88; filter: drop-shadow(0 0 7px rgba(9,87,245,.42)); animation: logoShimmer 4.8s cubic-bezier(.45,0,.2,1) infinite; }
.brand:hover::after { animation-duration: 2.4s; }
.site-header nav { display: flex; gap: 34px; font-size: 13px; font-weight: 600; color: #C8D0DF; }
.site-header nav a, footer a { transition: color .2s ease; }
.site-header nav a:hover, footer a:hover { color: var(--blue); }
.header-cta { padding: 12px 18px; background: var(--blue); border-radius: 8px; font-size: 12px; font-weight: 800; color: var(--white); }

.hero {
  min-height: 560px;
  padding: 88px clamp(24px, 8vw, 124px) 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(42px, 6vw, 96px);
  align-items: end;
  color: var(--white);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after { content: ''; position: absolute; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -210px; top: -250px; border: 1px solid rgba(9,87,245,.55); transform: rotate(45deg); }
.hero::after { width: 300px; height: 2px; right: 3vw; bottom: 80px; background: linear-gradient(90deg, transparent, var(--blue)); }
.hero-copy, .hero-aside { position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; color: var(--blue); }
.hero h1, .article-hero h1 { margin: 22px 0; font-weight: 700; letter-spacing: -.045em; line-height: 1.06; }
.hero h1 { max-width: 940px; font-size: clamp(44px, 6.2vw, 88px); }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 760px; margin: 0; font-size: 18px; color: #B7C0D1; }
.hero-aside { display: grid; gap: 20px; align-self: center; }
.metric strong { display: block; color: var(--blue); font-size: 42px; font-weight: 800; line-height: 1; }
.metric span { display: block; margin-top: 9px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #D8DEEA; }

.hero-visual { height: 355px; position: relative; isolation: isolate; perspective: 900px; transform-style: preserve-3d; }
.visual-grid { position: absolute; inset: 55px 22px 22px; opacity: .26; transform: rotateX(63deg) rotateZ(-8deg); background-image: linear-gradient(rgba(9,87,245,.33) 1px, transparent 1px), linear-gradient(90deg, rgba(9,87,245,.33) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 72%); mask-image: radial-gradient(circle, #000 25%, transparent 72%); }
.visual-core { position: absolute; width: 156px; height: 156px; left: 50%; top: 50%; z-index: 3; transform: translate(-50%,-46%) rotateX(7deg) rotateY(-8deg); transform-style: preserve-3d; animation: coreFloat 5s ease-in-out infinite; }
.core-halo { position: absolute; inset: -22px; border: 1px solid rgba(9,87,245,.6); border-radius: 50%; box-shadow: 0 0 45px rgba(9,87,245,.34), inset 0 0 30px rgba(9,87,245,.16); animation: haloPulse 3.2s ease-in-out infinite; }
.core-card { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; overflow: hidden; color: var(--white); text-align: center; background: linear-gradient(145deg, rgba(29,105,255,.96), #0739A7 75%); border: 1px solid rgba(255,255,255,.35); border-radius: 24px; box-shadow: 0 24px 55px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.35); transform: translateZ(42px); }
.core-card::before { content: ''; position: absolute; width: 120px; height: 260px; top: -90px; left: -85px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); transform: rotate(30deg); animation: coreShine 5.5s ease-in-out infinite; }
.core-card img { width: 46px; height: 46px; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }
.core-card strong { margin-top: 8px; font-size: 17px; line-height: 1.08; letter-spacing: -.02em; }
.core-card small { margin-top: 7px; color: #C9DAFF; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; transform-style: preserve-3d; }
.orbit::after { content: ''; position: absolute; inset: -1px; border: 1px solid transparent; border-top-color: var(--blue); border-radius: inherit; }
.orbit span { position: absolute; z-index: 4; padding: 7px 10px; color: #DBE5F8; white-space: nowrap; background: rgba(11,18,32,.88); border: 1px solid rgba(255,255,255,.16); border-radius: 7px; box-shadow: 0 8px 20px rgba(0,0,0,.24); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.orbit-one { width: 300px; height: 150px; margin: -74px 0 0 -150px; transform: rotate(-10deg); animation: orbitDrift 8s ease-in-out infinite; }
.orbit-one::after { animation: orbitSpin 9s linear infinite; }
.orbit-one span:first-child { left: -12px; top: 54px; }
.orbit-one span:last-child { right: -5px; top: 38px; }
.orbit-two { width: 382px; height: 220px; margin: -112px 0 0 -191px; transform: rotate(12deg); border-color: rgba(9,87,245,.22); animation: orbitDrift 10s ease-in-out infinite reverse; }
.orbit-two::after { animation: orbitSpin 13s linear infinite reverse; }
.orbit-two span:first-child { left: 42px; bottom: -4px; }
.orbit-two span:last-child { right: 10px; top: 18px; }
.data-dot { position: absolute; z-index: 5; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 6px rgba(9,87,245,.12), 0 0 18px rgba(9,87,245,.8); }
.dot-one { left: 11%; top: 27%; animation: dotTravelOne 6s ease-in-out infinite; }
.dot-two { right: 13%; bottom: 20%; animation: dotTravelTwo 7s ease-in-out infinite .7s; }
.dot-three { left: 25%; bottom: 17%; animation: dotTravelTwo 5.5s ease-in-out infinite reverse; }
.visual-caption { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); }
.visual-caption span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.visual-caption p { margin: 0; color: #AEB8CA; font-size: 11px; line-height: 1.5; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

@keyframes coreFloat { 0%,100% { transform: translate(-50%,-46%) rotateX(7deg) rotateY(-8deg) translateY(0); } 50% { transform: translate(-50%,-46%) rotateX(3deg) rotateY(8deg) translateY(-10px); } }
@keyframes haloPulse { 0%,100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes coreShine { 0%,55% { transform: translateX(-40px) rotate(30deg); opacity: 0; } 68% { opacity: 1; } 85%,100% { transform: translateX(280px) rotate(30deg); opacity: 0; } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitDrift { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes dotTravelOne { 0%,100% { transform: translate(0,0); opacity: .35; } 50% { transform: translate(250px,118px); opacity: 1; } }
@keyframes dotTravelTwo { 0%,100% { transform: translate(0,0); opacity: .3; } 50% { transform: translate(-210px,-92px); opacity: 1; } }
@keyframes logoShimmer { 0%,18% { background-position: 160% 0; opacity: .28; } 52% { opacity: 1; } 78%,100% { background-position: -75% 0; opacity: .32; } }
@keyframes logoGlow { 0%,100% { filter: drop-shadow(0 0 0 rgba(9,87,245,0)); } 50% { filter: drop-shadow(0 0 7px rgba(9,87,245,.34)); } }

.search-wrap { width: min(1120px, calc(100% - 48px)); margin: -38px auto 0; padding: 30px 34px 26px; position: relative; z-index: 3; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(11,18,32,.10); }
.search-wrap > label { display: block; margin-bottom: 10px; color: var(--navy); font-size: 12px; font-weight: 800; }
.search-box { height: 66px; display: flex; align-items: center; gap: 14px; padding: 0 20px; background: var(--soft-white); border: 1px solid var(--line); border-radius: 9px; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(9,87,245,.10); }
.search-box > span { color: var(--blue); font-size: 27px; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--graphite); font-size: 17px; }
.search-box kbd { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); background: var(--white); font-size: 10px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 11px; }
.quick > span { margin-right: 4px; color: var(--muted); }
.quick button, .category-strip button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--graphite); cursor: pointer; font-size: 11px; font-weight: 600; transition: .2s ease; }
.quick button:hover { border-color: var(--blue); color: var(--blue); }
.suggestions { position: absolute; left: 34px; right: 34px; top: 116px; max-height: 340px; overflow: auto; color: var(--graphite); background: var(--white); border: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: 0 20px 40px rgba(11,18,32,.16); }
.suggestions a { display: block; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.suggestions a:hover { background: var(--soft-white); }
.suggestions a span { display: block; color: var(--blue); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.suggestions a strong { font-size: 14px; }

.category-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 68px clamp(24px, 7vw, 110px) 24px; }
.category-strip > span { margin-right: 10px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.category-strip button:hover, .category-strip button.active { color: var(--white); background: var(--blue); border-color: var(--blue); }
.category-strip button:focus-visible { outline: 3px solid rgba(9,87,245,.25); outline-offset: 2px; }

.questions { padding: 34px clamp(24px, 7vw, 110px) 110px; scroll-margin-top: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; }
.section-head h2, .contact h2, .related h2 { margin: 9px 0 0; color: var(--navy); font-size: clamp(32px, 4vw, 54px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.section-head > p { color: var(--muted); font-size: 12px; }
.question-list { border-top: 2px solid var(--navy); }
.question-card { display: grid; grid-template-columns: 52px 1fr 44px; gap: 24px; align-items: center; padding: 29px 10px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease, border-color .2s ease; }
.question-card[hidden] { display: none !important; }
.question-card:hover { padding-left: 20px; padding-right: 20px; background: var(--white); border-color: #CBD5E5; }
.card-num { color: #A5AFBF; font-size: 14px; font-weight: 700; }
.card-category { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.question-card h3 { margin: 6px 0; color: var(--navy); font-size: clamp(19px, 2vw, 27px); font-weight: 700; letter-spacing: -.02em; }
.question-card p { max-width: 800px; margin: 0; color: var(--muted); font-size: 13px; }
.card-arrow { color: var(--blue); font-size: 22px; text-align: right; }
.empty { padding: 70px; text-align: center; background: var(--white); border: 1px solid var(--line); }
.empty strong { color: var(--navy); font-size: 28px; }
.empty a { display: inline-block; margin-top: 15px; color: var(--blue); font-weight: 700; }

.contact { margin: 0 clamp(24px, 4vw, 65px) 65px; padding: clamp(42px, 6vw, 76px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 7vw; align-items: center; color: var(--white); background: var(--navy); border-radius: 18px; position: relative; overflow: hidden; }
.contact::after { content: ''; position: absolute; width: 230px; height: 230px; right: -100px; top: -120px; border: 28px solid rgba(9,87,245,.18); transform: rotate(45deg); }
.eyebrow.light { color: var(--blue); }
.contact h2 { color: var(--white); font-size: clamp(32px, 4.6vw, 58px); }
.contact p { max-width: 680px; color: #B9C2D2; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { padding: 14px 20px; border-radius: 8px; font-size: 12px; font-weight: 800; }
.button.light { color: var(--white); background: var(--blue); }
.button.outline-light { border: 1px solid rgba(255,255,255,.35); }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; z-index: 1; }
.qr-grid a { padding: 11px; color: var(--graphite); text-align: center; background: var(--white); border-radius: 9px; }
.qr-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.qr-grid strong, .qr-grid span { display: block; }
.qr-grid strong { color: var(--navy); font-size: 9px; text-transform: uppercase; }
.qr-grid span { color: var(--muted); font-size: 8px; }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 25px; padding: 46px clamp(24px, 5vw, 76px); color: #AEB8C9; background: var(--deep-navy); font-size: 11px; }
footer .brand img { width: 205px; }
footer > p { text-align: center; }
footer > div { display: flex; justify-content: flex-end; gap: 18px; }

.article-main { padding-top: 1px; background: var(--soft-white); }
.breadcrumbs { width: min(1000px, calc(100% - 48px)); margin: 35px auto 0; display: flex; gap: 10px; color: var(--muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--blue); }
article { width: min(1000px, calc(100% - 48px)); margin: 0 auto; }
.article-hero { padding: 70px 0 54px; border-bottom: 2px solid var(--navy); }
.article-hero h1 { max-width: 930px; color: var(--navy); font-size: clamp(40px, 6vw, 72px); }
.article-hero > p { max-width: 760px; color: var(--muted); font-size: 18px; }
.short-answer { margin: 54px 0; padding: 42px 48px; color: var(--white); background: var(--navy); border-radius: 14px; border-left: 5px solid var(--blue); }
.short-answer > span { color: #9CB9FF; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.short-answer p { margin: 17px 0 24px; font-size: clamp(23px, 3vw, 35px); font-weight: 600; line-height: 1.42; }
.copy-answer { padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; color: var(--white); background: transparent; cursor: pointer; font-size: 11px; }
.copy-answer:hover { border-color: var(--blue); background: var(--blue); }
.answer-section { display: grid; grid-template-columns: 58px 1fr; gap: 30px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.answer-section > span { color: var(--blue); font-weight: 800; }
.answer-section h2 { margin: 0 0 14px; color: var(--navy); font-size: 31px; font-weight: 700; letter-spacing: -.025em; }
.answer-section p { margin: 0; color: #465064; font-size: 17px; }
.disclosure { margin: 50px 0; padding: 25px 30px; border-left: 4px solid var(--gold); background: #FFF9EA; }
.disclosure p { margin: 5px 0 0; }
.also-asked { padding: 60px 0; }
.also-asked > div { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.also-asked > div span { padding: 9px 13px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.related { padding: 35px 0 90px; }
.related > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related a { min-height: 180px; padding: 25px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.related a:hover { border-color: var(--blue); }
.related a span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.related a strong { margin-top: 12px; color: var(--navy); font-size: 19px; font-weight: 700; }
.related a i { margin-top: auto; color: var(--blue); font-style: normal; font-size: 20px; }
.article-main > .contact { width: auto; margin-left: clamp(24px, 4vw, 65px); margin-right: clamp(24px, 4vw, 65px); }

@media (max-width: 800px) {
  .site-header { min-height: 72px; padding: 0 18px; }
  .brand img { width: 172px; }
  .site-header nav { display: none; }
  .header-cta { padding: 10px 12px; font-size: 0; }
  .header-cta::after { content: 'Написать'; font-size: 11px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 62px 22px 84px; }
  .hero-aside { padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
  .hero-visual { width: min(430px, 100%); height: 335px; margin: 0 auto; }
  .search-wrap { width: calc(100% - 24px); padding: 25px 18px 22px; }
  .suggestions { left: 18px; right: 18px; top: 111px; }
  .search-box { height: 60px; }
  .search-box input { font-size: 14px; }
  .search-box kbd { display: none; }
  .category-strip { padding-left: 18px; padding-right: 18px; }
  .questions { padding-left: 18px; padding-right: 18px; }
  .question-card { grid-template-columns: 34px 1fr 20px; gap: 12px; }
  .question-card p { display: none; }
  .contact { grid-template-columns: 1fr; margin-left: 12px; margin-right: 12px; padding: 38px 24px; }
  footer { grid-template-columns: 1fr; }
  footer > p { text-align: left; }
  footer > div { justify-content: flex-start; flex-wrap: wrap; }
  .article-hero { padding-top: 45px; }
  .short-answer { padding: 30px 25px; }
  .answer-section { grid-template-columns: 36px 1fr; gap: 12px; }
  .answer-section h2 { font-size: 25px; }
  .answer-section p { font-size: 15px; }
  .related > div:last-child { grid-template-columns: 1fr; }
  .related a { min-height: 145px; }
  .breadcrumbs { overflow: hidden; white-space: nowrap; }
}

@media (max-width: 480px) {
  .brand img { width: 145px; }
  .hero h1 { font-size: 42px; }
  .hero-visual { height: 300px; transform: scale(.88); transform-origin: center; margin-top: -18px; margin-bottom: -20px; }
  .orbit-two { width: 350px; margin-left: -175px; }
  .visual-caption { grid-template-columns: 1fr; }
  .category-strip { padding-top: 52px; }
  .qr-grid a { padding: 6px; }
  .qr-grid span { display: none; }
  .contact-buttons .button { width: 100%; text-align: center; }
  .article-hero h1 { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  .visual-core, .core-halo, .core-card::before, .orbit, .orbit::after, .data-dot, .brand img, .brand::after { animation: none !important; }
  .brand::after { background-position: 50% 0; opacity: .42; }
}
