:root {
    --color-text: #1a1a1a;
    --color-bg: #ffffff;
    --color-field: #f7f7f7;
    --color-border: #e6e6e6;
    --page: 1440px;
    --container: 1170px;
    --gutter: 10px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: var(--font);
    line-height: 1.5;
}

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

.container {
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.site-header,
.site-main,
.site-footer {
    max-width: var(--page);
    margin: 0 auto;
}

.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 20px var(--gutter);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    height: 39px;
    margin: 0 auto;
}

.site-header__left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.site-logo {
    display: block;
    width: 84px;
    height: 39px;
    flex: 0 0 auto;
}

.site-logo img {
    display: block;
    width: 84px;
    height: 39px;
}

.site-nav__list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list a {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
}

.site-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-search,
.site-lang,
.site-basket {
    display: flex;
    align-items: center;
    height: 38px;
    background: var(--color-field);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
}

.site-search {
    width: 317px;
    gap: 12px;
    padding: 10px 12px;
}

.site-search__icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.site-search__input {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 15px;
    line-height: 18px;
    color: var(--color-text);
    outline: none;
    appearance: none;
}

.site-search__input::placeholder {
    color: var(--color-text);
    opacity: 1;
}

.site-search__input::-webkit-search-decoration,
.site-search__input::-webkit-search-cancel-button {
    appearance: none;
}

.site-lang {
    width: 38px;
    justify-content: center;
    padding: 10px;
    font-size: 15px;
    line-height: 18px;
}

.site-basket {
    gap: 8px;
    padding: 8px;
}

.site-basket__icon {
    display: block;
    width: 15px;
    height: 17px;
}

.site-basket__line {
    display: block;
    width: 1px;
    height: 24px;
    background: var(--color-border);
}

.site-basket__text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 15px;
    white-space: nowrap;
}

.site-main {
    min-height: 60vh;
}

.hero {
    position: relative;
    height: 719px;
    background: linear-gradient(180deg, #051b18 0%, #0b3c36 100%);
    color: #ffffff;
}

.hero__inner {
    position: relative;
    max-width: var(--container);
    height: 100%;
    margin: 0 auto;
    padding-top: 161px;
}

.hero__content {
    width: 646px;
}

.hero__title {
    margin: 0 0 17px;
    font-size: 46px;
    font-weight: 600;
    line-height: 58px;
}

.hero__lead {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.hero__buttons {
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 53px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: #499d64;
}

.btn--outline {
    border: 1px solid #ffffff;
}

.hero__line {
    width: 646px;
    height: 1px;
    margin: 40px 0;
    background: #1e3a40;
}

.hero__stats {
    display: flex;
    gap: 44px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero__stat-number {
    font-size: 46px;
    font-weight: 500;
    line-height: 42px;
}

.hero__stat-label {
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;
}

.partners {
    padding-top: 63px;
    background: var(--color-bg);
}

.partners__inner {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: var(--container);
    height: 29px;
    margin: 0 auto;
}

.partners__label {
    flex: 0 0 auto;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: #131313;
    white-space: nowrap;
}

.partners__track {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 62px, #000 calc(100% - 62px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 62px, #000 calc(100% - 62px), transparent 100%);
}

.partners__marquee {
    display: flex;
    width: max-content;
    animation: partners-scroll 40s linear infinite;
}

.partners__group {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
}

.partners__logo {
    display: block;
    flex: 0 0 auto;
}

.partners__line {
    max-width: var(--container);
    height: 1px;
    margin: 63px auto 0;
    background: var(--color-border);
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners__marquee {
        animation: none;
    }
}

.hero__image {
    position: absolute;
    top: 91px;
    right: 0;
    width: 467px;
    height: 537px;
    border-radius: 8px;
    object-fit: cover;
    object-position: 50% -14px;
}
