.hero-v2{
  margin: 10px auto 28px;
  max-width: 1500px;
  padding: 0 18px;
  border-top: 0 !important;
  position: relative;
}
.hero-v2::before,
.hero-v2::after{
  display:none !important;
  content:none !important;
}
.hero-v2__inner{
  background: linear-gradient(90deg,#15185c 0%, #1e237b 45%, #416ccf 100%);
  border-radius: 0 0 24px 24px;
  padding: 52px 42px 34px;
  display:grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 36px;
  align-items:center;
  overflow:hidden;
  box-shadow:none;
}
.hero-v2__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#e8ebff;
  font-size:14px;
  font-weight:700;
  letter-spacing:.02em;
  margin-bottom:22px;
  border:1px solid rgba(255,255,255,.12);
}
.hero-v2__title{
  margin:0 0 14px;
  color:#fff;
  font-size:66px;
  line-height:1.02;
  font-weight:800;
  letter-spacing:-0.03em;
}
.hero-v2__highlight{
  display:inline-block;
  margin-top:8px;
  padding:10px 16px 12px;
  border-radius:12px;
  background:rgba(123, 244, 233, .84);
  color:#08214b;
}
.hero-v2__text{
  margin:0 0 24px;
  max-width:690px;
  color:#eef2ff;
  font-size:20px;
  line-height:1.45;
}
.hero-v2__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:28px;
}
.hero-v2__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 26px;
  border-radius:16px;
  font-size:16px;
  font-weight:800;
  text-decoration:none;
  transition:.2s ease;
}
.hero-v2__btn--primary{
  background:#39c9d6;
  color:#06234e;
  box-shadow:none;
}
.hero-v2__btn--ghost{
  background:rgba(255,255,255,.06);
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
}
.hero-v2__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.hero-v2__chip{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(18,22,76,.45);
  border:1px solid rgba(255,255,255,.10);
  color:#eef2ff;
  font-size:14px;
}

.hero-ui{
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(5,19,68,.14);
  border:1px solid #ecebfd;
}
.hero-ui__top{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:18px 20px;
  border-bottom:1px solid #eceffd;
}
.hero-ui__brand-name{
  font-size:28px;
  font-weight:700;
  color:#1b3266;
}
.hero-ui__brand-name span{ color:#39c3c9; }
.hero-ui__title{
  font-size:18px;
  font-weight:800;
  color:#1a2f64;
}
.hero-ui__period{
  font-size:13px;
  color:#6e78a0;
  background:#fafbff;
  border:1px solid #e7eaf7;
  border-radius:10px;
  padding:8px 12px;
}
.hero-ui__body{
  display:grid;
  grid-template-columns:120px 1fr;
  min-height:390px;
}
.hero-ui__menu{
  background:#f7f5ff;
  padding:14px 10px;
  border-right:1px solid #eceffd;
}
.hero-ui__menu-item{
  font-size:14px;
  color:#6c7199;
  padding:11px 12px;
  border-radius:10px;
  margin-bottom:8px;
}
.hero-ui__menu-item--active{
  background:#e9e3ff;
  color:#6E5CF1;
  font-weight:700;
}
.hero-ui__content{
  padding:18px;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:14px;
}
.hero-ui__panel{
  background:#fff;
  border:1px solid #e7eaf7;
  border-radius:16px;
  padding:14px;
}
.hero-ui__panel-title{
  font-size:15px;
  font-weight:800;
  color:#25386f;
  margin-bottom:10px;
}
.hero-ui__distribution{
  display:flex;
  align-items:center;
  gap:16px;
}
.hero-ui__donut{
  position:relative;
  width:122px;
  height:122px;
}
.hero-ui__donut-ring{
  width:122px;
  height:122px;
  border-radius:50%;
  background:conic-gradient(#42c7be 0 49%, #f1b644 49% 60%, #7a6bf2 60% 100%);
}
.hero-ui__donut::after{
  content:"";
  position:absolute;
  inset:18px;
  background:#fff;
  border-radius:50%;
}
.hero-ui__donut-center{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#25386f;
}
.hero-ui__donut-center strong{
  font-size:40px;
  line-height:1;
}
.hero-ui__legend div{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:#4d5b8a;
  margin-bottom:8px;
}
.hero-ui__legend i{
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
}
.c-low{ background:#42c7be; }
.c-mid{ background:#f1b644; }
.c-high{ background:#7a6bf2; }

.hero-ui__linechart{
  position:relative;
  height:122px;
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}
.hero-ui__linechart .grid{
  position:absolute;
  left:0; right:0;
  height:1px;
  background:#edf0fa;
}
.hero-ui__linechart .g1{ top:28px; }
.hero-ui__linechart .g2{ top:60px; }
.hero-ui__linechart .g3{ top:92px; }
.hero-ui__linechart svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.hero-ui__panel--scores{ grid-column:1 / 2; }
.hero-ui__panel--recommend{ grid-column:2 / 3; }
.hero-ui__panel--alert{
  grid-column:1 / -1;
  background:#f2efff;
  border-color:#e6e2ff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.score-row{
  display:grid;
  grid-template-columns:100px 1fr 34px;
  align-items:center;
  gap:10px;
  margin-bottom:9px;
}
.score-row span{
  font-size:13px;
  color:#4c5b8a;
}
.score-row b{
  order:3;
  font-size:13px;
  color:#2d4178;
  text-align:right;
}
.score-row em{
  order:2;
  height:14px;
  display:block;
  background:#edf2f7;
  border-radius:999px;
  overflow:hidden;
  font-style:normal;
}
.score-row em i{
  display:block;
  height:100%;
  border-radius:999px;
  background:#39c3d4;
}
.hero-ui__list{
  margin:0;
  padding:0;
  list-style:none;
}
.hero-ui__list li{
  margin:0 0 8px;
  color:#4d5b8a;
  font-size:14px;
}
.hero-ui__list li::before{
  content:"✓ ";
  color:#6E5CF1;
  font-weight:700;
}
.hero-ui__alert-text strong{
  display:block;
  font-size:18px;
  color:#33436c;
  margin-bottom:4px;
}
.hero-ui__alert-text span{
  display:block;
  font-size:13px;
  color:#7b85a7;
}
.hero-ui__alert-value{
  font-size:48px;
  font-weight:800;
  color:#6E5CF1;
  line-height:1;
  white-space:nowrap;
}

@media (max-width: 1200px){
  .hero-v2__inner{
    grid-template-columns:1fr;
  }
  .hero-v2__title{
    font-size:52px;
  }
}
@media (max-width: 780px){
  .hero-v2{
    padding:0 10px;
  }
  .hero-v2__inner{
    padding:34px 18px 24px;
    border-radius:0 0 18px 18px;
  }
  .hero-v2__title{
    font-size:40px;
  }
  .hero-v2__text{
    font-size:17px;
  }
  .hero-ui__body{
    grid-template-columns:1fr;
  }
  .hero-ui__menu{
    display:none;
  }
  .hero-ui__content{
    grid-template-columns:1fr;
  }
  .hero-ui__panel--scores,
  .hero-ui__panel--recommend,
  .hero-ui__panel--alert{
    grid-column:auto;
  }
  .hero-ui__alert-value{
    font-size:34px;
  }
  .hero-ui__panel--alert{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* HERO_FIX_V3_START */
.hero-v2{
  margin-top: 8px !important;
  border-top: 0 !important;
}
.hero-v2::before,
.hero-v2::after{
  display: none !important;
  content: none !important;
}
.hero-v2__inner{
  grid-template-columns: 0.94fr 1.06fr !important;
  align-items: center !important;
  padding-top: 38px !important;
}
.hero-v2__left{
  max-width: 690px !important;
}
.hero-v2__title{
  font-size: 58px !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 12px !important;
}
.hero-v2__highlight{
  display: inline-block !important;
  color: #ffffff !important;
  background: rgba(110, 228, 234, 0.58) !important;
  padding: 8px 14px 11px !important;
  margin-top: 10px !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
.hero-v2__text{
  max-width: 560px !important;
}
.hero-v2__right{
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}
.hero-ui{
  width: 86% !important;
  margin-left: auto !important;
  transform: scale(0.82) !important;
  transform-origin: right center !important;
  box-shadow: 0 12px 26px rgba(5,19,68,.12) !important;
}
.hero-ui__top{
  padding: 14px 18px !important;
}
.hero-ui__body{
  min-height: 330px !important;
}
.hero-ui__content{
  padding: 14px !important;
  gap: 12px !important;
}
.hero-ui__panel{
  border-radius: 14px !important;
}
.hero-ui__panel--alert{
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
@media (max-width: 1200px){
  .hero-v2__inner{
    grid-template-columns: 1fr !important;
  }
  .hero-v2__title{
    font-size: 48px !important;
  }
  .hero-ui{
    width: 100% !important;
    transform: none !important;
  }
}
/* HERO_FIX_V3_END */


/* HERO_SIZE_V4_START */

/* Убираем полосу под шапкой */
.header,
.header .nav,
.header .container,
header,
header nav {
    border-bottom: none !important;
    box-shadow: none !important;
}
.header::after,
.header .nav::after,
header::after {
    display: none !important;
    content: none !important;
}

/* Размер первого экрана как у макета */
.hero-v2 {
    width: min(1200px, calc(100% - 40px)) !important;
    max-width: none !important;
    margin: 0 auto 28px !important;
    padding: 0 !important;
    border: none !important;
}
.hero-v2__inner {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: 24px !important;
    padding: 36px 32px 28px !important;
    border-radius: 0 0 16px 16px !important;
    min-height: 390px !important;
    align-items: center !important;
}
.hero-v2__left {
    min-width: 0 !important;
    max-width: 560px !important;
}
.hero-v2__badge {
    padding: 7px 12px !important;
    font-size: 11px !important;
    margin-bottom: 16px !important;
}
.hero-v2__title {
    font-size: clamp(29px, 3vw, 39px) !important;
    line-height: 1.11 !important;
    letter-spacing: -0.035em !important;
    margin: 0 0 12px !important;
}
.hero-v2__highlight {
    color: white !important;
    background: rgba(75, 211, 222, .43) !important;
    font-size: inherit !important;
    line-height: 1.13 !important;
    padding: 3px 8px 5px !important;
    margin-top: 7px !important;
    border-radius: 5px !important;
    box-decoration-break: clone !important;
    -webkit-box-decoration-break: clone !important;
    box-shadow: none !important;
}
.hero-v2__text {
    font-size: 14px !important;
    line-height: 1.45 !important;
    max-width: 450px !important;
    margin: 0 0 18px !important;
}
.hero-v2__actions {
    gap: 10px !important;
    margin-bottom: 20px !important;
}
.hero-v2__btn {
    font-size: 12px !important;
    min-height: 39px !important;
    padding: 0 16px !important;
    border-radius: 9px !important;
}
.hero-v2__chips {
    gap: 7px !important;
}
.hero-v2__chip {
    font-size: 10px !important;
    min-height: 27px !important;
    padding: 0 10px !important;
}

/* Компактная аналитика справа */
.hero-v2__right {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}
.hero-ui {
    width: 125% !important;
    max-width: none !important;
    flex: 0 0 125% !important;
    margin: 0 !important;
    transform: scale(.8) !important;
    transform-origin: right center !important;
    border-radius: 16px !important;
}
.hero-ui__top {
    padding: 12px 14px !important;
}
.hero-ui__brand-name {
    font-size: 21px !important;
}
.hero-ui__title {
    font-size: 15px !important;
}
.hero-ui__body {
    min-height: 0 !important;
    grid-template-columns: 96px 1fr !important;
}
.hero-ui__menu {
    padding: 9px 5px !important;
}
.hero-ui__menu-item {
    font-size: 11px !important;
    padding: 7px !important;
    margin-bottom: 4px !important;
}
.hero-ui__content {
    padding: 10px !important;
    gap: 9px !important;
}
.hero-ui__panel {
    padding: 10px !important;
    border-radius: 10px !important;
}
.hero-ui__panel-title {
    font-size: 12px !important;
    margin-bottom: 7px !important;
}
.hero-ui__donut,
.hero-ui__donut-ring {
    width: 85px !important;
    height: 85px !important;
}
.hero-ui__donut::after {
    inset: 14px !important;
}
.hero-ui__donut-center strong {
    font-size: 27px !important;
}
.hero-ui__legend div {
    font-size: 10px !important;
    margin-bottom: 4px !important;
}
.hero-ui__linechart {
    height: 85px !important;
}
.hero-ui__panel--alert {
    display: none !important;
}
.hero-ui__list li,
.score-row span,
.score-row b {
    font-size: 10px !important;
}
.score-row {
    grid-template-columns: 65px 1fr 25px !important;
    gap: 5px !important;
    margin-bottom: 5px !important;
}
.score-row em {
    height: 8px !important;
}

/* Планшет */
@media (max-width: 1000px) {
    .hero-v2__inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .hero-v2__left {
        max-width: 650px !important;
    }
    .hero-v2__right {
        justify-content: center !important;
    }
    .hero-ui {
        width: 100% !important;
        flex-basis: 100% !important;
        transform: none !important;
    }
}

/* Телефон */
@media (max-width: 600px) {
    .hero-v2 {
        width: calc(100% - 20px) !important;
    }
    .hero-v2__inner {
        padding: 24px 16px !important;
    }
    .hero-v2__title {
        font-size: clamp(26px, 7vw, 34px) !important;
    }
    .hero-v2__highlight {
        padding: 3px 5px !important;
    }
    .hero-v2__text {
        font-size: 13px !important;
    }
    .hero-ui {
        width: 100% !important;
        flex-basis: 100% !important;
        transform: none !important;
    }
    .hero-ui__body {
        grid-template-columns: 1fr !important;
    }
}
/* HERO_SIZE_V4_END */

