:root {
            --kv-navy: #1664c0;   /* primary blue */
            --kv-gold: #85c815;   /* accent green */
            --kv-dark: #0b2f5c;   /* dark text on green */
            --kv-text: #4d5b72;
            --kv-soft: #eef5fc;
            --kv-border: #1664c0;
            --kv-radius: 40px;
            --kv-shadow: 0 6px 24px rgba(22, 100, 192, .10);
            --kv-shadow-hover: 0 12px 32px rgba(22, 100, 192, .22);

            /* Card grid settings */
            --tm-gap: 24px;
            --tm-cols: 3;
        }

        /* ===== Sections ===== */
        .tm-section { padding: 48px 0; }
        .tm-section.tm-soft-bg { background: var(--kv-soft); }
        .tm-heading { max-width: 820px; margin: 0 auto 45px; text-align: center; }
        .tm-heading h2 { color: var(--kv-navy); margin-bottom: 14px; }
        .tm-heading h2::after {
            content: ""; display: block; width: 60px; height: 4px; border-radius: 2px;
            background: var(--kv-gold); margin: 14px auto 0;
        }
        .tm-heading p { margin-bottom: 0; }
        .tm-tag {
            display: inline-block; padding: 5px 14px; border-radius: 30px; margin-bottom: 14px;
            background: rgba(133,200,21,.25); color: var(--kv-dark); font-weight: 600; font-size: 14px;
        }
        .tm-section h2 { color: var(--kv-navy); }
        .tm-section h3 { color: var(--kv-navy); }
        .tm-text p { line-height: 1.8; margin-bottom: 16px; }
        .tm-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

        /* ===== Intro split (content left, image right) ===== */
        .tm-split {
            display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
        }
        .tm-split-text { flex: 1 1 480px; min-width: 0; }
        .tm-split-media { flex: 1 1 420px; min-width: 0; }
        .tm-media-frame {
            border: 2px solid var(--kv-border); border-radius: var(--kv-radius); overflow: hidden;
            box-shadow: var(--kv-shadow-hover); background: #fff;
        }
        .tm-media-frame img {
            display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
        }

        /* ===== Grid + cards (CENTERED) =====
           Flex + justify-content:center keeps the last row centered
           when it has fewer cards than columns (e.g. 5 cards in 3 columns). */
        .tm-grid { display: grid; gap: var(--tm-gap); }
        .tm-grid-3 {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: stretch;
            gap: var(--tm-gap);
        }
        .tm-grid-3 > .tm-card {
            flex: 0 0 calc((100% - (var(--tm-cols) - 1) * var(--tm-gap)) / var(--tm-cols));
            max-width: calc((100% - (var(--tm-cols) - 1) * var(--tm-gap)) / var(--tm-cols));
        }
        .tm-card {
            height: auto; padding: 28px; background: #fff; display: flex; flex-direction: column;
            border: 2px solid var(--kv-border); border-radius: var(--kv-radius);
            box-shadow: var(--kv-shadow);
        }
        .tm-card-icon {
            width: 54px; height: 54px; border-radius: 12px; margin-bottom: 18px;
            display: flex; align-items: center; justify-content: center;
            background: var(--kv-navy); color: #fff; font-size: 22px;
        }
        .tm-card h3 { font-size: 21px; margin-bottom: 12px; }
        .tm-card p { margin: 0; line-height: 1.75; }

        /* ===== Testimonial cards ===== */
        .tm-quote { position: relative; }
        .tm-quote::after {
            content: "\201D"; position: absolute; top: 6px; right: 20px; font-size: 90px; line-height: 1;
            font-family: Georgia, serif; color: rgba(133,200,21,.35); pointer-events: none;
        }
        .tm-stars { color: var(--kv-gold); font-size: 20px; letter-spacing: 2px; margin-bottom: 12px; }
        .tm-review { font-style: italic; line-height: 1.8; margin-bottom: 22px !important; flex-grow: 1; }
        .tm-author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 2px solid var(--kv-soft); }
        .tm-avatar {
            flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%;
            background: var(--kv-navy); color: #fff; font-weight: 700;
            display: flex; align-items: center; justify-content: center;
        }
        .tm-author h4 { font-size: 17px; margin: 0; color: var(--kv-navy); }
        .tm-author span { font-size: 14px; color: var(--kv-text); }

        .tm-empty {
            background: #fff; padding: 24px 26px; border: 2px solid var(--kv-border);
            border-left: 6px solid var(--kv-gold); border-radius: var(--kv-radius); box-shadow: var(--kv-shadow);
        }
        .tm-empty p { margin: 0; line-height: 1.7; }

        .tm-static-card {
            height: 100%; padding: 30px; background: #fff;
            border: 2px solid var(--kv-border); border-radius: var(--kv-radius); box-shadow: var(--kv-shadow);
        }
        .tm-static-card h2, .tm-static-card h3 { margin-bottom: 14px; }
        .tm-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
        .tm-checks li { position: relative; padding-left: 30px; line-height: 1.5; }
        .tm-checks li::before {
            content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900;
            position: absolute; left: 0; top: 1px; width: 20px; height: 20px; line-height: 20px;
            text-align: center; font-size: 10px; border-radius: 50%;
            background: var(--kv-gold); color: var(--kv-dark);
        }

        /* ===== Commitment panel ===== */
        .tm-commit { padding: 48px 0; background: var(--kv-navy); }
        .tm-commit-card {
            max-width: 900px; margin: 0 auto; padding: 40px; background: #fff;
            border: 2px solid var(--kv-border); border-top: 6px solid var(--kv-gold);
            border-radius: 14px; box-shadow: var(--kv-shadow-hover);
        }
        .tm-commit-card h2 { color: var(--kv-navy); margin-bottom: 16px; }
        .tm-commit-card p { line-height: 1.8; }
        .tm-commit-card p:last-child { margin-bottom: 0; }

        /* ===== CTA ===== */
        .tm-cta { padding: 48px 0; background: var(--kv-soft); }
        .tm-cta-card { padding: 40px; }
        .tm-cta-card p { line-height: 1.75; }
        .tm-cta-card p:last-of-type { margin-bottom: 0; }
        .tm-cta-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 22px; }
        .tm-img-card { display: flex; align-items: center; justify-content: center; padding: 14px; }
        .tm-img-card img { width: 100%; height: auto; border-radius: 8px; }

        .tm-call-card {
            display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 10px;
            background: #fff; border: 2px solid var(--kv-border); border-radius: var(--kv-radius);
            box-shadow: var(--kv-shadow); transition: all .25s ease;
        }
        .tm-call-card:hover { transform: none !important; box-shadow: var(--kv-shadow-hover); }
        .tm-call-icon {
            width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
            display: flex; align-items: center; justify-content: center;
            background: var(--kv-gold); color: var(--kv-dark); font-size: 18px;
        }
        .tm-call-text { display: flex; flex-direction: column; line-height: 1.25; }
        .tm-call-text small { color: var(--kv-text); font-size: 13px; }
        .tm-call-text strong { color: var(--kv-navy); font-size: 18px; }

        /* ===== Theme overrides for shared site classes ===== */
        .btn-fill-md.bg-accent,
        .btn-fill-md.bg-accent:hover,
        .btn-fill-md.bg-accent:focus {
            background: var(--kv-gold) !important;
            color: #fff !important;
            border-color: var(--kv-gold) !important;
            box-shadow: none !important;
            transform: none !important;
        }
        .scrollup { background: var(--kv-gold) !important; color: var(--kv-dark) !important; }
        .inner-page-banner .breadcrumbs-area h1 { color: #fff; }

        /* ===== Responsive ===== */
        @media (max-width: 991px) {
            :root { --tm-cols: 2; }
            .tm-section, .tm-cta, .tm-commit { padding: 60px 0; }
            .tm-split { gap: 36px; }
        }
        @media (max-width: 767px) {
            .tm-commit-card, .tm-cta-card { padding: 26px 22px; }
        }
        @media (max-width: 575px) {
            :root { --tm-cols: 1; }
            .tm-section, .tm-cta, .tm-commit { padding: 45px 0; }
            .tm-checks { grid-template-columns: 1fr; }
            .tm-cta-actions a.btn-fill-md { width: 100%; text-align: center; justify-content: center; }
            .tm-call-card { width: 100%; }
        }
