: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: 1240px;
    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);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.card-header h2 { margin: 0; font-size: 1.5rem; font-weight: 700; }

.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;
}

.iframe-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
}

.map-wrapper { height: 500px; }
.reviews-wrapper { height: 600px; }

.address-text {
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    text-align: center;
}

.yandex-link {
    display: block;
    margin-top: 12px;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: none;
}
.yandex-link:hover { text-decoration: underline; }

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

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .card { padding: 20px; }
    .map-wrapper, .reviews-wrapper { height: 400px; }
    .page-title { font-size: 1.8rem; margin-bottom: 1.5rem; }
}