:root {
  --color-bg: #000000;
  --color-surface: #0a1628;
  --color-surface-elevated: #12243d;
  --color-border: #1e3a5f;
  --color-text: #ffffff;
  --color-text-muted: #a8b8d0;
  --color-accent: #2563eb;
  --color-accent-hover: #3b82f6;
  --color-accent-bright: #60a5fa;
  --color-accent-dark: #1d4ed8;
  --color-accent-glow: rgba(37, 99, 235, 0.22);
  --color-on-accent: #ffffff;
  --color-success: #22c55e;
  --color-white: #ffffff;
  --gradient-accent: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #60a5fa 100%);
  --gradient-hero-text: linear-gradient(135deg, #ffffff 0%, #bfdbfe 55%, #60a5fa 100%);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.18);
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  padding-top: env(safe-area-inset-top, 0);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.header-scrolled {
  background: rgba(0, 0, 0, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.site-footer .logo-img {
  height: 36px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.625rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:active {
  background: var(--color-surface);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + env(safe-area-inset-top, 0));
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0));
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--color-border);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 99;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.875rem 1rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text-muted);
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--color-surface);
  color: var(--color-text);
}

.nav-mobile-cta {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.nav-mobile-cta .btn {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-on-accent);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn-primary:hover {
  background: var(--gradient-accent);
  box-shadow: 0 6px 28px rgba(37, 99, 235, 0.5);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text-muted);
  background: var(--color-surface);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .clients-marquee-track,
  .hero-badge::before,
  .hero-scroll-hint,
  .chat-launcher {
    animation: none !important;
  }
}

/* Hero */
.hero {
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, var(--color-accent-glow), transparent),
    var(--color-bg);
}

.page-home .hero--vanta {
  position: relative;
  isolation: isolate;
  background: var(--color-bg);
}

.page-home #vanta-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  background: var(--color-bg);
}

.page-home .hero--vanta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, var(--color-accent-glow), transparent);
}

.page-home .hero--vanta > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.875rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse-dot 2.2s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: #ffffff;
  background: var(--gradient-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    color: transparent;
  }
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.stat-card {
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.stat-card:hover {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 32px rgba(37, 99, 235, 0.15);
  transform: translateY(-3px);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.stat-card span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 3rem auto 0;
  position: relative;
  z-index: 1;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  opacity: 0.7;
  animation: bob-hint 2.4s ease-in-out infinite;
}

.hero-scroll-hint svg {
  opacity: 0.85;
}

@keyframes bob-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Trust strip */
.trust-strip {
  border-block: 1px solid var(--color-border);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  padding: 1.25rem 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.trust-item__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.18);
  font-size: 1.1rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.trust-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.1rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.85rem auto 0;
  border-radius: 2px;
  background: var(--gradient-accent);
  opacity: 0.85;
}

.section-header p {
  color: var(--color-text-muted);
}

.section-alt {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

/* Course cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.course-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.25s;
}

.section-alt .course-card {
  background: var(--color-bg);
}

.course-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.course-card:hover::before {
  opacity: 1;
}

.course-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.course-standard {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.course-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.service-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.feature-item:hover {
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-item h3::before {
  content: "";
  width: 4px;
  height: 1.1em;
  background: var(--color-accent);
  border-radius: 2px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-left: 0.75rem;
}

/* Clients marquee */
.clients-marquee {
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 0.75rem 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(10, 22, 40, 0.5);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
  padding: 0.25rem 1rem;
}

.clients-marquee:hover .clients-marquee-track {
  animation-play-state: paused;
}

.clients-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 140px;
  padding: 0 0.5rem;
  opacity: 0.88;
  filter: grayscale(0.15);
  transition: opacity 0.2s, filter 0.2s;
}

.clients-marquee-item:hover {
  opacity: 1;
  filter: none;
}

.clients-marquee-item img {
  max-height: 44px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
}

.clients-marquee-item span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.client-card {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.client-card a {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.section-alt .client-card {
  background: var(--color-bg);
}

.client-card:hover {
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
}

.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 92px;
  padding: 0.5rem 0.625rem;
  background: #f8fafc;
  border-radius: 8px;
  box-sizing: border-box;
}

.client-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.client-card span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1e293b;
  line-height: 1.35;
  padding: 0 0.25rem;
}

.clients-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #0f172a 0%, var(--color-accent-dark) 35%, var(--color-accent) 100%);
  color: var(--color-white);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(96, 165, 250, 0.35), transparent),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(37, 99, 235, 0.25), transparent);
  pointer-events: none;
}

.cta-band > .container {
  position: relative;
  z-index: 1;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-band p {
  opacity: 0.85;
  max-width: 480px;
}

.cta-band .btn-primary {
  background: var(--color-white);
  color: var(--color-accent-dark);
}

.cta-band .btn-primary:hover {
  background: #f1f5f9;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.cta-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.75rem 0 2.75rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, var(--color-accent-glow), transparent),
    var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 480px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}

.page-hero-note {
  margin-top: 1rem;
  color: var(--color-text);
  font-weight: 500;
}

.page-hero--services {
  padding: 4.25rem 0 3rem;
  background:
    radial-gradient(ellipse 90% 70% at 20% -10%, rgba(37, 99, 235, 0.28), transparent),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(96, 165, 250, 0.12), transparent),
    var(--color-bg);
}

.page-hero--services h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 18ch;
}

.page-hero--services h1 em {
  font-style: normal;
  background: var(--gradient-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero--services .hero-badge {
  margin-bottom: 1rem;
}

.page-hero-actions {
  margin-top: 1.75rem;
}

.page-hero-actions .btn {
  min-height: 48px;
}

/* Services quick jump */
.services-jump {
  position: sticky;
  top: calc(var(--header-height) + env(safe-area-inset-top, 0));
  z-index: 40;
  padding: 0.85rem 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.services-jump__track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.15rem;
}

.services-jump__track::-webkit-scrollbar {
  display: none;
}

.services-jump__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  min-height: 40px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: rgba(10, 22, 40, 0.65);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.services-jump__link:hover,
.services-jump__link:focus-visible {
  border-color: rgba(96, 165, 250, 0.55);
  color: var(--color-text);
  background: rgba(37, 99, 235, 0.14);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.12);
}

.services-jump__icon {
  font-size: 1rem;
  line-height: 1;
}

/* Service cards — slightly richer on services page */
.page-services .course-card {
  scroll-margin-top: calc(var(--header-height) + 4.5rem);
}

.page-services .service-list li::before {
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.45);
}

.page-services .feature-item h3::before {
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.35);
}

/* Cert page */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-card p,
.info-card li {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.info-card ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}

.info-card li + li {
  margin-top: 0.5rem;
}

.verify-box {
  background: var(--color-surface-elevated);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.verify-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.verify-box p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.compliance-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compliance-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.compliance-list li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-detail {
  margin-bottom: 1.75rem;
}

.contact-detail a {
  color: var(--color-accent);
  font-weight: 600;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-detail p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Course filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
}

.course-card[data-hidden="true"] {
  display: none;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  max-width: 280px;
}

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

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-inner .btn-primary {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 1.25rem;
  }

  .hero-scroll-hint {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .course-grid,
  .feature-grid,
  .clients-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .course-card,
  .info-card,
  .contact-form {
    padding: 1.5rem;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  .page-hero-actions {
    flex-direction: column;
  }

  .page-hero-actions .btn {
    width: 100%;
  }

  .services-jump__link {
    min-height: 44px;
    font-size: 0.8rem;
  }

  .cta-band {
    padding: 3rem 0;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-band .btn {
    width: 100%;
    min-height: 48px;
  }

  .filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.625rem 1.125rem;
  }

  .verify-box {
    padding: 1.75rem 1.25rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .form-group textarea {
    min-height: 120px;
  }

  .contact-form .btn {
    width: 100%;
    min-height: 48px;
  }

  .site-footer {
    padding: 2.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0));
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .logo-img {
    height: 36px;
  }

  .site-footer .logo-img {
    height: 32px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .client-logo-wrap {
    height: 80px;
    padding: 0.5rem;
  }

  .compliance-list li {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
}

@media (hover: none) {
  .btn:hover,
  .course-card:hover,
  .client-card:hover,
  .stat-card:hover,
  .feature-item:hover {
    transform: none;
  }
}

/* Visually hidden (accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Receptionist chat widget */
.chat-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0));
  bottom: max(1rem, env(safe-area-inset-bottom, 0));
  z-index: 110;
  font-family: var(--font-sans);
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.125rem;
  min-height: 52px;
  border: none;
  border-radius: 100px;
  background: var(--gradient-accent);
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
  transition: transform 0.15s, box-shadow 0.2s;
  animation: chat-glow 3s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}

@keyframes chat-glow {
  0%, 100% { box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4); }
  50% { box-shadow: 0 8px 36px rgba(96, 165, 250, 0.55); }
}

.chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.chat-launcher[aria-expanded="true"] {
  display: none;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 2rem));
  height: min(560px, calc(100vh - 6rem));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.125rem;
  background: var(--color-surface-elevated);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.chat-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.chat-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.chat-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.chat-close:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.chat-message {
  display: flex;
}

.chat-message--user {
  justify-content: flex-end;
}

.chat-message--bot {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.chat-message--user .chat-bubble {
  background: var(--color-accent);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.chat-message--bot .chat-bubble {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}

.chat-bubble a {
  color: var(--color-accent-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-message--user .chat-bubble a {
  color: var(--color-white);
}

.chat-bubble strong {
  font-weight: 600;
}

.chat-typing {
  color: var(--color-text-muted);
  font-style: italic;
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.75rem;
  flex-shrink: 0;
}

.chat-quick-btn {
  padding: 0.45rem 0.75rem;
  min-height: 36px;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.chat-quick-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
  background: rgba(37, 99, 235, 0.1);
}

.chat-input-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-elevated);
  flex-shrink: 0;
}

.chat-input-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
}

.chat-input-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.chat-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius);
  background: var(--color-accent);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s;
}

.chat-send:hover {
  background: var(--color-accent-hover);
}

body.chat-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .chat-widget {
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
  }

  .chat-launcher {
    pointer-events: auto;
    position: fixed;
    right: max(1rem, env(safe-area-inset-right, 0));
    bottom: max(1rem, env(safe-area-inset-bottom, 0));
  }

  .chat-panel {
    pointer-events: auto;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    height: min(88vh, 640px);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
  }

  .chat-launcher-text {
    display: none;
  }

  .chat-launcher {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (hover: none) {
  .chat-launcher:hover {
    transform: none;
  }
}