/* Главная ventys.ru (новый дизайн, утверждён 23.10.2026 — макет sajt-ventys/maket/glavnaya).
   Все правила внутри .vh, чтобы не задевать остальные страницы и стили Bagisto. */
html.lenis, html.lenis body { height: auto; }   /* нужно Lenis — плавной прокрутке */
.vh {
    --green: #8bc348;
    --green-dark: #6fa531;
    --green-soft: #eef6e4;
    --red: #dc1d00;          
    --text: #3a3a3a;
    --muted: #7a7f89;
    --line: #e7e6e6;
    --bg: #f4f4f4;
    --graphite: #2b2f33;     
    --navy: #2c364a;
    --link: #005bad;
    --radius: 4px;
    --radius-lg: 14px;
    --wrap: 1200px;
    --rhythm: clamp(72px, 9vw, 128px);
    --font: "PT Sans", Arial, sans-serif;
    font: 16px/1.5 var(--font); color: var(--text);
}
.vh img { display: block; max-width: 100%; height: auto; }
.vh a { color: inherit; }
.vh h1, .vh h2, .vh h3, .vh p { margin: 0; }
.vh ol, .vh ul { list-style: none; }
.vh .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; box-sizing: content-box; }
.vh .eyebrow { display: inline-block; margin-bottom: 16px; color: var(--green-dark); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vh .h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.2; }
.vh .accent { color: var(--green-dark); }
.vh .ring { display: inline-block; width: 14px; height: 14px; flex: none; border: 4px solid var(--red); border-radius: 50%; }
.vh .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
    border: 1px solid var(--green); border-radius: var(--radius); background: #fff; color: var(--green-dark);
    font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.vh .btn:hover { background: var(--green); color: #fff; }
.vh .btn--solid { background: var(--green); color: #fff; }
.vh .btn--solid:hover { background: var(--green-dark); border-color: var(--green-dark); }
.vh .btn--big { min-height: 60px; padding: 0 36px; font-size: 18px; }
.vh .link-arrow { color: var(--link); font-weight: 700; text-decoration: none; }
.vh .link-arrow::after { content: " →"; transition: margin .2s; }
.vh .link-arrow:hover::after { margin-left: 4px; }
.vh .hero { padding-top: clamp(32px, 5vw, 64px); }
.vh .hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; min-height: min(600px, calc(100svh - 300px)); }
.vh .hero__title { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.vh .hero__lead { max-width: 520px; margin-top: 22px; font-size: 18px; color: #555; }
.vh .hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.vh .hero__price { margin-top: 22px; color: var(--muted); }
.vh .hero__price b { color: var(--text); }
.vh .hero__visual { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: radial-gradient(120% 90% at 30% 20%, #3b4046, var(--graphite)); overflow: hidden; }
.vh .hero__visual img, .vh .hero__visual video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vh .hero__visual:has(video) { background: #bebcb9; }
.vh .chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); font-size: 14px;
}
.vh .chip--top { top: 22px; left: 22px; }
.vh .chip--bottom { right: 22px; bottom: 22px; font-size: 16px; }
.vh .chip--bottom b { color: var(--green-dark); }
.vh .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; margin-bottom: 0; padding-block: 28px; list-style: none;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.vh .stats li { display: flex; flex-direction: column; gap: 4px; }
.vh .stats b { font-size: 36px; line-height: 1.1; color: var(--text); }
.vh .stats span { color: var(--muted); font-size: 14px; }
.vh .section.benefits { padding-top: 48px; }
.vh .bnf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vh .bnf { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
    color: var(--text); text-decoration: none; transition: box-shadow .25s, transform .25s;
}
.vh a.bnf:hover { box-shadow: 0 14px 36px rgba(44, 54, 74, .10); transform: translateY(-2px); }
.vh .bnf__top { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 180px; padding: 24px 24px 96px; background: var(--bg); }
.vh .bnf__title { font-size: 20px; line-height: 1.25; }
.vh .bnf__sub { color: var(--green-dark); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vh .bnf__top .vt-icon { position: absolute; right: 20px; bottom: 18px; width: 72px; height: 72px; }
.vh .bnf__text { padding: 18px 24px 22px; color: #555; font-size: 15px; }
.vh a.bnf:hover .bnf__title { color: var(--green-dark); }
.vh .assembly { margin-top: var(--rhythm); background: var(--bg); }
.vh .assembly__pin { min-height: calc(100svh - var(--hd, 0px)); display: flex; align-items: center; padding-block: 64px; }
.vh .assembly__grid { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; width: 100%; }
.vh .steps { margin: 36px 0 0; padding: 0; list-style: none; counter-reset: s; }
.vh .steps__item { position: relative; padding: 0 0 26px 52px; color: var(--muted); transition: color .3s; counter-increment: s; }
.vh .steps__item::before { content: counter(s); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 34px; height: 34px;
    border: 2px solid #cfd5da; border-radius: 50%; font-weight: 700; transition: border-color .3s, background-color .3s, color .3s;
}
.vh .steps__item b { display: block; margin-bottom: 4px; font-size: 19px; }
.vh .steps__item.is-active { color: var(--text); }
.vh .steps__item.is-active::before { border-color: var(--green); background: var(--green); color: #fff; }
.vh .assembly__stage { position: relative; aspect-ratio: 1 / 1; width: min(100%, calc(100svh - var(--hd, 0px) - 128px)); justify-self: center; border-radius: var(--radius-lg); background: #bebcb9; overflow: hidden; box-shadow: 0 20px 60px rgba(44, 54, 74, .08); }
.vh .assembly__bar { position: absolute; left: 24px; right: 24px; bottom: 18px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .5); overflow: hidden; }
.vh .assembly__canvas, .vh .assembly__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vh .assembly__canvas { opacity: 0; transition: opacity .3s; }
.vh .assembly__stage.is-ready .assembly__canvas { opacity: 1; }
.vh .assembly__stage.is-ready .assembly__poster { opacity: 0; }
.vh .assembly__poster { transition: opacity .3s; }
.vh .assembly__link { display: inline-block; margin-top: 8px; }
.vh .assembly__bar span { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.vh .section { padding-top: var(--rhythm); }
.vh .section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.vh .tabs { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vh .tabs__btn { flex: none; white-space: nowrap; }
.vh .tabs__btn { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 700 15px var(--font); color: var(--text); cursor: pointer; }
.vh .tabs__btn.is-active { border-color: var(--text); background: var(--text); color: #fff; }
.vh .cards { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.vh .cards.is-active { display: grid; }
.vh .card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.vh .card__img { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); background: var(--bg); overflow: hidden; }
.vh .card__img--dark { background: var(--graphite); }
.vh .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vh .card:hover .card__img img { transform: scale(1.04); }
.vh .card__name { font-size: 16px; line-height: 1.35; hyphens: auto; overflow-wrap: anywhere; }
.vh .card:hover .card__name { color: var(--green-dark); }
.vh .card__price { font-size: 18px; font-weight: 700; }
.vh .dirs__grid { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px; min-height: 560px; }
.vh .dir { position: relative; display: flex; align-items: flex-end; padding: 32px; border-radius: var(--radius-lg);
    background: var(--bg) center / cover no-repeat; background-image: var(--img, none); text-decoration: none; overflow: hidden;
}
.vh .dir--big { grid-row: span 2; flex-direction: column; justify-content: space-between; align-items: center; }
.vh .dir--big img { width: 60%; margin-top: 24px; }
.vh .dir__body { display: flex; flex-direction: column; gap: 6px; max-width: 420px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .9); }
.vh .dir__body b { font-size: 22px; }
.vh .dir__body span { color: #555; }
.vh .dir:hover .dir__body b { color: var(--green-dark); }
.vh .process__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.vh .process__list li { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.vh .process__num { color: var(--green); font-size: 14px; font-weight: 700; }
.vh .process__list b { font-size: 21px; }
.vh .process__list span:not(.process__num) { color: #555; }
.vh .process__list em { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-style: normal; font-weight: 700; }
.vh .process__bonus { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 18px; font-weight: 700; }
.vh .info__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.vh .info__card { display: flex; flex-direction: column; gap: 10px; min-height: 200px; padding: 28px; border-radius: var(--radius-lg); background: var(--bg); text-decoration: none; }
.vh .info__card b { font-size: 22px; }
.vh .info__card .link-arrow { margin-top: auto; }
.vh .info__card--news { background: var(--green-soft); }
.vh .info__date { margin-top: auto; color: var(--muted); }
.vh .info__card--tg { background: #e8f3fc; }
.vh .cta { padding-bottom: var(--rhythm); }
.vh .cta__box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; padding: 56px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.vh .cta__box p { margin-top: 14px; color: #c9cfda; font-size: 17px; }
.vh .cta__form { display: grid; gap: 12px; }
.vh .cta__form input { height: 56px; padding: 0 18px; border: 1px solid #4a5670; border-radius: var(--radius); background: #36425a; color: #fff; font: 16px var(--font); }
.vh .cta__form input::placeholder { color: #9aa4b8; }
@media (max-width: 1100px) {
    .vh .assembly__grid {grid-template-columns: 1fr 1.2fr; gap: 40px; }
    .vh .cards, .vh .process__list, .vh .bnf-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .vh .hero__grid {grid-template-columns: 1fr; gap: 32px; min-height: 0; }
    .vh .stats {grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vh .assembly__pin {min-height: 0; }
    .vh .assembly__grid {grid-template-columns: 1fr; }
    .vh .dirs__grid {grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
    .vh .dir {min-height: 280px; }
    .vh .dir--big {grid-row: auto; }
    .vh .info__grid, .vh .cta__box {grid-template-columns: 1fr; }
    .vh .cta__box {padding: 32px 24px; }
}
@media (max-width: 520px) {
    .vh .cards {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .vh .process__list, .vh .bnf-grid {grid-template-columns: 1fr; }
    .vh .bnf__top {min-height: 0; padding-bottom: 24px; padding-right: 110px; }
    .vh .tabs {overflow-x: auto; }
    .vh .hero__actions .btn {width: 100%; }
    .vh .stats b {font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .vh *, .vh *::before, .vh *::after { transition: none !important; animation: none !important; }
}
