/* Пример для планшетов (будущий код) */
@media (max-width: 1300px) {
    /* .container { padding: 0 40px; } */
}

/* Пример для мобильных (будущий код) */
@media (max-width: 768px) {
    .header {
        display: none;
    }

    .mob-hide {
        display: none;
    }

    .title-line-main {
        font-size: 48px;
        font-weight: 200;
        font-family: var(--font-headings);
    }

    .changing-word {
        width: 100%;
        display: block;
        margin-bottom: -50px;
    }

    .welcome-caption {
        display: none;
    }

    .back-line-main {
        display: none;
    }

    .hero__description p {
        display: block;
        width: 340px;
        font-size: 14px;
        margin-bottom: -10px;
    }

    .hero__content {
        align-content: flex-start;
        padding-top: 115px;
        position: relative;
        height: 550px;
    }

    .header-mobile {
        display: flex;
        width: calc(100% - 24px);
        height: 36px;
        padding: 12px;
        position: fixed;
        background-color: #0d0d0d !important;
        z-index: 99;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-name {
        font-size: 16px;
        margin-top: 1px;
    }

    .logo-subname {
        font-size: 12px;
    }

    .btn-r {
        font-size: 10px;
        width: 140px;
        height: 34px;
        padding: 0px;
    }

    .ml-5 {
        margin-left: 5px;
    }

    .w-40 {
        width: 40%;
    }

    .w-60 {
        width: 60%;
        align-items: center;
        justify-content: flex-end;
    }

    .menu {
        margin-bottom: -4px;
        margin-left: 10px;
    }

    .back-mainn-block {
        display: none;
    }

    .image-mobile-first-block {
        width: 200px;
        display: block;
        margin-top: 20px;
    }

    .hero__welcome-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-first-bg {
        display: block;
        width: 100%;
        position: absolute;
        bottom: -25%;
        left: 0;
    }

    .ticker-item {
        font-size: 30px;
        padding: 0 10px;
    }

    .scrolling-ticker {
        display: none;
    }

    .ticker-item:not(:last-child)::after {
        width: 40px;
        height: 40px;
    }

    .rtark {
        width: 130px;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: 13px;
    }

    .Ellipse410 {
        position: absolute;
        right: 0;
        top: 44%;
    }

    .Ellipse408 {
        position: absolute;
        left: 0;
        top: 38%;
    }

    .Ellipse407 {
        position: absolute;
        right: 3%;
        top: 10%;
    }

    .second-block {
        display: none;
    }

    .second-block-mob {
        width: 100%;
        background-color: var(--bg-dark-light);
        border-radius: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
        display: block;
    }

    .heading-block {
        font-size: 30px;
        text-align: center;
        width: calc(100% - 20px);
        padding-left: 10px;
        padding-right: 10px;
    }

    .description-second-block {
        font-size: 16px;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 10px;
    }

    .pos-c {
        position: relative;
        left: 50%;
        transform: translate(-50%, -15%);
    }

    .but-second {
        width: 80%;
        padding-left: 10px;
        padding-right: 10px;
        margin-top: 30px;
    }

    .w-340 {
        width: 340px !important;
    }

    .about-four-cont {
        width: 100px;
        margin: 6px;
        padding: 26px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        background-color: #ffffff08;
        border-radius: 20px;
        border: 0px;
        min-width: 114px;
        min-height: 114px;
    }

    .four-about-number {
        font-size: 38px;
    }

    .four-about-text {
        font-size: 16px;
        margin-top: 20px;
        width: 120px;
    }

    .br-gr-1 {
        background-color: #0f3523;
    }

    .pc-hide {
        display: block;
    }

    .names-block {
        font-size: 16px;
        text-align: center;
    }

    .heading-block-2 {
        font-size: 30px;
        text-align: center;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .description-three-block {
        font-size: 16px;
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
    }

    .three-block {
        padding-top: 50px;
        margin-top: 0px;
    }

    .services-container {
        align-items: center;
        justify-content: center;
    }

    .services-card {
        width: 310px;
    }

    .three-blick {
        display: none;
    }

    .second-blick {
        display: none;
    }

    .promej-line-about-us {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .texts-promej-line {
        font-size: 18px;
        width: 280px;
    }

    .card-price {
        margin-top: 5px;
    }

    .card-but {
        top: 79%;
    }

    .four-block {
        display: none;
    }

    .four-block-mob {
        padding-top: 50px;
    }

    .shozi-projecti {
        width: 340px;
        margin-right: 0px;
        margin-top: 30px;
    }

    .img-portfolio {
        width: 340px;
        height: 200px;
    }

    .portfolio-block-vkladka {
        align-items: center;
        justify-content: center;
    }

    .shozi-projecti-name {
        font-size: 20px;
    }

    .shozi-projecti-button {
        top: 80%;
        left: 88%;
    }

    .popup {
        width: 100%;
        height: 100vh;
        padding-right: 40px;
        padding-left: 40px;
        z-index: 9999999;
        position: relative;
        align-content: center;
    }

    .heading-block-3 {
        margin-top: 0px;
    }

    .form-pop-up-h2 {
        font-size: 27px;
    }

    .form-pop-up-h3 {
        font-size: 14px;
        margin-top: 5px;
        padding-right: 30px;
        padding-left: 30px;
        margin-bottom: -40px;
    }

    label {
        font-size: 14px;
    }

    input {
        width: 94%;
        margin-top: 8px;
        border: 1px #656565 solid;
        border-radius: 10px;
        height: 38px;
        background-color: #00000000;
        padding-left: 20px;
        font-size: 14px;
        font-weight: 300;
        font-family: var(--font-headings);
        color: #fff;
    }

    .iti__selected-flag {
        padding: 0px;
    }

    .phone-inp {
        height: 48px !important;
        width: 102%;
    }

    #popup-form {
        padding: 30px;
    }

    .iti {
        width: 100% !important;
    }

    .form-pop-up-h4 {
        margin: 0px;
        margin-top: -20px;
    }

    .popup-close {
        top: 90px;
        right: 70px;
    }

    .between-form {
        margin-top: 50px;
        height: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
        margin-bottom: 80px;
    }

    .h2-between-form {
        font-size: 36px;
        font-weight: 200;
        padding-left: 20px;
        padding-right: 20px;
        width: calc(100% - 40px);
        text-align: center;
    }

    .description-between-block {
        text-align: center;
        width: 100%;
        margin-bottom: 40px;
    }

    .form-between-main {
        width: calc(100% - 40px);
        height: 100%;
        padding: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .card-2 {
        width: 80%;
        height: 300px;
    }

    .seven-block {
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .f-s-my {
        font-size: 30px;
    }

    .description-seven-block {
        font-size: 14px;
        text-align: center;
        width: calc(100% - 20px);
        padding-left: 10px;
        padding-right: 10px;
    }

    .technology-mini-block {
        width: 100px;
        background-color: #121212;
        border-radius: 10px;
        height: 100px;
        margin: 10px;
    }

    .faq {
        padding-top: 50px;
    }

    .faq-item {
        padding: 14px 30px;
        margin-left: 20px;
        margin-right: 20px;
        font-size: 15px;
        border-radius: 5px;
        width: calc(85% - 40px);
    }

    .footer {
        padding-left: 20px;
        padding-bottom: 30px;
    }

    .footer-h6 {
        color: #ffffff80;
    }

    .number-tel-fot {
        width: 100%
    }

    .oferta-politika-line {
        margin-top: 13px;
    }

    .container {
        overflow: hidden;
        /* Чтобы padding не влиял на общую ширину */
    }

    .page-first-block-cont {
        padding: 10px;
    }

    .page-h1 {
        font-size: 60px;
        text-align: center !important;
    }

    .page-p {
        width: 100%;
        font-size: 14px;
        text-align: center;
    }

    .breadcrumbs {
        justify-content: center;
    }

    .but-1-main {
        height: 40px;
        width: 170px;
        font-size: 16px;
        color: #000 !important;
    }

    .but-2-main {
        height: 40px;
        width: 160px;
        font-size: 16px;
        margin-left: 5px;
    }

    .about-us-first-block {
        padding-top: 40px;
    }

    .mobile-first-but-bl {
        border-radius: 10px;
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 80px;
        font-size: 16px;
        color: #000;
        font-weight: 400;
        height: 60px;
    }

    .second-blick3 {
        display: none;
    }

    .about-us-blick {
        display: none;
    }

    .about-us-blick2 {
        display: none;
    }

    .prinncipi-cont {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 30px;
    }

    .h1-princip {
        font-size: 20px;
    }

    .number-princip,
    .h1-princip,
    .p-principi {
        text-align: center;
    }

    .description-three-block {
        width: calc(100% - 20px);
    }

    .about-us-four-block {
        height: 100%;
    }

    .about-us-shit-block {
        padding: 10px;
        padding-top: 25px;
        padding-bottom: 50px;
        height: 100%;
    }

    .review-connt-about {
        width: 100%;
        min-width: calc(74% / 3);
    }

    .about-us-slider-track {
        width: 1400px !important;
        padding-bottom: 10px;
    }

    .about-us-slider-wrapper {
        overflow-x: auto !important;
    }

    .company-cont-about-us {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 0px;
        padding: 38px;
        border-radius: 10%;
        border: 1px #242727 solid;
        margin-top: 36px;
        flex: 0 0 auto;
        user-select: none;
    }

    .company-slider {
        gap: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .texts-promej-line-v2 {
        width: 300px;
        font-size: 16px;
        margin-top: 100px;
    }

    .seven-blick {
        display: none;
    }

    .second-blick5 {
        display: none;
    }

    .nagorody-block-h1 {
        font-size: 30px;
        text-align: center;
    }

    .nagorody-image {
        width: 100%;
    }

    .p-20 {
        padding: 20px;
    }

    .about-us-nagorody-block {
        height: 100%;
        padding-bottom: 100px;
    }

    .mob-wrap {
        flex-wrap: wrap;
    }

    .contacts-block {
        height: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .contacts-cont {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0px;
        height: 100%;
    }

    .contacts-h1 {
        margin-top: 80px;
        text-align: center;
        font-size: 34px;
    }

    .contacts-name {
        text-align: center;
    }

    .contacts-samo {
        text-align: center;
        color: #fff;
    }

    a {
        text-decoration: none !important;
    }

    .j-c-mob {
        justify-content: space-evenly
    }

    .form-name-contacts {
        margin-top: 50px;
    }

    .form-contacts {
        width: 300px;
    }

    .form-contacts .phone-inp {
        width: 300px;
    }

    .shozi-projecti {
        margin-right: 0px !important;
    }

    .portfolio-vkladki-block {
        margin-top: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        margin-left: 10px;
        width: 100%;
        height: 100%;
        min-height: 55px;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }

    .portfolio-vkladka.active {
        background-color: #2a2a2a;
    }

    .portfolio-vkladki-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .portfolio-vkladki-block {
        display: flex;
        gap: 10px;
        min-width: max-content;
        padding: 5px 10px;
    }

    .portfolio-vkladka {
        white-space: nowrap;
        padding: 8px 12px;
        border-radius: 6px;
        flex-shrink: 0;
        cursor: pointer;
    }

    .portfolio-vkladka {
        padding: 0px 12px;
    }

    .privaci-policy-h1 {
        font-size: 30px;
    }

    .privaci-policy-p {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mini-zagolovki-policy {
        font-size: 24px;
        padding-left: 10px;
    }

    .privaci-policy-block {
        padding-top: 100px;
    }

    .side-menu {
        position: fixed;
        top: 0;
        left: calc(-100% - 40px);
        display: block;
        /* Скрыто за пределами экрана */
        width: calc(100% - 40px);
        height: 100vh;
        background-color: #0d0d0d;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        transition: 0.3s;
        padding: 20px;
        border-right: 2px #ffffff24 solid;
    }

    .side-menu.open {
        left: 0;
    }

    .side-menu__close {
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
        position: absolute;
        top: 27px;
        right: 20px;
    }

    .side-menu__list {
        list-style: none;
        padding: 1px 0 0 0;
        margin-top: -0px;
    }

    .side-menu__list li {
        margin: 20px 0;
        font-weight: 400;
    }

    .side-menu__list a {
        text-decoration: none;
        color: #fff;
        font-size: 20px;
    }

    /* Overlay */
    .side-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        z-index: 9998;
        transition: 0.5s ease;
        backdrop-filter: blur(10px);
    }

    .side-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .menu {
        background-color: #ffffff00;
        border: 0;
    }

    .language-button {
        padding: 3px 12px;
        border: 1px var(--accent-green) solid;
        border-radius: 5px;
        margin: 0 4px;
        font-size: 13px;
        font-family: var(--font-headings);
    }

    .language-button.active {
        background-color: var(--accent-green);
        color: #000;
        font-weight: 300;
    }

    .pr-30 {
        padding-right: 35px;
    }

    .line-mobile-menu {
        width: 100%;
        height: 1px;
        background-color: #ffffff26;
        margin-top: 20px;
    }


    .mobile-menu-h5 {
        font-family: var(--font-headings);
        color: #fff;
        font-weight: 400;
        font-size: 30px;
        margin-top: 30px;
    }

    .x28x28 {
        background-color: #00000000 !important;
    }

    .w50x50 {
        background-color: #00000000 !important;
    }


    input,
    textarea,
    select {
        font-size: 16px !important;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-icon {
        margin-left: 10px;
    }
}