#n-slider {
    height: 470px;
    width: 100%;
    background-size: cover;
    padding:73px 0;
    color:#fff;
    background-repeat: no-repeat;
}
#n-slider > div {
    display:flex;
    flex-direction: column;
    gap:35px;
}
.main-banner {
    background-image: linear-gradient(90.17deg, rgba(0, 0, 0, 0.75) 48.7%, rgba(0, 0, 0, 0) 99.95%), url(/wp-content/uploads/2026/02/main-scaled.jpg);
}
#n-slider h1 {
    font-weight: 700;
    font-size: 50px;
    line-height: 100%;
    text-transform: uppercase;
}
#n-slider .grid-2 {
    display:flex;
    flex-wrap: nowrap;
    gap:40px;
    justify-content: flex-start;
}
#n-slider .b-line {
    display:flex;
    flex-wrap: nowrap;
    gap:10px;
    justify-content: flex-start;
}
.banner-form {
    padding:23px;
    background: rgba(0,0,0,0.28);
    max-width: 668px;
    border-radius: 8px;
}
.bf-head {
    font-weight: 750;
    font-size: 18px;
    line-height: 26px;
    color:#fff;
    margin-bottom: 10px;
}
.bf-inputs > p {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:10px;
    margin-bottom: 10px;
}
.bf-inputs input[type=text], .bf-inputs input[type=tel] {
    padding:10px;
    background:#fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color:#9A9A9A;
    width:100%;
    border:1px solid transparent;
}
.bf-inputs .wpcf7-not-valid {
    border:1px solid red;
    color:red
}
.bf-inputs input[type=tel].wpcf7-not-valid::placeholder {
    color:red
}
.banner-form .wpcf7-spinner {
    display:none !important;
}
.banner-form .agree-form label {
    color:#fff;
    font-size: 14px;
}
.banner-form .agree-form label a {
    color:#fff;
    text-decoration: underline;
}
.banner-form .wpcf7-submit {
    font-weight: 750;
    font-size: 18px;
    line-height: 100%;
}


@media(max-width:1200px) {
    #n-slider {
        padding: 73px 40px;
    }
}

@media(max-width:767px) {
    #n-slider {
        padding:20px 10px 0;
        height: auto;
        background-position: center;
        margin-bottom: 20px;
    }
    #n-slider > div {
        gap:15px
    }
    #n-slider h1 {
        font-size: 24px;
    }
    .bf-inputs > p {
        grid-template-columns: 1fr 1fr;
    }
    .bf-inputs > p .wpcf7-submit {
        grid-column: span 2;
    }
    #n-slider > div:after,
    #n-slider .grid-2 {
        display:none
    }
    .bf-inputs input[type=text], .bf-inputs input[type=tel] {
        font-size:13px
    }
}