@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #1f3254;
    --blue-dark: #15233d;
    --red: #ee342b;
    --sand: #f7f1e8;
    --light: #f8fafc;
    --text: #263142;
    --muted: #667085;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    scroll-behavior: smooth;
}

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

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


body {
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
}

h1,
h2,
.kicker {
    font-family: 'Fraunces', Georgia, serif;
}

h1 {
    font-weight: 700;
    letter-spacing: -0.07em;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.05em;
}

h3,
.btn,
.help-item {
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
}
.wrap {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(31,50,84,.94), rgba(39,64,107,.88)),
        url("../images/header.webp") center/cover no-repeat;
    color: var(--white);
    padding: 80px 0;
}

.hero-grid,
.split,
.final-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 22px;
    font-size: clamp(54px, 8vw, 104px);
    line-height: .9;
    letter-spacing: -0.06em;
}

h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--blue);
}

h3 {
    margin: 12px 0 10px;
    font-size: 22px;
    color: var(--blue-dark);
}

p {
    font-size: 17px;
    line-height: 1.7;
    color: inherit;
}

.hero p {
    max-width: 620px;
    font-size: 20px;
    color: rgba(255,255,255,.9);
}
.hero::before {
    opacity: .06;
    transform: scale(1.2);
}
.lead {
    font-size: 21px;
    color: var(--blue-dark);
    font-weight: 700;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: .2s ease;
}

.btn.primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(238,52,43,.28);
}

.btn.secondary {
    background: var(--white);
    color: var(--blue);
}

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

.hero-card,
.photo-card {
    border-radius: 30px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 30px 70px rgba(0,0,0,.24);
}

.hero-card img,
.photo-card img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

section {
    padding: 90px 0;
}

.what {
    background: var(--sand);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.card {
    background: var(--white);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(31,50,84,.08);
}

.card p {
    color: var(--muted);
    font-size: 15px;
}

.icon {
    font-size: 36px;
}

.help {
    background: var(--blue);
    color: var(--white);
    text-align: center;
}

.help h2,
.help .lead {
    color: var(--white);
}

.help .lead {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.86);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 36px 0 34px;
}

.help-item {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    padding: 20px 12px;
    border-radius: 18px;
    font-weight: 800;
}

.help-item span {
    display: block;
    font-size: 30px;
    margin-bottom: 8px;
}

.center-btn {
    text-align: center;
}

.final {
    background:
        linear-gradient(135deg, rgba(238,52,43,.94), rgba(31,50,84,.96)),
        url("../images/header.webp") center/cover no-repeat;
    color: var(--white);
}

.final h2 {
    color: var(--white);
}

.final p {
    max-width: 720px;
    color: rgba(255,255,255,.88);
}

footer {
    padding: 28px 0;
    background: #101820;
    color: rgba(255,255,255,.78);
    font-size: 14px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

footer a {
    color: var(--white);
    font-weight: 700;
}

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s ease;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .hero-grid,
    .split,
    .final-grid {
        grid-template-columns: 1fr;
    }

    .cards,
    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card img,
    .photo-card img {
        height: 320px;
    }

    .footer-row {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    section {
        padding: 64px 0;
    }

    .hero {
        padding: 60px 0;
    }

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

    .buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

.card {
    transition: .25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

