/* 2026-10-14 (третья итерация): кликабельная шапка карточки, счётчик отзывов, поиск с подсказками, скриншоты, лайтбокс, фото блока консультации */
.company-card .card-link{display:flex;align-items:center;gap:16px;margin:-10px -10px 8px;padding:10px;border-radius:14px;color:inherit;text-decoration:none;cursor:pointer;transition:background-color .15s;-webkit-tap-highlight-color:rgba(0,80,227,.12)}
.company-card .card-link:hover{background:#f2f6fe}.company-card .card-link:hover h2,.company-card .card-link:hover h3{color:var(--blue)}
.company-card .card-link:focus-visible{outline:3px solid #192f50;outline-offset:2px}
.company-card .card-link:active{background:#e8effd}
.card-badges{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:18px}.company-card .card-badges .status{margin-top:0}
.count-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:6px;background:#e6eeff;color:#0b3fa8;font-size:12px;font-weight:650;line-height:1.35;white-space:nowrap}
.count-badge.is-zero{background:#f4f6fa;color:#5b6470;font-weight:500;border:1px solid #e4e9f1;padding:4px 9px}
.status.is-verified{gap:5px;align-items:center;background:#e4f5e9;color:#17602f;font-weight:600}
.company-meta .count-badge,.review-meta .count-badge{font-size:13px}
/* поиск */
.search-form{position:relative}
.search-suggest{position:absolute;z-index:30;left:0;right:0;max-width:580px;margin-top:8px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:6px;box-shadow:0 12px 32px #12274622;max-height:min(420px,70vh);overflow:auto}
.search-suggest .sugg{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:9px;color:var(--ink);text-decoration:none;min-height:52px}
.search-suggest .sugg:hover,.search-suggest .sugg[aria-selected="true"]{background:#eef3fe}
.search-suggest .sugg img,.sugg-mono{width:34px;height:34px;flex-shrink:0;border-radius:8px;object-fit:contain;background:var(--pale);padding:4px}
.sugg-mono{display:grid;place-items:center;color:var(--blue);font-weight:700;font-size:13px;padding:0}
.sugg-name{display:flex;flex-direction:column;min-width:0;flex:1;font-weight:600;line-height:1.25}.sugg-name small{font-weight:400;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sugg .count-badge{margin-left:auto;flex-shrink:0}
.sugg-head{font-size:13px;font-weight:600;color:var(--muted);padding:8px 10px 4px}
.sugg-note{font-size:14px;color:#3f4b5d;padding:10px 10px 6px}.sugg-consult{margin:4px 10px 10px;min-height:42px;padding:9px 16px}
/* скриншот сайта и публикации */
.site-shot{margin:26px 0 4px;max-width:720px}
.shot-thumb{position:relative;display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#f4f7fc;cursor:zoom-in;font:inherit;color:inherit;text-align:left}
.shot-thumb img{display:block;width:100%;height:auto}
.shot-thumb:hover{border-color:#b9c8e3}.shot-thumb:focus-visible{outline:3px solid #192f50;outline-offset:3px}
.shot-zoom{position:absolute;right:10px;bottom:10px;background:rgba(13,16,18,.74);color:#fff;font-size:12px;font-weight:600;padding:5px 9px;border-radius:6px;pointer-events:none}
.site-shot figcaption{font-size:13px;color:var(--muted);margin-top:8px}
.tg-thumb{max-height:240px;margin-top:2px}.tg-thumb img{object-fit:cover;object-position:top}
.tg-thumb:after{content:'';position:absolute;left:0;right:0;bottom:0;height:56px;background:linear-gradient(transparent,rgba(244,247,252,.95));pointer-events:none}
.tg-thumb .shot-zoom{z-index:1}
/* лайтбокс */
.lightbox{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;padding:0;border:0;background:rgba(10,12,16,.94);color:#fff}
.lightbox::backdrop{background:rgba(0,0,0,.6)}
.lb-scroll{height:100%;overflow:auto;display:flex;align-items:flex-start;justify-content:center;padding:64px 12px 24px;overscroll-behavior:contain}
.lb-img{display:block;max-width:100%;width:auto;height:auto;margin:auto;border-radius:8px;background:#fff}
.lb-img.is-wide{max-height:calc(100dvh - 96px);object-fit:contain}
.lb-close{position:fixed;top:12px;right:12px;width:48px;height:48px;border-radius:50%;border:0;background:#fff;color:#111;font-size:30px;line-height:1;cursor:pointer;z-index:2;box-shadow:0 4px 16px rgba(0,0,0,.35)}
.lb-close:focus-visible{outline:3px solid #8fb4ff;outline-offset:3px}
html.lb-open{overflow:hidden}
/* общий список отзывов Relocant */
.review-all-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.text-link.inline{display:inline;padding:0;text-decoration:underline;text-underline-offset:2px}
.review-ext .ext-response{margin-top:12px;font-size:14px;color:#445771;background:#f6f8fb;border-radius:8px;padding:10px 12px}
/* жалоба */
.btn.report-btn{background:#fff4ea;color:#8a3a00;border-color:#efc39b}.btn.report-btn:hover{background:#ffe8d4;border-color:#d98a4a}
/* блок консультации с фото */
.consult-strip.has-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:40px;align-items:center}
.consult-strip.has-photo .btn{margin-top:22px}
.strip-photo{margin:0}.strip-photo img{display:block;width:100%;height:auto;border-radius:16px;background:#dde6f3}
.photo-credit{font-size:11px!important;line-height:1.4;color:var(--muted);margin-top:6px!important}.photo-credit a{color:inherit;text-decoration:underline}
@media(max-width:720px){.review-all-list{grid-template-columns:1fr}
.consult-strip.has-photo{grid-template-columns:1fr;gap:20px}.strip-photo{order:-1}
.strip-photo img{aspect-ratio:1/1;object-fit:cover;object-position:50% 0;max-height:none}
.site-shot{margin-top:20px}.tg-thumb{max-height:200px}
.search-suggest{max-height:60vh}}
/* Подсказка с основанием у плашки «Отзывы проверены» (hover / фокус / тап) */
.status.is-verified[data-tip]{position:relative;cursor:help}
.status.is-verified[data-tip]::after{content:attr(data-tip);position:absolute;left:0;bottom:calc(100% + 8px);z-index:20;width:max-content;max-width:min(240px,64vw);padding:7px 10px;border-radius:8px;background:#17312a;color:#fff;font-size:12px;font-weight:500;line-height:1.4;white-space:normal;box-shadow:0 6px 18px rgba(0,0,0,.18);display:none;pointer-events:none}
.status.is-verified[data-tip]:hover::after,.status.is-verified[data-tip]:focus::after{display:block}
.status.is-verified[data-tip]:focus-visible{outline:2px solid #17602f;outline-offset:2px}
