/* =====================================================================
   BIONEXA PAKISTAN — Website styles
   Brand colours can be changed in the :root block below.
   ===================================================================== */
:root {
  --navy-950: #061428;
  --navy-900: #0a1f3d;
  --navy-800: #0f2d55;
  --navy-700: #16406f;
  --blue: #0878bf;
  --blue-600: #0667a4;
  --blue-50: #eaf4fb;
  --orange: #fea623;
  --orange-600: #e8890c;
  --orange-50: #fff5e6;
  --ink: #0f172a;
  --text: #3b4a5f;
  --muted: #64748b;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px -12px rgba(15, 35, 70, .18), 0 2px 6px rgba(15, 35, 70, .05);
  --shadow-lg: 0 30px 60px -20px rgba(10, 31, 61, .35);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.no-scroll { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; text-align: center; }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .6em 1.1em; font-size: .875rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(8, 120, 191, .8); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-accent { background: var(--orange); color: var(--navy-950); box-shadow: 0 10px 24px -10px rgba(254, 166, 35, .9); }
.btn-accent:hover { background: #ffb646; color: var(--navy-950); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); }

/* ---------- Content error banner ---------- */
.content-error { display: flex; gap: 12px; align-items: flex-start; background: #fef2f2; color: #991b1b; border-bottom: 2px solid #fca5a5; padding: 14px 20px; font-size: .92rem; }
.content-error .ic { width: 22px; height: 22px; margin-top: 2px; }

/* ---------- News ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--navy-950); color: #dbe7f5; font-size: .86rem; height: 40px; overflow: hidden; }
.ticker-label { display: flex; align-items: center; gap: 8px; padding: 0 18px 0 20px; background: var(--orange); color: var(--navy-950); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; white-space: nowrap; position: relative; z-index: 2; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 26px; }
.ticker-label .ic { width: 16px; height: 16px; }
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.ticker-move { display: inline-flex; white-space: nowrap; animation: ticker linear infinite; will-change: transform; }
.ticker:hover .ticker-move, .ticker:focus-within .ticker-move { animation-play-state: paused; }
.tk-dup { display: inline-flex; }
.tk-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 30px; color: #dbe7f5; }
a.tk-item:hover { color: var(--orange); }
.tk-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-move { animation: none; }
  .ticker-track { overflow-x: auto; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.header.scrolled { box-shadow: 0 6px 24px -12px rgba(15, 35, 70, .25); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 10px; position: relative; }
.nav-link:hover { color: var(--blue); background: var(--blue-50); }
.nav-link.active { color: var(--blue); }
.nav-link.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--orange); }
.nav-link .chev { width: 15px; height: 15px; transition: transform .2s; }
.has-dd { position: relative; }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: min(760px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dd:hover .chev { transform: rotate(180deg); }
.dropdown-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 6px 14px; }
.dd-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 6px 10px; }
.dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 12px; color: var(--ink); }
.dd-item:hover { background: var(--bg-alt); color: var(--ink); }
.dd-item strong { display: block; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.dd-item small { color: var(--muted); font-size: .76rem; }
.dd-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.dd-ic .ic { width: 18px; height: 18px; }
.dd-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding: 11px; border-radius: 12px; background: var(--bg-alt); font-weight: 600; font-size: .9rem; }
.dd-all .ic { width: 16px; height: 16px; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.verify-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; font-size: .9rem; }
.verify-link .ic { width: 18px; height: 18px; color: var(--blue); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); place-items: center; }
.burger .ic { width: 22px; height: 22px; }
.nav-mobile-extra { display: none; }

@media (max-width: 1180px) { .verify-link span { display: none; } .nav-link { padding: 10px 10px; } }
@media (max-width: 1080px) {
  .burger { display: grid; }
  .header-cta { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); background: #fff; padding: 16px 20px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; margin: 0; border-top: 1px solid var(--line); }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link.active::after { display: none; }
  .dropdown { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 6px 0; opacity: 1; visibility: visible; display: none; }
  .has-dd:hover .dropdown { transform: none; }
  .has-dd.dd-open .dropdown { display: block; }
  .has-dd.dd-open .chev { transform: rotate(180deg); }
  .dropdown-inner { grid-template-columns: 1fr; }
  .nav-mobile-extra { display: grid; gap: 10px; margin-top: 22px; }
  .menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(8, 120, 191, .35), transparent 60%), var(--navy-900); color: #c8d6ea; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { font-size: 1.07rem; color: var(--muted); margin: 0; }
.section.dark .sec-head p { color: #9fb4cf; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.section.dark .eyebrow, .eyebrow.light { color: var(--orange); }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.split-head .sec-head { margin-bottom: 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #c8d6ea; padding: clamp(56px, 7vw, 96px) 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 90% 10%, rgba(8, 120, 191, .55), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(254, 166, 35, .16), transparent 60%),
  linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { font-size: 1.14rem; color: #b5c7de; max-width: 600px; margin-bottom: 32px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #e3edf9; font-size: .84rem; font-weight: 500; margin-bottom: 22px; }
.pill .ic { color: var(--orange); width: 18px; height: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions.center { justify-content: center; }
.hero-visual { position: relative; }
.hero-img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.6; border: 6px solid rgba(255, 255, 255, .06); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-lg); color: var(--ink); }
.float-card strong { display: block; font-size: .92rem; font-family: var(--font-head); }
.float-card small { color: var(--muted); font-size: .78rem; }
.fc-1 { left: -28px; bottom: 56px; }
.fc-2 { right: -18px; top: 34px; }
.fc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hl { padding: 26px 22px; border-right: 1px solid rgba(255, 255, 255, .1); }
.hl:last-child { border-right: 0; }
.hl strong { display: block; font-family: var(--font-head); font-size: 1.45rem; color: #fff; font-weight: 800; }
.hl span { font-size: .9rem; color: #9fb4cf; }

/* ---------- Standards strip ---------- */
.std-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.std-strip .container { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.std-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.std-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.std { display: flex; flex-direction: column; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); line-height: 1.25; transition: border-color .2s, box-shadow .2s; }
.std:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--ink); }
.std strong { font-family: var(--font-head); font-size: .92rem; }
.std small { color: var(--muted); font-size: .76rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-n { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: #e8eef6; line-height: 1; }
.step-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--blue), #2aa3e8); color: #fff; margin-bottom: 18px; box-shadow: 0 10px 20px -10px rgba(8, 120, 191, .9); }
.step-ic .ic { width: 24px; height: 24px; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }
.steps.on-dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.steps.on-dark .step p { color: #9fb4cf; }
.steps.on-dark .step-n { color: rgba(255, 255, 255, .1); }

/* ---------- Colour themes ---------- */
.c-blue { --c: #0878bf; --c-50: #e8f3fb; }
.c-green { --c: #15803d; --c-50: #e9f7ee; }
.c-orange { --c: #e8740c; --c-50: #fff2e5; }
.c-teal { --c: #0d9488; --c-50: #e5f6f4; }
.c-purple { --c: #7c3aed; --c-50: #f1ebfe; }
.c-red { --c: #dc2626; --c-50: #fdecec; }
.dd-ic, .fc-ic, .svc-ic { background: var(--c-50); color: var(--c); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; color: var(--text); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.svc-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-std { font-size: .74rem; font-weight: 700; color: var(--c); background: var(--c-50); padding: 5px 10px; border-radius: 999px; text-align: right; }
.svc-card h3 { font-size: 1.16rem; }
.svc-card p { font-size: .94rem; color: var(--muted); flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--blue); }
.more .ic { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .more .ic, .more:hover .ic { transform: translateX(4px); }

/* ---------- Course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.course { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: box-shadow .25s, transform .25s; }
.course:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tag { font-size: .74rem; font-weight: 600; color: var(--blue); background: var(--blue-50); padding: 5px 10px; border-radius: 999px; }
.status { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-open { color: #15803d; background: #e9f7ee; }
.s-up { color: #b45309; background: var(--orange-50); }
.s-req { color: #6d28d9; background: #f1ebfe; }
.s-done { color: var(--muted); background: #eef2f6; }
.course h3 { font-size: 1.1rem; margin-bottom: 8px; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; color: var(--muted); }
.meta { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 7px; font-size: .88rem; color: var(--ink); }
.meta li { display: flex; align-items: center; gap: 9px; }
.meta .ic { width: 17px; height: 17px; color: var(--blue); }
.course-foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 14px; }
.fee small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fee strong { font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.course-actions { display: flex; gap: 8px; }
.course-actions .btn { flex: 1; }

/* ---------- Why / industries ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.why-list { display: grid; gap: 22px; }
.why { display: flex; gap: 18px; }
.why-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(254, 166, 35, .14); color: var(--orange); flex-shrink: 0; }
.why-ic .ic { width: 24px; height: 24px; }
.why h3 { margin-bottom: 4px; }
.why p { margin: 0; color: #9fb4cf; font-size: .95rem; }
.industries { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: 30px; }
.industries h3 { font-size: 1.25rem; margin-bottom: 20px; }
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ind { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: #e3edf9; font-size: .9rem; font-weight: 500; line-height: 1.3; }
.ind .ic { color: #6cc0f5; width: 20px; height: 20px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.g-item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); text-align: left; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(6, 20, 40, .85)); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-cap strong { display: block; font-size: .9rem; }
.g-cap small { font-size: .76rem; opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .88rem; font-weight: 500; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.testi-stack { display: grid; gap: 18px; }
.testi { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.testi .q { position: absolute; top: 20px; right: 22px; width: 34px; height: 34px; color: var(--blue-50); }
.testi blockquote { margin: 10px 0 18px; color: var(--ink); font-size: .98rem; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.testi figcaption small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.testi figcaption .tr { color: var(--blue); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy-700)); color: #fff; font-weight: 700; flex-shrink: 0; }
.stars { display: flex; gap: 2px; }
.stars span { color: #d6dde7; }
.stars span.on { color: var(--orange); }
.stars .ic { width: 17px; height: 17px; fill: currentColor; stroke: none; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .25s; }
.news-card:hover { box-shadow: var(--shadow); }
.news-img { aspect-ratio: 16 / 9; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-body time { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.news-body time .ic { width: 15px; height: 15px; color: var(--orange-600); }
.news-body h3 { font-size: 1.08rem; }
.news-body p { font-size: .93rem; color: var(--muted); flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(64px, 8vw, 100px); }
.section.dark + .cta-band { padding-top: clamp(64px, 8vw, 100px); }
.section.alt + .cta-band { background: linear-gradient(var(--bg-alt) 50%, #fff 50%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; overflow: hidden; background: radial-gradient(600px 300px at 100% 0%, rgba(254, 166, 35, .25), transparent 60%), linear-gradient(120deg, var(--blue) 0%, var(--navy-800) 70%); color: #d8e6f6; box-shadow: var(--shadow-lg); }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { margin: 0; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 6vw, 76px); background: radial-gradient(800px 400px at 100% 0%, rgba(8, 120, 191, .5), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #b5c7de; overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); }
.page-hero h1 { color: #fff; max-width: 860px; }
.page-hero .lead { font-size: 1.12rem; max-width: 720px; margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 22px; color: #8ea6c4; }
.crumbs a { color: #c8d6ea; }
.crumbs a:hover { color: var(--orange); }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips-row span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #e3edf9; font-size: .86rem; }
.chips-row .ic { width: 17px; height: 17px; color: var(--orange); }

/* Service detail hero */
.svc-hero { background: radial-gradient(700px 420px at 95% 10%, color-mix(in srgb, var(--c) 55%, transparent), transparent 65%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.svc-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.std-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 600; font-size: .86rem; margin-bottom: 18px; }
.std-badge .ic { color: var(--orange); width: 18px; height: 18px; }
.svc-hero-art img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 6px solid rgba(255, 255, 255, .06); }
.art-std { position: relative; aspect-ratio: 1; max-width: 340px; margin-left: auto; border-radius: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), var(--shadow-lg); }
.art-std span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--c); color: #fff; margin-bottom: 10px; box-shadow: 0 16px 30px -12px var(--c); }
.art-std span .ic { width: 38px; height: 38px; }
.art-std strong { font-family: var(--font-head); color: #fff; font-size: 2.2rem; letter-spacing: -.02em; line-height: 1.1; padding: 0 16px; }
.art-std small { color: #9fb4cf; font-size: .95rem; }

.svc-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.prose p { font-size: 1.04rem; }
.h3 { margin-top: 28px; }
.side-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.side-contact { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.side-contact p { margin: 0; font-weight: 600; color: var(--ink); }
.side-contact a { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .94rem; }
.side-contact .ic { color: var(--blue); width: 18px; height: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.checks .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #e3f4ea; color: #15803d; stroke-width: 3; margin-top: 2px; }
.stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.stage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.stage-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.stage-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue); }
.stage-ic .ic { width: 22px; height: 22px; }
.stage-n { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stage h3 { margin-bottom: 14px; }
.stage .checks li { font-size: .9rem; }
.note { display: flex; gap: 10px; align-items: flex-start; margin: 26px auto 0; max-width: 820px; font-size: .9rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.note .ic { color: var(--blue); width: 20px; height: 20px; margin-top: 2px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 26px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.about-badge { position: absolute; right: -18px; bottom: 30px; display: flex; align-items: center; gap: 12px; background: var(--orange); color: var(--navy-950); font-weight: 700; font-family: var(--font-head); padding: 16px 20px; border-radius: 18px; box-shadow: var(--shadow-lg); line-height: 1.25; }
.about-badge .ic { width: 30px; height: 30px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.mv-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--navy-900); color: var(--orange); margin-bottom: 18px; }
.mv-ic .ic { width: 26px; height: 26px; }
.mv p { margin: 0; font-size: 1.02rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.value-n { position: absolute; right: 22px; top: 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: #e8eef6; }
.value-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--orange-50); color: var(--orange-600); margin-bottom: 16px; }
.value p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Training page ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.toolbar .chips { margin: 0; }
.toolbar-right { display: flex; gap: 10px; flex-wrap: wrap; }
.sel select, .search input { height: 42px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 0 16px; font-size: .9rem; }
.search { position: relative; display: flex; align-items: center; }
.search .ic { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--muted); }
.search input { padding-left: 38px; width: 230px; }
.inhouse { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: linear-gradient(120deg, var(--orange-50), #fff 70%); border: 1px solid #fde3bd; border-radius: 26px; padding: 36px; }
.inhouse h2 { font-size: 1.6rem; margin-bottom: 6px; }
.inhouse p { margin: 0; }
.inhouse-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--orange); color: var(--navy-950); }
.inhouse-ic .ic { width: 34px; height: 34px; }
.inhouse-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fb-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.fb-head { display: flex; gap: 16px; align-items: flex-start; }
.fb-head > .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--blue); color: #fff; }
.fb-head h3 { margin-bottom: 4px; font-size: 1.25rem; }
.fb-head p { margin: 0; color: var(--muted); font-size: .93rem; }
.fb-frame { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.fb-frame.tall { height: 900px; margin-bottom: 14px; }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.faqs { display: grid; gap: 12px; }
.faqs details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faqs details[open] { box-shadow: var(--shadow-sm); }
.faqs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; color: var(--ink); }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary .ic { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; }
.faqs details[open] summary .ic { transform: rotate(180deg); }
.faqs details p { margin: 0 0 18px; color: var(--muted); }
.verify-mini { display: flex; gap: 16px; background: var(--navy-900); color: #b5c7de; padding: 26px; border-radius: var(--radius-lg); }
.verify-mini > .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: rgba(254, 166, 35, .15); color: var(--orange); }
.verify-mini h3 { color: #fff; margin-bottom: 4px; }
.verify-mini p { font-size: .9rem; margin-bottom: 14px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; height: 42px; border-radius: 999px; border: 1px solid var(--line); padding: 0 16px; }
.inline-form.big input { height: 54px; font-size: 1.05rem; padding: 0 22px; text-transform: uppercase; letter-spacing: .04em; }
.inline-form.big .btn { padding: 0 26px; }

/* ---------- Forms ---------- */
label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form-card input, .form-card select, .form-card textarea, .fb-box input, .fb-box select, .fb-box textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; font-weight: 400; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus, .fb-box input:focus, .fb-box select:focus, .fb-box textarea:focus, .inline-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 120, 191, .12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-msg { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-msg.ok { color: #15803d; }
.form-msg.err { color: #b91c1c; }
.rate { border: 0; padding: 0; margin: 0; }
.rate legend { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { cursor: pointer; color: #d6dde7; display: inline-block; }
.rate label .ic { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.rate-stars input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--orange); }
.rate input:focus-visible + label { outline: 3px solid var(--orange); border-radius: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.cc { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
a.cc:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--text); }
.cc-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.cc-ic.wa { background: #e7f8ee; color: #16a34a; }
.cc-ic .ic { width: 22px; height: 22px; }
.cc small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.cc strong { display: block; color: var(--ink); font-size: 1.02rem; }
.cc em { display: block; font-style: normal; font-size: .9rem; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-card h2 { font-size: 1.6rem; margin: 0; }
.form-card > p { margin: -6px 0 6px; color: var(--muted); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* ---------- Downloads ---------- */
.dl-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.dl { display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.dl:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--text); }
.dl-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue); }
.dl-txt strong { display: block; color: var(--ink); }
.dl-txt small { color: var(--muted); }
.dl-type { font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--bg-alt); padding: 4px 10px; border-radius: 999px; }
.dl-go { color: var(--blue); }

/* ---------- Verify ---------- */
.verify-box { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 5vw, 48px); box-shadow: var(--shadow); }
.verify-box p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.v-ic { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.v-ic .ic { width: 32px; height: 32px; }
.v-res { display: flex; gap: 18px; align-items: flex-start; margin-top: 22px; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.v-res > .ic { width: 50px; height: 50px; padding: 11px; border-radius: 14px; flex-shrink: 0; }
.v-res h3 { font-size: 1.3rem; margin-bottom: 8px; }
.v-res p { margin: 0; }
.v-res.ok { border-color: #a7e3bd; background: #f1fbf5; }
.v-res.ok > .ic { background: #16a34a; color: #fff; }
.v-res.bad { border-color: #fbc2c2; background: #fef5f5; }
.v-res.bad > .ic { background: #dc2626; color: #fff; }
.v-res.warn { border-color: #fde3bd; background: var(--orange-50); }
.v-res.warn > .ic { background: var(--orange); color: var(--navy-950); }
.v-res.loading { align-items: center; color: var(--muted); }
.v-tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #15803d; margin-bottom: 4px; }
.v-res dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 10px 0 12px; }
.v-res dt { color: var(--muted); font-size: .9rem; }
.v-res dd { margin: 0; color: var(--ink); font-weight: 600; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 48px 24px; border: 2px dashed var(--line); border-radius: var(--radius-lg); background: #fff; grid-column: 1 / -1; }
.empty > .ic { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 12px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); margin: 0; }
.center .empty { margin-bottom: 24px; }

/* ---------- Modal / lightbox ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 20, 40, .7); backdrop-filter: blur(4px); animation: fade .2s; }
.modal-box { position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px); animation: pop .25s ease; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); z-index: 2; }
.modal-course h2 { font-size: 1.6rem; padding-right: 40px; }
.modal-course h4 { margin: 24px 0 12px; font-size: 1rem; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 20px 0 4px; }
.detail-grid div { background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; }
.detail-grid small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.detail-grid strong { color: var(--ink); font-size: .95rem; }
.modal-note { display: flex; gap: 10px; align-items: center; margin-top: 24px; padding: 14px 16px; border-radius: 12px; background: var(--orange-50); color: #8a4b05; font-size: .9rem; }
.modal-note .ic { color: var(--orange-600); }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.lightbox .modal-box { width: min(1100px, 100%); padding: 0; background: transparent; box-shadow: none; overflow: visible; }
.lightbox .modal-close { top: -6px; right: -6px; }
.lb { margin: 0; }
.lb img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; margin: 0 auto; border-radius: 16px; }
.lb figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; color: #e3edf9; padding: 14px; font-size: .92rem; text-align: center; }
.lb-count { opacity: .7; }
.lb-prev, .lb-next { position: absolute; top: 45%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.lb-prev { left: -10px; } .lb-next { right: -10px; }
.lb-prev .ic { transform: rotate(90deg); } .lb-next .ic { transform: rotate(-90deg); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9fb4cf; padding-top: 72px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.f-brand img { width: 110px; height: auto; margin-bottom: 18px; }
.f-brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer h4.mt { margin-top: 28px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #b5c7de; }
.footer a:hover { color: var(--orange); }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact .ic { color: var(--orange); width: 18px; height: 18px; margin-top: 3px; }
.f-social { display: flex; gap: 10px; margin-top: 8px; }
.soc { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s; }
.footer .soc { color: #fff; }
.soc:hover { background: var(--blue); color: #fff; }
.soc .ic { width: 18px; height: 18px; }
.f-social.dark .soc { background: var(--navy-900); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #22c55e; color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 14px 30px -10px rgba(22, 163, 74, .7); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float .ic { width: 26px; height: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .svc-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .svc-hero-art { display: none; }
  .steps, .stage-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .about-grid, .svc-intro, .fb-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inhouse { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .brand img { height: 38px; }
  .highlights { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .hl { padding: 20px 14px; }
  .hl:nth-child(2) { border-right: 0; }
  .hl:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .hl strong { font-size: 1.2rem; }
  .fc-1 { left: 10px; bottom: 16px; } .fc-2 { right: 10px; top: 16px; }
  .float-card { padding: 10px 12px 10px 10px; }
  .steps, .stage-grid, .values, .mv-grid, .ind-grid, .form-row { grid-template-columns: 1fr; }
  .svc-grid, .course-grid, .news-grid, .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .g-cap { opacity: 1; transform: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .toolbar-right, .search, .search input, .sel, .sel select { width: 100%; }
  .dl { grid-template-columns: auto 1fr auto; }
  .dl-type { display: none; }
  .about-badge { right: 12px; }
  .ticker-label span { display: none; }
  .ticker-label { padding: 0 20px 0 14px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .inline-form.big { flex-direction: column; }
  .inline-form.big .btn { height: 50px; }
  .lb-prev { left: 4px; } .lb-next { right: 4px; }
  .btn-lg { padding: .9em 1.3em; }
}
@media print {
  .ticker, .header, .wa-float, .cta-band, .footer { display: none !important; }
}

/* Prevent grid children from overflowing on small screens */
.faq-grid > *, .fb-grid > *, .contact-grid > *, .why-grid > *, .svc-intro > *, .about-grid > *, .hero-grid > * { min-width: 0; }
.verify-mini > div { min-width: 0; flex: 1; }
@media (max-width: 760px) { .verify-mini { flex-direction: column; } }

/* Loading state while the Google Sheet is read */


/* =====================================================================
   WordPress additions
   ===================================================================== */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 0; } }
.burger .i-close, .menu-open .burger .i-open { display: none; }
.menu-open .burger .i-close { display: inline; }
.course h3 a { color: inherit; }
.course h3 a:hover { color: var(--blue); }
.course h3 a::after { content: none; }
.ic.flip { transform: rotate(180deg); }

/* WordPress menu (if a custom menu is assigned) */
.wp-menu > li > a { display: inline-flex; align-items: center; padding: 10px 13px; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 10px; }
.wp-menu > li > a:hover, .wp-menu > .current-menu-item > a { color: var(--blue); background: var(--blue-50); }
.wp-menu li { position: relative; }
.wp-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 5; }
.wp-menu li:hover > .sub-menu, .wp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.wp-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .9rem; }
.wp-menu .sub-menu a:hover { background: var(--bg-alt); }
@media (max-width: 1080px) {
  .wp-menu > li > a { width: 100%; padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .wp-menu .sub-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; border: 0; display: none; }
  .wp-menu .dd-open > .sub-menu { display: block; }
}

/* Article / page content */
.article { max-width: 820px; }
.article-img { margin: 0 0 32px; }
.article-img img { border-radius: 20px; width: 100%; }
.entry-content { font-size: 1.05rem; color: var(--text); }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--orange); color: var(--ink); font-size: 1.1rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content .wp-block-file { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; }
.entry-content .wp-block-file__button { background: var(--blue); color: #fff; border-radius: 999px; padding: .5em 1.1em; text-decoration: none; }
.entry-content .wp-block-button__link { background: var(--blue); border-radius: 999px; text-decoration: none; }
.narrow-text { max-width: 760px; margin: 0 auto 32px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.share a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.share a:hover { border-color: var(--blue); color: var(--blue); }
.share .ic { width: 16px; height: 16px; }
.more-news { margin-top: 64px; }
.more-news h2 { font-size: 1.5rem; margin-bottom: 24px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--blue); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.pagination .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.faq-a p { margin: 0 0 18px; color: var(--muted); }

/* Gallery albums */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.album { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--text); transition: box-shadow .25s, transform .25s; }
.album:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.album-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--bg-alt); color: var(--muted); overflow: hidden; }
.album-img img { width: 100%; height: 100%; object-fit: cover; }
.album-img > .ic { width: 40px; height: 40px; }
.album-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(6, 20, 40, .75); color: #fff; font-size: .78rem; font-weight: 600; }
.album-count .ic { width: 14px; height: 14px; }
.album-body { display: block; padding: 18px 20px; }
.album-body strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; }
.album-body small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin-top: 6px; }
.album-body small .ic { width: 15px; height: 15px; color: var(--orange-600); }
.wp-block-gallery figure a { cursor: zoom-in; }
.lb-cap { display: block; text-align: center; color: #e3edf9; padding: 14px; font-size: .92rem; }
.lb-prev, .lb-next { font-size: 2rem; line-height: 1; }
.modal-close { font-size: 1.1rem; }

/* Forms */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card label.check { display: flex; flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.form-card label.check input { width: auto; }
.notice-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 16px; font-weight: 500; }
.notice-box .ic { width: 22px; height: 22px; flex-shrink: 0; }
.notice-box .btn { margin-top: 10px; }
.notice-box .btn .ic { width: 18px; height: 18px; }
.notice-box.ok { background: #effaf3; color: #166534; border: 1px solid #a7e3bd; }
.notice-box.err { background: #fef2f2; color: #991b1b; border: 1px solid #fbc2c2; }
#register { position: sticky; top: calc(var(--header-h) + 20px); }
.chips-row span.status { border: 0; font-size: .74rem; }
.chips-row span.s-open { color: #15803d; background: #e9f7ee; }
.chips-row span.s-up { color: #b45309; background: var(--orange-50); }
.chips-row span.s-req { color: #6d28d9; background: #f1ebfe; }
.chips-row span.s-done { color: var(--muted); background: #eef2f6; }
.prose > .detail-grid { margin: 0 0 40px; }
@media (max-width: 1080px) { #register { position: static; } }

/* =====================================================================
   Certificate
   ===================================================================== */
.cert-page { background: #e9eef5; }
.cert-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.cert-home img { height: 40px; width: auto; }
.cert-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-stage { padding: 12px; overflow: hidden; }
.cert { width: 1123px; height: 794px; background: #fff; margin: 0 auto; transform-origin: top left; box-shadow: 0 20px 60px -20px rgba(10, 31, 61, .35); position: relative; font-family: var(--font); color: var(--ink); }
.cert-stage .cert { margin: 0; }
.cert-frame { position: absolute; inset: 22px; border: 3px solid var(--navy-900); padding: 46px 96px 44px 70px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cert-frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--orange); pointer-events: none; }
.cert-corner { position: absolute; width: 0; height: 0; border-style: solid; }
.cert-corner.tl { top: -3px; left: -3px; border-width: 92px 92px 0 0; border-color: var(--blue) transparent transparent transparent; }
.cert-corner.br { bottom: -3px; right: -3px; border-width: 0 0 92px 92px; border-color: transparent transparent var(--orange) transparent; }
.cert-top { margin-bottom: 18px; }
.cert-logo { height: 74px; width: auto; }
.cert-kicker { font-family: var(--font-head); font-weight: 800; font-size: 54px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); line-height: 1; }
.cert-title { font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: .35em; text-transform: uppercase; color: var(--orange-600); margin: 10px 0 22px; }
.cert-line { margin: 0; font-size: 17px; color: var(--muted); }
.cert-name { font-family: var(--font-head); font-weight: 800; font-size: 46px; color: var(--blue); margin: 10px 0 12px; padding: 0 40px 10px; border-bottom: 2px solid var(--line); min-width: 60%; }
.cert-training { font-family: var(--font-head); font-weight: 700; font-size: 25px; color: var(--navy-900); margin: 8px 0 8px; max-width: 860px; line-height: 1.3; }
.cert-bottom { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; }
.cert-sign { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cert-sig-img { max-height: 60px; width: auto; margin-bottom: -6px; }
.cert-sig-line { width: 220px; border-top: 1.5px solid var(--ink); margin: 8px 0 6px; }
.cert-sign strong { font-size: 15px; }
.cert-sign span { font-size: 13px; color: var(--muted); }
.cert-seal { width: 118px; height: 118px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffc56a, var(--orange-600)); color: var(--navy-950); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--orange); }
.cert-seal .ic { width: 38px; height: 38px; }
.cert-seal span { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 0 12px; line-height: 1.2; margin-top: 4px; }
.cert-qr-wrap { display: flex; align-items: flex-end; justify-content: flex-end; gap: 14px; text-align: left; }
.cert-qr { width: 92px; height: 92px; }
.cert-qr svg { width: 100%; height: 100%; display: block; }
.cert-no span, .cert-no small { display: block; font-size: 11px; color: var(--muted); }
.cert-no strong { display: block; font-size: 16px; letter-spacing: .04em; color: var(--navy-900); }
/* Your own certificate design */
.cert-custom { overflow: hidden; }
.cert-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.cf { position: absolute; transform: translate(-50%, -50%); text-align: center; line-height: 1.25; }
.cf-name { width: 84%; font-weight: 700; }
.cf-training { width: 78%; font-weight: 600; font-family: var(--font-head); }
.cf-date { font-size: 18px; font-weight: 600; white-space: nowrap; }
.cf-no { font-size: 15px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.cf-qr { background: #fff; padding: 4px; }
.cf-qr svg { width: 100%; height: 100%; display: block; }
.cert-preview-tag { background: var(--orange-50); color: #8a4b05; border: 1px solid #fde3bd; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
@media print {
  @page { size: A4 landscape; margin: 0; }
  .cert-toolbar, #wpadminbar { display: none !important; }
  .cert-page { background: #fff; }
  .cert-stage { padding: 0; height: auto !important; }
  .cert { transform: none !important; box-shadow: none; width: 297mm; height: 210mm; }
}

/* Pages designed with Elementor (or another page builder) */
.bx-builder { width: 100%; }
.bx-builder > .elementor { margin: 0; }
.bx-builder .elementor-widget-text-editor, .bx-builder .elementor-widget-heading .elementor-heading-title { font-family: inherit; }

/* Clients — moving logos */
.clients-band { padding: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.clients-band.alt { background: var(--bg-alt); }
.clients-band .sec-head { margin-bottom: 32px; }
.cl-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cl-move { display: flex; width: max-content; animation: clients linear infinite; }
.cl-track:hover .cl-move { animation-play-state: paused; }
.cl-dup { display: flex; }
@keyframes clients { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cl-move .cl-item { width: 200px; margin: 0 14px; }
.cl-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-align: center; transition: box-shadow .2s, border-color .2s; }
a.cl-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); color: var(--ink); }
.cl-logo { display: grid; place-items: center; height: 64px; width: 100%; }
.cl-logo img { max-height: 64px; max-width: 150px; width: auto; height: auto; object-fit: contain; transition: filter .25s, opacity .25s; }
.cl-gray .cl-logo img { filter: grayscale(1); opacity: .85; }
.cl-gray .cl-item:hover .cl-logo img { filter: none; opacity: 1; }
.cl-initial { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-50); color: var(--blue); font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; }
.cl-name { font-size: .86rem; font-weight: 600; line-height: 1.3; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.cl-grid > .cl-item { min-width: 0; }
.cl-grid .cl-logo img { max-width: 100%; }
.cl-name { overflow-wrap: anywhere; }
.cl-grid .cl-logo img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cl-move { animation: none; } .cl-track { overflow-x: auto; } .cl-dup { display: none; } }
@media (max-width: 760px) { .cl-move .cl-item { width: 160px; margin: 0 8px; } .cl-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .cl-item { padding: 14px 10px; } }
.clients-band + .section { padding-top: 16px; }

/* Bionexa widgets inside Elementor: always full width, no extra spacing */
.elementor-widget[class*="elementor-widget-bx_"] { width: 100vw !important; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; margin-top: 0 !important; margin-bottom: 0 !important; --kit-widget-spacing: 0px; }
.elementor-widget[class*="elementor-widget-bx_"] > .elementor-widget-container { margin: 0; padding: 0; }
.bx-builder .e-con:has(> .elementor-widget[class*="elementor-widget-bx_"]) { --padding-top: 0px; --padding-bottom: 0px; --gap: 0px; }
.bx-builder h1, .bx-builder h2, .bx-builder h3 { font-family: var(--font-head); }
html { overflow-x: hidden; }
/* Keep Bionexa backgrounds visible even when Elementor's lazy-loading is on */
.bx-builder .elementor-widget[class*="elementor-widget-bx_"] .cta-inner { background-image: radial-gradient(600px 300px at 100% 0%, rgba(254, 166, 35, .25), transparent 60%), linear-gradient(120deg, var(--blue) 0%, var(--navy-800) 70%) !important; }
/* Same spacing as the built-in pages: banner after a dark/grey section */
.bx-builder [data-element_type]:has(.section.dark) + [data-element_type] .cta-band { padding-top: clamp(64px, 8vw, 100px); }
.bx-builder [data-element_type]:has(.section.alt):not(:has(.section.dark)) + [data-element_type] .cta-band { background: linear-gradient(var(--bg-alt) 50%, #fff 50%); }

/* Elementor resets images (height:auto, no radius/shadow); restore the Bionexa image styles */
.bx-builder .elementor-widget .brand img { height: 46px; width: auto; }
.bx-builder .elementor-widget .hero-img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.6; border: 6px solid rgba(255, 255, 255, .06); }
.bx-builder .elementor-widget .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.bx-builder .elementor-widget .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bx-builder .elementor-widget .news-img { aspect-ratio: 16 / 9; overflow: hidden; }
.bx-builder .elementor-widget .news-img img { width: 100%; height: 100%; object-fit: cover; }
.bx-builder .elementor-widget .svc-hero-art img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 6px solid rgba(255, 255, 255, .06); }
.bx-builder .elementor-widget .about-img img { border-radius: 26px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.bx-builder .elementor-widget .lb img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; margin: 0 auto; border-radius: 16px; }
.bx-builder .elementor-widget .f-brand img { width: 110px; height: auto; margin-bottom: 18px; }
.bx-builder .elementor-widget .brand img { height: 38px; }
.bx-builder .elementor-widget .article-img img { border-radius: 20px; width: 100%; }
.bx-builder .elementor-widget .entry-content img { border-radius: 14px; }
.bx-builder .elementor-widget .album-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--bg-alt); color: var(--muted); overflow: hidden; }
.bx-builder .elementor-widget .album-img img { width: 100%; height: 100%; object-fit: cover; }
.bx-builder .elementor-widget .album-img > .ic { width: 40px; height: 40px; }
.bx-builder .elementor-widget .cert-home img { height: 40px; width: auto; }
.bx-builder .elementor-widget .cert-sig-img { max-height: 60px; width: auto; margin-bottom: -6px; }
.bx-builder .elementor-widget .cl-logo img { max-height: 64px; max-width: 150px; width: auto; height: auto; object-fit: contain; transition: filter .25s, opacity .25s; }
.bx-builder .elementor-widget .cl-gray .cl-logo img { filter: grayscale(1); opacity: .85; }
.bx-builder .elementor-widget .cl-gray .cl-item:hover .cl-logo img { filter: none; opacity: 1; }
.bx-builder .elementor-widget .cl-grid .cl-logo img { max-width: 100%; }
.bx-builder .elementor-widget .cl-grid .cl-logo img { filter: none; opacity: 1; }
.bx-builder .elementor-widget .btn-primary { box-shadow: 0 8px 20px -10px rgba(8, 120, 191, .8); }
.bx-builder .elementor-widget .btn-accent { box-shadow: 0 10px 24px -10px rgba(254, 166, 35, .9); }
.bx-builder .elementor-widget .about-badge span { max-width: 9em; }

/* Website registration form (answers sent to Google Form) */
.gf-help { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: -2px; }
.gf-choice { border: 0; padding: 0; margin: 0; }
.gf-choice legend { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.gf-opts { display: grid; gap: 8px; }
.gf-scale .gf-opts { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.form-card .gf-opts label.check { font-weight: 500; color: var(--text); }
.form-card .gf-opts input { width: auto; accent-color: var(--blue); }

/* Payment options */
.pay-box { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; }
.pay-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.pay-head > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #e9f7ee; color: #15803d; flex-shrink: 0; }
.pay-head h3 { margin: 0 0 2px; font-size: 1.2rem; }
.pay-fee { margin: 0; color: var(--muted); }
.pay-fee strong { color: var(--ink); }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.pay-m { background: var(--bg-alt); border-radius: 14px; padding: 16px 18px; }
.pay-name { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 8px; }
.pay-m dl { margin: 0; display: grid; gap: 6px; }
.pay-m dl > div { display: grid; gap: 1px; }
.pay-m dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pay-m dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink); font-weight: 600; font-size: .93rem; overflow-wrap: anywhere; }
.pay-line dd { font-weight: 500; color: var(--text); }
.copy-btn { flex-shrink: 0; border: 1px solid var(--line); background: #fff; color: var(--blue); border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 600; cursor: pointer; }
.copy-btn:hover { border-color: var(--blue); }
.copy-btn.done { color: #15803d; border-color: #a7e3bd; }
.pay-note { display: flex; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--orange-50); color: #8a4b05; font-size: .9rem; }
.pay-note .ic { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.pay-fields { border: 1px dashed #b7d7ec; background: #f6fbfe; border-radius: 14px; padding: 16px 18px 18px; margin: 4px 0 0; display: grid; gap: 14px; }
.pay-fields legend { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); padding: 0 6px; }
.pay-fields legend .ic { width: 18px; height: 18px; color: #15803d; }
.form-card input[type=file] { padding: 10px; background: #fff; }

/* Google Form sections on the website form */
.gf-desc { color: var(--text); font-size: .92rem; line-height: 1.6; background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; }
.gf-desc .copy-btn { margin-left: 4px; vertical-align: 1px; }
.gf-section { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.gf-section h3 { margin: 0; font-size: 1.12rem; display: flex; align-items: center; gap: 8px; }
.gf-section h3 .ic { width: 20px; height: 20px; color: #15803d; }
.gf-pay .gf-desc { background: #effaf3; border: 1px solid #c7ecd5; }
.pay-box.compact { margin: 0; padding: 14px; border-style: dashed; }
.pay-box.compact .pay-head { display: none; }
.pay-proof { background: #f6fbfe; border: 1px dashed #b7d7ec; border-radius: 12px; padding: 12px 14px; }

/* Two signatories on certificates */
.cert-bottom.two { grid-template-columns: 1fr 1fr auto 1fr; }
.cert-bottom.two .cert-sig-line { width: 180px; }
.cf-sig { display: flex; flex-direction: column; align-items: center; width: 30%; line-height: 1.25; }
.cf-sig img { margin-bottom: 2px; }
.cf-sig strong { font-size: 15px; }
.cf-sig span { font-size: 12px; opacity: .8; }

/* =====================================================================
   Chat assistant (free button chat) — inc/chat.php + assets/js/chat.js
   ===================================================================== */
.bxc { position: fixed; right: 20px; bottom: 20px; z-index: 95; font-family: var(--font); }
.bxc-launch { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 13px 20px 13px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--navy-800)); color: #fff; font: 600 .95rem var(--font); box-shadow: 0 16px 34px -12px rgba(8, 120, 191, .75); transition: transform .2s, box-shadow .2s; }
.bxc-launch:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(8, 120, 191, .85); }
.bxc-launch:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.bxc-launch .ic { width: 24px; height: 24px; }
.bxc-ic-close { display: none; }
.bxc[data-state="open"] .bxc-ic-open, .bxc[data-state="open"] .bxc-label { display: none; }
.bxc[data-state="open"] .bxc-ic-close { display: inline-flex; }
.bxc[data-state="open"] .bxc-launch { padding: 14px; }
.bxc-ic-open { display: inline-flex; position: relative; }
.bxc[data-state="closed"] .bxc-ic-close { display: none; }
.bxc-ic-open::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; }

.bxc-panel { position: absolute; right: 0; bottom: 70px; width: 380px; max-width: calc(100vw - 32px); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 35, 70, .06); animation: bxc-in .22s ease-out; }
.bxc-panel[hidden] { display: none; }
@keyframes bxc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.bxc-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.bxc-head img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; flex: none; }
.bxc-head > div { flex: 1; min-width: 0; line-height: 1.3; }
.bxc-head strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.bxc-head span { font-size: .78rem; color: #b9c9de; display: inline-flex; align-items: center; gap: 6px; }
.bxc-head i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; }
.bxc-x { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.bxc-x:hover { background: rgba(255, 255, 255, .22); }
.bxc-x .ic { width: 18px; height: 18px; }

.bxc-body { position: relative; flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.bxc-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.5; animation: bxc-in .2s ease-out; }
.bxc-msg p { margin: 0 0 6px; }
.bxc-msg p:last-child { margin-bottom: 0; }
.bxc-bot { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.bxc-me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.bxc-strong { font-weight: 700; color: var(--navy-900); }
.bxc-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.bxc-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9fb0c6; animation: bxc-dot 1s infinite; }
.bxc-typing span:nth-child(2) { animation-delay: .15s; } .bxc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bxc-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.bxc-chips { display: flex; flex-wrap: wrap; gap: 7px; padding-left: 2px; }
.bxc-chip { border: 1.5px solid var(--blue); background: #fff; color: var(--blue); border-radius: 999px; padding: 7px 13px; font: 600 .84rem var(--font); cursor: pointer; text-align: left; line-height: 1.3; transition: background .15s, color .15s; }
.bxc-chip:hover, .bxc-chip:focus-visible { background: var(--blue); color: #fff; outline: none; }
.bxc-chip[disabled] { opacity: .45; cursor: default; background: #fff; color: var(--blue); }
.bxc-chip.on[disabled] { opacity: 1; background: var(--blue-50); }
a.bxc-chip { text-decoration: none; display: inline-block; }

.bxc-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.bxc-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.bxc-card-t { font-weight: 700; color: var(--navy-900); line-height: 1.35; margin-bottom: 3px; }
.bxc-card-t:hover { color: var(--blue); }
.bxc-meta { font-size: .8rem; color: var(--text); }
.bxc-badge { align-self: flex-start; margin-top: 4px; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--orange-50); color: var(--orange-600); }
.bxc-badge.open { background: #e7f8ee; color: #15803d; }
.bxc-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.bxc-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; padding: 7px 14px; background: var(--orange); color: var(--navy-950); font: 700 .82rem var(--font); cursor: pointer; text-decoration: none; }
.bxc-btn:hover { background: var(--orange-600); color: var(--navy-950); }
.bxc-btn.ghost { background: var(--blue-50); color: var(--blue-600); }
.bxc-btn.ghost:hover { background: #d6e9f6; color: var(--blue-600); }
.bxc-link { font-weight: 600; }
.bxc-form { display: flex; gap: 6px; margin-top: 8px; }
.bxc-form input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 9px; padding: 8px 10px; font: 500 .88rem var(--font); text-transform: uppercase; }
.bxc-form input:focus { outline: none; border-color: var(--blue); }

.bxc-foot { padding: 10px 14px 12px; border-top: 1px solid var(--line); background: #fff; }
.bxc-wa { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 9px; background: #22c55e; color: #fff; font-weight: 600; font-size: .88rem; }
.bxc-wa:hover { background: #16a34a; color: #fff; }
.bxc-wa .ic { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .bxc { right: 14px; bottom: 14px; }
  .bxc-label { display: none; }
  .bxc-launch { padding: 15px; }
  .bxc-panel { position: fixed; left: 10px; right: 10px; bottom: 82px; width: auto; max-width: none; height: calc(100dvh - 100px); border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .bxc-panel, .bxc-msg, .bxc-typing span { animation: none; } }
@media print { .bxc { display: none !important; } }
.bx-form label[hidden], .bx-form .fb-tr[hidden], .bx-form .fb-sv[hidden] { display: none !important; }
.fb-about { margin-bottom: 4px; }
.fb-about-opts { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* SDS information form (inc/sds.php) */
.sds-wrap { max-width: 900px; }
.sds-h { margin: 22px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--navy-900); }
.sds-h small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.sds-note { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.sds-comp { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.sds-row { display: grid; grid-template-columns: 2fr 1.1fr .8fr; gap: 8px; }
.sds-row input { width: 100%; min-width: 0; }
.sds-row-h span { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sds-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.sds-opts { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
@media (max-width: 640px) { .sds-props { grid-template-columns: 1fr 1fr; } .sds-row { grid-template-columns: 1.5fr 1fr .7fr; gap: 6px; } }
.sds-add { width: auto; align-self: flex-start; display: inline-flex; }

/* Registration closing time */
.s-closed, .chips-row span.s-closed { color: #b91c1c; background: #fdecec; }
.reg-deadline { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--orange-50); color: #92400e; font-size: .92rem; }
.reg-deadline .ic { width: 18px; height: 18px; flex: none; }
.reg-closed { text-align: center; }
.reg-closed > .ic { width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: #fdecec; color: #b91c1c; margin: 0 auto 10px; display: block; }
.reg-closed .hero-actions { justify-content: center; }
.bxc-badge.closed { background: #fdecec; color: #b91c1c; }

/* Training already known: fixed line in the registration form */
.gf-fixed { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); border: 1px solid #cfe5f5; }
.gf-fixed > .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--blue); color: #fff; flex: none; }
.gf-fixed small { display: block; font-size: .76rem; font-weight: 600; color: var(--muted); }
.gf-fixed strong { display: block; color: var(--navy-900); line-height: 1.35; }

/* Two WhatsApp numbers */
.bxc-foot-t { margin: 0 0 6px; font-size: .78rem; font-weight: 600; color: var(--muted); text-align: center; }
.bxc-wa2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bxc-wa2 .bxc-wa { font-size: .8rem; padding: 9px 6px; text-align: center; line-height: 1.25; }
.bxc-wa2 .bxc-wa .ic { width: 18px; height: 18px; flex: none; }
.wa-float-2 { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-float-2 .wa-float { position: static; }
@media (max-width: 560px) { .wa-float-2 .wa-float span { display: inline; font-size: .8rem; } .wa-float-2 .wa-float { padding: 10px 14px 10px 12px; } }

/* ===== Announcement window (inc/popup.php) ===== */
.bxp { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bxp[hidden] { display: none; }
.bxp-back { position: absolute; inset: 0; background: rgba(6, 20, 40, .55); opacity: 0; transition: opacity .25s; }
.bxp-card { position: relative; width: 520px; max-width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s, transform .25s; }
.bxp.on .bxp-back { opacity: 1; }
.bxp.on .bxp-card { opacity: 1; transform: none; }
.bxp-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.bxp-x:hover, .bxp-x:focus-visible { background: rgba(255, 255, 255, .3); outline: none; }
.bxp-x .ic { width: 18px; height: 18px; }
.bxp-head { display: flex; align-items: center; gap: 12px; padding: 18px 56px 18px 20px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.bxp-head h2 { margin: 0; color: #fff; font-size: 1.2rem; }
.bxp-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--orange); color: var(--navy-950); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.bxp-ic .ic { width: 22px; height: 22px; }
.bxp-body { padding: 16px 20px 6px; overflow-y: auto; overscroll-behavior: contain; }
.bxp-custom { margin-bottom: 14px; padding: 14px; border-radius: 14px; background: var(--orange-50); }
.bxp-custom img { width: 100%; max-height: 260px; object-fit: contain; border-radius: 10px; margin-bottom: 10px; background: #fff; }
.bxp-custom h3 { margin: 0 0 4px; font-size: 1.08rem; }
.bxp-custom p { margin: 0 0 10px; font-size: .93rem; color: var(--text); }
.bxp-sub { display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bxp-sub .ic { width: 16px; height: 16px; color: var(--blue); }
.bxp-tr { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; }
.bxp-tr-main { flex: 1; min-width: 0; }
.bxp-tr-t { display: block; font-weight: 700; color: var(--navy-900); line-height: 1.35; margin-bottom: 4px; }
.bxp-tr-t:hover { color: var(--blue); }
.bxp-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--text); }
.bxp-meta span { display: inline-flex; align-items: center; gap: 4px; }
.bxp-meta .ic { width: 14px; height: 14px; color: var(--blue); }
.bxp-deadline { display: block; margin-top: 4px; font-size: .76rem; font-weight: 600; color: #b45309; }
.bxp-tr .btn { flex: none; }
.bxp-news { list-style: none; margin: 0 0 8px; padding: 0; }
.bxp-news li + li { border-top: 1px solid var(--line); }
.bxp-news a { display: flex; align-items: center; gap: 10px; padding: 9px 2px; color: var(--ink); font-size: .92rem; }
.bxp-news a:hover { color: var(--blue); }
.bxp-news time { flex: none; font-size: .74rem; font-weight: 700; color: var(--blue); background: var(--blue-50); border-radius: 6px; padding: 2px 7px; }
.bxp-news span { flex: 1; min-width: 0; }
.bxp-news .ic { width: 15px; height: 15px; flex: none; color: var(--muted); }
.bxp-foot { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.bxp-later { margin-left: auto; border: 0; background: var(--bg-alt); color: var(--text); font: 600 .88rem var(--font); padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.bxp-later:hover { background: #e6edf5; }
@media (max-width: 560px) {
  .bxp { align-items: flex-end; padding: 0; }
  .bxp-card { width: 100%; max-height: 88vh; border-radius: 20px 20px 0 0; }
  .bxp-tr { flex-wrap: wrap; }
  .bxp-tr .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .bxp-back, .bxp-card { transition: none; } }
@media print { .bxp, .bxw { display: none !important; } }

/* ===== Floating WhatsApp button above the chat button ===== */
.bxw { position: fixed; right: 22px; bottom: 92px; z-index: 94; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.bxw-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; background: #22c55e; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(22, 163, 74, .75); transition: transform .2s; }
.bxw-btn:hover { transform: translateY(-2px); color: #fff; }
.bxw-btn .ic { width: 28px; height: 28px; }
.bxw-menu { background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 35, 70, .06); width: 250px; }
.bxw-menu p { margin: 2px 6px 6px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.bxw-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.bxw-menu a:hover { background: #ecfdf3; color: var(--ink); }
.bxw-menu a .ic { width: 22px; height: 22px; color: #16a34a; flex: none; }
.bxw-menu small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.bxc[data-state="open"] ~ .bxw, body:has(.bxc[data-state="open"]) .bxw { display: none; }
@media (max-width: 560px) { .bxw { right: 16px; bottom: 84px; } .bxw-btn { width: 52px; height: 52px; } }
.reg-soon > .ic { background: var(--blue-50); color: var(--blue); }

/* /register: choose a training when several are open */
.reg-choose { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.reg-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); min-width: 0; }
.reg-card .tag { align-self: flex-start; }
.reg-card h3 { margin: 4px 0 2px; font-size: 1.15rem; }
.reg-card .meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; color: var(--text); }
.reg-card .meta li { display: flex; align-items: center; gap: 8px; }
.reg-card .meta .ic { width: 17px; height: 17px; color: var(--blue); flex: none; }
.reg-card .reg-deadline { margin: 4px 0 0; }
.reg-card-foot { margin-top: auto; padding-top: 12px; display: flex; gap: 10px; justify-content: space-between; align-items: center; }
@media (max-width: 400px) { .reg-choose { grid-template-columns: 1fr; } }
.reg-other { margin: 0 0 10px; font-weight: 600; font-size: .92rem; }
