:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;

    --bg-color: #cbd5e1;

    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --radius: 24px;
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

#paw-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 0; overflow: hidden;
}

.paw {
    position: absolute; width: 40px; height: 40px;
    object-fit: contain;

    filter: brightness(0);

    opacity: 0;
    animation: floatPaw 10s linear forwards;
}

@keyframes floatPaw {
    0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }

    10% { opacity: 0.2; }
    90% { opacity: 0.2; }

    100% { transform: translateY(-120vh) rotate(45deg) scale(1.1); opacity: 0; }
}

.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }

.back-link {
    text-decoration: none; color: var(--text-main);
    font-weight: 500; font-size: 0.95rem;
    display: flex; align-items: center; gap: 6px;
    transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }

.logo-link {
    display: block; width: 44px; height: 44px;
    border-radius: 50%; padding: 2px;
    border: 2px solid transparent; transition: all 0.3s ease;
}
.logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.logo-link:hover {
    border-color: #60a5fa; background-color: #eff6ff;
    transform: scale(1.05);
}

.main-content {
    flex: 1;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.page-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-main);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid #ffffff;
}

/* --- INFO CARD --- */
.info-card { display: flex; flex-direction: column; gap: 24px; }

.info-item { display: flex; align-items: center; gap: 16px; }

.icon-box {
    width: 48px; height: 48px;
    border-radius: 14px;
    background-color: #eff6ff;
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.info-text { display: flex; flex-direction: column; gap: 4px; }

.label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.value { font-size: 1.05rem; font-weight: 600; color: var(--text-main); }
.link { text-decoration: none; transition: color 0.2s; }
.link:hover { color: var(--primary); }

.separator { height: 1px; background: #e2e8f0; margin: 4px 0; }

.social-card { text-align: center; display: flex; flex-direction: column; justify-content: center; }
.social-card h2 { margin: 0 0 8px 0; font-size: 1.5rem; }
.subtitle { margin: 0 0 24px 0; color: var(--text-muted); font-size: 0.95rem; }

.social-buttons { display: flex; flex-direction: column; gap: 16px; }

.social-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 14px; border-radius: 16px;
    text-decoration: none; font-weight: 600; font-size: 1rem;
    transition: all 0.2s; background: #f8fafc;
    color: var(--text-main); border: 1px solid #e2e8f0;
}
.social-icon { width: 28px; height: 28px; object-fit: contain; }

.vk:hover { background-color: #0077FF; color: white; border-color: #0077FF; box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3); }
.tg:hover { background-color: #229ED9; color: white; border-color: #229ED9; box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3); }

.footer {
    background: #94a3b8; color: #f1f5f9;
    text-align: center; padding: 20px; font-size: 0.9rem;
    margin-top: auto;
}

@media (max-width: 900px) {
    .contacts-grid { grid-template-columns: 1fr; gap: 20px; }
    .card { padding: 24px; }
    .page-title { font-size: 1.8rem; margin-bottom: 1.5rem; }
    .social-btn { padding: 16px; }
}