.contacts-page .Header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 14px 0 6px;
}
.contacts-page .Header img { max-width: 180px; height: auto; }

.contacts-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin: 0 0 6px !important;
    background: linear-gradient(90deg, #fff 0%, #f39c1e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contacts-sub {
    text-align: center;
    color: #8a9299 !important;
    font-size: 13px;
    margin: 0 0 22px !important;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.onecontact-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px 16px;
    transition: background .2s, transform .2s, border-color .2s;
}
.onecontact-block:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
    border-color: rgba(243, 156, 30, 0.3);
}

.onecontact-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.onecontact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.onecontact-icon svg { width: 20px; height: 20px; }
.onecontact-icon.vk { background: linear-gradient(135deg, #4a76a8, #2a5181); }
.onecontact-icon.ok { background: linear-gradient(135deg, #f7931e, #ee7600); }
.onecontact-icon.mail { background: linear-gradient(135deg, #d81f7a, #a30f5a); }

.onecontact-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.onecontact-block p {
    margin: 0 !important;
    color: #8a9299 !important;
    font-size: 13px !important;
    line-height: 1.45;
}

.onecontact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.onecontact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s, border-color .15s, transform .15s;
}
.onecontact-link:hover {
    background: rgba(243, 156, 30, 0.15);
    border-color: rgba(243, 156, 30, 0.5);
    transform: translateY(-1px);
}
.onecontact-link svg { width: 14px; height: 14px; opacity: 0.7; }

@media (max-width: 520px) {
    .pon-wrapper .pon-inner { padding: 18px 14px; }
    .contacts-title { font-size: 19px !important; }
    .contacts-grid { grid-template-columns: 1fr; }
}
