/* ===== India Lens v2 · дополнения: доступность, языки, cookie, плашка демо, хинди ===== */

/* ссылка «Перейти к содержимому» */
.skip-link{position:absolute;left:16px;top:-80px;z-index:200;padding:12px 20px;border-radius:999px;background:var(--action-dark);color:#fff;font-weight:500;font-size:14px;line-height:18px;transition:top .2s}
.skip-link:focus{top:calc(12px + env(safe-area-inset-top,0px))}
main:focus{outline:0}

/* плашка «демонстрационная версия» */
.demo-strip{background:var(--olive);color:#fff;text-align:center;font-size:13px;line-height:18px;padding:8px 16px}
.demo-strip span{display:block;max-width:1120px;margin:0 auto}

/* переключатель языка */
.lang{display:inline-flex;align-items:center;gap:0;white-space:nowrap}
.lang a{display:inline-block;padding:4px 2px;color:var(--text-3);transition:color .2s}
.lang a:hover{color:var(--text)}
.lang a.is-cur{color:var(--text);font-weight:600;pointer-events:none}
.lang .sep{padding:0 5px;color:var(--text-3);font-weight:400}
.mmenu-bottom .lang{font-size:15px}
.footer .lang a{color:rgba(255,255,255,.55)}
.footer .lang a:hover,.footer .lang a.is-cur{color:#fff}
.footer .lang .sep{color:rgba(255,255,255,.35)}

/* подвал: язык + настройки cookie */
.foot-right{display:inline-flex;align-items:center;gap:24px;flex-wrap:wrap}
.foot-link{padding:0;border:0;background:none;color:inherit;font:inherit;opacity:.75;text-decoration:underline;text-underline-offset:3px;cursor:pointer;transition:opacity .2s}
.foot-link:hover{opacity:1}
.footer .social{display:flex;gap:8px;margin-top:16px}
.footer .social a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;font-weight:500;transition:background .2s}
.footer .social a:hover{background:rgba(255,255,255,.18)}

/* аватар-иконка вместо стоковых лиц */
.ava-ic{display:inline-flex;align-items:center;justify-content:center;background:var(--sage)!important;color:var(--olive)}
.ava-ic svg{width:55%;height:55%}

/* собственная реклама вместо заглушки «реклама» */
.ad-house{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:90px;padding:16px;text-align:center;border-radius:20px;background:var(--bg-field);border:1px dashed var(--text-3);transition:background .2s}
.ad-house:hover{background:var(--sage)}

/* карточки команды: цветной блок с иконкой вместо фото */
.person .ph{background:var(--g);display:flex;align-items:center;justify-content:center;height:200px;color:#fff}
.person .ph svg{width:56px;height:56px;opacity:.9}
@media (max-width:767px){.person .ph{height:160px}}

/* cookie-баннер */
.cookie{align-items:flex-start}
.cookie[hidden]{display:none!important}
.cookie .acts{flex-wrap:wrap;justify-content:flex-end}
.cookie .btn{white-space:nowrap}
.cookie p a:hover{opacity:1}

/* фокус: заметнее на тёмных блоках */
.footer :focus-visible,.cookie :focus-visible,.demo-strip :focus-visible{outline-color:#fff}

/* ===== хинди ===== */
html[lang=hi] body{font-family:"Onest","Noto Sans Devanagari",system-ui,sans-serif;line-height:1.7}
html[lang=hi] [class*=t-]{letter-spacing:0}
html[lang=hi] h1,html[lang=hi] h2,html[lang=hi] h3,html[lang=hi] h4{line-height:1.3;letter-spacing:0;word-break:normal;overflow-wrap:anywhere}
html[lang=hi] .nav a{line-height:1.5}
html[lang=hi] .btn{line-height:1.5}
html[lang=hi] .t-body-xs,html[lang=hi] .t-body-s,html[lang=hi] .t-body-m,html[lang=hi] .t-caption-s{line-height:1.7}
html[lang=en] h1,html[lang=en] h2{overflow-wrap:break-word}

@media (max-width:767px){
  .foot-right{gap:16px}
  .demo-strip{font-size:12px;padding:8px 12px}
  .cookie .acts{justify-content:stretch}
  .cookie .acts .btn{flex:1}
}

/* печать */
@media print{
  .header,.footer,.cookie,.demo-strip,.skip-link,.mmenu,.toast,.read-progress,.side,.ad-banner{display:none!important}
  body{background:#fff}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
.lang a[lang=hi]{font-size:15px;line-height:18px}

/* ===== UX-проход: доступность и удобство ===== */
/* якоря не прячутся под шапкой */
html{scroll-padding-top:150px}
@media (max-width:1279px){html{scroll-padding-top:96px}}

/* сообщения об ошибках рядом с полем, а не только красная рамка */
.err-msg{display:block;margin-top:6px;color:#c0392b;font-size:13px;line-height:18px}
.err-msg:empty{display:none}
.consent + .err-msg{margin-top:-4px}

/* зоны нажатия не меньше 44 px: расширяем невидимо, макет не двигаем */
.lang a,.search .clear{position:relative}
.lang a::after,.search .clear::after{content:"";position:absolute;inset:-12px -4px}
@media (pointer:coarse){
  .chip,.fopt,.opt{min-height:44px}
  .tab{min-height:44px}
}

/* кнопка «заказать» (оранжевая): тёмный текст даёт контраст 6.5:1 вместо 2.7:1 у белого */
.btn-primary:focus-visible{outline-color:var(--action-dark)}

/* хинди: заголовки плотнее */
html[lang=hi] .t-display,html[lang=hi] .t-h1,html[lang=hi] .t-h2{line-height:1.25}

/* мелкий текст не меньше 12 px */
.scard .dur,.params span{font-size:12px}
.ad-house b,.ad-house span{color:var(--text-2)}
