/* -----------------------------
   Base / Reset
------------------------------ */

:root {
    --blue-900: #0a4aa6;
    --blue-800: #0252D3;
    --blue-700: #136fe0;
    --blue-100: #dbe9ff;    
    --tint: #d7e6ff;
    --text: #0b1b3a;
    --white: #ffffff;
    --container: 850px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    background: #f7fbff;
    line-height: 1.5;
}

/* -----------------------------
   Typography Rules
------------------------------ */

/* Headers use Poppins SemiBold */
h1,
h2,
h3,
h4,
h5,
h6,
.section__title,
.hero__title,
.card__title,
.brand__name {
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* -----------------------------
   Layout
------------------------------ */

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* -----------------------------
   HERO
------------------------------ */

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, #0f63d6 0%, #0a52bc 55%, #083f9c 100%);
}

.hero-image {
    line-height: 0px;
}

.hero-image img {
    width: 100%
}

.hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 25px;
}

.brand__name {
    font-size: 40px;
    opacity: 0.9;
}

.brand__logo {
    height: 35px;
}

.brand__logo img {
    height: 100%;
}

.brand__divider {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    height: 45px;
    width: 2px;
}

.hero__badge-chip {
    width: 46px;
    height: 26px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.hero-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
}

.hero__title {
    margin: 0;
    font-size: clamp(40px, 4.6vw, 64px);
    line-height: 1.05;
    white-space: nowrap;
}

.hero__title .spacer {
    padding-left: 10%;
}

.hero__title-small {
    font-size: .42em;
    font-weight: 400;
}

/* -----------------------------
   Sections
------------------------------ */

.section {
    padding: 100px 0;
}

.section--white {
    background: var(--white);
}

.section--tint {
    background: var(--tint);
}

.section__title {
    margin-top: 0px;
    margin-bottom: 14px;
    font-size: clamp(26px, 2.4vw, 34px);
}

.section--contact {
    padding-top: 0px;
    padding-bottom: 0px;
    position: relative;
}

.section__kicker {
    margin-bottom: 40px;
}

.prose p {
    margin-bottom: 14px;
}

/* -----------------------------
   Cards
------------------------------ */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    max-width: 860px;
    margin: 0 auto;
}

.card {
    padding: 26px 24px;
    border: 1px solid var(--blue-800);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all .2s ease;
    text-decoration: none;
}

.card:hover {
    transform: translateY(-2px);
}

.card__title {
    font-size: 20px;
    color: var(--blue-800);
}

.card__arrow img {
    width: 30px;
}

/* -----------------------------
   Contact
------------------------------ */

.contact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact__grid {
    display: block;
    margin-top: 30px;
}

.contact__line {
    margin-bottom: 8px;
    line-height: normal;
}

.contact__line.phone {
    padding-top: 25px;
    padding-bottom: 30px;
    margin: 0px;
}

.contact__line.phone a {
    text-decoration: none;
    color: inherit;
}

.contact__block p {
    margin: 0px;
}

.button {
    background-color: #0252D3;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    padding: 15px 90px;
    display: inline-block;
    font-weight: 600;;
}

/* -----------------------------
   Footer
------------------------------ */

.footer {
    background: var(--blue-900);
    color: white;
    padding: 70px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.footer__link {
    text-decoration: none;
    color: white;
}

/* -----------------------------
   Responsive
------------------------------ */

@media (max-width: 999px) { 
    .hero-content {
        transform: translate(-50%, -50%) scale(1);
    }

    .section {
        padding: 50px 0;
    }
}

@media (max-width:767px) {
    .hero {
        min-height: 60vh;
    }

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

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        flex-direction: column;
        gap: 8px;
    }

    .section--contact {
        min-height: 50vh;
        padding: 0px;
    }

    .hero-image {
        object-fit: cover;
        width: 100%;
        height: 100%;
        position: absolute;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 499px) {

    .hero-content {
        transform: translate(-50%, -50%) scale(0.7);
    }

    .container {
        width: calc(100% - 60px);
    }

    .card {
        padding: 20px 18px;
    }

    .card__title {
        font-size: 18px;
    }
}