/* =========================================================
   ITTrainings.in — design system
   Style: Trust & Authority + Conversion (navy base, orange only for actions)
   Fonts: Poppins (headings) + Inter (body)
   ========================================================= */
:root {
  /* brand */
  --navy-900: #021f2e; --navy-800: #003047; --navy-700: #0a3f5c; --navy-600: #135474;
  --orange-500: #ff6400; --orange-600: #e05600; --orange-50: #fff4ec;
  --green-600: #4f8a12; --green-500: #7db62d; --green-50: #f1f8e8;
  /* neutrals */
  --ink: #102330; --ink-2: #3c5060; --muted: #5d6f7c; --line: #e2e8ed; --line-2: #cfd9e0;
  --bg: #ffffff; --bg-soft: #f6f9fb; --bg-tint: #eef4f7;
  /* system */
  --radius-sm: 10px; --radius: 16px; --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(2, 31, 46, .06), 0 2px 8px rgba(2, 31, 46, .05);
  --shadow: 0 10px 30px rgba(2, 31, 46, .08);
  --shadow-lg: 0 24px 60px rgba(2, 31, 46, .18);
  --font-head: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
h1, h2, h3, .h3 { font-family: var(--font-head); color: var(--navy-800); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; }
h3, .h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(840px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.gap-top { margin-top: 48px; }
.gap-sm { margin-top: 20px; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.ic.sm { width: 1em; height: 1em; vertical-align: -.12em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn.block { width: 100%; }
.btn-accent { background: var(--orange-500); color: #fff; box-shadow: 0 6px 18px rgba(255, 100, 0, .28); }
.btn-accent:hover { background: var(--orange-600); color: #fff; }
.btn-primary { background: var(--navy-800); color: #fff; }
.btn-primary:hover { background: var(--navy-600); color: #fff; }
.btn-outline { border-color: var(--line-2); color: var(--navy-800); background: #fff; }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy-900); color: #b9cdd8; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links { gap: 18px !important; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--green-500); }
@media (max-width: 760px) { .topbar { display: none; } }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { width: 165px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.desktop-nav > a, .dd-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; text-decoration: none; }
.desktop-nav > a:hover, .dd-trigger:hover, .dd:focus-within .dd-trigger { background: var(--bg-tint); color: var(--navy-800); }
.desktop-nav a[aria-current="page"] { color: var(--orange-600); }
.hdr-actions { display: flex; align-items: center; gap: 12px; }
.hdr-call { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy-800); text-decoration: none; padding: 8px; }
/* courses dropdown */
.dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: min(860px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; opacity: 0; visibility: hidden; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.dd-panel::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; }
.dd-cat { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 600 .78rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--green-600); }
.dd-grid ul { list-style: none; margin: 0; padding: 0; }
.dd-grid a { display: block; padding: 6px 8px; margin-left: -8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.dd-grid a:hover { background: var(--bg-tint); color: var(--navy-800); }
.dd-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; font-weight: 600; color: var(--orange-600); text-decoration: none; }
/* mobile menu */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 11px; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { position: fixed; left: 0; right: 0; top: var(--header-h); max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 8px 16px 110px; display: flex; flex-direction: column; }
.mobile-nav > a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.mobile-nav .dd-cat { margin-top: 18px; }
.mobile-courses { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; }
.mobile-courses a { display: block; padding: 9px 0; color: var(--ink-2); text-decoration: none; font-size: .95rem; break-inside: avoid; }
@media (max-width: 1020px) { .desktop-nav { display: none; } .menu { display: block; } .hdr-actions { margin-left: auto; } }
@media (max-width: 560px) { .hdr-call span { display: none; } .hdr-actions .btn-sm { display: none; } .brand img { width: 140px; } }

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 12px 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy-800); text-decoration: underline; }

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; color: #d6e5ec; background:
  radial-gradient(900px 420px at 90% -10%, rgba(125, 182, 45, .30), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(255, 100, 0, .14), transparent 60%),
  linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%); }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); pointer-events: none; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.hero { padding: 64px 0 72px; }
.page-hero { padding: 48px 0 56px; }
.hero h1, .page-hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .95fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: #cfe0e8; max-width: 44em; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e4f0d8; font-size: .85rem; font-weight: 500; }
.pill .ic { color: var(--green-500); }
.hero-points { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 8px; }
.hero-points li { display: flex; align-items: center; gap: 10px; color: #e8f1f5; }
.hero-points .ico { color: var(--green-500); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: #fff; }
.hero-chips .ic { color: var(--green-500); }
.hero-form .form { box-shadow: var(--shadow-lg); border: 0; }
.rating-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; font-size: .92rem; }
.rating-badge:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.stars { color: #ffb400; letter-spacing: 2px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 40px 0 48px; } }

/* ---------- proof strip ---------- */
.proof { background: #fff; border-bottom: 1px solid var(--line); }
.proof-list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.proof-list li { display: flex; align-items: center; gap: 12px; }
.proof-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); color: var(--green-600); flex: none; }
.proof-list strong { display: block; font: 700 1.35rem/1.1 var(--font-head); color: var(--navy-800); }
.proof-list small { color: var(--muted); font-size: .85rem; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { display: inline-block; margin-bottom: 10px !important; font: 600 .8rem/1 var(--font-body) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600) !important; }
.sub-h { margin-top: 36px; font-size: 1rem; color: var(--ink-2); }
@media (max-width: 760px) { .section { padding: 56px 0; } }

/* grids & cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }

/* course cards */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font: 500 .92rem var(--font-body); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.filter button:hover { border-color: var(--navy-800); color: var(--navy-800); }
.filter button[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.course-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.course-card[hidden] { display: none; }
.cc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); color: var(--navy-700); }
.cc-cat { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green-600); }
.course-card h3 { margin-bottom: 8px; }
.course-card h3 a { color: var(--navy-800); text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.course-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.cc-meta { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-meta li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: .82rem; font-weight: 500; }
.cc-meta .cc-rating { background: #fff6e0; color: #7a5200; }
.cc-meta .cc-rating span { color: #9a7a3a; font-weight: 400; }
.cc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange-600); }
.course-card:hover .cc-link .ic { transform: translateX(3px); }
.cc-link .ic { transition: transform .2s var(--ease); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 28px; border-top: 2px dashed var(--line-2); }
.timeline li { position: relative; text-align: center; padding: 0 8px; }
.t-ic { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy-800); color: #fff; box-shadow: 0 0 0 6px var(--bg-soft); }
.timeline strong { display: block; font-family: var(--font-head); color: var(--navy-800); margin-bottom: 4px; }
.timeline span:not(.t-ic) { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline::before { display: none; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } .timeline li { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; } .t-ic { grid-row: span 2; margin: 0; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.b-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.b-card p, .b-card address { color: var(--muted); }
.b-wide { grid-column: span 2; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); border: 0; }
.b-wide h3 { color: #fff; font-size: 1.4rem; }
.b-wide p { color: #cfe0e8; font-size: 1.05rem; max-width: 36em; }
.b-wide .b-ic { background: rgba(255, 255, 255, .12); color: var(--green-500); }
.b-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--green-600); margin-bottom: 16px; }
.b-map { background: var(--orange-50); border-color: #ffd9bf; }
.b-map .b-ic { background: #fff; color: var(--orange-600); }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .b-wide { grid-column: auto; } }

/* hub cards */
.hub-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.hub-card strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy-800); }
.hub-card span:not(.b-ic) { color: var(--muted); font-size: .92rem; }
.hub-card em { margin-top: 8px; font-style: normal; font-weight: 600; color: var(--orange-600); display: inline-flex; align-items: center; gap: 6px; }

/* area / district links */
.area-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--navy-800); text-decoration: none; font-size: .9rem; transition: border-color .15s, color .15s; }
.area-links a:hover { border-color: var(--green-500); color: var(--green-600); }
.course-list { list-style: none; margin: 0 0 28px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.course-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.course-list li:last-child { border-bottom: 0; }
.course-list a { color: var(--navy-800); text-decoration: none; }
.course-list a:hover { color: var(--orange-600); }
.course-list span { color: var(--muted); font-size: .9rem; }
.district-list { color: var(--muted); line-height: 2; }

/* steps (area & location pages) */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange-500); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps strong { display: block; color: var(--navy-800); margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: .93rem; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 10px; padding: 7px 0; }
.checks .ico { color: var(--green-600); margin-top: .25em; }

/* answer box (quotable summary) */
.answer { position: relative; background: var(--green-50); border: 1px solid #d8eabf; border-left: 5px solid var(--green-500); padding: 18px 22px; border-radius: var(--radius-sm); margin: 0 0 32px; color: var(--ink); }

/* ---------- course page ---------- */
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding: 56px 0 24px; }
.course-side { position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.side-card dl { margin: 0 0 8px; }
.side-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.side-card dt { color: var(--muted); }
.side-card dd { margin: 0; font-weight: 600; text-align: right; }
.toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 36px; padding: 12px 14px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: .92rem; }
.toc strong { margin-right: 6px; color: var(--ink-2); }
.toc a { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy-800); }
.toc a:hover { border-color: var(--navy-800); }
.modules { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.modules li { display: flex; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.modules li:last-child { border-bottom: 0; }
.modules .num { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-tint); color: var(--navy-700); font: 700 .9rem var(--font-head); }
.modules h3 { margin-bottom: 2px; font-size: 1.05rem; }
.modules p { margin: 0; color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--bg-tint); color: var(--navy-800); font-size: .92rem; font-weight: 500; }
.rating-summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 18px; border-radius: var(--radius); background: #fffaf0; border: 1px solid #f6e3b8; }
.rating-summary > strong { font: 700 2.6rem/1 var(--font-head); color: var(--navy-800); }
.rating-summary .stars { display: block; font-size: 1.2rem; }
.rating-summary span:not(.stars) { color: var(--muted); font-size: .92rem; }
.updated { color: var(--muted); font-size: .85rem; margin-top: 28px; }
.demo-split { align-items: center; }
@media (max-width: 1000px) { .course-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; } .course-side { position: static; } }

/* reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.rating-big { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 22px; box-shadow: var(--shadow-sm); }
.rating-big > strong { font: 700 2.6rem/1 var(--font-head); color: var(--navy-800); }
.rating-big .stars { display: block; font-size: 1.3rem; }
.rating-big span:not(.stars) { font-size: .88rem; color: var(--muted); }
.review-card { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.review-card blockquote { margin: 0; color: var(--ink); flex: 1; }
.review-card figcaption { display: flex; flex-direction: column; font-size: .9rem; }
.review-card figcaption span { color: var(--muted); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 700px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--bg-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.compare tbody tr:hover { background: var(--bg-soft); }
.compare a { color: var(--navy-800); font-weight: 600; text-decoration: none; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; transition: border-color .15s, box-shadow .15s; }
.faq[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 18px 36px 18px 0; font-weight: 600; color: var(--navy-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--orange-500); border-bottom: 2px solid var(--orange-500); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* CTA band */
.cta { padding: 64px 0; color: #d6e5ec; background: radial-gradient(600px 300px at 100% 0, rgba(255, 100, 0, .22), transparent 60%), linear-gradient(120deg, var(--navy-900), var(--navy-700)); }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* forms */
.form { display: grid; gap: 14px; }
.form-title { font-size: 1.3rem; margin: 0; }
.form .small { margin: -6px 0 2px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.form input:not([type=radio]), .form select, .form textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: 400 1rem var(--font-body); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.form textarea { min-height: 90px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(19, 84, 116, .15); }
.form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; width: 100%; }
.form label.inline { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.form-error { color: #b42318; font-weight: 600; margin: 0; }
.form-note { margin: 0; text-align: center; font-size: .8rem; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); padding: 18px; transition: border-color .15s, transform .2s var(--ease); }
.contact-card:hover { border-color: var(--navy-800); transform: translateY(-2px); color: var(--ink); }
.contact-card svg { width: 26px; height: 26px; color: var(--orange-500); flex: none; }
.contact-card strong { display: block; color: var(--navy-800); }
.contact-card span { font-size: .92rem; word-break: break-word; }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.map-card address { font-weight: 600; margin-bottom: .6em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #a7bfcb; padding: 64px 0 0; font-size: .93rem; }
.site-footer a { color: #e1edf2; text-decoration: none; }
.site-footer a:hover { color: var(--orange-500); }
.site-footer h2 { color: #fff; font: 600 .85rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.grid-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-logo { background: #fff; padding: 8px 12px; border-radius: 12px; width: 175px; margin-bottom: 16px; }
.f-rating { color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { padding: 6px 12px; border: 1px solid #1d4a60; border-radius: 999px; font-size: .85rem; }
.social a:hover { border-color: var(--orange-500); }
.footer-areas { border-top: 1px solid #12384b; margin-top: 40px; padding-top: 26px; }
.footer-areas ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #12384b; margin-top: 28px; padding: 20px 0 28px; font-size: .82rem; }
@media (max-width: 960px) { .grid-footer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-footer { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- floating actions ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); z-index: 70; transition: transform .2s var(--ease); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(2, 31, 46, .1); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--navy-800); font-weight: 600; text-decoration: none; font-size: .95rem; }
  .mobile-bar a:nth-child(2) { color: #128c4a; }
  .mobile-bar .mb-cta { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:hover, .course-card:hover, .hub-card:hover { transform: none; }
}

/* search-name helpers */
.aka { margin: -6px 0 0; font-size: .88rem; color: #a9c4d1; }
.cc-full { margin: -4px 0 8px !important; font-size: .82rem !important; color: var(--green-600) !important; font-weight: 600; flex: 0 !important; }

/* ---------- preview build additions ---------- */
.preview-banner { background: #fff4ec; color: #7a3300; border-bottom: 1px solid #ffd9bf; text-align: center; font-size: .88rem; padding: 8px 16px; }
.brand-text { font: 700 1.45rem/1 var(--font-head); color: var(--navy-800); text-decoration: none; letter-spacing: -.02em; }
.brand-text span { color: var(--orange-500); }
.brand-text:hover { color: var(--navy-800); }
.footer-wordmark { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.form .btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }
.form input, .form select, .form textarea { background: #fafbfc; }

/* Cloud-track comparison table: let it scroll inside its wrapper on narrow screens instead of widening the page */
@media (max-width: 1000px) { .course-layout { grid-template-columns: minmax(0, 1fr); } }
