:root {
    --color-success: #43b75d;
    --color-warning: #ffaa00;
    --color-alert: #e33e38;
    --color-black: #212936;
    --color-mid: #6d717f;
    --color-white: #fff;
    --color-surface: #f3f4f6;
    --color-topbar: #e2e7ff;
    --color-lavender: #faf8ff;
    --color-purple: #7357b9;
    --color-mint: #f2fffd;
    --color-aqua: #89f5e7;
    --color-teal: #19685e;
    --color-sky: #ebf7fe;
    --color-cream: #fffcf6;
    --color-crimson: #bb0027;
    --color-forest: #004741;
    --color-green: #00824c;
    --color-pale: #d5e3ff;
    --color-stage-bg: #f2f3ff;
    --color-line: #eaedff;
    --color-ink: #131b2e;
    --color-muted: #424751;
    --color-placeholder: #9ca3af;
    --color-outline-light: #f9fafb;

    --fs-10: 10px;
    --fs-12: 12px;
    --fs-14: 14px;
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-20: 20px;
    --fs-24: 24px;
    --fs-30: 30px;
    --fs-32: 32px;
    --fs-36: 36px;
    --fs-40: 40px;
    --fs-48: 48px;
    /* spacing */
    --space-4: 4px;
    --space-6: 6px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-30: 30px;
    --space-40: 40px;
    /* radius */
    --radius-8: 8px;
    --radius-12: 12px;
    --radius-14: 14px;
    --radius-16: 16px;
    --radius-24: 24px;
    --radius-32: 32px;
}

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

html {
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-14);
    line-height: 18px;
    color: var(--color-black);
    background: var(--color-white);
    overflow-x: hidden
}

img {
    display: block;
    max-width: 100%
}

ul {
    list-style: none
}

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

button,
input,
select {
    font: inherit;
    color: inherit
}

button {
    cursor: pointer;
    background: none;
    border: 0
}

.u-mobile-only {
    display: none
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-14);
    font-size: var(--fs-14);
    line-height: 18px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent
}

.btn__icon {
    width: 13.5px;
    height: 13.5px
}

.btn--primary {
    background: var(--color-secondary);
    color: var(--color-white);
    height: 52px
}

.btn--outline {
    border-color: var(--color-brand);
    color: var(--color-brand)
}

.btn--outline-light {
    border-color: var(--color-outline-light);
    color: var(--color-white)
}

.btn--white {
    background: var(--color-white);
    color: var(--color-brand);
    height: 52px
}

.btn--sm {
    height: 42px;
    padding: 10px 28px
}

.btn--lg {
    font-size: var(--fs-16);
    line-height: 20px;
    padding: 24px 32px;
    gap: 10px
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-14);
    line-height: 18px;
    font-weight: 600;
    color: var(--color-white);
    padding: 4px 12px;
    height: 33px;
    border-radius: var(--radius-12);
    background: var(--color-success);
    white-space: nowrap
}

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

.stars__icon {
    width: 20px;
    height: 19px
}

/* ---------- Top bar ---------- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    height: 40px;
    background: var(--color-topbar)
}

.topbar__item {
    display: flex;
    align-items: center;
    gap: var(--space-8)
}

.topbar__item--call {
    gap: 12px
}

.topbar__icon {
    width: 24px;
    height: 24px
}

.topbar__phone {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--color-brand)
}

.topbar__phone img {
    width: 13.5px;
    height: 13.5px
}

/* ---------- Header ---------- */
.header {
    position: relative;
    z-index: 20;
    height: 100px;
    background: var(--color-white)
}

.header__inner {
    height: 100%;
    padding: 0 72px;
    display: flex;
    align-items: center
}

.brand {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.brand__logo {
    width: 40px;
    height: 40px;
    -o-object-fit: cover;
       object-fit: cover
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 207px
}

.brand__name {
    font-size: var(--fs-16);
    line-height: 20px;
    font-weight: 600;
    color: var(--color-brand)
}

.brand__tagline {
    font-size: var(--fs-12);
    line-height: 16px;
    color: var(--color-mid);
    text-align: center
}

.header__toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10.667px;
    background: var(--color-surface);
    position: relative;
    margin-left: auto
}

.header__toggle img {
    position: absolute;
    left: 8px;
    top: 8.35px;
    width: 24px;
    height: 23.3px
}

.header__menu {
    display: flex;
    align-items: center;
    flex: 1
}

.nav {
    margin-left: 110px
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 16px
}

.nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 48px;
    font-size: var(--fs-14);
    line-height: 18px;
    color: var(--color-black);
    white-space: nowrap
}

.nav__link--first {
    padding: 10px 20px;
    border-radius: 100px
}

.nav__link--current {
    background: rgba(255, 255, 255, .12)
}

.header__actions {
    display: flex;
    gap: 16px;
    margin-left: auto
}


.btn--primary,
.btn--outline {}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 666px;
    background: var(--color-brand);
    overflow: hidden;
    padding-top: 432px;
    color: var(--color-white)
}

.hero__media {
    position: absolute;
    left: 0px;
    top: -63px;
    width: 100%;
    height: 791px;
    opacity: .26;
    max-width: none;
    -o-object-fit: cover;
       object-fit: cover;
    pointer-events: none
}

.hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 677px;
    max-width: 100%;
    height: 151px;
    margin: 0 auto;
    padding-left: 1px;
    text-align: center
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 165px;
    height: 36px;
    padding: 4px 12px;
    border-radius: var(--radius-12);
    background: rgba(255, 255, 255, .2);
    font-size: var(--fs-20);
    line-height: 28px;
    font-weight: 700;
    white-space: nowrap
}

.hero__title {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 100%
}

.hero__title-main {
    font-size: var(--fs-48);
    line-height: 45px;
    font-weight: 800
}

.hero__title-sub {
    font-size: var(--fs-32);
    line-height: 45px;
    font-weight: 400
}

/* ---------- About ---------- */
.about {
    display: flex
}

.about__media {
    position: relative;
    flex: 0 0 829px;
    height: 70vh;
    background: var(--color-black);
    overflow: hidden
}

.about__media img {
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    height: 70vh;
    max-width: none;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top;
       object-position: top;
}

.about__body {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 70vh;
    padding: 40px 0 0 49px;
    background: var(--color-white);
    overflow: hidden
}

.about__title {
    width: 677px;
    max-width: 100%;
    font-size: var(--fs-48);
    line-height: 56px;
    font-weight: 800;
    color: var(--color-brand)
}

.about__text {
    width: 90%;
    max-width: 100%;
    min-height: 90px;
    margin-top: 37px;
    font-size: var(--fs-18);
    line-height: 28px;
    text-align: justify
}

.about__text p+p,
.story__text p+p {
    margin-top: 28px
}

.about__foot {
    display: flex;
    flex-direction: column;
    gap: 45px;
    width: 677px;
    max-width: 100%;
    margin-top: 18px
}

.about__slogan {
    font-size: var(--fs-18);
    line-height: 28px;
    font-weight: 300;
    font-style: italic;
    font-stretch: 75%;
    color: var(--color-mid);
    text-align: justify;
    white-space: nowrap
}

/* ---------- Story ---------- */
.story {
    display: flex;
    flex-direction: column;
    gap: 71px;
    padding: 113px 0 113px 0;
    background: var(--color-white)
}

.story__row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
    width: 100%;
    max-width: 100%
}

.story__media {
    position: relative;
    flex: 0 0 596px;
    height: 377px;
    border-radius: var(--radius-32);
    background: var(--color-black);
    overflow: hidden
}

.story__media img {
    position: absolute;
    max-width: none;
    -o-object-fit: cover;
       object-fit: cover
}

.story__media--selfie img {
    left: 0px;
    top: 0;
    width: 100%;
    height: 441px;
    transform: scaleX(-1)
}

.story__media--portrait img {
    left: 0px;
    top: -30px;
    width: 100%;
    height: 471px
}

.story__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 612px;
    min-height: 377px
}

.story__title {
    font-size: var(--fs-40);
    line-height: 56px;
    font-weight: 600;
    color: #000
}

.story__text {
    font-size: var(--fs-18);
    line-height: 28px;
    text-align: justify
}

/* ---------- Footer ---------- */
.footer {
    display: flex;
    flex-direction: column;
    min-height: 603px;
    color: var(--color-white);
    background-image: linear-gradient(-84.18deg, #003e7a 2.0469%, #005db8 92.489%)
}

.newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1206px;
    max-width: calc(100% - 40px);
    height: 123px;
    margin: 69px auto 0;
    padding: 0 39.5px;
    border-radius: var(--radius-24);
    background: rgba(255, 255, 255, .12)
}

.newsletter__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 438px
}

.newsletter__title {
    font-size: var(--fs-20);
    line-height: 28px;
    font-weight: 700
}

.newsletter__sub {
    width: 405px;
    max-width: 100%;
    font-size: var(--fs-16);
    line-height: 20px;
    color: rgba(255, 255, 255, .7)
}

.newsletter__form {
    position: relative;
    width: 379px;
    height: 52px
}

.newsletter__input {
    width: 100%;
    height: 52px;
    padding: 0 120px 0 18px;
    border: 0;
    border-radius: var(--radius-16);
    background: rgba(255, 255, 255, .12);
    color: var(--color-white);
    font-size: var(--fs-14);
    line-height: 18px
}

.newsletter__input::-moz-placeholder {
    color: var(--color-white);
    opacity: 1
}

.newsletter__input::placeholder {
    color: var(--color-white);
    opacity: 1
}

.newsletter__submit {
    position: absolute;
    right: 0;
    top: 0;
    width: 98px;
    height: 52px;
    border-radius: var(--radius-16);
    background: var(--color-white);
    color: var(--color-brand);
    font-size: var(--fs-14);
    line-height: 18px;
    font-weight: 600;
    filter: drop-shadow(0 0 32.5px rgba(84, 197, 181, .3))
}

.footer__main {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 348px;
    margin: 60px 0 0 117px
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.brand--footer .brand__name {
    color: var(--color-white)
}

.brand--footer .brand__tagline {
    color: rgba(255, 255, 255, .5)
}

.footer__about {
    width: 460px;
    min-height: 84px;
    font-family: var(--font-heading);
    font-size: var(--fs-18);
    line-height: 24px
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px
}

.footer__social img {
    width: 24px;
    height: 24px
}

.footer__nav {
    display: flex;
    gap: 62px;
    width: 398px
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.footer__col--links {
    width: 108px
}

.footer__col--contact {
    width: 275px
}

.footer__col--legal {
    display: none
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: normal;
    font-weight: 600
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: var(--fs-14);
    line-height: 18px
}

.footer__contact {
    display: flex;
    align-items: center;
    gap: 13.5px;
    white-space: nowrap
}

.footer__contact img {
    width: 20px;
    height: 20px
}

.footer__contact--phone img {
    transform: scaleY(-1) rotate(180deg)
}

.footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 32px 116px;
    border-top: 1px solid rgba(255, 255, 255, .3)
}

.footer__copy {
    font-size: var(--fs-16);
    line-height: 20px
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: var(--fs-14);
    line-height: 18px;
    color: var(--color-pale)
}

.footer__sep {
    font-family: var(--font-ui);
    font-size: 11px;
    line-height: 16px
}


/* ================= Tablet ================= */
@media (min-width:1025px) and (max-width:1280px) {
    .header__inner {
        padding: 0 24px
    }

    .nav {
        margin-left: 16px
    }

    .nav__list {
        gap: 0
    }

    .nav__link,
    .nav__link--first {
        padding: 10px 12px
    }

    .header__actions {
        gap: 8px
    }

    .header__actions .btn {
        padding-left: 18px;
        padding-right: 18px
    }
}

@media (min-width:1281px) {
    .header__inner {
        padding-right: 95.5px
    }
}

@media (max-width:1024px) {
    .topbar__item:first-child {
        display: none
    }

    .header__inner {
        padding: 0 40px;
        position: relative
    }

    .header__toggle {
        display: block
    }

    .header__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        background: var(--color-white);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        padding: 0 40px;
        border-top: 1px solid transparent;
        transition: max-height .35s ease, opacity .25s ease, padding .35s ease, visibility 0s linear .35s
    }

    .header__menu.is-open {
        max-height: 460px;
        opacity: 1;
        visibility: visible;
        padding: 16px 40px 24px;
        border-top-color: var(--color-line);
        transition: max-height .35s ease, opacity .25s ease, padding .35s ease, visibility 0s
    }

    .nav {
        margin: 0
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px
    }

    .nav__link {
        justify-content: flex-start
    }

    .header__actions {
        margin: 0;
        flex-wrap: wrap
    }

    .hero__media {
        left: 50%;
        margin-left: -750px
    }

    .hero__content {
        padding: 0 40px
    }

    .about {
        flex-direction: column
    }

    .about__media {
        flex: none;
        width: 100%;
        height: 560px
    }

    .about__body {
        height: auto;
        padding: 49px 40px
    }

    .about__text {
        min-height: 0
    }

    .story {
        padding: 80px 40px;
        gap: 60px
    }

    .story__row {
        flex-direction: column;
        align-items: stretch;
        gap: 30px
    }

    .story__row--reverse {
        flex-direction: column-reverse
    }

    .story__media {
        flex: none;
        width: 100%
    }

    .story__body {
        flex: none;
        min-height: 0
    }

    .footer__main {
        flex-wrap: wrap;
        gap: 48px;
        margin: 60px 40px 0
    }

    .footer__bar {
        flex-wrap: wrap;
        gap: 16px;
        padding: 32px 40px
    }

    .newsletter {
        flex-wrap: wrap;
        gap: 20px;
        height: auto;
        padding: 30px 39.5px
    }
}

/* ================= Mobile ================= */
@media (max-width:768px) {
    .u-mobile-only {
        display: revert
    }

    .header {
        height: 80px
    }

    .header__inner {
        padding: 0 20px
    }

    .brand__tagline {
        font-size: var(--fs-10);
        line-height: 14px;
        text-align: left
    }

    .header__menu {
        padding: 0 20px
    }

    .header__menu.is-open {
        padding: 16px 20px 24px
    }

    .hero {
        height: 607px;
        padding: 0;
        display: flex;
        align-items: center
    }

    .hero__media {
        left: calc(50% + 126.5px);
        top: 0;
        margin: 0;
        width: 1262px;
        height: 665px;
        transform: translateX(-50%)
    }

    .hero__content {
        gap: 16px;
        width: 335px;
        height: 199px;
        padding: 0
    }

    .hero__title-main {
        font-size: var(--fs-36);
        line-height: 36px
    }

    .hero__title-sub {
        font-size: var(--fs-24);
        line-height: 36px
    }

    .about__media {
        height: 494px
    }

    .about__media img {
        left: -4.77px;
        top: -10px;
        width: 100%;
        height: 617.05px
    }

    .about__body {
        padding: 35px 20px 56px
    }

    .about__title {
        width: 335px;
        margin: 0 auto;
        font-size: var(--fs-40);
        line-height: 43px;
        letter-spacing: -.8px;
        text-align: center
    }

    .about__text {
        margin-top: 20px;
        width: 100%;
        min-height: 90px
    }

    .about__foot {
        gap: 20px;
        width: 335px
    }

    .about__slogan {
        white-space: normal
    }

    .story {
        padding: 20px 20px 20px 20px;
        gap: 40px
    }

    .story__row {
        gap: 42px;
        align-items: stretch
    }

    .story__row--reverse {
        flex-direction: column
    }

    .story__media {
        height: 377px
    }

    .story__media--selfie img {
        left: 0px
    }

    .story__media--portrait img {
        left: 0px
    }

    .story__body {
        gap: 20px
    }

    .footer {
        min-height: 946px
    }

    .newsletter {
        width: 335px;
        max-width: none;
        height: 206px;
        margin: 38px auto 0;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        text-align: center
    }

    .newsletter__text {
        width: 290px
    }

    .newsletter__title {
        width: 280px;
        margin: 0 auto
    }

    .newsletter__sub {
        width: 291px
    }

    .newsletter__form {
        width: 290px
    }

    .newsletter__input {
        padding: 0 110px 0 14px
    }

    .newsletter__submit {
        width: 94px
    }

    .footer__main {
        flex-direction: column;
        gap: 30px;
        margin: 30px 20px 0;
        width: 335px
    }

    .footer__nav {
        display: grid;
        grid-template-columns: 108px 187px;
        gap: 20px 33px;
        width: 335px
    }

    .footer__col--legal {
        display: flex
    }

    .footer__col--contact {
        grid-column: 1 / -1;
        width: 275px
    }

    .footer__list--main {
        font-size: var(--fs-16);
        line-height: 20px
    }

    .footer__about {
        width: 329px;
        font-size: var(--fs-16)
    }

    .footer__bar {
        justify-content: center;
        padding: 32px 20px;
        margin-top: auto
    }

    .footer__legal {
        display: none
    }

    .footer__copy {
        text-align: center
    }
}
