.contact-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.contact-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-kicker--blue {
    background: #eaf2ff;
    color: #1253c9;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.contact-btn--primary {
    background: #0d6efd;
    color: #ffffff;
}

.contact-btn--primary:hover {
    background: #0b5ed7;
    color: #ffffff;
}

.contact-btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #ffffff;
}

.contact-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.contact-btn--light {
    background: #ffffff;
    color: #12306b;
}

.contact-btn--light:hover {
    background: #eef4ff;
    color: #12306b;
}

.contact-btn--outline-light {
    border: 1px solid rgba(255, 255, 255, 0.46);
    color: #ffffff;
}

.contact-btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(84, 131, 255, 0.3), transparent 34%),
        linear-gradient(135deg, #061631 0%, #0d2d63 54%, #1d63d8 100%);
    color: #ffffff;
}

.contact-hero__grid,
.contact-main__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: center;
}

.contact-hero__content h1 {
    margin: 18px 0;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.06;
    font-weight: 800;
    color: #ffffff;
}

.contact-hero__content p {
    margin: 0 0 26px;
    max-width: 620px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.84);
}

.contact-hero__actions,
.contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.contact-hero__card {
    position: relative;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
}

.contact-hero__card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.contact-hero__badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #112142;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.contact-hero__badge--top {
    top: 28px;
    left: -16px;
}

.contact-hero__badge--bottom {
    right: -16px;
    bottom: 28px;
}

.contact-highlights {
    margin-top: -24px;
    position: relative;
    z-index: 2;
}

.contact-highlights__bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(12, 24, 48, 0.08);
}

.contact-highlights__bar span {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f2f7ff;
    color: #12306b;
    font-weight: 700;
    text-align: center;
}

.contact-main,
.contact-cta {
    padding: 84px 0;
}

.contact-card {
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid #e2ebf8;
    box-shadow: 0 16px 40px rgba(12, 24, 48, 0.06);
}

.contact-card h2 {
    margin: 16px 0 14px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.14;
    font-weight: 800;
    color: #10203f;
}

.contact-card p {
    margin: 0;
    color: #5e6c88;
    line-height: 1.75;
}

.contact-info-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #e3ebf8;
}

.contact-info-item__icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd, #4f8fff);
    color: #ffffff;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 6px;
    color: #10203f;
}

.contact-info-item span {
    color: #5e6c88;
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf4ff;
    color: #1253c9;
    text-decoration: none;
}

.contact-socials a:hover {
    background: #0d6efd;
    color: #ffffff;
}

.contact-form-modern {
    margin-top: 26px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-field label {
    font-size: 14px;
    font-weight: 700;
    color: #10203f;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    border: 1px solid #d9e4f7;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    color: #10203f;
    background: #f8fbff;
    box-sizing: border-box;
}

.contact-form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-field--full {
    grid-column: 1 / -1;
}

.contact-btn--submit {
    margin-top: 22px;
    border: none;
}

.contact-cta {
    padding-top: 10px;
}

.contact-cta__card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0b1d43, #144ba8);
    color: #ffffff;
    box-shadow: 0 24px 54px rgba(10, 26, 58, 0.18);
}

.contact-cta__card h2 {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 3vw, 3.1rem);
    line-height: 1.14;
    font-weight: 800;
    color: #ffffff;
}

.contact-cta__card p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
}

@media (max-width: 992px) {
    .contact-hero__grid,
    .contact-main__grid,
    .contact-form-grid,
    .contact-highlights__bar {
        grid-template-columns: 1fr;
    }

    .contact-cta__card {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-hero__badge--top,
    .contact-hero__badge--bottom {
        position: static;
        margin-top: 14px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 72px 0 60px;
    }

    .contact-hero__card img {
        height: 320px;
    }

    .contact-hero__actions,
    .contact-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-card,
    .contact-cta__card {
        padding: 26px 22px;
    }
}
