/* ==========================================================================
   Финальный блок «Есть результаты анализов?» — тёмная иммерсивная панель:
   «северное сияние», стеклянные карточки, живая визуализация расшифровки,
   рисуется в HTML/CSS (без картинки). Отдельный файл, разметка — service/landing.twig.
   ========================================================================== */

.analizy-cta { width: min(1180px, calc(100% - 40px)); margin: 56px auto 40px; }
@media (min-width: 1400px) { .analizy-cta { width: min(1560px, calc(100% - 80px)); } }

.analizy-cta__panel {
	position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: 30px;
	min-height: 540px; padding: clamp(40px, 4.6vw, 80px); overflow: hidden; border-radius: 28px; color: #fff;
	background: linear-gradient(135deg, #07133a 0%, #0a1f5c 55%, #10256b 100%);
	box-shadow: 0 50px 90px -40px rgba(7, 19, 58, .8), inset 0 0 0 1px rgba(140, 170, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .14);
}

/* сетка-«чертёж» с плавным затуханием */
.analizy-cta__panel::before { content: ''; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(150, 180, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 180, 255, .07) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(80% 90% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(80% 90% at 70% 40%, #000, transparent 75%); }

/* «северное сияние» */
.analizy-cta__aurora { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.analizy-cta__aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: acta-drift 14s ease-in-out infinite alternate; }
.analizy-cta__aurora i:nth-child(1) { width: 560px; height: 560px; right: -120px; top: -180px; background: #1c6dff; }
.analizy-cta__aurora i:nth-child(2) { width: 460px; height: 460px; left: -140px; bottom: -200px; background: #7c5cff; opacity: .55; animation-duration: 18s; animation-delay: -6s; }
.analizy-cta__aurora i:nth-child(3) { width: 320px; height: 320px; right: 26%; bottom: -150px; background: #22d3ee; opacity: .35; animation-duration: 16s; animation-delay: -3s; }
@keyframes acta-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-50px, 40px) scale(1.18); } }

/* ---------- Текст ---------- */
.analizy-cta__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #9fc2ff; font: 600 12px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.analizy-cta__eyebrow::before { content: ''; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #5ab0ff, #8f8bff); }
.analizy-cta__eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #39e0a0; box-shadow: 0 0 0 4px rgba(57, 224, 160, .22); animation: acta-pulse 2s ease-in-out infinite; order: 2; }
@keyframes acta-pulse { 50% { box-shadow: 0 0 0 8px rgba(57, 224, 160, 0); } }

.analizy-cta h2 { margin: 0; color: #fff; font: 900 clamp(38px, 3.7vw, 60px)/1 Inter, sans-serif; letter-spacing: -.06em; }
.analizy-cta h2 em { display: block; font-style: normal; background: linear-gradient(100deg, #5ab0ff 0%, #8f8bff 55%, #c48bff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.analizy-cta__copy > p { max-width: 560px; margin: 24px 0 32px; color: rgba(214, 226, 255, .82); font: 400 clamp(17px, 1.3vw, 21px)/1.45 Inter, sans-serif; letter-spacing: -.02em; }

.analizy-cta__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
/* явные цвета для всех состояний — в теме есть глобальные a:hover */
.analizy-cta .analizy-cta__btn { position: relative; display: inline-flex; align-items: center; gap: 18px; padding: 10px 10px 10px 30px; overflow: hidden; isolation: isolate; border-radius: 18px; color: #0a1a4a; background: #fff; box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .6); font: 600 clamp(16px, 1.15vw, 19px)/1.1 Inter, sans-serif; letter-spacing: -.02em; text-decoration: none; transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease; }
.analizy-cta .analizy-cta__btn::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(8, 116, 249, .18), transparent); transform: skewX(-20deg); transition: left .8s cubic-bezier(.22, 1, .36, 1); }
.analizy-cta .analizy-cta__btn:hover, .analizy-cta .analizy-cta__btn:focus, .analizy-cta .analizy-cta__btn:active { color: #0a1a4a; background: #fff; text-decoration: none; transform: translateY(-3px); box-shadow: 0 28px 48px -16px rgba(0, 0, 0, .65), 0 0 0 1px #fff, 0 0 0 6px rgba(120, 160, 255, .25); }
.analizy-cta .analizy-cta__btn:hover::after { left: 120%; }
.analizy-cta__btn b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #0d7bff, #7c5cff); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.analizy-cta__btn:hover b { transform: translateX(3px) rotate(-8deg) scale(1.05); }
.analizy-cta__note { color: rgba(200, 216, 255, .75); font: 500 14px/1.3 Inter, sans-serif; }

.analizy-cta__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.analizy-cta__chips li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; color: #dbe7ff; background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 14px/1.1 Inter, sans-serif; letter-spacing: -.01em; transition: background-color .25s ease, transform .25s ease; }
.analizy-cta__chips li:hover { background: rgba(255, 255, 255, .13); transform: translateY(-2px); }
.analizy-cta__chips i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #8fc1ff; background: rgba(120, 160, 255, .18); }
.analizy-cta__chips svg { width: 18px; height: 18px; }

/* ==========================================================================
   Визуализация: «бланк» + карточка расшифровки
   ========================================================================== */
.analizy-cta__visual { position: relative; height: 420px; perspective: 1200px; }

.acv-doc { position: absolute; left: 0; top: 18px; width: 66%; height: 340px; padding: 22px 22px 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .24); border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .07)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .3); transform: rotate(-6deg); animation: acta-float-a 7s ease-in-out infinite; }
.acv-doc__head { display: grid; gap: 8px; margin-bottom: 18px; }
.acv-doc__head i { display: block; height: 11px; border-radius: 6px; background: rgba(255, 255, 255, .28); }
.acv-doc__head i:first-child { width: 58%; height: 15px; background: rgba(120, 175, 255, .55); }
.acv-doc__head i:last-child { width: 34%; }
.acv-doc__rows { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.acv-doc__rows li { display: grid; grid-template-columns: 1.4fr .7fr .8fr; gap: 14px; }
.acv-doc__rows i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .22); }
.acv-doc__rows i:nth-child(2) { width: 70%; background: rgba(255, 255, 255, .16); }
.acv-doc__rows i.bad { background: rgba(255, 110, 130, .75); }
.acv-doc__rows i.ok { background: rgba(70, 225, 160, .7); }
.acv-doc__laser { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(80, 200, 255, .22) 72%, rgba(80, 160, 255, .5)); border-bottom: 2px solid #5fdcff; box-shadow: 0 8px 28px rgba(80, 210, 255, .75); animation: acta-scan 3.6s cubic-bezier(.45, .05, .55, .95) infinite; }
@keyframes acta-scan { 0% { transform: translateY(-70px); } 100% { transform: translateY(380px); } }

.acv-result { position: absolute; right: 0; bottom: 6px; width: 68%; padding: 18px 18px 16px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 26px; color: #0a1a4a; background: rgba(255, 255, 255, .94); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .75), 0 0 0 6px rgba(255, 255, 255, .08); transform: rotate(3deg); animation: acta-float-b 6s ease-in-out infinite; }
.acv-result__title { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; color: #0874f9; font: 700 15px/1 Inter, sans-serif; letter-spacing: -.02em; }
.acv-result__title svg { animation: acta-twinkle 2.4s ease-in-out infinite; }
.acv-result__title span { color: #0a1a4a; }
.acv-result__title em { margin-left: auto; padding: 4px 10px; border-radius: 999px; color: #0a8f58; background: #e3f8ee; font: 700 11.5px/1 Inter, sans-serif; font-style: normal; letter-spacing: .02em; }
@keyframes acta-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(18deg); } }

.acv-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 11px 12px; border-radius: 16px; background: #f4f8ff; opacity: 0; transform: translateX(18px); animation: acta-row-in .7s cubic-bezier(.22, 1, .36, 1) forwards; }
.acv-row:nth-of-type(2) { animation-delay: .4s; } .acv-row:nth-of-type(3) { animation-delay: .65s; } .acv-row:nth-of-type(4) { animation-delay: .9s; }
@keyframes acta-row-in { to { opacity: 1; transform: none; } }
.acv-row > svg { margin-left: auto; color: #9aa8cb; flex: 0 0 auto; }
.acv-row__ico { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; color: #fff; font: 800 15px/1 Inter, sans-serif; }
.acv-row--bad .acv-row__ico { background: linear-gradient(135deg, #ff6b81, #e5344f); box-shadow: 0 6px 14px -4px rgba(229, 52, 79, .6); animation: acta-alert 2.4s ease-in-out infinite; }
.acv-row--ok .acv-row__ico { background: linear-gradient(135deg, #2bd17e, #0aa35e); box-shadow: 0 6px 14px -4px rgba(10, 163, 94, .55); }
@keyframes acta-alert { 0%, 100% { box-shadow: 0 6px 14px -4px rgba(229, 52, 79, .6), 0 0 0 0 rgba(229, 52, 79, .4); } 50% { box-shadow: 0 6px 14px -4px rgba(229, 52, 79, .6), 0 0 0 8px rgba(229, 52, 79, 0); } }
.acv-row__txt { display: grid; gap: 3px; min-width: 0; }
.acv-row__txt b { color: #0a1a4a; font: 700 14.5px/1.1 Inter, sans-serif; letter-spacing: -.02em; }
.acv-row__txt small { color: #7180ac; font: 500 12.5px/1.1 Inter, sans-serif; }
.acv-row--bad .acv-row__txt small { color: #d6334c; }
.acv-row--ok .acv-row__txt small { color: #0a8f58; }

.acv-badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); font: 600 13px/1 Inter, sans-serif; white-space: nowrap; }
.acv-badge i { width: 8px; height: 8px; border-radius: 50%; background: #ffd24a; box-shadow: 0 0 10px #ffd24a; }
.acv-badge--a { right: 4%; top: 0; animation: acta-float-b 5s ease-in-out infinite -1s; }
.acv-badge--b { left: 3%; bottom: 18px; animation: acta-float-a 6s ease-in-out infinite -2s; }

@keyframes acta-float-a { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-12px); } }
@keyframes acta-float-b { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(2deg) translateY(10px); } }
.acv-badge--a, .acv-badge--b { transform: none; }
.acv-badge--a { animation-name: acta-bob; } .acv-badge--b { animation-name: acta-bob; }
@keyframes acta-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Планшет / телефон ---------- */
@media (max-width: 991px) {
	.analizy-cta { width: auto; margin: 28px 16px 32px; }
	.analizy-cta__panel { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding: 34px 22px 30px; border-radius: 24px; }
	.analizy-cta h2 { font-size: clamp(36px, 9vw, 52px); }
	.analizy-cta__copy > p { margin: 18px 0 24px; font-size: 16px; }
	.analizy-cta .analizy-cta__btn { width: 100%; justify-content: space-between; padding-left: 22px; }
	.analizy-cta__note { width: 100%; text-align: center; }
	.analizy-cta__chips { margin-top: 24px; }
	.analizy-cta__visual { height: 340px; }
	.acv-doc { height: 280px; width: 70%; }
	.acv-result { width: 74%; }
	.acv-doc__rows { gap: 9px; }
}
@media (max-width: 480px) {
	.analizy-cta__visual { height: 320px; }
	.acv-badge--b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.analizy-cta__aurora i, .analizy-cta__eyebrow i, .acv-doc, .acv-doc__laser, .acv-result, .acv-result__title svg, .acv-row--bad .acv-row__ico, .acv-badge { animation: none !important; }
	.acv-row { opacity: 1; transform: none; animation: none; }
}
.analizy-cta__eyebrow { font: 600 15px/1.25 Inter, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; gap: 0 !important; }
.analizy-cta__eyebrow i { display: none !important; }
