/* ═══ TESTS PAGE ═══ */
.test-page { padding-top: 68px; }
.test-hero { background: linear-gradient(135deg, #0e1b3d, #1a3060); padding: 80px 24px 60px; text-align: center; position: relative; overflow: hidden; }
.test-hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 40px; background: linear-gradient(to top, #f7f5f1, transparent); pointer-events: none; }
.test-hero-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.test-cat-badge { display: inline-block; padding: 5px 14px; border-radius: 100px; background: rgba(232,119,26,.1); border: 1px solid rgba(232,119,26,.2); color: #e8771a; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.test-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 12px; }
.test-desc { font-size: .9rem; color: rgba(255,255,255,.55); max-width: 480px; margin: 0 auto 12px; line-height: 1.7; }
.test-meta { font-size: .72rem; color: rgba(255,255,255,.35); font-weight: 600; }

.test-container { max-width: 720px; margin: 0 auto; padding: 48px 24px; }
.test-intro { margin-bottom: 40px; }
.test-intro p { font-size: .92rem; color: #55536a; line-height: 1.8; margin-bottom: 16px; }

.test-question { display: none; animation: testFade .3s cubic-bezier(.16,1,.3,1); }
.test-question.active { display: block; }
@keyframes testFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.test-q-number { font-size: .68rem; font-weight: 700; color: #e8771a; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.test-q-text { font-size: 1.1rem; font-weight: 700; color: #1e1e2a; line-height: 1.4; margin-bottom: 24px; }
.test-options { display: flex; flex-direction: column; gap: 10px; }
.test-option { padding: 16px 20px; border-radius: 12px; background: #f7f5f1; border: 1.5px solid rgba(0,0,0,.06); font-size: .88rem; font-weight: 500; color: #1e1e2a; cursor: pointer; transition: all .25s cubic-bezier(.16,1,.3,1); text-align: left; font-family: 'Sora', system-ui, sans-serif; }
.test-option:hover { background: rgba(232,119,26,.06); border-color: rgba(232,119,26,.2); }
.test-option.selected { background: rgba(232,119,26,.1); border-color: #e8771a; color: #e8771a; font-weight: 600; }

.test-progress { height: 3px; background: rgba(0,0,0,.06); border-radius: 3px; margin-bottom: 32px; overflow: hidden; }
.test-progress-fill { height: 100%; background: linear-gradient(90deg, #e8771a, #e0592e); border-radius: 3px; transition: width .4s cubic-bezier(.16,1,.3,1); }

.test-result { text-align: center; padding: 48px 24px; animation: testFade .5s cubic-bezier(.16,1,.3,1); }
.test-result-badge { display: inline-block; padding: 6px 18px; border-radius: 100px; background: linear-gradient(135deg, #e8771a, #e0592e); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.test-result h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: #0e1b3d; letter-spacing: -.03em; margin-bottom: 16px; }
.test-result p { font-size: .92rem; color: #55536a; line-height: 1.8; max-width: 560px; margin: 0 auto; }

.tests-hero { text-align: center; padding: 20px 0 48px; }
.tests-hero h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #0e1b3d; letter-spacing: -.04em; margin-bottom: 12px; line-height: 1.1; }
.tests-hero h2 em { font-style: normal; background: linear-gradient(135deg, #e8771a, #e0592e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tests-hero p { font-size: .9rem; color: #55536a; max-width: 520px; margin: 0 auto; line-height: 1.7; }

.test-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.test-card { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,.06); transition: all .5s cubic-bezier(.16,1,.3,1); }
.test-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(14,27,61,.1); }
.test-card-body { padding: 24px; }
.test-card-cat { font-size: .62rem; font-weight: 700; color: #e8771a; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.test-card-title { font-size: 1.05rem; font-weight: 700; color: #0e1b3d; margin-bottom: 8px; line-height: 1.3; }
.test-card-desc { font-size: .82rem; color: #55536a; line-height: 1.6; margin-bottom: 12px; }
.test-card a { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #e8771a; text-decoration: none; transition: gap .25s; }
.test-card a:hover { gap: 10px; }

.test-footer { padding: 40px 24px; text-align: center; }
.test-footer a { color: #908e9e; font-size: .76rem; font-weight: 600; text-decoration: none; transition: all .3s; }
.test-footer a:hover { color: #e8771a; }

@media(max-width: 520px) {
  .test-hero { padding: 60px 20px 40px; }
  .test-container { padding: 32px 20px; }
}
