/*
Theme Name: SmartExpert
Theme URI: https://smartexpert.tomiuk.click/
Author: Tomiuk
Description: Custom WordPress theme for SmartExpert.
Version: 1.0.0
Text Domain: smartexpert
*/

/* =========================
   Global
========================= */

:root {
    --color-text: #061731;
    --color-background: #ffffff;
    --color-primary: #061731;
    --color-secondary: #6c7788;
    --color-light: #e8eef4;
    --container-width: 1600px;
    --container-padding: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--color-text);
    background: var(--color-background);
    font-family: Montserrat, Arial, sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: 100%;
    max-width: calc(var(--container-width) + (var(--container-padding) * 2));
    margin: 0 auto;
    padding-right: var(--container-padding);
    padding-left: var(--container-padding);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================
   Header
========================= */

.site-header {
    position: relative;
    z-index: 50;
    background: transparent;
}

.site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: 184px 1fr auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 84px;
    padding: 20px clamp(20px, 8.333vw, 160px);
}

.site-logo {
    display: block;
    width: 184px;
    height: 44px;
    flex-shrink: 0;
}

.site-logo__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav {
    justify-self: center;
}

.site-nav--desktop {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-nav__item {
    position: relative;
}

.site-nav__item--has-submenu {
    position: static;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 1000px;
    color: var(--color-primary);
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.site-nav__item--has-submenu:hover .site-nav__link,
.site-nav__item--has-submenu.is-open .site-nav__link,
.site-nav__link:focus-visible {
    background: var(--color-light);
    outline: none;
}

.site-nav__chevron,
.header-submenu__arrow,
.mobile-menu__arrow,
.mobile-submenu__arrow {
    width: 24px;
    height: 24px;
    background-color: currentColor;
    flex-shrink: 0;
}

.site-nav__chevron {
    mask: url("assets/images/chevron-down.svg") center / 24px 24px no-repeat;
}

.header-submenu__arrow,
.mobile-menu__arrow,
.mobile-submenu__arrow {
    mask: url("assets/images/chevron-right.svg") center / 24px 24px no-repeat;
}

.site-header__demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 1000px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.site-header__demo--mobile,
.site-header__toggle {
    display: none;
}

.header-submenu {
    position: absolute;
    top: 70px;
    left: 50%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 32px;
    width: 860px;
    padding: 16px;
    border: 1px solid var(--color-light);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(63, 126, 195, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    pointer-events: none;
}

.site-nav__item--has-submenu:hover .header-submenu,
.site-nav__item--has-submenu:focus-within .header-submenu,
.site-nav__item--has-submenu.is-open .header-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.header-submenu__list {
    display: grid;
    align-content: start;
}

.header-submenu__item {
    display: grid;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-light);
}

.header-submenu__item:last-child {
    border-bottom: 0;
}

.header-submenu__title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 1000px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.header-submenu__item.is-active .header-submenu__title,
.header-submenu__item:hover .header-submenu__title,
.header-submenu__item:focus-visible .header-submenu__title {
    background: var(--color-light);
}

.header-submenu__item:focus-visible {
    outline: none;
}

.header-submenu__text {
    padding-left: 14px;
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.header-submenu__media {
    position: relative;
    width: 410px;
    height: 410px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--color-light);
}

.header-submenu__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.header-submenu__image.is-active {
    opacity: 1;
}

.mobile-menu {
    display: none;
}

/* =========================
   Footer
========================= */

.site-footer {
    background: var(--color-background);
}

.site-footer__inner {
    display: grid;
    gap: 16px;
    padding-top: 32px;
    padding-bottom: 32px;
}

/* =========================
   Pages
========================= */

.site-main {
    min-height: 50vh;
}

.page-content {
    padding-top: 64px;
    padding-bottom: 64px;
}

.page-content > *:first-child {
    margin-top: 0;
}

.page-content > *:last-child {
    margin-bottom: 0;
}

/* =========================
   Home: Hero
========================= */

.home-page {
    margin-top: -84px;
}

.home-hero {
    position: relative;
    min-height: 1328px;
    overflow: hidden;
    background: #ffffff;
}

.home-hero__bg {
    position: absolute;
    inset: 0 auto auto 50%;
    width: 1920px;
    height: 1328px;
    background: url("assets/images/home-hero-bg.png") center top / 1920px 1328px no-repeat;
    transform: translateX(-50%);
}

.home-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 24px;
    width: min(1068px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 130px;
    text-align: center;
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 4px 12px 4px 4px;
    border-radius: 1000px;
    background: var(--color-light);
    color: #135aa7;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-hero__badge img {
    width: 24px;
    height: 24px;
}

.home-hero__title {
    max-width: 1068px;
    margin: 0;
    color: var(--color-primary);
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
}

.home-hero__text {
    max-width: 913px;
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.home-hero__text p {
    margin: 0;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    width: 100%;
    margin-top: 16px;
}

.home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 460px;
    height: 54px;
    padding: 0 24px;
    border-radius: 1000px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.home-hero__button--primary {
    background: var(--color-primary);
    color: #ffffff;
}

.home-hero__button--secondary {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.home-hero__button img {
    width: 24px;
    height: 24px;
}

.home-hero__benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    width: 100%;
}

.home-hero__benefit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #135aa7;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    white-space: nowrap;
}

.home-hero__benefit img {
    width: 16px;
    height: 16px;
}

.home-hero__media {
    position: absolute;
    top: 595px;
    left: 50%;
    z-index: 1;
    width: 1280px;
    height: 660px;
    transform: translateX(-50%);
}

.home-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__image--mobile {
    display: none;
}

/* =========================
   Home: Logos
========================= */

.home-logos {
    background: #ffffff;
    padding: 80px 0;
}

.home-logos__inner {
    display: grid;
    gap: 50px;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.home-logos__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 519px;
    gap: 40px;
    align-items: stretch;
}

.home-logos__content {
    display: grid;
    gap: 24px;
    align-content: start;
}

.home-logos__title {
    margin: 0;
    color: var(--color-primary);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.home-logos__text {
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.home-logos__text p,
.home-logos__card-text p {
    margin: 0;
}

.home-logos__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #ffffff;
}

.home-logos__fact {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 0 24px;
    border-right: 1px solid var(--color-light);
    text-align: center;
}

.home-logos__fact:last-child {
    border-right: 0;
}

.home-logos__fact-value {
    color: #135aa7;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.home-logos__fact-label {
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.home-logos__card {
    display: grid;
    align-content: center;
    gap: 24px;
    min-height: 196px;
    padding: 16px 32px 32px;
    border: 1px solid var(--color-light);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 3.846%, #e3edf8 100%);
}

.home-logos__card-icon {
    width: 66px;
    height: 60px;
    object-fit: contain;
}

.home-logos__card-copy {
    display: grid;
    gap: 16px;
}

.home-logos__card-title {
    margin: 0;
    color: #476085;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.home-logos__card-text {
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.home-logos__strip {
    position: relative;
    width: 100%;
    height: 143px;
    overflow: hidden;
    background: #ffffff;
}

.home-logos__strip::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #ffffff 6.25%, rgba(255, 255, 255, 0) 34.615%, rgba(255, 255, 255, 0) 73.558%, #ffffff 95.192%);
    content: "";
}

.home-logos__marquee {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    width: max-content;
    transform: translateY(-50%);
    animation: logos-marquee 34s linear infinite;
}

.home-logos__track {
    display: flex;
    align-items: center;
    gap: 70px;
    flex: 0 0 auto;
    padding-right: 70px;
}

.home-logos__logo {
    flex: 0 0 auto;
    height: 60px;
}

.home-logos__logo img {
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
}

@keyframes logos-marquee {
    from {
        transform: translate3d(0, -50%, 0);
    }

    to {
        transform: translate3d(-50%, -50%, 0);
    }
}

/* =========================
   Home: Problems
========================= */

.home-problems {
    padding: 0 0 80px;
    background: #ffffff;
}

.home-problems__inner {
    display: grid;
    justify-items: center;
    gap: 40px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 80px 100px;
    border-radius: 50px;
    background: linear-gradient(180deg, #e6f9f2 0%, #ffffff 93.269%);
}

.home-problems__heading {
    display: grid;
    gap: 24px;
    width: 100%;
}

.home-problems__badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 4px;
    min-height: 34px;
    padding: 4px 12px 4px 4px;
    border-radius: 1000px;
    background: #ffffff;
    color: #135aa7;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    text-transform: uppercase;
}

.home-problems__badge img,
.home-problems__solution-icon {
    width: 24px;
    height: 24px;
}

.home-problems__intro {
    display: grid;
    grid-template-columns: 700px 540px;
    align-items: end;
    gap: 40px;
}

.home-problems__title {
    margin: 0;
    color: var(--color-primary);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.home-problems__text,
.home-problems__card-text {
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.home-problems__text p,
.home-problems__card-text p,
.home-problems__solution-text p {
    margin: 0;
}

.home-problems__cards {
    display: grid;
    grid-template-columns: 720fr 540fr;
    gap: 24px;
    width: 100%;
}

.home-problems__card {
    display: grid;
    align-content: space-between;
    gap: 16px;
    min-height: 329px;
    padding: 24px;
    border: 1px solid var(--color-light);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(80, 209, 162, 0.2);
}

.home-problems__card--4 {
    grid-column: 2;
    grid-row: 2;
}

.home-problems__problem,
.home-problems__card-copy {
    display: grid;
    gap: 16px;
}

.home-problems__icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.home-problems__card-title {
    margin: 0;
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.home-problems__solution {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    padding: 24px 16px;
    border-radius: 12px;
}

.home-problems__solution--blue {
    background: var(--color-light);
    color: #135aa7;
}

.home-problems__solution--green {
    background: #e6f9f2;
    color: #388a77;
}

.home-problems__solution-icon {
    width: 36px;
    height: 36px;
}

.home-problems__solution-copy {
    display: grid;
    gap: 8px;
    color: inherit;
    font-size: 16px;
    line-height: 1.45;
}

.home-problems__solution-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.home-problems__solution-text {
    font-weight: 500;
}

.home-problems__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 410px;
    height: 54px;
    padding: 0 24px;
    border-radius: 1000px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

.home-problems__button-short {
    display: none;
}

/* =========================
   Responsive
========================= */

@media (max-width: 767px) {
    :root {
        --container-padding: 16px;
    }

    body.is-menu-open {
        overflow: hidden;
    }

    .site-header__inner {
        grid-template-columns: 130px 1fr 40px;
        gap: 8px;
        min-height: 56px;
        padding: 8px 12px;
    }

    .site-logo {
        width: 130px;
        height: 31px;
    }

    .site-nav--desktop,
    .site-header__demo--desktop {
        display: none;
    }

    .site-header__demo--mobile {
        display: inline-flex;
        justify-self: end;
        height: 40px;
        padding: 0 16px;
        font-size: 15px;
    }

    .site-header__toggle {
        position: relative;
        display: grid;
        place-items: center;
        justify-self: end;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid var(--color-primary);
        border-radius: 1000px;
        background: transparent;
        cursor: pointer;
    }

    .site-header__toggle span {
        position: absolute;
        left: 11px;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--color-primary);
    }

    .site-header__toggle span:nth-child(1) {
        top: 13px;
    }

    .site-header__toggle span:nth-child(2) {
        top: 19px;
    }

    .site-header__toggle span:nth-child(3) {
        top: 25px;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 100;
        display: block;
        background: var(--color-light);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu__panel {
        display: grid;
        align-content: start;
        gap: 32px;
        min-height: 100%;
        padding: 20px;
        background: var(--color-light);
        transform: translateX(100%);
        transition: transform 0.24s ease;
    }

    .mobile-menu.is-open .mobile-menu__panel {
        transform: translateX(0);
    }

    .mobile-menu__top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-menu__logo {
        width: 186px;
        height: 44px;
    }

    .mobile-menu__close {
        position: relative;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid var(--color-light);
        border-radius: 1000px;
        background: transparent;
        cursor: pointer;
    }

    .mobile-menu__close::before,
    .mobile-menu__close::after {
        position: absolute;
        top: 19px;
        left: 10px;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: var(--color-primary);
        content: "";
    }

    .mobile-menu__close::before {
        transform: rotate(45deg);
    }

    .mobile-menu__close::after {
        transform: rotate(-45deg);
    }

    .mobile-menu__view {
        display: none;
    }

    .mobile-menu__view.is-active {
        display: grid;
        gap: 32px;
    }

    .mobile-menu__nav {
        display: grid;
        gap: 12px;
        justify-items: start;
    }

    .mobile-menu__link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-height: 44px;
        padding: 0 14px;
        border: 0;
        border-radius: 1000px;
        background: transparent;
        color: var(--color-primary);
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        text-align: left;
        cursor: pointer;
    }

    .mobile-menu__demo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 54px;
        padding: 0 24px;
        border-radius: 1000px;
        background: var(--color-primary);
        color: #ffffff;
        font-size: 17px;
        font-weight: 600;
        line-height: 1;
    }

    .mobile-menu__view[data-mobile-view="submenu"].is-active {
        gap: 24px;
    }

    .mobile-submenu {
        display: grid;
        gap: 24px;
    }

    .mobile-submenu__item {
        display: grid;
        gap: 4px;
        color: var(--color-primary);
    }

    .mobile-submenu__title {
        display: flex;
        align-items: center;
        gap: 4px;
        min-height: 40px;
        padding: 0 14px;
        border-radius: 1000px;
        color: var(--color-primary);
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
    }

    .mobile-submenu__item.is-active .mobile-submenu__title {
        background: var(--color-light);
    }

    .mobile-submenu__text {
        padding-left: 14px;
        color: var(--color-secondary);
        font-size: 16px;
        font-weight: 500;
        line-height: 1.45;
    }

    .home-page {
        margin-top: 0;
    }

    .home-hero {
        min-height: 1205px;
    }

    .home-hero__bg {
        width: 100%;
        height: 656px;
        background-image: radial-gradient(circle at 68% 0, rgba(52, 211, 153, 0.28) 0, rgba(52, 211, 153, 0.1) 32%, rgba(255, 255, 255, 0) 64%);
        background-size: cover;
        transform: translateX(-50%);
    }

    .home-hero__content {
        justify-items: start;
        gap: 24px;
        width: calc(100% - 32px);
        margin: 0 auto;
        padding-top: 24px;
        text-align: left;
    }

    .home-hero__badge {
        min-height: 32px;
        font-size: 14px;
    }

    .home-hero__title {
        font-size: 24px;
    }

    .home-hero__text {
        max-width: none;
        font-size: 16px;
    }

    .home-hero__actions {
        display: grid;
        gap: 16px;
        margin-top: 0;
    }

    .home-hero__button {
        width: 100%;
        height: 54px;
        font-size: 17px;
    }

    .home-hero__button--secondary {
        font-size: 18px;
    }

    .home-hero__benefits {
        display: grid;
        justify-content: start;
        gap: 8px;
    }

    .home-hero__media {
        top: 656px;
        left: 50%;
        width: 390px;
        max-width: 100%;
        height: 549px;
    }

    .home-hero__image--desktop {
        display: none;
    }

    .home-hero__image--mobile {
        display: block;
    }

    .home-logos {
        padding: 40px 0;
    }

    .home-logos__inner {
        gap: 24px;
        width: 100%;
        padding: 0 16px;
    }

    .home-logos__top {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-logos__content {
        gap: 16px;
    }

    .home-logos__title {
        font-size: 21px;
        line-height: 1.4;
    }

    .home-logos__facts {
        grid-template-columns: 1fr;
    }

    .home-logos__fact {
        gap: 8px;
        padding: 16px 24px;
        border-right: 0;
        border-bottom: 1px solid var(--color-light);
    }

    .home-logos__fact:last-child {
        border-bottom: 0;
    }

    .home-logos__card {
        gap: 24px;
        padding: 16px;
    }

    .home-logos__card-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .home-logos__strip {
        width: calc(100vw - 16px);
        height: 90px;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .home-logos__strip::after {
        display: none;
    }

    .home-logos__marquee {
        animation-duration: 26s;
    }

    .home-logos__track {
        gap: 30px;
        padding-right: 16px;
    }

    .home-logos__logo,
    .home-logos__logo img {
        height: 40px;
    }

    .home-problems {
        padding-bottom: 40px;
    }

    .home-problems__inner {
        justify-items: stretch;
        gap: 24px;
        width: 100%;
        padding: 40px 16px;
        border-radius: 0;
    }

    .home-problems__heading {
        gap: 16px;
    }

    .home-problems__badge {
        min-height: 32px;
        font-size: 14px;
    }

    .home-problems__intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-problems__title {
        font-size: 21px;
        line-height: 1.4;
    }

    .home-problems__cards {
        display: flex;
        gap: 12px;
        width: calc(100% + 16px);
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 16px 2px 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .home-problems__cards::-webkit-scrollbar {
        display: none;
    }

    .home-problems__card,
    .home-problems__card--4 {
        flex: 0 0 320px;
        width: 320px;
        min-height: auto;
        padding: 16px;
        scroll-snap-align: start;
    }

    .home-problems__card-title {
        font-size: 18px;
    }

    .home-problems__solution {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .home-problems__solution-title {
        font-size: 16px;
    }

    .home-problems__button {
        justify-self: center;
        width: 320px;
        font-size: 17px;
    }

    .home-problems__button-full {
        display: none;
    }

    .home-problems__button-short {
        display: inline;
    }

}
