html {
    scroll-behavior: smooth;
}
* {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    line-height: 110%;
    color: #000000;
}
p {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    letter-spacing: normal;;
    color: rgb(0, 0, 0);
    line-height: 110%;
}
h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 64px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    text-transform: uppercase;
    letter-spacing: normal;
    color: #000;
    line-height: 110%;
}
h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: normal;
    color: #000;
    line-height: 110%;
}
h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: normal;
    color: #000;
    line-height: 110%;
}
h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: normal;
    color: #000;
    line-height: 110%;
}
h5 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: normal;
    color: #000;
    line-height: 110%;
}
h6 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: #000;
    text-transform: uppercase;
    letter-spacing: normal;
    line-height: normal;
    line-height: 110%;
}
.hr {
    margin: 20px 0;
    padding: 0;
    height: 0;
    border: none;
    border-top: 1px solid #CACCCE;
}
button {
    cursor: pointer;
    outline: none;
}
button:focus {
    outline: none;
}
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Шапка */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    width: 160px;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    color: #000000;
    font-weight: 400;
    transition: all 0.3s ease;    
}

.menu a:hover {
    text-decoration: underline;
}

/* 2. Баннер */
.banner {
    height: 760px;
    background: #ffffff;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/image/banner.jpg);
	background-position: center left;
	background-repeat: no-repeat;
	min-height: 600px;
	background-size: cover;
}

.banner .container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin-bottom: 48px;
}

.banner span {
    font-size: 108px;
    font-weight: 800;
    color: #6AA247;
    line-height: 84%;
    text-transform: uppercase;
}

.banner p {
    font-size: 30px;
    color: rgb(0 0 0);
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 32px;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    font-weight: 500;
}

.btn {
    background-color: #000000;
    color: white;
    border: none;
    padding: 15px 110px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.btn:hover {
    background-color: #f7cc4d;
}

.button_block {
    margin: 50px 0;
    text-align: center;
}

/* 3. Информация о компании */

.block_a {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 90px;
    margin-bottom: 120px;
}

.a1 {
    display: flex;
    align-content: center;
    align-items: center;
    width: 100%;
    gap: 10%;
}
.a1 h2 {
    width: 50%;
}
.a1 span {
    color: #358202;
}
.a1 svg {
    margin: auto;
}
.a1 p {
    width: 40%;
    font-size: 28px;
    line-height: 32px;
    font-weight: 500;
}
.a2 {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 90px;
    column-gap: 20px;
    text-align: center;
}
.a2 div svg {
    max-height: 165px;
}
.arrow {
    width: 10%!important;
    margin-top: 50px;
}
.a2 div, .a2 img {
    width: 25%;
}
.a2 p {
    font-size: 18px;
    margin-top: 57px;
    text-align: left;
}
/* 4. Условия для оптовиков */
.partner {
    padding: 80px 0;
    background-color: white;
}

.partner h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: left;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 3% 1fr 3% 1fr;
    gap: 40px;
}
.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.p1 svg {
    margin-top: 20px;
}
.p3 {
    background-color: #EDF5EA;
    padding: 80px 50px;
    border-radius: 0px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: -40px;
}
.partner-card p {
    font-size: 18px;
    text-align: left;
    line-height: 25px;
}
.partner-card-icon {
    text-align: left;
    margin-left: -25px;
    margin-top: 12px;
}

/* 5. Как работает комбезный трейд-ин? */
.how_work-grid {
    display: grid;
    grid-template-columns: repeat(2, 46%);
    gap: 22px;
    margin-top: 28px;
}
.how_work-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 80px;
    background-color: #F6F6F6;
}

.possible {
    background-color: #EDF5EA;
}
.important {
    background-color: #ffffff;
    border: 1px solid #BABABA;
    padding: 21px 26px;
}
.how_work-card p {
    font-size: 18px;
    line-height: 25px;
    margin-top: 10px;
}
.how_work-card h3 {
    display: flex;
    align-items: center;
}

.how_work-card h3 svg {
    margin-right: 15px;
}
.how_work-card ul {
    margin-top: 30px;
    font-size: 18px;
    line-height: 110%;
}
.how_work-card li {
    margin-bottom: 30px;
}
.how_work-card img {
    width: 100%;
}
.hc_img {
    padding: 0;
    background-color: #ffffff;
}

/* 6. Как работает комбезный трейд-ин? */
.city {
    padding: 80px 0;
}
.city-grid {
    display: grid;
    grid-template-columns: 35% 15% 50%;
    margin-top: 30px;
}
.city-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
.city-card p {
    font-size: 18px;
    margin-bottom: 15px;
}
.city-card span {
    font-size: 28px;
    line-height: 110%;
}
.address {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 3;
}
.cg_arrow {
    align-items: center;
    margin-top: 0;
}
.nocity {
    justify-content: flex-end;
}
.nocity .btn {
    padding: 15px 40px;
    text-align: center;
}

/* 7. Инструкция */
.instruction {
    margin: 80px 0;
}
.instruction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}
.instruction-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.instruction-card p {
    text-align: left;
    margin-bottom: 20px;
}
.instruction-card img {
    width: 100%;
    max-width: 330px;
    margin-bottom: 25px;
}

/* 8. Товары */
.products {
    padding: 80px 0;
}

.products-scroll {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.product-card {
    min-width: 30%;
    background-color: white;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-img {
    height: 597px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #d32f2f;
}

/* 9. Отправка почтой */
.pochta h2 {
    margin-bottom: 12px;
}
.pochta_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
    align-items: baseline;
    margin: 46px 0;
}
.pochta_card {

}
.pochta_card p {
    margin-top: 25px;
    line-height: 130%;
}
.pochta_card span {
    font-size: 50px;
    color: #358202;
    padding-right: 25%;
}
.scroll-controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    gap: 15px;
    align-items: center;
}
.scroll-controls a {
    text-decoration: none;
    color: #000;
    margin-right: 60px;
}
.scroll-controls a:hover {
    text-decoration: underline;
}
.scroll-btn {
    border: 0;
    background-color: #ffffff00;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: opacity 0.3s, color 0.3s;
    opacity: 0.6;
}
.scroll-btn:hover {
    opacity: 1;
}

/* 10. Почему стоит участвовать */
.why {
    margin: 80px 0;
}
.why_grid {
    display: grid;
    grid-template-columns: 20% calc(30% - 40px) 20% calc(30% - 40px);
    gap: 25px;
    align-items: start;
    margin: 46px 0;
}
.why_card ul {
    font-size: 18px;
    line-height: 110%;
    margin: 0 15px;
}
.why_card li {
    padding: 0px 20px;
    margin-bottom: 25px;
}
.why_card img {
    width: 100%;
}
li {
    padding: 0 20px;
}
li::marker {
  content: "·";
}

.wc_4 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    height: 99%;
}
.ui_wc_4 {
    height: 60%;
}
.img_wc_4 {
    align-items: flex-end;
    height: 40%;
    display: flex;
}

/* 11. Комбезный трейд-ин ранее */
.above {
    margin: 80px 0;
}
.above_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15%;
    align-items: start;
    margin: 34px 0;
}
.above_card p {
    font-size: 28px;
    line-height: 32px;
}
.above_card span {
    font-size: 54px;
    font-weight: 700;
}

/* 12. Комбезный трейд-ин ранее */

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

.column {
  box-sizing: border-box;
  overflow: hidden;
}

.col-32 { flex: 0 0 32%; }
.col-20 { flex: 0 0 20%; }
.col-28 { flex: 0 0 28%; }

.stacked-images {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stacked-images img {
  width: 100%;
  height: 50%;
  object-fit: cover;
  display: block;
}

.column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 13. Footer */
footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px 40px;
    margin-top: 42px;
    margin-bottom: 40px;
}
.social {
    text-align: right;
}
.social a {
    margin-left: 20px;
}
@media {max-width: 1400) {
    .how_work-grid {
        grid-template-columns: 1fr 1fr;
    }
}
    
}
@media (max-width: 1200px) {
    h2 {
    font-size: 36px;
    }
    .a1 p {
        font-size: 24px;
        line-height: 28px;
    }
    .a2 div svg {
        width: 50%;
    }
    .p3 {
        padding: 40px 40px;
    }
    .instruction-card img {
        width: 80%;
    }
    .products {
        padding: 0 0 80px 0;
    }
    .product-card {
        min-width: 27%;
    }
    .product-img {
        height: 480px;
    }
    .pochta_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 100px;
    }
    .why_grid {
        grid-template-columns: 30% 40%;
    }
    .above_card p {
        font-size: 24px;
        line-height: 28px;
    }
    .above_card span {
        font-size: 46px;
    }
    .container {
        padding: 0 15px;
    }
    
    .banner h1 {
        font-size: 3rem;
    }
    
    .banner p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .banner {
        height: 500px;
    }
    
    .banner h1 {
        font-size: 2.5rem;
    }
    
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 640px;
    }
    .banner::before {
        left: -50%;
        background-position: center center;
    }
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: 1.1rem;
    }
    .banner span {
        font-size: 45px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1
    }
    .image-grid {
        flex-direction: column;
    }
    
    .column {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .stacked-images img {
        height: auto;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 30px;
    }
    h3 {
        font-size: 24px;
    }
    p {
        font-size: 14px;
    }
    .banner {
        height: 640px;
    }
    .banner::before {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0 0 0 / 39%)), url(/image/banner.jpg);
    }
    .banner h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .banner p {
        font-size: 14px;
        color: #ffffff;
        width: 50%;
        line-height: 20px;
    }

    .banner span {
        font-size: 45px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .block_a {
        margin-top: 32px;
        margin-bottom: 0px;
    }
    .a1 {
        flex-direction: column;
    }
    .a1 h2 {
        font-size: 30px;
        width: 100%;
    }
    .a1 p {
        width: 100%;
        font-size: 18px;
        line-height: 28px;
        margin-top: 20px;
    }
    .a2 {
        flex-direction: column;
        align-items: center;
    }
    .a2 div, .a2 img {
        width: 100%;
    }
    .a2 p {
        font-size: 14px;
        margin-top: 30px;
        margin-bottom: 50px;
    }
    .button_block {
        display: none;
    }
    .arrow {
        display: none;
    }
    .partner {
        padding: 20px 0;
    }
    .partner h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }
    .partner-card svg {
        width: 46%;
        margin-bottom: 40px;
    }
    .partner-card p {
        font-size: 14px;
        line-height: normal;
    }
    .products-scroll {
        padding: 10px 0;
        overflow-x: overlay;
    }
    .partner-grid {
        gap: 20px
    }
    .product-card {
        min-width: 260px;
    }
    .partner-card-icon {
        text-align: center;
        margin-left: 0;
        margin-top: 0px;
    }
    .partner-card-icon svg {
        width: 34px;
    }
    .p3 {
        padding: 34px 34px;
        margin-top: 0;
    }
    .how_work {
        margin-top: 80px;
    }
    .how_work-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
    }
    .how_work-card {
        padding: 30px 30px;
    }
    .how_work-card p {
        font-size: 14px;
        line-height: normal;
        margin-top: 16px;
    }
    .hc_img {
        grid-row-start: 1;
    }
    .possible {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .how_work-card ul {
        font-size: 14px;
    }
    .important {
        margin-top: 10px;
    }
    .city-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .city-card {
        align-items: stretch;
    }
    .city-card span {
        font-size: 18px;
    }
    .info {
        margin-bottom: 40px;
    }
    .city-card p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .address {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 2;
        grid-row-end: 3;
    }
    .cg_arrow {
        display: none;
    }
    .nocity {
        justify-content: flex-end;
        margin-top: 76px;
    }
    .instruction {
        margin: 80px 0 0 0;
    }
    .instruction-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
    }
    .instruction-card img {
        max-width: 70%;
    }
    .scroll-controls {
        display: none;
    }    
    .scroll-btn {
        margin: 5px 0;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .pochta_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        align-items: baseline;
        margin: 46px 0;
    }
    .why_grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
        align-items: start;
        margin: 46px 0;
    }
    .why_card ul {
        margin: 0 15px;
    }
    .why_card li {
        padding: 20px 20px;
    }
       .product-img {
        height: 371px;
    }

    .above_grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
        align-items: start;
        margin: 34px 0;
        justify-items: center;
    }
    .above_card {
        text-align: center;
    }
    .above_card span {
        font-size: 42px;
    }
    .above_card p {
        font-size: 18px;
        line-height: normal;
    }
    footer {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
        margin-bottom: 40px;
        justify-items: center;
    }
    .social {
        text-align: center;
    }
}