.contact-page {
    padding: 80px 0 100px;
    background: linear-gradient(145deg, #f0f5ff 0%, #fefaf3 45%, #f7f7ff 100%);
}

.contact-hero {
    text-align: center;
    max-width: 820px;
    margin-bottom: 48px;
}

.contact-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f1f2b;
}

.contact-hero__subtitle {
    font-size: 18px;
    color: #5c6275;
    line-height: 1.7;
    margin: 0 auto;
}

.contact-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(59, 99, 255, 0.12);
    color: #3b63ff;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 12px;
}

.contact-section-wrapper {
    padding-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.contact-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid #edf0ff;
    box-shadow: 0 20px 40px rgba(24, 33, 77, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(24, 33, 77, 0.08);
}

.contact-card--primary {
    background: linear-gradient(135deg, #3b63ff 0%, #7c8bff 100%);
    color: #fff;
}

.contact-card--primary a {
    color: #fff;
    font-weight: 600;
}

.contact-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(59, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-card__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: inherit;
}

.contact-item {
    font-size: 17px;
    color: inherit;
    line-height: 1.7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.contact-item a {
    color: #3b63ff;
    text-decoration: none;
    font-weight: 600;
}

.contact-card--primary .contact-item a {
    color: #fff;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-messengers {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.contact-messengers img {
    width: 28px;
    height: 28px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid rgba(26, 32, 60, 0.1);
    text-decoration: none;
    color: #1a203c;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link:hover {
    border-color: #3b63ff;
    color: #3b63ff;
    background: rgba(59, 99, 255, 0.05);
}

.social-link img {
    width: 20px;
    height: 20px;
}

.contact-cta {
    margin-top: 60px;
}

.contact-cta__inner {
    background: linear-gradient(120deg, #222bff 0%, #4746ff 60%, #6aa2ff 100%);
    border-radius: 24px;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: #fff;
    box-shadow: 0 30px 60px rgba(34, 43, 255, 0.25);
}

.contact-cta__content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    font-size: 18px;
    line-height: 1.6;
}

.contact-cta__content h2 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-cta__button {
    min-width: 220px;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 60px 0 80px;
    }

    .contact-hero h1 {
        font-size: 32px;
    }

    .contact-grid {
        gap: 18px;
    }

    .contact-card {
        padding: 24px;
    }

    .contact-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-cta__button {
        width: 100%;
    }
}

