section {
    scroll-margin-top: 100px;
}
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: 40px;
    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;
}

* {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    line-height: 110%;
    color: #000000;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. Шапка */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.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: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: flex-end;
    position: relative;
    margin-top: 80px; /* высота шапки */
}

.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: 64px;
    font-weight: 700;
    color: white;
    line-height: 1.05;
}

.banner p {
    font-size: 28px;
    color: rgb(255 255 255);
    margin-top: 15px;
    margin-bottom: 30px;
    line-height: 32px;
    letter-spacing: -0.3px;
}

.btn {
    background-color: #000000;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #f7cc4d;
}

/* 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: 80px;
}

.a1 {
    display: flex;
    align-content: center;
    align-items: center;
    width: 100%;
}
.a1 h2 {
    width: 50%;
}
.a1 svg {
    margin: auto;
}
.a1 span {
    width: 30%;
    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;
}
.a2 div, .a2 img {
    width: 100%;
}
.a2 p {
    font-size: 18px;
    margin-top: 16px;
}

.block_b {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    align-items: flex-start;
}
.b_column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 30px;
}
.teaser {
    display: flex;
    align-items: flex-end;
    height: 200px;
}
.teaser p {
    font-size: 54px;
    font-weight: 700;
    text-align: center;
    line-height: 40px;
}
.teaser span {
    font-size: 28px;
}
.teaser img {
    max-width: 130px;
}


/* 4. Условия для оптовиков */
.partner {
    padding: 80px 0;
    background-color: white;
}

.partner h2 {
    margin-bottom: 50px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.partner-card {
    background-color: #F4F4F4;
    padding: 14px 30px 30px 30px;
    text-align: left;
    transition: background-color 0.3s;
    position: relative;
}
.partner-card:hover {
    background-color: #FCCC49;
}
.partner-card p {
    font-size: 30px;
}

.partner-card a {
    text-decoration: none;
}

.partner-card span {
    color: #00000075;
    font-size: 16px;
}
.dotted-line {
  border: none;
  border-top: 1px dashed #B0B0B0;
  margin: 50px -30px 30px -30px;
  transition: border-top 0.3s;
}
.partner-card:hover .dotted-line {
    border-top: 1px dashed #ffffff;
}
.dotted-line::after {
    content: '';
    position: absolute;
    left: -12px;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
}
.dotted-line::before {
    content: '';
    position: absolute;
    margin-top: -12px;
    right: -12px;
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
}
.pc_button {
    background-color: #2C2C2C;
    display: flex;
    align-items: flex-end;
}
.pc_button p {
    color: #fff;
}
.informer p {
    font-size: 16px;
    line-height: 140%;
    font-weight: 400;
    margin-top: 15px;
}

/* 5. Инфо-баннер */
.info_banner {
    height: 700px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    position: relative;
    margin: 80px 0;
}

.info_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/image/infobanner.jpg);
	background-position: center left;
	background-repeat: no-repeat;
	min-height: 300px;
	background-size: cover;
}

.info_banner .container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin-bottom: 48px;
}

.info_banner span {
    font-size: 64px;
    font-weight: 700;
    color: white;
    line-height: 1.05;
}

.info_banner p {
    font-size: 34px;
    color: rgb(0, 0, 0);
    margin-top: 15px;
    margin-bottom: 30px;
    line-height: 140%;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    font-weight: 600;
}

.info_banner .btn {
    background-color: #FCCC49;
    color: #000000;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0px;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.info_banner .btn span {
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.info_banner .btn:hover {
    background-color: #000000;
    color: #ffffff!important;
}


/* 6. Почему партнеры выбирают BUNGLY? */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    align-items: start;
    margin: 110px 0 80px 0px;
    justify-items: center;
}
.why-card {
    text-align: left;
}
.why-card span {
    font-size: 42px;
}
.why-card p {
    font-size: 18px;
    line-height: normal;
    text-align: left;
    margin-top: 70px;
}
.why-card svg {
    margin-left: 20px;
}

/* 7. Менеджеры */
.manager
{
    background-color: #F6F6F6;
    padding: 100px 25%;
}
.manager-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
}
.manager-info h2 {    
    margin-bottom: 20px;
}
.manager p {
    margin-bottom: 33px;
}
.manager-img {
    text-align: right;
}

/* 8. Товары */
.products {
    padding: 80px 0;
}
.products h2 {
    margin-bottom: 42px;
}
.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-card a {
    text-decoration: none;
}
.product-card h4 {
    color: #fff;
    font-weight: 400;
    font-size: 34px;
    padding: 40px;
}
.product-img {
    height: 597px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.pi_btn {
    background-color: #FCCC49;
    position: relative;
}
.pi_btn h4 {
    color: #000000;
}
.pi_btn h4::before {
    content: 'Все ТОВАРЫ';
    position: absolute;
    top: 28px;
    font-size: 14px;
    line-height: normal;
}
.product-info {
    padding: 20px;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}
.price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #d32f2f;
}
.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;
}
.feedback-scroll-btn, .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;
}
.feedback-scroll-btn, .scroll-btn:hover {
    opacity: 1;
}

/* 9. Легкий старт вашего бизнеса с BUNGLY */
.start {
    margin: 80px 0;
}
.start p {
    margin-top: 16px;
}
.start ul {
    margin: 0px 30px;
}
.start li {
    font-size: 18px;
    font-weight: 500;
    line-height: 130%;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.start-grid {
    display: grid;
    grid-template-columns: 30% 20% 20% 20%;
    gap: 2%;
    margin-top: 42px;
}
.start-card {
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
.start-card img {
    max-width: 100%;
    width: 100%;
}

/* 10. Отзывы */
.feedback-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.feedback {
    margin: 80px 0;
}
.feedback-scroll {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}
.feedback-card {
    min-width: 50%;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    gap: 4%;
    position: relative;
    align-items: flex-start;
}
.fb-text {
    width: 70%;
    background-color: #F6F6F6;
    padding: 30px;
}
.fb-text::before {
    content: '';
    position: absolute;
    top: 70px;
    left: calc(30% + 6px);
    right: 0;
    bottom: 0;
    background-color: #F6F6F6;
    height: 30px;
    width: 30px;
    transform: rotate(45deg);
}
.fb-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 20px;
}
.fb-photo {
    width: 30%;
}
.fb-photo p {
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    margin: 20px 0;
}
.fb-photo span {
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
}


/* 11. Условия */
.rules {
    margin: 80px 0;
}
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2%;
    margin-top: 42px;
}
.rules-grid a:hover {
    color: #d3a314;
}
.rules-card {
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: flex-start;
}
.rules-grid h2 {
    margin-bottom: 30px;
}
.rules-grid p {
    font-size: 16px;
    line-height: 140%;
    font-weight: 400;
    margin-bottom: 20px;
}

.rules-grid ul {
    margin: 0px 30px;
}
.rules-grid li {
    font-weight: 400;
    line-height: 140%;
    font-weight: 400;
    margin-bottom: 20px;
}

.cert-grid {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 2%;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}
.cert-card {
    width: 15%;
    background-color: white;
    overflow: hidden;
    transition: transform 0.3s;
}
.cert-card-img {
    height: 339px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.cc-btn {
    background-color: #2C2C2C;
}
.cc-btn p {
    font-size: 22px;
    text-transform: uppercase;
    padding: 25px;
    color: #ffffff;
}

/* 12. Footer */
footer p {
    font-size: 16px;
}
footer h2 {
    margin: 80px 0 30px 0;
}
.contacts {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin: 40px 0;
    align-items: center;  
    justify-content: space-between;
}
.contacts a:hover {
    color: #d3a314;
}
.agreement {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin: 40px 0;
    text-transform: uppercase;
}
.agreement p {
    font-size: 14px;
    color: #0E0E0E;
    opacity: 0.5;
}
.agreement a {
    font-size: 14px;
    color: #0E0E0E;
    opacity: 0.5;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1440px) {
    .contacts {
        gap: 20px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .banner p {
        font-size: 1.3rem;
    }
    .contacts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 30px;
    }

    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .menu {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    
    .banner {
        height: 500px;
    }

    .banner::before {
        background-position: center center;
        min-height: 500px;        
    }

    .banner span {
        font-size: 50px;
    }

    .banner p {
        font-size: 1.1rem;
        line-height: normal;
    }
    
    .a1 {
        flex-direction: column;
    }

    .a1 h2 {
        width: 100%;
    }

    .a1 svg {
        display: none;
    }

    .a1 span {
        width: 100%;
        margin-top: 30px;
        font-size: 24px;
        line-height: 30px;
    }

    .block_b {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .partner-grid {
        grid-template-columns: 1fr;
    }
    
    .manager-grid {
        grid-template-columns: 1fr;
    }

    .manager {
        padding: 40px 20px;
        text-align: center;
    }

    .manager-img {
        text-align: center;
    }

    .why-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card {
       min-width: 40%;
    }

    .product-img {
        height: 450px;
    }

    .start-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feedback-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 400px;
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1
    }


/* Продолжение styles.css */

@media (max-width: 480px) {
    h2 {
        font-size: 30px;
        line-height: 130%;
    }
    p {
        font-size: 14px;
    }
    .menu {
        display: none;
    }
    .banner {
        height: 685px;
        margin-bottom: 25px;
    }
    .banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: -420px;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgb(0 0 0 / 39%)), url(/image/banner.jpg);
        background-position: bottom center;
        background-repeat: no-repeat;
        min-height: 624px;
        background-size: cover;
    }
    .banner span {
        font-size: 40px;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.05;
    }
    
    .banner p {
        font-size: 1rem;
        line-height: normal;
    }
    
    .btn {
        padding: 18px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .block_a {
        margin-top: 20px;
    }

    .a1 {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .a1 svg {
        display: none;
    }

    .a1 h2 {
        width: 100%;
    }

    .a1 span {
        width: 100%;
        font-size: 18px;
        line-height: 26px;
        font-weight: 500;
        margin-top: 30px;
    }

    .a2 {
        width: 100%;
        align-items: flex-start;
        justify-content: space-between;
        margin-top: 50px;
        row-gap: 40px;
        flex-direction: column;
    }

    .a2 p {
        font-size: 14px;
        margin-top: 16px;
    }

    .block_b {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .partner {
        padding: 0 0 80px 0;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-card {
        padding: 9px 11px 14px 11px;
    }

     .partner-card a {
        text-decoration: none;
    }

    .partner-card p {
        font-size: 18px;
    }

    .partner-card span {
        font-size: 12px;
    }

    .dotted-line {
        margin: 20px -11px 20px -11px;
    }

    .informer p {
        font-size: 14px;
    }

    .info_banner .container {
        margin-bottom: 30px;
    }

    .info_banner {
        margin: 0 0 80px 0;
        height: 370px;
        align-items: flex-end;
    }
    
    .info_banner::before {
        background-position: -280px center;
    }

    .info_banner p {
        font-size: 22px;
        line-height: 32px;
        width: 55%;
    }

    .info_banner .btn {
        width: 100%;
    }

    .info_banner .btn span {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
        margin: 50px 0 80px 0px;
    }

    .why-card {
        text-align: center;
        width: 80%;
    }

    .why-card p {
        font-size: 14px;
        text-align: center;
        margin-top: 25px;
    }

    .why-card svg {
        margin-left: 0;
    }

    .manager {
        padding: 40px 0;
    }

    .manager-img {
        text-align: center;
    }

    .text {
        text-align: center;
    }

    .teaser {
        height: 100%;
    }

    .teaser p {
        font-size: 36px;
    }

    .teaser span {
        font-size: 22px;
    }

    .manager-grid {
        grid-template-columns: 1fr;
    }

    .product-img {
        height: 280px;
    }

    .product-card h4 {
        font-size: 18px;
        padding: 20px;
    }

    .products-scroll {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 10px 0;
    }
    
    .product-card {
        min-width: 100%;
    }
    
    .scroll-controls {
        display: none;
    }
    .feedback-scroll {
        gap: 40px;
        flex-direction: column;
    }
    
    .feedback-scroll-btn, .scroll-btn {
        margin: 5px 0;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .start {
        margin: 0 0 80px 0;
    }

    .start-card p {
        font-size: 18px;
    }

    .start-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }

    .contacts {
        flex-direction: column;
    }

    .feedback-grid {
        flex-direction: column;
        gap: 50px;
    }

    .feedback-card {
        min-width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .fb-photo {
        width: 100%;
        text-align: center;
    }

    .fb-text {
        width: 100%;
    }

    .fb-text::before {
        display: none;
    }

    .agreement {
        flex-direction: column;
        gap: 20px
    }

    .contacts {
        display: flex;
        align-items: flex-start;
    }
}

/* Общие стили для плавного перехода */
* {
    transition: all 0.3s ease;
}

/* Сброс стилей для кнопок */
button {
    cursor: pointer;
    outline: none;
}

button:focus {
    outline: none;
}

/* Стили для якорных ссылок (плавный скролл) */
html {
    scroll-behavior: smooth;
}