:root {

      --color-brand-light: #005db8;
      --color-text: #212936;
      --color-text-mid: #6d717f;
      --color-text-label: #091426;
      --color-text-black: #070707;
      --color-white: #ffffff;
      --color-bg: #fafaf9;
      --color-bg-mid: #f3f4f6;
      --color-border: #f3f4f6;
      --color-topbar: #e2e7ff;
      --color-footer-link: #d5e3ff;
    --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;
    --color-overlay-12: rgba(255, 255, 255, 0.12);
    --color-overlay-30: rgba(255, 255, 255, 0.3);
    --color-overlay-50: rgba(255, 255, 255, 0.5);
    --color-overlay-70: rgba(255, 255, 255, 0.7);
    /* font sizes */
    --fs-10: 10px;
    --fs-11: 11px;
    --fs-12: 12px;
    --fs-14: 14px;
    --fs-16: 16px;
    --fs-18: 18px;
    --fs-20: 20px;
    --fs-24: 24px;
    --fs-32: 32px;
    --fs-50: 50px;
    --fs-80: 80.898px;

    /* spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 27px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 54px;
    --space-10: 72px;

    /* radius */
    --radius-14: 14px;
    --radius-16: 16px;
    --radius-24: 24px;
    --radius-32: 32px;
    --radius-48: 48px;
    --radius-100: 100px;

    /* layout */
    --gutter: 40px;
    --transition-menu: 0.35s ease;

    --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 */

    /* 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: 503px;
    overflow: hidden;
    background: var(--color-brand);
}

.hero__media {
    position: absolute;
    top: 0;
    left: calc(50% - 720px);
    width: 1920px;
    height: 964px;
    overflow: hidden;
    opacity: 0.4;
    transform: scaleX(-1);
    pointer-events: none;
}

.hero__img {
    position: absolute;
    top: -8.35%;
    left: -4.17%;
    width: 104.17%;
    height: 116.7%;
    max-width: none;
}

.hero__inner {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 152px;
}

.hero__title {
    max-width: 1141px;
    font-size: var(--fs-80);
    font-weight: 800;
    line-height: 94.381px;
    color: var(--color-white);
}

/* ==========================================================
       Quote section
       ========================================================== */
.quote {
    padding: 79px 0 80px;
    background: var(--color-bg);
}

.quote__inner {
    display: grid;
    grid-template-columns: minmax(0, 429fr) minmax(0, 652fr);
    -moz-column-gap: clamp(48px, 8.75vw, 126px);
         column-gap: clamp(48px, 8.75vw, 126px);
    align-items: start;
    width: min(1207px, calc(100% - 80px));
    margin: 0 auto;
}

.quote__intro {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-top: -6px;
}

.quote__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.quote__heading {
    font-size: var(--fs-32);
    font-weight: 700;
    line-height: 46px;
    letter-spacing: -0.96px;
    color: var(--color-text);
}

.quote__lead {
    font-size: var(--fs-18);
    line-height: 28px;
    color: var(--color-text);
}

.support {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    width: 275px;
    max-width: 100%;
}

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

.support__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.support__item {
    display: flex;
    align-items: center;
    gap: 13.5px;
    font-size: var(--fs-16);
    line-height: 20px;
    color: var(--color-text-black);
    white-space: nowrap;
}

.support__link {
    text-decoration: underline;
    font-weight: 600;
}

/* ---------- form card ---------- */
.form-card {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: -6px;
    padding: var(--space-9) var(--space-9) var(--space-10);
    border: 1.125px solid var(--color-border);
    border-radius: var(--radius-32);
    background: var(--color-white);
}

.form-card__title {
    font-size: var(--fs-24);
    font-weight: 700;
    line-height: 32px;
    color: var(--color-secondary);
}

.form-card__lead {
    font-size: var(--fs-18);
    line-height: 28px;
    color: var(--color-text-mid);
}

.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding-top: var(--space-6);
}

.form__row {
    display: flex;
    gap: var(--space-6);
}

.form__field {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

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

.form__label--dark {
    color: var(--color-text);
}

.form__control {
    display: block;
    width: 100%;
    height: 53.5px;
    padding: 0 19px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-16);
    background-color: var(--color-bg);
    font-family: var(--font-primary);
    font-size: var(--fs-16);
    line-height: 20px;
    color: var(--color-text);
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
}

.form__control::-moz-placeholder {
    color: var(--color-text-mid);
    opacity: 1;
}

.form__control::placeholder {
    color: var(--color-text-mid);
    opacity: 1;
}

.form__control:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
}

.form__select-wrap {
    position: relative;
}

.form__control--select {
    height: 49px;
    padding-right: 47px;
    color: var(--color-text);
}

.form__control--select:has(option[value=""]:checked) {
    color: var(--color-text-mid);
}

.form__select-icon {
    position: absolute;
    top: 14.5px;
    right: 19px;
    pointer-events: none;
    color: var(--color-text-mid);
}

.form__control--textarea {
    height: 157px;
    padding: 14.5px 19px;
    resize: none;
}

/* ---------- 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
    }

    /* hero */
    .hero {
        height: 488px;
    }

    .hero__media {
        left: calc(50% + 0.5px);
        width: 1422.075px;
        height: 714px;
        transform: translateX(-50%) scaleX(-1);
    }

    .hero__inner {
        align-items: flex-end;
        padding: 0 var(--gutter) 42px;
    }

    .hero__title {
        font-size: clamp(var(--fs-50), 8vw, 64px);
        line-height: 1.34;
    }

    /* quote */
    .quote {
        padding: 56px 0 var(--space-6);
        background: var(--color-white);
    }

    .quote__inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--space-8);
        width: 100%;
    }

    .quote__intro {
        gap: var(--space-6);
        margin-top: 0;
        padding: 0 var(--gutter);
    }

    .quote__heading {
        line-height: 38px;
    }

    .form-card {
        gap: 9px;
        margin-top: 0;
        padding: 25.25px var(--gutter) 43.25px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

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

    .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
    }

    .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
    }

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

    .form__row {
        flex-direction: column;
        gap: var(--space-6);
    }

    .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
    }

    .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
    }
}
