:root {
    --green-900: #083626;
    --green-700: #024935;
    --orange: #ff7f0b;
    --white: #fff;
    --header-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--white);
    background: var(--green-900);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 600;
}

a {
    color: inherit;
}

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

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: var(--header-height);
    background: var(--white);
    color: var(--green-900);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo img {
    display: block;
    width: 99px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 13px;
    font-weight: 600;
}

.nav a {
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    border-bottom-color: var(--green-900);
}

.nav__lang {
    display: flex;
    gap: 8px;
    padding-left: 24px;
    border-left: 1px solid #dbdbdb;
}

.nav__lang a {
    opacity: 0.5;
}

.nav__lang a[aria-current='page'] {
    opacity: 1;
}

.nav-toggle,
.nav-toggle__label {
    display: none;
}

/* Shared blocks */

.dots {
    display: block;
    width: 46px;
    margin-bottom: 24px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 64px 0;
}

.split--reverse .split__text {
    order: 2;
}

.split__media {
    display: flex;
    justify-content: center;
}

.split h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.split h3 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.split p {
    margin: 0 0 16px;
}

.lead {
    font-size: 16px;
}

.brand,
.split strong {
    color: var(--orange);
    font-weight: 600;
}

.hero .split strong {
    color: var(--white);
}

.bullets {
    margin: 24px 0 0;
    padding-left: 18px;
    font-size: 13px;
    font-weight: 600;
}

.bullets li {
    margin-bottom: 4px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    padding-top: 96px;
}

.section-title--orange {
    color: var(--orange);
}

.section-subtitle {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin: 16px 0 56px;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 6px 40px;
    border-radius: 6px;
    background: var(--orange);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: filter 0.15s;
}

.button:hover {
    filter: brightness(1.1);
}

/* Hero */

.hero .split {
    padding: 96px 0 120px;
}

.band {
    height: 111px;
    background: url('../img/band.png') center / auto 100% repeat-x;
}

/* Value proposition */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0 0 32px;
    list-style: none;
}

.card {
    padding: 28px 24px;
    border-radius: 10px;
    background: var(--green-700);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

.card h3 {
    color: var(--orange);
    font-size: 15px;
    margin-bottom: 4px;
}

.card p {
    margin: 0;
}

/* Why */

.why {
    padding-bottom: 64px;
}

/* Features */

.features {
    background: var(--orange);
    padding-bottom: 64px;
}

.features .bullets {
    color: var(--green-900);
}

/* Contacts */

.contacts {
    background: var(--orange);
    padding-bottom: 96px;
}

.contacts .section-title {
    padding-top: 32px;
}

.people {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 72px 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
    color: var(--green-900);
}

.person img {
    width: 145px;
    border-radius: 50%;
}

.person h3 {
    font-size: 22px;
    margin-top: 16px;
}

.person__role {
    margin: 0 0 12px;
    color: var(--white);
    font-weight: 500;
}

.person a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.person a:hover {
    text-decoration: underline;
}

/* Footer */

.footer {
    padding: 48px 0 32px;
    font-size: 13px;
    font-weight: 600;
}

.footer__nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 64px;
}

.footer__nav a {
    text-decoration: none;
}

.footer__nav a:hover {
    color: var(--orange);
}

.footer__credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 48px 0 0;
    font-weight: 400;
    opacity: 0.8;
}

.footer__credit img {
    display: block;
    width: 96px;
}

/* Mobile */

@media (max-width: 768px) {
    .nav-toggle__label {
        display: block;
        position: relative;
        width: 28px;
        height: 20px;
        cursor: pointer;
    }

    .nav-toggle__label span,
    .nav-toggle__label span::before,
    .nav-toggle__label span::after {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--green-900);
        content: '';
    }

    .nav-toggle__label span {
        top: 9px;
    }

    .nav-toggle__label span::before {
        top: -8px;
    }

    .nav-toggle__label span::after {
        top: 8px;
    }

    .nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 16px;
        background: var(--white);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .nav a {
        padding: 12px 0;
    }

    .nav__lang {
        padding: 12px 0 0;
        border-left: 0;
        gap: 16px;
    }

    .nav-toggle:checked ~ .nav {
        display: flex;
    }

    .split,
    .hero .split {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0;
    }

    .split--reverse .split__text {
        order: 0;
    }

    .split h1,
    .split h3 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 26px;
        padding-top: 64px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .band {
        height: 93px;
        background-image: url('../img/band-mobile.png');
    }

    .cards,
    .people {
        grid-template-columns: 1fr;
    }
}
