/* MRG theme — Mtav = BPG Nino Mtavruli (same as legacy main menu) */
@font-face {
    font-family: "Mtav";
    src: url("../fonts/bpg_nino_mtavruli_normal_1.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}

@font-face {
    font-family: "Mtav";
    src: url("../fonts/bpg_nino_mtavruli_bold_0.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}

:root {
            --indigo-950: #1e1b4b;
            --indigo-900: #312e81;
            --indigo-800: #3730a3;
            --indigo-700: #4338ca;
            --indigo-600: #4f46e5;
            --indigo-500: #6366f1;
            --indigo-400: #818cf8;
            --indigo-300: #a5b4fc;
            --indigo-100: #e0e7ff;
            --indigo-50: #eef2ff;
            --white: #ffffff;
            --text-muted: rgba(255, 255, 255, 0.78);
            --gold-300: #fcd34d;
            --gold-400: #fbbf24;
            --gold-500: #f59e0b;
            --gold-600: #d97706;
            --gold-bg: rgba(251, 191, 36, 0.18);
            --gold-bg-strong: rgba(251, 191, 36, 0.28);
            --gold-border: rgba(251, 191, 36, 0.65);
            --gold-glow: rgba(251, 191, 36, 0.35);
            --gold-shadow: 0 8px 28px rgba(251, 191, 36, 0.28);
            --shadow: 0 24px 60px rgba(30, 27, 75, 0.28);
            --radius: 14px;
            --header-h: 64px;
            --font-georgian: "Mtav", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
            --font-ui: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        html {
            scroll-behavior: smooth;
            font-size: 15px;
        }

        body {
            font-family: var(--font-georgian);
            font-size: 0.933rem;
            color: #1f2937;
            background: var(--white);
            line-height: 1.55;
            overflow-x: hidden;
        }

        a { color: inherit; text-decoration: none; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }

        .container {
            width: min(1180px, 92%);
            margin: 0 auto;
        }

        /* —— Header —— */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--header-h);
            background: rgba(30, 27, 75, 0.92);
            border-bottom: 1px solid rgba(165, 180, 252, 0.15);
            transition: box-shadow 0.3s ease;
        }

        .site-header::before {
            content: "";
            position: absolute;
            inset: 0;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            pointer-events: none;
            z-index: -1;
        }

        .site-header.scrolled {
            box-shadow: 0 8px 32px rgba(30, 27, 75, 0.35);
        }

        main:not(:has(> .hero)) {
            padding-top: 50px;
        }

        .header-inner {
            height: var(--header-h);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            color: var(--white);
        }

        .logo-img {
            display: block;
            height: 32px;
            width: auto;
            max-width: 150px;
            object-fit: contain;
        }

        .logo-img--footer {
            height: 36px;
            margin-bottom: 0.75rem;
        }

        .nav-main {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .nav-main > li { position: relative; }

        .nav-main > li > a,
        .nav-dropdown-toggle {
            display: block;
            padding: 0.45rem 0.75rem;
            font-size: 0.84rem;
            font-weight: 500;
            color: var(--text-muted);
            border-radius: 8px;
            transition: color 0.2s, background 0.2s;
            cursor: pointer;
            border: none;
            background: none;
            font-family: inherit;
        }

        .nav-dropdown-toggle i {
            font-size: 1rem;
            vertical-align: middle;
            margin-left: 0.15rem;
            transition: transform 0.25s ease;
        }

        .nav-main > li > a:hover,
        .nav-dropdown-toggle:hover {
            color: var(--white);
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.55) 0%, rgba(99, 102, 241, 0.45) 45%, rgba(129, 140, 248, 0.35) 100%);
            box-shadow: 0 4px 18px rgba(99, 102, 241, 0.3);
        }

        .nav-main > li > a.active {
            color: var(--indigo-100);
            background: linear-gradient(135deg, var(--indigo-700) 0%, var(--indigo-600) 50%, var(--indigo-500) 100%);
            box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
        }

        .nav-dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            min-width: 260px;
            padding: 0.5rem;
            background: var(--indigo-950);
            border: 1px solid rgba(165, 180, 252, 0.2);
            border-radius: 12px;
            box-shadow: var(--shadow);
            opacity: 0;
            visibility: hidden;
            transform: translateY(8px);
            transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
        }

        .nav-dropdown:hover .nav-dropdown-menu,
        .nav-dropdown:focus-within .nav-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .nav-dropdown-menu a {
            display: block;
            padding: 0.5rem 0.75rem;
            font-size: 0.8rem;
            color: var(--text-muted);
            border-radius: 8px;
        }

        .nav-dropdown-menu a:hover {
            color: var(--white);
            background: linear-gradient(135deg, rgba(67, 56, 202, 0.65) 0%, rgba(99, 102, 241, 0.5) 100%);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .lang-switch {
            display: flex;
            align-items: center;
            gap: 0.15rem;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.04em;
        }

        .lang-switch__item {
            padding: 0.35rem 0.45rem;
            color: var(--text-muted);
            border-radius: 6px;
            opacity: 0.75;
            transition: color 0.2s, background 0.2s, opacity 0.2s;
        }

        .lang-switch__item:hover {
            color: var(--indigo-100);
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.45), rgba(129, 140, 248, 0.3));
            opacity: 1;
        }

        .lang-switch__item.is-current {
            font-weight: 700;
            opacity: 1;
            color: var(--indigo-200, var(--indigo-100));
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(129, 140, 248, 0.25));
        }

        .btn-email {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.45rem 0.9rem;
            font-size: 0.78rem;
            font-weight: 600;
            color: var(--white);
            background: linear-gradient(135deg, var(--indigo-600), var(--indigo-500));
            border-radius: 999px;
            box-shadow: 0 4px 20px rgba(79, 70, 229, 0.45);
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-email:hover {
            transform: translateY(-2px);
            background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
            box-shadow: var(--gold-shadow);
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            padding: 8px;
            background: none;
            border: none;
            cursor: pointer;
        }

        .menu-toggle span {
            width: 24px;
            height: 2px;
            background: var(--white);
            border-radius: 2px;
            transition: transform 0.3s, opacity 0.3s;
        }

        /* —— Hero —— */
        .hero {
            position: relative;
            z-index: 0;
            width: 100%;
            max-width: 100vw;
            min-height: 66vh;
            display: flex;
            align-items: flex-start;
            padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
            background: linear-gradient(145deg, var(--indigo-950) 0%, var(--indigo-900) 35%, var(--indigo-800) 70%, var(--indigo-700) 100%);
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 60% at 10% 20%, rgba(129, 140, 248, 0.35), transparent 50%),
                radial-gradient(ellipse 60% 50% at 90% 80%, rgba(99, 102, 241, 0.3), transparent 45%),
                radial-gradient(circle at 50% 50%, rgba(67, 56, 202, 0.15), transparent 70%);
            pointer-events: none;
        }

        .hero-grid {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: none;
            padding: 0 clamp(1rem, 4vw, 3rem);
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: clamp(1.25rem, 3vw, 2.5rem);
            align-items: start;
        }

        .hero-visual {
            position: relative;
            order: -1;
            min-width: 0;
            max-width: 100%;
            min-height: 420px;
            display: flex;
            flex-direction: column;
        }

        .hero-content {
            position: relative;
            min-width: 0;
            max-width: 100%;
            padding-right: 20px;
        }

        .hero-badge {
            display: inline-block;
            padding: 0.3rem 0.75rem;
            margin-bottom: 1rem;
            font-size: 0.68rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--indigo-100);
            background: rgba(99, 102, 241, 0.25);
            border: 1px solid rgba(165, 180, 252, 0.35);
            border-radius: 999px;
        }

        .hero h1 {
            font-size: clamp(1.65rem, 3.2vw, 2.35rem);
            font-weight: 700;
            line-height: 1.2;
            color: var(--white);
            margin-bottom: 0.85rem;
        }

        .hero h1 .gradient-text {
            background: linear-gradient(90deg, var(--indigo-300), var(--indigo-400), #c7d2fe);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-lead {
            font-size: 1.05rem;
            line-height: 1.65;
            color: var(--text-muted);
            max-width: 100%;
            margin-bottom: 0;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .hero-slide-title {
            font-size: clamp(1.15rem, 2vw, 1.45rem);
            font-weight: 700;
            line-height: 1.35;
            color: var(--white);
            margin: 0 0 1rem;
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .hero-slide-title a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s;
        }

        .hero-slide-title a:hover {
            color: var(--gold-300);
        }

        .hero-cta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1.25rem;
            margin-top: 140px;
        }

        .btn-email i,
        .btn-primary i,
        .btn-outline i {
            font-size: 1.05rem;
            flex-shrink: 0;
        }

        .btn-primary,
        .btn-outline,
        .btn-email {
            gap: 0.5rem;
            white-space: nowrap;
        }

        .hero-photo {
            border-radius: 12px;
            margin-bottom: 0;
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            padding: 0.65rem 1.25rem;
            font-size: 0.84rem;
            font-weight: 600;
            color: var(--indigo-950);
            background: linear-gradient(135deg, var(--indigo-100), var(--white));
            border: 1px solid transparent;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            color: var(--indigo-950);
            border-color: var(--gold-border);
            box-shadow: var(--gold-shadow);
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            padding: 0.65rem 1.25rem;
            font-size: 0.84rem;
            font-weight: 600;
            color: var(--white);
            border: 2px solid rgba(165, 180, 252, 0.5);
            border-radius: 12px;
            transition: background 0.2s, border-color 0.2s;
        }

        .btn-outline:hover {
            color: var(--gold-300);
            background: var(--gold-bg);
            border-color: var(--gold-border);
        }

        .hero-text-slider {
            position: relative;
            display: grid;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            margin-bottom: 0;
        }

        .hero-text-slide {
            grid-area: 1 / 1;
            width: 100%;
            max-width: 100%;
            min-width: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(6px);
            transition:
                opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.15s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1.15s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
        }

        .hero-text-slide.is-active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            z-index: 2;
            pointer-events: auto;
        }

        .hero-card {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(165, 180, 252, 0.25);
            border-radius: 24px;
            padding: 0.5rem;
            backdrop-filter: blur(12px);
            box-shadow: var(--shadow);
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

        .hero-slider {
            position: relative;
            flex: 1;
            min-height: 0;
            display: flex;
            flex-direction: column;
        }

        .hero-slider__track {
            position: relative;
            flex: 1;
            min-height: 380px;
            height: 100%;
        }

        .hero-slide {
            position: absolute;
            inset: 0;
            overflow: hidden;
            border-radius: 12px;
            opacity: 0;
            visibility: hidden;
            transform: scale(1.025);
            transition:
                opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.15s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1.15s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .hero-slide.is-active {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
            z-index: 1;
        }

        .hero-slider__btn {
            position: absolute;
            top: 45%;
            z-index: 3;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(165, 180, 252, 0.35);
            border-radius: 50%;
            background: rgba(30, 27, 75, 0.55);
            color: var(--white);
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
        }

        .hero-slider__btn:hover {
            background: var(--gold-bg-strong);
            border-color: var(--gold-border);
            color: var(--gold-300);
            transform: scale(1.05);
        }

        .hero-slider__btn--prev { left: 0.5rem; }
        .hero-slider__btn--next { right: 0.5rem; }

        .hero-slider__dots {
            display: flex;
            justify-content: center;
            gap: 0.45rem;
            margin-top: 1rem;
            position: relative;
            z-index: 3;
        }

        .hero-slider__dot {
            width: 9px;
            height: 9px;
            padding: 0;
            border: none;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.35);
            cursor: pointer;
            transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.6s ease;
        }

        .hero-slider__dot.is-active {
            width: 24px;
            background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
        }

        .hero-slider__dot:hover {
            background: var(--gold-400);
        }

        .stats-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
            margin-top: 2.5rem;
        }

        .stat-item {
            text-align: center;
            padding: 1rem 0.5rem;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 12px;
            border: 1px solid rgba(165, 180, 252, 0.15);
            cursor: default;
            transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
        }

        .stat-item:hover {
            background: linear-gradient(160deg, rgba(251, 191, 36, 0.22) 0%, rgba(245, 158, 11, 0.12) 100%);
            border-color: var(--gold-border);
            box-shadow: var(--gold-shadow);
            transform: translateY(-4px);
        }

        .stat-item strong {
            display: block;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--indigo-300);
            transition: color 0.3s;
        }

        .stat-item:hover strong {
            color: var(--gold-300);
        }

        .stat-item span {
            font-size: 0.72rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            transition: color 0.3s;
        }

        .stat-item:hover span {
            color: var(--gold-300);
        }

        /* —— Sections —— */
        section { padding: 3.75rem 0; }

        .section-title {
            font-size: clamp(1.35rem, 2.4vw, 1.75rem);
            font-weight: 700;
            color: var(--indigo-950);
            margin-bottom: 0.75rem;
            line-height: 1.25;
        }

        .section-desc {
            font-size: 0.9rem;
            color: #4b5563;
            max-width: 640px;
            margin-bottom: 2rem;
        }

        /* CSP block */
        .csp-section {
            background: linear-gradient(180deg, var(--indigo-50) 0%, var(--white) 100%);
        }

        .csp-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 3rem;
            align-items: center;
        }

        .csp-grid--single {
            grid-template-columns: 1fr;
        }

        .csp-visual {
            position: relative;
        }

        .about-photo {
            display: block;
            width: 100%;
            height: auto;
            border-radius: var(--radius);
            border: 1px solid var(--indigo-100);
            box-shadow: 0 16px 48px rgba(79, 70, 229, 0.12);
            object-fit: cover;
        }

        .csp-text,
        .csp-text p {
            font-size: 0.9rem;
            color: #4b5563;
            margin-bottom: 0.85rem;
        }

        .feature-cards {
            display: grid;
            gap: 1rem;
        }

        .contact-page .feature-cards {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1.25rem;
        }

        .contact-page .feature-card {
            flex-direction: column;
            align-items: flex-start;
            height: 100%;
            background-color: #e5e7eb;
            background-image: url('../../images/cb.png');
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
        }

        .contact-page .feature-card:hover {
            transform: translateY(-4px);
        }

        .contact-page .feature-card h3 {
            font-size: 1.15rem;
            color: #1D0035;
        }

        .contact-page .feature-card p {
            font-size: 1rem;
            line-height: 1.55;
            color: #1D0035;
        }

        .contact-page .feature-card a {
            color: #1D0035;
            transition: color 0.2s;
        }

        .contact-page .feature-card a:hover {
            color: var(--indigo-700);
        }

        .feature-card {
            display: flex;
            gap: 1rem;
            padding: 1.25rem 1.35rem;
            background: var(--white);
            border-radius: var(--radius);
            border: 1px solid var(--indigo-100);
            box-shadow: 0 4px 24px rgba(79, 70, 229, 0.08);
            transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
        }

        .feature-card:hover {
            transform: translateX(6px);
            border-color: var(--gold-border);
            box-shadow: var(--gold-shadow);
        }

        .feature-card:hover .feature-icon {
            background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
            color: var(--indigo-950);
        }

        .feature-icon {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            background: linear-gradient(135deg, var(--indigo-600), var(--indigo-500));
            color: var(--white);
            border-radius: 12px;
            transition: background 0.25s, color 0.25s;
        }

        .feature-card h3 {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--indigo-950);
            margin-bottom: 0.2rem;
        }

        .feature-card p {
            font-size: 0.82rem;
            color: #6b7280;
        }

        /* Services grid */
        .services-section {
            background: var(--indigo-950);
            color: var(--white);
        }

        .services-section .section-title { color: var(--white); }
        .services-section .section-desc { color: var(--text-muted); }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        #services .service-tile {
            position: relative;
            padding: 1.5rem 5rem 1.5rem 1.25rem;
            background: linear-gradient(160deg, rgba(99, 102, 241, 0.2) 0%, rgba(49, 46, 129, 0.6) 100%);
            border: 1px solid rgba(165, 180, 252, 0.2);
            border-radius: var(--radius);
            transition: transform 0.3s, border-color 0.3s;
            display: block;
            color: inherit;
            overflow: hidden;
        }

        #services .service-icon {
            position: absolute;
            top: 0.85rem;
            right: 0.85rem;
            width: 54px;
            height: 54px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.12);
            color: var(--indigo-300);
            font-size: 1.65rem;
            z-index: 2;
            transition: background 0.3s, color 0.3s;
        }

        .service-tile {
            padding: 1.5rem 1.25rem;
            background: linear-gradient(160deg, rgba(99, 102, 241, 0.2) 0%, rgba(49, 46, 129, 0.6) 100%);
            border: 1px solid rgba(165, 180, 252, 0.2);
            border-radius: var(--radius);
            transition: transform 0.3s, border-color 0.3s;
            display: block;
            color: inherit;
        }

        .service-icon {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.75rem;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.12);
            color: var(--indigo-300);
            font-size: 1.35rem;
            transition: background 0.3s, color 0.3s;
        }

        #services .service-tile:hover {
            transform: translateY(-8px);
            border-color: var(--gold-border);
            box-shadow: var(--gold-shadow);
        }

        #services .service-tile:hover .service-icon {
            background: var(--gold-bg-strong);
            color: var(--gold-300);
        }

        .service-tile:hover {
            transform: translateY(-8px);
            border-color: var(--gold-border);
            box-shadow: var(--gold-shadow);
        }

        .service-tile:hover .service-icon {
            background: var(--gold-bg-strong);
            color: var(--gold-300);
        }

        .service-tile:hover .num {
            background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .service-tile .num {
            font-size: 1.85rem;
            font-weight: 700;
            line-height: 1;
            background: linear-gradient(135deg, var(--indigo-300), var(--indigo-500));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 1rem;
            transition: background 0.3s;
        }

        .service-tile h3 {
            font-size: 0.95rem;
            margin-bottom: 0.4rem;
        }

        .service-tile p {
            font-size: 0.82rem;
            color: var(--text-muted);
        }

        /* Licensing cards */
        .licensing-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }

        .license-card {
            padding: 0;
            text-align: center;
            background: var(--white);
            border: 1px solid var(--indigo-100);
            border-radius: var(--radius);
            transition: all 0.3s;
            overflow: hidden;
        }

        .license-card:hover {
            border-color: var(--gold-border);
            box-shadow: var(--gold-shadow);
            transform: translateY(-6px);
        }

        .license-card:hover .icon {
            background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
            color: var(--indigo-950);
        }

        .license-card:hover h3 {
            color: var(--gold-600);
        }

        .license-card .icon {
            width: 100%;
            height: 200px;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            background: linear-gradient(135deg, var(--indigo-100), var(--indigo-50));
            border-radius: 0;
            color: var(--indigo-700);
            overflow: hidden;
            transition: background 0.3s, color 0.3s;
        }

        .license-card .icon .card-thumb {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .license-card .card-excerpt {
            margin-top: 0.5rem;
            padding: 0 1rem 1.25rem;
            font-size: 0.82rem;
            color: #6b7280;
        }

        .license-card h3 {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--indigo-950);
            transition: color 0.3s;
            padding: 1rem 1rem 0;
        }

        .section-action {
            margin-top: 2.5rem;
            text-align: center;
        }

        #portfolio .section-action .btn-outline {
            color: var(--indigo-800);
            border-color: rgba(67, 56, 202, 0.35);
            background: var(--white);
        }

        #portfolio .section-action .btn-outline:hover {
            color: var(--gold-600);
            background: var(--gold-bg);
            border-color: var(--gold-border);
        }

        #portfolio .license-card h3,
        .portfolio-page .license-card h3 {
            font-size: 1.25rem;
            line-height: 1.35;
            padding: 1.1rem 1rem 1.25rem;
        }

        /* CTA band */
        .cta-band {
            padding: 4rem 0;
            background: linear-gradient(135deg, var(--indigo-700) 0%, var(--indigo-600) 50%, var(--indigo-500) 100%);
            text-align: center;
        }

        .cta-band h2 {
            font-size: clamp(1.2rem, 2.4vw, 1.55rem);
            font-weight: 700;
            color: var(--white);
            margin-bottom: 0.6rem;
        }

        .cta-band p {
            font-size: 0.9rem;
            color: var(--indigo-100);
            margin-bottom: 1.35rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-band .btn-primary {
            color: var(--indigo-800);
        }

        .cta-band__action {
            margin-top: 2rem;
        }

        .news-carousel {
            position: relative;
            margin: 0 auto;
            text-align: left;
        }

        .news-carousel__viewport {
            overflow: hidden;
        }

        .news-carousel__track {
            display: flex;
            gap: 1rem;
            transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: transform;
        }

        .news-carousel__card {
            flex: 0 0 calc((100% - 3rem) / 4);
            min-width: 0;
        }

        .news-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(165, 180, 252, 0.25);
            border-radius: 16px;
            overflow: hidden;
            text-decoration: none;
            transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
        }

        .news-card:hover {
            transform: translateY(-4px);
            border-color: var(--gold-border);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
        }

        .news-card__media {
            aspect-ratio: 4 / 3;
            overflow: hidden;
            background: rgba(30, 27, 75, 0.35);
        }

        .news-card__media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .news-card__placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            font-size: 2rem;
            color: var(--indigo-100);
        }

        .news-card__body {
            padding: 1rem;
            flex: 1;
        }

        .news-card__body time {
            display: block;
            margin-bottom: 0.45rem;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.04em;
            color: var(--indigo-100);
        }

        .news-card__body h3 {
            margin: 0 0 0.55rem;
            font-size: 0.88rem;
            line-height: 1.4;
            color: var(--white);
        }

        .news-card__body p {
            margin: 0;
            font-size: 0.78rem;
            line-height: 1.55;
            color: var(--indigo-100);
        }

        .news-carousel__btn {
            position: absolute;
            top: 38%;
            z-index: 3;
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 50%;
            background: rgba(30, 27, 75, 0.45);
            color: var(--white);
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
        }

        .news-carousel__btn:disabled {
            opacity: 0.35;
            cursor: not-allowed;
            transform: none;
        }

        .news-carousel__btn:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.15);
            border-color: var(--gold-border);
            color: var(--gold-300);
            transform: scale(1.05);
        }

        .news-carousel__btn--prev { left: -0.75rem; }
        .news-carousel__btn--next { right: -0.75rem; }

        .news-carousel__dots {
            display: flex;
            justify-content: center;
            gap: 0.45rem;
            margin-top: 1.25rem;
            position: relative;
            z-index: 3;
        }

        .news-carousel__dot {
            width: 9px;
            height: 9px;
            padding: 0;
            border: none;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.35);
            cursor: pointer;
            transition: width 0.25s, background 0.25s;
        }

        .news-carousel__dot.is-active {
            width: 24px;
            background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
        }

        .news-carousel__dot:hover {
            background: var(--gold-400);
        }

        /* Footer */
        .site-footer {
            background: var(--indigo-950);
            color: var(--text-muted);
            padding: 4rem 0 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
            gap: 2.5rem;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(165, 180, 252, 0.12);
        }

        .footer-brand .logo {
            margin-bottom: 1rem;
        }

        .footer-brand p {
            font-size: 0.82rem;
            line-height: 1.65;
        }

        .footer-col h4 {
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--white);
            margin-bottom: 1rem;
        }

        .footer-col ul li {
            margin-bottom: 0.6rem;
        }

        .footer-col a {
            font-size: 0.82rem;
            transition: color 0.2s;
        }

        .footer-col a:hover { color: var(--gold-300); }

        .social-links {
            display: flex;
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(99, 102, 241, 0.25);
            border-radius: 10px;
            color: var(--white);
            font-size: 1.15rem;
            transition: background 0.2s, transform 0.2s;
        }

        .social-links a:hover {
            background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
            color: var(--indigo-950);
            transform: translateY(-3px);
            box-shadow: var(--gold-shadow);
        }

        .footer-bottom {
            padding: 1rem 0;
            text-align: center;
            font-size: 0.75rem;
        }

        .scroll-top {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--indigo-600), var(--indigo-500));
            color: var(--white);
            border: none;
            border-radius: 12px;
            cursor: pointer;
            box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
            opacity: 0;
            visibility: hidden;
            transform: translateY(12px);
            transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
            z-index: 999;
            font-size: 1.35rem;
        }

        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .scroll-top:hover {
            background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
            color: var(--indigo-950);
            box-shadow: var(--gold-shadow);
        }

        /* Mobile */
        @media (max-width: 992px) {
            .hero-grid,
            .csp-grid { grid-template-columns: 1fr; }
            .services-grid { grid-template-columns: 1fr 1fr; }
            .licensing-grid { grid-template-columns: repeat(2, 1fr); }
            .license-card .icon { height: 170px; }
            .news-carousel__card { flex-basis: calc((100% - 1rem) / 2); }
            .news-carousel__btn--prev { left: 0.25rem; }
            .news-carousel__btn--next { right: 0.25rem; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .stats-row { grid-template-columns: repeat(3, 1fr); }
            .contact-page .feature-cards { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .menu-toggle { display: flex; }

            .nav-wrap {
                position: fixed;
                top: var(--header-h);
                left: 0;
                right: 0;
                bottom: auto;
                width: 100%;
                height: auto;
                max-height: calc(100dvh - var(--header-h));
                z-index: 1100;
                background: var(--indigo-950);
                padding: 1rem 1.5rem 1.25rem;
                border-bottom: 1px solid rgba(165, 180, 252, 0.15);
                box-shadow: 0 12px 32px rgba(30, 27, 75, 0.35);
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.35s;
                overflow-y: auto;
            }

            .site-header.menu-open {
                z-index: 1100;
            }

            .nav-wrap.open {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
            }

            .nav-main {
                flex-direction: column;
                align-items: stretch;
            }

            .nav-dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                border: none;
                padding-left: 1rem;
                display: none;
            }

            .nav-dropdown.open .nav-dropdown-menu { display: block; }

            .nav-dropdown.open .nav-dropdown-toggle i {
                transform: rotate(180deg);
            }

            .nav-dropdown-toggle {
                width: 100%;
                text-align: left;
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

            .header-actions .btn-email span { display: none; }

            .services-grid,
            .licensing-grid,
            .footer-grid { grid-template-columns: 1fr; }
            .contact-page .feature-cards { grid-template-columns: 1fr; }
            .license-card .icon { height: 220px; }
            .news-carousel__card { flex-basis: calc((100% - 1rem) / 2); }
        }

.page-content .page-layout::after {
    content: "";
    display: table;
    clear: both;
}
.page-content .page-layout--with-photo .page-aside {
    float: left;
    margin: 0 30px 30px 0;
    width: 40%;
    max-width: 40%;
}
.page-content .page-layout--with-photo .page-body {
    min-width: 0;
}
.page-content .page-aside {
    float: left;
    margin: 0 30px 30px 0;
    width: 40%;
    max-width: 40%;
}
.page-content .page-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--indigo-100);
    box-shadow: 0 12px 36px rgba(79, 70, 229, 0.1);
}
.page-content .page-body img {
    float: left;
    margin: 0 30px 30px 0;
    width: 40%;
    max-width: 40%;
    height: auto;
    border-radius: var(--radius);
}
.page-content .page-body {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #4b5563;
}
.page-content .page-body h2,
.page-content .page-body h3 {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.5rem;
}
.not-found-wrap {
    text-align: center;
    padding: 4rem 0;
}
.not-found-wrap .section-desc {
    margin: 1rem auto 2rem;
}
.not-found-icon {
    font-size: 3rem;
    color: var(--indigo-500);
    margin-bottom: 1rem;
}

.page-content .page-body a {
    color: var(--indigo-700);
    transition: color 0.2s;
}

.page-content .page-body a:hover {
    color: var(--gold-600);
}

.about-page .category-detail + .category-detail {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--indigo-100);
}

.about-page .section-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--indigo-950);
    margin: 0 0 1.25rem;
}

@media (max-width: 768px) {
    .page-content .page-aside,
    .page-content .page-body img {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 30px 0;
    }
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 8px var(--gold-glow));
}
