/*
 * Norwesta Shining - shared site styles (header nav, language switch, sections)
 */

/* Дополнительные стили для блока приветствия */
        .welcome-block {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 20px;
            padding: 40px 35px;
            margin: 30px auto 25px;
            max-width: 1150px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .welcome-block::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at 30% 40%, rgba(255, 215, 150, 0.08) 0%, transparent 60%);
            pointer-events: none;
        }

        .welcome-block:hover {
            transform: translateY(-4px) scale(1.01);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
            border-color: rgba(255, 215, 150, 0.4);
        }

        .welcome-block .welcome-icon {
            text-align: center;
            font-size: 42px;
            color: #f5cba0;
            margin-bottom: 10px;
            display: block;
            text-shadow: 0 0 20px rgba(245, 203, 160, 0.3);
        }

        .welcome-block h1 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 32px;
            color: #fff;
            text-align: center;
            margin-bottom: 18px;
            letter-spacing: 1px;
            position: relative;
        }

        .welcome-block h1::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #f5cba0, #d4a373);
            margin: 12px auto 0;
            border-radius: 4px;
        }

        .welcome-block h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 22px;
            color: #f5cba0;
            text-align: center;
            margin: 10px 0 16px;
            letter-spacing: 0.5px;
        }

        .welcome-block p {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 17px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.92);
            text-align: center;
            margin-bottom: 14px;
            letter-spacing: 0.3px;
            position: relative;
            z-index: 1;
        }

        .welcome-block p:last-of-type {
            margin-bottom: 0;
        }

        .welcome-block .highlight {
            color: #f5cba0;
            font-weight: 500;
        }

        .contact-email {
            text-align: center;
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 25px;
            padding: 10px 0 5px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            letter-spacing: 0.5px;
        }
        .contact-email a {
            color: #f5cba0;
            text-decoration: none;
            font-weight: 400;
            transition: color 0.3s ease;
        }
        .contact-email a:hover {
            color: #fff;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .welcome-block {
                padding: 28px 20px;
                margin: 20px 15px;
                border-radius: 16px;
            }
            .welcome-block h1 {
                font-size: 24px;
            }
            .welcome-block h2 {
                font-size: 19px;
            }
            .welcome-block p {
                font-size: 15px;
                line-height: 1.7;
            }
            .welcome-block .welcome-icon {
                font-size: 34px;
            }
            .contact-email {
                font-size: 14px;
                margin-top: 20px;
            }
        }

        @media (max-width: 480px) {
            .welcome-block {
                padding: 22px 16px;
                margin: 16px 10px;
            }
            .welcome-block h1 {
                font-size: 20px;
            }
            .welcome-block h2 {
                font-size: 17px;
            }
            .welcome-block p {
                font-size: 14px;
            }
            .contact-email {
                font-size: 13px;
                margin-top: 16px;
            }
        }

        /* ===== Меню сайта (в стиле исходника) ===== */
        .site-header {
            display: flex;
            justify-content: center;
            width: 100%;
            max-width: 820px;
            margin: 14px auto 0;
            padding: 0;
            position: relative;
            z-index: 1000;
        }

        .site-nav {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            width: 100%;
            max-width: 760px;
            background: rgba(255, 255, 255, 0.10);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 50px;
            padding: 7px 10px;
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
            transition: all 0.4s ease;
        }

        .site-nav.scrolled {
            background: rgba(255, 255, 255, 0.16);
            box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26);
        }

        .nav-menu {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            align-items: center;
            flex: 1;
        }

        .nav-menu li {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-menu li + li {
            border-left: 1px solid rgba(255, 255, 255, 0.18);
        }

        .nav-menu a {
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            font-size: 14px;
            letter-spacing: 0.3px;
            color: rgba(255, 255, 255, 0.85);
            text-decoration: none;
            padding: 9px 20px;
            border-radius: 40px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }

        .nav-menu a:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.14);
        }

        .nav-menu a.active {
            color: #f5cba0;
            background: rgba(245, 203, 160, 0.16);
        }

        .nav-toggle {
            display: none;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 40px;
            width: 44px;
            height: 40px;
            cursor: pointer;
            padding: 0;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 5px;
            transition: all 0.3s ease;
        }

        .nav-toggle:hover {
            background: rgba(255, 255, 255, 0.16);
        }

        .nav-toggle .nav-toggle-icon {
            display: block;
            width: 24px;
            height: 24px;
            fill: #fff;
            transition: all 0.3s ease;
        }

        .nav-toggle.open .nav-toggle-icon {
            transform: rotate(90deg);
        }

        /* ===== Секции «Котята» и «Пометы» ===== */
        .info-section {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 20px;
            padding: 40px 35px;
            margin: 30px auto 25px;
            max-width: 1150px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
            text-align: center;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        .info-section:hover {
            transform: translateY(-4px);
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
        }

        .info-section h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 28px;
            color: #fff;
            margin-bottom: 14px;
            letter-spacing: 1px;
        }

        .info-section h2::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #f5cba0, #d4a373);
            margin: 12px auto 0;
            border-radius: 4px;
        }

        .info-section .subtitle {
            color: #f5cba0;
            font-size: 16px;
            font-family: 'Poppins', sans-serif;
            font-weight: 400;
            margin-bottom: 16px;
            letter-spacing: 0.5px;
        }

        .info-section p {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 16px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.92);
            margin-bottom: 14px;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 14px;
            margin-top: 22px;
        }

        .info-card {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 14px;
            padding: 18px 14px;
            transition: all 0.3s ease;
        }

        .info-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-3px);
        }

        .info-card .tag {
            font-size: 26px;
            color: #f5cba0;
            display: block;
            margin-bottom: 8px;
        }

        .info-card h3 {
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 17px;
            color: #fff;
            margin-bottom: 6px;
        }

        .info-card p {
            font-size: 14px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.8);
            margin: 0;
        }

        .info-card a {
            color: #f5cba0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .info-card a:hover {
            color: #fff;
            text-decoration: underline;
        }

        .info-link {
            display: block;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 14px;
            padding: 18px 14px;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .info-link:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-3px);
            border-color: rgba(245, 203, 160, 0.4);
        }

        .info-link .tag {
            font-size: 26px;
            color: #f5cba0;
            display: block;
            margin-bottom: 8px;
        }

        .info-link h3 {
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 17px;
            color: #fff;
            margin-bottom: 6px;
        }

        .info-link p {
            font-size: 14px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.8);
            margin: 0;
        }

        .info-link .badge-status {
            margin-top: 10px;
        }

        .badge-status {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            background: rgba(245, 203, 160, 0.2);
            border: 1px solid #f5cba0;
            color: #f5cba0;
            margin-top: 10px;
            letter-spacing: 0.5px;
        }

        /* ===== Заголовок h1 для секций ===== */
        .info-section h1 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 30px;
            color: #fff;
            margin-bottom: 14px;
            letter-spacing: 1px;
        }

        .info-section h1::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #f5cba0, #d4a373);
            margin: 12px auto 0;
            border-radius: 4px;
        }

        @media (max-width: 768px) {
            .info-section {
                padding: 26px 18px;
                border-radius: 16px;
                margin: 20px 15px;
            }
            .info-section h1 {
                font-size: 24px;
            }
            .info-section h2 {
                font-size: 22px;
            }
            .info-section p {
                font-size: 15px;
            }
        }

        @media (max-width: 480px) {
            .info-section {
                padding: 22px 16px;
                margin: 16px 10px;
            }
        }

        /* ===== Переключатель языка (в подвале) ===== */
        .lang-switch {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 0;
        }

        .lang-switch.footer-lang {
            margin-bottom: 22px;
        }

        .lang-switch button {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 3px 6px;
            border-radius: 7px;
            cursor: pointer;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .lang-switch button svg {
            height: 16px;
            width: auto;
            border-radius: 2px;
            display: block;
            filter: grayscale(25%);
            transition: filter 0.3s ease;
        }

        .lang-switch button:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 215, 150, 0.5);
        }

        .lang-switch button:hover svg,
        .lang-switch button.active svg {
            filter: grayscale(0%);
        }

        .lang-switch button.active {
            background: rgba(245, 203, 160, 0.2);
            border-color: #f5cba0;
        }

        @media (max-width: 768px) {
            .site-header {
                justify-content: center;
                padding: 0;
            }

            .logo img {
                max-width: 100%;
                height: auto;
                transition: none;
            }

            .site-nav {
                width: 100%;
                max-width: 760px;
                flex: none;
                background: rgba(255, 255, 255, 0.10);
                backdrop-filter: blur(14px);
                -webkit-backdrop-filter: blur(14px);
                border: 1px solid rgba(255, 255, 255, 0.18);
                border-radius: 50px;
                padding: 6px 8px;
                box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
            }

            .nav-toggle {
                display: none;
            }

            .nav-menu {
                display: flex;
                flex-direction: row;
                align-items: center;
                flex: 1;
                position: static;
                background: none;
                border: none;
                border-radius: 0;
                padding: 0;
                box-shadow: none;
                gap: 0;
                transform: none;
                min-width: 0;
            }

            .nav-menu li {
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .nav-menu li + li {
                border-left: 1px solid rgba(255, 255, 255, 0.18);
                margin-left: 0;
                padding-left: 0;
            }

            .nav-menu a {
                text-align: center;
                padding: 8px 12px;
                font-size: 13px;
                white-space: nowrap;
            }
        }

        @media (max-width: 480px) {
            .site-nav {
                margin: 0;
                width: 100%;
                max-width: 100%;
                padding: 5px 6px;
            }

            .nav-menu a {
                padding: 7px 4px;
                font-size: 12px;
                letter-spacing: 0;
            }
        }

        /* ===== Объявления из Telegram ===== */
        #announcements {
            border: 1px solid rgba(245, 203, 160, 0.45);
            background:
                radial-gradient(120% 140% at 50% 0%, rgba(245, 203, 160, 0.10) 0%, rgba(255, 255, 255, 0.05) 50%),
                rgba(0, 0, 0, 0.20);
            box-shadow: 0 0 40px rgba(245, 203, 160, 0.12), 0 22px 50px rgba(0, 0, 0, 0.28);
        }

        #announcements h2 {
            color: #f5cba0;
        }

        .announcement-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-top: 22px;
            text-align: left;
        }

        .announcement-card {
            position: relative;
            background: rgba(255, 255, 255, 0.10);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-left: 3px solid #f5cba0;
            border-radius: 14px;
            padding: 14px 16px;
            transition: all 0.3s ease;
            text-align: left;
        }

        .announcement-card:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(245, 203, 160, 0.4);
        }

        .announcement-title {
            font-size: 19px;
            font-weight: 700;
            line-height: 1.3;
            color: #fff;
            margin: 8px 0 0;
        }

        .announcement-text {
            font-size: 15px;
            line-height: 1.65;
            color: rgba(255, 255, 255, 0.88);
            margin-top: 10px;
            white-space: pre-line;
            overflow-wrap: break-word;
        }

        .announcement-text:empty {
            display: none;
        }

        .announcement-date {
            font-size: 12px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: #f5cba0;
            font-weight: 500;
        }

        .announcement-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 6px;
        }

        .ann-tag {
            font-size: 11px;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 500;
            padding: 3px 10px;
            border-radius: 30px;
        }

        .ann-tag.avito {
            color: #6fd3ff;
            border: 1px solid rgba(111, 211, 255, 0.5);
        }

        .announcement-price {
            margin-top: 10px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 20px;
            color: #f5cba0;
        }

        .announcement-photo {
            width: 100%;
            max-height: 220px;
            object-fit: cover;
            border-radius: 10px;
            margin-top: 10px;
            display: block;
        }

        .announcement-link {
            display: inline-block;
            margin-top: 10px;
            font-size: 13px;
            color: #f5cba0;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .announcement-link:hover {
            color: #fff;
            text-decoration: underline;
        }

        .ann-status {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 15px;
            color: rgba(255, 255, 255, 0.85);
            margin-top: 18px;
        }

        /* ===== Форма обратной связи ===== */
        .contact-form-box {
            margin-top: 34px;
            padding: 26px 28px;
            background: rgba(0, 0, 0, 0.22);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 20px;
            text-align: left;
        }

        .contact-form-box h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 24px;
            color: #f5cba0;
            margin-bottom: 8px;
            text-align: center;
            letter-spacing: 1px;
        }

        .form-note {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
            text-align: center;
            margin-bottom: 20px;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .form-field {
            display: block;
            margin-bottom: 16px;
        }

        .form-field--full {
            grid-column: 1 / -1;
        }

        .form-label {
            display: block;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 7px;
        }

        .form-field input,
        .form-field textarea {
            width: 100%;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 15px;
            color: #fff;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 12px;
            padding: 12px 14px;
            outline: none;
            transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        }

        .form-field input:focus,
        .form-field textarea:focus {
            border-color: rgba(245, 203, 160, 0.7);
            background: rgba(255, 255, 255, 0.11);
            box-shadow: 0 0 0 3px rgba(245, 203, 160, 0.15);
        }

        .form-field textarea {
            resize: vertical;
            min-height: 120px;
            line-height: 1.6;
        }

        .form-field.is-invalid input,
        .form-field.is-invalid textarea {
            border-color: rgba(255, 120, 120, 0.8);
            box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.18);
        }

        .hp-field {
            position: absolute;
            left: -9999px;
            width: 1px;
            height: 1px;
            opacity: 0;
        }

        .turnstile-wrap {
            display: flex;
            justify-content: center;
            margin: 6px 0 16px;
        }

        .form-actions {
            display: flex;
            justify-content: center;
            margin-top: 6px;
        }

        .form-btn {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 15px;
            letter-spacing: 1px;
            color: #1a2e26;
            background: linear-gradient(90deg, #f5cba0, #d4a373);
            border: none;
            border-radius: 40px;
            padding: 13px 34px;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
        }

        .form-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(245, 203, 160, 0.35);
        }

        .form-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .form-btn.is-loading {
            opacity: 0.6;
            pointer-events: none;
        }

        .form-status {
            display: none;
            text-align: center;
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 14px;
            margin-top: 16px;
            color: #7dd87d;
        }

        .form-status--ok {
            color: #7dd87d;
        }

        .form-status--error {
            color: #ff8888;
        }

        @media (max-width: 640px) {
            .form-grid {
                grid-template-columns: 1fr;
            }

            .contact-form-box {
                padding: 20px 16px;
            }
        }

        /* ===== Генеалогическое древо ===== */
        .pedigree-wrap {
            margin-top: 36px;
            text-align: center;
        }

        .pedigree-wrap h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 26px;
            color: #f5cba0;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .tree {
            width: 100%;
            padding: 14px 6px 10px;
        }

        .t-level {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            align-items: start;
            position: relative;
        }

        .t-cell {
            justify-self: center;
        }

        .t-cell--left {
            grid-column: 3 / 5;
        }

        .t-cell--right {
            grid-column: 9 / 11;
        }

        .t-cell--center {
            grid-column: 4 / 10;
        }

        .t-conn {
            position: relative;
            height: 64px;
        }

        .c-stub {
            position: absolute;
            top: 0;
            width: 2px;
            height: 18px;
            background: rgba(245, 203, 160, 0.55);
        }

        .c-stub--l {
            left: 25%;
        }

        .c-stub--r {
            left: 75%;
        }

        .c-bar {
            position: absolute;
            top: 18px;
            left: 25%;
            right: 25%;
            height: 2px;
            background: rgba(245, 203, 160, 0.55);
        }

        .c-v {
            position: absolute;
            top: 20px;
            bottom: 0;
            left: 50%;
            width: 2px;
            background: rgba(245, 203, 160, 0.55);
        }

        /* Узел дерева */
        .ped-node {
            display: inline-block;
            text-align: center;
            position: relative;
        }

        .ped-crown {
            position: absolute;
            top: -27px;
            left: 50%;
            transform: translateX(-50%);
            width: 48px;
            height: auto;
            z-index: 2;
            pointer-events: none;
            filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
        }

        .ped-square {
            width: 120px;
            height: 120px;
            margin: 0 auto 10px;
            border: 2px dashed rgba(255, 255, 255, 0.45);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            color: rgba(255, 255, 255, 0.45);
            position: relative;
            transition: all 0.3s ease;
        }

        .ped-square:has(.ped-photo) {
            border-style: solid;
            border-color: rgba(255, 255, 255, 0.35);
            background: rgba(255, 255, 255, 0.06);
        }

        .ped-square:has(.ped-photo)::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.06) 45%, rgba(0, 0, 0, 0.10) 100%);
            box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
            pointer-events: none;
        }

        .ped-node.male .ped-square {
            border-color: rgba(111, 211, 255, 0.55);
            color: rgba(111, 211, 255, 0.6);
        }

        .ped-node.female .ped-square {
            border-color: rgba(255, 168, 205, 0.6);
            color: rgba(255, 168, 205, 0.75);
        }

        .ped-square:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.09);
        }

        .ped-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: inherit;
            filter: brightness(0.82) saturate(0.95) contrast(1.05);
            transition: filter 0.3s ease;
        }

        .ped-square:hover .ped-photo {
            filter: brightness(0.92) saturate(1) contrast(1.05);
        }

        .ped-node:has(.ped-square img) .ped-sub {
            display: none;
        }

        .ped-name {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 14px;
            color: #fff;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .ped-cat-name {
            color: #f5cba0;
        }

        .ped-sex {
            opacity: 0.7;
        }

        .ped-sub {
            font-family: 'Poppins', sans-serif;
            font-weight: 300;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.55);
            margin-top: 2px;
            white-space: nowrap;
        }

        /* Корень дерева — ожидаемый помёт */
        .ped-litter-node {
            background: rgba(245, 203, 160, 0.08);
            border: 1px solid rgba(245, 203, 160, 0.4);
            border-radius: 18px;
            padding: 16px 20px 14px;
        }

        .ped-litter-label {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 15px;
            color: #f5cba0;
            margin-bottom: 14px;
        }

        .ped-kittens {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .ped-square--small {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            font-size: 18px;
        }

        @media (max-width: 640px) {
            .ped-square {
                width: 100px;
                height: 100px;
                font-size: 22px;
            }

            .ped-square--small {
                width: 62px;
                height: 62px;
                font-size: 16px;
            }
        }

        /* ===== Единая ширина секций на всех страницах ===== */
        .comming-soon .container-fluid {
            flex: 0 0 100%;
            width: 100%;
        }

        /* Логотип в шапке: не растягиваться по вертикали на маленьких экранах
           и не занимать пол-экрана на больших */
        .logo img {
            max-width: min(700px, 100%);
            height: auto;
        }

        /* Текст должен свободно выделяться мышью, поэтому pointer-events
           нигде не блокируется: клики по частицам работают на свободных
           участках фона, а не поверх контента. */
        /* ===== Плавные переходы между страницами ===== */
        #page-transition {
            position: fixed;
            inset: 0;
            z-index: 10000;
            background: linear-gradient(135deg, #3dac86 0%, #337aee 100%);
            background: -webkit-linear-gradient(135deg, #3dac86, #337aee);
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.45s ease;
        }

        #page-transition.pagein {
            animation: pageFadeIn 0.6s ease forwards;
        }

        #page-transition.active {
            opacity: 1;
            transition: opacity 0.45s ease;
        }

        @keyframes pageFadeIn {
            from {
                opacity: 1;
            }
            to {
                opacity: 0;
            }
        }

        /* ===== Смена страниц без перезагрузки =====
           При переходе меняется только центральный блок между <header> и <footer>.
           Шапка (логотип, меню) и подвал (языки, контакты) остаются на месте
           и не участвуют в анимации.

           Гаснет только СОДЕРЖИМОЕ карточки, а не сама карточка.
           Раньше гасла карточка целиком, вместе со своим стеклянным фоном и
           blur, и на ~600 мс летающие лапки становились резкими и полностью
           видимыми — это воспринималось как «загрузка частиц» при переходе. */
        .coming-soon-box > *:not(header):not(footer) > * {
            transition: opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .coming-soon-box.pjax-fade > *:not(header):not(footer) > * {
            opacity: 0;
            will-change: opacity;
        }
        .coming-soon-box.pjax-in > *:not(header):not(footer) > * {
            transition: opacity 0.32s cubic-bezier(0, 0, 0.2, 1);
            will-change: opacity;
        }

        @media (prefers-reduced-motion: reduce) {

            .coming-soon-box > *:not(header):not(footer) > * {
                transition: none;
            }
        }