/* UI тестов Ayur-Coach */
.test-wrap{max-width:720px;margin:0 auto}
#test{display:none}
.t-progress{height:4px;background:var(--line);border-radius:4px;overflow:hidden;margin-bottom:14px}
.t-bar{height:100%;background:linear-gradient(90deg,var(--gold-2),var(--gold));transition:width .3s}
.t-count{font-size:.78rem;color:var(--muted);letter-spacing:.12em;text-transform:uppercase;margin-bottom:10px}
.t-q{font-size:clamp(1.3rem,2.4vw,1.7rem);margin-bottom:22px}
.t-opts{display:flex;flex-direction:column;gap:12px}
.t-opt{text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 20px;font-family:'Inter',sans-serif;font-size:1rem;color:#3c463f;cursor:pointer;transition:.2s}
.t-opt:hover{border-color:var(--gold);transform:translateY(-1px);box-shadow:0 10px 24px -14px rgba(31,61,43,.35)}
.t-back{margin-top:18px;background:none;border:none;color:var(--muted);cursor:pointer;font-family:'Inter',sans-serif;font-size:.9rem}
.t-back:hover{color:var(--gold)}
.t-bars{max-width:520px;margin:26px auto}
.t-bar-row{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.t-bar-label{flex:0 0 70px;font-weight:600;color:var(--green)}
.t-bar-track{flex:1;height:10px;background:var(--cream-2);border-radius:10px;overflow:hidden}
.t-bar-fill{height:100%;background:linear-gradient(90deg,var(--green-soft),var(--green));border-radius:10px}
.t-bar-val{flex:0 0 46px;text-align:right;font-size:.9rem;color:var(--muted)}
.t-verdict{max-width:640px;margin:20px auto;font-size:1.05rem;color:#3c463f;line-height:1.7}
.t-verdict p{margin-bottom:10px}
.t-cta{max-width:640px;margin:34px auto 0;background:linear-gradient(135deg,var(--green-2),var(--green));color:#eef4ee;border-radius:var(--radius);padding:30px;text-align:center}
.t-cta h3{color:#fff;margin-bottom:8px}
.t-cta p{color:#d3e2d7;margin-bottom:18px}
.t-note{margin-top:14px;font-size:.85rem;color:#bcd0c1}
.t-note a{color:var(--gold-2)}
.tests-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;margin-top:40px}
.test-card{grid-column:span 6;background:var(--card);border:1px solid var(--sage-deep);border-radius:2px;padding:30px;box-shadow:none;display:flex;flex-direction:column;transition:background-color .22s ease,border-color .22s ease,color .22s ease}
.test-card h3{margin:8px 0}
.test-card .meta{font-size:.8rem;color:var(--muted);margin-bottom:10px}
.test-card p{color:var(--ink-soft);flex:1;margin-bottom:22px}
.test-card .btn{align-self:flex-start;min-width:172px;justify-content:center;background:transparent;border-color:var(--sage-deep);color:var(--sage-dark);box-shadow:none}
.test-card:hover,.test-card:focus-within{background:var(--sage-deep);border-color:var(--sage-deep)}
.test-card:hover h3,.test-card:hover p,.test-card:focus-within h3,.test-card:focus-within p{color:#fff}
.test-card:hover .meta,.test-card:focus-within .meta{color:rgba(255,255,255,.78)}
.test-card:hover .btn,.test-card:focus-within .btn{background:#fff;border-color:#fff;color:var(--sage-dark)}
.tc-ic{width:60px;height:60px;border-radius:50%;background:rgba(193,154,75,.12);display:flex;align-items:center;justify-content:center;color:var(--gold);margin-bottom:6px}
.tc-ic svg{width:28px;height:28px}
/* карточки трёх дош */
.dosha-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:42px}
.dosha-card{border-radius:var(--radius);padding:30px 26px;color:#fff;position:relative;overflow:hidden}
.dosha-card.vata{background:linear-gradient(160deg,#6faccb,#3f7699)}
.dosha-card.pitta{background:linear-gradient(160deg,#66a855,#3f7a33)}
.dosha-card.kapha{background:linear-gradient(160deg,#e59a49,#c2762a)}
.dc-ic{width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;color:#fff;margin-bottom:12px}
.dc-ic svg{width:26px;height:26px}
.dosha-card h3{color:#fff;font-size:1.6rem;margin-bottom:2px}
.dosha-card .dc-meta{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.75);margin-bottom:14px}
.dosha-card .dc-meta b{color:var(--gold-2);font-weight:600}
.dosha-card p{color:rgba(255,255,255,.88);font-size:.94rem;line-height:1.6;margin-bottom:10px}
.dosha-card p b{color:var(--gold-2)}
@media(max-width:900px){.tests-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.test-card{grid-column:auto}.dosha-cards{grid-template-columns:1fr}}
@media(max-width:620px){.tests-grid{grid-template-columns:1fr}.test-card{padding:26px}.test-card .btn{width:100%}}
