body[data-page="nav-contact"] {
--contact-orange: #ff8b43;
min-height: 100vh;
min-height: 100dvh;
margin: 0;
overflow-x: hidden;
color: #f7f5f4;
background: #070707;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body[data-page="nav-contact"] *,
body[data-page="nav-contact"] *::before,
body[data-page="nav-contact"] *::after { box-sizing: border-box; }
main.contact-page { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: center; align-items: center; width: min(1080px, calc(100% - 48px)); min-height: 0; margin: 0 auto; padding: 48px 0 72px; text-align: center; }
.contact-hero { display: flex; align-items: center; justify-content: center; gap: 14px; }
.contact-hero h1 { margin: 0; color: #f7f5f4; font-size: clamp(40px, 3.4vw, 56px); font-weight: 850; letter-spacing: -1.8px; line-height: 1.12; }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; margin-top: 40px; }
.contact-subtitle { max-width: 46ch; margin: 16px auto 0; color: #b9aea7; font-size: 17px; line-height: 1.55; text-wrap: balance; }
.contact-card {
position: relative;
display: grid;
grid-template-columns: 52px minmax(0, 1fr) 20px;
align-items: center;
gap: 20px;
min-width: 0;
padding: 28px;
border: 1px solid var(--color-border, #2e2a28);
border-radius: var(--radius-lg, 16px);
color: var(--color-text, #f4f1ef);
background: var(--color-surface, #121110);
text-align: left;
text-decoration: none;
transition: border-color var(--duration-fast, 150ms) ease, background-color var(--duration-fast, 150ms) ease;
}
.contact-card:hover { border-color: var(--color-border-strong, #453831); background: var(--color-surface-raised, #1b1918); }
.contact-card:focus-visible { outline: 0; border-color: var(--color-border-strong, #453831); box-shadow: var(--focus-ring, 0 0 0 3px rgba(255, 157, 92, .45)); }
.contact-card__icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 14px; }
.discord .contact-card__icon { background: #5865f2; }
.telegram .contact-card__icon { background: #229ed9; }
.contact-card__icon img { display: block; width: 30px; height: 30px; object-fit: contain; }
.discord .contact-card__icon img { filter: brightness(0) invert(1); }
.telegram .contact-card__icon img { width: 29px; height: 29px; transform: translateX(-2px); }
.contact-card__text { display: grid; gap: 4px; min-width: 0; }
.contact-card__name { min-width: 0; color: var(--color-text, #f4f1ef); font-size: var(--text-lg, 22px); font-weight: var(--weight-semibold, 600); line-height: 1.25; }
.contact-card__label { overflow: hidden; color: var(--color-text-muted, #b3aaa5); font-family: var(--font-mono, ui-monospace, monospace); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.contact-card__copy { margin-top: 4px; color: var(--color-text-muted, #b3aaa5); font-size: var(--text-sm, 14px); line-height: 1.5; }
.contact-card__arrow { display: grid; width: 20px; height: 20px; place-items: center; color: var(--color-text-subtle, #8f8681); transition: color var(--duration-fast, 150ms) ease, transform var(--duration-fast, 150ms) ease; }
.contact-card__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.contact-card:hover .contact-card__arrow, .contact-card:focus-visible .contact-card__arrow { color: var(--color-text, #f4f1ef); transform: translateX(2px); }
@media (max-width: 900px) {
.contacts { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 1040px) {
main.contact-page { padding: 48px 0 64px; }
}
@media (max-width: 650px) {
main.contact-page { width: min(480px, calc(100% - 32px)); }
.contact-hero { gap: 12px; }
.contact-hero h1 { font-size: 37px; letter-spacing: -1.3px; }
.contacts { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
.contact-card { padding: 20px; gap: 16px; }
.contact-subtitle { font-size: 15px; }
.contact-card__copy { font-size: 14px; }
.contact-card__icon { width: 48px; height: 48px; border-radius: 13px; }
.contact-card__icon img { width: 36px; height: 36px; }
.telegram .contact-card__icon img { width: 34px; height: 34px; }
.contact-card__name { font-size: 25px; }
}
.contacts .contact-card { animation: contact-card-in .6s cubic-bezier(.2, .7, .2, 1) both; }
.contacts .contact-card:nth-child(1) { animation-delay: .08s; }
.contacts .contact-card:nth-child(2) { animation-delay: .2s; }
.contacts .contact-card .contact-card__icon { animation: contact-icon-in .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.contacts .contact-card:nth-child(1) .contact-card__icon { animation-delay: .32s; }
.contacts .contact-card:nth-child(2) .contact-card__icon { animation-delay: .44s; }
@keyframes contact-card-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes contact-icon-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
.contact-card, .contact-card__arrow { transition: none; }
.contacts .contact-card, .contacts .contact-card .contact-card__icon { animation: none; }
.contact-card:hover .contact-card__arrow, .contact-card:focus-visible .contact-card__arrow { transform: none; }
}