/* AmeriDenti: design system. Palette and type: docs/brand-guide.md */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy-950: #06062e;
  --navy-900: #0a0a4f;
  --navy-700: #10107b;
  --navy-500: #3b3b98;
  --navy-100: #e8e8f7;
  --slate-600: #52527a;
  --slate-50: #f6f7fb;
  --orange-500: #e66641;
  --orange-600: #c4471f;
  --orange-300: #ff8a65;
  --orange-50: #fdeee8;
  --teal-500: #0e9f9a;
  --teal-700: #0b7f7b;
  --teal-300: #2dd4bf;
  --success: #3fca90;
  --danger: #ed5050;
  --star: #ffa311;

  /* semantic (light) */
  --bg: #ffffff;
  --bg-tint: var(--slate-50);
  --surface: #ffffff;
  --surface-2: #f1f2f9;
  --heading: var(--navy-700);
  --text: #2a2a4a;
  --text-2: var(--slate-600);
  --border: #e3e4f0;
  --accent-text: var(--orange-600);
  --teal-text: var(--teal-700);
  --shadow-sm: 0 1px 2px rgba(10, 10, 79, 0.06), 0 2px 8px rgba(10, 10, 79, 0.05);
  --shadow: 0 10px 30px -12px rgba(10, 10, 79, 0.18), 0 2px 6px rgba(10, 10, 79, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(10, 10, 79, 0.35);
  --field-bg: #ffffff;

  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Geist', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

:root[data-theme='dark'] {
  --bg: #07072a;
  --bg-tint: #0b0b38;
  --surface: #0f0f44;
  --surface-2: #15154f;
  --heading: #ffffff;
  --text: #d9d9f0;
  --text-2: #a3a3c8;
  --border: #23235e;
  --accent-text: var(--orange-300);
  --teal-text: var(--teal-300);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  --field-bg: #0b0b38;
  color-scheme: dark;
}

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-500); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange-500); color: #fff; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.22em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.muted { color: var(--text-2); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -9999px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--orange-600); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
mark.ph { background: #fff3cd; color: #6b4e00; border: 1px dashed #d4a72c; border-radius: 6px; padding: 0 6px; font-size: 0.88em; font-weight: 600; white-space: normal; }
.grad {
  background: linear-gradient(100deg, var(--orange-300) 0%, var(--orange-500) 45%, #ffb199 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font: 700 0.78rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow.on-dark { color: var(--orange-300); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #c9c9ea; max-width: 640px; }
.lead strong { color: #fff; }
.lead-dark { font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--heading); font-family: var(--font-head); font-weight: 600; line-height: 1.5; max-width: 900px; }

/* ---------- buttons ---------- */
.btn {
  --bg-btn: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 0.98rem/1.1 var(--font-head); text-decoration: none; cursor: pointer;
  background: var(--bg-btn); color: var(--heading);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(196, 71, 31, 0.7); }
.btn-primary:hover { background: #b03d18; color: #fff; box-shadow: 0 16px 30px -12px rgba(196, 71, 31, 0.85); }
.btn-glass { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn-ghost { background: var(--surface-2); color: var(--heading); }
.btn-ghost:hover { color: var(--heading); background: var(--navy-100); }
:root[data-theme='dark'] .btn-ghost:hover { background: #20205e; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--heading); }
.btn-outline:hover { border-color: var(--orange-500); color: var(--heading); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-family: var(--font-head); text-decoration: none; color: var(--accent-text); }
.text-link .ic { transition: transform 0.25s var(--ease); }
.text-link:hover .ic { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: height 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
:root[data-theme='dark'] .site-header { background: rgba(7, 7, 42, 0.8); }
.site-header.is-scrolled { --header-h: 64px; border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-in { height: 100%; display: flex; align-items: center; gap: 18px; max-width: 1440px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-chip { width: 46px; height: 46px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform 0.3s var(--ease); }
.brand:hover .brand-chip { transform: rotate(-6deg) scale(1.05); }
.brand-chip img { width: 36px; height: auto; }
.brand-word { font: 800 1.35rem/1 var(--font-head); color: var(--navy-700); letter-spacing: -0.02em; }
.brand-word b { color: var(--orange-500); font-weight: 800; }
:root[data-theme='dark'] .brand-word { color: #fff; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: block; padding: 10px 10px; font: 600 0.8rem/1 var(--font-head); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
  color: var(--heading); text-decoration: none; border-radius: 10px; transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link[aria-current] { color: var(--accent-text); }
.nav-link[aria-current]::after { content: ''; display: block; height: 2px; border-radius: 2px; margin-top: 5px; background: var(--orange-500); }
.sub-toggle { display: none; }
.mega, .drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  transition: opacity 0.22s, transform 0.22s var(--ease), visibility 0.22s; z-index: 10;
}
.has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-sub:hover > .mega, .has-sub:focus-within > .mega, .has-sub:hover > .drop, .has-sub:focus-within > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega { width: min(980px, 92vw); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 18px; padding: 22px 24px 18px; left: 160%; }
.mega-h { font: 700 0.72rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin: 4px 0 10px 10px; }
.mega ul, .drop ul { list-style: none; margin: 0; padding: 0; }
.mega a, .drop a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--heading); font-weight: 500; font-size: 0.94rem; transition: background 0.2s, color 0.2s; }
.mega a .ic { color: var(--orange-500); }
.mega a:hover, .drop a:hover { background: var(--surface-2); color: var(--accent-text); }
.mega-all { grid-column: 1 / -1; justify-content: center; border-top: 1px solid var(--border); border-radius: 0 !important; margin-top: 6px; padding-top: 14px !important; font-weight: 700 !important; color: var(--accent-text) !important; }
.drop { width: 300px; padding: 10px; }
.drop a { flex-direction: column; align-items: flex-start; gap: 2px; }
.drop small { color: var(--text-2); font-size: 0.82rem; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn { white-space: nowrap; }
.theme-toggle, .burger {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  color: var(--heading); display: grid; place-items: center; cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.theme-toggle:hover, .burger:hover { background: var(--surface-2); }
.theme-toggle .ic, .burger .ic { grid-area: 1 / 1; transition: transform 0.4s var(--ease), opacity 0.3s; }
.theme-toggle .i-sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
:root[data-theme='dark'] .theme-toggle .i-sun { opacity: 1; transform: none; }
:root[data-theme='dark'] .theme-toggle .i-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
.burger { display: none; }
.burger .i-close { opacity: 0; transform: rotate(-90deg); }
.nav-mobile-extra { display: none; }

/* ---------- dark backdrop shared by hero, page hero, AI, CTA ---------- */
.hero, .page-hero, .dark, .cta-band { position: relative; color: #d9d9f0; background: var(--navy-950); isolation: isolate; overflow: hidden; }
.hero h1, .hero h2, .page-hero h1, .dark h2, .dark h3, .cta-band h2 { color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-photo { position: absolute; inset: 0; background: url('../img/hero-texture.webp') center/cover no-repeat; opacity: 0.32; mask-image: linear-gradient(90deg, transparent 0%, #000 55%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; background: var(--orange-500); top: -180px; right: -120px; opacity: 0.35; }
.o2 { width: 460px; height: 460px; background: var(--navy-500); bottom: -200px; left: -140px; animation-delay: -6s; }
.o3 { width: 340px; height: 340px; background: var(--teal-500); top: 40%; left: 45%; opacity: 0.28; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
.grid-lines {
  position: absolute; inset: 0; opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.glass { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6); }

/* ---------- home hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(70px, 10vw, 120px); }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.95rem; color: #c9c9ea; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ic { color: var(--teal-300); }

.flow { position: relative; min-height: 420px; }
.flow-card { border-radius: 26px; padding: 22px; position: relative; z-index: 1; }
.flow-head { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); margin-bottom: 18px; }
.flow-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); }
.flow-head em { margin-left: auto; font-style: normal; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-300); border: 1px solid rgba(45, 212, 191, 0.4); padding: 4px 8px; border-radius: 999px; }
.flow-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.flow-col p { margin: 0 0 8px; font: 600 0.74rem/1 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: #a3a3c8; }
.flow-lane { height: 190px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px dashed rgba(255, 255, 255, 0.12); }
.flow-lane.l2 { background: rgba(63, 202, 144, 0.08); border-color: rgba(63, 202, 144, 0.35); }
.flow-claims { position: absolute; left: 22px; right: 22px; top: 82px; height: 190px; }
.claim {
  position: absolute; left: 0; width: calc((100% - 20px) / 3 - 12px); margin: 0 6px; padding: 10px 12px; border-radius: 12px;
  background: #fff; color: var(--navy-900); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.5); font-size: 0.78rem; line-height: 1.3;
  animation: travel 9s var(--ease) infinite;
}
.claim b { display: block; font-family: var(--font-head); font-size: 0.86rem; }
.claim span { color: var(--slate-600); }
.claim::after { content: ''; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); animation: status 9s infinite; }
.c1 { top: 10px; }
.c2 { top: 72px; animation-delay: -3s; }
.c2::after { animation-delay: -3s; }
.c3 { top: 134px; animation-delay: -6s; }
.c3::after { animation-delay: -6s; }
@keyframes travel {
  0% { transform: translateX(0) scale(0.9); opacity: 0; }
  5%, 18% { transform: translateX(0); opacity: 1; }
  33%, 51% { transform: translateX(calc(100% + 22px)); opacity: 1; }
  66%, 90% { transform: translateX(calc(200% + 44px)); opacity: 1; }
  100% { transform: translateX(calc(200% + 44px)) scale(0.9); opacity: 0; }
}
@keyframes status { 0%, 30% { background: var(--orange-500); } 33%, 63% { background: var(--star); } 66%, 100% { background: var(--success); } }
.flow-meter { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; color: #c9c9ea; font-size: 0.85rem; }
.flow-meter strong { color: #fff; font: 800 1.3rem/1 var(--font-head); }
.flow-meter i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.flow-meter b { display: block; height: 100%; width: 99%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-500), var(--success)); transform-origin: left; animation: grow 2.2s 0.4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; color: #fff; font-size: 0.85rem; animation: bob 6s ease-in-out infinite; }
.float-chip .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--orange-500); color: #fff; }
.float-chip b { display: block; font-family: var(--font-head); }
.float-chip small { color: #a3a3c8; }
.fc1 { left: -38px; bottom: 14px; }
.fc2 { right: -28px; top: -62px; animation-delay: -3s; }
.fc2 .ic { background: var(--teal-500); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--orange-500); color: var(--navy-950); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); margin: -18px 0 0; position: relative; z-index: 2; box-shadow: 0 14px 30px -18px rgba(196, 71, 31, 0.8); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font: 800 1.15rem/1 var(--font-head); white-space: nowrap; }
.marquee i { font-style: normal; font-size: 1.5rem; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section.tint { background: var(--bg-tint); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p:last-child { color: var(--text-2); font-size: 1.08rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
.section-head.split h2 { margin: 0; }
.dark .section-head p:last-child { color: #b9b9d6; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-num { font: 800 clamp(2.2rem, 3.6vw, 3rem)/1 var(--font-head); color: var(--heading); margin: 0 0 10px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-label { margin: 0; color: var(--text-2); font-weight: 500; }
.stat-accent { background: linear-gradient(140deg, var(--navy-700), var(--navy-950)); border-color: transparent; }
.stat-accent .stat-num { color: var(--orange-300); }
.stat-accent .stat-label { color: #c9c9ea; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s; position: relative; overflow: hidden; }
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento-card p { color: var(--text-2); }
.b-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--orange-50); color: var(--orange-600); margin-bottom: 18px; flex: none; }
.b-ic .ic { width: 26px; height: 26px; }
:root[data-theme='dark'] .b-ic { background: rgba(230, 102, 65, 0.14); color: var(--orange-300); }
.bento-shot { grid-column: 1 / -1; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; align-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); border-color: transparent; color: #c9c9ea; }
.bento-shot h3 { color: #fff; }
.bento-shot p { color: #b9b9d6; }
.bento-shot .b-ic { background: rgba(45, 212, 191, 0.14); color: var(--teal-300); }
.bento-shot .text-link { color: var(--orange-300); }
.bento-shot img { border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform 0.6s var(--ease); }
.bento-shot:hover img { transform: perspective(1200px) rotateY(-2deg); }

/* ---------- service explorer ---------- */
.explorer { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.explorer-tabs { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; border-bottom: 1px solid var(--border); }
.explorer-tabs [role='tab'] {
  appearance: none; border: 0; background: none; cursor: pointer; text-align: left; padding: 22px 24px; color: var(--text-2);
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; transition: background 0.25s, color 0.25s;
}
.explorer-tabs [role='tab']:hover { background: var(--surface-2); }
.ex-n { grid-row: span 2; font: 800 1.6rem/1 var(--font-head); color: var(--border); transition: color 0.3s; }
.ex-l { font: 700 1.05rem/1.2 var(--font-head); color: var(--heading); }
.explorer-tabs small { font-size: 0.82rem; }
.explorer-tabs [aria-selected='true'] .ex-n { color: var(--orange-500); }
.ex-progress { position: absolute; bottom: -1px; left: 0; height: 3px; width: 25%; background: linear-gradient(90deg, var(--orange-500), var(--orange-300)); border-radius: 3px; transition: transform 0.45s var(--ease); }
.explorer-panel { padding: 30px; animation: fadeUp 0.45s var(--ease); }
.ex-blurb { color: var(--text-2); font-size: 1.05rem; margin-bottom: 22px; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.ex-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px; border-radius: 18px; border: 1px solid var(--border); text-decoration: none; color: var(--text); transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s; }
.ex-item:hover { border-color: var(--orange-500); transform: translateY(-3px); background: var(--bg-tint); color: var(--text); }
.ex-item strong { display: block; color: var(--heading); font-family: var(--font-head); margin-bottom: 4px; }
.ex-item small { color: var(--text-2); font-size: 0.9rem; line-height: 1.5; display: block; }
.ex-arrow { margin-left: auto; color: var(--orange-500); opacity: 0; transform: translateX(-6px); transition: 0.25s var(--ease); }
.ex-item:hover .ex-arrow { opacity: 1; transform: none; }
.svc-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--navy-700), var(--navy-500)); color: #fff; }
.svc-ic .ic { width: 22px; height: 22px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s; overflow: hidden; }
.svc-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(230, 102, 65, 0.1), transparent 45%); opacity: 0; transition: opacity 0.3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(230, 102, 65, 0.5); color: var(--text); }
.svc-card:hover::before { opacity: 1; }
.svc-card .svc-ic { margin-bottom: 18px; transition: transform 0.4s var(--ease); }
.svc-card:hover .svc-ic { transform: rotate(-8deg) scale(1.08); }
.svc-stage { position: absolute; top: 26px; right: 24px; font: 700 0.7rem/1 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-text); }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { color: var(--text-2); font-size: 0.96rem; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font: 700 0.92rem/1 var(--font-head); color: var(--accent-text); }
.svc-more .ic { transition: transform 0.25s var(--ease); }
a:hover .svc-more .ic { transform: translateX(5px); }

/* ---------- audiences ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card { position: relative; padding: 34px 30px; border-radius: 26px; text-decoration: none; color: #c9c9ea; background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s; isolation: isolate; }
.aud-card::after { content: ''; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: var(--orange-500); filter: blur(60px); opacity: 0.25; z-index: -1; transition: opacity 0.4s, transform 0.6s var(--ease); }
.aud-card:nth-child(2)::after { background: var(--teal-500); }
.aud-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: #c9c9ea; }
.aud-card:hover::after { opacity: 0.45; transform: scale(1.2); }
.aud-card h3 { color: #fff; font-size: 1.4rem; }
.aud-card .svc-more { color: var(--orange-300); }
.aud-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff; margin-bottom: 22px; }
.aud-ic .ic { width: 30px; height: 30px; }
.aud-stat { font: 800 2.2rem/1 var(--font-head); color: var(--orange-300); margin-bottom: 14px; }
.aud-stat small { display: block; font: 600 0.85rem/1.4 var(--font-body); color: #b9b9d6; margin-top: 6px; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; counter-reset: s; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--orange-500), var(--teal-500)); transform: scaleX(var(--line, 0)); transform-origin: left; transition: transform 1.4s var(--ease); }
.steps.is-in::before { --line: 1; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-n { width: 68px; height: 68px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 2px solid var(--orange-500); color: var(--orange-600); font: 800 1.5rem/1 var(--font-head); position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--bg); }
.tint .step-n { box-shadow: 0 0 0 8px var(--bg-tint); }
.step p { color: var(--text-2); }

/* ---------- AI ---------- */
.ai-section { padding: clamp(70px, 9vw, 120px) 0; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ai-card { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; transform-style: preserve-3d; }
.section:not(.dark) .ai-card { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
.ai-card:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(45, 212, 191, 0.5); }
.ai-img { width: 96px; height: 96px; border-radius: 22px; background: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 14px 30px -14px rgba(14, 159, 154, 0.8); }
.ai-img img { width: 70px; height: 70px; object-fit: contain; }
.ai-card p { color: #b9b9d6; font-size: 0.95rem; margin: 0; }
.section:not(.dark) .ai-card p { color: var(--text-2); }

/* ---------- portal ---------- */
.portal-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.portal-tabs [role='tab'], .chip {
  appearance: none; border: 1px solid var(--border); background: var(--surface); color: var(--heading); cursor: pointer;
  padding: 10px 16px; border-radius: 999px; font: 600 0.9rem/1 var(--font-head); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.portal-tabs [role='tab']:hover, .chip:hover { border-color: var(--orange-500); }
.portal-tabs [aria-selected='true'], .chip.is-on { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.device { max-width: 980px; margin: 0 auto; border-radius: 22px; padding: 0 10px 10px; background: linear-gradient(180deg, #1b1b5c, #0a0a4f); box-shadow: var(--shadow-lg); }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 12px 6px; }
.device-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff6058; }
.device-bar span:nth-child(2) { background: #ffbd2e; }
.device-bar span:nth-child(3) { background: #28c940; }
.device-bar em { margin-left: 12px; flex: 1; max-width: 340px; font-style: normal; font-size: 0.78rem; color: #b9b9d6; background: rgba(255, 255, 255, 0.08); padding: 5px 12px; border-radius: 999px; }
.portal-panel { animation: fadeUp 0.4s var(--ease); }
.portal-panel img { border-radius: 12px; width: 100%; }
.portal-cap { color: #c9c9ea; font-size: 0.95rem; margin: 12px 6px 4px; }
.portal-cap strong { color: #fff; }

/* ---------- testimonials ---------- */
.tcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tcard { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tquote { color: var(--orange-500); margin-bottom: 14px; }
.tquote .ic { width: 30px; height: 30px; }
.tcard blockquote { margin: 0 0 22px; font: 500 1.06rem/1.6 var(--font-head); color: var(--heading); flex: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 10px; font: 700 0.8rem/1.2 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.tcard figcaption::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: var(--orange-500); }
.tcard-stat { background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); border-color: transparent; color: #c9c9ea; justify-content: center; }
.tstat { margin: 0; font: 800 clamp(2.8rem, 5vw, 3.6rem)/1 var(--font-head); color: var(--orange-300); letter-spacing: -0.03em; }
.tstat-label { margin: 6px 0 18px; color: #fff; font: 600 1rem/1.3 var(--font-head); }
.tstat-list { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 8px; font-size: 0.95rem; }
.tstat-list strong { color: #fff; font-family: var(--font-head); margin-right: 4px; }

/* ---------- training teaser ---------- */
.train-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); }
.checks li .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--orange-50); color: var(--orange-600); }
.checks strong { display: block; color: var(--heading); font-family: var(--font-head); }
.course-stack { position: relative; height: 430px; }
.cs-card { position: absolute; left: 50%; width: min(380px, 90%); padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transform: translateX(calc(-50% + (var(--i) - 1.5) * 34px)) rotate(calc((var(--i) - 1.5) * 2deg)); top: calc(var(--i) * 100px); transition: transform 0.5s var(--ease); }
.course-stack:hover .cs-card { transform: translateX(-50%) rotate(0); }
.cs-card strong { display: block; font: 700 1.1rem/1.3 var(--font-head); color: var(--heading); margin: 8px 0 4px; }
.cs-card small { color: var(--text-2); }
.cs-tag { display: inline-block; font: 700 0.68rem/1 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-text); background: rgba(14, 159, 154, 0.1); padding: 6px 10px; border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; transition: border-color 0.25s, box-shadow 0.25s; }
.faq-item[open] { border-color: rgba(230, 102, 65, 0.5); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font: 700 1.04rem/1.4 var(--font-head); color: var(--heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--orange-500); transition: transform 0.3s var(--ease); }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--text-2); }
.faq-a p { margin: 0; }
.faq-more { margin-top: 36px; padding: 28px; border-radius: var(--radius); background: var(--bg-tint); text-align: center; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(60px, 8vw, 90px) 0; background: radial-gradient(circle at 85% 20%, rgba(230, 102, 65, 0.35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(14, 159, 154, 0.25), transparent 45%), var(--navy-950); }
.cta-in { display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; }
.cta-band p { color: #c9c9ea; margin: 0; max-width: 620px; }
.cta-band h2 { margin-bottom: 12px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: #04041f; color: #a3a3c8; padding: 70px 0 30px; font-size: 0.95rem; }
.site-footer a { color: #d9d9f0; text-decoration: none; }
.site-footer a:hover { color: var(--orange-300); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.brand-footer .brand-word { color: #fff; }
.footer-brand p { margin: 18px 0; max-width: 320px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); transition: background 0.2s, transform 0.2s; }
.social a:hover { background: var(--orange-600); color: #fff; transform: translateY(-3px); }
.footer-h { font: 700 0.78rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; }
.footer-contact .ic { color: var(--orange-300); margin-top: 3px; }
.footer-news { margin-top: 50px; padding: 28px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.footer-news p { margin: 0; }
.footer-news .footer-h { margin-bottom: 8px; }
.newsletter { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.site-footer .newsletter input { flex: 1 1 220px; min-width: 0; padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); color: #fff; font: inherit; }
.newsletter input::placeholder { color: #8d8db5; }
.newsletter .form-status { flex-basis: 100%; margin: 0; }
.cf-turnstile { margin: 2px 0 16px; min-height: 0; }
.newsletter .cf-turnstile { flex-basis: 100%; margin: 0; }
.newsletter .cf-turnstile:empty { display: none; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { margin: 0; }
.mobile-bar { display: none; }

/* ---------- page hero ---------- */
.page-hero { padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); }
.page-hero-in.has-aside { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); max-width: 900px; }
.page-hero .eyebrow .ic { width: 1.3em; height: 1.3em; }
.page-hero .hero-actions { margin-bottom: 0; }
.own-line { color: #fff; font-weight: 600; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 0.88rem; color: #a3a3c8; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: #c9c9ea; text-decoration: none; }
.crumbs a:hover { color: var(--orange-300); }
.page-hero-aside { display: grid; place-items: center; }
.svc-hero-ic { position: relative; width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.svc-hero-ic > .ic { width: 84px; height: 84px; stroke-width: 1.4; color: var(--orange-300); }
.ring { position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.2); animation: spin 30s linear infinite; }
.ring.r2 { inset: -50px; border-style: solid; border-color: rgba(45, 212, 191, 0.2); animation-duration: 50s; animation-direction: reverse; }
.ring::after { content: ''; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 14px var(--orange-500); }
.ring.r2::after { background: var(--teal-300); box-shadow: 0 0 14px var(--teal-300); left: auto; right: -5px; }
@keyframes spin { to { transform: rotate(360deg); } }
.big-stat { padding: 40px 46px; border-radius: 28px; text-align: center; color: #c9c9ea; }
.big-stat .stat-num { color: var(--orange-300); font-size: clamp(3rem, 6vw, 4.6rem); }
.big-stat p:last-child { margin: 0; font-weight: 600; }

/* ---------- services index ---------- */
.cycle { display: flex; align-items: stretch; gap: 10px; margin-bottom: 40px; }
.cycle-step { flex: 1; padding: 20px; border-radius: 18px; background: var(--bg-tint); border: 1px solid var(--border); }
.cycle-step span { font: 800 0.8rem/1 var(--font-head); color: var(--orange-500); }
.cycle-step strong { display: block; font: 700 1.08rem/1.3 var(--font-head); color: var(--heading); margin: 6px 0 4px; }
.cycle-step small { color: var(--text-2); font-size: 0.85rem; line-height: 1.45; display: block; }
.cycle-arrow { align-self: center; color: var(--orange-500); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip span { opacity: 0.6; margin-left: 4px; }
[data-filter-target] > .is-hidden { display: none !important; }
.filter-empty { text-align: center; color: var(--text-2); }

/* ---------- service page ---------- */
.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.svc-main > div + div { margin-top: 56px; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.incl li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--bg-tint); border: 1px solid var(--border); }
.incl .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--orange-600); color: #fff; stroke-width: 2.5; flex: none; }
.mini-cycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mc { padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.mc strong { display: block; font-family: var(--font-head); color: var(--heading); margin-bottom: 6px; }
.mc small { color: var(--text-2); font-size: 0.8rem; line-height: 1.5; display: block; }
.mc.is-here { background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); border-color: transparent; }
.mc.is-here strong { color: #fff; }
.mc.is-here small { color: #b9b9d6; }
.mc.is-here b { color: var(--orange-300); }
.train-link { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 26px; border-radius: var(--radius); border: 1px dashed var(--orange-500); background: var(--orange-50); }
:root[data-theme='dark'] .train-link { background: rgba(230, 102, 65, 0.08); }
.train-link .b-ic { margin: 0; background: #fff; }
.train-link h3 { margin: 0 0 4px; }
.train-link p:last-child { margin: 0; color: var(--text-2); }
.train-link .eyebrow { margin-bottom: 6px; }
.side-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 12px; }
.side-card.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card h3 { margin: 0; }
.side-card p { margin: 0; color: var(--text-2); }
.side-card hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; width: 100%; }
.side-h { font: 700 0.75rem/1 var(--font-head) !important; letter-spacing: 0.12em; text-transform: uppercase; }
.side-aud { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.side-aud a { display: flex; gap: 10px; align-items: center; color: var(--heading); text-decoration: none; font-weight: 600; padding: 6px 0; }
.side-aud a:hover { color: var(--accent-text); }
.side-aud .ic { color: var(--orange-500); }
.svc-grid.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- audience / features ---------- */
.point-grid, .feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-row { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.point { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s; text-decoration: none; color: var(--text); display: block; }
.point:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.point p { color: var(--text-2); margin: 0; }
.point-link p { margin-bottom: 16px; }

/* ---------- training ---------- */
.cert-card { width: min(340px, 100%); padding: 26px; border-radius: 24px; color: #c9c9ea; transform: rotate(3deg); animation: bob 7s ease-in-out infinite; }
.cert-top { display: flex; align-items: center; gap: 10px; font: 600 0.8rem/1 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-300); margin-bottom: 18px; }
.cert-top .ic { width: 34px; height: 34px; }
.cert-card strong { display: block; color: #fff; font: 800 1.5rem/1.2 var(--font-head); margin-bottom: 6px; }
.cert-bar { margin-top: 20px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.cert-bar b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--orange-500), var(--orange-300)); animation: grow 2.4s 0.4s var(--ease) both; transform-origin: left; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.course { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.course:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(14, 159, 154, 0.5); }
.course-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.course-ic { color: var(--teal-text); }
.course-ic .ic { width: 26px; height: 26px; }
.course p { color: var(--text-2); font-size: 0.95rem; }
.course-roles { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--heading) !important; margin-top: auto; }
.course-roles .ic { color: var(--orange-500); }
.course-meta { list-style: none; padding: 14px 0 0; margin: 4px 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.8rem; color: var(--text-2); }
.course-meta li { display: flex; gap: 5px; align-items: center; }

/* ---------- AI page orbit ---------- */
.ai-orbit { position: relative; width: 300px; height: 300px; }
.ai-orbit .core { position: absolute; inset: 90px; border-radius: 34px; display: grid; place-items: center; color: var(--teal-300); }
.ai-orbit .core .ic { width: 60px; height: 60px; stroke-width: 1.4; }
.ai-orbit::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.2); animation: spin 40s linear infinite; }
.sat { position: absolute; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--navy-700); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6); animation: bob 5s ease-in-out infinite; }
.sat .ic { width: 26px; height: 26px; }
.s1 { top: 0; left: 50%; margin-left: -28px; }
.s2 { right: 0; top: 50%; margin-top: -28px; animation-delay: -1.2s; color: var(--orange-600); }
.s3 { bottom: 0; left: 50%; margin-left: -28px; animation-delay: -2.4s; color: var(--teal-700); }
.s4 { left: 0; top: 50%; margin-top: -28px; animation-delay: -3.6s; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about-grid p { color: var(--text-2); font-size: 1.06rem; }
.values { display: grid; gap: 14px; }
.value { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.value .b-ic { margin: 0; }
.value h3 { margin: 0 0 4px; }
.value p { margin: 0; font-size: 0.95rem; }
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 640px; }
.loc { display: flex; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.loc .b-ic { margin: 0; }
.loc h3 { margin-bottom: 4px; }
.loc p { margin: 0; color: var(--text-2); }

/* ---------- forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 36px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.form-grid .field { margin-bottom: 0; }
.form-grid + .field, .form-grid + fieldset { margin-top: 16px; }
.field label, .field legend { font: 600 0.9rem/1.3 var(--font-head); color: var(--heading); }
.req { color: var(--orange-600); }
input[type='text'], input[type='email'], input[type='tel'], input[type='date'], select, textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--field-bg); color: var(--text);
  font: 400 1rem/1.4 var(--font-body); transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(230, 102, 65, 0.15); }
textarea { resize: vertical; min-height: 110px; }
.is-invalid { border-color: var(--danger) !important; }
.checks-field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.checks-field legend { margin-bottom: 10px; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--border); font-size: 0.9rem; transition: 0.2s; }
.check input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.check input:focus-visible + span { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.phi-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--orange-50); color: #5c2a14; font-size: 0.92rem; margin: 6px 0 20px; }
.phi-note .ic { color: var(--orange-600); margin-top: 2px; }
:root[data-theme='dark'] .phi-note { background: rgba(230, 102, 65, 0.12); color: #ffd5c6; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }
.form-card button[disabled] { opacity: 0.7; cursor: progress; }
.form-done { text-align: center; padding: 30px 10px; animation: fadeUp 0.5s var(--ease); }
.form-done .done-ic { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--success); color: #fff; box-shadow: 0 0 0 10px rgba(63, 202, 144, 0.18); }
.form-done .done-ic .ic { width: 40px; height: 40px; stroke-width: 2.5; }
.contact-side { display: grid; gap: 22px; }
.info-card { padding: 30px; border-radius: 28px; background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); color: #c9c9ea; }
.info-card h2 { color: #fff; font-size: 1.4rem; }
.info-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .b-ic { margin: 0; width: 44px; height: 44px; background: rgba(255, 255, 255, 0.1); color: var(--orange-300); }
.info-list small { display: block; color: #a3a3c8; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.info-list a, .info-list span { color: #fff; text-decoration: none; font-weight: 600; }
.info-card .btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; }
.map-card { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.map-card iframe { width: 100%; height: 280px; border: 0; display: block; }
.map-link { display: flex; justify-content: center; gap: 6px; padding: 12px; font-weight: 600; text-decoration: none; }

/* ---------- schedule ---------- */
.sched-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 32px; align-items: start; }
.sched-steps { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0 0 24px; }
.sched-steps li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); font: 600 0.85rem/1 var(--font-head); }
.sched-steps li.is-on { background: var(--navy-700); color: #fff; }
.sched-block { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.sched-block legend { display: flex; align-items: center; gap: 10px; font: 700 1.15rem/1.3 var(--font-head); color: var(--heading); margin-bottom: 16px; padding: 0; }
.sb-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.9rem; color: #fff; background: var(--orange-600); }
.date-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 86px; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.date-chip { scroll-snap-align: start; appearance: none; cursor: pointer; border: 1.5px solid var(--border); background: var(--field-bg); color: var(--text); border-radius: 16px; padding: 12px 6px; text-align: center; transition: 0.2s var(--ease); font-family: var(--font-head); }
.date-chip small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.date-chip strong { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--heading); }
.date-chip:hover { border-color: var(--orange-500); transform: translateY(-2px); }
.date-chip[aria-checked='true'] { background: var(--navy-700); border-color: var(--navy-700); box-shadow: 0 12px 24px -12px rgba(16, 16, 123, 0.8); }
.date-chip[aria-checked='true'] small, .date-chip[aria-checked='true'] strong { color: #fff; }
.date-other { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 0.9rem; color: var(--text-2); }
.date-other input { width: auto; padding: 9px 12px; }
.tz-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text-2); font-size: 0.92rem; margin-bottom: 16px; }
.tz-row select { width: auto; padding: 8px 12px; font-size: 0.92rem; }
.time-groups { display: grid; gap: 16px; }
.tg-h { font: 700 0.75rem/1 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin: 0 0 10px; }
.tg-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.time-chip { appearance: none; cursor: pointer; padding: 11px 8px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--field-bg); color: var(--heading); font: 600 0.92rem/1 var(--font-head); transition: 0.2s var(--ease); }
.time-chip:hover { border-color: var(--orange-500); }
.time-chip[aria-checked='true'] { background: var(--orange-600); border-color: var(--orange-600); color: #fff; box-shadow: 0 10px 20px -10px rgba(196, 71, 31, 0.8); }
.field-err { color: var(--danger); font-weight: 600; font-size: 0.9rem; margin: 8px 0 0; min-height: 0; }
.field-err:empty { display: none; }
.sched-alt { margin: -10px 0 30px; border: 1px dashed var(--border); border-radius: 16px; padding: 4px 18px; }
.sched-alt summary { cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 12px 0; font: 600 0.95rem/1 var(--font-head); color: var(--accent-text); list-style: none; }
.sched-alt summary::-webkit-details-marker { display: none; }
.sched-alt[open] { padding-bottom: 18px; }
.sched-alt[open] summary .ic { transform: rotate(45deg); }
.sched-side { position: sticky; top: calc(var(--header-h) + 24px); }
.summary-card { padding: 28px; border-radius: 26px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.sum-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; }
.sum-row > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--navy-100); color: var(--navy-700); }
:root[data-theme='dark'] .sum-row > .ic { background: #20205e; color: #fff; }
.sum-row small { display: block; color: var(--text-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.sum-row strong { font-family: var(--font-head); color: var(--heading); }
.sum-row.is-set > .ic { background: var(--orange-600); color: #fff; }
.summary-card hr { border: 0; border-top: 1px solid var(--border); margin: 12px 0 16px; }
.how { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; font-size: 0.93rem; color: var(--text-2); }
.how li { display: flex; gap: 8px; align-items: flex-start; }
.how .ic { color: var(--success); margin-top: 3px; }

/* ---------- prose ---------- */
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.note-box { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--bg-tint); border: 1px solid var(--border); }
.note-box .ic { color: var(--orange-500); margin-top: 3px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1540px) {
  .nav-link { padding: 10px 7px; font-size: 0.76rem; letter-spacing: 0.03em; }
  .header-in { gap: 14px; }
}
@media (max-width: 1220px) {
  :root { --header-h: 68px; }
  .burger { display: grid; }
  .header-cta { display: none; }
    .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--bg); padding: 16px 20px 120px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s; margin: 0;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-open { overflow: hidden; }
  .nav-open .burger .i-open { opacity: 0; transform: rotate(90deg); }
  .nav-open .burger .i-close { opacity: 1; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .nav-link { flex: 1; padding: 18px 4px; font-size: 1rem; }
  .nav-link[aria-current]::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: var(--surface-2); color: var(--heading); border-radius: 12px; cursor: pointer; }
  .sub-toggle[aria-expanded='true'] .ic { transform: rotate(180deg); }
  .sub-toggle .ic { transition: transform 0.3s; }
  .has-sub::after { display: none; }
  .mega, .drop { position: static; transform: none !important; opacity: 1; visibility: visible; width: 100%; box-shadow: none; border: 0; display: none; padding: 0 0 14px; background: transparent; }
  .mega.is-open, .drop.is-open { display: grid; }
  .mega { grid-template-columns: 1fr 1fr; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 22px; }
}
@media (max-width: 1060px) {
  .hero-in, .page-hero-in.has-aside, .train-teaser, .faq-wrap, .about-grid, .contact-grid, .sched-grid, .svc-layout { grid-template-columns: 1fr; }
  .flow { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-head.split { grid-template-columns: 1fr; gap: 12px; }
  .cta-in { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .sched-side, .side-card.sticky { position: static; }
  .page-hero-aside { display: none; }
  .svc-layout .svc-side { order: 2; }
}
@media (max-width: 820px) {
  .bento, .svc-grid, .svc-grid.three, .aud-grid, .point-grid, .team, .loc-grid, .steps { grid-template-columns: 1fr; }
  .bento-shot { grid-template-columns: 1fr; }
  .explorer-tabs { grid-template-columns: repeat(2, 1fr); }
  .ex-progress { display: none; }
  .explorer-tabs [aria-selected='true'] { background: var(--surface-2); }
  .steps::before { display: none; }
  .cycle { flex-direction: column; }
  .cycle-arrow { transform: rotate(90deg); }
  .mini-cycle, .incl { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-template-columns: 1fr; }
  .train-link { grid-template-columns: 1fr; }
  .course-stack { height: 360px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .ai-grid, .form-grid, .mini-cycle, .incl, .footer-top { grid-template-columns: 1fr; }
  .mega { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .flow { min-height: 0; }
  .flow-lane { height: 170px; }
  .claim { padding: 8px; font-size: 0.68rem; }
  .claim b { font-size: 0.74rem; }
  .claim::after { display: none; }
  .explorer-tabs { grid-template-columns: 1fr 1fr; }
  .explorer-tabs [role='tab'] { padding: 14px; }
  .ex-n { font-size: 1.2rem; }
  .ex-grid { grid-template-columns: 1fr; }
  .explorer-panel { padding: 18px; }
  .brand-word { font-size: 1.15rem; }
  .brand-chip { width: 40px; height: 40px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(6, 6, 46, 0.94); backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 14px; font: 700 0.95rem/1 var(--font-head); text-decoration: none; color: #fff; }
  .mb-call { background: rgba(255, 255, 255, 0.1); }
  .mb-cta { background: var(--orange-600); }
  .page-schedule .mobile-bar { display: none; }
  .page-schedule { padding-bottom: 0; }
  .marquee span { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .claim { animation: none; }
  .c1 { transform: none; } .c2 { transform: translateX(calc(100% + 22px)); } .c3 { transform: translateX(calc(200% + 44px)); }
}

@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer .footer-news, .hero-bg { display: none !important; }
  .hero, .page-hero { background: #fff; color: #000; }
  .page-hero h1 { color: #000; }
}

/* grid children may shrink below their content (date strip scrolls instead of widening the card) */
.sched-grid > *, .contact-grid > *, .svc-layout > *, .hero-in > *, .faq-wrap > *, .train-teaser > * { min-width: 0; }
