/* DICEST public website — design tokens + components.
   Palette grows from the admin brand indigo (#3D3BC8): deep ink for text,
   violet for depth, a teal "future skills" accent and a warm amber highlight. */

:root {
    --ink: #0E1033;
    --ink-2: #464A6B;
    --ink-3: #6B6F8E;
    --indigo: #3D3BC8;
    --indigo-700: #2C2A9E;
    --indigo-50: #EFEFFF;
    --violet: #7A5CFA;
    --teal: #12B5A8;
    --teal-ink: #0A7A72;
    --teal-50: #E3F7F5;
    --amber: #F4A93A;
    --amber-50: #FFF4E2;
    --bg: #F7F8FC;
    --surface: #FFFFFF;
    --line: #E4E6F1;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(14, 16, 51, .05), 0 12px 32px -12px rgba(14, 16, 51, .14);
    --shadow-lg: 0 2px 4px rgba(14, 16, 51, .05), 0 24px 56px -18px rgba(45, 42, 158, .28);
    --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", "Nirmala UI", sans-serif;
    --wrap: 1180px;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-700); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
[id] { scroll-margin-top: 92px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px -10px rgba(61, 59, 200, .7); }
.btn-primary:hover { background: var(--indigo-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-light { background: #fff; color: var(--indigo-700); }
.btn-light:hover { color: var(--ink); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 248, 252, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; flex-shrink: 0; }
/* Logo (800×346): sized by height, aspect ratio kept. */
.brand img { height: 54px; width: auto; max-width: 180px; object-fit: contain; display: block; mix-blend-mode: multiply; } /* white JPG background blends into the light header */
@media (max-width: 420px) { .brand img { height: 42px; } }
.wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.wordmark small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); margin-top: -4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { color: var(--ink); background: var(--indigo-50); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.nav-courses-fallback { display: inline-block; }
.mega { display: none; }
.js .nav-courses-fallback { display: none; }     /* with JavaScript the menu replaces the plain link */
.js .mega { display: block; }
.mega-toggle { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; color: var(--ink-2); background: none; border: 0; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.mega-toggle:hover, .mega-toggle[aria-expanded="true"], .mega-toggle[data-current] { color: var(--ink); background: var(--indigo-50); }
.mega-toggle .chev { width: 16px; height: 16px; transition: transform .15s; }
.mega-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Desktop: categories | courses, inside the page width, never taller than the screen. */
.mega-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 18px 14px; z-index: 60; }
.mega-panel[hidden] { display: none; }
.mega-heading { margin: 0 0 8px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mega-cats { list-style: none; margin: 0; padding: 0; width: 270px; min-height: 260px; max-height: min(60vh, 440px); overflow-y: auto; }
.mega-cat { margin: 0; }
.mega-cat-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font: inherit; font-weight: 600; color: var(--ink-2); background: none; border: 0; border-radius: var(--radius-sm); padding: 11px 12px; cursor: pointer; }
.mega-cat-btn:hover, .mega-cat-btn[aria-expanded="true"] { background: var(--indigo-50); color: var(--indigo-700); }
.mega-count { flex-shrink: 0; min-width: 26px; text-align: center; font-size: .75rem; font-weight: 700; color: var(--ink-3); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.mega-pane { position: absolute; top: 18px; left: 306px; right: 18px; bottom: 52px; overflow-y: auto; padding: 2px 4px 4px; }
.mega-pane[hidden] { display: none; }
.mega-pane-title { margin: 0 0 10px; font-weight: 800; color: var(--ink); }
.mega-courses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mega-course { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.mega-course:hover { border-color: var(--indigo); box-shadow: var(--shadow); }
.mega-course-title { font-weight: 700; line-height: 1.3; }
.mega-course-meta { font-size: .82rem; color: var(--ink-3); }
.mega-all, .mega-footer { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--indigo); text-decoration: none; }
.mega-all svg, .mega-footer svg { width: 16px; height: 16px; }
.mega-footer { padding-top: 10px; }
.mega-empty { margin: 0; color: var(--ink-2); }
.mega-empty a { color: var(--indigo); font-weight: 700; }
.mega-cat-btn:focus-visible, .mega-toggle:focus-visible, .mega-course:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Header "Career & Placement" menu (site.partials.career-menu; site.js DicestNavDrop). */
.nav-drop-fallback { display: inline-block; }
.nav-drop { display: none; position: relative; }
.js .nav > .nav-drop-fallback { display: none; }
.js .nav-drop { display: block; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; color: var(--ink-2); background: none; border: 0; padding: 10px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.nav-drop-toggle:hover, .nav-drop-toggle[aria-expanded="true"], .nav-drop-toggle[data-current] { color: var(--ink); background: var(--indigo-50); }
.nav-drop-toggle .chev { width: 16px; height: 16px; transition: transform .15s; }
.nav-drop-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-drop-toggle:focus-visible, .nav-drop-panel a:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.nav-drop-panel { position: absolute; right: 0; top: calc(100% + 6px); width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; }
.nav-drop-panel[hidden] { display: none; }
.nav-drop-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav-drop-panel a { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.nav-drop-panel a strong { font-weight: 700; }
.nav-drop-panel a span { font-size: .84rem; color: var(--ink-3); }
.nav-drop-panel a:hover, .nav-drop-panel a[aria-current="page"] { background: var(--indigo-50); }
.nav-drop-panel a[aria-current="page"] strong { color: var(--indigo-700); }
/* Six header items: tighter spacing on narrower desktops so nothing wraps. */
@media (min-width: 981px) and (max-width: 1240px) {
    .header-row { gap: 14px; }
    .nav { gap: 2px; }
    .nav > a:not(.btn), .mega-toggle, .nav-drop-toggle { padding: 9px 10px; font-size: .95rem; }
    .nav .btn { padding-left: 16px; padding-right: 16px; }
    .brand img { height: 48px; }
}

@media (max-width: 980px) {
    .menu-btn { display: inline-flex; }
    /* The open menu scrolls inside itself and never runs off the screen. */
    .nav { display: none; position: absolute; left: 12px; right: 12px; top: 76px; flex-direction: column; align-items: stretch; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; }
    .nav.open { display: flex; }
    .nav > a:not(.btn), .mega-toggle { padding: 14px 16px; }
    .nav .btn { margin-top: 6px; }
    .nav-drop-toggle { width: 100%; justify-content: space-between; border-radius: var(--radius-sm); padding: 14px 16px; }
    .nav-drop-panel { position: static; width: auto; box-shadow: none; border: 0; border-radius: 0; padding: 2px 0 8px 12px; }
    .nav-drop-panel a { padding: 13px 12px; }
    /* Mobile / tablet: tap-to-expand list, no hover needed. */
    .mega-toggle { width: 100%; justify-content: space-between; border-radius: var(--radius-sm); }
    .mega-panel { position: static; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px 12px; }
    .mega-heading { display: none; }
    .mega-cats { width: auto; min-height: 0; max-height: none; overflow: visible; }
    .mega-cat-btn { padding: 13px 12px; }
    .mega-pane { position: static; padding: 6px 4px 10px 12px; }
    .mega-pane-title { display: none; }
    .mega-courses { grid-template-columns: 1fr; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(122, 92, 250, .18), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -15%; bottom: -30%; width: 55vw; height: 55vw; max-width: 700px; max-height: 700px; background: radial-gradient(closest-side, rgba(18, 181, 168, .13), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 .accent { background: linear-gradient(100deg, var(--indigo) 10%, var(--violet) 55%, var(--teal) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--teal-ink); }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; justify-self: end; }
.hero-art svg { width: 100%; height: 100%; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { max-width: 400px; justify-self: center; }
}
@media (max-width: 520px) { .hero-art { max-width: 280px; } }

/* Hero advisor duo: the saved female + male AI Advisor PNGs (public/site/images/advisor, the same files the Advisor
   uses), shown whole at their own aspect ratio on a soft indigo/teal disc. Flat still artwork (no mouth/eye layers),
   so motion is a gentle, independent whole-figure float — translate only, never warped. The homepage has no mic or
   voice, so there are no listening/speaking states here. Paused off screen / in a hidden tab (site.js DicestHeroDuo). */
.hero-art.hero-duo { aspect-ratio: auto; display: flex; align-items: flex-end; justify-content: center; padding: 4% 0 0; max-width: 600px; isolation: isolate; user-select: none; }
.hero-duo::before { content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; top: 4%; aspect-ratio: 1 / 1; border-radius: 50%;
    background: linear-gradient(135deg, #EFEFFF 0%, #F3F0FF 60%, #E3F7F5 100%); }
.hero-duo::after { content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; bottom: -2%; height: 7%; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(44, 42, 158, .16), transparent); }
.hero-duo-figure { display: block; width: 50%; height: auto; object-fit: contain; transform-origin: 50% 100%; will-change: transform; }
.hero-art.hero-duo[hidden], .hero-duo-figure[hidden] { display: none; }
.hero-duo-female { margin-right: -4%; z-index: 1; animation: hero-duo-float 5.6s ease-in-out infinite; }
.hero-duo-male { animation: hero-duo-float 6.4s ease-in-out -1.8s infinite; }
@keyframes hero-duo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-duo.is-paused .hero-duo-figure { animation-play-state: paused; }
@media (max-width: 900px) { .hero-art.hero-duo { max-width: 400px; } }
@media (max-width: 520px) { .hero-art.hero-duo { max-width: 280px; } }
@media (prefers-reduced-motion: reduce) { .hero-duo-figure { animation: none !important; will-change: auto; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head > div { max-width: 640px; }
.section-head p { color: var(--ink-2); margin: 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; }
.chip:hover { border-color: var(--indigo); color: var(--indigo); }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-size: .78rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--indigo-50); color: var(--indigo-700); }
.chip[aria-current="page"] .count { background: rgba(255, 255, 255, .18); color: #fff; }

/* Course cards */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.course-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D5D6F5; }
.course-card .art { aspect-ratio: 16 / 9; }
.course-card-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--indigo-50); }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--indigo); font-weight: 700; font-size: .95rem; }
.card-more svg { width: 16px; height: 16px; }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.course-cat { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 6px; }
.course-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.course-card h3 a { color: var(--ink); text-decoration: none; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
@supports selector(:has(a)) { .course-card h3 a:focus-visible { outline: none; } }
.course-card:has(h3 a:focus-visible) { outline: 3px solid var(--violet); outline-offset: 3px; }
.course-card p { color: var(--ink-2); font-size: .98rem; margin-bottom: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.fact { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.fact svg { width: 15px; height: 15px; color: var(--indigo); }
.featured-flag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .76rem; font-weight: 800; letter-spacing: .04em; }

/* Generated course artwork (used instead of private images) */
.art { position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; isolation: isolate; }
.art::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .28), transparent 55%),
    linear-gradient(135deg, var(--a1), var(--a2)); }
.art::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: radial-gradient(rgba(255, 255, 255, .9) 1px, transparent 1.4px); background-size: 18px 18px; mask-image: linear-gradient(120deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); }
.art-mono { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; text-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.art-ring { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); right: -12%; bottom: -30%; }
.art-ring.two { width: 34%; left: -8%; top: -18%; right: auto; bottom: auto; border-color: rgba(255, 255, 255, .25); }

/* Feature tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.tile .ico svg { width: 24px; height: 24px; }
.tile p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.ico-indigo { background: var(--indigo-50); color: var(--indigo); }
.ico-teal { background: var(--teal-50); color: var(--teal-ink); }
.ico-amber { background: var(--amber-50); color: #9A5B00; }

/* AI panel */
.ai-panel { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 5vw, 56px); color: #fff; background:
    radial-gradient(80% 120% at 100% 0%, rgba(18, 181, 168, .35), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgba(122, 92, 250, .55), transparent 60%),
    linear-gradient(135deg, #17195A, #2C2A9E); }
.ai-panel .eyebrow { color: #A9F0E8; }
.ai-panel p { color: rgba(255, 255, 255, .84); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ai-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ai-list li { display: flex; gap: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.ai-list svg { width: 22px; height: 22px; flex: none; color: #A9F0E8; margin-top: 2px; }
.ai-list strong { display: block; color: #fff; }
.ai-list span { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.ai-note { margin-top: 18px; font-size: .88rem; color: rgba(255, 255, 255, .7) !important; }
@media (max-width: 860px) { .ai-grid { grid-template-columns: 1fr; } }

/* Contact / CTA band */
.cta-band { border-radius: 28px; padding: clamp(28px, 5vw, 52px); background: linear-gradient(120deg, var(--indigo-50), #fff 60%, var(--teal-50)); border: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.cta-band p { color: var(--ink-2); margin: 0; }
.home-address { font-style: normal; display: block; }
.cta-band > * { min-width: 0; }
.contact-list span { min-width: 0; overflow-wrap: anywhere; }
.lead-link { color: var(--indigo-700); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lead-link:hover { color: var(--indigo); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a, .contact-list .contact-text { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.contact-list a:hover { border-color: var(--indigo); }
.contact-list svg { width: 20px; height: 20px; color: var(--indigo); flex: none; }
.contact-list small { display: block; color: var(--ink-3); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.pending { padding: 18px 20px; border-radius: 16px; border: 1.5px dashed #C9CBE3; background: rgba(255, 255, 255, .7); color: var(--ink-2); font-size: .95rem; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* Page head (listing / detail) */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; background: radial-gradient(closest-side, rgba(122, 92, 250, .14), transparent 70%); pointer-events: none; }
.crumbs { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #B9BCD6; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--indigo); text-decoration: underline; }

/* Course detail */
.course-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; }
.course-hero .art { aspect-ratio: 4 / 3; border-radius: 28px; box-shadow: var(--shadow-lg); }
.course-hero .art-mono { font-size: clamp(3rem, 8vw, 5.5rem); }
.tagline { font-size: 1.15rem; font-weight: 600; color: var(--teal-ink); margin-bottom: 10px; }
.course-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 900px) { .course-hero { grid-template-columns: 1fr; } .course-hero .art { max-width: 520px; aspect-ratio: 16 / 7; } }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside { position: static; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.block + .block { margin-top: clamp(20px, 3vw, 28px); }
.block h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.prose { color: var(--ink-2); white-space: pre-line; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 24px; }
.checks li { display: flex; gap: 12px; color: var(--ink-2); }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--teal-ink); margin-top: 2px; }
.tool-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tool-list li { padding: 8px 14px; border-radius: 12px; background: var(--indigo-50); color: var(--indigo-700); font-weight: 700; font-size: .92rem; }
.acc { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.acc + .acc { margin-top: 10px; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 18px; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; flex: none; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc .num { display: inline-grid; place-items: center; min-width: 32px; height: 32px; border-radius: 10px; background: var(--indigo-50); color: var(--indigo-700); font-size: .9rem; flex: none; }
.acc .meta { color: var(--ink-3); font-weight: 600; font-size: .85rem; }
.acc-body { padding: 0 18px 18px; color: var(--ink-2); }
.acc-body ul { margin: 8px 0 0; padding-left: 20px; }
.acc-body li { margin: 4px 0; }
.acc-body .dur { color: var(--ink-3); font-size: .88rem; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.jobs li { padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.jobs strong { display: block; margin-bottom: 4px; }
.jobs span { color: var(--ink-2); font-size: .95rem; }
.summary dl { margin: 0; display: grid; gap: 14px; }
.summary dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.summary dd { margin: 2px 0 0; font-weight: 700; }

/* Empty state */
.empty { text-align: center; padding: clamp(36px, 6vw, 64px) 24px; border-radius: var(--radius); border: 1.5px dashed #C9CBE3; background: rgba(255, 255, 255, .6); color: var(--ink-2); }
.empty h2, .empty h3 { color: var(--ink); }

/* Trust strip (only verified, admin-approved items) */
.trust-strip { padding: clamp(24px, 4vw, 40px) 0; background: var(--bg); border-top: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 1px 2px rgba(14, 16, 51, .04); }
.trust-item strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.trust-item small { display: block; color: var(--ink-2); font-size: .86rem; margin-top: 2px; }
.trust-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-ink); }
.trust-icon svg { width: 22px; height: 22px; }

/* Mega Footer */
.site-footer { --f-text: rgba(255, 255, 255, .76); --f-line: rgba(255, 255, 255, .12); background: radial-gradient(120% 80% at 0% 0%, rgba(61, 59, 200, .35), transparent 60%), var(--ink); color: var(--f-text); padding: clamp(40px, 6vw, 64px) 0 24px; font-size: .94rem; }
.site-footer a { color: #fff; text-decoration: none; text-underline-offset: 3px; }
.site-footer a:hover { text-decoration: underline; color: #A9F0E8; }
.site-footer a:focus-visible, .site-footer summary:focus-visible { outline: 3px solid #A9F0E8; outline-offset: 3px; border-radius: 6px; }
.site-footer h2 { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7FE3D8; margin: 0; }
.site-footer h3 { font-size: .95rem; color: #fff; margin: 0 0 6px; }
.site-footer svg { width: 16px; height: 16px; flex: none; }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark small { color: rgba(255, 255, 255, .6); }
.footer-mega { display: flex; flex-wrap: wrap; gap: 36px 40px; }
.footer-mega > * { flex: 1 1 180px; min-width: 0; }
.footer-mega > .f-about { flex: 1.6 1 260px; }
.f-col { display: grid; gap: 28px; align-content: start; }
.f-brand { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 12px; }
.f-brand img { display: block; width: auto; height: 44px; }
.f-brand:has(.wordmark) { background: none; padding: 0; }
.f-intro { margin: 16px 0 14px; max-width: 42ch; line-height: 1.6; }
.f-sec > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: default; margin-bottom: 14px; }
.f-sec > summary::-webkit-details-marker { display: none; }
.f-chev { display: none; transition: transform .2s ease; }
.f-links, .f-contact, .f-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-links small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.f-links-inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.f-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #A9F0E8 !important; }
.f-contact a, .f-text { display: inline-flex; align-items: flex-start; gap: 8px; overflow-wrap: anywhere; }
.f-contact svg { margin-top: 3px; color: #7FE3D8; }
.f-body { display: grid; gap: 16px; }
.f-branch { padding-top: 14px; border-top: 1px solid var(--f-line); }
.f-body > .f-branch:first-child { padding-top: 0; border-top: 0; }
.f-social { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.f-social a { display: inline-flex; align-items: center; gap: 10px; }
.f-social svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid var(--f-line); }
.f-social a:hover svg { background: var(--teal); border-color: var(--teal); color: #fff; }
.f-companies { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--f-line); }
.f-companies h2 { margin-bottom: 16px; }
.company-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.company-card { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid var(--f-line); }
.company-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(61, 59, 200, .5); color: #fff; }
.company-icon svg { width: 20px; height: 20px; }
.company-body { display: grid; gap: 4px; min-width: 0; }
.company-body strong { color: #fff; }
.company-body small { font-size: .86rem; color: var(--f-text); }
.company-body a { font-weight: 700; color: #A9F0E8; font-size: .88rem; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--f-line); font-size: .86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: rgba(255, 255, 255, .66); }
.f-sep { margin: 0 6px; }

/* Phones: one column; each section is a disclosure (site.js closes them; open without JS). */
@media (max-width: 640px) {
    .footer-mega { flex-direction: column; gap: 0; }
    .footer-mega > *, .footer-mega > .f-about { flex: none; }
    .footer-mega > .f-about { padding-bottom: 20px; }
    .f-col { gap: 0; }
    .f-sec { border-top: 1px solid var(--f-line); }
    .f-sec:last-child { border-bottom: 1px solid var(--f-line); }
    .footer-mega > .f-col:not(:last-child) .f-sec:last-child { border-bottom: 0; }
    .f-sec > summary { cursor: pointer; margin: 0; min-height: 48px; padding: 12px 0; }
    .f-chev { display: block; width: 20px; height: 20px; color: #7FE3D8; }
    .f-sec[open] > summary .f-chev { transform: rotate(180deg); }
    .f-sec > :not(summary) { padding-bottom: 18px; }
    .f-companies { margin-top: 28px; padding-top: 0; border-top: 0; }
    .footer-base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .f-chev { transition: none; } }

/* Motion: subtle, and off when the visitor prefers less motion */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.float { animation: float 7s ease-in-out infinite; transform-box: fill-box; }
.float.d2 { animation-delay: -2.4s; }
.float.d3 { animation-delay: -4.6s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .float { animation: none; }
    .btn, .course-card { transition: none; }
    .course-card:hover, .btn:hover { transform: none; }
}

/* ---------------------------------------------------------------- Home page quick links (inside the hero)
   Compact chips to verified DICEST information pages; they wrap, so the page never scrolls sideways. */
.quick-links { margin-top: 22px; }
.ql-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ql { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .9rem;
    transition: border-color .15s, color .15s, box-shadow .15s; }
.ql svg { width: 18px; height: 18px; color: var(--indigo); flex-shrink: 0; }
.ql:hover { border-color: var(--indigo); color: var(--ink); box-shadow: var(--shadow); }
.ql:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
/* ---------------------------------------------------------------- Home page slider (admin-managed)
   The banner is the design: shown complete and unaltered at its own aspect ratio (1600:431 for the
   intended artwork) — no overlay, gradient, border or text on top, no crop (contain), no recolouring.
   Clean rounded corners clip the frame and the image with the same radius; the soft shadow sits
   outside the image only. The box is reserved before loading, so nothing shifts. */
.home-slider { --slider-radius: 18px; padding: 0 0 clamp(28px, 4vw, 48px); }
.slider-frame { position: relative; aspect-ratio: var(--slide-ratio, 1600 / 431); border-radius: var(--slider-radius); overflow: hidden;
    background: #EEF0F7; box-shadow: 0 12px 32px -18px rgba(14, 16, 51, .35), 0 2px 6px -2px rgba(14, 16, 51, .08); isolation: isolate; }
.slider-track, .slide { position: absolute; inset: 0; }
.slide[hidden] { display: none; }
.slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; border-radius: var(--slider-radius); }
.slide.is-entering { animation: slide-in .45s ease both; }
@keyframes slide-in { from { opacity: .35; } to { opacity: 1; } }

/* Below the banner, centred: one compact control pill (previous · dots · next | pause) and the current slide's own button. */
.slider-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 14px; }
.slider-controls { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14, 16, 51, .05), 0 6px 16px -10px rgba(14, 16, 51, .25); }
.slider-controls[hidden], .slider-btn[hidden], .slide-cta[hidden] { display: none; }
.slider-btn { width: 36px; height: 36px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    color: var(--ink-2); background: transparent; transition: background .15s, color .15s; }
.slider-btn:hover { background: var(--indigo-50); color: var(--indigo); }
.slider-btn svg { width: 16px; height: 16px; }
.slider-pause { margin-left: 4px; position: relative; }
.slider-pause::before { content: ""; position: absolute; left: -3px; top: 9px; bottom: 9px; width: 1px; background: var(--line); }
.slider-pause .i-play, .slider-pause[data-paused] .i-pause { display: none; }
.slider-pause[data-paused] .i-play { display: block; }
.slider-dots { display: flex; align-items: center; gap: 0; padding: 0 2px; }
/* An 8px dot (the active one a 24px indigo pill) inside a 28px click/tap target. */
.slider-dot { position: relative; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.slider-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%); border-radius: 999px;
    background: #C3C7DD; transition: width .2s ease, background .2s ease; }
.slider-dot:hover::before { background: #8E93B8; }
.slider-dot[aria-current="true"]::before { width: 24px; background: var(--indigo); }
.slider-btn:focus-visible, .slider-dot:focus-visible { outline: 3px solid var(--violet); outline-offset: 1px; }
.slide-btn { white-space: nowrap; }
@media (max-width: 640px) {
    .home-slider { --slider-radius: 16px; }
    /* Comfortable 44px touch targets on phones. */
    .slider-btn { width: 44px; height: 44px; }
    .slider-dot { width: 32px; height: 44px; }
    .slider-pause::before { top: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .slide.is-entering { animation: none; }
    .slider-dot::before { transition: none; }
}

/* ---------------------------------------------------------------- Home page: RKCL Certified Courses
   One section after the course cards. Desktop: the image slider (left) and the three compact course cards
   (right) side by side. Tablets/phones: stacked; cards in an auto-fitting grid, one column on phones.
   The slider reuses the home slider styles (.slider-frame …): banners whole at their own ratio. */
.rkcl { background: linear-gradient(180deg, rgba(239, 239, 255, .7), rgba(227, 247, 245, .45)); }
.rkcl-layout { display: grid; gap: clamp(18px, 2.6vw, 32px); }
/* Equal height: both columns stretch to the taller one (the three cards + their gaps); the slider frame
   grows to fill its column above the controls, so it follows the cards even when their text wraps.
   The image is shown whole inside it (contain) on a light neutral backdrop — never cropped or shaded. */
.rkcl-layout.has-slider { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; }
.rkcl-slider { --slider-radius: 18px; min-width: 0; display: flex; flex-direction: column; }
.rkcl-slider .slider-frame { aspect-ratio: auto; flex: 1 1 auto; min-height: 240px; background: #F1F2F8; }
.rkcl-slider .slider-bar { margin-top: 12px; flex: none; }
.rkcl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.rkcl-layout.no-slider .rkcl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 20px); }

/* Compact course card: thumbnail beside the text. */
.rkcl-card { position: relative; display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 14px; align-items: start; height: 100%; padding: 12px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rkcl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(61, 59, 200, .35); }
.rkcl-card:focus-within { border-color: var(--indigo); }
.rkcl-thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--indigo-50); }
.rkcl-thumb img, .rkcl-thumb .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.rkcl-thumb img { object-fit: cover; display: block; }
.rkcl-thumb .art-mono { font-size: 1.6rem; }
.rkcl-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rkcl-card h3 { margin: 0; font-size: 1.02rem; line-height: 1.25; }
.rkcl-card h3 a { color: var(--ink); text-decoration: none; }
.rkcl-card h3 a:hover { color: var(--indigo); }
.rkcl-desc { margin: 0; color: var(--ink-2); font-size: .88rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rkcl-card .facts { margin: 0; gap: 6px; }
.rkcl-card .fact { padding: 3px 9px; font-size: .76rem; }
.rkcl-cert { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--teal-ink); font-size: .8rem; font-weight: 600; }
.rkcl-cert svg { width: 15px; height: 15px; flex-shrink: 0; }
.rkcl-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: .88rem; font-weight: 700; color: var(--indigo); text-decoration: none; }
.rkcl-link svg { width: 15px; height: 15px; transition: transform .15s; }
.rkcl-link:hover svg { transform: translateX(3px); }
.rkcl-link:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
/* Without a slider the three cards sit in a row, each with its image on top. */
.rkcl-layout.no-slider .rkcl-card { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
.rkcl-layout.no-slider .rkcl-thumb { aspect-ratio: 16 / 9; border-radius: 0; }
.rkcl-layout.no-slider .rkcl-body { padding: 4px 18px 18px; gap: 8px; }

@media (max-width: 960px) {
    .rkcl-layout.has-slider { grid-template-columns: 1fr; }
    /* Stacked: the image at its own shape (box reserved before it loads). */
    .rkcl-slider .slider-frame { aspect-ratio: var(--slide-ratio, 4 / 3); flex: none; min-height: 0; }
    .rkcl-list, .rkcl-layout.no-slider .rkcl-list { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 640px) {
    .rkcl-slider { --slider-radius: 16px; }
    .rkcl-list, .rkcl-layout.no-slider .rkcl-list { grid-template-columns: 1fr; }
    .rkcl-card { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
    .rkcl-link { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .rkcl-card, .rkcl-card:hover, .rkcl-link svg { transition: none; transform: none; } }

/* WhatsApp: header button + floating button (only when a WhatsApp number is configured). Green with white text
   at an accessible contrast; the floating button never sits on the footer's last row (footer gets extra room). */
.btn-whatsapp { background: #0E7A43; color: #fff; border-color: #0E7A43; }
.btn-whatsapp:hover { background: #0B6436; border-color: #0B6436; color: #fff; transform: translateY(-1px); }
.btn-whatsapp .wa-short { display: none; }
@media (min-width: 981px) and (max-width: 1240px) { .btn-whatsapp .wa-full { display: none; } .btn-whatsapp .wa-short { display: inline; } }
.wa-float { position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #0E7A43; color: #fff; box-shadow: 0 10px 28px -8px rgba(14, 16, 51, .45), 0 2px 6px rgba(14, 16, 51, .18); transition: transform .15s ease, background-color .15s ease; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #0B6436; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid #A9F0E8; outline-offset: 3px; }
.has-wa-float .site-footer { padding-bottom: 96px; }
@media (max-width: 520px) { .wa-float { width: 52px; height: 52px; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); } .wa-float svg { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .wa-float, .btn-whatsapp { transition: none; } .wa-float:hover, .btn-whatsapp:hover { transform: none; } }
@media print { .wa-float { display: none; } }

/* "Meet your AI Course Advisor" strip above the footer (home page). */
.advisor-strip-wrap { padding: 0 0 clamp(40px, 6vw, 64px); }
.advisor-strip { display: flex; align-items: center; gap: 18px 24px; padding: 18px 24px; border-radius: var(--radius); background: linear-gradient(110deg, var(--indigo-50), #fff 55%, var(--teal-50)); border: 1px solid var(--line); }
.advisor-strip-avatar { width: 72px; height: 72px; flex: none; border-radius: 50%; overflow: hidden; background: #fff; border: 2px solid #fff; box-shadow: var(--shadow); display: grid; place-items: end center; }
.advisor-strip-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.advisor-strip-avatar .avatar-svg { width: 100%; height: 100%; }
.advisor-strip-text { flex: 1; min-width: 0; }
.advisor-strip-text h2 { font-size: clamp(1.1rem, 2vw, 1.3rem); margin: 0 0 2px; }
.advisor-strip-text p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.advisor-strip .btn { flex: none; }
.advisor-strip .btn, .hero-actions .btn { max-width: 100%; text-align: center; }   /* long labels wrap inside the button, never cut off */
@media (max-width: 860px) { .advisor-strip { flex-wrap: wrap; } .advisor-strip-text { flex-basis: calc(100% - 96px); } .advisor-strip .btn { width: 100%; } }
