/* Page-specific styles for `o-nas.html`
   Extracted from inline <style> (moved out of <body>) to avoid late style recalculation jank. */
/* Скрываем псевдоэлементы, которые могут создавать дополнительные градиенты */
        .about::before,
        .about::after,
        .page-header::before,
        .page-header::after {
            display: none !important;
            content: none !important;
            background: none !important;
            background-image: none !important;
            opacity: 0 !important;
        }

        .page-header {
            padding: 80px 20px 40px;
            background: linear-gradient(to bottom, rgba(42, 42, 42, 0.95), rgba(47, 47, 47, 0.9));
            text-align: center;
            margin-bottom: 0;
        }

        .page-title {
            font-size: clamp(36px, 5vw, 64px);
            font-weight: 800;
            color: var(--secondary-color);
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
            text-shadow: 0 2px 15px rgba(212, 175, 55, 0.15);
            animation: titleGlow 4s ease-in-out infinite;
        }

        .page-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
            box-shadow: 0 0 8px rgba(212, 175, 55, 0.3), 0 0 15px rgba(212, 175, 55, 0.15);
            animation: underlineGlow 4s ease-in-out infinite;
        }

        @keyframes titleGlow {
            0%, 100% {
                text-shadow: 0 2px 15px rgba(212, 175, 55, 0.15);
            }
            50% {
                text-shadow: 0 2px 20px rgba(212, 175, 55, 0.25), 0 0 25px rgba(212, 175, 55, 0.1);
            }
        }

        @keyframes underlineGlow {
            0%, 100% {
                box-shadow: 0 0 8px rgba(212, 175, 55, 0.3), 0 0 15px rgba(212, 175, 55, 0.15);
                opacity: 1;
            }
            50% {
                box-shadow: 0 0 12px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.25);
                opacity: 0.95;
            }
        }

        /* Triangle Choice Section */
        .triangle-choice-section {
            margin: 80px 0;
            padding: 60px 20px;
            background: var(--section-bg);
            border-radius: 20px;
            border: 2px solid rgba(212, 175, 55, 0.2);
        }

        .triangle-container {
            display: -webkit-box;
            display: -webkit-flex;
            display: -moz-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -moz-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -moz-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            gap: 40px;
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .triangle-choice {
            -webkit-box-flex: 0;
            -webkit-flex: 0 0 auto;
            -moz-box-flex: 0;
            -ms-flex: 0 0 auto;
            flex: 0 0 auto;
            width: 180px;
            height: 180px;
            background: var(--primary-color);
            border: 3px solid rgba(212, 175, 55, 0.3);
            border-radius: 20px;
            display: -webkit-box;
            display: -webkit-flex;
            display: -moz-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -webkit-flex-direction: column;
            -moz-box-orient: vertical;
            -moz-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -moz-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -moz-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            cursor: pointer;
            -webkit-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            -moz-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            -o-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
            overflow: hidden;
        }

        .triangle-choice:hover {
            -webkit-transform: translateY(-8px) scale(1.05);
            -moz-transform: translateY(-8px) scale(1.05);
            -ms-transform: translateY(-8px) scale(1.05);
            -o-transform: translateY(-8px) scale(1.05);
            transform: translateY(-8px) scale(1.05);
            border-color: rgba(212, 175, 55, 0.6);
            -webkit-box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
            -moz-box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
            box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
        }

        .triangle-container .triangle-choice {
            -webkit-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            -moz-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            -o-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .triangle-choice.selected {
            background: rgba(212, 175, 55, 0.15);
            border-color: var(--accent-color);
            border-width: 3px;
            -webkit-box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.1);
            -moz-box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.1);
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.1);
            -webkit-transform: scale(1.1);
            -moz-transform: scale(1.1);
            -ms-transform: scale(1.1);
            -o-transform: scale(1.1);
            transform: scale(1.1);
        }

        .triangle-choice-all-selected {
            background: rgba(212, 175, 55, 0.15) !important;
            border-color: var(--accent-color) !important;
            border-width: 3px !important;
            -webkit-box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.1) !important;
            -moz-box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.1) !important;
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.1) !important;
            -webkit-transform: scale(1.1) !important;
            -moz-transform: scale(1.1) !important;
            -ms-transform: scale(1.1) !important;
            -o-transform: scale(1.1) !important;
            transform: scale(1.1) !important;
            pointer-events: none;
            cursor: default;
        }

        .triangle-choice-all-selected .choice-icon {
            -webkit-transform: scale(1.2) rotate(5deg) !important;
            -moz-transform: scale(1.2) rotate(5deg) !important;
            -ms-transform: scale(1.2) rotate(5deg) !important;
            -o-transform: scale(1.2) rotate(5deg) !important;
            transform: scale(1.2) rotate(5deg) !important;
        }

        .triangle-choice-all-selected .choice-check {
            opacity: 1 !important;
            -webkit-transform: scale(1) !important;
            -moz-transform: scale(1) !important;
            -ms-transform: scale(1) !important;
            -o-transform: scale(1) !important;
            transform: scale(1) !important;
        }

        .choice-icon {
            font-size: 64px;
            margin-bottom: 15px;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

        .triangle-choice.selected .choice-icon {
            -webkit-transform: scale(1.2) rotate(5deg);
            -moz-transform: scale(1.2) rotate(5deg);
            -ms-transform: scale(1.2) rotate(5deg);
            -o-transform: scale(1.2) rotate(5deg);
            transform: scale(1.2) rotate(5deg);
        }

        .choice-label {
            font-size: 20px;
            font-weight: 700;
            color: var(--secondary-color);
            text-align: center;
        }

        .choice-check {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            background: var(--accent-color);
            color: var(--primary-color);
            border-radius: 50%;
            display: -webkit-box;
            display: -webkit-flex;
            display: -moz-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -moz-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -moz-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            font-size: 18px;
            font-weight: 900;
            opacity: 0;
            -webkit-transform: scale(0);
            -moz-transform: scale(0);
            -ms-transform: scale(0);
            -o-transform: scale(0);
            transform: scale(0);
            -webkit-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            -moz-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            -o-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .triangle-choice.selected .choice-check {
            opacity: 1;
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -ms-transform: scale(1);
            -o-transform: scale(1);
            transform: scale(1);
        }

        .nie-highlight {
            font-size: 1.3em;
            color: var(--accent-color);
            font-weight: 900;
            text-shadow: 0 2px 15px rgba(212, 175, 55, 0.5);
            -webkit-text-shadow: 0 2px 15px rgba(212, 175, 55, 0.5);
        }

        .triangle-xbit-text {
            text-align: center;
            margin-top: 50px;
            margin-bottom: 30px;
            font-size: clamp(18px, 2.5vw, 22px);
            font-weight: 700;
            color: var(--accent-color);
            text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
            -webkit-text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
        }

        .triangle-result {
            margin-top: 60px;
            padding: 50px 40px;
            background: rgba(212, 175, 55, 0.1);
            border: 2px solid var(--accent-color);
            border-radius: 20px;
            text-align: center;
        }

        .result-title {
            font-size: clamp(28px, 4vw, 40px);
            font-weight: 800;
            color: var(--accent-color);
            margin-bottom: 20px;
        }

        .result-text {
            font-size: clamp(16px, 2vw, 20px);
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 30px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .result-badges {
            display: -webkit-box;
            display: -webkit-flex;
            display: -moz-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -moz-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            gap: 20px;
        }

        .result-badge {
            padding: 12px 24px;
            background: var(--accent-color);
            color: var(--primary-color);
            border-radius: 30px;
            font-weight: 700;
            font-size: 16px;
            -webkit-box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
            -moz-box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
        }

        .stats-section {
            margin: 80px 0;
        }

        .stats-grid {
            display: -ms-grid;
            display: grid;
            -ms-grid-columns: (minmax(200px, 1fr))[auto-fit];
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            -webkit-box-gap: 30px;
            -ms-grid-gap: 30px;
            gap: 30px;
            margin-top: 40px;
        }

        .stat-card {
            background: var(--section-bg);
            border: 2px solid rgba(212, 175, 55, 0.2);
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            border-radius: 12px;
            padding: 40px 30px;
            text-align: center;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            border-color: var(--accent-color);
            -webkit-box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
            -moz-box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
            box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
            -webkit-transform: translateY(-5px);
            -moz-transform: translateY(-5px);
            -ms-transform: translateY(-5px);
            -o-transform: translateY(-5px);
            transform: translateY(-5px);
        }

        .stat-number {
            font-size: 48px;
            font-weight: 800;
            color: var(--accent-color);
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 16px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        .values-grid {
            display: -ms-grid;
            display: grid;
            -ms-grid-columns: (minmax(250px, 1fr))[auto-fit];
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            -webkit-box-gap: 30px;
            -ms-grid-gap: 30px;
            gap: 30px;
            margin-top: 40px;
        }

        .value-card {
            background: var(--section-bg);
            border: 2px solid rgba(212, 175, 55, 0.2);
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            border-radius: 12px;
            padding: 30px;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

        .value-card.active-hover {
            border-color: var(--accent-color);
            -webkit-box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45);
            -moz-box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45);
            box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45);
            -webkit-transform: translateY(-5px);
            -moz-transform: translateY(-5px);
            -ms-transform: translateY(-5px);
            -o-transform: translateY(-5px);
            transform: translateY(-5px);
        }

        .value-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--secondary-color);
            margin-bottom: 15px;
        }

        .value-description {
            color: var(--text-secondary);
            line-height: 1.8;
            font-size: 16px;
        }

        .about-cta {
            margin-top: 80px;
            padding: 50px;
            background: var(--section-bg);
            border: 2px solid rgba(212, 175, 55, 0.3);
            -webkit-border-radius: 12px;
            -moz-border-radius: 12px;
            border-radius: 12px;
            text-align: center;
        }

        .about-cta-text {
            color: var(--text-secondary);
            font-size: 18px;
            line-height: 1.6;
        }

        .job-apply-btn {
            display: inline-block;
            background: -webkit-linear-gradient(135deg, var(--cta-primary) 0%, #1d4ed8 100%);
            background: -moz-linear-gradient(135deg, var(--cta-primary) 0%, #1d4ed8 100%);
            background: -o-linear-gradient(135deg, var(--cta-primary) 0%, #1d4ed8 100%);
            background: linear-gradient(135deg, var(--cta-primary) 0%, #1d4ed8 100%);
            color: var(--secondary-color);
            padding: 14px 32px;
            -webkit-border-radius: 8px;
            -moz-border-radius: 8px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

        .job-apply-btn:hover {
            -webkit-transform: translateY(-2px);
            -moz-transform: translateY(-2px);
            -ms-transform: translateY(-2px);
            -o-transform: translateY(-2px);
            transform: translateY(-2px);
            -webkit-box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
            -moz-box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
        }

        /* Mobile First - Responsive */
        @media (max-width: 768px) {
            .page-header {
                padding: 70px 15px 30px;
            }

            .page-title {
                font-size: clamp(32px, 8vw, 48px);
                margin-bottom: 20px;
            }

            .page-title::after {
                height: 2px;
                bottom: -10px;
            }

            .triangle-choice-section {
                padding: 40px 15px;
                margin: 60px 0;
            }

            .triangle-container,
            .triangle-all-selected {
                gap: 25px;
            }

            .triangle-choice {
                width: 140px;
                height: 140px;
            }

            .choice-icon {
                font-size: 48px;
                margin-bottom: 10px;
            }

            .choice-label {
                font-size: 16px;
            }

            .triangle-xbit-text {
                font-size: clamp(16px, 4vw, 20px);
                margin-top: 40px;
                margin-bottom: 25px;
            }

            .triangle-result {
                padding: 30px 20px;
                margin-top: 40px;
            }

            .result-title {
                font-size: clamp(24px, 6vw, 32px);
            }

            .result-text {
                font-size: clamp(15px, 3vw, 18px);
            }

            .result-badges {
                gap: 15px;
            }

            .result-badge {
                padding: 10px 20px;
                font-size: 14px;
            }

            .stats-grid,
            .values-grid {
                -ms-grid-columns: 1fr;
                grid-template-columns: 1fr;
            }

            .about-cta {
                padding: 30px 20px;
                margin-top: 60px;
            }
        }

        @media (max-width: 480px) {
            .triangle-choice {
                width: 120px;
                height: 120px;
            }

            .choice-icon {
                font-size: 40px;
            }

            .choice-label {
                font-size: 14px;
            }

            .triangle-container,
            .triangle-all-selected {
                gap: 20px;
            }

            .triangle-xbit-text {
                font-size: clamp(14px, 3.5vw, 18px);
                margin-top: 30px;
                margin-bottom: 20px;
            }
        }

        /* Touch device optimizations */
        @media (hover: none) and (pointer: coarse) {
            .triangle-choice {
                min-width: 140px;
                min-height: 140px;
            }
        }
