/* Hero v2 — отдельный файл, не трогает main.css / reset.css */

:root {
    --hero-site-gutter: 6vw;
    --hero-site-col-pad: 0.5rem;
    --hero-site-content-pad: calc(var(--hero-site-gutter) + var(--hero-site-col-pad));
}

/* Сетка: шапка и баннер на одной линии (только главная) */
body.main_page .header .top_head {
    padding-left: var(--hero-site-content-pad);
    padding-right: var(--hero-site-content-pad);
}

/* === HERO v2 === */
section#first.hero2 {
    padding: 10.5em 0 7.5em;
}

section#first.hero2 .container,
section.production-proof .container {
    max-width: 100% !important;
    width: 100%;
    padding-left: var(--hero-site-content-pad);
    padding-right: var(--hero-site-content-pad);
}

section#first.hero2 .container > .row {
    --bs-gutter-x: 2rem;
    margin-left: 0;
    margin-right: 0;
}

section#first.hero2 .container > .row > [class*="col-"] {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}

section#first.hero2 .container > .row > [class*="col-"]:first-child {
    padding-left: 0;
}

section#first.hero2 .container > .row > [class*="col-"]:last-child {
    padding-right: 0;
}

.hero2 .first-wrapper {
    max-width: none;
}

.hero2__kicker {
    font-size: .85em;
    opacity: .92;
    letter-spacing: .02em;
}

.hero2__title {
    font-family: 'bounded', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2.15em;
    line-height: 1.08em;
    margin-bottom: .55em;
    max-width: none;
    text-wrap: balance;
}

.hero2__title-accent {
    display: inline-block;
    margin-left: .25em;
    position: relative;
    z-index: 1;
}

.hero2__title-accent:after {
    content: '';
    position: absolute;
    left: -.15em;
    right: -.15em;
    bottom: .05em;
    height: .35em;
    background: var(--bgbtn);
    z-index: -1;
    opacity: .9;
}

.hero2__subtitle {
    text-transform: none !important;
    font-weight: 600 !important;
    opacity: .95;
    line-height: 1.35em;
    max-width: none;
}

.hero2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    align-items: center;
    margin: 1.6em 0 1.6em;
}

.hero2__primary {
    box-shadow: 8px 8px 12px 0 #00000040;
}

.hero2__secondary {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.hero2__secondary:hover {
    background: #fff;
    color: var(--btn);
    border-color: #fff;
}

.hero2__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8em;
    margin-bottom: 1.2em;
}

.hero2__benefit {
    background: rgba(0, 0, 0, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: .9em 1em;
}

.hero2__benefit-title {
    font-family: 'bounded', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    line-height: 1.05em;
    margin-bottom: .25em;
}

.hero2__benefit-text {
    color: #fff;
    opacity: .88;
    text-transform: uppercase;
    font-size: .72em;
    line-height: 1.2em;
}

.hero2__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75em;
    color: #fff;
    opacity: .92;
    text-transform: none !important;
    font-weight: 600;
}

.hero2__messengers {
    display: inline-flex;
    align-items: center;
    gap: .45em;
}

.hero2__messengers img {
    width: 1.35em;
    height: 1.35em;
    object-fit: contain;
}

.hero2__dot {
    width: .55em;
    height: .55em;
    background: var(--bgbtn);
    display: inline-block;
}

.hero2__panel {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 2em;
    backdrop-filter: blur(6px);
    height: 100%;
}

.hero2__panel-title {
    font-family: 'bounded', sans-serif;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.35em;
    margin-bottom: .5em;
}

.hero2__panel-subtitle {
    color: #fff;
    opacity: .9;
    text-transform: none !important;
    font-weight: 600;
    line-height: 1.35em;
    margin-bottom: 1em;
}

.hero2__panel-form {
    display: grid;
    gap: .7em;
    margin-bottom: .2em;
}

.hero2__panel-form .input-filed {
    display: block;
    width: 100%;
    margin-bottom: 0;
}

.hero2__panel-form .input,
.hero2__panel-form textarea {
    font-family: Montserrat, sans-serif;
    font-size: .95em;
    font-weight: 500;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(0, 0, 0, 0.24);
    color: #fff;
    padding: .85em .95em;
    outline: none;
    cursor: text;
}

.hero2__panel-form .input::placeholder,
.hero2__panel-form textarea::placeholder {
    color: rgba(255, 255, 255, .76);
    font-family: Montserrat, sans-serif;
    opacity: 1;
}

.hero2__panel-form .input:focus,
.hero2__panel-form textarea:focus {
    border-color: #fff;
}

.hero2__panel-form .form_submit {
    margin-top: .15em;
}

.hero2__privacy {
    display: flex;
    align-items: flex-start;
    gap: .75em;
    margin-top: .15em;
    line-height: 1.25em;
}

.hero2__privacy input[type="checkbox"] {
    width: 1.15em !important;
    height: 1.15em !important;
    min-width: 1.15em;
    min-height: 1.15em;
    flex-shrink: 0;
    margin-top: .1em;
    cursor: pointer;
    accent-color: var(--bgbtn);
}

.hero2__title-line {
    white-space: nowrap;
}

.hero2__panel-form .polit {
    color: #fff;
    opacity: .92;
    font-family: Montserrat, sans-serif;
    font-size: .75em;
    letter-spacing: 0;
}

.hero2__panel-form .polit a {
    color: #fff;
    text-decoration: underline;
}

.hero2__panel-form .button {
    width: 100%;
}

.hero2__panel-foot {
    margin-top: 1em;
    color: #fff;
    opacity: .85;
    font-size: .9em;
    text-transform: none !important;
    font-weight: 600;
}

/* Блок доверия под баннером */
section.production-proof {
    margin-top: -1rem;
}

section.production-proof h2:after {
    display: none;
}

.production-proof__title-mark {
    position: relative;
    z-index: 1;
}

.production-proof__title-mark:after {
    content: '';
    position: absolute;
    left: -.08em;
    right: -.08em;
    bottom: .02em;
    height: 55%;
    background: var(--bgbtn);
    z-index: -1;
}

.production-proof__lead {
    text-transform: none !important;
    font-weight: 600 !important;
    color: #444 !important;
    margin-bottom: 1.2em !important;
}

.production-proof__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9em;
}

.production-proof__item {
    border: 1px solid #d9d9d9;
    padding: 1em;
    background: #fff;
}

.production-proof__value {
    font-family: 'bounded', sans-serif;
    text-transform: uppercase;
    font-size: .9em;
    line-height: 1.2em;
    margin-bottom: .5em;
}

.production-proof__text {
    color: #555;
    line-height: 1.35em;
}

.production-proof__cta {
    background: var(--gray);
    padding: 1.5em;
    border-left: 6px solid var(--bgbtn);
}

.production-proof__cta p {
    text-transform: none;
    color: #333;
    font-weight: 600;
    margin-bottom: 1em;
}

.production-proof__cta .button {
    width: 100%;
}
