:root{
  --bg:#f5f5f7;
  --surface:#ffffff;
  --surface2:#f2f2f7;
  --text:#0b0b0f;
  --muted:#4b5563;
  --border:rgba(15,23,42,.08);
  --brand:#216ea9;
  --brand2:#379cd8;
  --accent:#62c268;
  --white:#ffffff;
  --radius:20px;
  --max:72rem;
  --shadow:0 35px 110px rgba(15,23,42,.12);
  --shadow-card:0 18px 48px rgba(15,23,42,.08);
  --shadow-soft:0 10px 25px rgba(15,23,42,.06);
}

*{box-sizing:border-box}
[hidden]{display:none !important}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,"Noto Sans",sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(33,110,169,.10), transparent 60%),
    radial-gradient(720px 440px at 92% 0%, rgba(98,194,104,.08), transparent 55%),
    var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

button,input,select,textarea{
  font:inherit;
  color:inherit;
  letter-spacing:inherit;
}

a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
img,svg,video,canvas{max-width:100%;height:auto}
p,li,a{overflow-wrap:anywhere}

:focus-visible{
  outline:3px solid rgba(33,110,169,.33);
  outline-offset:2px;
  border-radius:10px;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 16px;
}

main.container > * + *{
  margin-top:18px;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(245,245,247,.78);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.topbar__inner > *{min-width:0}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
  min-width:0;
}

.brand__logo{
  width:40px;
  height:40px;
  flex:0 0 auto;
  background:transparent url('/assets/logo-mark.svg?v=20251221-3') center/contain no-repeat;
  border:0;
  border-radius:12px;
  box-shadow:none;
}

.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  min-width:0;
}
.brand__name{
  font-weight:600;
  letter-spacing:.2px;
}
@supports (-webkit-background-clip: text){
  .brand__name{
    background:linear-gradient(90deg, var(--brand), var(--accent));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
}
.brand__tagline{
  margin-top:2px;
  font-weight:800;
  font-size:.74rem;
  letter-spacing:.02em;
  color:rgba(71,85,105,.92);
}
@media (max-width: 767px){
  .brand__tagline{display:none}
}
@media (max-width: 520px){
  .brand__logo{
    width:36px;
    height:36px;
  }
}

.nav{
  display:flex;
  gap:0;
  justify-content:flex-end;
  min-width:0;
}
.topbar__cta{
  border-radius:20px;
  padding:10px 18px;
  min-width:210px;
  margin-right:8px;
  box-shadow:0 16px 38px rgba(31,97,160,.24);
}
.topbar__cta:hover{box-shadow:0 20px 52px rgba(31,97,160,.30)}

.nav__toggle{
  display:none;
  order:3;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.92);
  border-radius:999px;
  padding:10px 12px;
  color:rgba(15,23,42,.82);
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}
.nav__toggle:hover{
  border-color:rgba(15,23,42,.18);
  background:rgba(255,255,255,.98);
}
.nav__drawer{
  display:contents;
}

.nav a{
  text-decoration:none;
  padding:10px 12px;
  border:1px solid transparent;
  border-radius:999px;
  color:rgba(15,23,42,.78);
  background:rgba(15,23,42,.035);
  transition:transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.nav a:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.10);
  background:rgba(15,23,42,.055);
  text-decoration:none;
}
.nav a[aria-current="page"]{
  border-color:rgba(31,97,160,.20);
  background:rgba(31,97,160,.08);
}
.nav a.nav__cta{
  order:2;
  background:linear-gradient(180deg,var(--brand),var(--brand2));
  color:var(--white);
  border-color:transparent;
  box-shadow:0 18px 45px rgba(31,97,160,.18);
}
.nav a.nav__cta:hover{
  background:linear-gradient(180deg,var(--brand),var(--brand2));
  color:var(--white);
  border-color:transparent;
  box-shadow:0 24px 70px rgba(31,97,160,.22);
  text-decoration:none;
}
@media (max-width: 640px){
  .nav{
    flex-wrap:nowrap;
    overflow:visible;
    justify-content:flex-end;
    gap:10px;
    position:relative;
  }
  .nav a{
    white-space:nowrap;
    padding:8px 10px;
    font-size:.9rem;
  }
  .nav__toggle{display:inline-flex}
  .nav__drawer{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    width:min(360px, calc(100vw - 24px));
    padding:10px;
    border-radius:18px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(15,23,42,.10);
    box-shadow:0 26px 80px rgba(15,23,42,.14);
    display:none;
    flex-direction:column;
    gap:8px;
    z-index:120;
  }
  .nav__drawer a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    border-radius:14px;
    padding:10px 12px;
    background:rgba(15,23,42,.035);
    border:1px solid rgba(15,23,42,.08);
    color:rgba(15,23,42,.86);
  }
  .nav__drawer a:hover{
    transform:none;
    border-color:rgba(15,23,42,.12);
    background:rgba(15,23,42,.055);
  }
  .topbar.is-nav-open .nav__drawer{display:flex}
}

.hero{padding:36px 0 22px}

.hero__card{
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 6px);
  background:rgba(255,255,255,.90);
  box-shadow:var(--shadow);
  padding:26px;
}

.kicker{
  color:rgba(71,85,105,.9);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
}

h1{
  margin:.5rem 0 .75rem;
  font-size:clamp(1.7rem,3.6vw,2.5rem);
  line-height:1.12;
  letter-spacing:-.01em;
  color:var(--text);
}
h2{color:var(--text);letter-spacing:-.01em}
h3{
  margin:1rem 0 .35rem;
  font-size:1.05rem;
  letter-spacing:-.01em;
  color:var(--text);
}
.card h3:first-child{margin-top:0}
p{margin:.6rem 0;line-height:1.75;color:rgba(15,23,42,.80)}

.lede{
  margin:.55rem 0 .85rem;
  font-size:1.06rem;
  line-height:1.6;
  color:rgba(15,23,42,.78);
}

.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.lp-main{padding-bottom:18px}
.lp-section{margin-top:14px}
.lp-hero{
  max-width:860px;
  margin:0 auto;
  text-align:center;
}
.lp-hero h1{margin-bottom:.5rem}
.lp-hero .lede{max-width:720px;margin:0 auto}
.lp-hero__input{
  margin:14px auto 0;
  max-width:760px;
}
.lp-hero__input textarea{
  width:100%;
  min-height:168px;
  resize:vertical;
  border:1px solid rgba(31,97,160,.2);
  border-radius:18px;
  padding:16px 18px;
  font-size:1.06rem;
  line-height:1.5;
  background:rgba(255,255,255,.98);
  box-shadow:0 18px 55px rgba(15,23,42,.12);
}
.lp-hot-queries{
  text-align:left;
}
.lp-hot-queries__chips{
  margin-top:8px;
  justify-content:flex-start;
}
.lp-hot-queries__chips .chip{
  background:rgba(255,255,255,.94);
  border-color:rgba(31,97,160,.18);
  font-weight:700;
}
.lp-hot-queries__chips .chip:hover{
  border-color:rgba(31,97,160,.34);
  background:rgba(31,97,160,.07);
}
.bp-hook,
.bp-hook.card{
  width:100%;
  max-width:640px;
  margin:2.25rem auto 0;
  padding:1.75rem 1.5rem;
  border-radius:1.25rem;
  border:1px solid rgba(147,197,253,.45);
  background:#eff6ff;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
  text-align:center;
}
@media (min-width: 768px) {
  .bp-hook,
  .bp-hook.card{
    padding:2.25rem 2.75rem;
  }
}
.bp-hook__kicker{
  color:#64748b;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-size:.76rem;
  margin-bottom:8px;
}
.bp-hook__title{
  margin:0;
  font-size:clamp(1.05rem,2.1vw,1.3rem);
  line-height:1.3;
}
.bp-hook__text{
  margin:8px 0 0;
  color:#475569;
}
.bp-hook__actions{
  margin-top:1.5rem;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.75rem;
}
.bp-hook__actions .btn{
  width:auto;
  min-width:172px;
  min-height:46px;
  padding:0 1.5rem;
  justify-content:center;
  border-radius:12px;
  border:1px solid transparent;
  font-size:.95rem;
  font-weight:600;
  text-decoration:none !important;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .05s ease, box-shadow .2s ease;
}
.bp-hook__actions .btn--primary{
  background:#2f63f1;
  color:#fff;
  border-color:transparent;
  box-shadow:0 12px 30px rgba(37,99,235,.35);
}
.bp-hook__actions .btn--telegram,
.bp-hook__actions .btn--maxapp{
  background:#fff;
  color:#1f2937;
  border:1px solid #d1d5db;
  box-shadow:none;
}
.bp-hook__actions .btn--primary:hover{
  background:#244ee3;
  color:#fff;
  box-shadow:0 14px 34px rgba(37,99,235,.34);
}
.bp-hook__actions .btn--telegram:hover,
.bp-hook__actions .btn--maxapp:hover{
  color:#111827;
  background:#f8fafc;
}
.bp-hook__actions .btn:active{
  transform:translateY(1px);
}
.bp-hook__hint{
  margin-top:12px;
  font-size:.9rem;
  color:#64748b;
}
.bp-hook__icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
}
.bp-hook__actions .btn--telegram .bp-hook__icon{
  color:#229ED9;
}
.bp-hook__icon--max{
  width:18px;
  height:18px;
  object-fit:contain;
}
@media (max-width: 860px){
  .bp-hook__actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .bp-hook__actions .btn{
    width:100%;
    min-width:0;
  }
}

.symptom-direct-answer,
.symptom-conversion,
.symptom-trust-bridge{
  border-color:rgba(33,110,169,.16);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.96));
}
.symptom-direct-answer__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:12px;
}
.symptom-direct-answer__item{
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:rgba(255,255,255,.88);
  padding:14px;
}
.symptom-direct-answer__item strong{
  display:block;
  margin-bottom:5px;
  color:rgba(15,23,42,.9);
}
.symptom-conversion{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(260px, .9fr);
  gap:18px;
  align-items:center;
  box-shadow:0 22px 70px rgba(33,110,169,.10);
}
.symptom-conversion__eyebrow{
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.11em;
  font-weight:900;
  color:rgba(71,85,105,.9);
}
.symptom-conversion h2{
  margin:.35rem 0 .45rem;
}
.symptom-conversion__box{
  border:1px solid rgba(33,110,169,.18);
  border-radius:18px;
  background:rgba(255,255,255,.9);
  padding:16px;
}
.symptom-conversion__box .btn{
  width:100%;
  justify-content:center;
}
.symptom-conversion__price{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:rgba(71,85,105,.92);
  font-size:.92rem;
}
.symptom-conversion__price span{
  border:1px solid rgba(15,23,42,.08);
  border-radius:999px;
  background:rgba(15,23,42,.035);
  padding:5px 9px;
}
.symptom-trust-bridge__cols{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:10px;
}
.symptom-trust-bridge__cols > div{
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:rgba(255,255,255,.86);
  padding:14px;
}
@media (max-width: 820px){
  .symptom-direct-answer__grid,
  .symptom-conversion,
  .symptom-trust-bridge__cols{
    grid-template-columns:1fr;
  }
}
.lp-hero__input textarea:focus{
  outline:none;
  border-color:rgba(31,97,160,.36);
  box-shadow:0 0 0 6px rgba(31,97,160,.10), var(--shadow-soft);
}
.lp-hero__cta{
  margin-top:14px;
  display:flex;
  justify-content:center;
}
.lp-primary-cta{
  min-width:min(100%, 420px);
  font-size:1.08rem;
  padding:15px 24px;
  border-radius:20px;
}
.lp-hero__sub{
  margin:.55rem 0 0;
  color:rgba(71,85,105,.92);
  font-size:.93rem;
}
.lp-hero__proof{
  margin:.35rem 0 0;
  color:rgba(71,85,105,.86);
  font-size:.9rem;
}
.lp-hero__urgency{
  margin:.35rem 0 0;
  font-size:.95rem;
  color:rgba(15,23,42,.72);
}
.lp-benefits__lead{
  margin:0 0 10px;
  font-weight:700;
}

.lp-benefits{
  margin-top:12px;
  display:grid;
  gap:14px;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
}
.lp-benefit{
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:rgba(255,255,255,.96);
  padding:18px;
}
.lp-benefit h3{
  margin:0 0 6px;
  font-size:1rem;
  display:flex;
  align-items:center;
  gap:8px;
}
.lp-benefit h3::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--brand),var(--accent));
  box-shadow:0 0 0 3px rgba(31,97,160,.10);
}
.lp-benefit p{
  margin:0;
  line-height:1.5;
}

.lp-fit{margin-top:6px}
.lp-fit li{font-weight:700}
.lp-trust p{
  margin:0;
  text-align:center;
  font-size:1.02rem;
  line-height:1.6;
  color:rgba(15,23,42,.86);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
}
.btn--primary{
  background:linear-gradient(180deg,var(--brand),var(--brand2));
  color:var(--white);
  box-shadow:0 18px 45px rgba(31,97,160,.20);
}
.btn--secondary{
  background:rgba(15,23,42,.035);
  border-color:rgba(15,23,42,.08);
  color:var(--text);
}
.btn--primary:hover{box-shadow:0 24px 70px rgba(31,97,160,.24);text-decoration:none}
.btn--secondary:hover{border-color:rgba(15,23,42,.12);text-decoration:none}
.btn--telegram{
  background:linear-gradient(180deg,#2ea3f2,#229ed9);
  color:#fff;
  border-color:transparent;
  box-shadow:0 16px 42px rgba(34,158,217,.28);
}
.btn--telegram:hover{
  color:#fff;
  text-decoration:none;
  box-shadow:0 22px 58px rgba(34,158,217,.34);
}
.btn--maxapp{
  background:#111827;
  color:#fff;
  border-color:#111827;
  box-shadow:0 16px 42px rgba(17,24,39,.22);
}
.btn--maxapp:hover{
  color:#fff;
  text-decoration:none;
  box-shadow:0 22px 58px rgba(17,24,39,.30);
}
.btn--telegram .bp-hook__icon,
.btn--maxapp .bp-hook__icon{
  filter:none;
}

.grid{display:grid;gap:14px;align-items:start;grid-template-columns:1fr}
.stack{display:flex;flex-direction:column;gap:14px}
@media (min-width: 860px){
  .grid--2{grid-template-columns:1.1fr .9fr}
  .grid--sidebar{grid-template-columns:1fr 340px}
}

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(255,255,255,.92);
  padding:20px;
  box-shadow:var(--shadow-card);
}

.card h2{margin:0 0 .4rem;font-size:1.15rem}
.card__title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 .55rem;
}
.card__title-row h2{margin:0}
.btn--small{
  padding:9px 12px;
  font-size:.86rem;
}
.toc{margin-top:14px}
.muted{color:rgba(71,85,105,.92)}

.list{
  margin:10px 0 0;
  padding:0 0 0 18px;
  color:rgba(15,23,42,.82);
}
.list li{margin:.4rem 0;line-height:1.65}

/* Self-check quiz (симптомы) */
.self-check__item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.self-check__q{flex:1;min-width:0}
.self-check__controls{
  display:flex;
  gap:8px;
  flex:0 0 auto;
}
.self-check__btn{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.14);
  background:rgba(255,255,255,.9);
  color:rgba(15,23,42,.82);
  font-weight:500;
  font-size:.85rem;
  cursor:pointer;
  transition:transform .12s ease, border-color .12s ease, background-color .12s ease, color .12s ease;
}
.self-check__btn:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.22);
}
.self-check__btn.is-active{
  background:rgba(31,97,160,.12);
  border-color:rgba(31,97,160,.26);
  color:rgba(15,23,42,.92);
}
.self-check__result{margin-top:12px}
.self-check__reset{margin-top:10px}
@media (max-width: 720px){
  .self-check__item{flex-direction:column}
  .self-check__controls{width:100%}
  .self-check__btn{flex:1}
}

.finder{display:flex;flex-direction:column;gap:10px}

.input{
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(15,23,42,.12);
  border-radius:999px;
  padding:14px 16px;
  box-shadow:var(--shadow-soft);
}
.input span{
  font-weight:900;
  color:rgba(71,85,105,.85);
  font-size:1.05rem;
}
.input:focus-within{
  border-color:rgba(31,97,160,.26);
  box-shadow:0 0 0 6px rgba(31,97,160,.10), var(--shadow-soft);
}
.input input{
  width:100%;
  background:transparent;
  border:none;
  outline:none;
  color:var(--text);
  font-size:1.05rem;
}
.input input::placeholder{color:rgba(71,85,105,.72)}

.finder--prominent{
  gap:12px;
  margin-top:14px;
}
.finder--prominent .input{
  padding:16px 18px;
  border-color:rgba(31,97,160,.18);
  box-shadow:0 30px 95px rgba(15,23,42,.14);
}
.finder--prominent .input:focus-within{
  border-color:rgba(31,97,160,.34);
  box-shadow:0 0 0 7px rgba(31,97,160,.12), 0 30px 95px rgba(15,23,42,.14);
}
.finder--prominent .input input{font-size:1.1rem}

.examples{
  margin-top:14px;
}
.examples__title{
  margin:0 0 10px;
  font-size:1.04rem;
  line-height:1.3;
}
.examples__list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.examples__item{
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
  overflow:hidden;
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.examples__item.is-open{
  border-color:rgba(31,97,160,.24);
  background:rgba(31,97,160,.04);
  box-shadow:0 14px 36px rgba(31,97,160,.10);
}
.examples__toggle{
  width:100%;
  padding:14px 16px;
  border:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-areas:
    "title chevron"
    "preview preview";
  align-items:flex-start;
  gap:10px;
}
.examples__toggle:hover{background:rgba(15,23,42,.02)}
.examples__qTitle{
  grid-area:title;
  margin:0;
  font-size:.98rem;
  line-height:1.4;
  color:var(--text);
  font-weight:900;
}
.examples__chevron{
  grid-area:chevron;
  flex:0 0 auto;
  color:rgba(71,85,105,.88);
  font-size:1rem;
  transform:rotate(0deg);
  transition:transform .22s ease;
}
.examples__item.is-open .examples__chevron{transform:rotate(90deg)}
.examples__preview{
  grid-area:preview;
  margin:0;
  padding:0;
  color:rgba(71,85,105,.92);
  line-height:1.5;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.examples__item.is-open .examples__preview{
  display:none;
}
.examples__panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .2s ease;
}
.examples__panelInner{
  padding:0 16px 16px;
  border-top:1px solid rgba(15,23,42,.08);
}
.examples__panelInner h3{
  margin:12px 0 6px;
  font-size:1rem;
}
.examples__panelInner h3:first-child{margin-top:12px}
.examples__panelInner p{
  margin:.5rem 0;
  line-height:1.6;
}
.examples__panelInner ul,.examples__panelInner ol{
  margin:8px 0 0;
  padding:0 0 0 18px;
}
.examples__panelInner li{
  margin:.3rem 0;
  line-height:1.55;
}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.85);
  color:var(--text);
  font-weight:800;
  font-size:.85rem;
  cursor:pointer;
}
.chips--links a.chip{display:inline-flex;align-items:center;text-decoration:none}
.chips--links a.chip:hover{text-decoration:none}
.chip:hover{border-color:rgba(15,23,42,.18)}
.chip.is-active{
  background:rgba(31,97,160,.10);
  border-color:rgba(31,97,160,.22);
}

.cards{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.cards__loading{
  grid-column:1 / -1;
}

.catalog-loader{
  border:1px solid rgba(15,23,42,.08);
  border-radius:calc(var(--radius) + 6px);
  background:rgba(255,255,255,.90);
  box-shadow:var(--shadow-soft);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.catalog-loader__top{
  display:flex;
  align-items:center;
  gap:12px;
}
.catalog-loader__spinner{
  width:22px;
  height:22px;
  border-radius:999px;
  border:3px solid rgba(15,23,42,.14);
  border-top-color:rgba(31,97,160,.90);
  border-right-color:rgba(98,194,104,.55);
  animation:loader-spin .9s linear infinite;
  flex:0 0 auto;
}
.catalog-loader__title{
  font-weight:900;
  letter-spacing:-.01em;
}
.catalog-loader__grid{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
@media (min-width: 1100px){
  .catalog-loader__grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.catalog-loader__card{
  position:relative;
  overflow:hidden;
  min-height:118px;
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.06);
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow-card);
}
.catalog-loader__card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(90deg, transparent, rgba(31,97,160,.12), rgba(98,194,104,.08), transparent);
  transform:translateX(-70%);
  animation:loader-shimmer 1.25s ease-in-out infinite;
}
.catalog-loader__card::after{
  content:"";
  position:absolute;
  left:18px;
  right:46px;
  top:22px;
  height:12px;
  border-radius:8px;
  background:rgba(15,23,42,.12);
  box-shadow:
    0 22px 0 rgba(15,23,42,.09),
    0 44px 0 rgba(15,23,42,.08);
}
@keyframes loader-spin{
  to{transform:rotate(360deg)}
}
@keyframes loader-shimmer{
  0%{transform:translateX(-70%)}
  100%{transform:translateX(70%)}
}
@media (prefers-reduced-motion: reduce){
  .catalog-loader__spinner{animation:none}
  .catalog-loader__card::before{animation:none}
}
@media (min-width: 1100px){
  .cards[data-symptoms-cards]{grid-template-columns:repeat(4,minmax(0,1fr))}
}

#symptomCards{scroll-margin-top:96px}
section[id]{scroll-margin-top:96px}

.symptom-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:18px;
  border-radius:var(--radius);
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.96);
  text-decoration:none;
  color:var(--text);
  box-shadow:var(--shadow-card);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.symptom-card:hover{
  transform:translateY(-1px);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 26px 80px rgba(15,23,42,.10);
  text-decoration:none;
}
.symptom-card strong{font-size:1.05rem;overflow-wrap:anywhere}
.symptom-card span{color:rgba(71,85,105,.92);overflow-wrap:anywhere}
.symptom-card--promo{
  position:relative;
  overflow:visible;
  border-style:dashed;
  border-color:rgba(31,97,160,.26);
  background:
    linear-gradient(145deg, rgba(33,110,169,.08), rgba(98,194,104,.07)),
    rgba(255,255,255,.98);
  padding-top:14px;
  padding-bottom:14px;
}
.symptom-card__promo-kicker{
  position:absolute;
  right:14px;
  top:0;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  padding:2px 7px;
  border-radius:999px;
  background:#eef6fd;
  border:1px solid rgba(31,97,160,.20);
  color:rgba(15,23,42,.88);
  font-size:.72rem;
  font-weight:400 !important;
  letter-spacing:0;
  text-transform:none;
}
.symptom-card__promo-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:2px;
}
.symptom-card__promo-actions .btn{
  width:auto;
  justify-content:flex-start;
  border:none;
  border-radius:0;
  padding:0;
  background:transparent;
  box-shadow:none;
  color:var(--brand);
  font-size:.85rem;
  font-weight:800;
  line-height:1.2;
}
.symptom-card__promo-actions .btn:hover{
  color:var(--brand2);
  text-decoration:underline;
  box-shadow:none;
}
.symptom-card__promo-actions .bp-hook__icon{
  width:14px;
  height:14px;
  flex:0 0 14px;
}
.symptom-card__promo-actions .bp-hook__icon--max{
  width:14px;
  height:14px;
}

.list--compact{margin-top:10px}
.list--compact li{margin:.25rem 0}

.price-cards{margin-top:12px}
.price-card{position:relative}
.price-card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.price-card__price{
  flex:0 0 auto;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(31,97,160,.10);
  border:1px solid rgba(31,97,160,.18);
  font-weight:900;
  color:rgba(15,23,42,.92);
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.price-card__old{
  font-weight:800;
  font-size:.88em;
  opacity:.55;
  text-decoration:line-through;
}
.price-card__new{font-weight:900}
.price-card__desc{
  color:rgba(71,85,105,.92);
  line-height:1.55;
}
.price-card__badge{
  position:absolute;
  top:-12px;
  right:12px;
  padding:7px 12px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(33,110,169,.30), rgba(98,194,104,.34));
  border:1px solid rgba(33,110,169,.42);
  font-weight:900;
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(15,23,42,.90);
  box-shadow:0 10px 26px rgba(31,97,160,.16);
}
.price-card--recommended{
  border-color:rgba(31,97,160,.36);
  box-shadow:0 32px 96px rgba(31,97,160,.24);
  transform:translateY(-4px);
}
.lp-pricing-note{
  margin-top:10px;
  font-weight:700;
}
.lp-result-note{margin:0 0 12px}
.lp-result-note .list{margin-top:8px}
.lp-faq__item{
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  background:rgba(255,255,255,.95);
  padding:10px 12px;
}
.lp-faq__item + .lp-faq__item{
  margin-top:10px;
}
.lp-faq__item summary{
  cursor:pointer;
  font-weight:800;
  color:var(--text);
}
.lp-faq__item[open]{
  border-color:rgba(31,97,160,.24);
  background:rgba(31,97,160,.04);
}
.lp-faq__item p{
  margin:.55rem 0 .2rem;
  line-height:1.6;
}
.lp-analizgid{
  background:rgba(255,255,255,.94);
}
.lp-analizgid__btn{
  margin-top:6px;
  border-radius:16px;
  border-color:rgba(33,110,169,.28);
  background:rgba(33,110,169,.08);
  color:rgba(15,23,42,.92);
  font-weight:900;
}
.lp-analizgid__btn:hover{
  border-color:rgba(33,110,169,.36);
  background:rgba(33,110,169,.12);
  text-decoration:none;
}

.lp-home #bpAiFab{
  display:none !important;
}
.lp-sticky-cta{
  position:fixed;
  left:12px;
  right:12px;
  bottom:calc(10px + env(safe-area-inset-bottom, 0px));
  z-index:120;
}
.lp-sticky-cta__btn{
  width:100%;
  border-radius:20px;
  padding:14px 18px;
  box-shadow:0 22px 60px rgba(15,23,42,.22);
}

.note{
  border:1px solid rgba(15,23,42,.08);
  background:rgba(15,23,42,.03);
  border-radius:var(--radius);
  padding:14px;
  color:rgba(15,23,42,.82);
}

.footer{
  border-top:1px solid var(--border);
  margin-top:26px;
  padding:20px 0 28px;
  color:rgba(71,85,105,.92);
  font-size:.95rem;
}
.footer a{color:var(--text);text-decoration:none}
.footer a:hover{text-decoration:underline}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.faq{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}

.results-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.results-jump{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.90);
  color:rgba(15,23,42,.78);
  font-weight:900;
  font-size:.85rem;
  text-decoration:none;
}
.results-jump:hover{
  border-color:rgba(15,23,42,.18);
  text-decoration:none;
}

.ai-catalog-promo{
  margin-top:12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(31,97,160,.14);
  background:linear-gradient(180deg, rgba(31,97,160,.08), rgba(98,194,104,.05));
}
.ai-catalog-promo__title{
  font-weight:900;
  color:rgba(15,23,42,.92);
}
.ai-catalog-promo__text{
  margin-top:4px;
  font-size:.95rem;
  line-height:1.45;
}
.ai-catalog-promo__actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
}

@media (max-width: 640px){
  .hero{padding:28px 0 18px}
  .hero__card{padding:20px}
  .topbar__inner{padding:12px 0}
  .lp-section{margin-top:10px}
  .card{padding:16px}
  .lp-primary-cta{width:100%}
  .bp-hook,
  .bp-hook.card{
    padding:1.2rem 1rem;
  }
  .topbar__cta{min-width:auto;padding:9px 14px}
  .topbar__cta{margin-right:4px}
  .lp-hero__input textarea{min-height:144px}
  .lp-hot-queries__chips{justify-content:center}
  .lp-hero h1{
    font-size:clamp(1.52rem,7.5vw,1.95rem);
    line-height:1.12;
  }
  .lp-benefits{gap:10px}
  .lp-benefit{padding:14px}
  .price-cards{grid-template-columns:1fr}
  .cards{gap:10px}
  .price-card--recommended{transform:translateY(0)}
  .lp-analizgid{padding:14px}
  .lp-analizgid h2{font-size:1.05rem}
  .lp-analizgid p{line-height:1.5}
  .lp-analizgid__btn{width:100%;justify-content:center}
  .chips{
    flex-wrap:wrap;
    overflow-x:visible;
    padding-bottom:0;
  }
  .chip{white-space:normal}
  .catalog-hint{display:none}
  .ai-catalog-promo{flex-direction:column;align-items:stretch}
  .ai-catalog-promo__actions .btn{width:100%;justify-content:center}
  .symptom-card__promo-actions{grid-template-columns:1fr}
}
@media (min-width: 861px){
  .lp-sticky-cta{display:none !important}
}

details{
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:rgba(255,255,255,.96);
  padding:12px 14px;
  box-shadow:var(--shadow-soft);
}

summary{
  cursor:pointer;
  font-weight:800;
  color:var(--text);
}

details p{margin:.6rem 0 0}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .nav a,.symptom-card{transition:none}
}

/* ===== Патч 2026-06-26: конверсия и доверие ===== */

/* Уведомление про ИИ в hero */
.lp-hero__ai-notice{
  margin:.7rem auto 0;
  max-width:680px;
  font-size:.95rem;
  line-height:1.55;
  color:rgba(71,85,105,.90);
  background:rgba(33,110,169,.06);
  border:1px solid rgba(33,110,169,.14);
  border-radius:12px;
  padding:10px 16px;
}

/* Мобильный фикс textarea — кнопка остаётся в экране */
@media (max-width: 520px){
  .lp-hero__input textarea{min-height:110px}
}

/* Мобильный фикс карточки «Рекомендуем» — border вместо transform */
@media (max-width: 640px){
  .price-card--recommended{
    border-color:rgba(31,97,160,.40);
    box-shadow:0 0 0 2px rgba(31,97,160,.18), var(--shadow-card);
  }
}

/* Блок «Как это работает» */
.lp-trust{text-align:left}
.lp-trust h2{margin-bottom:16px}
.lp-trust__steps{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.lp-trust__step{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.lp-trust__step-num{
  flex:0 0 36px;
  width:36px;
  height:36px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--brand),var(--brand2));
  color:#fff;
  font-weight:900;
  font-size:.95rem;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 20px rgba(31,97,160,.22);
}
.lp-trust__step strong{
  display:block;
  font-size:1rem;
  margin-bottom:3px;
  color:var(--text);
}
.lp-trust__step p{
  margin:0;
  font-size:.93rem;
  line-height:1.5;
  color:rgba(71,85,105,.90);
}
.lp-trust__notice{
  margin-top:16px;
  font-size:.88rem;
  line-height:1.5;
  padding:10px 14px;
  background:rgba(15,23,42,.03);
  border-radius:10px;
  border:1px solid rgba(15,23,42,.07);
}

/* Пример разбора симптома */
.lp-example{
  margin-top:14px;
  border:1px solid rgba(33,110,169,.15);
  border-radius:18px;
  overflow:hidden;
}
.lp-example__question{
  padding:14px 18px;
  background:rgba(33,110,169,.05);
  border-bottom:1px solid rgba(33,110,169,.12);
}
.lp-example__answer{
  padding:14px 18px;
  background:#fff;
}
.lp-example__label{
  display:inline-block;
  font-size:.76rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.10em;
  color:rgba(33,110,169,.80);
  margin-bottom:6px;
}
.lp-example__question p{
  margin:0;
  font-style:italic;
  color:rgba(15,23,42,.82);
  line-height:1.55;
}
.lp-example__section{
  margin-top:12px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(15,23,42,.06);
}
.lp-example__section:last-child{border-bottom:none;padding-bottom:0}
.lp-example__section strong{
  font-size:.95rem;
  color:var(--text);
}
.lp-example__section p{margin:.4rem 0 0;font-size:.93rem;line-height:1.5}
.lp-example__section ul{
  margin:.4rem 0 0;
  padding-left:1.2em;
  font-size:.93rem;
  line-height:1.55;
  color:rgba(15,23,42,.80);
}
.lp-example__section ul li{margin:.2rem 0}
.lp-example__section--flags strong{color:#b91c1c}
.lp-example__section--flags ul{color:#b91c1c}
.lp-example__section--flags li{list-style-type:none;padding-left:0}
.lp-example__section--flags ul{padding-left:0}
.lp-example__section--flags li::before{content:"- ";color:#b91c1c;font-weight:700}
.lp-example__disclaimer{
  padding:10px 18px;
  margin:0;
  font-size:.86rem;
  background:rgba(15,23,42,.025);
  border-top:1px solid rgba(15,23,42,.06);
}

/* Inline-CTA в статейных страницах (bp-hook) — дополнительные стили если нужны */
.bp-hook--inline{
  margin:1.75rem 0;
}

/* ===== Конец патча 2026-06-26 ===== */

/* ===== Патч 2026-06-29: конверсионная главная ===== */

/* Строка доверия под кнопкой */
.lp-hero__trust{
  margin:.55rem 0 0;
  font-size:.88rem;
  color:rgba(71,85,105,.80);
}

/* Блок «Как это работает» - 3 шага */
.lp-steps h2{margin-bottom:12px}
.lp-steps__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:10px;
  flex-direction:column;
  counter-reset:steps;
}
.lp-steps__list li{
  counter-increment:steps;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:.97rem;
  color:rgba(15,23,42,.82);
}
.lp-steps__list li::before{
  content:counter(steps);
  flex:0 0 auto;
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(33,110,169,.12);
  color:#216ea9;
  font-weight:800;
  font-size:.85rem;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* ===== Конец патча 2026-06-29 ===== */

/* ===== Патч 2026-06-29-03: мобилка + крестик оверлея ===== */

/*
 * П.1 — блоки во всю ширину на мобилке:
 * убираем боковые margin/padding у .container, hero, hero__card, .card
 * оставляем гаттер 8-10px
 */
@media (max-width: 767px) {
  .container {
    padding: 0 8px;
  }

  /* hero секция — убрать вертикальные отступы, блок тянется по ширине */
  .hero {
    padding: 16px 0 10px;
  }

  /* hero__card и lp-hero — убрать max-width и margin auto, растянуть на ширину */
  .hero__card {
    border-radius: 16px;
    padding: 16px 14px;
  }

  .lp-hero {
    max-width: none;
    margin: 0;
  }

  /* Секции-карточки */
  .card {
    border-radius: 14px;
    padding: 14px;
  }

  /* lp-hero__input textarea */
  .lp-hero__input textarea {
    min-height: 110px;
    font-size: .97rem;
    padding: 13px 14px;
  }

  /* Строка «доверие» под кнопкой */
  .lp-hero__trust {
    font-size: .82rem;
  }
}

/*
 * П.2 — текст меньше на мобилке
 */
@media (max-width: 767px) {
  /* H1 в герое */
  .lp-hero h1 {
    font-size: clamp(1.18rem, 5.8vw, 1.55rem);
    line-height: 1.14;
    margin-bottom: .4rem;
  }

  /* Подзаголовок lede */
  .lp-hero .lede {
    font-size: .93rem;
    line-height: 1.5;
    margin: 0 auto .6rem;
  }

  /* Кнопка CTA чуть компактнее */
  .lp-primary-cta {
    font-size: 1rem;
    padding: 13px 20px;
  }
}

/*
 * П.3 — шапка мобилка: скрыть кнопку topbar__cta, лого в одну строку
 */
@media (max-width: 767px) {
  .topbar__cta {
    display: none !important;
  }

  /* Лого в одну строку: иконка + «Болит Просто», тэглайн скрыт */
  .brand {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }

  .brand__text {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.05;
    min-width: 0;
    overflow: hidden;
  }

  .brand__name {
    font-size: .95rem;
    white-space: nowrap;
  }

  .brand__tagline {
    display: none !important;
  }

  .brand__logo {
    width: 30px;
    height: 30px;
  }
}

/*
 * П.5 — крестик закрытия оверлея: выравнивание по центру
 */
.bp-ai-overlay__close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  font-size: 20px !important;
}

/* ===== Конец патча 2026-06-29-03 ===== */
