:root {
    /*+++++++++++++++ COLORS ++++++++++++++++++*/
    --color-primary: #529075;
    --color-bg: #FAFAF2;
    --color-white: #ffffff;
    --color-dark: #313131;
    --color-light: #7b7b7b;
    --color-lightest: #EDEDED;
    --gradient-transparent-to-black: linear-gradient(0deg, #313131 0%, rgba(49, 49, 49, 0.00) 100%);
    /*+++++++++++++++ FONT SIZE ++++++++++++++++++*/
    --lg-font: 40px;
    --md-font: 28px;
    --sm-font: 18px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

html {
    scroll-behavior: smooth;
}

body * {
    box-sizing: border-box;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--color-bg);
}

a {
    text-decoration: none;
    color: var(--color-primary, #529075);
    transition: ease-in-out 0.3s;
}

h1 {
    font-size: var(--lg-font, 40px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-dark, #313131);
    margin: 0 0 20px;
}

h2 {
    font-size: var(--lg-font, 40px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-dark, #313131);
    margin: 0 0 40px;
}

h3 {
    color: var(--color-dark, #313131);
    font-size: var(--sm-font, 18px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 20px;
}

p, li {
    font-size: var(--sm-font, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-light, #7B7B7B);
    margin: 0 0 20px;
}

.descriptor {
    font-size: var(--md-font, 28px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-primary, #529075);
    margin: 0 0 20px;
}

.container {
    width: 1520px;
    padding: 0 60px;
    margin: 0 auto;
    max-width: 100%;
}

.section {
    margin-top: 150px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 65px;
}

.header { position: relative; }

.lang-switcher {
    position: relative;
    z-index: 9;
    width: 92px;
    height: 34px;
    background: rgba(0,0,0,0.15);
    border-radius: 20px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin: 6px;
}

.lang-switcher::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 26px;
    background: #fff;
    border-radius: 16px;
    top: 4px;
    left: 4px;
    transition: left 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.lang-switcher.lang-en::before {
    left: 48px;
}

.lang-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    color: var(--color-white, #fff);
    font-weight: 700;
    width: 40px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 0;
}

.lang-switcher.lang-uk .lang-btn[data-lang="uk"],
.lang-switcher.lang-en .lang-btn[data-lang="en"] {
    color: var(--color-primary, #529075);
}

.header-logo {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.lang-nav{
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-logo h3 {
    color: var(--color-white, #fff);
    text-transform: uppercase;
}

#menu-button {
    position: relative;
    display: none;
}

#menu-button span {
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

#menu-button span,
#menu-button span:before,
#menu-button span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 2px;
    width: 30px;
    background: white;
    position: absolute;
    display: block;
    content: '';
    transition: all 0.3s ease-in-out
}

#menu-button span:before {
    top: -10px;
}

#menu-button.menu-opened span {
    background-color: transparent;
}

#menu-button.menu-opened span:before {
    transform: rotate(45deg);
    top: 0;
}

#menu-button span:after {
    bottom: -10px;
}

#menu-button.menu-opened span:after {
    transform: rotate(-45deg);
    top: 0;
}

.header-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.header-menu a {
    color: var(--color-dark, #313131);
    font-size: var(--sm-font, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    margin: 10px 15px;
    display: block;
    width: max-content;
}

.header-menu a.active,
.header-menu a:hover {
    color: var(--color-primary, #529075);
}

.main {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    flex-direction: column;
}

.main-bg {
    background: url('../img/background.png') no-repeat;
    background-size: cover;
    min-height: 100vh;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 48%;
    height: 100%;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

.main-bg:after {
    content: '';
    display: block;
    position: relative;
    width: 100%;
    height: 27.6vh;
    background: var(--gradient-transparent-to-black, linear-gradient(0deg, #313131 0%, rgba(49, 49, 49, 0.00) 100%));
    transform: rotate(180deg);
}

.main-info-wrap {
    flex: auto;
    display: flex;
    align-items: center;
}

.main-info {
    width: 52%;
    margin: 0 0 0 auto;
    padding-left: 60px;
}

.alt-img {
    display: none;
}

.btn-wrap {
    display: flex;
}

.btn-wrap .btn {
    display: block;
    margin-right: 20px;
}

.our-offer-inner {
    display: flex;
}

.our-offer-item {
    width: calc(33.3% - 40px);
    margin-right: 60px;
}

.our-offer-item:last-child {
    margin-right: 0;
}

.how-it-work-inner {
    display: flex;
}

.how-it-work-start {
    width: 65%;
}

.how-it-work-end {
    width: 35%;
    text-align: right;
}

.how-it-work-header {
    display: flex;
    justify-content: space-between;
}

.how-it-work-header h2,
.how-it-work-header .descriptor {
    flex: 1;
}

.how-it-work-header .descriptor {
    padding-left: 55px;
}

.how-it-work-item {
    border-bottom: 2px solid var(--color-lightest, #EDEDED);
}

.how-it-work-item h3 {
    margin-top: 20px;
}

.download-start {
    width: 30%;
}

.download-end {
    padding-left: 60px;
    width: 70%;
}

.download-end h2 {
    display: none;
}

.download-inner {
    display: flex;
}

.download-text {
    column-count: 2;
    column-gap: 60px;
    margin: 40px 0;
}

.footer {
    background: var(--color-primary, #529075);
    color: var(--color-white, #fff);
    padding: 75px 0 0 0;
    margin-top: 150px;
}

.footer * {
    color: inherit;
}

.footer .opacity {
    opacity: 0.7;
    line-height: 26px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.footer h3 {
    margin-bottom: 20px;
}

.footer-downloads {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
}

.footer-menu ul li {
    margin-right: 0;
}

.footer-menu ul li:last-child {
    margin-right: 0;
}

.footer-payment-systems {
    margin-top: 40px;
}

.footer-payment-img {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-payment-img img {
    width: 72px;
    height: 72px;
}

.footer-payment-systems p {
    max-width: 370px;
}

.copyright {
    margin: 0;
    padding-bottom: 12px;
    text-align: center !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 38px;
}

.logo {
    width: auto;
    height: 34px;
}

.header-privacy-policy {
    background: var(--color-primary, #529075);
    padding: 20px 0;
}

.header-privacy-policy .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-privacy-policy .logo {
    height: 40px;
    width: auto;
}

.header-privacy-policy .header-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-privacy-policy nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.header-privacy-policy nav a {
    color: var(--color-white, #fff);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: visible;
    padding-bottom: 6px;
}

.header-privacy-policy nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #fff;
    border-radius: 2px;
    transition: width 0.32s ease;
}

.header-privacy-policy nav a:hover::after {
    width: 100%;
}

.content-title {
    padding: 40px 0 20px;
    text-align: center;
}

/*+++++++++++++++ ADAPTIVE STYLES ++++++++++++++++++*/
@media screen and (max-width: 1200px) {
    .main-info {
        padding-left: 30px;
    }

    .container {
        padding: 0 30px;
    }
}

@media screen and (max-width: 1175px) {
    .main-bg {
        border-bottom-left-radius: 20px;
        width: 100%;
    }

    p.light {
        color: var(--color-white, #fff);
    }

    .main-bg:after {
        background: rgba(49, 49, 49, 0.8);
        width: 100%;
        height: 100%;
    }

    .header,
    .main-info-wrap {
        position: relative;
    }

    .header-inner {
        padding-top: 30px;
    }

    .lang-switcher {
        background: rgba(255,255,255,0.2);
    }

    .header-menu a {
        color: var(--color-white);
    }

    .header-menu a {
        position: relative;
        overflow: visible;
        padding-bottom: 6px;
    }

    .header-menu a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 3px;
        width: 0;
        background: #fff;
        border-radius: 2px;
        transition: width 0.32s ease;
    }

    .header-menu a:hover::after {
        left: 0;
        transform: none;
        width: 100%;
    }

    .header-privacy-policy nav ul {
        gap: 12px;
    }

    /* active link shows full white underline */
    .header-menu a.active::after {
        left: 0;
        transform: none;
        width: 100%;
    }

    .header-menu a.active,
    .header-menu a:hover {
        color: var(--color-white, #fff);
    }

    .main-info h1,
    .main-info p:not(.descriptor) {
        color: var(--color-white);
    }

    .main-info {
        padding-left: 0;
        margin: 0 auto;
        width: 90%;
        text-align: center;
    }

    .main-info .btn-wrap img {
        display: none;
    }

    .main-info .btn-wrap .alt-img {
        display: block;
    }

    .how-it-work-inner {
        flex-wrap: wrap;
    }

    .how-it-work-start {
        order: 2;
        width: 100%;
    }

    .how-it-work-header {
        flex-wrap: wrap;
    }

    .how-it-work-header h2,
    .download-end h2 {
        margin-top: 40px;
    }

    .how-it-work-header h2,
    .how-it-work-header .descriptor,
    .download-end h2,
    .download-end .descriptor,
    .our-offer h2 {
        width: 100%;
        flex: auto;
        text-align: center;
        margin-bottom: 20px;
        padding: 0;
    }

    .mobile-img {
        text-align: center;
        padding-bottom: 50px;
        padding-top: 50px;
        background: url('../img/background.png') no-repeat;
        background-size: cover;
        border-radius: 20px;
        position: relative;
        overflow: hidden;
        width: 100vw;
        margin: 0 -30px;
        max-width: none;
    }

    .mobile-img img {
        position: relative;
        z-index: 1;
        max-height: 100%;
    }

    .mobile-img:after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(49, 49, 49, 0.8);
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .section {
        margin-top: 50px;
    }

    .download-inner {
        flex-wrap: wrap;
    }

    .download-start,
    .download-end {
        width: 100%;
        padding-left: 0;
    }

    .download h2 {
        display: none;
    }

    .download-end h2 {
        display: block;
    }

    .download-text {
        column-count: 1;
    }

    .btn-wrap {
        justify-content: center;
    }

    .mobile-img {
        text-align: center;
        padding-bottom: 50px;
        padding-top: 50px;
        background: url('../img/background.png') no-repeat;
        background-size: cover;
        border-radius: 20px;
        position: relative;
        overflow: hidden;
        width: 100vw;
        margin: 0 -30px;
        max-width: none;
        max-height: 500px;
    }

    .our-offer-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .our-offer-item {
        width: 30%;
        margin: 0;
    }

    p:not(.descriptor) {
        text-align: justify;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-inner {
        flex-wrap: wrap;
    }

    .footer-item {
        margin-right: 10px;
    }

}

@media screen and (max-width: 767px) {
    #menu-button {
        position: absolute;
        display: inline-block;
        height: 25px;
        width: 35px;
        top: 30px;
        right: 27px;
        z-index: 9;
    }
    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1;
        top: 0;
        background: rgba(49, 49, 49, 0.8);
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 20px;
        padding: 110px 15px 40px;
    }

    .nav ul {
        display: block;
    }

    .header-logo {
        z-index: 9;
        align-items: flex-start;
    }

    .lang-switcher {
        margin-inline: 0;
    }

    .our-offer-item {
        width: 48%;
    }

    .header-privacy-policy nav {
        display: none;
    }

    .content-title h1, h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 540px) {
    .main-info {
        width: 100%;
    }

    .header-menu a{
        margin: 12px 4px;
    }

    .our-offer-item {
        width: 100%;
    }

    .container {
        padding: 0 15px;
    }

    #menu-button {
        right: 10px;
    }

    .mobile-img {
        margin: 0 -15px;
    }
    .btn-wrap {
        flex-wrap: wrap;
    }

    .btn-wrap .btn {
        margin-bottom: 10px;
    }

    .btn-wrap .btn img {
        width: 100%;
    }

    .header-privacy-policy .logo {
        height: 32px;
    }

    .content-title {
        padding: 30px 0 15px;
    }

    .content-title h1, h2 {
        font-size: 20px;
    }

    .header-privacy-policy .lang-switcher {
        width: 80px;
        height: 30px;
        margin: 0;
    }

    .header-privacy-policy .lang-btn {
        width: 36px;
        height: 22px;
        font-size: 12px;
    }

    .header-privacy-policy .lang-switcher::before {
        width: 36px;
        height: 22px;
    }

    .header-privacy-policy .lang-switcher.lang-en::before {
        left: 40px;
    }

}