/* =========================================================
   VIBROSERVICE
   GLOBAL RESPONSIVE
   ========================================================= */


/* =========================================================
   BASIC SAFETY
   ========================================================= */

html {
    max-width: 100%;
}

body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

.mobile-menu-toggle {
    display: none;
}


/* =========================================================
   TABLET / SMALL DESKTOP
   <= 1100
   ========================================================= */

@media (max-width: 1100px) {

    .container {
        width: calc(100% - 48px);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }


    /* HOME */

    .home-slide__content {
        max-width: 650px;
    }

    .home-slide h1,
    .home-slide h2 {
        font-size: 42px;
    }


    /* ADVANTAGES */

    .advantages .advantages__grid,
    .advantages__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }


    /* HOME PRODUCTS */

    .products-preview .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    /* PRODUCTS */

    .products-grid,
    .products-grid--systems {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* ABOUT */

    .about-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 36px;
    }


    /* CONTACTS */

    .contacts-layout {
        gap: 28px;
    }

}


/* =========================================================
   MOBILE HEADER START
   <= 900
   ========================================================= */

@media (max-width: 900px) {

    /* =====================================================
       HEADER
       ===================================================== */

    .site-header {
        position: relative;
        z-index: 1000;
    }

    .main-header {
        position: relative;
        z-index: 1000;
    }

    .main-header__inner {
        position: relative;

        min-height: 78px;

        gap: 16px;
    }


    /* LOGO */

    .logo {
        gap: 10px;
        min-width: 0;
    }

    .logo__image {
        width: 78px;
        height: 54px;
        max-width: 78px;
    }

    .logo__text {
        min-width: 0;
    }

    .logo__line {
        font-size: 14px;
        line-height: 1.2;

        white-space: nowrap;
    }


    /* HAMBURGER */

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        flex: 0 0 44px;

        width: 44px;
        height: 44px;

        gap: 5px;

        padding: 0;

        background: #ffffff;

        border: 1px solid #d7e3ef;
        border-radius: 7px;

        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;

        width: 21px;
        height: 2px;

        background: #003b73;

        border-radius: 2px;

        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* NAV */

    .main-nav {
        position: absolute;

        top: calc(100% + 1px);
        left: 0;
        right: 0;

        z-index: 1001;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 0;

        background: #ffffff;

        border: 1px solid #dce5ee;
        border-radius: 0 0 10px 10px;

        box-shadow:
            0 14px 30px rgba(0, 43, 79, 0.14);
    }

    .main-nav.main-nav--open {
        display: flex;
    }

    .main-nav a {
        display: block;

        width: 100%;

        padding: 13px 20px;

        font-size: 15px;

        border-bottom: 1px solid #eef2f6;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a.active {
        color: #0068d9;

        background: #f3f8fd;
    }


    /* =====================================================
       TOP BAR
       ===================================================== */

    .top-bar__inner {
        min-height: 38px;

        gap: 14px;
    }

    .dealer-status {
        font-size: 12px;
    }

    .top-contacts {
        gap: 12px;

        font-size: 12px;
    }

    .top-contact-btn {
        padding: 7px 12px;
    }


    /* =====================================================
       HOME SLIDER
       ===================================================== */

    .home-slider {
        height: 560px;
    }

    .home-slide {
        background-position: 60% center;
    }

    .home-slide__content {
        max-width: 610px;
    }

    .home-slide h1,
    .home-slide h2 {
        font-size: 38px;
    }

    .home-slide p {
        font-size: 18px;
    }

    .home-slide__description {
        font-size: 14px;
    }


    /* =====================================================
       ADVANTAGES
       ===================================================== */

    .advantages {
        padding: 36px 0;
    }

    .advantages .advantages__grid,
    .advantages__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }


    /* =====================================================
       SOLUTIONS
       ===================================================== */

    .solutions {
        padding: 45px 0;
    }

    .solutions__grid {
        gap: 20px;
    }

    .solution-card__image {
        height: 190px;
    }


    /* =====================================================
       HOME PRODUCT PREVIEW
       ===================================================== */

    .products-preview .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* =====================================================
       GENERAL PAGE HERO
       ===================================================== */

    .page-hero {
        min-height: 210px;

        padding: 42px 0;
    }

    .page-hero h1 {
        font-size: 38px;
    }

    .page-hero p {
        max-width: 650px;

        font-size: 16px;
    }


    /* =====================================================
       ABOUT
       ===================================================== */

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        position: static;

        width: 100%;

        margin-bottom: 15px;
    }

    .about-nav {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-content {
        min-width: 0;
    }

    .about-activities,
    .about-benefits,
    .partners-grid,
    .facts-grid,
    .certificates-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-cta {
        gap: 20px;
    }


    /* =====================================================
       PRODUCT CATALOG
       ===================================================== */

    .products-page {
        padding: 48px 0 65px;
    }

    .products-intro {
        margin-bottom: 38px;
    }

    .products-intro h2 {
        font-size: 30px;
    }

    .products-group {
        margin-bottom: 45px;
    }


    /* =====================================================
       PRODUCT SERIES
       ===================================================== */

    .series-layout {
        grid-template-columns: 1fr;
    }

    .product-filter {
        width: 100%;

        margin-bottom: 26px;
    }

    .series-content {
        min-width: 0;
    }

    .series-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* =====================================================
       PRODUCT DETAIL
       ===================================================== */

    .product-detail-layout {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .product-detail-nav {
        position: static;

        display: flex;
        flex-wrap: wrap;

        width: 100%;
    }

    .product-detail-nav a {
        flex: 1 1 180px;
    }

    .product-detail-content {
        min-width: 0;
    }

    .product-description-grid {
        grid-template-columns: minmax(0, 1fr) 300px;

        gap: 24px;
    }

    .product-drawings-grid,
    .webnet-media-grid {
        grid-template-columns: 1fr;
    }


    /* =====================================================
       SUPPORT
       ===================================================== */

    .technical-categories {
        grid-template-columns: 1fr;
    }

    .support-grid,
    .support-cards,
    .support-cards-grid,
    .documents-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* =====================================================
       CONTACTS
       ===================================================== */

    .contacts-layout {
        grid-template-columns: 1fr;
    }

    .contacts-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* =====================================================
       CAREER
       ===================================================== */

    .career-layout {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    .footer-grid,
    .site-footer__grid,
    .footer__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
   <= 768
   ========================================================= */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 32px);
        max-width: none;

        margin-left: auto;
        margin-right: auto;
    }

    main {
        width: 100%;
        overflow-x: hidden;
    }


    /* =====================================================
       TOP BAR
       ===================================================== */

    .top-bar__inner {
        flex-direction: column;
        align-items: center;

        gap: 7px;

        padding: 8px 0;
    }

    .dealer-status {
        display: none;
    }

    .top-contacts {
        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 7px 14px;

        text-align: center;
    }


    /* =====================================================
       HEADER
       ===================================================== */

    .main-header__inner {
        min-height: 72px;
    }

    .logo__image {
        width: 68px;
        height: 48px;
        max-width: 68px;
    }

    .logo__line {
        font-size: 13px;
    }


    /* =====================================================
       HOME SLIDER
       ===================================================== */

    .home-slider {
        height: 520px;
    }

    .home-slide {
        background-position: 65% center;
    }

    .home-slide::before {
        content: "";

        position: absolute;
        inset: 0;

        background:
            rgba(0, 31, 63, 0.08);

        pointer-events: none;
    }

    .home-slide__content {
        max-width: calc(100% - 40px);
    }

    .home-slide__label {
        margin-bottom: 12px;

        font-size: 11px;
    }

    .home-slide h1,
    .home-slide h2 {
        margin-bottom: 18px;

        font-size: 34px;
        line-height: 1.12;
    }

    .home-slide p {
        margin-bottom: 12px;

        font-size: 16px;
        line-height: 1.45;
    }

    .home-slide__description {
        margin-bottom: 24px;

        font-size: 13px;
        line-height: 1.5;
    }

    .home-slide__buttons {
        gap: 10px;
    }

    .home-slider .btn {
        min-height: 44px;

        padding: 11px 18px;

        font-size: 13px;
    }

    .home-slider__arrow {
        width: 38px;
        height: 38px;

        font-size: 26px;
    }

    .home-slider__arrow--prev {
        left: 10px;
    }

    .home-slider__arrow--next {
        right: 10px;
    }

    .home-slider__dots {
        bottom: 18px;
    }


    /* =====================================================
       SECTION HEADERS
       ===================================================== */

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2,
    .section-row h2 {
        font-size: 30px;
    }

    .section-header p,
    .section-row p {
        font-size: 15px;
    }

    .section-row {
        flex-direction: column;
        align-items: flex-start;

        gap: 10px;

        margin-bottom: 24px;
    }


    /* =====================================================
       ADVANTAGES
       ===================================================== */

    .advantages {
        padding: 30px 0;
    }

    .advantages .advantages__grid,
    .advantages__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 26px 14px;
    }

    .advantage-icon {
        width: 42px;
        height: 42px;

        margin-bottom: 10px;

        font-size: 19px;
    }

    .advantage-item h3 {
        font-size: 14px;
    }

    .advantage-item p {
        font-size: 12px;
    }


    /* =====================================================
       SOLUTIONS
       ===================================================== */

    .solutions__grid {
        grid-template-columns: 1fr;
    }

    .solution-card__image {
        height: 200px;
    }

    .solution-card__content {
        padding: 22px;
    }

    .solution-card h3 {
        font-size: 19px;
    }


    /* =====================================================
       HOME PRODUCTS
       ===================================================== */

    .products-preview {
        padding: 40px 0 55px;
    }

    .products-preview .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card__image {
        height: 190px;
    }


    /* =====================================================
       PAGE HERO
       ===================================================== */

    .page-hero {
        min-height: 185px;

        padding: 34px 0;
    }

    .page-hero h1 {
        margin-bottom: 12px;

        font-size: 34px;
    }

    .page-hero p {
        font-size: 15px;
        line-height: 1.5;
    }


    /* =====================================================
       BREADCRUMBS
       ===================================================== */

    .product-breadcrumbs,
    .support-breadcrumbs {
        display: flex;
        flex-wrap: wrap;

        gap: 6px;

        line-height: 1.5;
    }


    /* =====================================================
       ABOUT
       ===================================================== */

    .about-page {
        padding-top: 35px;
        padding-bottom: 55px;
    }

    .about-nav {
        grid-template-columns: 1fr;
    }

    .about-section {
        scroll-margin-top: 20px;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .about-activities,
    .about-benefits,
    .partners-grid,
    .facts-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .about-cta {
        flex-direction: column;
        align-items: flex-start;
    }


    /* =====================================================
       PRODUCTS MAIN
       ===================================================== */

    .products-page {
        padding: 38px 0 55px;
    }

    .products-intro h2 {
        font-size: 28px;
    }

    .products-grid,
    .products-grid--systems,
    .products-grid--accessories {
        grid-template-columns: 1fr;
    }

    .product-category-card {
        min-height: 0;

        padding: 20px 48px 20px 18px;
    }

    .product-category-card__number {
        margin-right: 14px;
    }


    /* =====================================================
       SERIES
       ===================================================== */

    .series-page {
        padding-top: 32px;
        padding-bottom: 55px;
    }

    .series-products-grid {
        grid-template-columns: 1fr;
    }

    .series-content__header {
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

    .series-content__header h2 {
        font-size: 27px;
    }


    /* =====================================================
       SERIES PRODUCT CARD
       ===================================================== */

    .series-product-card {
        grid-template-columns: 125px minmax(0, 1fr);

        min-height: 175px;
    }

    .series-product-card__content {
        padding: 17px;
    }

    .series-product-card__content h3 {
        font-size: 16px;
    }


    /* =====================================================
       PRODUCT DETAIL
       ===================================================== */

    .product-detail-page {
        padding: 30px 0 55px;
    }

    .product-detail-layout {
        gap: 22px;
    }

    .product-detail-nav {
        overflow: hidden;

        border-radius: 9px;
    }

    .product-detail-nav a {
        flex: 1 1 50%;

        padding: 12px 14px;
    }

    .product-description-grid {
        grid-template-columns: 1fr;
    }

    .product-main-image,
    .product-main-image--real {
        width: 100%;

        min-height: 0;
    }

    .product-main-image--real {
        padding: 14px;
    }

    .product-main-image--real img {
        width: 100%;
        max-width: 100%;
        max-height: 360px;

        object-fit: contain;
    }

    .product-detail-section h2 {
        font-size: 27px;
    }

    .product-drawings-grid {
        grid-template-columns: 1fr;
    }

    .product-drawing-card {
        min-height: 220px;
    }

    .product-drawing-card img {
        max-height: 360px;
    }

    .webnet-media-grid {
        grid-template-columns: 1fr;
    }

    .webnet-media-card {
        min-height: 200px;
    }

    .webnet-media-card img {
        height: auto;
        max-height: 300px;
    }

    .webnet-media-single {
        padding: 10px;
    }


    /* =====================================================
       SPECIFICATIONS
       ===================================================== */

    .product-specification-row {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .product-specification-name,
    .product-specification-value {
        width: 100%;
    }


    /* =====================================================
       SUPPORT
       ===================================================== */

    .support-page {
        padding-top: 34px;
        padding-bottom: 55px;
    }

    .support-intro h2 {
        font-size: 28px;
    }

    .support-grid,
    .support-cards,
    .support-cards-grid,
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .technical-category {
        padding: 18px 48px 18px 18px;
    }

    .technical-category__content h3 {
        font-size: 16px;
    }


    /* =====================================================
       CONTACTS
       ===================================================== */

    .contacts-page {
        padding-top: 38px;
        padding-bottom: 50px;
    }

    .contacts-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: 0;
    }

    .contact-map-box {
        width: 100%;
    }

    .contact-map {
        height: 280px;
    }

    .contact-card a,
    .contact-map-box p {
        overflow-wrap: anywhere;
    }


    /* =====================================================
       FORMS
       ===================================================== */

    .contact-form-section {
        padding-top: 45px;
        padding-bottom: 55px;
    }

    .contact-form,
    .career-form {
        width: 100%;
        max-width: 100%;
    }

    .contact-form input,
    .contact-form textarea,
    .career-form input,
    .career-form textarea,
    .career-form select {
        width: 100%;

        font-size: 16px;
    }

    .contact-form textarea,
    .career-form textarea {
        min-height: 150px;
    }


    /* =====================================================
       CAREER
       ===================================================== */

    .career-page {
        padding-top: 38px;
        padding-bottom: 55px;
    }

    .career-layout {
        grid-template-columns: 1fr;
    }

    .career-form-box {
        width: 100%;
    }


    /* =====================================================
       TABLES / LONG CONTENT
       ===================================================== */

    table {
        width: 100%;
    }

    .table-wrapper,
    .product-table-wrapper {
        width: 100%;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }


    /* =====================================================
       FOOTER
       ===================================================== */

    .footer-grid,
    .site-footer__grid,
    .footer__grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .footer-bottom,
    .site-footer__bottom,
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 10px;
    }

}


/* =========================================================
   SMALL MOBILE
   <= 560
   ========================================================= */

@media (max-width: 560px) {

    .container {
        width: calc(100% - 24px);
    }


    /* HEADER */

    .main-header__inner {
        min-height: 68px;
    }

    .logo {
        gap: 8px;
    }

    .logo__image {
        width: 58px;
        height: 42px;
        max-width: 58px;
    }

    .logo__line {
        font-size: 11.5px;
    }

    .mobile-menu-toggle {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }

    .top-contacts {
        font-size: 11px;
    }

    .top-contact-btn {
        padding: 6px 10px;

        font-size: 11px;
    }


    /* HOME SLIDER */

    .home-slider {
        height: 500px;
    }

    .home-slide {
        background-position: 68% center;
    }

    .home-slide__content {
        max-width: calc(100% - 18px);
    }

    .home-slide h1,
    .home-slide h2 {
        font-size: 29px;
        line-height: 1.12;
    }

    .home-slide p {
        font-size: 15px;
    }

    .home-slide__description {
        display: block;

        font-size: 12.5px;
    }

    .home-slide__buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-slider .btn {
        width: auto;
    }

    .home-slider__arrow {
        top: 46%;

        width: 34px;
        height: 34px;

        font-size: 23px;
    }

    .home-slider__arrow--prev {
        left: 5px;
    }

    .home-slider__arrow--next {
        right: 5px;
    }


    /* HEADINGS */

    .section-header h2,
    .section-row h2 {
        font-size: 27px;
    }


    /* ADVANTAGES */

    .advantages .advantages__grid,
    .advantages__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px 10px;
    }

    .advantage-item h3 {
        font-size: 13px;
    }

    .advantage-item p {
        font-size: 11px;
    }


    /* SOLUTIONS */

    .solution-card__image {
        height: 175px;
    }

    .solution-card__content {
        padding: 19px;
    }


    /* HERO */

    .page-hero {
        min-height: 165px;

        padding: 28px 0;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .page-hero p {
        font-size: 14px;
    }


    /* PRODUCTS */

    .products-intro h2,
    .products-group__header h2 {
        font-size: 25px;
    }

    .product-category-card {
        flex-direction: column;

        padding: 18px 42px 18px 18px;
    }

    .product-category-card__number {
        margin: 0 0 13px;
    }


    /* SERIES CARDS */

    .series-product-card {
        grid-template-columns: 1fr;
    }

    .series-product-card__image {
        min-height: 150px;

        border-right: 0;
        border-bottom: 1px solid #e1e9f1;
    }

    .series-product-card__photo {
        width: 100%;
        height: 165px;

        object-fit: contain;
    }


    /* DETAIL NAV */

    .product-detail-nav a {
        flex-basis: 100%;
    }


    /* PRODUCT DETAIL */

    .product-detail-section h2 {
        font-size: 24px;
    }

    .product-drawing-card {
        min-height: 180px;
    }


    /* TECHNICAL CATEGORY */

    .technical-category {
        display: grid;

        grid-template-columns: 42px minmax(0, 1fr);

        gap: 12px;

        padding: 16px;
    }

    .technical-category__arrow {
        display: none;
    }


    /* CONTACT MAP */

    .contact-map {
        height: 240px;
    }


    /* BUTTONS */

    .btn {
        min-height: 44px;
    }

}