/* ==========================================================================
   Тарифы сервиса «Расшифровка анализов» в стиле каталога анализов.
   Три карточки; «Старт» — акцентная (градиент, приподнята). Отдельный файл,
   разметка — service/landing.twig. Заголовок секции переиспользует
   .analizy-catalog-section__intro каталога.
   ========================================================================== */

.analizy-plans-section { position: relative; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 48px; }
@media (min-width: 1400px) { .analizy-plans-section { width: min(1560px, calc(100% - 80px)); } }

.apl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; padding-top: 14px; }

/* ---------- Карточка ---------- */
.apl-card {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 28px; overflow: hidden; isolation: isolate;
	border: 1px solid rgba(255, 255, 255, .9); border-radius: 26px; color: #08163b; background: #fff;
	box-shadow: 0 13px 26px rgba(42, 79, 142, .06), inset 0 1px 0 #fff; transition: transform .25s ease, box-shadow .25s ease;
}
.apl-card:hover { transform: translateY(-4px); box-shadow: 0 19px 34px rgba(42, 79, 142, .13), inset 0 1px 0 #fff; }
.apl-card::before { content: ''; position: absolute; z-index: -1; right: -80px; top: -90px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(225, 239, 255, .95), rgba(231, 242, 255, .3) 58%, transparent 74%); transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.apl-card:hover::before { transform: scale(1.25); }

.apl-ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 17px; color: #0874f9; background: #eaf2ff; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, color .2s ease, box-shadow .3s ease; }
.apl-ico svg { width: 27px; height: 27px; }
.apl-card:hover .apl-ico { transform: scale(1.08) rotate(-5deg); color: #fff; background: linear-gradient(135deg, #0874f9, #7c5cff); box-shadow: 0 14px 26px -10px rgba(8, 116, 249, .7); }

.apl-card h3 { margin: 0; color: #08163b; font: 700 24px/1.2 Inter, sans-serif; letter-spacing: -.05em; }
.apl-card > p { min-height: 42px; margin: 0; color: #7482ad; font: 400 15px/1.4 Inter, sans-serif; letter-spacing: -.015em; }

.apl-price { margin: 10px 0 6px; color: #08163b; font: 900 44px/1 Inter, sans-serif; letter-spacing: -.06em; }
.apl-price small { margin-left: 4px; color: #7482ad; font: 500 16px/1 Inter, sans-serif; letter-spacing: -.02em; }

/* кнопка: цвета заданы явно во всех состояниях (в теме есть глобальный a:hover) */
.apl-card .apl-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; padding: 15px 18px 15px 22px; border: 1px solid rgba(8, 116, 249, .28); border-radius: 16px; color: #0874f9; background: #fff; font: 600 16px/1 Inter, sans-serif; letter-spacing: -.02em; text-decoration: none; transition: color .2s ease, background .25s ease, border-color .2s ease, box-shadow .3s ease, transform .25s cubic-bezier(.22, 1, .36, 1); }
.apl-card .apl-cta svg { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.apl-card .apl-cta:hover, .apl-card .apl-cta:focus, .apl-card .apl-cta:active { color: #fff; background: linear-gradient(100deg, #0874f9, #7c5cff); border-color: transparent; text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(8, 116, 249, .7); }
.apl-card .apl-cta:hover svg { transform: translateX(4px); }

.apl-list { display: grid; gap: 11px; margin: 0; padding: 18px 0 0; border-top: 1px solid #e9f0fb; list-style: none; }
.apl-list li { display: flex; align-items: flex-start; gap: 11px; margin: 0; color: #2a3a66; font: 500 14.5px/1.35 Inter, sans-serif; letter-spacing: -.01em; }
.apl-list li svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: -1px; padding: 4px; box-sizing: border-box; border-radius: 50%; color: #0874f9; background: #eaf2ff; }
.apl-list li.muted { color: #9aa6c6; }
.apl-list li.muted svg { color: #a9b5d3; background: #f1f4fa; }

/* ---------- Акцентная карточка «Старт» ---------- */
.apl-card--featured { margin-top: -14px; padding-top: 44px; border-color: rgba(120, 160, 255, .3); color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(124, 92, 255, .55), transparent 60%), radial-gradient(100% 80% at 0% 100%, rgba(34, 211, 238, .25), transparent 60%), linear-gradient(150deg, #0d7bff 0%, #0a4fd6 55%, #2f3fe0 100%); box-shadow: 0 40px 70px -34px rgba(10, 79, 214, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.apl-card--featured::before { display: none; }
.apl-card--featured:hover { box-shadow: 0 50px 80px -34px rgba(10, 79, 214, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.apl-card--featured h3, .apl-card--featured .apl-price { color: #fff; }
.apl-card--featured > p, .apl-card--featured .apl-price small { color: rgba(225, 236, 255, .85); }
.apl-card--featured .apl-ico { color: #fff; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.apl-card--featured:hover .apl-ico { background: rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.apl-card--featured .apl-cta, .apl-card--featured .apl-cta:hover, .apl-card--featured .apl-cta:focus, .apl-card--featured .apl-cta:active { color: #0a3fb0; background: #fff; border-color: #fff; }
.apl-card--featured .apl-cta { box-shadow: 0 16px 30px -14px rgba(0, 0, 40, .6); }
.apl-card--featured .apl-cta:hover { box-shadow: 0 20px 36px -14px rgba(0, 0, 40, .75), 0 0 0 5px rgba(255, 255, 255, .2); }
.apl-card--featured .apl-list { border-top-color: rgba(255, 255, 255, .22); }
.apl-card--featured .apl-list li { color: #fff; }
.apl-card--featured .apl-list li svg { color: #fff; background: rgba(255, 255, 255, .2); }

.apl-badge { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 12px/1 Inter, sans-serif; }
.apl-badge i { width: 7px; height: 7px; border-radius: 50%; background: #ffd24a; box-shadow: 0 0 10px #ffd24a; animation: apl-pulse 2.2s ease-in-out infinite; }
@keyframes apl-pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 210, 74, 0); } }

/* ---------- Примечания ---------- */
.apl-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 28px; }
.apl-notes span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid rgba(8, 116, 249, .14); border-radius: 14px; color: #5d6b96; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 13.5px/1.35 Inter, sans-serif; }
.apl-notes i { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; color: #0874f9; background: #eaf2ff; }

/* ---------- Планшет / телефон ---------- */
@media (max-width: 991px) {
	.analizy-plans-section { width: auto; padding: 48px 16px 40px; background: #f8fbff; }
	.apl-grid { grid-template-columns: 1fr; gap: 14px; padding-top: 0; }
	.apl-card { padding: 24px 22px; border-radius: 20px; }
	.apl-card--featured { order: -1; margin-top: 0; padding-top: 50px; }
	.apl-card > p { min-height: 0; }
	.apl-price { font-size: 38px; }
	.apl-notes span { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.apl-card, .apl-card::before, .apl-ico, .apl-cta, .apl-cta svg, .apl-badge i { transition: none; animation: none; }
}
