/* =========================================================================
   Zertavis — trust-blue glassmorphism design system
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --accent: #0F68C0;
  --accent-2: #2B8FE0;
  --accent-hover: #0B5299;
  --accent-soft: rgba(15, 104, 192, 0.10);

  /* Ink */
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --on-accent: #ffffff;

  /* Surfaces */
  --bg: #eef3fb;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --hairline: rgba(71, 85, 105, 0.16);

  /* Status */
  --success: #10b981;
  --danger: #ef4444;

  /* Effects */
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 6px 22px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.18);
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --blob: 42% 58% 56% 44% / 52% 44% 58% 48%;  /* organic "round mask" for photos */

  --maxw: 1180px;
  --nav-h: 70px;

  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-top: 80px; /* clears the floating navbar */
}

/* Base gradient field behind everything */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background: linear-gradient(160deg, #f4f8ff 0%, #eef3fb 48%, #eef6ff 100%);
}

/* =========================================================================
   Ambient background: floating orbs + drifting "fireflies" (injected by ambient.js)
   ========================================================================= */
.zv-ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.zv-fireflies { position: absolute; inset: 0; width: 100%; height: 100%; }
.zv-orb { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.zv-orb-1 { width: 38rem; height: 38rem; left: -11rem; top: -9rem;
  background: radial-gradient(circle, rgba(15, 104, 192, 0.30), transparent 68%); animation: zvFloat 24s ease-in-out infinite; }
.zv-orb-2 { width: 34rem; height: 34rem; right: -9rem; top: 1rem;
  background: radial-gradient(circle, rgba(43, 143, 224, 0.26), transparent 68%); animation: zvFloat 28s ease-in-out infinite reverse; }
.zv-orb-3 { width: 42rem; height: 42rem; left: 52%; bottom: -16rem;
  background: radial-gradient(circle, rgba(15, 104, 192, 0.18), transparent 68%); animation: zvFloat 32s ease-in-out infinite; }
@keyframes zvFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(32px, -28px); }
  66% { transform: translate(-24px, 20px); }
}
@media (prefers-reduced-motion: reduce) { .zv-orb { animation: none; } }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--text-soft); }

.hidden { display: none !important; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

.eyebrow {
  display: inline-block;
  font-size: .73rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-head { max-width: 700px; margin: 0 auto 58px; text-align: center; }
.section-head p { font-size: 1rem; color: var(--muted); }
.lead { font-size: 1.04rem; color: var(--text-soft); }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: .9rem;
  border-radius: var(--radius-sm); padding: 11px 20px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .12s, box-shadow .18s, filter .18s, background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 10px 24px rgba(15, 104, 192, 0.35);
}
.btn-primary:hover { color: #fff; filter: brightness(1.05); box-shadow: 0 14px 30px rgba(15, 104, 192, 0.45); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--glass-strong); color: var(--accent);
  border-color: var(--hairline); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-secondary:hover { color: var(--accent-hover); border-color: var(--accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-ghost:hover { color: var(--accent); background: var(--accent-soft); }
.btn-lg { padding: 13px 24px; font-size: .98rem; }

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* =========================================================================
   Navbar
   ========================================================================= */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 32px); max-width: 1120px; z-index: 50;
  transition: top .4s var(--ease, ease);
}
.nav-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 6px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s ease, background .4s ease;
}
/* slightly more presence once the page is scrolled */
.nav.scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; display: block; }
.nav .brand img { height: 40px; transform: translateY(3px); }  /* person + check mark, slight optical centering */
.footer .brand img { height: 30px; }     /* full wordmark */

.nav .brand { flex: 1 1 0; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.nav-links a {
  position: relative;
  color: var(--text); font-weight: 600; font-size: .82rem;
  padding: 4px 0; transition: color .18s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: -3px;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .25s ease, left .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; left: 0; }

/* Nav mega-menu (certifications by portfolio) */
.nav-dd { position: static; display: inline-flex; align-items: center; }
.nav-mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(980px, 94vw); z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border); border-radius: 18px; box-shadow: var(--shadow);
  padding: 24px 26px 18px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-mega::before { content: ""; position: absolute; top: -22px; left: 0; right: 0; height: 22px; }
.nav-dd:hover .nav-mega, .nav-mega:hover, .nav-mega:target {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-mega-inner { columns: 3; column-gap: 32px; }
.nav-mega-col { break-inside: avoid; margin-bottom: 16px; display: flex; flex-direction: column; }
.nav-mega a { position: static; padding: 0; font-weight: 500; }
.nav-mega a::after { display: none; }
.nav-mega .nm-head { font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.nav-mega-col a:not(.nm-head) { font-size: .82rem; color: var(--text-soft); padding: 3px 0; line-height: 1.3; }
.nav-mega-col a:not(.nm-head):hover { color: var(--accent); }
.nm-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding-top: 14px; width: 100%;
  font-size: .82rem; font-weight: 700; color: var(--accent); border-top: 1px solid var(--hairline); }
.nm-all svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .nav-mega { display: none; } }

.nav-actions { display: flex; align-items: center; gap: 9px; flex: 1 1 0; justify-content: flex-end; }
.nav-actions .btn-primary {
  font-size: .8rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15, 104, 192, 0.28);
}

/* Language switcher */
.lang-switch { display: inline-flex; background: var(--glass-strong); border: 1px solid var(--hairline); border-radius: 9px; overflow: hidden; }
.lang-switch button {
  font: inherit; font-weight: 700; font-size: .72rem; letter-spacing: .03em;
  border: none; background: transparent; color: var(--muted);
  padding: 6px 9px; cursor: pointer; transition: background .15s, color .15s;
}
.lang-switch button.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.lang-switch button:not(.active):hover { color: var(--accent); }

/* Mobile nav */
.nav-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--text); }

@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    padding: 12px; margin: 0;
    border: 1px solid var(--glass-border); border-radius: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; border-radius: 10px; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; margin-left: 6px; }
  .nav-actions .btn-primary { display: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.hero-trust .ht-item { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--success); }

/* Hero visual: floating glass certificate card */
.hero-visual { position: relative; min-height: 540px; display: flex; align-items: center; justify-content: center; }
.cert-card {
  position: relative; z-index: 2;
  width: 100%; max-width: 400px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px 30px 26px;
}
.cert-card .cc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cert-card .cc-badge { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cert-card .cc-badge img { width: 30px; height: 30px; }
.cert-card .cc-seal {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 18px rgba(15, 104, 192, 0.4);
}
.cert-card .cc-seal svg { width: 24px; height: 24px; }
.cert-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.cert-card .cc-sub { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.cert-card .cc-row { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--hairline); font-size: .9rem; }
.cert-card .cc-row span:first-child { color: var(--muted); }
.cert-card .cc-row span:last-child { font-weight: 600; color: var(--text); }
.cert-card .cc-progress { height: 8px; border-radius: 6px; background: rgba(15, 104, 192,0.12); margin-top: 18px; overflow: hidden; }
.cert-card .cc-progress i { display: block; height: 100%; width: 82%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(8px); z-index: 1;
}
.hero-chip {
  position: absolute; z-index: 3;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 11px 15px;
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .85rem;
}
.hero-chip svg { width: 20px; height: 20px; color: var(--accent); }
.hero-chip.c1 { top: 8%; left: -4%; }
.hero-chip.c2 { bottom: 6%; right: -2%; }
.hero-chip .hc-num { color: var(--accent); font-weight: 800; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; }
  .hero-chip.c1 { left: 0; }
  .hero-chip.c2 { right: 0; }
}

/* =========================================================================
   Stats band
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 18px; border-radius: var(--radius); }
.stat .num { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--muted); font-size: .92rem; font-weight: 500; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   Portfolio cards grid
   ========================================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 26px;
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  transition: transform .18s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(15, 104, 192,0.3); }
.card .icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft), rgba(43, 143, 224,0.12));
  color: var(--accent); border: 1px solid rgba(15, 104, 192,0.18);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .92rem; flex: 1; }
.card .card-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: .76rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(15, 104, 192,0.16);
  padding: 4px 10px; border-radius: 999px;
}
.card-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .15s; }
.card:hover .card-link svg { transform: translateX(3px); }

/* =========================================================================
   Process / how it works
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); }
.step .step-num {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(15, 104, 192,0.35);
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* =========================================================================
   Feature / why list
   ========================================================================= */
.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row + .feature-row { margin-top: 26px; }
.feature-row .fi {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(15, 104, 192,0.18);
}
.feature-row .fi svg { width: 22px; height: 22px; }
.feature-row h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature-row p { color: var(--muted); font-size: .95rem; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-lg); padding: 56px 48px; text-align: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(30rem 30rem at 90% -20%, rgba(255,255,255,0.25), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .92; max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-band .btn-secondary { background: #fff; color: var(--accent); border-color: #fff; }
.cta-band .btn-secondary:hover { filter: brightness(0.97); }

/* =========================================================================
   Certifications catalog
   ========================================================================= */
.catalog-toolbar { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 32px; }
.filter-chip {
  font: inherit; font-weight: 600; font-size: .9rem;
  border: 1px solid var(--hairline); background: var(--glass-strong); color: var(--text-soft);
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  transition: all .15s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(15, 104, 192,0.3); }
.search-box { position: relative; width: 420px; max-width: 100%; }
.search-box input {
  font: inherit; font-size: .95rem; padding: 11px 16px 11px 40px; width: 100%;
  border: 1px solid var(--hairline); border-radius: 999px; background: var(--glass-strong);
  color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
.search-box input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15, 104, 192,0.14); }
.search-box svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
@media (max-width: 640px) { .search-box { margin-left: 0; width: 100%; } .search-box input { width: 100%; } }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-item {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 22px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .16s, box-shadow .18s, border-color .18s;
  display: flex; flex-direction: column;
}
.cert-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(15, 104, 192,0.3); }
.cert-item .ci-cat { font-size: .73rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.cert-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.cert-item p { font-size: .9rem; color: var(--muted); margin: 0 0 14px; flex: 1; }
.cert-item .ci-levels { display: flex; flex-wrap: wrap; gap: 6px; }
.cert-empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 60px 20px; }

/* =========================================================================
   Pricing
   ========================================================================= */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.price-card { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.price-card.featured { border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.price-card .pc-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; box-shadow: 0 6px 14px rgba(15, 104, 192,0.35);
}
.price-card h3 { font-size: 1.25rem; }
.price-card .pc-level { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.price-card .pc-price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.price-card .pc-price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .94rem; color: var(--text-soft); }
.price-list li svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* =========================================================================
   FAQ / accordion
   ========================================================================= */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; font: inherit; font-weight: 600; font-size: 1.02rem; color: var(--text);
  background: transparent; border: none; cursor: pointer;
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q svg { width: 20px; height: 20px; color: var(--accent); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: .96rem; }

/* =========================================================================
   Contact form
   ========================================================================= */
.form-card { padding: 36px; border-radius: var(--radius-lg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--text);
  background: rgba(255,255,255,0.7); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 12px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(15, 104, 192,0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: .92rem; font-weight: 600; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

/* =========================================================================
   Page header (inner pages)
   ========================================================================= */
.page-head { padding: 36px 0 8px; text-align: center; }
.page-head h1 { margin-bottom: 14px; }
.page-head p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; color: var(--muted); }

/* Photo-free gradient hero (illustration-style) */
.gradient-hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: 60px 40px; text-align: center;
  background: linear-gradient(135deg, #0F68C0 0%, #2B8FE0 58%, #5cb2f0 100%);
  box-shadow: 0 30px 70px rgba(15, 104, 192, 0.30);
}
.gradient-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(26rem 26rem at 10% 6%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(24rem 24rem at 92% 118%, rgba(255, 255, 255, 0.20), transparent 60%);
}
.gradient-hero .gh-mark {
  position: absolute; right: -26px; bottom: -34px; width: 260px; height: auto;
  opacity: 0.16; filter: brightness(0) invert(1); pointer-events: none; z-index: -1;
}
.gradient-hero .eyebrow { color: rgba(255, 255, 255, 0.92); }
.gradient-hero h1 { color: #fff; margin-bottom: 12px; }
.gradient-hero .lead { color: rgba(255, 255, 255, 0.94); max-width: 640px; margin: 0 auto; }
@media (max-width: 560px) { .gradient-hero { padding: 44px 24px; } .gradient-hero .gh-mark { width: 180px; } }

/* prose for legal/about */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; color: var(--text-soft); }
.prose li { margin-bottom: .4em; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { margin-top: 40px; border-top: 1px solid var(--glass-border); background: rgba(255,255,255,0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.footer-inner { padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: 14px; }
.footer-about p { color: var(--muted); font-size: .92rem; max-width: 300px; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-soft); font-size: .93rem; padding: 5px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: .86rem; }
.footer-bottom .disclaimer { max-width: 640px; }

/* =========================================================================
   Reveal-on-scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* i18n visibility helper */
[data-lang-hide] { }

/* =========================================================================
   Imagery
   ========================================================================= */
/* Circular photo with a thin rotating accent ring + white border */
.circle-photo {
  position: relative; width: 100%; max-width: 360px; aspect-ratio: 1 / 1; margin: 0 auto;
}
.circle-photo > img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; display: block; box-shadow: 0 24px 60px rgba(15, 104, 192, 0.22);
}
.circle-photo::before {  /* rotating gradient ring = the "border" */
  content: ""; position: absolute; inset: -13px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from 0deg, rgba(15, 104, 192, 0.60), rgba(43, 143, 224, 0.12) 22%, transparent 40%, rgba(43, 143, 224, 0.45) 62%, transparent 80%, rgba(15, 104, 192, 0.60));
  -webkit-mask: radial-gradient(circle, transparent 53.5%, #000 54.5%);
          mask: radial-gradient(circle, transparent 53.5%, #000 54.5%);
  animation: cpRing 20s linear infinite;
}
.circle-photo::after {  /* white inner border + subtle sheen */
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.92);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.10), transparent 42%, rgba(15, 104, 192, 0.10));
}
@keyframes cpRing { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .circle-photo::before { animation: none; } }
.hero-circle { max-width: 400px; }

/* Floating buzzword pills around the hero image */
.hero-pill {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.93); border: 1px solid var(--glass-border);
  border-radius: 999px; padding: 8px 14px;
  font-size: .8rem; font-weight: 600; color: var(--text);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  white-space: nowrap;
}
.hero-pill svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.hero-pill.p1 { top: 7%;   left: 0;     animation: faceFloatA 7s ease-in-out infinite; }
.hero-pill.p2 { top: 1%;   right: 6%;   animation: faceFloatB 8s ease-in-out .5s infinite; }
.hero-pill.p3 { top: 42%;  left: -4%;   animation: faceFloatB 9s ease-in-out .2s infinite; }
.hero-pill.p4 { top: 36%;  right: -5%;  animation: faceFloatA 8.5s ease-in-out .8s infinite; }
.hero-pill.p5 { bottom: 13%; left: -2%; animation: faceFloatB 7.5s ease-in-out 1s infinite; }
.hero-pill.p6 { bottom: 5%; right: 4%;  animation: faceFloatA 8s ease-in-out 1.3s infinite; }
@media (prefers-reduced-motion: reduce) { .hero-pill { animation: none !important; } }
@media (max-width: 760px) { .hero-pill { display: none; } }
.media-frame.ratio-43 { aspect-ratio: 4 / 3; }
.media-frame.ratio-32 { aspect-ratio: 3 / 2; }

/* Hero: centered certificate card + floating customer faces */
.hero-visual .cert-card {
  position: relative; width: 280px; max-width: 82%; padding: 18px 18px 16px; z-index: 5;
}
.hero-visual .cert-card h3 { font-size: 1.1rem; }
.hero-visual .cert-card .cc-top { margin-bottom: 16px; }
.hero-visual .cert-card .cc-sub { margin-bottom: 14px; }
.hero-visual .cert-card .cc-row { padding: 8px 0; font-size: .82rem; }

/* Hero "path to success" — no background, just the path */
.hero-visual .path-card { position: relative; z-index: 5; width: 400px; max-width: 94%; padding: 0; }
.path-card .pc-head { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: .98rem; letter-spacing: -0.01em; margin-bottom: 10px; }
.path-card .pc-head-icon {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  box-shadow: 0 5px 14px rgba(15, 104, 192, 0.35);
}
.path-card .pc-head-icon svg { width: 17px; height: 17px; }
/* ascending node-and-line path (bottom-left -> top-right) */
.path-flow { position: relative; width: 100%; height: 300px; }
.pf-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pf-node { position: absolute; transform: translate(-50%, -50%); z-index: 1; }
.pf-node.n1 { left: 12%; top: 82%; }
.pf-node.n2 { left: 37%; top: 61%; }
.pf-node.n3 { left: 63%; top: 40%; }
.pf-node.n4 { left: 88%; top: 18%; }
.pf-dot {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2.5px solid rgba(15, 104, 192, 0.55); color: var(--accent);
  font-size: 1.05rem; font-weight: 800; box-shadow: 0 7px 18px rgba(15, 23, 42, 0.14);
}
.pf-dot svg { width: 22px; height: 22px; }
.pf-node.done .pf-dot {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff;
  box-shadow: 0 9px 22px rgba(15, 104, 192, 0.45);
}
.pf-label {
  position: absolute; top: calc(50% + 30px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: .82rem; font-weight: 600; color: var(--text-soft);
  background: rgba(255, 255, 255, 0.92); padding: 3px 11px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10);
}
.pf-node.done .pf-label { color: var(--accent); font-weight: 700; }

.hero-faces { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-face { position: absolute; border-radius: 50%; overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.92); }
.hero-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-face.f1 { width: 66px; height: 66px; top: 5%;   left: 13%;  animation: faceFloatA 7s ease-in-out infinite; }
.hero-face.f2 { width: 58px; height: 58px; top: 9%;   right: 14%; animation: faceFloatB 8s ease-in-out .6s infinite; }
.hero-face.f3 { width: 52px; height: 52px; top: 33%;  left: 14%;  animation: faceFloatA 9s ease-in-out .2s infinite; }
.hero-face.f4 { width: 78px; height: 78px; bottom: 8%; right: 14%; animation: faceFloatB 8.5s ease-in-out 1s infinite; }
.hero-face.f5 { width: 52px; height: 52px; bottom: 32%; right: 24%; animation: faceFloatA 9.5s ease-in-out .4s infinite; }
.hero-face.f6 { width: 48px; height: 48px; top: 6%;   left: 44%;  animation: faceFloatB 8s ease-in-out 1.4s infinite; }
.hero-face.f7 { width: 54px; height: 54px; bottom: 7%; left: 38%; animation: faceFloatA 8s ease-in-out 1.3s infinite; }
@keyframes faceFloatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes faceFloatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .hero-face { animation: none !important; } }
@media (max-width: 900px) {
  .hero-visual { min-height: 360px; }
  .hero-visual .cert-card { width: 250px; }
  .hero-face { display: none; }
}

/* Photo inside a .split block */
.split .media-frame { aspect-ratio: 4 / 3; }

/* Contact page: top-aligned columns, photo fills remaining height */
.contact-split { align-items: stretch; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.contact-photo {
  flex: 1; min-height: 220px; overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 60px rgba(15, 104, 192, 0.18);
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .contact-photo { min-height: 240px; } }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.testimonial {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial .stars { display: flex; gap: 3px; color: #f59e0b; }
.testimonial .stars svg { width: 17px; height: 17px; }
.testimonial .quote { color: var(--text-soft); font-size: .98rem; line-height: 1.65; flex: 1; margin: 0; }
.testimonial .person { display: flex; align-items: center; gap: 12px; }
.testimonial .person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.testimonial .person .nm { font-weight: 700; font-size: .92rem; line-height: 1.2; }
.testimonial .person .rl { color: var(--muted); font-size: .82rem; }

/* =========================================================================
   Certification detail page
   ========================================================================= */
.crumbs { font-size: .82rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 6px; opacity: .6; }

.detail-header-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 52px; align-items: center; margin-top: 12px; }
@media (max-width: 900px) { .detail-header-grid { grid-template-columns: 1fr; gap: 24px; } }
.detail-hero-block { padding: 4px 0 8px; }
.detail-hero-block .h1sub { color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.detail-hero-block h1 { margin: 12px 0 12px; }
.detail-hero-block .lead { margin-bottom: 14px; }
.detail-hero-extra { color: var(--muted); font-size: .96rem; line-height: 1.6; margin: 0 0 24px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Two-column body: main content + sticky sidebar */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 52px; align-items: stretch; margin-top: 48px; padding-bottom: 8px; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; gap: 0; } }

.detail-aside-photo { max-width: 300px; margin: 0 auto; }
.facts-card { padding: 26px; border-radius: var(--radius-lg); position: sticky; top: 96px; }
@media (max-width: 900px) {
  .detail-aside { margin-top: 28px; }
  .detail-aside-photo { max-width: 260px; margin-bottom: 22px; }
  .facts-card { position: static; }
}
.facts-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.facts-card .fc-sub { color: var(--muted); font-size: .82rem; margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.facts-card .fc-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hairline); font-size: .9rem; }
.facts-card .fc-row span:first-child { color: var(--muted); }
.facts-card .fc-row span:last-child { font-weight: 600; text-align: right; }
.facts-card .btn { width: 100%; justify-content: center; margin-top: 20px; }

.detail-section { padding: 28px 0; border-top: 1px solid var(--hairline); }
.detail-main .detail-section:first-child { border-top: none; padding-top: 4px; }
.detail-section h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 14px; }
.detail-section p { color: var(--text-soft); }
.detail-section-full { padding: 48px 0; border-top: 1px solid var(--hairline); }
.detail-section-full h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 14px; }

.check-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }
.check-list li { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; color: var(--text-soft); font-size: .96rem; }
.check-list li svg { width: 19px; height: 19px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 4px; }
.faq-list { margin-top: 4px; }

.level-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.level-card .lc-name { font-weight: 700; font-size: 1.05rem; }
.level-card .lc-meta { color: var(--accent); font-size: .82rem; font-weight: 600; margin: 2px 0 10px; }
.level-card p { color: var(--muted); font-size: .9rem; margin: 0; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { display: block; background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 20px; transition: transform .16s, box-shadow .18s, border-color .18s; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(15, 104, 192,.3); }
.related-card .rc-cat { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.related-card .rc-name { font-weight: 700; color: var(--text); margin-top: 4px; }

/* Make catalog tiles fully clickable */
a.cert-item { text-decoration: none; color: inherit; }
a.cert-item .ci-more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--accent); }
a.cert-item .ci-more svg { width: 16px; height: 16px; transition: transform .15s; }
a.cert-item:hover .ci-more svg { transform: translateX(3px); }

/* =========================================================================
   Team
   ========================================================================= */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 740px; margin: 0 auto; }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; max-width: 360px; } }
.team-member {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px; text-align: center;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.team-member img {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 16px; border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.team-member .nm { font-weight: 700; font-size: 1.08rem; }
.team-member .rl { color: var(--accent); font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.team-member p { font-size: .9rem; color: var(--muted); margin: 0; }
