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

html, body {
    margin: 0;
    padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: "Gogh", sans-serif;
    background-image: url(../images/background.webp);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

@font-face {
    font-family: 'Gogh';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url(../fonts/gogh-regular-702968-8Ezx9yub.woff2) format('woff2'), url(../fonts/gogh-regular-084601-gExOB9gF.woff) format('woff'), url(../fonts/gogh-regular-859508-CwjoD6dQ.ttf) format('truetype');
}

@font-face {
    font-family: 'Gogh';
    font-style: normal;
    font-weight: 500;
    font-display: auto;
    src: url(../fonts/gogh-medium-208484-w8sKNEI4.woff2) format('woff2'), url(../fonts/gogh-medium-356817-rsSayXZJ.woff) format('woff'), url(../fonts/gogh-medium-799054-TbHGW12n.ttf) format('truetype');
}

/* Shared button styles */
.btn {
    display: inline-block;
    padding: 12px 42px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    border: 1px solid #F02128;
    border-radius: 8px;
    transition: background-color .3s, color .3s;
}

.btn--outline {
    background-color: #FFFFFF;
    color: #F02128;
}

.btn--outline:hover, .btn--outline:focus {
    background: linear-gradient(90deg,rgba(239, 33, 39, 1) 0%, rgba(124, 0, 0, 1) 100%);
    color: #FFFFFF;
}

.btn--solid {
    background: linear-gradient(90deg,rgba(239, 33, 39, 1) 0%, rgba(124, 0, 0, 1) 100%);
    color: #FFFFFF;
}

.btn--solid:hover, .btn--solid:focus {
    background-color: #FFFFFF;
    color: #F02128;
}

.cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 0 5px;
    font-size: 34px;
    font-weight: bold;
    line-height: 1.5em;
    border-radius: 6px;
    color: #FFFFFF;
    overflow: hidden;
    transition: background-color .3s;
}

.cta-btn::before {
    content: "";
    position: absolute;
    inset: -60%;
    background-image: url(../images/logo.webp);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30% auto;
    transform: rotate(-8deg);
    pointer-events: none;
}

.cta-btn--dark::before {
    filter: brightness(0) invert(27.5%);
}

.cta-btn--red::before {
    filter: brightness(0) invert(18%);
    opacity: .35;
}

.cta-btn__icon, .cta-btn__text {
    position: relative;
    z-index: 1;
}

.cta-btn__icon {
    display: flex;
    align-items: center;
    font-size: 32px;
}

.cta-btn__icon svg {
    width: 1em;
    height: auto;
}

.cta-btn--dark {
    background-color: #000000;
}

.cta-btn--dark:hover, .cta-btn--dark:focus {
    background: linear-gradient(90deg,rgba(124, 0, 0, 1) 0%, rgba(124, 0, 0, 1) 100%);
}

.cta-btn--red {
    background: linear-gradient(90deg,rgba(239, 33, 39, 1) 0%, rgba(124, 0, 0, 1) 100%);
}

.cta-btn--red:hover, .cta-btn--red:focus {
    background: linear-gradient(90deg,rgba(239, 33, 39, 1) 0%, rgba(239, 33, 39, 1) 100%);
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 10px;
}

.header__inner {
    display: flex;
    max-width: 1760px;
    margin: 0 auto;
}

.header__brand {
    display: flex;
    flex: 0 0 50%;
    justify-content: flex-start;
}

.header__brand img {
    width: 152px;
}

.header__actions {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.header__actions-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .header__brand {
        flex: 0 0 270px;
    }
}

@media (max-width: 767px) {
    .header__inner {
        flex-wrap: wrap;
    }

    .header__brand {
        flex: 0 0 100%;
        justify-content: center;
        align-items: center;
        padding: 15px;
        text-align: center;
    }

    .header__actions {
        flex: 0 0 100%;
        justify-content: center;
    }

    .header__actions-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hero */
.hero {
    position: relative;
    z-index: 0;
    padding: 10px;
    margin: -100px 0;
}

.hero img {
    margin: 0 auto;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero {
        margin: -60px 0 -50px;
    }
}

@media (max-width: 767px) {
    .hero {
        margin: 0;
    }
}

/* Promos */
.promos {
    padding: 30px;
}

.promos__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1760px;
    margin: 0 auto;
}

.promos__item {
    display: block;
    flex: 1 1 100%;
}

.promos__item img {
    width: 100%;
    border-radius: 45px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.37);
    transition: transform .3s;
}

.promos__item:hover img, .promos__item:focus img {
    transform: scale(1.1) rotate(4deg);
}

@media (min-width: 768px) {
    .promos__item {
        flex-basis: calc(33.3333% - 14px);
    }
}

/* CTA buttons */
.cta {
    padding: 10px;
    margin: 30px 0;
}

.cta__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta__inner .cta-btn {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .cta__inner .cta-btn {
        flex-basis: calc(50% - 10px);
    }
}

@media (max-width: 1024px) {
    .cta-btn {
        font-size: 25px;
    }
}

/* Intro text */
.intro {
    padding: 10px;
}

.intro__inner {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6em;
}

.intro .hl {
    color: #f02128;
}

/* App banner */
.app-banner {
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}

.app-banner img {
    margin: 0 auto;
}

/* Footer */
.footer {
    padding: 50px 0;
}

.footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.footer__inner img {
    display: inline-block;
}
