@import url('css/rawline');


:root {
  --swiper-navigation-sides-offset: -30px;
  --swiper-navigation-color: white;
  --swiper-navigation-size: 24px;
}

* {
    box-sizing: border-box;
    font-family: 'Rawline', sans-serif;
    /* font-family: "Montserrat", sans-serif; */
}

html,
body {
    width: 100%;
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

.body {
    position: relative;
}

.viber-snow-item {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url(images/viber.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    animation: 2s linear 0s normal none 1 running viber-snow;
    top: -200px;
    z-index: 99999999;
}

.snow-item-1 {
    animation-delay: 0s;
}

.snow-item-2 {
    animation-delay: 0.5s;
}

.snow-item-3 {
    animation-delay: 1s;
}

.snow-item-4 {
    animation-delay: 1.5s;
}

.snow-item-5 {
    animation-delay: 2s;
}

@keyframes viber-snow {
    0% {
        top: 0;
    }
    25% {
        top: 25%;
    }
    50% {
        top: 50%;
    }
    75% {
        top: 75%;
    }
    100% {
        top: calc(100% - 40px);
    }
}


/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.ribbon {
  --r: .4em; /* control the ribbon shape (the radius) */

  /*position: absolute;
  bottom: 20px;*/
  inset-inline: calc(-1*var(--r));
  text-align: center;
  line-height: 1.8; 
  padding: calc(2*var(--r)) .5em 0;
  border-radius: var(--r);
  --_g:0/var(--r) calc(2*var(--r)) no-repeat;
  background: 
    radial-gradient(100% 50% at right,#0005 98%,#0000 101%) 0    var(--_g),
    radial-gradient(100% 50% at left ,#0005 98%,#0000 101%) 100% var(--_g),
    conic-gradient(at var(--r) calc(2*var(--r)),#0000 25%,#7360f2 0)
     0 0/calc(100% - var(--r)) 100%;
}

:target::before {
    content: '';
    display: block;
    height: 80px; /* fixed header height*/
    margin: -80px 0 0; /* negative fixed header height */
}

.badges-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 20;
    filter: blur(0.1);
}

.badges-overlay:not(.shown) {
    display: none;
}

.badges-overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.badges-message-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    background-color: white;
    z-index: 25;
    height: auto;
    width: auto;
    min-width: 300px;
    max-width: 400px;
    max-height: 60%;
    border: 1px solid white;
    background-color: orange;
}

.badges-message-box-toolbar {
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: black;
    color: white;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badges-message-box-toolbar .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
}

.badges-message-box-toolbar .close-button:hover {
    cursor: pointer;
}

.badges-message-box-content {
    padding: 30px;
    position: relative;
}

.badges-message-box-text {
    text-align: center;
}



.viber-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 20;
    filter: blur(0.1);
}

.viber-overlay:not(.shown) {
    display: none;
}

.viber-overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.viber-message-box {
    position: absolute;
    /*top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    bottom: 30px;
    right: 30px;
    border-radius: 20px;
    background-color: white;
    z-index: 25;
    /*height: auto;
    width: auto;*/
    min-width: 300px;
    max-width: 400px;
    max-height: 60%;
    border: 1px solid white;
    background-color: #7360f2;
    color: white;
    font-weight: 700;
}

.viber-overlay.shown .viber-message-box {
    animation: 0.5s linear 0s normal none 1 running slide;
}

.viber-message-box-toolbar {
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: black;
    color: white;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.viber-message-box-toolbar .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
}

.viber-message-box-toolbar .close-button:hover {
    cursor: pointer;
}

.viber-message-box-content {
    padding: 30px;
    position: relative;
}

.viber-message-box-text {
    text-align: center;
}

.viber-message-box-add-text {
    font-size: 14px;
    text-align: center;
    font-weight: 400;
    padding-top: 30px;
}

@keyframes slide {
    0% {
        /*right: -570px;*/
        transform: translateX(150%);
    }
    50% {
        /*right: -170px;*/
        transform: translateX(50%);
    }
    100% {
        /*right: 30px;*/
        transform: translateX(0);
    }
}


.order-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 20;
    filter: blur(0.1);
}

.order-form-overlay:not(.shown) {
    display: none;
}

.order-form-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.order-form-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    background-color: white;
    z-index: 25;
    height: auto;
    width: auto;
    min-width: 300px;
    max-width: 400px;
    max-height: 60%;
    border: 1px solid white;
    background-color: orange;
}

.order-form-toolbar {
    padding: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: black;
    color: white;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-form-toolbar .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
}

.order-form-toolbar .close-button:hover {
    cursor: pointer;
}

.order-form-body {
    padding: 30px;
    position: relative;
}

.order-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.order-form-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-form-text {
    text-align: center;
    font-weight: 700;
}

.order-form input {
    border-radius: 5px;
    border: 2px solid white;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
}

/* toolbar */

header {
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;
}

.toolbar {
    height: 100%;
    background-color: black;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* left part */

.toolbar .logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar .logo-container:hover {
    cursor: pointer;
}

.toolbar .logo-container.logo-mobile-container {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    /* width: 50px; */
    height: 50px;
}

.title {
    color: white;
    font-size: 20px;
}

/* menu */

.mobile-menu-button,
.mobile-menu {
    display: none;
}

.menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-items {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 16px;
    padding: 0;
}

.menu-items > li {
    display: block;
}

.menu-item {
    padding: 12px 14px;
}

.menu-item:hover {
    cursor: pointer;
    background-image: linear-gradient(to right, #ec9f05, #ff9900);
    border-radius: 6px;
}

.menu-item,
.menu-item:hover,
.menu-item:focus,
.menu-item:active,
.contacts a {
    text-decoration: none;
    color: white;
}

/* contacts */

.contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
}

.contacts .contact-item {
    font-size: 20px;
    height: 40px;
    width: 40px;
    background: orange;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 24px;
    gap: 4px;
}

.contact-label {
    font-size: 16px;
    line-height: 14px;
    font-weight: 600;
}

/* sections */

.blur {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    z-index: 5;
}

.section-title.highlight {
    /* text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
        1px 1px 0 #000; */
}

.section-title:not(.highlight) {
    color: white;
    /* text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white,
        1px 1px 0 white; */
}

.section-title.dark {
    color: black;
}

.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 5;
    padding: 60px;
}

.highlight {
    color: #ff9900;
    /* background: linear-gradient(to right, #EC9F05, #ff9900); */
    /* background: linear-gradient(to right, #62bdfc 0%, #8490ff 100%);  */
    /* background-clip: text;
    -webkit-text-fill-color: transparent; */
}

.button {
    background: #ff9900;
    padding: 12px 16px;
    border-radius: 8px;
    color: #111827;
    border: 2px solid #ff9900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease 0s;
    font-weight: 700;
}

.button-order {
    background-color: black;
    color: white;
}

.button:hover {
    cursor: pointer;
    transform: scale(1.05);
}

/* home */

.home {
    background-image: url(photo-1504384308090-c894fdcc538d);
    background-position: center center;
    background-size: cover;
    min-height: 240px;
    height: calc(100vh - 80px);
    width: 100%;
    position: relative;
}

.main-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 5;
    padding-top: 40px;
}

.main-text-container .button-connect {
    font-weight: 500;
    /* text-transform: uppercase; */
}

.main-text {
    font-size: 72px;
    font-weight: 700;
    line-height: 80px;
}

.additional-text {
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    font-weight: 100;
}

.bottom-lines-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.running-line {
    font-size: 20px;
    font-weight: 700;
    color: white;
    padding: 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.running-line.running-line-mobile {
    display: none;
}

.crm-line {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 35vw;
    background: #000;
    color: #ff9900;
    font-size: 14px;
    padding: 12px;
    border-radius: 10px;
    text-align: left;
}

.crm-line .crm-logo img {
    height: 40px;
}

/* stats */
.stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 50%;
    z-index: 10;
    padding: 0 60px;
    /* height: 320px; */
    /* padding: 40px; */
    /* background-color: #2b4162;
    background-image: linear-gradient(315deg, #2b4162 0%, #12100e 74%); */
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.stat {
    flex: 1 0 auto;
    color: white;
    width: 260px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.stat .stat-value-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat .stat-value-content {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.stat .stat-value {
    font-size: 64px;
    font-weight: 700;
}

.stat .stat-sign {
    font-size: 48px;
}

.stat .stat-value-container .stat-plus {
    font-size: 48px;
}

.stat .stat-text {
    font-size: 20px;
    font-weight: 500;
}

/* about us */
.about {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: url("photo-1572883454114-1cf0031ede2a");
    color: white;
    background-position: center center;
    background-size: cover;
    min-height: 240px;
    /* height: 550px; */
    width: 100%;
    position: relative;
}

.about .about-content {
    flex-direction: row;
}

.about img {
    width: auto;
    height: 530px;
    border-radius: 10px;
}

.about .about-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    width: 50%;
    z-index: 10;
}

.about-text-container .about-text {
    font-size: 20px;
    line-height: 30px;
}

/* work-start */
.work-start {
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #f6ecc4;
    background-image: linear-gradient(315deg, #f6ecc4 0%, #f7d4d4 74%); */
    /* padding: 40px; */
    /* gap: 70px; */
    /* min-height: 380px; */
    position: relative;

    background-position: center center;
    background-size: cover;
    background-image: url("images/work-start.jpg");
    /* background: url("https://cdn.durable.co/shutterstock/1cFxvMO8XtDpVAlxCRzYvXKdwI6uIW79w7WHQBDyYN4gsz0GaYm3PsYJQcFsZ6e8.jpeg"); */
    /* background: url("https://images.unsplash.com/photo-1496180470114-6ef490f3ff22?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wyNjI5NjF8MHwxfHNlYXJjaHwyM3x8Q2FsbCUyMGNlbnRlcnxlbnwwfHx8fDE2ODk5Mzc5OTJ8MA&ixlib=rb-4.0.3&q=80&w=1080"); */
}

.work-start-content {
    gap: 70px;
}

.work-start .work-start-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.work-start .work-start-steps .work-start-step {
    position: relative;
    height: 190px;
    max-width: 200px;
    border-radius: 10px;
    background-color: rgba(243, 244, 246, 0.75);
    /* background-image: linear-gradient(147deg, #c3cbdc 0%, #edf1f4 74%); */
    box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 60px 20px 20px;
    flex: 1 0 0;
}

.work-start .work-start-steps .work-start-step:hover {
    transition: transform 0.3s ease 0s;
    transform: scale(1.1);
    cursor: pointer;
}

.work-start .work-start-steps .work-start-step .step-count {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: #ff9900;
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border-bottom: 1px solid white;
}

.work-start .work-start-steps .work-start-step .step-icon {
    font-size: 32px;
}

.work-start .work-start-steps .work-start-step .step-text {
    font-size: 14px;
    text-align: center;
}

/* why-we */
.why-we {
    background-image: url("theme/callcenter/img/service-bg.jpg");
    background-position: center center;
    background-size: cover;
    min-height: 70vh;
    width: 100%;
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.why-we-content {
    height: 100%;
    gap: 40px;
}

.why-we .why-we-title {
    color: white;
    text-shadow: none;
}

.why-we .why-we-items {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 70vw;
}

.why-we .why-we-items .why-we-item {
    min-width: 25%;
    /* height: 250px; */
    min-height: 100%;
    transition: all 0.3s ease 0s;
    border-radius: 10px;
    flex: 1 0 0;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    /* border-top: 1px solid white; */
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: -14.142px 14.142px 20px 0px rgba(135, 135, 135, 0.5);
    /* border-bottom: 1px solid white; */
}

.why-we .why-we-items .why-we-item:hover {
    /* background-color: #f5d020;
    background-image: linear-gradient(315deg, #f5d020 0%, #f53803 74%); */
    background-color: #ff9513;
    background-image: linear-gradient(315deg, #d36a00 0%, #ff9513 74%);
    box-shadow: -14.142px 14.142px 20px 0px rgba(203, 203, 203, 0.5);
    cursor: pointer;
    color: black;
}

.why-we .why-we-items .why-we-item .why-we-item-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-we .why-we-items .why-we-item:hover .why-we-item-title-container {
    color: white;
}

.why-we
    .why-we-items
    .why-we-item
    .why-we-item-title-container
    .why-we-item-title {
    font-size: 18px;
    font-weight: 700;
}

/* tariffs */

.tariff {
    background-image: url("images/wood.jpg");
    background-position: center center;
    background-size: cover;
    /* min-height: 70vh; */
    width: 100%;
    position: relative;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.tariff-content {
    gap: 40px;
}

.tariff-content .running-line {
    margin-top: 0;
}

.tariff .tariff-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 80vw;
}

.tariff .tariff-items .tariff-item {
    min-width: 25%;
    /* height: 380px; */
    transition: all 0.3s ease 0s;
    border-radius: 10px;
    flex: 1 0 0;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    border-radius: 10px;
    /* background-color: rgba(243, 244, 246, 0.75);
    box-shadow: rgba(149, 157, 165, 0.5) 0px 8px 24px;
    color: black; */

    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: -14.142px 14.142px 20px 0px rgba(135, 135, 135, 0.5);

    /* background-color: rgba(255, 255, 255, 0.5);
    box-shadow: -14.142px 14.142px 20px 0px rgba(135, 135, 135, 0.5); */
}

.tariff .tariff-items .tariff-item:hover {
    /* background-color: rgba(255, 149, 19, 0.5);
    background-image: linear-gradient(315deg, rgba(255, 252, 249, 0.5) 0%, rgba(255, 149, 19, 0.5) 74%);
    box-shadow: -14.142px 14.142px 20px 0px rgba(203, 203, 203, 0.5); */
    cursor: pointer;
    /* color: black; */
    transform: scale(1.05);
}

.tariff .tariff-items .tariff-item:hover .tariff-item-title-container {
    /* color: white; */
}

.tariff .tariff-items .tariff-item .tariff-item-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tariff
    .tariff-items
    .tariff-item
    .tariff-item-title-container
    .tariff-item-title {
    font-size: 22px;
    font-weight: 700;
}

.tariff .tariff-items .tariff-item .tariff-item-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.tariff-item-list {
    padding-inline-start: 22px;
}

.tariff
    .tariff-items
    .tariff-item
    .tariff-item-content
    .tariff-item-text
    .tariff-item-list
    .tariff-item-list-item {
    margin-bottom: 10px;
}

.tariff-viber-label {
    padding: 10px 12px;
    background: #7360f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
}

.tariff-viber-label .tariff-viber-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 600;
}

.tariff-viber-label .tariff-viber-text .tariff-viber-main-text {
    font-size: 12px;
}

.tariff-viber-label .tariff-viber-text .tariff-viber-small-text {
    font-size: 10px;
    text-align: right;
}

.tariff-viber-label:hover {
    box-shadow: 0 0 20px 5px rgba(135, 135, 135, 0.5);
}

/* partners */
.partners {
    min-height: 260px;
    width: 100%;
    /* background-color: #c3cbdc;
    background-image: linear-gradient(147deg, #c3cbdc 0%, #edf1f4 74%); */

    background-color: rgb(240, 240, 240);
    /* background-image: linear-gradient(147deg, #f9fcff 0%, #dee4ea 74%); */
    background-image: linear-gradient(to bottom, orange, rgb(240, 240, 240) 74%);
}

.partners .partner-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 55px;
    flex-wrap: wrap;
}

.partners-content {
    gap: 30px;
}

.partners .partner-items .partner-item {
    /* opacity: 0.8; */
    /* filter: grayscale(100%); */
    transition: all 0.3s ease 0s;

    display: flex;
    align-items: center;
}

.partners .partner-items .partner-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    cursor: pointer;
    transform: scale(1.05);
}

.partners .partner-items .partner-item img {
    max-width: 200px;
    aspect-ratio: 3/2;
    object-fit: contain;
    color: white;
}

.partners .partner-items .partner-item svg {
    width: 100px;
}

/* cases */

.cases {
    background-color: rgb(88, 88, 88);
    background-image: linear-gradient(147deg, rgb(88, 88, 88) 0%, #000000 74%);

    background-image: url('images/cases3.jpg');
    background-position: center center;
    background-size: cover;

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    padding: 60px;
}

.cases .section-content {
    overflow: hidden;
    padding: 0;
}

.cases .cases-title {
    color: white;
    text-shadow: none;
}

.swiper.cases-swiper {
    width: 60vw;
    height: auto;
    margin: 0 29px;
    overflow: initial;
    padding: 40px 0;
}

.cases-swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    height: 520px;
    perspective: 1000px;
}

.cases-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.case-swiper-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
  
.swiper-slide.swiper-slide-active:hover .case-swiper-item-inner,
.swiper-slide.flipped .case-swiper-item-inner {
    transform: rotateY(180deg);
}
  
.case-swiper-item-front, 
.case-swiper-item-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}
  
.case-swiper-item-back {
    transform: rotateY(180deg);
}


.case-swiper-item {
    width: 100%;
    height: 100%;
    background-color: rgb(240, 240, 240);
    background-image: linear-gradient(to bottom, orange, rgb(240, 240, 240) 35%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px;
    overflow: hidden;
}

.case-swiper-item-top-container,
.case-swiper-item-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.case-swiper-item-top-container .photo-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid orange;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-swiper-item-top-container .photo-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.case-swiper-item-top-container .name-container {
    font-size: 18px;
    font-weight: 500;
}

.case-swiper-item-bottom-container {
    width: 100%;
    height: 100%;
}

.case-swiper-item-bottom-container .case-swiper-item-content {
    font-size: 14px;
    height: 240px;
    overflow: hidden;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.case-index {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.case-index-header,
.case-index-body-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-index-header {
    background: orange;
    border-radius: 10px;  
}

.case-index-header,
.case-index-body {
    padding: 12px 14px;
}

.case-index-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgb(239 234 228);
    border-radius: 10px;
}

.case-index-value-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.case-index-value {
    display: flex;
    justify-content: flex-start;
    align-items: center; 
    font-weight: 700;
}

.case-swiper-item-front .case-index-value {
    width: 40px;
    color: rgb(0, 126, 2);
}

.case-swiper-item-back .case-index-value {
    width: 33px;
    color: rgb(184, 0, 0);
}

.case-swiper-item-front .case-index-name {
    display: flex;
    justify-content: flex-start;
}

.case-swiper-item-front .case-index-value-name {
    display: flex;
    justify-content: flex-end;
}

.case-index-header-cell,
.case-index-body-item-cell {
    flex: 1 0 0;
}

.case-swiper-item-front .case-index-value-name.case-index-header-middle-cell {
    padding: 0 20px;
}

.case-index-label {
    display: flex;
    justify-content: center;
    font-size: 12px;
    font-weight: 700; 
    padding: 4px 8px;
    border-radius: 9px;
    color: white;
}

.case-swiper-item-front .case-index-label {
    background: rgba(0, 126, 2, 0.7);
}

.case-swiper-item-back .case-index-label {
    background: rgba(184, 0, 0, 0.7);
}


.flip-button {
    font-size: 20px;
}

.flip-button-label {
    font-size: 12px;
}

/* 
.case-items-scene {
    margin: 40px auto;
    position: relative;
    width: 360px;
    height: 520px;
    perspective: 1000px;
}

.case-items-carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform: translateZ(-360px);
    transform-style: preserve-3d;
    transition: transform 1s;
}

.case-item {
    position: absolute;
    width: 350px;
    height: 520px;
    left: 0;
    top: 0;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: -6px 12px 20px 0 rgba(135, 135, 135, 0.5);

    border-radius: 16px;
    transition: transform 0.3s ease 0s;
}

.case-item:nth-child(1) { transform: rotateY(0deg) translateZ(360px); }
.case-item:nth-child(2) { transform: rotateY(60deg) translateZ(360px); }
.case-item:nth-child(3) { transform: rotateY(120deg) translateZ(360px); }
.case-item:nth-child(4) { transform: rotateY(180deg) translateZ(360px); }
.case-item:nth-child(5) { transform: rotateY(240deg) translateZ(360px); }
.case-item:nth-child(6) { transform: rotateY(300deg) translateZ(360px); } */

/* .cases .cases-items .case-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: white;
    box-shadow: -14.142px 14.142px 20px 0px rgba(135, 135, 135, 0.5);

    border-radius: 25px;
    transition: transform 0.3s ease 0s;
} */
/* 
.case-item:hover {
    cursor: pointer;
}

.case-item .case-item-top-container {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: orange;
    border-radius: 16px 16px 0 16px;
    width: 100%;
    position: relative;
}

.case-item .case-item-top-container::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: -16px;
    width: 16px;
    height: 16px;
    
    background-color: orange;
}

.case-item .case-item-top-container::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -16px;
    width: 16px;
    height: 16px;
    border-radius: 0 16px 0 0;
    
    background-color: white;
}

.case-item .case-item-top-container .case-item-photo-container {
    border: 5px solid white;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: black;
}

.case-item .case-item-top-container .case-item-photo-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid orange;
    object-fit: cover;
}

.case-item .case-item-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 230px;

    padding: 20px;
}

.case-item-text-container {
    text-align: center;
    position: relative;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease 0s;
}

.slider-button:hover {
    cursor: pointer;
}

.previous-button {
    left: -200px;
}

.next-button {
    right: -200px;
} */

/* reviews */

.reviews {
    background-image: url('images/cases.jpg');
    background-position: center center;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews-content {
    gap: 40px;
}

.reviews-items {
    overflow: hidden;
}

.swiper.mySwiper {
    width: 60vw;
    height: auto;
    margin: 0 29px;
    overflow: initial;
}

.mySwiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.mySwiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-item {
    width: 100%;
    height: 100%;
    background-color: rgb(240, 240, 240);
    background-image: linear-gradient(to bottom, orange, rgb(240, 240, 240) 35%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 30px;
}

.review-item-top-container,
.review-item-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-item-top-container {
    gap: 30px;
}

.review-item-bottom-container {
    gap: 10px;
}

.review-item-top-container .photo-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid orange;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.review-item-top-container .photo-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.review-item-top-container .name-container {
    font-size: 18px;
    font-weight: 500;
}

.telegram-link {
    font-size: 14px;
}

.telegram-link:hover a {
    filter: brightness(0.5);
}

.telegram-link-icon {
    color: #229ED9;
}

.telegram-link a {
    text-decoration: none;
    color: #229ED9;
}

.review-label {
    font-size: 14px;
    font-weight: 700;
    background: orange;
    padding: 4px 8px;
    border-radius: 8px;
    transform: rotate(-15deg);
    position: absolute;
    top: 140px;
    right: 20px;
}

.review-item-bottom-container .review-content {
    font-size: 14px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.review-item-bottom-container:not(.opened) .review-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, rgb(240, 240, 240));
}

.review-item-bottom-container.opened .review-content {
    height: auto;
}

.button-more {
    font-size: 20px;
}

.button-more:hover {
  cursor: pointer;
}

.review-item-bottom-container.opened .button-more .arrow-down {
    display: none;
}

.review-item-bottom-container:not(.opened) .button-more .arrow-up {
    display: none;
}

/* Audio results */

.audio-results {
    background-color: black;
    background-image: linear-gradient(315deg, #000000 0%, #3f3e3c 74%);
}

.audio-items {
    margin: 40px auto 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 160px;
}

.audio-item {
    color: white;
    fill: lightgrey;
    font-size: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.audio-item .button-play:hover,
.audio-item .button-stop:hover {
    cursor: pointer;
}

.audio-item:not(.playing) .button-stop {
    display: none;
}

.audio-item.playing .button-play {
    display: none;
}

.audio-item .track {
    fill: orange;
}

.audio-item .track-time {
    font-size: 14px;
}

/* footer */

.footer-container {
    width: 100%;
    /* height: 270px; */
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 14px;
    background-color: black;
    color: white;
}

.footer-container .logo-container {
    position: relative;
}

.footer-container .logo-container img {
    height: 100px;
}

.contacts-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    font-size: 16px;
}

.contact-container {
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    color: white;
}

.footer-line {
    width: 80%;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-text {
    font-size: 12px;
}

/* contact form */

.contact-form {
    min-height: 100px;
    background-color: black;
    padding: 30px;
    display: flex;
    justify-content: center;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    gap: 20px;
    background: orange;
    border-radius: 25px;
}

.contact-form-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form-content input {
    border-radius: 5px;
    border: 2px solid white;
    padding: 12px;
    min-width: 300px;
    box-sizing: border-box;
}

.contact-form-content .button-connect {
    /* background-image: linear-gradient(to right, #000000, #8e5500); */
    background-color: black;
    color: white;
}


/* badge */

.badges-lines {
    margin-top: 32px;
}

.firstLine {
    font-size: 24px;
    font-weight: 300;
}

.secondLine {
    font-size: 36px;
    line-height: 36px;
    font-weight: 600;
}

.thirdLine {
    font-size: 26px;
    line-height: 32px;
    font-weight: 300;
}

.fourthLine {
    font-size: 12px;
    font-weight: 300;
    position: relative;
    top: -10px;
}

.fifthLine {
    position: relative;
    top: -10px;
}

.badges {
    position: absolute;
    top: 0;
    right: 150px;
    margin: 60px auto;
    padding-top: 10px;
    width: 200px;
    height: 200px;
    background: orange;
    border-radius: 100%;
    color: black;
    line-height: 25px;
    text-align: center;
    text-transform: uppercase;
    font-family: "Open Sans", sans-serif;

    transform-origin: 100px -71px;
    z-index: 5;
}

.badges.animated {
    /* animation: 3s ease-in-out 0s normal none infinite running swing; */
    animation: 3s linear 0s normal none infinite running swing;
}

.badges:hover {
    cursor: pointer;
}

.badges:before {
    content: "";
    position: absolute;
    top: 90px;
    left: 90px;
    width: 20px;
    height: 20px;
    border-radius: 100%;

    box-shadow: 0px -82px 0px -2px black, 0px -100px orange, 20px -98px orange,
        39px -94px orange, 56px -85px orange, 71px -72px orange,
        83px -57px orange, 93px -40px orange, 98px -20px orange,
        100px 0px orange, -20px -98px orange, -39px -94px orange,
        -71px -72px orange, -56px -85px orange, -83px -57px orange,
        -93px -40px orange, -98px -20px orange, -100px 0px orange,
        0px 100px orange, -20px 98px orange, -39px 94px orange,
        -56px 85px orange, -71px 72px orange, -83px 57px orange,
        -93px -40px orange, -98px 20px orange, -93px 40px orange,
        20px 98px orange, 39px 94px orange, 56px 85px orange, 71px 72px orange,
        83px 57px orange, 93px 40px orange, 98px 20px orange;
}

.badges:after {
    content: "";
    position: absolute;
    top: -70px;
    left: 99px;
    width: 2px;
    height: 94px;
    border-radius: 0%;
    background: white;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.badges.animated .hide-message {
    display: none;
}

.badges:not(.animated) .show-message {
    display: none;
}

.badges-message {
    width: 160px;
    height: 0px;
    background: #e8880c;
    top: 180px;
    right: 170px;
    position: absolute;
    z-index: 4;
    transition: all 0.3s ease 0s;
    overflow: hidden;
}

.badges-message.shown {
    height: 380px;
    top: 220px;
    padding: 55px 15px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.badges-message-text {
    font-size: 12px;
}

/* MOBILE */

@media (min-width:320px) and (max-width:481px) {
    .toolbar {
        padding: 10px 20px;
    }

    .toolbar .logo-container:not(.logo-mobile-container) {
        display: none;
    }

    .toolbar .logo-container.logo-mobile-container {
        display: flex;
    }

    .logo {
        height: 40px;
    }
    
    .contacts {
        gap: 8px;
    }

    .contacts .contact-item:not(.mobile-contact-item) {
        display: none;
    }

    .contacts .contact-item {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-size: 16px;
        background-color: white;
    }

    .contact-label {
        display: none;
    }

    .menu {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        color: white;
        font-size: 26px;
        height: 40px;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -90vw;
        width: 90vw;
        height: 100vh;
        background-color: black;
        color: white;
        padding: 30px;
        z-index: 20;
        transition: all 0.3s ease 0s;
    }

    .mobile-menu.opened {
        left: 0;
    }

    .mobile-menu-content {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .mobile-menu-content .close-button {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 26px;
    }

    .mobile-menu-items {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
        padding-top: 70px;
    }

    .mobile-menu-item {
        text-decoration: none;
        color: white;
        font-size: 20px;
    }
    
    .viber-message-box {
        bottom: 20px;
        right: 20px;
        min-width: 300px;
        max-width: 300px;
    }

    .main-text-container {
        width: 92%;
        top: 45%;
        gap: 30px;
    }
    
    .ribbon {
        font-size: 12px;
    }

    .main-text {
        font-size: 32px;
        line-height: 1.3em;
    }

    .additional-text {
        font-size: 16px;
    }

    .running-line {
        max-width: 85vw;
        margin: 0;
        font-size: 14px;
        text-align: center;
    }

    .running-line.running-line-mobile {
        display: block;
    }

    .running-line:not(.running-line-mobile) {
        display: none;
    }
    
    .crm-line {
        max-width: 95vw;
        font-size: 10px;
    }

    .badges {
        margin: 30px auto;
        width: 120px;
        height: 120px;
        right: 40px;
        left: auto;
        z-index: 7;
    }

    .badges:before {
        transform: scale(0.6);
        top: 50px;
        left: 50px;
    }

    .badges:after {
        left: 59px;
        height: 84px;
    }

    .badges-lines {
        transform: scale(0.6) translateY(-80px);
    }

    .badges-message {
        transform: scale(0.6);
        z-index: 6;
        right: 20px;
        top: 80px;
    }

    .badges-message.shown {
        top: 50px;
    }

    .section-content {
        flex-wrap: wrap;
        gap: 20px;
        padding: 30px;
        width: 100%;
    }
    
    .section-content.partners-content {
        gap: 40px;
    }

    .section-content.work-start-content {
        gap: 70px;
    }

    .about .about-text-container {
        width: 100%;
        align-items: center;
    }

    .about-text-container .about-text {
      font-size: 14px;
      line-height: 24px;
      text-align: center;
    }

    .stats {
        padding: 0;
        width: 100%;
    }

    .stats-container {
        gap: 0;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .stat {
        height: 120px;
        width: 40%;
    }

    .stat .stat-value,
    .stat .stat-sign {
        font-size: 32px;
    }

    .stat .stat-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
        text-align: center;
    }

    .contact-form-container {
        padding: 20px;
    }

    .contact-form-content input {
        min-width: 270px;
    }

    .work-start .work-start-steps .work-start-step .step-text {
        font-size: 12px;
    }

    .why-we .why-we-items {
        padding-top: 0;
        max-width: 100%;
        gap: 20px;
    }

    .why-we .why-we-items .why-we-item {
        flex: 1 1 auto;
        padding: 18px;
        gap: 10px;
        height: auto;
    }

    .why-we-item-content {
        font-size: 14px;
    }    

    .tariff .tariff-items {
        padding-top: 0;
        max-width: 100%;
        gap: 20px;
    }

    .tariff .tariff-items .tariff-item {
        flex: 1 1 auto;
        padding: 18px;
    }

    .tariff .tariff-items .tariff-item .tariff-item-content {
        gap: 10px;
    }

    .tariff-item-list {
        font-size: 14px;
    }

    .partners .partner-items {
        gap: 10px;
    }

    .partners .partner-items .partner-item img {
        height: 72px;
        aspect-ratio: auto;
    }

    .cases {
        padding: 30px 0;
        width: 100%;
    }

    .swiper.cases-swiper {
        width: calc(100% - 80px);
        padding: 0;
    }

    .swiper-slide:not(.flipped):hover .case-swiper-item-inner {
        transform: none;
    }

    .case-swiper-item {
        padding: 20px;
    }

    .case-index-header, .case-index-body {
        padding: 12px;
    }

    .reviews {
        width: 100%;
    }

    .reviews-content {
        padding: 30px 10px;
    }

    .reviews-items {
        margin: 0;
        width: 100%;
    }

    .swiper.mySwiper {
        width: calc(100% - 58px);
    }

    .audio-items {
        gap: 0 50px;
        margin: 0;
        flex-wrap: wrap; 
    }

    .audio-item {
        max-width: 40%;
    }

    .footer-container {
        padding: 30px;
    }

    .footer-container .logo-container img {
        height: 60px;
    }

    .contacts-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .contact-form {
        gap: 20px;
        padding: 30px;
    }
}

.viber-snow-item,
.viber-overlay.shown .viber-message-box {
  animation: none !important;
}
