* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8fb;
    color: #1f2937;
}

.hero {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(135deg, #015477, #0277a8);
    color: #ffffff;
    padding: 44px 20px 105px;
    text-align: center;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.top-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.96);
    border-radius: 18px;
    padding: 12px 18px;
    margin-bottom: 24px;
    box-shadow: 0 14px 32px rgba(0,0,0,.16);
}

.top-logo img {
    max-width: 330px;
    width: 100%;
    height: auto;
    display: block;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    margin: 0 0 12px;
    letter-spacing: -.8px;
}

.hero h2 {
    font-size: 27px;
    margin: 0 0 18px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 760px;
    margin: 0 auto 26px;
    line-height: 1.65;
    opacity: .96;
}

.hero-button {
    display: inline-block;
    background: #ffffff;
    color: #015477;
    text-decoration: none;
    border-radius: 12px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.container {
    max-width: 980px;
    margin: -56px auto 60px;
    padding: 0 18px;
}

.support-card,
.problem-card,
.form-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(15,23,42,.10);
}

.support-card {
    padding: 22px 28px;
    margin-bottom: 22px;
    text-align: center;
}

.support-card span {
    display: block;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 18px;
}

.support-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.support-logos img {
    max-height: 54px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

.problem-card {
    padding: 30px;
    margin-bottom: 24px;
}

.problem-card h3 {
    color: #015477;
    margin: 0 0 12px;
    font-size: 25px;
}

.problem-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: 16px;
}

.benefits-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.benefit {
    background: #f1f8fc;
    color: #0f3f58;
    border: 1px solid #d9edf7;
    border-radius: 12px;
    padding: 13px;
    font-weight: 700;
}

.form-card {
    padding: 34px;
}

.form-card h3 {
    margin: 0 0 8px;
    color: #015477;
    font-size: 28px;
}

.form-intro {
    margin: 0 0 26px;
    color: #64748b;
    line-height: 1.6;
}

form h4 {
    margin: 34px 0 18px;
    color: #015477;
    font-size: 21px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 9px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.field {
    margin-bottom: 17px;
}

label {
    display: block;
    font-weight: 800;
    margin-bottom: 7px;
    color: #1e293b;
}

label span,
small {
    font-weight: 400;
    color: #64748b;
}

small {
    display: block;
    margin-top: 6px;
    line-height: 1.4;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 15px;
    color: #1f2937;
    background: #ffffff;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #0277a8;
    box-shadow: 0 0 0 3px rgba(2,119,168,.12);
}

textarea {
    resize: vertical;
}

.check-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.check-group label {
    margin: 0;
    font-weight: 500;
    display: flex;
    gap: 9px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 11px;
    border-radius: 10px;
    cursor: pointer;
}

.check-group input {
    width: auto;
    margin: 0;
}

button {
    width: 100%;
    margin-top: 20px;
    border: none;
    border-radius: 12px;
    padding: 17px 26px;
    background: #015477;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

button:hover {
    background: #0277a8;
    transform: translateY(-1px);
}

.privacy-note {
    margin: 18px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.alert {
    padding: 15px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 700;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

footer {
    text-align: center;
    color: #64748b;
    padding: 20px;
    font-size: 14px;
}

.thanks-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(2,119,168,.18), transparent 28%),
        #f4f8fb;
}

.thanks-card {
    max-width: 620px;
    background: #ffffff;
    border-radius: 22px;
    padding: 42px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.thanks-icon {
    width: 74px;
    height: 74px;
    line-height: 74px;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    font-size: 42px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.thanks-card h1 {
    color: #015477;
    margin: 0 0 14px;
}

.thanks-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
}

@media (max-width: 760px) {
    .hero {
        padding-top: 30px;
    }

    .top-logo img {
        max-width: 260px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 21px;
    }

    .hero p {
        font-size: 16px;
    }

    .grid,
    .check-group,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-card,
    .problem-card,
    .support-card {
        padding: 24px;
    }

    .support-logos {
        gap: 18px;
    }

    .support-logos img {
        max-height: 42px;
        max-width: 140px;
    }
}
