/* ==========================================================================
   DESIGN v4 (branch design-v4, owner approved 2026-12-01: "perfect").
   "QA Testing + AI Training Specialists": header tagline, home page, inner-page band and right rail,
   program pages, program cross-links. Loaded on every page after v2.css, v2-compact.css and v2-alert.css
   (includes/v2/header.php; the body has the class kt-v4).
   Same tokens as v2.css (orange CTA, royal-to-navy blue, Varela Round + Nunito Sans, soft raised finish).
   Motion: 150-300 ms hovers and presses; everything is switched off under prefers-reduced-motion.
   ========================================================================== */
.kt-v4 {
  --v4-ai: #1b9bf3;            /* logo light royal: accents only */
  --v4-ai-bg: #e8f4ff;
  --v4-ai-ink: #0a3a9e;
  --v4-before: #6b7a8a;        /* "before AI" grey-blue (4.6:1 on white) */
  --v4-before-bg: #f1f4f7;
  --v4-ok: #1d7a35;            /* check marks on white (5.3:1) */
  --v4-sec-gap: 28px;
  --v4-t: 200ms;
}

/* ---------- header: specialist tagline beside the logo ---------- */
.kt-tagline { display: none; }
@media (min-width: 1100px) {
  .kt-v4 .kt-header { justify-content: flex-start; }
  .kt-v4 .kt-head-right { margin-left: auto; flex: 1 1 0; min-width: 0; }
  .kt-v4 .kt-tagline { flex: none; }
  .kt.kt-v4 .kt-logo img { width: 236px; height: auto; aspect-ratio: 294 / 80; }
  .kt-tagline { display: flex; flex-direction: column; gap: 2px; margin: 0; padding-left: 14px; border-left: 2px solid var(--kt-line); line-height: 1.25; }
  .kt-tagline-main { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--kt-navy); font: 400 17px/1.2 var(--kt-head); white-space: nowrap; }
  .kt-tagline-main .kt-i { width: 18px; height: 18px; color: var(--kt-orange-ink); }
  .kt-tagline-sub { color: var(--kt-text-2); font-size: 12.5px; font-weight: 700; padding-left: 24px; white-space: nowrap; }
  .kt-tagline-main .kt-i { margin-top: 1px; }
}

/* ---------- shared pieces ---------- */
.v4-home { display: flex; flex-direction: column; gap: var(--v4-sec-gap); margin-top: 12px; }
.kt-v4 .kt-ap { grid-area: auto; margin-top: 0; }
.v4-sec { min-width: 0; scroll-margin-top: 12px; }
.v4-sec-head { max-width: 760px; margin: 0 auto 16px; text-align: center; }
.v4-sec-head.is-left { margin: 0 0 14px; text-align: left; }
.kt .v4-sec-head h2 { margin: 0 0 6px; color: var(--kt-navy); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.18; }
.v4-sec-head > p:not(.v4-eyebrow) { margin: 0; color: var(--kt-text-2); font-size: 17px; }
.v4-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px; padding: 4px 12px 4px 9px; border-radius: 999px; background: #fff3e6; color: #8a3c00; font-weight: 800; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
.v4-eyebrow .kt-i { width: 17px; height: 17px; }
.v4-center { margin: 16px 0 0; text-align: center; }
.v4-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }

/* buttons: raised pill, 1 px lift on hover, pressed-in on click (tactile) */
.kt .v4-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; font-size: 15.5px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform var(--v4-t) var(--kt-ease), box-shadow var(--v4-t) var(--kt-ease), background-color var(--v4-t); }
.kt .v4-btn .kt-i { width: 18px; height: 18px; stroke-width: 2.4; transition: transform var(--v4-t) var(--kt-ease); }
.kt .v4-btn:hover { transform: translateY(-2px); }
.kt .v4-btn:hover .kt-i-next { transform: translateX(3px); }
.kt .v4-btn:active { transform: translateY(0) scale(.98); }
.kt .v4-btn-orange { border-color: var(--kt-orange-edge); background: linear-gradient(180deg, var(--kt-orange-1), var(--kt-orange-2)); color: var(--kt-ink); box-shadow: 3px 4px 12px rgba(196, 85, 0, .35), -2px -2px 6px rgba(255, 255, 255, .9); }
.kt .v4-btn-orange:hover { color: var(--kt-ink); box-shadow: 5px 8px 18px rgba(196, 85, 0, .42), -2px -2px 6px rgba(255, 255, 255, .9); }
.kt .v4-btn-orange:active { box-shadow: inset 2px 2px 6px rgba(120, 50, 0, .35), inset -2px -2px 5px rgba(255, 255, 255, .35); }
.kt .v4-btn-blue { background: linear-gradient(180deg, #1866d6, #0b4fbf); color: #fff; box-shadow: 3px 4px 12px rgba(11, 79, 191, .3); }
.kt .v4-btn-blue:hover { color: #fff; box-shadow: 5px 8px 18px rgba(11, 79, 191, .38); }
.kt .v4-btn-ghost { border-color: #b4dcef; background: linear-gradient(180deg, #fff, #e6f4fd); color: var(--kt-navy); box-shadow: var(--kt-raise-sm); }
.kt .v4-btn-ghost:hover { color: var(--kt-navy); }
.kt .v4-btn-ghost:active, .kt .v4-btn-blue:active { box-shadow: var(--kt-inset); }
.kt .v4-btn-white { background: #fff; color: var(--kt-navy); box-shadow: 0 4px 14px rgba(0, 20, 60, .25); }
.kt .v4-btn-white:hover { color: var(--kt-navy); }
.kt .v4-btn.is-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.kt .v4-btn.is-lg { min-height: 50px; padding: 0 24px; font-size: 16.5px; }

/* ---------- HERO ---------- */
.v4-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px 24px 24px 32px; border-radius: var(--kt-r); background: radial-gradient(120% 90% at 0% 0%, #fff 40%, #eaf5ff 100%); box-shadow: var(--kt-raise); position: relative; overflow: hidden; }
.v4-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--kt-orange-1), var(--kt-orange-2) 30%, var(--kt-blue-light) 70%, var(--kt-blue-deep)); }
.v4-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 5px 14px 5px 10px; border-radius: 999px; background: var(--v4-ai-bg); color: var(--v4-ai-ink); font-weight: 800; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; }
.v4-kicker .kt-i { width: 17px; height: 17px; color: var(--kt-orange-ink); }
.v4-kicker-sm { display: none; }
.kt .v4-hero h1 { margin: 0 0 12px; color: var(--kt-navy); font-size: clamp(30px, 3.3vw, 44px); line-height: 1.12; letter-spacing: -.01em; }
.v4-hero-sub { margin: 0 0 12px; color: var(--kt-text-2); font-size: 18px; line-height: 1.5; max-width: 54ch; }
.v4-hero-ticks { display: grid; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; font-weight: 700; color: var(--kt-navy); }
.v4-hero-ticks li { display: flex; align-items: center; gap: 8px; }
.v4-hero-ticks .kt-i { width: 19px; height: 19px; padding: 2px; border-radius: 50%; background: #e3f6e8; color: var(--v4-ok); stroke-width: 2.8; }
.v4-hero-guide { margin: 12px 0 0; font-size: 15px; }
.kt .v4-hero-guide a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.v4-hero-guide .kt-i { width: 17px; height: 17px; color: var(--kt-orange-ink); }
.v4-hero-photo { position: relative; margin: 0; }
.kt .v4-hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 14px 34px rgba(10, 47, 110, .22); }

/* overlay chips: text only, no numbers. Appear one by one, then float gently. */
.v4-chips { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.v4-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 8px 22px rgba(10, 47, 110, .22); color: var(--kt-navy); font-weight: 800; font-size: 14px; white-space: nowrap; backdrop-filter: blur(4px); }
.v4-chip .kt-i { width: 17px; height: 17px; color: var(--kt-blue); }
.v4-chip.c1 { top: 7%; right: -6px; }
.v4-chip.c1 .kt-i { color: var(--kt-orange-ink); }
.v4-chip-ok { display: grid; place-items: center; width: 20px; height: 20px; margin-left: 2px; border-radius: 50%; background: var(--v4-ok); }
.kt .v4-chip-ok .kt-i { width: 13px; height: 13px; color: #fff; stroke-width: 3.2; }
.v4-chip.c2 { top: 44%; right: 4%; }
.v4-chip.c3 { bottom: 9%; right: 22%; }
.v4-chip.c4 { bottom: -10px; left: -14px; background: var(--kt-navy); color: #fff; }
.kt .v4-chip.c4 .kt-i { color: #ffd2a6; }
.v4-anim .v4-chip { opacity: 0; transform: translateY(8px) scale(.96); animation: v4-chip-in 300ms var(--kt-ease) forwards, v4-float 6s ease-in-out 1.4s infinite; }
.v4-anim .v4-chip.c2 { animation-delay: 350ms, 2.0s; }
.v4-anim .v4-chip.c3 { animation-delay: 600ms, 2.6s; }
.v4-anim .v4-chip.c4 { animation-delay: 850ms, 3.2s; }
.v4-anim .v4-chip.c1 { animation-delay: 100ms, 1.4s; }
@keyframes v4-chip-in { to { opacity: 1; transform: none; } }
@keyframes v4-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.v4-anim .v4-chip-ok { animation: v4-pop 300ms var(--kt-ease) 700ms both; }
@keyframes v4-pop { from { transform: scale(0); } 70% { transform: scale(1.2); } to { transform: scale(1); } }

/* trust strip: factual items only */
.v4-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: -14px 0 0; padding: 10px 16px; border-radius: 999px; background: var(--kt-navy); color: #fff; list-style: none; font-weight: 700; font-size: 15px; }
.v4-trust li { display: inline-flex; align-items: center; gap: 7px; }
.v4-trust .kt-i { width: 18px; height: 18px; color: #ffc48a; }

/* quick links: the old left tabs + icon row + right blue column in one compact strip */
.v4-quick { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 1.35fr); gap: 6px; margin-top: -14px; }
.v4-quick-links, .v4-quick-blue { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.v4-quick-links { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.v4-quick-blue { grid-template-columns: minmax(0, 1fr); }
.kt .v4-quick-links a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 100%; min-height: 50px; padding: 4px 6px; border: 1px solid #cfe5f5; border-radius: 12px; background: #fff; color: var(--kt-navy); font-weight: 700; font-size: 13.5px; line-height: 1.15; text-align: center; text-decoration: none; transition: background-color var(--v4-t), border-color var(--v4-t), transform var(--v4-t) var(--kt-ease); }
.kt .v4-quick-links a:hover { background: var(--v4-ai-bg); border-color: #9fcdf0; transform: translateY(-1px); }
.v4-quick-links .kt-i { width: 16px; height: 16px; color: var(--kt-blue); }
.kt .v4-quick-blue a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 50px; height: 100%; padding: 4px 6px; text-align: center; border-radius: 12px; background: linear-gradient(180deg, var(--kt-blue-col), var(--kt-blue-col-2)); color: #fff; text-decoration: none; line-height: 1.15; transition: transform var(--v4-t) var(--kt-ease), box-shadow var(--v4-t); }
.kt .v4-quick-blue a:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(8, 57, 157, .3); }
.v4-quick-blue strong { display: block; font-size: 13px; }
.v4-quick-blue small { display: block; font-size: 12px; color: #ffe0a8; font-weight: 700; }
.v4-quick-blue .kt-i { width: 18px; height: 18px; color: #ffc48a; }

/* ---------- a. Your QA job is changing ---------- */
.v4-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v4-card { display: flex; flex-direction: column; border-radius: var(--kt-r); background: #fff; box-shadow: var(--kt-raise-sm); overflow: hidden; transition: transform var(--v4-t) var(--kt-ease), box-shadow var(--v4-t) var(--kt-ease); }
.v4-card:hover { transform: translateY(-3px); box-shadow: var(--kt-raise); }
.kt .v4-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.v4-card-b { padding: 14px 18px 16px; }
.kt .v4-card h3 { margin: 4px 0 6px; color: var(--kt-navy); font-size: 21px; }
.v4-card p { margin: 0 0 8px; }
.v4-card-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
.v4-card-tag .kt-i { width: 17px; height: 17px; }
.v4-card-tag.is-ai { color: var(--v4-ai-ink); }
.v4-card-tag.is-you { color: var(--v4-ok); }
.v4-card-tag.is-next { color: #8a3c00; }
.kt .v4-card-link a, .kt .v4-prog-go a { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; text-decoration: none; }
.v4-card-link .kt-i, .v4-prog-go .kt-i { width: 18px; height: 18px; transition: transform var(--v4-t) var(--kt-ease); }
.kt .v4-card-link a:hover .kt-i, .kt .v4-prog-go a:hover .kt-i { transform: translateX(3px); }

/* ---------- b. Find your path ---------- */
.v4-path { padding: 22px 24px 24px; border-radius: var(--kt-r); background: linear-gradient(180deg, #0b4fbf, #0a2f6e); color: #fff; box-shadow: var(--kt-raise); }
.kt .v4-path .v4-sec-head h2 { color: #fff; }
.v4-path .v4-sec-head > p:not(.v4-eyebrow) { color: #d9ebff; }
.v4-path .v4-eyebrow { background: rgba(255, 255, 255, .14); color: #ffd2a6; }
.v4-path-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 920px; margin: 0 auto 14px; }
.kt .v4-path-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 800; font-size: 15px; text-align: left; transition: background-color var(--v4-t), border-color var(--v4-t), transform var(--v4-t) var(--kt-ease), color var(--v4-t); }
.kt .v4-path-tabs button:hover { background: rgba(255, 255, 255, .16); transform: translateY(-1px); }
.kt .v4-path-tabs button[aria-selected="true"] { border-color: var(--kt-orange-edge); background: linear-gradient(180deg, var(--kt-orange-1), var(--kt-orange-2)); color: var(--kt-ink); }
.v4-path-tabs .kt-i { width: 20px; height: 20px; }
.kt .v4-path-tabs button:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px #0a2f6e; }
.v4-path-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v4-path.is-js .v4-path-panels { display: block; max-width: 920px; margin: 0 auto; }
.v4-path-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; color: var(--kt-text); }
.v4-path.is-js .v4-path-panel[hidden] { display: none !important; }
.v4-path.is-js .v4-path-panel { animation: v4-fade 220ms var(--kt-ease); }
@keyframes v4-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.v4-path-who { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 2px; color: var(--kt-text-2); font-weight: 700; font-size: 14px; }
.v4-path-who .kt-i { width: 17px; height: 17px; }
.v4-path-arrow { margin: 0; color: #8a3c00; font-weight: 800; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
.kt .v4-path-panel h3 { margin: 2px 0 6px; font-size: 24px; line-height: 1.2; }
.kt .v4-path-panel h3 a { color: var(--kt-navy); text-decoration: none; }
.kt .v4-path-panel h3 a:hover { text-decoration: underline; }
.v4-path-level { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.v4-path-level span { padding: 2px 10px; border-radius: 999px; background: var(--v4-ai-bg); color: var(--v4-ai-ink); font-weight: 700; font-size: 13px; }
.v4-path-panel > div > p { margin: 0 0 8px; }
.v4-mini-check { display: grid; gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 15px; }
.v4-mini-check li { display: flex; gap: 8px; }
.v4-mini-check .kt-i { width: 18px; height: 18px; margin-top: 2px; color: var(--v4-ok); stroke-width: 2.6; }
.kt .v4-path-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* ---------- c. Programs ---------- */
.v4-progs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.v4-prog { position: relative; display: flex; flex-direction: column; border-radius: var(--kt-r); background: #fff; box-shadow: var(--kt-raise-sm); overflow: hidden; transition: transform var(--v4-t) var(--kt-ease), box-shadow var(--v4-t) var(--kt-ease); }
.v4-prog::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--kt-orange-2), var(--kt-blue-light)); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--kt-ease); }
.v4-prog:hover { transform: translateY(-4px); box-shadow: var(--kt-raise); }
.v4-prog:hover::after, .v4-prog:focus-within::after { transform: scaleX(1); }
.kt .v4-prog-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 300ms var(--kt-ease); }
.v4-prog-img { display: block; overflow: hidden; }
.v4-prog:hover .v4-prog-img img { transform: scale(1.04); }
.v4-prog-b { display: flex; flex-direction: column; flex: 1; padding: 12px 16px 14px; }
.v4-prog-level { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #8a3c00; font-weight: 800; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; }
.v4-prog-level .kt-i { width: 18px; height: 18px; }
.kt .v4-prog h3 { margin: 4px 0 6px; font-size: 19.5px; line-height: 1.22; }
.kt .v4-prog h3 a { color: var(--kt-navy); text-decoration: none; }
.kt .v4-prog h3 a::before { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.v4-prog p { margin: 0 0 8px; font-size: 15px; }
.v4-prog-meta { color: var(--kt-text-2); font-size: 13.5px !important; font-weight: 700; }
.v4-prog-go { margin-top: auto !important; }

/* ---------- d. Day timeline ---------- */
.v4-day { padding: 22px 24px; border-radius: var(--kt-r); background: #fff; box-shadow: var(--kt-raise-sm); }
.v4-day-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; align-items: start; }
.v4-day-photo { position: sticky; top: 12px; margin: 0; }
.kt .v4-day-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.v4-day-photo figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; color: var(--kt-text-2); font-size: 14px; }
.v4-tag-before, .v4-tag-after { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 999px; font-weight: 800; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; }
.v4-tag-before { background: var(--v4-before-bg); color: #4a5866; }
.v4-tag-after { background: var(--v4-ai-bg); color: var(--v4-ai-ink); }
.v4-tag-after .kt-i { width: 14px; height: 14px; color: var(--kt-orange-ink); }
.v4-timeline { position: relative; margin: 0; padding: 0 0 0 46px; list-style: none; }
.v4-timeline::before { content: ""; position: absolute; left: 17px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--kt-orange-2), var(--kt-blue-light), var(--kt-blue-deep)); }
.v4-timeline li { position: relative; margin: 0 0 14px; }
.v4-tl-dot { position: absolute; left: -46px; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid var(--kt-blue-light); color: var(--kt-blue); box-shadow: var(--kt-raise-sm); }
.v4-tl-dot .kt-i { width: 18px; height: 18px; }
.kt .v4-timeline h3 { margin: 6px 0 6px; color: var(--kt-navy); font-size: 19px; }
.v4-tl-pair { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; }
.v4-tl-pair p { margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; }
.v4-tl-pair .v4-tag-before, .v4-tl-pair .v4-tag-after { display: flex; width: max-content; margin-bottom: 4px; }
.v4-tl-before { background: var(--v4-before-bg); color: #3d4a57; }
.v4-tl-after { background: var(--v4-ai-bg); color: var(--kt-text); border: 1px solid #c9e3fb; }
.v4-note { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff3e6; color: #5b2a00; }
.v4-note .kt-i { color: var(--v4-ok); stroke-width: 2.6; }

/* ---------- f. How classes work ---------- */
.v4-how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.v4-how-photo { margin: 0; }
.kt .v4-how-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--kt-r); box-shadow: 0 14px 30px rgba(10, 47, 110, .18); }
.v4-format { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.v4-format li { display: flex; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: var(--kt-raise-sm); }
.v4-format-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--v4-ai-bg); color: var(--kt-blue); }
.v4-format-ic .kt-i { width: 19px; height: 19px; }
.v4-format strong { display: block; color: var(--kt-navy); }
.v4-format div > span { display: block; font-size: 14px; color: var(--kt-text-2); line-height: 1.4; }
.v4-student-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--kt-navy); color: #fff; font-size: 14.5px; }
.kt .v4-student-row a { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 700; }
.kt .v4-student-row a:hover { color: #ffd2a6; }
.v4-student-row .kt-i { width: 16px; height: 16px; color: #ffc48a; }

/* ---------- g. Study materials ---------- */
.v4-study { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.kt .v4-study a, .v4-study-soon { display: grid; align-content: start; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; height: 100%; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--kt-raise-sm); color: var(--kt-text); text-decoration: none; transition: transform var(--v4-t) var(--kt-ease), box-shadow var(--v4-t); }
.kt .v4-study a:hover { transform: translateY(-2px); box-shadow: var(--kt-raise); color: var(--kt-text); }
.v4-study .kt-i { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--v4-ai-bg); color: var(--kt-blue); }
.v4-study strong { color: var(--kt-navy); }
.v4-study span span, .v4-study a > span { font-size: 13.5px; color: var(--kt-text-2); }
.v4-study-soon { border: 2px dashed #f3b47a; background: #fffaf4; box-shadow: none; }
.v4-study-soon .kt-i { background: #fff3e6; color: var(--kt-orange-ink); }
.v4-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v4-res-box { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--kt-r); background: #fff; box-shadow: var(--kt-raise-sm); }
.kt .v4-res-box h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--kt-blue); font-size: 19px; }
.v4-res-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.v4-res-list small { color: var(--kt-text-2); }
.v4-res-foot { margin: auto 0 0; padding-top: 8px; font-weight: 700; font-size: 14.5px; }
.v4-res-box [data-kt-reviews] { display: flex; flex-direction: column; flex: 1; }

/* ---------- h. FAQ ---------- */
.v4-faq .v4-acc { max-width: 880px; margin: 0 auto; }
.kt-v4 .kt-acc details { background: #fff; transition: box-shadow var(--v4-t); }
.kt-v4 .kt-acc summary { transition: color var(--v4-t); }
.kt-v4 .kt-acc summary:hover { color: var(--kt-blue); }
.kt-v4 .kt-acc summary .kt-i { transition: transform var(--v4-t) var(--kt-ease); }
.kt-v4 .kt-acc details[open] summary .kt-i { transform: rotate(180deg); }

/* ---------- i. Final band ---------- */
.v4-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: center; margin-bottom: 18px; padding: 18px; border-radius: var(--kt-r); background: radial-gradient(120% 140% at 100% 0%, #0d5fcb 0%, #0b4fbf 45%, #0a2f6e 100%); color: #fff; box-shadow: var(--kt-raise); }
.kt .v4-band-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.v4-band-copy { padding: 4px 12px 4px 0; }
.v4-band-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 6px; color: #ffe2c6; font-weight: 800; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; }
.v4-band-kicker .kt-i { width: 17px; height: 17px; }
.kt .v4-band h2 { margin: 0 0 8px; color: #fff; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.v4-band-copy > p:not(.v4-band-kicker):not(.v4-actions) { margin: 0 0 16px; color: #e3f0ff; font-size: 17px; }
.kt .v4-band :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px #0a2f6e; }

/* ---------- reveal on scroll (only when JS runs and motion is allowed) ---------- */
.v4-anim .v4-reveal { opacity: 0; transform: translateY(14px); transition: opacity 300ms var(--kt-ease), transform 300ms var(--kt-ease); }
.v4-anim .v4-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   INNER PAGE (program page mock): header band, program switcher, sticky right rail
   ========================================================================== */
.v4-inner { margin-top: 12px; }
.v4-inner .v4-band { margin-top: 20px; }
.v4-band-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: center; padding: 14px 22px 0; border-radius: var(--kt-r) var(--kt-r) 0 0; background: radial-gradient(120% 140% at 100% 0%, #0d5fcb 0%, #0b4fbf 45%, #0a2f6e 100%); color: #fff; overflow: hidden; }
.v4-band-in .v4-crumbs { grid-column: 1 / -1; }
.v4-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.v4-crumbs li + li::before { content: "/"; margin-right: 8px; color: #9cc4f2; }
.kt .v4-crumbs a { color: #d9ebff; }
.kt .v4-crumbs a:hover { color: #fff; }
.v4-crumbs [aria-current] { color: #fff; font-weight: 700; }
.v4-spec { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 6px; padding: 3px 12px 3px 9px; border-radius: 999px; background: rgba(0, 20, 70, .25); color: #ffe2c6; font-weight: 800; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
.v4-spec .kt-i { width: 16px; height: 16px; }
.kt .v4-band-in h1 { margin: 0 0 6px; color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.v4-band-in .v4-promise { margin: 0 0 10px; color: #e3f0ff; font-size: 18px; max-width: 58ch; }
.v4-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.v4-badges li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-weight: 700; font-size: 13.5px; }
.v4-badges .kt-i { width: 15px; height: 15px; color: #ffc48a; }
.v4-band-in .v4-actions { margin-bottom: 16px; }
.v4-band-in-photo { position: relative; align-self: end; margin: 0; }
.kt .v4-band-in-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px 16px 0 0; }
.v4-band-in-photo .v4-chip.c1 { top: 10%; right: 8px; }
.v4-band-in-photo .v4-chip.c4 { bottom: 12px; left: -10px; }
.v4-switch { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 6px; border-radius: 0 0 var(--kt-r) var(--kt-r); background: #fff; box-shadow: var(--kt-raise-sm); list-style: none; }
.kt .v4-switch a { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 0 9px; border-radius: 10px; color: var(--kt-navy); font-weight: 700; font-size: 14px; text-decoration: none; transition: background-color var(--v4-t); }
.kt .v4-switch a:hover { background: var(--v4-ai-bg); }
.kt .v4-switch a[aria-current] { background: var(--kt-navy); color: #fff; }
.v4-switch .kt-i { width: 17px; height: 17px; }
.v4-switch { justify-content: space-between; }
.v4-iconrow { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 14px; padding: 0 4px; list-style: none; font-size: 14px; }
.kt .v4-iconrow a { display: inline-flex; align-items: center; gap: 5px; color: var(--kt-text-2); font-weight: 700; text-decoration: none; }
.kt .v4-iconrow a:hover { color: var(--kt-blue); }
.v4-iconrow .kt-i { width: 16px; height: 16px; color: var(--kt-blue); }
.v4-in-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.v4-in-main { min-width: 0; padding: 18px 24px; border-radius: var(--kt-r); background: #fff; box-shadow: var(--kt-raise-sm); }
.kt .v4-in-main h2 { scroll-margin-top: 12px; margin: 22px 0 10px; color: var(--kt-navy); font-size: 25px; }
.kt .v4-in-main h2:first-child { margin-top: 4px; }
.v4-in-main .v4-intro { font-size: 17px; }
.v4-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v4-panel { padding: 12px 16px; border-radius: 16px; background: var(--kt-base); }
.kt .v4-panel h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--kt-blue); font-size: 18px; }
.v4-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: o; }
.v4-out li { position: relative; padding: 10px 12px 10px 44px; border-radius: 12px; background: var(--kt-base); font-size: 15px; counter-increment: o; }
.v4-out li::before { content: counter(o); position: absolute; left: 10px; top: 9px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--kt-blue); color: #fff; font-weight: 800; font-size: 13px; }
.v4-out li.is-ai { background: var(--v4-ai-bg); border: 1px solid #c9e3fb; }
.v4-out li.is-ai::before { background: var(--kt-orange-2); color: var(--kt-ink); }
.v4-legend { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--kt-text-2); font-size: 13.5px; }
.v4-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--kt-orange-2); }
.v4-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; margin: 8px 0 0; padding: 14px; border-radius: 18px; background: linear-gradient(180deg, #f3f9ff, #e6f2fd); }
.kt .v4-split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.kt .v4-split h3 { margin: 0 0 6px; color: var(--kt-navy); font-size: 20px; }
.v4-split p { margin: 0 0 8px; font-size: 15px; }
.v4-rail { position: sticky; top: 12px; display: grid; gap: 12px; }
.v4-rail-box { padding: 12px 14px; border-radius: 18px; background: #fff; box-shadow: var(--kt-raise-sm); }
.kt .v4-rail-box h2 { margin: 0 0 8px; color: var(--kt-navy); font-size: 16px; font-family: var(--kt-font); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.v4-toc { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.kt .v4-toc a { display: block; padding: 4px 10px; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; color: var(--kt-text); text-decoration: none; transition: background-color var(--v4-t), border-color var(--v4-t); }
.kt .v4-toc a:hover, .kt .v4-toc a.is-here { border-left-color: var(--kt-orange-2); background: var(--v4-ai-bg); color: var(--kt-navy); }
.v4-rail-cta { background: linear-gradient(180deg, #fff7ef, #ffe9d4); }
.v4-rail-cta p { margin: 0 0 10px; font-size: 14.5px; }
.kt .v4-rail-cta .v4-btn { width: 100%; white-space: normal; text-align: center; }
.v4-rail-cta .v4-sched { display: flex; gap: 6px; margin: 8px 0 0; color: var(--kt-text-2); font-size: 13.5px; }
.v4-rail-cta .v4-sched .kt-i { width: 16px; height: 16px; }
.v4-rail-links { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kt .v4-rail-links a { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border-radius: 10px; background: linear-gradient(180deg, var(--kt-blue-col), var(--kt-blue-col-2)); color: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: transform var(--v4-t) var(--kt-ease); }
.kt .v4-rail-links a:hover { color: #fff; transform: translateX(2px); }
.v4-rail-links .kt-i { width: 17px; height: 17px; color: #ffc48a; }
.v4-rail-links small { margin-left: auto; color: #cfe3ff; font-size: 12px; }
.v4-keep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.kt .v4-keep a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 10px 12px; border-radius: 12px; background: var(--kt-base); color: var(--kt-text); text-decoration: none; font-size: 13.5px; transition: transform var(--v4-t) var(--kt-ease), background-color var(--v4-t); }
.kt .v4-keep a:hover { transform: translateY(-2px); background: var(--v4-ai-bg); }
.v4-keep strong { color: var(--kt-navy); font-size: 15px; }
.v4-cross { display: flex; gap: 12px; align-items: center; margin: 14px 0 0; padding: 12px 14px; border: 1px solid #c9e3fb; border-left: 5px solid var(--kt-orange-2); border-radius: 12px; background: #f6fbff; }
.v4-cross .kt-i { width: 28px; height: 28px; color: var(--kt-orange-ink); }
.v4-cross p { margin: 0; font-size: 15px; }

/* ---------- footer: four columns (Krishna Training, Our Programs, Contact Us, Legal) ---------- */
.kt-v4 .kt-foot-grid { grid-template-columns: 1.6fr 1.2fr .8fr .8fr; gap: 12px 32px; }
@media (max-width: 899px) { .kt-v4 .kt-foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .kt-v4 .kt-foot-grid { grid-template-columns: 1fr; } }

/* ---------- inner pages (includes/v2/layout.php) ---------- */
.v4-band-page { margin-top: 20px; }
.v4-capstone p { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.v4-capstone .kt-i { flex: none; margin-top: 3px; color: var(--kt-orange-ink); }
.v4-band-in.is-plain { grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; margin-bottom: 10px; border-radius: var(--kt-r); }
.v4-band-in.is-plain h1 { overflow-wrap: anywhere; }
.v4-band-in .v4-lede { margin: 0 0 10px; color: #e3f0ff; font-size: 17px; max-width: 70ch; }
.v4-band-in.is-plain .v4-actions { margin: 10px 0 0; }
.v4-in-grid > .kt-mainbox { grid-area: auto; }
.v4-in-grid.is-wide { grid-template-columns: minmax(0, 1fr); }
.kt-v4 .v4-in-main.kt-mainbox { padding: 0; overflow: visible; box-shadow: var(--kt-raise-sm); }
.kt-v4 .v4-in-main .kt-mainbox-b { padding: 18px 24px 22px; }
.v4-rail .kt-sbox { box-shadow: var(--kt-raise-sm); }
.v4-rail .kt-links.is-scroll { max-height: 420px; overflow: auto; }
.v4-iconrow a[aria-current] { color: var(--kt-navy); text-decoration: underline; text-decoration-color: var(--kt-orange-2); text-decoration-thickness: 2px; }
.v4-rail-links a[aria-current] { outline: 2px solid #ffc48a; outline-offset: -2px; }
.v4-cross { margin-top: 22px; }
.v4-cross > div > p { margin: 0 0 6px; }
.v4-cross > div > p:last-child { margin: 0; }
.kt .v4-cross a { font-weight: 700; }
.v4-cross .kt-i { flex: none; }
.v4-cross-kicker { color: #8a3c00; font-weight: 800; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; }

/* ==========================================================================
   Responsive: 1024, 768, 390
   ========================================================================== */
@media (max-width: 1199px) {
  .v4-progs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v4-quick { grid-template-columns: 1fr; }
  .v4-in-grid { grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 1023px) {
  .v4-hero { gap: 18px; padding: 20px; }
  .v4-hero-ticks { display: none; }
  .v4-cards3, .v4-res { grid-template-columns: 1fr 1fr; }
  .v4-cards3 > :last-child, .v4-res > :last-child { grid-column: 1 / -1; }
  .v4-day-grid, .v4-how-grid { grid-template-columns: 1fr; }
  .v4-day-photo { position: static; max-width: 640px; }
  .v4-study { grid-template-columns: 1fr 1fr; }
  .v4-band-in { grid-template-columns: 1fr; padding-bottom: 0; }
  .v4-band-in-photo { max-width: 560px; }
  .v4-in-grid { grid-template-columns: 1fr; }
  .v4-rail { position: static; grid-template-columns: 1fr 1fr; }
  .v4-rail-toc { display: none; }
}
@media (max-width: 767px) {
  .v4-hero { grid-template-columns: 1fr; }
  .v4-hero-ticks { display: grid; }
  .v4-hero-photo { max-width: 680px; }
  .v4-path-tabs { grid-template-columns: 1fr 1fr; }
  .v4-path-panels { grid-template-columns: 1fr; }
  .v4-path-panel { grid-template-columns: 1fr; }
  .kt .v4-path-img { display: none; }
  .v4-band { grid-template-columns: 1fr; }
  .v4-format, .v4-out, .v4-two, .v4-split { grid-template-columns: 1fr; }
  .v4-keep { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .kt-v4 { --v4-sec-gap: 22px; }
  .v4-kicker-sm { display: inline; }
  .v4-kicker-lg { display: none; }
  .v4-hero { padding: 16px 14px 18px; gap: 16px; }
  .kt .v4-hero h1 { font-size: 29px; }
  .v4-hero-sub { font-size: 16.5px; }
  .v4-hero-ticks { font-size: 15px; }
  .v4-actions { flex-direction: column; align-items: stretch; }
  .kt .v4-btn { width: 100%; }
  .v4-chip { font-size: 12.5px; padding: 5px 10px 5px 7px; }
  .v4-chip.c1 { right: 6px; top: 6px; }
  .v4-chip.c2 { display: none; }
  .v4-chip.c3 { right: 6px; bottom: 30%; }
  .v4-chip.c4 { left: 6px; bottom: 6px; }
  .v4-trust { border-radius: 18px; gap: 4px 14px; font-size: 14px; justify-content: flex-start; }
  .v4-quick-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v4-cards3, .v4-res, .v4-progs, .v4-study { grid-template-columns: 1fr; }
  .kt .v4-card img { aspect-ratio: 5 / 2; }
  .kt .v4-prog-img img { aspect-ratio: 5 / 2; }
  .v4-path, .v4-day { padding: 16px 12px; }
  .kt .v4-path-tabs button { font-size: 14px; min-height: 46px; padding: 6px 8px; }
  .v4-tl-pair { grid-template-columns: 1fr; }
  .v4-timeline { padding-left: 40px; }
  .v4-tl-dot { left: -40px; width: 32px; height: 32px; }
  .v4-timeline::before { left: 14px; }
  .v4-band { padding: 12px; }
  .v4-band-copy { padding: 0 4px 6px; }
  .v4-band-in { padding: 12px 14px 0; }
  .v4-in-main { padding: 14px; }
  .v4-rail { grid-template-columns: 1fr; }
  .v4-switch { justify-content: flex-start; }
}

/* ---------- reduced motion: no movement at all ---------- */
@media (prefers-reduced-motion: reduce) {
  .kt-v4 *, .kt-v4 *::before, .kt-v4 *::after { animation: none !important; transition: none !important; }
  .v4-anim .v4-chip, .v4-anim .v4-reveal { opacity: 1 !important; transform: none !important; }
}

/* short button label on phones (same rule as the header seat button) */
.v4-short { display: none; }
@media (max-width: 479px) {
  .v4-full { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .v4-short { display: inline; }
}
