@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Oswald:wght@200..700&display=swap');


:root {
    --headings: #0C3877;
    --cta: #1555B1;
    --text: #191B22;
    --grad-1: linear-gradient(to bottom, #D9E9FF, #F2F8FF);
    --grad-2: linear-gradient(to bottom, #00275E, #0151C4);
    --linear: linear-gradient(to bottom, #0C326B, #171717)
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Barlow', sans-serif;
    max-width: 2000px;
    margin: 0 auto !important;
}

.entry-title {
    text-align: center;
}

h1 {
    font-weight: 600;
    font-size: 70px;
    line-height: 92%;
    /*text-align: center;*/
    text-transform: uppercase;
    color: #F1F7FF;
}

h2 {
    font-weight: 300;
    font-size: 80px;
    line-height: 100%;
    /*text-transform: uppercase;*/
}

h2 strong {
    font-weight: 600;
}

h3 {
    font-weight: 300;
    font-size: 48px;
    line-height: 100%;
}

h3 strong {
    font-weight: 600;
}

a {
    transition: 1s ease;
    text-decoration: none;
}

a:hover {
    opacity: .7;
}

/* CONTAINER */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    max-width: 2000px;
    margin: 0 auto;

    /*background: rgba(255,255,255,0.9);*/
    /*backdrop-filter: blur(8px);*/
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
}

.logo img {
    width: 190px;
    height: auto;
}

/* DESKTOP NAV */
.nav {
    display: flex;
    gap: 36px;
}

.nav #primary-menu {
    display: flex;
    gap: 40px;
}

.nav #primary-menu li {
    list-style: none;
}


.nav a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #191B22;
    text-transform: uppercase;
}


/* Стилі для випадаючого списку */
.nav #primary-menu li {
    position: relative; /* Обов'язково для позиціонування підменю */
}


/* Десктопна навігація */
.nav #primary-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
}

.nav #primary-menu .menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;

    /* КРИТИЧНО ВАЖЛИВО ДЛЯ ROTATE */
    display: inline-block;

    transition: transform 0.3s ease;
    transform: rotate(0deg); /* Початковий стан */
}

/* Коли ми наводимо на LI (пункт меню), стрілочка в А змінюється */
.nav #primary-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff; /* Білий фон для контрасту */
    min-width: 220px;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}


.nav .sub-menu li {
    width: 100%;
}

.nav .sub-menu a {
    color: #333 !important; /* Темний текст на білому фоні */
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    /*text-transform: none; !* Зазвичай підменю краще виглядає в normal case *!*/
    transition: background 0.2s;
    text-transform: uppercase;
}

.nav .sub-menu a:hover {
    background: #f5f5f5;
    color: #000 !important;
}

/* Поява підменю при ховері */
.nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Додатковий клас для логіки скролу */
.header {
    transition: transform 0.3s ease-in-out, background 0.3s ease;
}

.header--hidden {
    transform: translateY(-100%);
}

.header--scrolled {
    /*background: rgba(0, 0, 0, 0.9); !* Темніший фон при скролі для читабельності *!*/
    backdrop-filter: blur(1px);
}


/* BUTTONS */
.btn-outline {
    padding: 14px 18px;
    border-radius: 37px;
    background: linear-gradient(to right, #1555B1, #1B6DE4);
    color: #F1F7FF;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary {
    display: inline-block;
    padding: 25px 25px;
    background-image: linear-gradient(to right top, #1555b1, #1557b4, #1658b8, #165abb, #165cbf, #175ec3, #1760c8, #1862cc, #1965d2, #1967d8, #1a6ade, #1b6de4);
    color: #F1F7FF;
    border-radius: 37px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    width: 390px;
    text-align: center;
    text-transform: uppercase;
}

/* BURGER */
.burger {
    display: none;
    width: 26px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    height: 3px;
    background: #191B22;
    border-radius: 2px;
}

section {
    padding: 100px 0;
    background: #F4F8FF;
}

/* HERO */
.hero {
    position: relative;
    padding: 120px 0 100px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left; /* 👈 ось тут */
}

.hero.centered .hero-bg {
    object-position: top center; /* 👈 ось тут */
}

.hero.centered .abs-image {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
}


.hero-bg-mob {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left; /* 👈 ось тут */
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 100%);
}

.hero-wrapper {
    display: flex;
}

.hero-left-img {
    width: 47%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.hero-left-img img {
    width: 92px;
    height: 92px;
    z-index: 10;
}

.hero-content {
    position: relative;
    width: 47%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-content h1 {
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
    color: var(--headings);
}

.hero-content .description {
    display: flex;
    align-items: center;
}

.hero-content .description img {
    width: 72px;
    height: 72px;
    display: none;
    margin-left: 20px;
}

.hero-content h2 {
    font-size: 34px;
    font-weight: 600;
    color: var(--headings);
    line-height: 110%;
}

.price {
    display: flex;
    gap: 16px;
    align-items: center;
}

.price .old {
    text-decoration: line-through;
    color: var(--headings);
    font-size: 34px;
    line-height: 110%;
    font-weight: 400;
}

.price .new {
    color: var(--headings);
    font-size: 34px;
    line-height: 110%;
    font-weight: 600;
}

.cash {
    border: .3px solid #175EC4;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 16px;
    line-height: 90%;
    font-weight: 600;
    background: linear-gradient(to right, #D9E9FF, #F2F8FF);
}


.info {
    background: #F1F7FF;
}

.info-wr {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.info-wr .info-left {
    width: 47%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-wr .info-right {
    width: 47%;
}

.info h4 {
    color: var(--headings);
    font-size: 22px;
    line-height: 110%;
    font-weight: 300;
    text-transform: uppercase;
}

.info h4 strong {
    font-weight: 600;
}

.info p {
    color: #181A20;
    font-size: 22px;
    line-height: 110%;
    font-weight: 300;
    margin-bottom: 0;
}

.info h3 {
    color: #181A20;
    font-size: 22px;
    line-height: 110%;
    font-weight: 600;
}

.info ul {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px
}

.info ul li {
    list-style: none;
    color: #181A20;
    font-size: 22px;
    line-height: 110%;
    font-weight: 300;
    border-radius: 14px;
    padding: 10px;
    background: #D9E9FF;
}

.info-wr .info-right .info-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.info-item {
    border-radius: 16px;
    padding: 15px;
    border: 1px solid var(--headings);
    position: relative;
    z-index: 9;
    width: 30%;
    background: linear-gradient(to bottom, #F2F8FF, #D9E9FF);
}

.info-item:before {
    width: 81px;
    height: 14px;
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    z-index: 10;
    background-color: var(--headings);
}

.info-item .num {
    text-align: right;
    font-size: 24px;
    font-weight: 300;
    line-height: 110%;
    color: #191B22;
}

.info-item .info-item-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 130%;
    color: var(--headings);
}

.info-item .info-item-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 130%;
    color: #191B22;
}


.info-item .info-item-img {
    display: flex;
    justify-content: flex-end;
}

hr {
    color: #191B22;
    margin: 10px 0 30px;
}

.better {
    background: linear-gradient(to right, #D9E9FF, #F2F8FF);
}

.better h2 {
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
    color: var(--headings);
    text-transform: uppercase;
    max-width: 1040px;
}


.slider {
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    margin-top: 40px;
}

.slider:active {
    cursor: grabbing;
}

.slides-wrapper {
    display: flex;
    gap: 24px;
    will-change: transform;
}

.slides-wrapper img {
    flex: 0 0 auto;
    width: 280px; /* можеш змінити */
    pointer-events: none;
    border-radius: 20px;
}

.personalized {
    color: #F1F7FF;
}

.personalized-top {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.personalized-top-left {
    width: 57%;
}

.personalized-top-right {
    width: 40%;
}

.personalized-top-left h3 {
    font-size: 50px;
    font-weight: 600;
    line-height: 105%;
    text-transform: uppercase;
    margin: 0;
}

.personalized-top-right h5 {
    font-size: 22px;
    font-weight: 600;
    line-height: 110%;
    text-transform: uppercase;
    text-align: right;
    margin-top: 6px;
}


.personalized-bottom {
    margin-top: 60px;
    color: #F1F7FF;
}

.personalized-bottom-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.personalized-bottom-items .item {
    width: 23%;
}

.personalized-bottom-items .item .item-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 20px;
    max-width: 300px;
}

.personalized-bottom-items .item .item-percentage {
    font-weight: 600;
    font-size: 80px;
    line-height: 100%;
    text-transform: uppercase;
    color: #F1F7FF;
    margin-bottom: 20px;
}

.personalized-bottom-items .item .item-text {
    font-size: 22px;
    font-weight: 300;
    line-height: 110%;
}

.comfortable {
    background: #F1F7FF;
    color: var(--headings);
}

.comfortable h2 {
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
    color: var(--headings);
    text-transform: uppercase;
    max-width: 890px;
}

.comfortable-top {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.comfortable h5 {
    font-size: 22px;
    font-weight: 300;
    line-height: 110%;
    text-transform: uppercase;
    margin-top: 10px;
    text-align: right;
    max-width: 280px;
}

.comfortable h5 strong {
    font-size: 22px;
    font-weight: 600;
    line-height: 110%;
}

.comfortable .items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.comfortable .item {
    color: #191B22;
    font-size: 22px;
    font-weight: 600;
    line-height: 110%;
    border-bottom: 2px solid #1555B1;
    text-transform: uppercase;
    padding-bottom: 5px;
}

.comfortable .item span {
    max-width: 340px;
    display: block;
}

.comfortable-bottom {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 100px 0;
    justify-content: space-between;
}

.comfortable-bottom .abs-img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

.comfortable-bottom .abs-text {
    position: absolute;
    right: 0;
    bottom: 20px;
    font-size: 22px;
    color: #191B22;
    text-align: right;
    max-width: 300px;
}

.comfortable-bottom-left {
    width: 47%;
}

.comfortable-bottom-right {
    width: 47%;
}

.comfortable-bottom-right .item {
    display: flex;
    justify-content: flex-end;
}


.comfortable-bottom-left .item span {
    display: flex;
    gap: 5px;
    align-items: center;
}

.comfortable .comfortable-bottom-left .item span:before {
    content: url('../img/ok.svg');
    width: 40px;
    height: 40px;
    display: inline-block;
}

.comfortable-bottom-right .item span {
    text-align: right;
    position: relative;
    display: flex;
    gap: 5px;
    align-items: center;
}

.comfortable .comfortable-bottom-right .item span:after {
    content: url('../img/ok.svg');
    width: 40px;
    height: 40px;
    display: inline-block;
}


.list {
    background: linear-gradient(to bottom, #D9E9FF, #F2F8FF);
}

.list .list-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px
}

.list h2 {
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
    color: var(--headings);
    text-transform: uppercase;
}

.list .list-bottom {
    margin-top: 60px;
}

.list .breakdown {
    margin-top: 10px;
    font-size: 30px;
    font-weight: 600;
    line-height: 100%;
    color: var(--headings);
    text-transform: uppercase;
    cursor: pointer;
}

.list-accordion {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    justify-content: space-between;
}

.list-accordion-item {
    width: 47%;
    padding: 20px 0;
    border-top: 2px solid var(--cta);
}

.list-accordion-item:nth-last-child(2), .list-accordion-item:nth-last-child(1) {
    border-bottom: 2px solid var(--cta);
}

.list-accordion-item__head {
    cursor: pointer;
    user-select: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.list-accordion-item__head .title {
    font-size: 22px;
    font-weight: 600;
    line-height: 110%;
    color: #191B22;
    text-transform: uppercase;
}

.list-accordion-item__body {
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 0px;
}

.list-accordion-item .list-accordion-item__body {
    transition: .5s ease;
}

.list-accordion-item.is-open .list-accordion-item__body {
    padding-top: 20px;
    padding-bottom: 5px;
}

.list-accordion-item__body .text {
    font-size: 22px;
    font-weight: 300;
    line-height: 110%;
    color: #191B22;
    max-width: 300px;
}

.faq-items .list-accordion-item__body .text {
    font-size: 22px;
    font-weight: 300;
    line-height: 110%;
    color: #191B22;
    max-width: 100%;
}


.boosters {
    background: #D9E9FF;
    padding: 80px 0;
}


.boosters-title {
    font-size: 80px;
    font-weight: 600;
    color: var(--headings);
    margin-bottom: 48px;
    text-transform: uppercase;
}

.boosters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    /*    align-items: start;*/
    /*    grid-auto-flow: row dense;*/
    /*}*/
}

.booster-card {
    background: linear-gradient(to bottom, #D9E9FF, #F2F8FF);
    border: 1px solid var(--headings);
    border-radius: 16px;
    padding: 24px;
    color: #1f3b82;
}

.booster-card h3 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 110%;
    text-transform: uppercase;
}

.booster-card p {
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 20px;
    font-weight: 300;
    color: var(--text);
}

.booster-card p strong {
    font-weight: 600;
    color: var(--headings);
    line-height: 160%;
    text-transform: uppercase;
}

.booster-card span {
    border: 1px solid var(--headings);
    padding: 2px 4px 4px 4px;
    border-radius: 15px;
    font-size: 22px;
    color: var(--headings);

}

.booster-info:last-child {
    text-transform: uppercase;
}

.booster-card small {
    display: block;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 300;
}

.booster-info {
    color: var(--headings);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /*padding: 24px;*/
    text-align: right;
}

.advantages {
    background: var(--grad-2);
}

.advantages-top {
    color: #F1F7FF;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
    gap: 20px
}

.advantages h2 {
    font-size: 80px;
    font-weight: 600;
    line-height: 110%;
    text-transform: uppercase;
    max-width: 930px;
}

.advantages h5 {
    font-size: 22px;
    font-weight: 600;
    line-height: 110%;
    text-transform: uppercase;
    max-width: 280px;
}

.advantages-bottom-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.advantages-bottom-items .item {
    background: linear-gradient(to right, #D9E9FF, #F2F8FF);
    width: 24%;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}

.advantages-bottom-items .item .left {
    width: 57%;
}

.advantages-bottom-items .item .left .adv-title {
    margin-top: 30px;
    font-size: 22px;
    font-weight: 600;
    line-height: 110%;
    text-transform: uppercase;
    color: var(--headings);
    transition: .5s ease;
    z-index: 100000;
}

.advantages-bottom-items .item .right {
    width: 37%;
    display: flex;
    justify-content: flex-end;
}

.advantages-bottom-items .item .right img {
    width: 40px;
    height: 40px;
    display: inline-block;
    transition: .5s ease;
}

.advantages-bottom-items .item .bottom-text {
    width: 100%;
    font-size: 22px;
    font-weight: 300;
    line-height: 110%;
    text-transform: uppercase;
    color: var(--text);
    /*margin-top: 110px;*/
    transition: .5s ease;
    margin-top: -75px;
}

.advantages-bottom-items .item .bottom-text strong {
    font-weight: 600;
}


.journey {
    position: relative;
}

.journey-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.journey-bg-mob {
    display: none;
}

.journey-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 100%);
}

.journey-wr {
    display: flex;
}

.journey-wr .left {
    width: 27%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.journey-wr .left img {
    width: 92px;
    height: 92px;
    z-index: 10;
}

.journey-wr .right {
    position: relative;
    width: 67%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-end;
}

.journey-wr .right h2 {
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
    color: var(--headings);
    text-transform: uppercase;
    text-align: right;
}

.journey-wr .right img {
    width: 72px;
    height: 72px;
    display: none;
    margin-left: 20px;
}

.staff {
    background: var(--grad-1);
    padding: 100px 0 0 0;
}

.staff .staff-top {
    display: flex;
    justify-content: space-between;
    color: var(--headings);
    margin-bottom: 60px;
    gap: 30px
}

.staff .staff-bottom {
    padding-bottom: 60px;
}

.staff .staff-top h2 {
    font-size: 80px;
    font-weight: 600;
    line-height: 100%;
    text-transform: uppercase;
    max-width: 590px;
}

.staff .staff-top h5 {
    font-size: 20px;
    font-weight: 600;
    line-height: 110%;
    text-transform: uppercase;
    max-width: 470px;
    margin-top: 10px;
    text-align: right;
}

.staff-bottom .staff-bottom-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
}

.staff-bottom .staff-bottom-items .item {
    font-size: 34px;
    line-height: 110%;
    font-weight: 600;
    color: var(--text);
    width: 25%;
    text-transform: uppercase;
}

.staff-bottom .staff-bottom-items .item:first-child {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.staff-bottom .staff-bottom-items .item:first-child .text {
    max-width: 790px;
}


.staff .staff-img {
    position: relative;
    display: flex;
    justify-content: center;
}

.staff .staff-img .staff-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    opacity: .27;
}

.staff .staff-img img {
    width: 100%;
}

.process {
    background: var(--grad-2);
    color: #F1F7FF;
}

.process h2 {
    font-size: 80px;
    line-height: 100%;
    font-weight: 600;
    margin-bottom: 60px;
    text-transform: uppercase;
    max-width: 900px;
}

.process-items {
    display: flex;
    justify-content: space-between;
}

.process-items .item {
    width: 19%;
}

.process-items .item .item-d {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.process-items .item .item-m {
    display: none;
}

.process-items .item .item-d img, .process-items .item .item-m img {
    width: 100%;
    border-radius: 15px;
}

.process-items .item h4 {
    min-height: 50px;
    font-size: 22px;
    line-height: 110%;
    font-weight: 600;
    text-transform: uppercase;
}

.process-items .item .text {
    font-size: 22px;
    line-height: 110%;
    font-weight: 300;
}

.process-items .item .num {
    font-size: 22px;
    line-height: 110%;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid #F1F7FF;
    border-radius: 50%;
    padding: 10px;
    width: 40px;
    height: 40px;
    position: relative;
}

.process-items .item .num span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.func-medicine {
    background: var(--linear);
    color: #F1F7FF;
}

.func-medicine h2 {
    font-size: 60px;
    line-height: 100%;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.func-medicine h2 strong {
    font-weight: 600;
}

.func-medicine-block {
    display: flex;
}

.func-medicine-block .items {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    width: 80%;
}

.func-medicine-block .img-block {
    width: 20%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.func-medicine-block .img-block img {
    width: 220px;
    height: 220px;
}

.func-medicine-block .items .item {
    font-size: 34px;
    line-height: 110%;
    font-weight: 600;
    text-transform: uppercase;
    max-width: 480px;
}


.book {
    position: relative;
    color: var(--headings);
}

.book-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
}

.book-bg-mob {
    display: none;
}

.book-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 40%);
}

.book-wr {
    max-width: 495px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 20;
}

.book .title h2 {
    font-size: 80px;
    line-height: 100%;
    font-weight: 300;
}

.book .title h3 {
    font-weight: 300;
    font-size: 48px;
    line-height: 100%;
}

.book .title h4 {
    font-weight: 300;
    font-size: 24px;
    line-height: 120%;
}


.book p {
    padding: 0;
    font-size: 34px;
    line-height: 100%;
    font-weight: 300;
    color: var(--text);
}

.book p small {
    padding: 0;
    font-size: 22px;
    line-height: 100%;
    font-weight: 300;
    color: var(--text);
}

.faq {
    background: var(--grad-1);
}

.faq-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.faq-items .list-accordion-item {
    width: 48%;
}

.faq h2 {
    font-size: 80px;
    line-height: 100%;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--headings);
    margin-bottom: 60px;
}


/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, #0f2a5f, #1e40af);
    color: #fff;
    z-index: 1000;
    padding: 24px;
    transform: translateX(100%);
    transition: .4s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo.light span {
    color: #fff;
}

.btn-outline.light {
    background: #3b82f6;
}

.close {
    font-size: 22px;
    cursor: pointer;
}

.mobile-nav {
    margin-top: 30px;
}

.mobile-nav #primary-menu {
    display: flex;
    flex-direction: column;

}

.mobile-nav #primary-menu li {
    list-style: none;

}

.mobile-nav li a {
    display: block;
    padding: 10px 0;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-top: 2px solid var(--cta);
    text-transform: uppercase;
}

.mobile-nav li:last-child a {
    border-bottom: 2px solid var(--cta);

}

/* Базовий стан підменю на мобільці — сховане */
.mobile-nav .sub-menu {
    display: none;
    padding-left: 20px; /* Відступ, щоб було видно ієрархію */
}

.mobile-nav .sub-menu li a {
    font-size: 20px; /* Трохи менший шрифт для підменю */
    border: none !important; /* Прибираємо жирні бордери батьківських пунктів */
    text-transform: uppercase;
    opacity: 0.9;
    padding: 20px 0;
}

/* Клас, який будемо додавати через JS для відкриття */
.mobile-nav li.open > .sub-menu {
    display: block;
}

/* Додаємо стрілочку для пунктів з дітьми */
.mobile-nav .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav .menu-item-has-children > a::after {
    content: '▼';
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Повертаємо стрілочку, коли меню відкрите */
.mobile-nav li.open > a::after {
    transform: rotate(180deg);
}

.newsletter {
    margin-top: auto;
    font-size: 14px;
}

.mobile-menu .newsletter p {
    font-weight: 300;
    font-size: 16px;
    line-height: 110%;
}

.newsletter-form {
    margin-top: 16px;
    display: flex;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 14px;
    border: none;
    outline: none;
}

.newsletter-form button {
    padding: 0 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    font-weight: 600;
}

.mobile-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}

.mobile-footer .text {

    font-weight: 600;
}

.mobile-footer img {
    width: 86px;
    height: 86px;
}

/* FOOTER */
.footer {
    background: linear-gradient(180deg, #0f2a5f, #1e40af);
    color: #ffffff;
    padding: 80px 0 32px;
}

.footer-top {
    display: flex;
    /*align-items: flex-start;*/
    justify-content: space-between;
    padding-bottom: 80px;
}

.footer-top .footer-col {
    display: flex;
    align-items: center;
}

.footer-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 40px;

}

/* LEFT */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
}

.footer-logo img {
    width: 290px;
    height: auto;

}

.footer-info p {
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #F7FAFF;
    font-weight: 300;
}

/* CENTER */
.footer-center {
    /*text-align: center;*/
}

.footer-center a:first-child {
    text-decoration: underline;
}

.footer-center a {
    display: block;
    margin-bottom: 12px;
    color: #F7FAFF;
    font-weight: 600;
    text-decoration: none;
    font-size: 22px;
    line-height: 154%;
}


.footer-badge img {
    width: 92px;
    height: 92px;
}

/* RIGHT */
.footer-right h4 {
    font-size: 44px;
    font-weight: 600;
    line-height: 100%;
    text-align: right;
    max-width: 370px;
}

.newsletter-text {
    font-size: 16px;
    line-height: 1.1;
    max-width: 393px;
    color: #F7FAFF;
    font-weight: 300;
}

.newsletter-form {
    display: flex;
    background: #D9D9D9;
    border-radius: 999px;
    overflow: hidden;
    max-width: 420px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    outline: none;
    font-size: 16px;
    line-height: 110%;
    color: #000;
    background-color: #D9D9D9;
}

.newsletter-form input::placeholder {
    color: #191B22;
    font-weight: 300;
}


.newsletter-form button {
    cursor: pointer;
    font-weight: 600;
    font-family: Barlow, sans-serif !important;
}

/* BOTTOM */
.footer-copy {
    text-align: center;
    margin-top: 48px;
    font-size: 16px;
    line-height: 110%;
    color: #F7FAFF;
}


/*Longevity*/

.hero.centered {
    position: relative;
    padding: 400px 0 100px 0;
}

.hero.centered .hero-content {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.hero.centered h1 {
    font-weight: 300;
    font-size: 70px;
    line-height: 92%;
    text-align: center;
    text-transform: uppercase;
    color: #F1F7FF;
    /*max-width: 800px;*/
}

.hero.centered h1 strong {
    font-weight: 600;
}

.hero-content h4 {
    font-weight: 400;
    font-size: 22px;
    line-height: 110.00000000000001%;
    text-align: center;
    text-transform: uppercase;
    color: #F1F7FF;
    max-width: 800px;
}

.hero.centered .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
}

section.text {
    padding: 50px 0;
}

section.text .content {
    text-align: center;
    font-weight: 300;
    font-size: 48px;
    line-height: 110.00000000000001%;
    color: #191B22;
}

section.text .content strong {
    font-weight: 600;
}

.image-content .heading {
    font-weight: 600;
    margin-bottom: 80px;
}

.image-content .image-content_wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.image-content .image-content_wrapper.reverse {
    flex-direction: row-reverse;
}

.image-content .image-content_wrapper.reverse .image-content_item img {
    margin: 0 0 0 auto;
}

.image-content .image-content_wrapper .image-content_item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 48%;
}

.image-content .image-content_wrapper .image-content_item img {
    border-radius: 20px;
    width: 70%;
}

.image-content .image-content_wrapper .image-content_item {
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #191B22;
}

.image-content .image-content_wrapper .image-content_item ul {
    padding-left: 25px;
    font-weight: 300;
    font-size: 24px;
    line-height: 120%;
}

.image-content .image-content_wrapper .image-content_item li strong {
    margin-bottom: 10px;
    font-weight: 600;
}

.image-content .image-content_wrapper .image-content_item li {
    margin-bottom: 10px;
}

.image-content .image-content_wrapper .image-content_item hr {
    margin: 0;
    color: #1555B1;
}

.image-content .image-content_wrapper .image-content_item h4 {
    font-weight: 300;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
    color: #191B22;
}

.image-content .image-content_wrapper .image-content_item h4 strong {
    font-weight: 600;
}

.btn-sm {
    color: #1555B1;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    text-transform: uppercase;
    padding-bottom: 10px;
    border-bottom: 1px solid #1555b1;
    width: max-content;
    margin-top: 20px;
}

.cards_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.cards_items .cards_item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 31%;
    background: #F7FBFF;
    border: 1px solid #1555B180;
    box-shadow: 4px 4px 4px 0px #237DFF80;
    padding: 20px;
    border-radius: 26px;
}

.cards_items .cards_item img {
    height: 72px;
    width: max-content;
    object-fit: contain;
}

.cards_items .cards_item .title {
    font-weight: 600;
    font-size: 34px;
    line-height: 110.00000000000001%;
    text-transform: uppercase;
    color: #191B22;
}

.cards_items .cards_item .text {
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #191B22;
    margin: 20px 0;
}

.cards_items .cards_item .subtitle {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;

    color: #191B22;
}

.cards_items .cards_item a {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 20px;
}

.cards_items .cards_item a.btn-sm {
    width: max-content !important;
    margin: 0 auto;
}

.cards .container > a {
    display: block;
    text-align: center;
    width: max-content;
    margin: 80px auto 0 auto;
}

.cards-slider {
    overflow: hidden;
}

.cards-slider .cards-slider_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cards-slider .cards-slider_text h3 {
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    text-transform: uppercase;
}

.cards-slider .cards-slider_text .slider-controls {
    display: flex;
    /*justify-content: center;*/
    gap: 20px;
    align-items: center;
}

.cards-slider_wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cards-slider_text {
    width: 35%;
}

.mySwiper {
    width: 60%;
    clip-path: inset(-100px -100vw -100px 0);
    overflow: visible !important;
    /*overflow: hidden;*/
}

.mySwiper .swiper-wrapper {
    width: 100%;
    display: flex;
}


.mySwiper .cards_item {
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 30px;
}

.mySwiper .cards_item .btn-sm {
    margin: unset !important;
}

.mySwiper .swiper-slide {
    position: relative;
}

.mySwiper .swiper-slide:before {
    position: absolute;
    content: url('../img/longevity/logo-blue.svg');
    background: #D9E9FF;
    top: -60px;
    right: 0;
    border: 1px solid #1555B180;
    padding: 10px 10px 30px 10px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    z-index: 1;
}


.swiper-button-next,
.swiper-button-prev {
    color: #000 !important; /* Чорний колір, або ваш брендовий */
}

/* Якщо контейнер має overflow: hidden, стрілки можуть бути "за бортом" */
.cards_items.mySwiper {
    position: relative;
}

/* Зменшуємо розмір стрілок, якщо вони завеликі */
.custom-prev-button {
    background-image: url('data:image/svg+xml;utf8,<svg width="67" height="67" viewBox="0 0 67 67" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="33.5" cy="33.5" r="32.5" stroke="%231555B1" stroke-width="2"/><path d="M9.2102 33.5L19.2102 39.2735V27.7265L9.2102 33.5ZM57.7852 33.5V32.5H18.2102V33.5V34.5H57.7852V33.5Z" fill="%231555B1"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px; /* Можна підкоригувати розмір */
    height: 50px;
    cursor: pointer;
}

.custom-next-button {
    background-image: url('data:image/svg+xml;utf8,<svg width="67" height="67" viewBox="0 0 67 67" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="33.5" cy="33.5" r="32.5" stroke="%231555B1" stroke-width="2"/><path d="M57.7898 33.5L47.7898 27.7265V39.2735L57.7898 33.5ZM9.21484 33.5V34.5H48.7898V33.5V32.5H9.21484V33.5Z" fill="%231555B1"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    cursor: pointer;
}


.custom-prev-button:hover, .custom-next-button:hover {
    opacity: .6;
}

.testimonials h2 {
    margin-bottom: 60px;
    max-width: 550px;
    font-weight: 600;
}

.testimonials_items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonials_items .testimonials_item {
    width: 31%;
    text-align: center;
    font-weight: 500;
    font-size: 22px;
    line-height: 110.00000000000001%;
}

.testimonials_items .testimonials_item img {
    border-radius: 16px;
    width: 100%;
}

.testimonials_items .testimonials_item hr {
    margin: 30px 0;
    color: #1555B1;
}

.testimonials_items .testimonials_item .name {
    font-weight: 300;
    margin-top: 20px;
}

.google-reviews {
    margin-top: 60px;
}

.request_wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.request_wrapper h2 {
    font-weight: 600;
    font-size: 80px;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.request_wrapper .text {
    font-weight: 300;
    font-size: 22px;
    line-height: 110.00000000000001%;
    max-width: 450px;
}

.request_wrapper > div {
    width: 48%;
}

.request-form_wrapper {
    background: #D9E9FF;
    border-radius: 14px;
    padding: 20px;
    font-family: Barlow, sans-serif !important;
    position: relative;
    overflow: hidden;
}

.request-form_wrapper input::placeholder, .request-form_wrapper textarea::placeholder {
    font-family: Barlow, sans-serif !important;
    color: #191B22;
}


/* Приховуємо стандартний плейсхолдер */
.hide-native-placeholder::placeholder {
    color: transparent !important;
}

/* Контейнер повинен мати відступ зверху, щоб текст мав куди "тікати" */
.ginput_container {
    margin-top: 15px !important;
}

/* Початковий стан плейсхолдера (всередині поля) */
.floating-placeholder {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    color: #757575;
    font-size: 18px;
    z-index: 10;
    display: inline-block !important;
    width: 100%;
}

/* Стан, коли текст "поплив" вгору */
.floating-placeholder.active {
    top: 0px; /* Виносимо над інпутом */
    left: 10px;

    color: #353535;
    transform: translateY(0);
    background: transparent; /* Додаємо фон, якщо треба, щоб перекривав рамку */
    padding: 0 5px;
    font-size: 14px;

}

/* Колір для (required) */
.floating-placeholder .req-part {
    color: #CFCDCD;
    margin-left: 3px;
}

/* Спеціально для Textarea */
textarea ~ .floating-placeholder {
    top: 15px;
    transform: none;
}

textarea ~ .floating-placeholder.active {
    top: 0px;
    font-size: 14px;
}


.request-form_wrapper .gform_title,
.request-form_wrapper .name_first .gform-field-label,
.request-form_wrapper .name_last .gform-field-label,
.request-form_wrapper .gfield_description {
    display: none !important;
}

.request-form_wrapper input:not([type="submit"]), .request-form_wrapper textarea {
    background: #F1F7FF !important;
    padding: 20px !important;
    border-radius: 14px !important;
    outline: none !important;
    border-color: transparent;
    font-size: 18px !important;
}

.request-form_wrapper .ginput_container_date input {
    width: 100% !important;
}

.request-form_wrapper .gform_button {
    padding: 14px 18px;
    border-radius: 37px;
    background: linear-gradient(to right, #1555B1, #1B6DE4);
    color: #F1F7FF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: Barlow, sans-serif !important;
    border: none !important;
    transition: .5s ease;
}

.request-form_wrapper .gform_button:hover {
    opacity: .7;
    cursor: pointer;
}

.request-form_wrapper .gform_footer {
    display: flex;
    justify-content: flex-end;
}


/* 1. Ховаємо стандартний квадратний чекбокс */
.request-form_wrapper .gfield-choice-input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;

}

/* 2. Контейнер для тексту та кастомного кола */
.request-form_wrapper .gchoice {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    margin-top: 15px;
}

.request-form_wrapper .gfield_checkbox .gform-field-label {
    font-size: 18px !important;
    display: flex !important;
    gap: 0px;
    align-items: flex-start;
}

/* 3. Малюємо синє коло (чекбокс) */
.request-form_wrapper .gchoice label:before {
    content: "";
    display: inline-block;
    width: 24px; /* Розмір як на скріншоті */
    height: 24px;
    background-color: #4371d8; /* Синій колір */
    border-radius: 50%; /* Робимо коло */
    margin-right: 10px;
    vertical-align: middle;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* 4. Малюємо білу галочку (через псевдоелемент after) */
.request-form_wrapper .gchoice label:after {
    content: "";
    position: absolute;
    left: 8px; /* Центруємо галочку в колі */
    top: 12px;
    transform: translateY(-65%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    opacity: 0; /* Спочатку галочка невидима */
    transition: opacity 0.2s ease;
}

/* 5. Логіка: показуємо галочку, коли чекбокс активний */
.request-form_wrapper .gfield-choice-input:checked + label:after {
    opacity: 1;
}

/* 6. Опціонально: змінюємо фон кола, якщо не вибрано (якщо треба) */
/* .gfield-choice-input:not(:checked) + label:before {
    background-color: #e0e0e0;
}
*/

/* Стиль тексту */
.request-form_wrapper .gchoice label {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    line-height: 1.2;
}


/* Контейнер */


.request-form_wrapper .custom-file-upload {
    width: 100%;
    font-family: sans-serif;
}

/* Приховуємо стандартний інпут */
.request-form_wrapper input[type="file"] {
    display: none;
}

/* Основна коробка (Label) */
.request-form_wrapper .upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    border: 1px dashed rgba(21, 85, 177, 1); /* Пунктирна лінія */
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.request-form_wrapper .upload-box:hover {
    background-color: #d2e3fc;
}

/* Коло з плюсиком */
.request-form_wrapper .plus-icon {
    width: 46px;
    height: 46px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-bottom: 10px;
    position: relative;
}

.request-form_wrapper .plus-icon::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 21px;
    background: rgba(21, 85, 177, 1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.request-form_wrapper .plus-icon::after {
    content: '';
    position: absolute;
    width: 21px;
    height: 1px;
    background: rgba(21, 85, 177, 1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Текст під плюсом */
.request-form_wrapper .upload-text {
    font-family: Barlow, sans-serif !important;
    font-weight: 300;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
    vertical-align: middle;
    color: rgba(53, 53, 53, 1);
}

.request-form_wrapper .custom-file-upload-title {
    font-family: Barlow, sans-serif !important;
    font-weight: 300;
    font-size: 18px;
    line-height: 140%;
    vertical-align: middle;
    color: rgba(53, 53, 53, 1);
    margin-bottom: 10px;
}


/*Services*/


.services .services-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.services .services-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 40px;
}

.services h2 {
    font-weight: 600;
    color: #191B22;

}

.services .services-text {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    text-align: right;
    text-transform: uppercase;
    max-width: 700px;
    margin-top: 10px;
}

.services .services-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 31%;
    background: #F7FBFF;
    border: 1px solid #1555B180;
    box-shadow: 4px 4px 4px 0px #237DFF80;
    padding: 20px;
    border-radius: 26px;
}

.services .services-item img {
    width: 100%;
    border-radius: 16px;
}

.services .services-item .title {
    font-weight: 600;
    font-size: 34px;
    line-height: 110.00000000000001%;
    text-align: center;
    text-transform: uppercase;

}

.services .services-item .description {
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    text-align: center;
    word-wrap: break-word;
}

.services .services-item .btn-sm {
    margin: 0 auto;
}

.values h2 {
    font-weight: 600;
    margin-bottom: 40px;
}

.values .values-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.values .values-faq {
    width: 47%;
}

.values .values-img {
    width: 47%;
    position: relative;
}

.values .values-img img {
    width: 100%;
    border-radius: 16px;
}

.values .values-f.faq-items .list-accordion-item {
    width: 100%;
}

.values .values-img .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #F7FBFF 0%, rgba(247, 251, 255, 0) 30%);
}


.team .team-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}


.team .team-wrapper .team-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 31%;
    background: #F7FBFF;
    border: 1px solid #1555B180;
    box-shadow: 4px 4px 4px 0px #237DFF80;
    padding: 20px 20px 50px 20px;
    border-radius: 26px;
}


.team .team-wrapper .team-item img {
    border-radius: 14px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: #237DFF80;
}

.team .team-wrapper .team-item .title {
    font-weight: 600;
    font-size: 22px;
    line-height: 110.00000000000001%;
    text-transform: uppercase;
    color: #191B22;
}

.team .team-wrapper .team-item .description {
    font-weight: 300;
    font-size: 18px;
    line-height: 110.00000000000001%;
    color: #191B22;
}

.contact-form {
    color: #191B22;
}

.contact-form .contact-info.mob {
    display: none;
}

.contact-form .contact-form_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: stretch;
}

.contact-form .contact-form_wrapper > div {
    width: 47%;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
}

.contact-form .title {
    font-weight: 600;
    font-size: 80px;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.contact-form .form-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.contact-form .description {
    margin-bottom: 100px;
    font-weight: 300;
    font-size: 22px;
    line-height: 110.00000000000001%;
}

.contact-form .description h3 {
    font-weight: 300;
    font-size: 50px;
    line-height: 100%;
}

.contact-form .description h3 strong {
    font-weight: 600;
}

.contact-form .address {
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    margin-bottom: 40px;
}


.contact-form .work-time {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 40px;

}

.contact-form .social-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.contact-form .social-block > div {
    width: 48%;
}

.contact-form .social-block .data-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form .social-block .data-links .data-link {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
    transition: .5s ease;
    color: #191B22;
}

.contact-form .social-block .social-links {
    display: flex;
    gap: 10px;

}

.contact-form .social-block .social-links .social-link {
    border: 1px solid;
    border-image-source: linear-gradient(168.53deg, rgba(255, 255, 255, 0.96) 2.58%, rgba(238, 237, 237, 0.48) 96.71%);
    box-shadow: 0px 0px 10px 0px #0000001C;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .5s ease;
}

.contact-form .social-block .data-links .data-link:hover {
    text-decoration: underline;
}

.contact-form .social-block .social-links .social-link:hover {
    box-shadow: 3px 3px 10px 5px #0000001C;
    transform: translateY(-2px);
}

.map {
    padding: 0;
}

.map iframe {
    width: 100%;
    height: 500px;
}


@media (max-width: 1200px) {
    .comfortable .item span, .comfortable-bottom .abs-text {
        max-width: 250px;
    }

    .boosters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-bottom .staff-bottom-items {
        gap: 20px
    }

    .staff-bottom .staff-bottom-items .item {
        width: 30%;
        font-size: 30px;
    }
}


@media (max-width: 968px) {

    .contact-form .contact-info.mob {
        display: block;
        margin-top: 40px;
    }

    .contact-form .description {
        margin-bottom: 40px;
    }

    .contact-form .contact-info.desk {
        display: none;
    }

    .contact-form .social-block .social-links {
        margin-top: 20px;

    }

    .contact-form .title, .contact-form .description h3, .contact-form .form-title {
        font-size: 48px;
    }

    .contact-form .social-block {
        flex-direction: column;
    }


    .contact-form .contact-form_wrapper > div {
        width: 100%;
    }

    .values .values-faq {
        width: 100%;
    }

    .values .values-img {
        width: 100%;
        position: relative;
    }


    .services .services-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        flex-wrap: nowrap;
    }

    .services .services-wrapper .services-item {
        flex: 0 0 102%;
        scroll-snap-align: start;
        user-select: none;
        gap: 30px;
    }

    .team .team-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        flex-wrap: nowrap;
    }

    .team .team-wrapper .team-item {
        flex: 0 0 102%;
        scroll-snap-align: start;
        user-select: none;
        gap: 30px;
    }


    section {
        padding: 50px 0;
    }

    .hero {
        padding: 120px 0 50px 0;
    }

    .nav,
    .desktop-btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero-left-img {
        display: none;
    }

    .hero-left-img img {
        width: 92px;
        height: 92px;
        z-index: 10;
    }

    .hero-content {
        position: relative;
        width: 100%;
        margin-top: 180px;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    }

    .hero.centered .hero-bg {
        object-position: center;
    }

    .hero-bg {
        object-position: 10%;
    }


    .hero-content .description img {
        display: block;
    }

    .info-wr .info-right .info-item {
        width: 47%;
    }

    .personalized-bottom-items .item {
        width: 47%;
    }

    .comfortable-bottom {
        flex-direction: column;
    }

    .comfortable h5 {
        max-width: 100%;
        text-align: left;
    }


    .comfortable-bottom .abs-img {
        position: relative;
        left: unset;
        top: unset;
        transform: unset;
        width: 100%;
        height: auto;
        max-width: 400px;
        margin-bottom: 20px;
    }

    .comfortable-bottom-left {
        width: 100%;
    }

    .comfortable-bottom-right {
        width: 100%;
        margin-top: 25px;
    }

    .comfortable .item span {
        max-width: 100%;
    }

    .comfortable-bottom .abs-text {
        display: none;
    }

    .comfortable-bottom {
        padding: 0;
    }

    .comfortable-bottom-right .item {
        justify-content: flex-start;
    }

    .comfortable-bottom-right .item span {
        text-align: left;
    }

    .comfortable .comfortable-bottom-right .item span:after {
        content: none;
    }

    .comfortable .comfortable-bottom-right .item span:before {
        content: url('../img/ok.svg');
        width: 40px;
        height: 40px;
        display: inline-block;
    }


    .faq-items .list-accordion-item__body .text {
        width: 100%;
        max-width: 100%;
    }

    .list .list-accordion-item__body .text {
        width: 47%;
    }

    .values-f .list-accordion-item__body .text {
        width: 100%;
    }

    .list .info-item {
        width: 47%;
    }

    .list .breakdown {
        width: 100%;
        text-align: right;
    }

    .advantages-bottom-items .item {
        width: 47%;
    }

    .journey {
        padding: 350px 0 50px 0;
    }

    .journey-bg {
        object-position: 10%;
    }

    .journey-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 1) 100%);
    }

    .journey-wr .left {
        display: none;
    }

    .journey-wr .right {
        width: 100%;
    }

    .journey-wr .right .text {
        display: flex;
        align-items: center;
    }

    .journey-wr .right img {
        display: block;
    }

    .staff .staff-top {
        flex-wrap: wrap;
    }

    .staff .staff-top h2, .staff .staff-top h5 {
        max-width: 100%;
    }

    .staff .staff-top h5 {
        text-align: left;
    }

    .staff-bottom .staff-bottom-items {
        gap: 40px;
    }

    .staff-bottom .staff-bottom-items .item {
        width: 100%;
    }

    .staff-bottom .staff-bottom-items .item:first-child {
        justify-content: flex-start;
        width: 100%;
    }

    .staff-bottom .staff-bottom-items .item:first-child .text {
        max-width: 100%;
    }

    .book {
        padding: 350px 0 50px 0;
    }

    .book-bg {
        object-position: 75%;
    }

    .book-overlay {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 100%);
    }

    .book p {
        font-size: 30px;
    }

    .process-items {
        flex-wrap: wrap;
        gap: 40px
    }

    .process-items .item {
        width: 47%;
    }

    .process-items .item h4 {
        min-height: 0px;
        font-size: 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .footer-col {
        width: 100%;
    }

    .newsletter-text {
        max-width: 100%;
    }

    .btn-primary {
        width: 100%;
    }


    .cards-slider_wrapper {
        flex-direction: column;
        gap: 30px
    }

    .cards_items.mySwiper {
        padding: 0;
        margin-top: 100px;
    }

    .cards-slider_text {
        width: 100%;
    }

    .mySwiper {
        width: 100%;
    }

    .testimonials_items, .cards_items {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        flex-wrap: nowrap;
    }

    .testimonials_items::-webkit-scrollbar, .cards_items::-webkit-scrollbar {
        display: none; /* Ховаємо скролбар у Chrome/Safari */
    }

    .testimonials_items .testimonials_item, .cards_items .cards_item {
        flex: 0 0 90%; /* На мобільних показуємо 85% ширини блоку */
        scroll-snap-align: start; /* Блок зупиняється рівно по краю */
        user-select: none; /* Щоб не виділявся текст при драгу */
    }

    .cards .container > a {
        width: 100%;
    }

    .request_wrapper {
        gap: 30px;
    }

    /*.request-form_wrapper {*/
    /*    padding: 20px;*/
    /*}*/
    /*.request-form_wrapper .gform_footer {*/
    /*    position: unset;*/
    /*    margin-top: 30px!important;*/
    /*    width: 100%;*/
    /*    bottom: 0;*/
    /*    right: 20px;*/
    /*}*/
    .request-form_wrapper .gform_button {
        /*width: 100%;*/
    }


    .request_wrapper > div {
        width: 100%;
    }

    .image-content .image-content_wrapper {
        gap: 40px;
    }

    .image-content .image-content_wrapper .image-content_item {
        width: 100%;
    }

    section.text .content {
        font-size: 38px;
    }

}

/* RESPONSIVE */
@media (max-width: 768px) {

    .services .services-text {
        text-align: left;
    }

    .image-content .heading {
        margin-bottom: 30px;
    }


    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .info-wr .info-left {
        width: 100%;
    }

    .info-wr .info-right {
        width: 100%;
    }

    .personalized-top-left {
        width: 100%;
    }

    .personalized-top-right {
        width: 100%;
    }

    .better h2, .comfortable h2, .list h2, .boosters-title, .advantages h2, .staff .staff-top h2, .process h2, .func-medicine h2, .faq h2,
    .book h2 {
        font-size: 48px;
    }

    .personalized-bottom-items .item .item-percentage {
        font-size: 70px;
    }

    .personalized-top-left h3, h3 {
        font-size: 38px;
    }

    .personalized-top-right h5 {
        text-align: left;
    }

    .journey-wr .right h2 {
        font-size: 48px;
        text-align: left;
    }

    .booster-info {
        text-align: left;
        padding: 24px 0;
    }


    .personalized-bottom-items .item .item-title {
        max-width: 100%;
        font-size: 30px;
    }


    .faq .list-accordion-item {
        width: 100%;
    }

    .list-accordion-item {
        width: 100%;
    }

    .list-accordion-item:nth-last-child(2) {
        border-bottom: none;
    }

    .boosters-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .process-items .item {
        width: 44%;
    }

    .func-medicine-block {
        flex-wrap: wrap;
    }

    .func-medicine-block .items {
        width: 100%;
        gap: 20px
    }

    .func-medicine-block .items .item {
        font-size: 30px;
    }

    .func-medicine-block .img-block {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        margin-top: 30px;
    }

    .func-medicine-block .img-block img {
        width: 120px;
        height: 120px;
    }

    .footer {
        padding: 50px 0;
        background: linear-gradient(180deg, #1e40af, #0f2a5f);
    }

    .footer-center {
        text-align: left;
    }

    .footer-logo img {
        width: 190px;
    }

    .footer-right h4 {
        font-size: 16px;
        text-align: left;
    }

    .footer-top {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 40px;
    }

    .footer-top .footer-col {
        width: 47%;
    }

    .footer-top .footer-col:last-child {
        width: 100%;
    }

    .footer-info {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .footer-info p {
        font-size: 22px;
    }

    .footer-bottom .footer-center {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .footer-bottom .footer-center a:first-child {
        order: 2;
    }

    .footer-bottom .footer-center a:last-child {
        order: 1;
    }

    .footer-bottom .footer-center a {
        font-size: 22px;
    }

    .footer-copy {
        text-align: left;
        margin-top: 0;
    }

    .footer-badge {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }

    .newsletter-form {
        max-width: 100%;
    }

    #mobileMenu .logo img {
        width: 150px;
    }

    .cards-slider .cards-slider_text .slider-controls {
        display: none;
    }

    .hero.centered {
        padding: 200px 0 50px 0;
    }


    .hero.centered .hero-overlay {
        background: linear-gradient(180deg, rgba(25, 27, 34, 0) 40%, #191B22 97.69%);
    }


    .hero.centered .abs-image {
        position: unset;
        margin-bottom: 20px;
    }

    .hero.centered h1 {
        font-weight: 300;
        font-size: 46px;
        line-height: 90%;
        letter-spacing: -3%;
        text-align: center;
        text-transform: uppercase;

    }

    .hero.centered h1 strong {
        font-weight: 600;

    }

    .text .content {
        font-size: 38px;
    }

    h2 {
        font-size: 48px;
    }

    .image-content .image-content_wrapper .image-content_item img {
        width: 100%;
    }

    .testimonials_items .testimonials_item, .cards_items .cards_item {
        flex: 0 0 102%; /* На мобільних показуємо 85% ширини блоку */
        scroll-snap-align: start; /* Блок зупиняється рівно по краю */
        user-select: none; /* Щоб не виділявся текст при драгу */
        gap: 30px;
    }

    .cards_items .cards_item .text {
        margin: 0;
    }

    .cards .container > a {
        width: 100%;
        max-width: 300px;
    }


    .request h2 {
        font-weight: 600;
        font-size: 48px;
        line-height: 110.00000000000001%;
        text-transform: uppercase;

    }

    .floating-placeholder {
        font-size: 14px;
    }

    .floating-placeholder.active {
        font-size: 10px;
    }

    textarea ~ .floating-placeholder.active {
        font-size: 10px;
    }
}

@media (max-width: 640px) {
    .request-form_wrapper .name_first {
        margin-bottom: 20px !important;
    }

    /*.request-form_wrapper .gfield--type-checkbox {*/
    /*    width: 60%;*/
    /*}*/
}

@media (max-width: 560px) {

    /*.hero.centered .hero-bg {*/
    /*    object-position: 10%;*/
    /*    display: block;*/
    /*}*/
    .hero-bg {
        object-position: 10%;
        display: none;
    }


    .hero-bg-mob {
        object-position: 10%;
        display: block;
    }

    .journey-bg {
        object-position: 10%;
        display: none;
    }


    .journey-bg-mob {
        object-position: 10%;
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .book-bg {
        object-position: 10%;
        display: none;
    }


    .book-bg-mob {
        object-position: 10%;
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .advantages-bottom-items .item {
        width: 100%;
    }

    .advantages-bottom-items .item .left {
        width: 100%;
        order: 2;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        gap: 20px;
        justify-content: space-between;
    }

    .advantages-bottom-items .item .left .ad-img {
        order: 2
    }

    .advantages-bottom-items .item .left .adv-title {
        order: 1
    }

    .advantages-bottom-items .item .right {
        width: 100%;
        order: 1;
        justify-content: flex-start;
    }

    .advantages-bottom-items .item .bottom-text {
        order: 3;
    }

    .process-items .item {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .process-items .item .item-d {
        width: 49%;
    }

    .process-items .item .item-d img {
        display: none;
    }

    .process-items .item .item-m {
        display: block;
        width: 49%;
    }

}

@media (max-width: 420px) {
    #mobileMenu .logo img, .logo img{
        width: 130px;
    }
}


