p {
    margin-bottom: 0;
}

.product-description {
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: auto;
    background-color: #ffffff;
    align-items: center;
    padding: 80px 16px 48px 16px;
    top: 80px;
    box-sizing: border-box;
}

@media screen and (min-width: 1024px) {
    .product-description {
        flex-direction: row;
        padding-inline-start: 164px;
        padding-block: 196px 0;
        height: 956px;
        justify-content: center;
        align-items: start;
        display: flex;
        column-gap: 56px;
    }
}

.product-description .content {
    padding-block-start: 20px;
    margin-inline-end: 0;
    margin-block-end: 20px;
}

@media screen and (min-width: 1024px) {
    .product-description .content {
        margin-inline-end: 0;
        margin-block: 0;
        max-width: 610px;
    }
}

.product-description .product-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
}

.product-description .product-text-block-underHeader-text {
    position: relative;
    align-self: stretch;
    margin-top: -1.00px;
    font-weight: var(--body-large-font-weight);
    color: var(--text-primary);
    font-size: var(--body-large-font-size);
    letter-spacing: var(--body-large-letter-spacing);
    line-height: var(--body-large-line-height);
    font-style: var(--body-large-font-style);
}

.product-solution {
    box-sizing: border-box;
    display: flex;
    padding-block: 133px;
    padding: 40px 16px 48px 16px;
    align-items: center;
    justify-content: center;

    flex-direction: column-reverse;
}

@media screen and (min-width: 1024px) {
    .product-solution {
        flex-direction: row;
        column-gap: var(--lgc-space-600, 48px);
        padding-block: 263px;
        min-height: 956px;
        align-items: flex-start;
    }
}

.product-solution .content {
    margin-block-end: 20px;
    max-width: 100%;
    margin-inline-start: 0;
}

@media screen and (min-width: 1024px) {
    .product-solution .content {
        margin-block-end: 0;
        margin-inline-start: 0;
        max-width: 488px;
    }
}

.product-solution .bg {
    z-index: -1;
    position: absolute;
    aspect-ratio: 1 / 1;
    width: 50%;
    left: 43%;
    top: 8%;
}

.product-problem {
    box-sizing: border-box;
    display: flex;
    padding: 40px 16px 48px 16px;
    justify-content: center;
    align-items: center;
    min-height: 867px;
    flex-direction: column;
    background-color: #F4F5F8;
}

@media screen and (min-width: 1024px) {
    .product-problem {
        flex-direction: row;
        padding-block: 170px;
        height: auto;
    }
}

.product-problem .content {
    margin-block-end: 20px;

}

@media screen and (min-width: 1024px) {
    .product-problem .content {
        margin-block-end: 0;
        margin-inline-end: 40px;
    }
}

.product-problem .img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-example {
    box-sizing: border-box;
    display: flex;
    padding: 40px 16px 48px 16px;
    justify-content: center;
    align-items: center;
    background-color: #F4F5F8;
    min-height: 867px;
    flex-direction: column;
}

@media screen and (min-width: 1024px) {
    .product-example {
        flex-direction: row;
        padding-block: 206px;
        height: auto;

    }
}


.product-faq {
    display: flex;
    flex-direction: column;
    padding: 40px 16px 48px 16px;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    .product-faq {
        padding-block-start: 246px;
        padding-block-end: 166px;
        height: auto;
    }
}

.product-footer {
    background: linear-gradient(to top, #FFD352 78%, #FFFFFF 20%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    padding-inline: 11px;
    padding-block: 25px;
}

@media screen and (min-width: 1024px) {
    .product-footer {
        flex-direction: row;
        justify-content: end;
        gap: var(--lgc-space-600, 48px);
        padding-inline: var(--lgc-space-300, 24px) max(var(--lgc-space-300, 24px), calc((100% - 1200px) / 2));
        padding-block: 0;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .product-footer {
        flex-direction: column-reverse;
        padding-block: 25px;
    }
}

/* recurring-tasks-footer.png is taller than the other footer images (465px,
   white-triangle edge at 31% of its height vs ~20%), so the white band of the
   gradient must reach deeper for the triangle to meet the white area. */
@media screen and (min-width: 1024px) {
    .product-footer--tall-image {
        background: linear-gradient(to top, #FFD352 69%, #FFFFFF 31%);
    }
}

.footer-img {
    width: 100%;
    height: auto;
}

@media screen and (min-width: 1024px) {
    .footer-img {
        width: auto;
        max-width: min(44vw, 700px);
        height: auto;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .footer-img {
        width: 100%;
        max-width: 700px;
    }
}

.btns-and-subtitles {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: var(--lgc-space-100, 8px);
    margin-block-start: 24px;
    width: 100%;
}

.btns {
    display: flex;
    flex-direction: column;
    gap: var(--lgc-space-150, 12px);
    width: 100%;
}

@media screen and (min-width: 1024px) {
    .btns {
        flex-direction: row;
        align-items: center;
        width: fit-content;
    }

    .btns .btn,
    .btns .btn__text {
        white-space: nowrap;
    }
}

.product-footer-button-block {
    max-width: 560px;
    margin-block-start: 6%;
}

.product-footer-header {
    text-align: center;
    font-family: "Roboto Flex";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    margin-block-end: 32px;
}

@media screen and (min-width: 1024px) {
    .product-footer-header {
        text-align: start;
        font-family: "Roboto Flex";
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 44px; /* 122.222% */

    }
}


.product-faq-body {
    margin-block-start: 24px;
    display: flex;
    max-width: 1200px;
    flex-direction: column;
}

@media screen and (min-width: 1024px) {
    .product-faq-body {
        flex-direction: row;
        margin-block-start: 64px;
    }
}


@media screen and (min-width: 1024px) {
    .product-example {
        flex-direction: row;
    }
}

.product-faq-answer {
    display: flex;
    flex-direction: column;

    flex: 1;
    min-width: 0;
}

@media screen and (min-width: 1024px) {
    .product-faq-answer {

        gap: 20px;
    }
}

.product-faq-answer + .product-faq-answer {
    margin-block-start: 40px;
    margin-inline-start: 0;
}

@media screen and (min-width: 1024px) {
    .product-faq-answer + .product-faq-answer {
        margin-block-start: 0;
        margin-inline-start: 64px;
    }
}


@media screen and (min-width: 1024px) {
    .product-faq-body-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .product-faq-body-column .product-faq-answer {
        margin-inline-start: 0;
        max-width: 560px;
    }
}

.product-faq-icon {
    width: 48px;
    height: 48px;
    margin-block-end: 20px;
}

@media screen and (min-width: 1024px) {
    .product-faq-icon {
        margin-block-end: 0;
    }
}

.product-example .content {
    max-width: 487px;
}

.product-example .img {
    object-fit: contain;
}

.content {
    display: flex;
    flex-direction: column;
    max-width: 576px;
    align-items: flex-start;
    position: relative;
}


.product-text-firstBlock-header {
    margin-block: 24px;
    /* headline-medium-bold */
    font-family: "Roboto Flex";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px; /* 128.571% */
}

@media screen and (min-width: 1250px) {
    .product-text-firstBlock-header {
        position: relative;
        align-self: stretch;
        font-family: "Roboto Flex", Helvetica;
        font-weight: 700;
        color: var(--text-primary);
        font-size: 60px;
        letter-spacing: -0.25px;
        line-height: 76px;
        z-index: 2;
    }
}


.product-text-block-header {
    /* display-small-bold */
    font-family: "Roboto Flex";
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px; /* 128.571% */
}

.product-text-block-header .highlights {
    position: static;
    display: inline;
    background-image: linear-gradient(#FFD54F, #FFD54F);
    background-repeat: repeat-x;
    background-position: 0 calc(100% - 0.1em);
    background-size: 100% 0.4em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.product-text-block-header .highlights::after {
    content: none;
}

@media screen and (max-width: 1023px) {
    .product-text-block-header {
        margin-block-end: 32px;
    }
}

@media screen and (min-width: 1250px) {
    .product-text-block-header {
        margin-block-end: 24px;
        font-family: "Roboto Flex";
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 44px; /* 122.222% */
    }
}

.product-text-block-body {
    font-family: "Roboto Flex";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.5px;
}

@media screen and (min-width: 1250px) {
    .product-text-block-body {
        position: relative;
        align-self: stretch;
        margin-top: -1.00px;
        font-family: "Roboto Flex", Helvetica;
        font-weight: 400;
        color: var(--text-primary);
        font-size: 16px;
        letter-spacing: 0.50px;
        line-height: 24px;
    }
}

.product-faq-body .product-text-block-body + .product-text-block-body {
    margin-block-start: 0;
}

.product-text-block-body + .product-text-block-body {
    margin-block-start: 24px;
}

.product-text-block-list {
    font-family: "Roboto Flex";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.5px;
}

.product-text-block-list li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.product-text-block-body {
    font-family: "Roboto Flex";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 28.8px */
    letter-spacing: 0.5px;
}

.product-features-block {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory; /* 👈 включаем snapping по горизонтали */
    scroll-padding-inline: 50%;

}

.product-features-block::-webkit-scrollbar {
    display: none;

}

@media screen and (min-width: 1024px) {
    .product-features-block {
        flex-direction: column;
    }
}

.key-feature-block {
    display: flex;
    padding: 12px;
    font-family: "Roboto Flex";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 6px;
    min-width: 260px;
    align-items: start;
    justify-content: start;
    flex-direction: column;
}

@media screen and (min-width: 1024px) {
    .key-feature-block {
        display: flex;
        align-items: start;
        justify-content: start;
        font-size: 18px;
        flex-direction: row;

    }
}

.key-feature-block-icon {
    margin-block-end: 12px;
    width: 24px;
    height: 24px;
}

@media screen and (min-width: 1024px) {
    .key-feature-block-icon {
        margin-block-start: 2px;
        margin-inline-end: 12px;
        margin-block-end: 0;
    }
}

.key-feature-block + .key-feature-block {
    margin-block-start: 0;
}

@media screen and (min-width: 1024px) {
    .key-feature-block + .key-feature-block {
        margin-block-start: 8px;
    }
}

.key-feature-block-active {
    background-color: #F4F5F8;
}

.key-feature-block-text-block {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 1024px) {
    .key-feature-block-text-block {

        flex-direction: row;
    }
}


.key-feature-block:has(.key-feature-href) {
    flex-direction: column;
}

.href-block-desktop {
    margin-inline-start: 32px;
    display: none;
}

.href-block-mobile {
    display: flex;
}

@media screen and (min-width: 1024px) {
    .href-block-desktop {
        display: block;
    }

    .href-block-mobile {
        display: none;
    }
}

.key-feature-href-block {
    margin-block-start: 4px;
}

.key-feature-href {
    display: flex;
    flex-direction: row;
    padding: 0;
    justify-content: start;
    align-items: center;
    color: #006FC2;
    text-align: center;
    /* title-medium */
    font-family: "Roboto Flex";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
    letter-spacing: 0.15px;
}

@media screen and (min-width: 1024px) {
    .key-feature-href + .key-feature-href {
        margin-block-start: 8px;
    }
}


.product-href-arrow {
    width: 20px;
    height: 20px;
}


.btn_subscribe_note {
    font-family: "Roboto Flex";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    color: #50535B;
}

.product-footer-button-block .btn_subscribe_note {
    color: #282B33;
    margin-block-start: var(--lgc-space-100, 8px);
}

.button-book-demo {
    background-color: #F4F5F8;
}

.product-footer-button-block .button-book-demo {
    background-color: #F4F5F8;
}

.product-description .overlap,
.product-solution .overlap {
    position: relative;
    width: 100%;
    max-width: 787px;
    height: auto;
    aspect-ratio: 787/608;
}

.product-problem .overlap {
    position: relative;
    width: 100%;
    max-width: 570px;
    height: auto;
    aspect-ratio: 1/1;
}

.product-example .overlap {
    position: relative;
    display: flex;
    min-width: 0;
    max-width: 718px;
    height: auto;
}

@media screen and (min-width: 1024px) {
    .product-example .overlap {
        margin-inline-start: 22px;
    }
}

.img {
    height: auto;
    display: block;
    border-radius: 8px;
    width: 100%;
}

.img.overlay {
    position: absolute;
    width: 40%;
    bottom: 30px;
    left: 0;
    z-index: 2;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: white;
}

@media screen and (min-width: 1024px) {
    .img.overlay {
        bottom: -16px;
        width: 30%;
    }
}

.bg {
    position: absolute;
    width: 54.6%;
    height: 70.7%;
    top: 14.6%;
    left: 34.1%;
    background-color: #FFC82E;
    border-radius: 18.86px;
    transform: rotate(45deg);
}

.product-description .img {
    width: 92.6%; /* 729/787 ≈ 92.6% */
    height: 80.6%; /* 490/608 ≈ 80.6% */
    top: 11.8%; /* 72/608 ≈ 11.8% */
    left: 0;
    position: absolute;
    object-fit: contain;
}

.slider-container {
    position: relative;

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

@media screen and (min-width: 1024px) {
    .slider-container {
        min-width: 600px;
    }
}

.slider-wrapper {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 419px;
}

.slide {
    display: none;
    text-align: center;
    transition: opacity 0.3s ease;
    max-width: 646px;


}

.slide.active {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 646px;
    border-radius: 12px;
}

.slide-image {
    width: 100%;
    border-radius: 12px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.10));

    height: 100%;
    max-height: 419px;
    object-fit: contain;
}

.slider-arrow {

    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    background-color: #F4F5F8;
    border-radius: 5.279px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.slider-arrow.left {
    left: 0;
}

.slider-arrow.right {
    right: 0;
}

@media screen and (min-width: 1024px) {
    .slider-arrow {
        position: unset;
        background-color: transparent;
        box-shadow: unset;
    }
}

.arrow-icon {
    width: 20px;
    height: 20px;
}


.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 33px;
}

.dot {
    height: 16px;
    width: 16px;

    background-color: #F4F5F8;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot + .dot {
    margin-inline-start: 16px;
}

.dot.active {
    background-color: #D6D7DA;
}

@media screen and (min-width: 1024px) {
    .btns-and-subtitles {
        margin-block-start: 48px;
        align-items: flex-start;
        width: fit-content;
    }
}

.products-learn-more-button {
    margin-block-start: 24px;
}

.product-problem-whiteBackground {
 background-color: unset;
}

/* ── Text-wrap ────────────────────────────────────────────────────────────── */
.product-text-firstBlock-header,
.product-text-block-header,
.product-footer-header {
    text-wrap: balance;
}

.product-text-block-body,
.product-text-block-underHeader-text {
    text-wrap: pretty;
}

/* ── Long-locale hero heading: Armenian overflows 610px column at 60px ───── */
@media screen and (min-width: 1250px) {
    :lang(hy) .product-text-firstBlock-header {
        font-size: 50px;
        line-height: 64px;
    }
}
