html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Helvetica';
    src: local('Helvetica');
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNeueCyr';
    src: local('HelveticaNeueCyr-Light'), local('HelveticaNeueCyr Light'), local('HelveticaNeueCyr');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNeueCyr';
    src: local('HelveticaNeueCyr-Roman'), local('HelveticaNeueCyr Roman'), local('Helvetica Neue');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNeueCyr';
    src: local('HelveticaNeueCyr-Medium'), local('HelveticaNeueCyr Medium'), local('Helvetica Neue Medium');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    /* Короткі переходи для всього, крім AOS та наших scroll-анімацій */
    *:not([data-aos])::before,
    *:not([data-aos])::after {
        transition-duration: 0.01ms !important;
    }
    /* body *:not([data-aos]) {
        transition-duration: 0.01ms !important;
    } */
    /* У review вимикаємо скорочення transition — залишаємо свої анімації */
    .review,
    .review *,
    .review *::before,
    .review *::after {
        transition-duration: revert !important;
    }
    /* Послуги, Етапи, слайдер кейсів — залишаємо плавну анімацію */
    .service .service__head,
    .service .service__nav,
    .service .service__item,
    .service .service__item-list,
    .service .service__item-content,
    .process__steps-list .process__steps-list-item,
    .cases__list,
    .cases__slide,
    .cases__pagination-item-line span,
    .cases__pagination-button-prev, .cases__pagination-button-next,
    .review .review_col,
    .review .review_block {
        transition-duration: 0.35s !important;
    }
    .cases__list { transition-duration: 0.6s !important; }
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    background-color: #000000;
}

main {
    overflow: hidden;
}

/* Глобальні плавні переходи для інтерактивних елементів */
a, button, .service__nav span, .service__nav-item, .cases__list-item, .header__logo, .footer__inner a {
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease,
                opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

p {
    margin: 0 0 10px;
}

a, button {
    all: unset;
    cursor: pointer;
}

/* Container
===================*/
.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
}

header {
    padding-top: 30px;
    padding-bottom: 12px;
    background: #000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px 24px;
    background: #000000;
}

.header__logo:hover {
    color: rgba(255, 255, 255, 1);
}
.header__logo {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 29px;
    letter-spacing: -1.15px;
    vertical-align: middle;
    text-transform: uppercase;
    color: rgba(128, 128, 128, 1);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__logo {
    flex: 0 0 auto;
    display: flex;
}

.header__meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 24px;
    flex: 0 0 auto;
    min-width: 0;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header__nav-item {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 13.5px;
    leading-trim: NONE;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    vertical-align: middle;
    text-transform: uppercase;
    color: rgba(128, 128, 128, 1);
    transition: color 0.3s ease;
}

.header__nav-item:hover {
    color: rgba(255, 255, 255, 1);
}

.header__copyright {
    flex: 0 0 auto;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 13.5px;
    leading-trim: NONE;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    vertical-align: middle;
    text-transform: uppercase;
    color: rgba(128, 128, 128, 1);
    white-space: nowrap;
}

.header__lang {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-size: 13.5px;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    text-transform: uppercase;
    white-space: nowrap;
}

.header__lang-link {
    color: rgba(128, 128, 128, 1);
    text-decoration: none;
    transition: color 0.2s ease;
}

.header__lang-link:hover {
    color: rgba(255, 255, 255, 1);
}

.header__lang-link.is-active {
    color: rgba(255, 255, 255, 1);
}

.header__lang-sep {
    color: rgba(128, 128, 128, 0.45);
    user-select: none;
}

.header__menu-btn {
    display: none; /* на десктопі сховано, показується в media 768px */
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 17.16px;
    letter-spacing: -0.26px;
    text-align: center;
    vertical-align: middle;
    color: rgba(255, 255, 255, 1);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.header__menu-btn-close {
    display: none;
    width: 15px;
    height: 15px;
    position: relative;
}

.header__menu-btn-close::before,
.header__menu-btn-close::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 15px;
    height: 2px;
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%);
}

.header__menu-btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.header__menu-btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.header__menu-btn.is-open .header__menu-btn-text {
    display: none;
}

.header__menu-btn.is-open .header__menu-btn-close {
    display: block;
}

/* При открытом меню хедер остаётся видимым, фиксируем его сверху */
body.has-menu-open header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

/* Menu overlay: всі розміри в vw від ширини 440px */
.menu-overlay {
    position: fixed;
    top: calc(8.86vw + env(safe-area-inset-top)); /* 39px @ 440 + iOS safe-area */
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 4.55vw 5.45vw calc(9.09vw + env(safe-area-inset-bottom)); /* 20 24 40px @ 440 + iOS safe-area */
    padding-bottom: calc(9.09vw + constant(safe-area-inset-bottom));
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

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

.menu-overlay__nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 5.45vw; /* 24px @ 440 */
    padding-top: 22.73vw; /* 100px @ 440 */
}

.menu-overlay__nav-link {
    font-weight: 400;
    font-style: Regular;
    font-size: 8vw; /* 46px @ 440 */
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
    text-align: left;
}

.menu-overlay__social {
    flex-shrink: 0;
}

.menu-overlay__social-title {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 4.55vw; /* 20px @ 440 */
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(186, 186, 186, 1);
    display: block;
    margin-bottom: 5.68vw; /* 25px @ 440 */
}

.menu-overlay__social-links {
    display: flex;
    gap: 5.45vw; /* 24px @ 440 */
    flex-wrap: wrap;
    justify-content: space-between;
}

.menu-overlay__social-links a {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 3.64vw; /* 16px @ 440 */
    leading-trim: CAP_HEIGHT;
    line-height: 110%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.hero__inner {
    margin-top: 220px;
    position: relative;
}

.hero__title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 11.3vw; /* 162.67px @ 1440 */
    leading-trim: NONE;
    line-height: 15.57vw; /* 224.25px @ 1440 */
    letter-spacing: -0.48vw; /* -6.9px @ 1440 */
    vertical-align: middle;
    margin-bottom: 2.43vw; /* 35px @ 1440 */
}

.hero__title span {
    text-shadow: 0px 0px 12.59px rgba(255, 255, 255, 0.15);
}

.hero__video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    width: 70%; /* 1067px @ 1440 */
    height: auto;
}

/* Hero liquid glass pills */
.hero__glass {
    position: absolute;
    width: fit-content;
    padding: 15px 26px;
    color: rgba(255, 255, 255, 1);
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 18.75px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    border-radius: 33px;
    white-space: nowrap;
    /* liquid glass */
    z-index: 5;
    background: linear-gradient(135deg, rgba(110, 110, 110, 0.35), rgba(110, 110, 110, 0.2));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}
.hero__glass:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.35);
}
.hero__glass--2:hover {
    transform: scale(1.03);
}

/*
 * Backup: позиції .hero__glass--1/2/3 (desktop). Не видаляти — щоб відкотити після нових значень.
 * --3 { right: 5%; top: 34%; }
 * --1 { left: 9%; top: 9%; }
 * --2 { left: 55%; top: 50%; transform: translate(-50%, -50%); }
 */
.hero__glass--3 {
    right: 5%;
    top: -10%;
}

.hero__glass--1 {
    left: 9%;
    top: 84%;
}

.hero__glass--2 {
    left: 68%;
    top: 90%;
}

.team__item-button-icon {
    transition: transform 0.3s ease;
}

.team__item-button:hover .team__item-button-icon {
    transform: rotate(-90deg);
}

.team-alt__item-button-icon {
    transition: transform 0.3s ease;
}

.team-alt__item-button:hover .team-alt__item-button-icon {
    transform: rotate(-90deg);
}

/* Honeypot: прихований від користувача */
.consult-form-honeypot-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.consult-form-honeypot {
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Кнопка після відправки */
.team-alt__item-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    border-bottom-color: rgba(125, 89, 255, 0.5);
}

/* Toast: успішна відправка (по центру знизу) */
.consult-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%) translateY(80px);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    max-width: calc(100vw - 32px);
    text-align: center;
}
.consult-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}
.consult-toast.is-success {
    background: rgba(125, 89, 255, 0.95);
    color: #fff;
}
.consult-toast.is-error {
    background: rgba(180, 60, 60, 0.95);
    color: #fff;
}

.hero {
    padding-bottom: 220px;
}

.about {
    padding-bottom: 150px;
}

.about__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 125px;
}

.about__item {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 37px;
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
    transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

.about__inner.animated .about__item:nth-child(1) { transition-delay: 0.1s; }
.about__inner.animated .about__item:nth-child(2) { transition-delay: 0.2s; }
.about__inner.animated .about__item:nth-child(3) { transition-delay: 0.3s; }
.about__inner.animated .about__item:nth-child(4) { transition-delay: 0.4s; }

.about__inner.animated .about__item {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}
.about__inner.animated .about__item:hover {
    transform: translateY(-4px);
}

.about__item {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 210px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: -2%;

}

.about__item .about__label {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: rgba(124, 124, 124, 1);
}

.service {
    padding-bottom: 250px;
}

.service .service__head,
.service .service__item,
.service .service__item-list {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service.service--visible .service__head { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.service.service--visible .service__item { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.service.service--visible .service__item-list { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }

.service__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 80px;
    margin-bottom: 100px;
    flex-wrap: wrap;
}

.service__title {
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 142.5px;
    leading-trim: none;
    line-height: 97.5px;
    letter-spacing: -5.25px;
    vertical-align: middle;
    margin: 0;
    color: rgba(255, 255, 255, 1);
    flex: 0 1 auto;
}

.service__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7.5px;
    flex: 1 1 320px;
    flex-wrap: wrap;
    min-width: 0;
}

.service__nav span,
.service__nav-item {
    padding: 15px 25px;
    border: 0.75px solid rgba(255, 255, 255, 1);
    border-radius: 33.2px;
    font-family: Inter;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.service__nav span:hover,
.service__nav-item:hover {
    border-color: rgba(125, 89, 255, 0.6);
    color: rgba(255, 255, 255, 0.9);
}

.service__nav span.active,
.service__nav-item.active {
    background: linear-gradient(88.88deg, #7D59FF 0.96%, #8B6BFF 101.03%);
    color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(125, 89, 255, 1);
}

.service__nav span.active:hover,
.service__nav-item.active:hover {
    border-color: rgba(125, 89, 255, 1);
    color: rgba(255, 255, 255, 1);
}

.service__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px 50px;
    padding-bottom: 80px;
    flex-wrap: wrap;
}

.service__item-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 653px;
    flex: 1 1 420px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Перемикання табів: має перебивати scroll-reveal (.service.service--visible …) */
.service.service--visible .service__item-content.is-switching,
.service.service--visible .service__item-list.is-switching {
    opacity: 0 !important;
    transform: translateY(10px) scale(0.98) !important;
    transition: opacity 0.4s ease, transform 0.4s ease !important;
    transition-delay: 0s !important;
    pointer-events: none;
}

.service__item-title {
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 60px;
    line-height: 66px;
    letter-spacing: 0;
    vertical-align: middle;
    margin: 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
}

.service__item-title-accent {
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 550;
    font-size: 60px;
    line-height: 66px;
    letter-spacing: 0;
    vertical-align: middle;
    color: rgba(125, 89, 255, 1);
}

.service__item-title-rest {
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 66px;
    letter-spacing: 0;
    vertical-align: middle;
    color: rgba(255, 255, 255, 1);
}

.service__item-text {
    font-family: Inter;
    font-weight: 300;
    font-style: normal;
    font-size: 15.75px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.service__item-button {
    font-weight: 400;
    font-size: 26.25px;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    text-transform: uppercase;
    padding-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(125, 89, 255, 1);
    border-bottom: 1.5px solid rgba(125, 89, 255, 1);
    margin-right: 0;
    flex: 0 0 auto;
    align-self: flex-end;
}

.service__item-button-icon {
    transition: transform 0.3s ease;
}

.service__item-button:hover .service__item-button-icon {
    transform: rotate(-90deg);
}

.service__item-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service__item-list .service-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 50%;
}

.service__item-list--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    min-height: 320px;
    background: linear-gradient(88.88deg, #7D59FF 0.96%, #8B6BFF 101.03%);
    padding: 0 0 0 48px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.service-card__copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
    padding: 40px 0;
    flex: 1 1 0;
    min-width: 0;
    z-index: 2;
}

.service-card__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 20.12px;
    line-height: 25.15px;
    letter-spacing: 0;
    vertical-align: middle;
    margin: 0;
    color: rgba(255, 255, 255, 1);
}

.service-card__text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: 15.65px;
    line-height: 25.43px;
    letter-spacing: 0;
    vertical-align: middle;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.service-card__media {
    flex: 1 1 0;
    align-self: stretch;
    min-width: 0;
    min-height: 240px;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-template-rows: repeat(1, minmax(0, 1fr));
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

/* М'яка тінь під фото (за картинкою), без зміни розмітки */
.service-card__media::before {
    content: '';
    position: absolute;
    z-index: 0;
    right: -6%;
    bottom: 4%;
    width: min(78%, 280px);
    height: min(62%, 200px);
    border-radius: 50%;
    background: radial-gradient(
        ellipse 85% 85% at 55% 45%,
        rgba(18, 8, 42, 0.52) 0%,
        rgba(18, 8, 42, 0.12) 45%,
        rgba(18, 8, 42, 0) 72%
    );
    filter: blur(24px);
    transform: translateZ(0);
    pointer-events: none;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: right bottom;
    position: relative;
    z-index: 1;
    bottom: -1px;
}

@media (max-width: 1180px) {
    .service__item-list:not(.service__item-list--cols-2) {
        grid-template-columns: 1fr;
    }
    .service__item-list .service-card:nth-child(3) {
        grid-column: auto;
        justify-self: stretch;
        max-width: 100%;
    }
}

.cases {
    padding-bottom: 250px;
}

.cases__title {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.cases__title h2 {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 170.25px;
    leading-trim: NONE;
    line-height: 224.25px;
    letter-spacing: -6.9px;
    vertical-align: middle;
    text-align: left;
    margin-left: 0;
}

.cases__title span {
    font-family: Inter;
    font-weight: 300;
    font-style: Light;
    font-size: 126.83px;
    leading-trim: NONE;
    line-height: 167.05px;
    letter-spacing: -5.14px;
    vertical-align: middle;
    
    color: rgba(174, 174, 174, 1)
}

.cases__slider {
    position: relative;
}

.cases__list-wrapper {
    overflow: hidden;
}

.cases__list {
    display: flex;
    width: 100%;
    gap: 19px;
}

/* Перемикання через display + анімація opacity */
.cases__list .cases__slide {
    display: none;
    flex: 0 0 calc((100% - 38px) / 3);
    gap: 14px;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
    transition: opacity 0.35s ease;
}

/* Десктоп: 3 слайди на сторінку (data-page 0, 1) — 6 кейсів */
.cases__list[data-page="0"] .cases__slide:nth-child(1),
.cases__list[data-page="0"] .cases__slide:nth-child(2),
.cases__list[data-page="0"] .cases__slide:nth-child(3),
.cases__list[data-page="1"] .cases__slide:nth-child(4),
.cases__list[data-page="1"] .cases__slide:nth-child(5),
.cases__list[data-page="1"] .cases__slide:nth-child(6) {
    display: flex;
}

/* Анімація перемикання: fade out поточних */
.cases__list--leaving[data-page="0"] .cases__slide:nth-child(1),
.cases__list--leaving[data-page="0"] .cases__slide:nth-child(2),
.cases__list--leaving[data-page="0"] .cases__slide:nth-child(3),
.cases__list--leaving[data-page="1"] .cases__slide:nth-child(4),
.cases__list--leaving[data-page="1"] .cases__slide:nth-child(5),
.cases__list--leaving[data-page="1"] .cases__slide:nth-child(6) {
    opacity: 0;
}

/* Анімація перемикання: fade in нових */
.cases__list--entering .cases__slide { opacity: 0; }
.cases__list--entering[data-page="0"] .cases__slide:nth-child(1) { opacity: 1; transition-delay: 0s; }
.cases__list--entering[data-page="0"] .cases__slide:nth-child(2) { opacity: 1; transition-delay: 0.06s; }
.cases__list--entering[data-page="0"] .cases__slide:nth-child(3) { opacity: 1; transition-delay: 0.12s; }
.cases__list--entering[data-page="1"] .cases__slide:nth-child(4) { opacity: 1; transition-delay: 0s; }
.cases__list--entering[data-page="1"] .cases__slide:nth-child(5) { opacity: 1; transition-delay: 0.06s; }
.cases__list--entering[data-page="1"] .cases__slide:nth-child(6) { opacity: 1; transition-delay: 0.12s; }
/* Мобільні сторінки 2–5: один слайд */
.cases__list--leaving[data-page="2"] .cases__slide:nth-child(3),
.cases__list--leaving[data-page="3"] .cases__slide:nth-child(4),
.cases__list--leaving[data-page="4"] .cases__slide:nth-child(5),
.cases__list--leaving[data-page="5"] .cases__slide:nth-child(6) { opacity: 0; }
.cases__list--entering[data-page="2"] .cases__slide:nth-child(3),
.cases__list--entering[data-page="3"] .cases__slide:nth-child(4),
.cases__list--entering[data-page="4"] .cases__slide:nth-child(5),
.cases__list--entering[data-page="5"] .cases__slide:nth-child(6) { opacity: 1; }

.cases__list-item {
    flex: 1;
    height: 412px;
    padding: 42px 19px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    gap: 14px;
    border-radius: 12px;
    flex-direction: column;
}

.cases__list-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    display: flex;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: brightness(0.5);
    transition: filter 0.3s ease;
}

.cases__list-item:hover img {
    filter: brightness(1);
}

/* Градієнт знизу вгору, щоб текст був читабельним */
.cases__list-item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.15) 75%, transparent 100%);
    pointer-events: none;
}

.cases__view-button {
    position: relative;
    z-index: 2;
}

.cases__view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 35px;
    max-height: 35px;
    padding: 0px 14px;
    border-radius: 23px;
    background: linear-gradient(0deg, #7D59FF, #7D59FF),
    linear-gradient(107.06deg, #FFFFFF -97.94%, #7D59FF 65.99%),
    linear-gradient(88.88deg, #7D59FF 0.96%, #8B6BFF 101.03%);
    color: #FFFFFF;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 12.36px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    border: 0;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.cases__list-item:hover .cases__view-button {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cases__view-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.case-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    overflow: hidden;
}

.case-modal.is-open {
    display: block;
}

.case-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.case-modal__scroll {
    position: relative;
    z-index: 1;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 24px 40px;
    box-sizing: border-box;
}

.case-modal__dialog {
    position: relative;
    width: min(935px, calc(100vw - 80px));
    margin: 60px auto;
    padding: 0;
    border-radius: 25.5px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(48px);
    -webkit-backdrop-filter: blur(48px);
    border: 1px solid rgba(125, 89, 255, 1);
    z-index: 1;
}

.case-modal__dialog-surface {
    position: relative;
    border-radius: 24px;
    padding: 0 30px;
    background: transparent;
    container-type: inline-size;
    container-name: case-modal-surface;
}

.case-modal__close {
    position: absolute;
    top: 24px;
    right: 30px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.case-modal__close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.case-modal__title {
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 67.5px;
    leading-trim: none;
    line-height: 91.5px;
    letter-spacing: -4.93px;
    vertical-align: middle;
    margin: 0;
    padding: 60px 0 15px;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 0.7px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.15);
}

.case-modal__cover {
    width: 100%;
    aspect-ratio: 857 / 527;
    max-height: min(52vh, 420px);
    border-radius: 12px;
    overflow: hidden;
    background: #101010;
    margin-bottom: 36px;
}

.case-modal__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.case-modal__section-title {
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 43.74px;
    leading-trim: none;
    line-height: 59.3px;
    letter-spacing: -3.19px;
    vertical-align: middle;
    margin: 0 0 11px;
    color: #fff;
}

.case-modal__about {
    max-width: 647px;
    font-family: Inter, system-ui, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15.75px;
    leading-trim: none;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    margin: 0 0 51px;
    color: rgba(255, 255, 255, 0.92);
}

.case-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.case-modal__tag {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    border-radius: 31px;
    font-family: Inter, system-ui, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16.7px;
    leading-trim: none;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    text-transform: capitalize;
    color: #fff;
    background: rgba(125, 89, 255, 1);
}

.case-modal__gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 28px;
}

/* Надійно ховаємо блок, коли JS ставить hidden (уникаємо «залипання» картинок попереднього кейсу) */
.case-modal__gallery[hidden] {
    display: none !important;
}

.case-modal__gallery.is-two {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.case-modal__gallery.is-two .case-modal__gallery-cell:nth-child(2) {
    margin-top: 75px;
}

.case-modal__gallery-cell {
    min-width: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #101010;
}

.case-modal__gallery-img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
}

.case-modal__brand {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: min(157.75px, 12.5cqi);
    leading-trim: none;
    line-height: 1.2;
    letter-spacing: 0;
    vertical-align: middle;
    color: #fff;
    user-select: none;
}

@supports not (font-size: 1cqi) {
    .case-modal__brand {
        font-size: clamp(36px, 10vw, 157.75px);
    }
}

.cases__pagination {
    margin-top: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cases__pagination-item {
    display: flex;
    flex-direction: column;
    gap: 42px;

}

.cases__pagination-item-line {
    display: flex;
    align-items: center;
    height: 5.25px;;
    gap: 10.25px
}

/* На десктопі лише 3 точки (3 сторінки по 3 слайди) */
/* На десктопі лише 2 точки (2 сторінки по 3 кейси) */
.cases__pagination-item-line span:nth-child(n+3) {
    display: none;
}
.cases__pagination-item-line span {
    display: block;
    width: 56px;
    height: 2px;
    background: rgba(124, 124, 124, 1);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    cursor: pointer;
}
.cases__pagination-item-line span:hover {
    background: rgba(160, 160, 160, 1);
}

.cases__pagination-item-line span.active {
    width: 82.5px;
    height: 5.25px;
    border-radius: 30.75px;
    background: rgba(125, 89, 255, 1);
} 

.cases__pagination-item-number {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 20.5px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(186, 186, 186, 1);
}

.cases__pagination-button-prev, .cases__pagination-button-next { 
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease, transform 0.2s ease;
}
.cases__pagination-button-prev img, .cases__pagination-button-next img {
    transition: filter 0.3s ease;
}

.cases__pagination-button-prev:hover, .cases__pagination-button-next:hover {
    background: rgba(125, 89, 255, 1);
}

.cases__pagination-button-prev:hover img, .cases__pagination-button-next:hover img {
    filter: brightness(3);
}

.cases__pagination-button {
    display: flex;
    gap: 15px
}

.cases__pagination-button-next {
    transform: rotate(180deg);
}

/* Review: плавний слайдер, transition для transform і anim-out */
.review {
    padding: 60px 0 80px;
}

.review_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.review_header h2 {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: -0.02em;
}

.review_action {
    display: flex;
    gap: 15px;
}

.review_action button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.review_action button:hover {
    background: rgba(125, 89, 255, 1);
}

.review_action button img {
    width: 24px;
    height: 24px;
}

.review_action button:last-child img {
    transform: rotate(180deg);
}

.review_col {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.review_main_info {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.review_rate {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review_rate span {
    font-size: 24px;
    font-weight: 600;
    color: rgba(125, 89, 255, 1);
}

.review_main_header p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(186, 186, 186, 1);
}

.review_main_footer_braands {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.review_main_footer_braands img {
    height: 28px;
    width: auto;
    opacity: 0.8;
}

.open-review-modal {
    padding: 12px 20px;
    border: 1px solid rgba(125, 89, 255, 0.5);
    border-radius: 8px;
    background: transparent;
    color: rgba(125, 89, 255, 1);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease, color 0.3s ease;
}

.open-review-modal:hover {
    background: rgba(125, 89, 255, 0.15);
}

.review_block {
    flex: 0 0 calc((100% - 320px - 48px) / 3);
    min-width: 280px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: opacity 0.35s ease;
}

.review_block.anim-out {
    opacity: 0;
}

/* Мобільний: показ одного слайда через display, без transform */
.review.review--mobile .review_col > * {
    display: none;
    transition: opacity 0.3s ease;
}
.review.review--mobile .review_col > *.review_slide--current {
    display: block;
    flex: 1 1 100%;
    min-width: 0;
}
.review.review--mobile .review_col > .review_main_info.review_slide--current {
    display: flex;
}
.review.review--mobile .review_col.review_col--leaving > *.review_slide--current {
    opacity: 0;
}
.review.review--mobile .review_col.review_col--entering > * { opacity: 0; }
.review.review--mobile .review_col.review_col--entering.review_col--fade-in > *.review_slide--current {
    opacity: 1;
}

.review_block_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.client-name {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.client-stars {
    display: flex;
    gap: 2px;
}

.client-stars img {
    width: 14px;
    height: 14px;
}

.review_block_footer.client-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(186, 186, 186, 1);
    margin: 0;
}

.team__inner {
    padding: 60px 99px 51px 36px;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(118, 118, 118, 1);
    border-radius: 30px;
    display: flex;
    justify-content: space-between;

    gap: 100px;
    margin-bottom: 159px;
}

.team__item-title {
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 99.9px;
    line-height: 74.57px;
    letter-spacing: -4.44px;
    vertical-align: middle;
    color: rgba(0, 0, 0, 1);
}

.team__item-text {
    max-width: 470px;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(118, 118, 118, 1);
}

.team__item-text.second { 
    margin-top: 30px;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.team__item.second {
    display: flex;
    flex-direction: column;
    gap: 45px;
    width: 460px;
    min-width: 460px;
}

.team__item-list {
    display: flex;
    flex-direction: column;
    gap: 37px;
}

.team__item-list-item {
    display: flex;
    gap: 24px;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 18.75px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 0%;

    color: rgba(0, 0, 0, 1)
}

.team__item-button {
    font-weight: 400;
    font-style: Roman;
    font-size: 26.25px;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    text-transform: uppercase;
    padding-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(125, 89, 255, 1);
    border-bottom: 1.5px solid rgba(125, 89, 255, 1);
    width: fit-content;
}

.team__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.team-alt__inner {
    padding: 60px 50px 60px 36px;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(118, 118, 118, 1);
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    gap: 100px;
    margin-bottom: 60px;
}

.team-alt__item-title {
    font-family: 'HelveticaNeueCyr', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 96.46px;
    line-height: 72.01px;
    letter-spacing: -4.29px;
    vertical-align: middle;
    color: rgba(0, 0, 0, 1);
}

.team-alt__item-title-accent,
.logo-wordmark-accent {
    color: rgba(125, 89, 255, 1);
}

.team-alt__item-text {
    max-width: 470px;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(118, 118, 118, 1);
}

.team-alt__item-text.second {
    margin-top: 30px;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

.team-alt__item.second {
    display: flex;
    flex-direction: column;
    gap: 45px;
    width: 585px;
    min-width: 585px;
}

.team-alt__item-list {
    display: flex;
    flex-direction: column;
    gap: 37px;
}

.team-alt__item-list-item {
    display: flex;
    gap: 24px;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 18.75px;
    leading-trim: CAP_HEIGHT;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(0, 0, 0, 1);
}

.team-alt__item-button {
    font-weight: 400;
    font-style: Roman;
    font-size: 26.25px;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    text-transform: uppercase;
    padding-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(125, 89, 255, 1);
    border-bottom: 1.5px solid rgba(125, 89, 255, 1);
    width: fit-content;
}

.team-alt__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.process__steps {
    font-family: Inter;
    font-weight: 300;
    font-style: Light;
    font-size: 90px;
    line-height: 167.05px;
    letter-spacing: -5.14px;
    margin-bottom: 20px;
}

.process__steps span {
    color: rgba(174, 174, 174, 1);
}

.process__steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 23px 27px;
}

.process__steps-list-item {
    padding: 30px;
    height: 411px;
    display: flex;
    background: rgba(28, 28, 28, 0.45);
    border-radius: 15px;
    border: 0.77px solid rgba(147, 147, 147, 1);
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 700;
    font-size: 41.44px;
    line-height: 110%;
    text-transform: capitalize;
    color: rgba(147, 147, 147, 1);
    filter: blur(2.75px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, background 0.35s ease, filter 0.35s ease, border-color 0.35s ease;
}

.process__steps-list.revealed .process__steps-list-item {
    opacity: 1;
    visibility: visible;
}

.process__steps-list.revealed:not(.process__steps-list--first-used) .process__steps-list-item:first-child {
    align-items: center;
    justify-content: space-between;
    color: #fff;
    filter: blur(0);
    background: linear-gradient(135deg, #7D59FF 0%, #8B6BFF 100%);
    border-color: rgba(125, 89, 255, 1);
}

.process__steps-list-item:hover,
.process__steps-list-item.is-open {
    align-items: center;
    justify-content: space-between;
    color: #fff;
    filter: blur(0);
    background: linear-gradient(135deg, #7D59FF 0%, #8B6BFF 100%);
    border-color: rgba(125, 89, 255, 1);
}

.process__steps-list-item-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.process__steps-list-item:hover .process__steps-list-item-title,
.process__steps-list-item.is-open .process__steps-list-item-title,
.process__steps-list.revealed:not(.process__steps-list--first-used) .process__steps-list-item:first-child .process__steps-list-item-title {
    justify-content: space-between;
}

.process__steps-list-item-title span {
    width: 41px;
    height: 41px;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 1);
    border-radius: 5.53px;
}

.process__steps-list-item:hover .process__steps-list-item-title span,
.process__steps-list-item.is-open .process__steps-list-item-title span,
.process__steps-list.revealed:not(.process__steps-list--first-used) .process__steps-list-item:first-child .process__steps-list-item-title span {
    display: flex;
}

.process__steps-list-item-content {
    display: flex;
    flex-direction: column;
    gap: 23px;
    font-family: Inter;
    font-weight: 400;
    font-size: 13.81px;
    line-height: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0s, opacity 0s;
}

.process__steps-list.revealed:not(.process__steps-list--first-used) .process__steps-list-item:first-child .process__steps-list-item-content,
.process__steps-list-item:hover .process__steps-list-item-content,
.process__steps-list-item.is-open .process__steps-list-item-content {
    max-height: 600px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.35s ease;
}

.process__steps-list-item-content-item {
    display: flex;
    gap: 23px;
}

.process__steps-list-item-content-item div {
    text-align: left;
    line-height: 130%;
    position: relative;
    top: -3px;
}

.process__steps-list-item-content-item span {
    font-family: Inter;
    font-weight: 700;
    font-size: 13.81px;
    line-height: 100%;
    min-width: 18px;
}

.process {
    margin-bottom: 160px;
}


.team-alt__item-form-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.team-alt__item-form-item-number {
    white-space: nowrap;
    font-weight: 550;
    font-style: Medium;
    font-size: 14.82px;
    leading-trim: NONE;
    line-height: 19.26px;
    letter-spacing: -0.59px;
    vertical-align: middle;
    text-transform: uppercase;
    
    color: rgba(0, 0, 0, 1);
}

.team-alt__item-form-item-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.team-alt__item-form-item-title {
    font-weight: 550;
    font-style: Medium;
    font-size: 14.82px;
    leading-trim: NONE;
    line-height: 19.26px;
    letter-spacing: -0.59px;
    vertical-align: middle;
    text-transform: uppercase;
    
    color: rgba(0, 0, 0, 1);
}

.team-alt__item-form {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.team-alt__item-form-item-input {
    all: unset;
    padding-bottom: 6px;
    font-weight: 550;
    font-style: Medium;
    font-size: 14.82px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    
    color: rgba(0, 0, 0, 1);
    border-bottom: 1.98px solid rgba(0, 0, 0, 0.26)
}

.team-alt__item-form-item-input::placeholder {
    color: rgba(117, 117, 117, .25);
}

.team-alt__item-form-item-button {
    display: flex;
    gap: 5px;
    font-weight: 400;
    font-style: Roman;
    font-size: 14.82px;
    leading-trim: NONE;
    line-height: 19.26px;
    letter-spacing: -0.59px;
    vertical-align: middle;
    text-transform: uppercase;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.5);
    padding: 9px 20px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.team-alt__item-form-item-button:hover {
    background: rgba(0, 0, 0, 0.18);
    color: rgba(0, 0, 0, 0.7);
}

.team-alt__item-form-item-button:active {
    transform: scale(0.97);
}

.team-alt__item-form-item-button.is-selected:hover {
    background: rgba(105, 75, 220, 1);
    color: rgba(255, 255, 255, 1);
}

.team-alt__item-form-item-button.is-selected {
    background: rgba(125, 89, 255, 1);
    color: rgba(255, 255, 255, 1);
    border-color: rgba(125, 89, 255, 1);
}

.team-alt__item-form-item-buttons {
    display: flex;
    gap: 7px
}

/* Додаємо трохи більше повітря між блоками [02] та [03] у формі */
.team-alt__item-form .team-alt__item-form-item:nth-of-type(3) {
    margin-bottom: 10px;
}

.footer__inner {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px 36px;
    padding-top: 17px;
    padding-bottom: 40px;
    border-top: 2px solid rgba(255, 255, 255, 1);
}

.footer__item.logo {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 15px;
    leading-trim: NONE;
    line-height: 29px;
    letter-spacing: -1.15px;
    vertical-align: middle;
    text-transform: uppercase;
    color: rgba(128, 128, 128, 1);
}

.footer__item.nav {
    display: flex;
    flex-direction: column;
    gap: 0px;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 13.5px;
    leading-trim: NONE;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    vertical-align: middle;
    text-transform: uppercase;
    color: rgba(128, 128, 128, 1);
}

.footer__item.social {
    display: flex;
    flex-direction: column;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 13.5px;
    leading-trim: NONE;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    vertical-align: middle;
    text-transform: uppercase;
    color: rgba(128, 128, 128, 1);
}

.footer__meta {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 28px;
    flex: 0 1 auto;
    min-width: 0;
}

.footer__item.footer__lang {
    flex: 0 0 auto;
}

.footer__lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-size: 13.5px;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer__lang-link {
    color: rgba(128, 128, 128, 1);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__lang-link:hover {
    color: rgba(255, 255, 255, 1);
}

.footer__lang-link.is-active {
    color: rgba(255, 255, 255, 1);
}

.footer__lang-sep {
    color: rgba(128, 128, 128, 0.45);
    user-select: none;
}

.footer__item.copyright {
    flex: 0 0 auto;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    font-style: Light;
    font-size: 13.5px;
    leading-trim: NONE;
    line-height: 26.25px;
    letter-spacing: -1.05px;
    vertical-align: middle;
    text-transform: uppercase;
    color: rgba(128, 128, 128, 1);
    white-space: nowrap;
}

.footer__inner a {
    transition: color 0.2s ease;
}

.footer__inner a:hover {
    color: rgba(255, 255, 255, 1);
}