@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Montserrat-Regular.ttf");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/Montserrat-SemiBold.ttf");
}

@font-face {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Montserrat-Bold.ttf");
}

@font-face {
    font-family: Oswald;
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Oswald-Regular.ttf");
}

@font-face {
    font-family: Oswald;
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Oswald-Medium.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Montserrat, sans-serif;
    color: #111111;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.logo img {
    width: 181px;

}

.main {
    background-image: url("../images/bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding-top: 24px;
    padding-bottom: 245px;
}

.header {
    margin-bottom: 168px;
}

.header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .nav .menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    font-size: 14px;
}

.header .nav .menu .menu-item a {
    text-decoration: none;
    color: white;
}

.contacts {
    display: flex;
    background-color: #111111;
    color: #fff;
    padding: 12px;
    border-radius: 1000px;
}

.contacts .contact-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 14px;
}

.contacts .contact-icons .contact-icon {
    width: 22px;
    height: 22px;
    background-color: #D97121;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.contacts .contact-icons .contact-icon img {
    position: relative;
}

.contacts .phone {
    font-weight: 600;
    position: relative;
    font-size: 14px;
    top: 2px;
    text-decoration: none;
    color: #fff;
}

.burger-btn {
    display: none;
    cursor: pointer;
}

.burger-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 387px;
    background: #000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 32px 24px 40px 24px;
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;

}

.burger-list {
    list-style-type: none;
}

.burger-list li:not(:last-child) {
    margin-bottom: 24px;
}

.burger-list li a {
    text-decoration: none;
    font-size: 14px;
    color: white;
}

.burger-menu .contacts {
    background-color: white;
}

.burger-menu .contacts .phone {
    color: #111111;
}

.burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 900;
}

.close-menu {
    margin-bottom: 30px;
}

.burger-list {
    margin-bottom: 40px;
}

.burger-menu.active {
    right: 0;
}

.burger-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    background: none;
    border: none;
    cursor: pointer;
    align-self: flex-end;
}


.hero {
    position: relative;
}

.hero .hero-title {
    font-family: Oswald, sans-serif;
    font-weight: 500;
    font-size: 160px;
    color: #fff;
}

.hero .hero-block {
    width: 36.8%;
    height: 211px;
    position: absolute;
    background-color: #D97121;
    padding: 40px 100px;
    color: #fff;
    right: 0;
    bottom: -245px;
    border-radius: 8px 0 8px 8px;
}

.block-text {
    margin-bottom: 48px;
    font-size: 20px;
    line-height: 120%;
}

.block-action {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    color: #fff;
    position: relative;   /* для подчеркивания */
    overflow: hidden;
    transition: transform 0.3s ease; /* плавное смещение всей кнопки */
}

.block-action::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.block-action:hover {
    transform: translateY(-5px);
}

.block-action:hover::after {
    width: 100%;
}

.action-text {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
}

.action-arrow {
    width: 27px;
    height: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about {
    padding: 120px 0;
}

.about .container {
    display: flex;
}

.about-main {
    background-color: #D97121;
    padding: 32px 18px 0 18px;
    border-radius: 8px;
    margin-right: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-title {
    font-family: Oswald, sans-serif;
    font-size: 48px;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
}

.about-text {
    background-color: #F3F3F3;
    padding: 32px;
    border-radius: 8px;
}

.about-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.about-advantage {
    background-color: #ffffff;
    width: 170.5px;
    height: 123px;
    padding: 16px;
    border-radius: 8px;
}

.advantage-icon {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #D97121;
    margin-bottom: 16px;
}

.advantage-text {
    font-size: 14px;
    line-height: 120%;
}

.about-description {
    font-size: 16px;
    line-height: 120%;
}

.about-description p:not(:last-child) {
    margin-bottom: 16px;
}

.about-conditions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    background-image: url("../images/about-image2.png");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
}

.conditions-text {
    font-weight: 600;
    color: #fff;
    font-size: 20px;
    line-height: 120%;
    max-width: 367px;
}


.products {
    padding: 80px 0;
    background-color: #F3F3F3;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.products-title {
    font-size: 16px;
    text-transform: uppercase;
}

.products-chapter {
    font-family: Oswald, sans-serif;
    font-size: 48px;
    font-weight: 400;
    text-transform: uppercase;
}

.products-nav {
    margin-top: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.products-nav-item {
    padding: 10px 18px;
    background-color: #FFF;
    border-radius: 1000px;
    font-size: 16px;
    text-decoration: none;
    color: #111111;
}

.products-nav-item.active {
    font-weight: 700;
    background-color: #D97121;
    color: #fff;
}

.products-cards {
    margin-top: 32px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, 292px);
    margin-bottom: 100px;
}

.product-card {
    padding: 8px;
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.product-image {
    border-radius: 8px;
    width: 100%;
    margin-bottom: 16px;
    position: relative;
}

.product-extra {
    position: absolute;
    display: flex;
    align-items: flex-end;
    bottom: 8px;
    left: 8px;
    right: 8px;
    justify-content: space-between;
}

.product-sizes {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
}

.product-size {
    padding: 6px 10px;
    background-color: #fff;
    border-radius: 100px;
    font-size: 10px;
}

.product-colors {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.colors-list {
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 200px;
}

.color-item {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: -8px;
}

.color-item:first-child {
    margin-left: 0;
}

.color-item.colors-more {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    flex-shrink: 0;
}

.product-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.product-type {
    padding: 6px 10px;
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    border-radius: 100px;
    top: 16px;
    left: 16px;
    text-transform: uppercase;
}

.product-type.product-velstroy {
    background-color: #D97121;
}

.product-type.product-polimer {
    background-color: #000;
}

.product-name {
    font-size: 16px;
    margin-bottom: 16px;
}

.product-characteristics {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    justify-content: space-between; /*КДА*/
}

.characteristic-name {
    font-size: 12px;
    margin-bottom: 4px;
    color: #888;
}

.characteristic-value {
    font-size: 14px;
    color: #111111;
    line-height: 1.46em;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
}

.special-offer {
    padding: 32px 56px 30px 32px;
    background-image: url("../images/offer-image.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
}

.favorable-conditions {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #D97121;
    width: 170px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-bottom: 96px;
}

.offer-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}

.offer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-description {
    font-size: 16px;
    line-height: 120%;
    max-width: 611px;
    color: #fff;
}

.offer-footer .contacts {
    background-color: white;
}

.offer-footer .contacts .phone {
    color: #111111;
}

.services {
    padding: 120px 0;
}

.services .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-title {
    font-family: Oswald, sans-serif;
    font-size: 48px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.service-description {
    font-size: 16px;
    line-height: 120%;
}

.service-description p {
    margin-bottom: 16px;
}


.reviews {
    margin-bottom: 120px;
    overflow: hidden;
}

.reviews-title {
    font-family: Oswald, sans-serif;
    font-size: 48px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.review-slider {
    margin-bottom: 120px;
    overflow: visible;
}

.review-slider .swiper-wrapper {
    overflow: visible;
}

.review-item {
    background-color: #F3F3F3;
    padding: 103px 24px 24px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 413px;
    position: relative;
}

.review-quotes {
    position: absolute;
    font-family: Oswald, sans-serif;
    font-weight: 400;
    font-size: 80px;
    top: 15px;
}

.review-text {
    font-size: 14px;
    line-height: 120%;
}

.review-info {
    font-size: 14px;
}

.review-name {
    margin-bottom: 8px;
    text-transform: uppercase;
}

.review-date {
    color: #11111180;
}

.swiper-button-next, .swiper-button-prev {
    color: #111111;
}

.review-arrows {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    gap: 70px;
}

.review-arrows .swiper-button-prev,
.review-arrows .swiper-button-next {
    position: relative;
}

.reviews .special-offer .offer-footer {
    align-items: flex-end;
}

.reviews .special-offer .offer-footer .offer-description {
    font-size: 40px;
    font-weight: 600;
    line-height: 120%;
    max-width: 860px;
}


.footer {
    background-color: #080A0C;
    color: #fff;
    padding: 40px 0;
}

.footer-row {
    font-size: 14px;
    margin-bottom: 5px;
    gap: 30px;
    display: grid;
    justify-content: space-between;
    grid-template-columns: 480px 272px 216px;
}

.footer-info {
    display: flex;
    gap: 26px;
    align-items: flex-start;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery {
    padding-bottom: 120px;
}

.gallery .container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}


.gallery-text {
    max-width: 397px;
}

.gallery-title {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.gallery-description {
    font-family: Oswald, sans-serif;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 400;
}

.gallery-slider {
    flex: 1;
    min-width: 0;
}

.gallery .swiper-wrapper {
    overflow: visible;
}

.gallery-item {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.gallery-vertical {
    max-width: 300px;
}

.footer-nav {
    display: flex;
    gap: 70px;
}

.footer-nav-products {
    display: flex;
    flex-direction: column;
    max-width: 142px;
    gap: 24px;
}

.footer-nav-menu {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
}

.footer-contacts .contacts {
    background-color: white;
    margin-bottom: 24px;
    width: 208px;
}

.footer-contacts .contacts .phone {
    color: #111111;
}

.rights {
    font-size: 12px;
}

.f-caption {
    text-align: center;
}

.product-card[data-title] {
    cursor: pointer;
}

@media screen and (max-width: 1409px) {
    .hero .hero-block {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media screen and (max-width: 1299px) {
    .about .container {
        flex-direction: column;
    }

    .about-main {
        margin-right: 0;
        margin-bottom: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 32px;
    }

    .products-cards {
        grid-template-columns: repeat(3, minmax(292px, 1fr));
        justify-content: space-between;
    }

    .product-characteristics {
        justify-content: space-between;
    }


    .reviews .special-offer .offer-footer .offer-description {
        font-size: 35px;
    }

}

@media screen and (max-width: 1250px) {
    .review-item {
        height: 491px;
    }

    .reviews .special-offer .offer-footer .contacts {
        position: absolute;
        top: 75px;
    }
}

@media screen and (max-width: 1172px) {
    .gallery {
        overflow: hidden;
    }

    .gallery .container {
        display: block;
    }

    .gallery .swiper-wrapper {
        overflow: visible;
    }

    .gallery-slider {
        overflow: visible;
    }

    .gallery-text {
        margin-bottom: 32px;
    }

    .footer .container {
        padding: 0 30px;
    }

    .footer-row {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 30px;
    }

    .footer-info {
        grid-column: 1/3;
        justify-content: center;
    }

    .footer-contacts {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: flex-end;
    }

    .rights {
        text-align: right;
    }
}

@media screen and (max-width: 1132px) {
    .header .nav .menu {
        display: none;
    }

    .burger-btn {
        display: block;
    }
}


@media screen and (max-width: 1024px) {
    .hero .hero-title {
        font-size: 140px;
    }

    .hero .hero-block .block-text {
        font-size: 18px;
    }

    .favorable-conditions {
        margin-bottom: 112px;
    }

    .offer-footer .contacts {
        position: absolute;
        top: 75px;
    }
}

@media screen and (max-width: 986px) {
    .products-cards {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }

    .product-characteristics {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: left;
    }

    .reviews .special-offer .offer-footer .offer-description {
        font-size: 30px;
    }
}


@media screen and (max-width: 930px) {
    .hero .hero-title {
        font-size: 130px;
    }

    .hero .hero-block {
        height: 205px;
    }

    .hero .hero-block .block-action .action-text {
        font-size: 14px;
    }

    .service-title {
        font-size: 40px;
    }
}


@media screen and (max-width: 848px) {
    .main {
        background-size: 1400px 100%;
        background-position: 70%;
    }

    .hero .hero-title {
        font-size: 120px;
    }

    .hero .hero-block {
        width: 43%;
        height: 197px;
        padding: 24px;
    }


    .hero .hero-block .block-action .action-text {
        font-size: 16px;
    }

    .about {
        padding: 72px 0;
    }

    .about-advantages {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-advantage {
        width: 100%;
    }

    .services {
        padding: 72px 0;
    }

    .reviews {
        margin-bottom: 72px;
    }

    .reviews-title {
        font-size: 40px;
    }

    .review-slider {
        margin-bottom: 72px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .main {
        background-image: url("../images/bg-adaptive.png");
        background-size: 100% 100%;
        background-position: center;
    }

    .hero .hero-title {
        font-size: 79px;
    }

    .hero .hero-block {
        height: 173px;
        width: 80.5%;
        right: unset;
        left: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 0;
    }

    .hero .hero-block .block-text {
        max-width: 307px;
    }

    .about-main {
        flex-direction: column;
        padding: 24px 12px 0 12px;
    }

    .about-conditions {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .products {
        padding: 24px 0;
    }

    .products-chapter {
        font-size: 40px;
    }

    .products-cards {
        margin-bottom: 48px;
    }

    .offer-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .services .container {
        grid-template-columns: repeat(1, 1fr);
    }

    .service-title {
        margin-bottom: 16px;
    }

    .gallery {
        padding-bottom: 72px;
    }

    .footer-info {
        justify-content: space-between;
    }

    .rights {
        text-align: left;
    }
}

@media screen and (max-width: 695px) {
    .product-name {
        font-size: 14px;
    }

    .product-price {
        justify-self: flex-end;
    }

    .product-characteristics {
        gap: 16px;
    }

    .characteristic-name {
        font-size: 11px;
    }

    .characteristic-value {
        font-size: 12px;
    }

    .gallery-vertical {
        max-width: 250px;
    }

    .footer-row {
        grid-template-columns: 1fr;
    }

    .footer-info {
        grid-column: 1/2;
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-contacts {
        align-items: center;
    }

    .rights {
        text-align: center;
    }
}

@media screen and (max-width: 623px) {
    .product-extra .product-colors .color-item {
        width: 18px;
        height: 18px;
    }

    .product-extra .product-colors .color-item:nth-child(7),
    .product-extra .product-colors .color-item:nth-child(8),
    .product-extra .product-colors .color-item:nth-child(9),
    .product-extra .product-colors .color-item:nth-child(10)
    {
        display: none;
    }

    .product-extra .product-size {
        padding: 4px 7px;
    }
}

@media screen and (max-width: 565px) {
    .header .nav .contacts {
        padding: 7px;
    }

    .header .nav .contacts .phone {
        font-size: 10px;
    }

    .header .nav .contacts .contact-icons {
        margin-right: 7px;
    }

    .header .nav .contacts .contact-icon {
        width: 15px;
        height: 15px;
    }

    .header .nav .contacts .contact-icon img {
        width: 12px;
        height: 12px;
    }

    .header .nav .contacts .contact-icon:nth-child(2) {
        position: relative;
        left: 1px;
    }

    .characteristic-name {
        min-width: 82px;
    }

    .product-characteristics {
        gap: 8px;
    }

    .offer-title {
        font-size: 24px;
    }

    .reviews .special-offer .offer-footer .offer-description {
        font-size: 24px;
    }

    .gallery-item {
        max-width: 359px;
        height: 240px;
    }

    .gallery-vertical {
        max-width: 180px;
    }

    .gallery-description {
        font-size: 40px;
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (max-width: 490px) {
    .about-main {
        align-items: flex-start;
        padding: 24px 24px 0 24px;
    }

    .about-image {
        position: relative;
        right: 27px;
    }

    .about-advantages {
        grid-template-columns: repeat(1, 1fr);
    }

    .about-advantage {
        display: flex;
        align-items: center;
        gap: 16px;
        height: unset;
        padding: 16px;
    }

    .advantage-text {
        max-width: 223px;
    }

    .advantage-icon {
        margin: 0;
    }

    .about-text {
        padding: 24px;
    }

    .about-description {
        font-size: 14px;
    }

    .product-characteristics {
        gap: 7px;
    }

    .characteristic-name {
        min-width: unset;
    }

    .gallery-vertical {
        max-width: 140px;
    }
}

@media screen and (max-width: 424px) {

    .header .logo img {
        width: 160px;
    }

    .header .nav .contacts .phone {
        font-size: 8px;
    }

    .hero .hero-title {
        font-size: 82px;
    }

    .hero .hero-block {
        padding-right: 14px;
        height: 175px;
    }

    .hero .hero-block .block-text {
        max-width: 242px;
        margin-bottom: 24px;
    }

    .products-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .special-offer {
        padding: 16px;
    }

    .review-arrows {
        display: none;
    }

    .offer-footer .contacts {
        top: 60px;
    }

    .reviews .special-offer .offer-footer .contacts {
        top: 60px;
    }

    .footer .container {
        padding: 0 16px;
    }

    .footer {
        padding: 24px 0;
    }

    .footer-row {
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-info {
        align-items: flex-start;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .footer-contacts {
        align-items: flex-start;
    }

    .rights {
        text-align: left;
    }
}