/* «Подбор дома» на странице проекта (02.12.2026) — вид как у блока #podbor на главной и на лендинге.
   Правила теста перенесены из home-client.css и ограничены обёрткой .eb-pk. */
.eb-pk{--navy:#24364f;--ink2:#617083;--line:#dbe5ea;--bg:#edf4f7;--teal:#0ea498;--teal-d:#0b8a80;--teal-l:#e2f5f3;padding:24px 0 72px;font-family:Golos,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--navy)}
.eb-pk *,.eb-pk *::before,.eb-pk *::after{box-sizing:border-box}
.eb-pk :is(h2,h3,p,a,button,b,small,span,strong,em,li,div){font-family:inherit}
.eb-pk-wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.eb-pk .pk-band{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 470px;gap:56px;align-items:center;padding:56px;border-radius:30px;background:#152234;color:#fff}
.eb-pk .pk-band::after{content:"";position:absolute;left:-140px;bottom:-180px;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(14,164,152,.38),transparent 70%);pointer-events:none}
.eb-pk .pk-intro{position:relative;z-index:1;min-width:0}
.eb-pk .pk-lbl{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5fe3d2;display:flex;align-items:center;gap:10px;margin-bottom:18px}
.eb-pk .pk-lbl::before{content:"";width:28px;height:2px;background:currentColor}
.eb-pk .pk-intro h2{font-size:clamp(32px,4.2vw,58px);font-weight:800;letter-spacing:-.035em;line-height:1.02;text-wrap:balance;color:#fff;margin:0 0 16px;padding:0;text-transform:none}
.eb-pk .pk-intro h2::before,.eb-pk .pk-intro h2::after{display:none!important;content:none!important}
.eb-pk .pk-intro h2 em{font-style:normal;color:#5fe3d2}
.eb-pk .pk-intro p{color:#c9d5e1;font-size:16.5px;line-height:1.5;max-width:460px;margin:0}
.eb-pk .pk-steps{list-style:none;display:flex;gap:10px;flex-wrap:wrap;margin:26px 0 0;padding:0}
.eb-pk .pk-steps li{list-style:none;display:flex;align-items:center;gap:9px;margin:0;padding:8px 14px 8px 8px;border-radius:99px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);font-size:14px;font-weight:600;color:#e4ecf3}
.eb-pk .pk-steps li::before,.eb-pk .pk-steps li::marker{content:none!important;display:none}
.eb-pk .pk-steps b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--teal);color:#fff;font-size:12.5px}

/* тест */
.eb-pk .quiz{position:relative;z-index:1;min-width:0;background:#fff;color:var(--navy);border-radius:24px;padding:26px;box-shadow:0 30px 60px -28px rgba(0,0,0,.55);overflow:hidden}
.eb-pk .qz-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--ink2);font-weight:600;margin-bottom:10px}
.eb-pk .qz-bar{height:5px;background:var(--bg);border-radius:5px;overflow:hidden;margin-bottom:20px}
.eb-pk .qz-bar i{display:block;height:100%;background:var(--teal);transition:width .35s}
.eb-pk .quiz h3{font-size:21px;font-weight:700;line-height:1.25;margin:0 0 16px;color:var(--navy);outline:0}
.eb-pk .opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.eb-pk .opt{min-height:52px;height:auto;line-height:1.35;border:1.5px solid var(--line);background:#fff;border-radius:14px;padding:13px 15px;text-align:left;cursor:pointer;font-weight:700;font-size:15px;color:var(--navy);transition:border-color .15s,background .15s,transform .15s}
.eb-pk .opt small{display:block;font-weight:500;color:var(--ink2);font-size:12px;margin-top:2px}
.eb-pk .opt:hover{border-color:var(--teal);background:var(--teal-l)}
@media (hover:hover){.eb-pk .opt:hover{transform:translateY(-2px)}}
.eb-pk .opt:focus-visible,.eb-pk :focus-visible{outline:3px solid #00867b;outline-offset:3px}
.eb-pk .qz-f{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:13px;color:var(--ink2)}
.eb-pk .qz-f button{border:0;background:none;color:var(--ink2);font-weight:600;cursor:pointer;font-size:13px;padding:0}
.eb-pk .qz-count{display:none}
.eb-pk .quiz[data-step="0"] :is(.qz-top,.qz-bar,.opt small,.qz-minute){display:none}
.eb-pk .quiz[data-step="0"] h3{font-size:20px;margin:0 0 14px}
.eb-pk .quiz[data-step="0"] .qz-f{justify-content:flex-start;gap:5px;margin-top:12px;font-size:12.5px}
.eb-pk .quiz[data-step="0"] .qz-count{display:inline}
.eb-pk .quiz[data-step="0"] .qz-count::after{content:" ·"}
.eb-pk .qz-res .est{background:var(--bg);border-radius:12px;padding:16px;margin-bottom:14px}
.eb-pk .qz-res .est small{display:block;color:var(--ink2);font-size:13px;font-weight:600}
.eb-pk .qz-res .est b{display:block;font-size:clamp(18px,2vw,27px);font-weight:800;letter-spacing:-.02em}
.eb-pk .qz-res .match{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.eb-pk .qz-res .match a{min-width:0;font-size:12px;font-weight:600;color:var(--ink2);text-decoration:none}
.eb-pk .qz-res .match img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px;margin-bottom:4px;background:var(--bg)}
.eb-pk .match-copy,.eb-pk .match-details{display:block}
.eb-pk .match-copy strong{color:var(--navy)}
.eb-pk .match-details{margin:4px 0;color:#47586a;font-size:12px;font-weight:400;line-height:1.4;overflow-wrap:break-word}
.eb-pk .match a small{display:block}
.eb-pk .btn{display:flex;align-items:center;justify-content:center;width:100%;border:0;cursor:pointer;font-weight:700;font-size:15px;line-height:1.35;padding:14px 20px;border-radius:12px;background:var(--teal);color:#fff;text-decoration:none;transition:background .15s}
.eb-pk .btn:hover{background:var(--teal-d);color:#fff}
.eb-pk .support{font-size:14px;color:#536774;margin:12px 0}
.eb-pk .quiz p{font-size:14px;line-height:1.45;margin:0 0 10px}
.eb-pk .picker-help{background:none;border:0;color:#08776e;cursor:pointer;font-size:14px;text-align:left;margin-top:14px;padding:2px 0}

@media (prefers-reduced-motion:reduce){.eb-pk .opt{transition:none}}
@media (max-width:1100px){.eb-pk .pk-band{grid-template-columns:minmax(0,1fr);gap:32px}.eb-pk .quiz{max-width:560px}}
@media (max-width:720px){
  .eb-pk{padding:8px 0 48px}
  .eb-pk-wrap{padding:0 16px}
  .eb-pk .pk-band{padding:28px 20px;border-radius:24px;gap:24px}
  .eb-pk .pk-intro p{font-size:15px}
  .eb-pk .pk-steps{display:none}
  .eb-pk .quiz{padding:18px;border-radius:20px}
  .eb-pk .opt{padding:12px;font-size:14px}
}
