/* ============================================================
   HYPECREWS — PREMIUM BRAND DESIGN SYSTEM
   Palette: #1B365D · #005A9C · #60C1E5 · #A0E0EF
   ============================================================ */

:root {
  --navy: #1B365D;
  --navy-deep: #12263F;
  --blue: #005A9C;
  --sky: #60C1E5;
  --ice: #A0E0EF;
  --mist: #F4F9FC;
  --ink: #14283D;
  --muted: #5D7788;
  --muted-2: #8AA3B3;
  --line: #E2EDF4;
  --white: #ffffff;
  --green: #15805A;
  --amber: #B57A16;
  --red: #B4453F;
  --font-head: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --shadow-xs: 0 2px 10px rgba(27, 54, 93, .05);
  --shadow-sm: 0 10px 30px rgba(27, 54, 93, .08);
  --shadow-md: 0 20px 50px rgba(27, 54, 93, .12);
  --shadow-lg: 0 34px 80px rgba(18, 38, 63, .2);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--sky); color: var(--navy-deep); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.14;
  letter-spacing: -.025em;
  margin: 0;
  font-weight: 700;
}
p { margin: 0; }
.display-1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.05; }
.display-2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.08; }
.display-3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; }

.shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.shell-wide { max-width: 1340px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-sm { padding: clamp(44px, 5.5vw, 76px) 0; }
.relative { position: relative; }
.z-1 { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}
.eyebrow-light { color: var(--ice); }
.eyebrow-light::before { background: linear-gradient(90deg, var(--sky), var(--ice)); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-head p { margin-top: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.section-head.left { margin-left: 0; text-align: left; }

.gradient-text {
  background: linear-gradient(115deg, var(--blue) 5%, var(--sky) 55%, #2E8FC0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gradient-text-light {
  background: linear-gradient(115deg, #ffffff 0%, var(--ice) 45%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  font-size: 12.5px; font-weight: 800; letter-spacing: .015em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap; line-height: 1.25; cursor: pointer;
}
.btn i { font-size: 11px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(140deg, var(--blue), var(--navy));
  color: #fff; box-shadow: 0 12px 26px rgba(0, 90, 156, .24);
}
.btn-primary:hover { box-shadow: 0 18px 34px rgba(0, 90, 156, .32); }
.btn-sky {
  background: linear-gradient(140deg, var(--sky), #3FA7D6);
  color: var(--navy-deep); box-shadow: 0 12px 26px rgba(96, 193, 229, .3);
}
.btn-sky:hover { box-shadow: 0 18px 34px rgba(96, 193, 229, .4); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); box-shadow: var(--shadow-xs); }
.btn-outline:hover { border-color: var(--sky); color: var(--blue); }
.btn-ghost-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--blue); }
.btn-lg { padding: 16px 30px; font-size: 13.5px; border-radius: 14px; }
.btn-sm { padding: 10px 17px; font-size: 11.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
}
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* --------------------------------------------------------------- Chips */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--mist); color: var(--muted);
  font-size: 11px; font-weight: 700; line-height: 1.2;
}
.chip i { color: var(--blue); font-size: 10px; }
.chip-light {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.17);
  color: rgba(255,255,255,.78);
}
.chip-light i { color: var(--ice); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; border: 1px solid transparent;
  font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: capitalize;
  line-height: 1.3;
}
.badge-sky { background: #eaf8fd; color: var(--blue); border-color: #cdeef9; }
.badge-green { background: #eafaf3; color: var(--green); border-color: #c9f0df; }
.badge-amber { background: #fdf6e8; color: var(--amber); border-color: #f4e3bd; }
.badge-red { background: #fdeeee; color: var(--red); border-color: #f2c9c7; }
.badge-slate { background: #eef3f7; color: var(--muted); border-color: #dde8ef; }

/* ---------------------------------------------------------------- Cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe6f2; }
.card-dark {
  background: linear-gradient(145deg, var(--navy-deep), var(--navy) 65%, #0d3356);
  border: 1px solid rgba(255,255,255,.08); border-radius: 22px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4 { color: #fff; }

.icon-tile {
  width: 46px; height: 46px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eef9fd; border: 1px solid #d9f0f9; color: var(--blue);
  font-size: 17px; flex-shrink: 0;
  transition: transform .3s var(--ease), background .3s ease;
}
.icon-tile-lg { width: 62px; height: 62px; border-radius: 18px; font-size: 23px; }
.icon-tile-sm { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
.card-hover:hover .icon-tile { transform: translateY(-2px) scale(1.04); }

.data-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}

/* ----------------------------------------------------------- Navigation */
.nav-root { position: fixed; top: 0; left: 0; right: 0; z-index: 900; }
.nav-shell {
  background: rgba(27, 54, 93, .96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .3s ease, background .3s ease, padding .3s ease;
}
.nav-shell.is-scrolled { box-shadow: 0 14px 34px rgba(10, 25, 44, .24); background: rgba(23, 46, 80, .98); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 9px; font-size: 12.5px; font-weight: 700;
  color: rgba(255,255,255,.72); transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255,255,255,.07); }
.nav-link i { font-size: 8px; opacity: .7; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.nav-user {
  display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #fff; font-size: 11.5px; font-weight: 700;
}
.nav-avatar {
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--sky), var(--blue)); color: #fff;
  font-size: 11px; font-weight: 800;
}
.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  color: #fff; font-size: 16px; align-items: center; justify-content: center;
}

/* Mega menu */
.nav-mega-wrap { position: relative; }
.nav-mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: min(680px, 88vw); padding: 18px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s var(--ease), visibility .22s;
}
.nav-mega-wrap:hover .nav-mega, .nav-mega-wrap:focus-within .nav-mega {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-mega a {
  display: flex; align-items: flex-start; gap: 11px; padding: 10px 11px;
  border-radius: 11px; transition: background .2s ease;
}
.nav-mega a:hover { background: var(--mist); }
.nav-mega .mega-ico {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: #eef9fd; color: var(--blue); font-size: 12px; flex-shrink: 0;
}
.nav-mega strong { display: block; font-size: 12px; color: var(--navy); font-weight: 800; line-height: 1.3; }
.nav-mega small { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 2px; }
.nav-mega-foot {
  grid-column: 1 / -1; margin-top: 8px; padding: 13px 15px; border-radius: 12px;
  background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 11.5px; font-weight: 700;
}
.nav-mega-foot a { color: var(--ice); font-weight: 800; padding: 0; display: inline-flex; }

/* Drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 950; background: var(--navy-deep);
  display: flex; flex-direction: column; padding: 22px 20px 30px;
  transform: translateX(100%); transition: transform .38s var(--ease);
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.nav-drawer-close {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #fff; font-size: 16px;
}
.drawer-label {
  font-size: 9.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.38); margin: 22px 0 10px;
}
.drawer-link {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px;
  border-radius: 12px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 700;
}
.drawer-link i { width: 18px; text-align: center; color: var(--sky); font-size: 12px; }
.drawer-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.drawer-service {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 12px; border-radius: 10px; color: rgba(255,255,255,.7);
  font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.05);
}
.drawer-service:hover { color: #fff; background: rgba(255,255,255,.05); }
.drawer-actions { display: grid; gap: 10px; margin-top: 28px; }

/* ------------------------------------------------------------- Hero home */
.hero-home {
  position: relative; overflow: hidden;
  padding: 168px 0 96px;
  background:
    radial-gradient(circle at 82% 12%, rgba(96,193,229,.18), transparent 42%),
    radial-gradient(circle at 12% 86%, rgba(0,90,156,.36), transparent 46%),
    linear-gradient(150deg, #10233B, var(--navy) 58%, #0a2c4e);
}
.hero-home h1, .hero-home h2, .hero-home p { color: #fff; }
.hero-home p { color: rgba(255,255,255,.68); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.76); font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 99px; background: #4ade9b;
  box-shadow: 0 0 0 4px rgba(74,222,155,.13);
  animation: pulseDot 2.2s infinite;
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 42px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 28px; color: #fff; line-height: 1; letter-spacing: -.03em; }
.hero-stat span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 7px; }

.hero-visual { position: relative; }
.hero-mock {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  box-shadow: 0 50px 100px rgba(4, 14, 26, .5);
  backdrop-filter: blur(6px);
}
.hero-mock-top {
  display: flex; align-items: center; gap: 6px; padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
}
.hero-mock-top span { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); }
.hero-mock-body { padding: 22px; }
.mock-chart { display: flex; align-items: flex-end; gap: 9px; height: 128px; margin-top: 18px; }
.mock-chart .bar {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--sky), rgba(0,90,156,.5));
  opacity: .85; transform-origin: bottom; animation: barGrow 1.2s var(--ease) both;
}
.float-card {
  position: absolute; padding: 14px 16px; border-radius: 15px;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 11px; animation: floatY 5s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 16px; color: var(--navy); line-height: 1.1; }
.float-card small { display: block; font-size: 9.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .04em; margin-top: 3px; }
.float-a { top: -24px; right: -18px; }
.float-b { bottom: -26px; left: -22px; animation-delay: 1.4s; }

/* -------------------------------------------------------- Page heroes */
.page-hero {
  position: relative; overflow: hidden; padding: 168px 0 88px;
  background:
    radial-gradient(circle at 86% 8%, rgba(96,193,229,.17), transparent 40%),
    radial-gradient(circle at 6% 92%, rgba(0,90,156,.34), transparent 46%),
    linear-gradient(150deg, #10233B, var(--navy) 60%, #0a2c4e);
}
.page-hero-sm {
  position: relative; overflow: hidden; padding: 148px 0 64px;
  background:
    radial-gradient(circle at 86% 8%, rgba(96,193,229,.17), transparent 40%),
    radial-gradient(circle at 6% 92%, rgba(0,90,156,.34), transparent 46%),
    linear-gradient(150deg, #10233B, var(--navy) 60%, #0a2c4e);
}
.page-hero h1, .page-hero-sm h1, .page-hero h2, .page-hero-sm h2 { color: #fff; }
.page-hero p, .page-hero-sm p { color: rgba(255,255,255,.64); }
.page-hero strong, .page-hero-sm strong { color: #fff; }
.page-hero small, .page-hero-sm small { color: rgba(255,255,255,.64); }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 24px; color: #fff; font-weight: 800; line-height: 1.1; }
.hero-stat small { display: block; font-size: 11.5px; color: rgba(255,255,255,.64); font-weight: 700; margin-top: 3px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 11px; color: rgba(255,255,255,.42); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.62); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 7px; }

/* Decorative */
.arc-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.arc-lines::before, .arc-lines::after {
  content: ""; position: absolute; border-radius: 999px;
  border: 1px solid rgba(160, 224, 239, .13);
}
.arc-lines::before { width: 560px; height: 560px; right: -180px; top: -220px; }
.arc-lines::after { width: 380px; height: 380px; right: -90px; top: -130px; border-color: rgba(160,224,239,.09); }
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 100%);
}

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 10px; padding: 0 30px; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--navy); white-space: nowrap; opacity: .62; }
.marquee-item i { color: var(--sky); font-size: 11px; }

/* ---------------------------------------------------------- Statistics */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 26px 22px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; color: var(--navy); line-height: 1; }
.stat span { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-top: 8px; }
.stat-dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; }
.stat-dark strong { color: #fff; }
.stat-dark span { color: rgba(255,255,255,.5); }

/* --------------------------------------------------------------- Forms */
.field { margin-bottom: 18px; }
.label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 15px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 13.5px; outline: none; transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--sky); box-shadow: 0 0 0 4px rgba(96,193,229,.14);
}
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235d7788' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.textarea { resize: vertical; min-height: 120px; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 12px; pointer-events: none; }
.input-icon .input { padding-left: 42px; }

.alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px;
  border-radius: 12px; font-size: 12.5px; font-weight: 600; margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert i { margin-top: 2px; }
.alert-error { background: #fdf2f1; color: #9e3a35; border-color: #f6d5d2; }
.alert-success { background: #eef9f4; color: #116b4a; border-color: #cdeedd; }
.alert-info { background: #eef8fd; color: var(--blue); border-color: #d3edf8; }

/* ---------------------------------------------------------- Dashboard */
.dash-wrap { padding: 126px 0 80px; min-height: 100vh; background: var(--mist); }
.dash-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.dash-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-xs);
}
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 20px; box-shadow: var(--shadow-xs);
}
.side-user { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.side-avatar {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy), var(--blue)); color: #fff;
  font-family: var(--font-head); font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.side-user strong { display: block; font-size: 12.5px; color: var(--navy); line-height: 1.3; }
.side-user small { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 2px; }
.side-label { font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin: 18px 0 8px; }
.side-link {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px;
  font-size: 12.5px; font-weight: 700; color: var(--muted); transition: all .2s ease;
}
.side-link i { width: 16px; text-align: center; font-size: 12px; color: var(--muted-2); }
.side-link:hover { background: var(--mist); color: var(--navy); }
.side-link:hover i { color: var(--blue); }
.side-link.is-active { background: #eaf8fd; color: var(--blue); }
.side-link.is-active i { color: var(--blue); }
.side-link .side-count { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 9px; display: grid; place-items: center; }
.side-link .count { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--blue); color: #fff; font-size: 9px; display: grid; place-items: center; }
.side-link.is-danger { color: var(--red); }
.side-link.is-danger i { color: var(--red); }
.side-link.is-danger:hover { background: #fdf2f1; color: var(--red); }

/* --------------------------------------------------------------- Article */
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 54px; align-items: start; }
.article-toc {
  position: sticky; top: 108px; padding: 20px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.article-toc h3 { font-family: var(--font-body); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.article-toc a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); transition: color .2s ease, border-color .2s ease; line-height: 1.5; }
.article-toc a:hover { color: var(--blue); border-color: var(--sky); }
.article-body {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 4vw, 52px); box-shadow: var(--shadow-xs);
}
.article-body h2 { margin: 36px 0 12px; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.article-body h3 { margin: 24px 0 8px; font-size: 1rem; }
.article-body h2:first-of-type { margin-top: 24px; }
.article-body p { color: #3c556b; margin-bottom: 16px; font-size: 14px; line-height: 1.85; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; color: #3c556b; font-size: 14px; line-height: 1.85; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 7px; }
.article-body strong { color: var(--navy); }
.article-body a { color: var(--blue); font-weight: 700; }
.article-body a:hover { text-decoration: underline; }

/* -------------------------------------------------------------- Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--sky), var(--line)); border-radius: 99px; }
.tl-item { position: relative; margin-bottom: 16px; }
.tl-dot {
  position: absolute; left: -24px; top: 18px; width: 12px; height: 12px;
  border-radius: 999px; background: #fff; border: 2px solid var(--sky);
  box-shadow: 0 0 0 4px rgba(96,193,229,.14);
}
.tl-item.is-current .tl-dot { background: var(--blue); border-color: var(--blue); animation: pulseDot 2s infinite; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; }
.tl-time { font-size: 10.5px; font-weight: 700; color: var(--muted-2); letter-spacing: .02em; }

/* -------------------------------------------------------------- Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 2px; background: transparent; border: 0; text-align: left;
  font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--navy);
}
.acc-btn i { font-size: 11px; color: var(--blue); transition: transform .25s ease; flex-shrink: 0; }
.acc-item.is-open .acc-btn i { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-panel p { padding: 0 2px 20px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* --------------------------------------------------------------- Footer */
.site-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0f2239, var(--navy) 62%, #0c3155);
  color: rgba(255,255,255,.62); padding: 74px 0 30px;
}
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 32px clamp(22px, 4vw, 44px); border-radius: 22px; margin-bottom: 56px;
  background: linear-gradient(130deg, rgba(96,193,229,.16), rgba(0,90,156,.24));
  border: 1px solid rgba(160,224,239,.2);
}
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.footer-cta p { font-size: 13px; color: rgba(255,255,255,.58); margin-top: 7px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.25fr; gap: 42px; }
.footer-brand img { height: 36px; margin-bottom: 18px; }
.footer-brand p { font-size: 12.5px; line-height: 1.85; color: rgba(255,255,255,.5); max-width: 300px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.66); font-size: 12px; transition: all .2s ease;
}
.footer-social a:hover { background: var(--sky); border-color: var(--sky); color: var(--navy-deep); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col li { display: block; font-size: 12px; color: rgba(255,255,255,.5); padding: 5px 0; }
.footer-col a:hover { color: var(--ice); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-news p { font-size: 12px; color: rgba(255,255,255,.48); line-height: 1.8; margin-bottom: 13px; }
.footer-form { display: flex; gap: 7px; }
.footer-form input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.05);
  color: #fff; font-size: 12px; outline: none;
}
.footer-form input::placeholder { color: rgba(255,255,255,.34); }
.footer-form input:focus { border-color: var(--sky); }
.footer-form button {
  width: 42px; border-radius: 10px; border: 0; background: var(--sky); color: var(--navy-deep);
  font-size: 12px; flex-shrink: 0; transition: transform .2s ease;
}
.footer-form button:hover { transform: translateY(-2px); }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 10.5px; color: rgba(255,255,255,.34);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }
.footer-watermark {
  position: absolute; right: -20px; bottom: -50px; font-family: var(--font-head);
  font-size: clamp(6rem, 16vw, 13rem); font-weight: 800; letter-spacing: -.06em;
  color: rgba(255,255,255,.025); pointer-events: none; line-height: 1;
}

/* Back to top + progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1000; background: linear-gradient(90deg, var(--sky), var(--blue)); }
.back-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 800;
  width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line);
  background: #fff; color: var(--blue); box-shadow: var(--shadow-md);
  display: grid; place-items: center; font-size: 13px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s var(--ease);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--blue); color: #fff; }

/* ---------------------------------------------------------------- Auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.02fr .98fr; }
.auth-visual {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(circle at 18% 8%, rgba(96,193,229,.2), transparent 40%),
    radial-gradient(circle at 92% 86%, rgba(0,90,156,.44), transparent 45%),
    linear-gradient(150deg, #10233B, var(--navy) 58%, #0a2c4e);
}
.auth-visual::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 10%, rgba(96,193,229,.2), transparent 40%), radial-gradient(circle at 90% 85%, rgba(0,90,156,.4), transparent 45%);
}
.auth-form-side { background: #fff; display: flex; align-items: center; justify-content: center; padding: 56px 30px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-input-wrap { position: relative; }
.auth-input-wrap > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 12px; pointer-events: none; }
.auth-input-wrap .input { padding-left: 42px; }
.auth-input-wrap .eye {
  position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
  border: 0; background: transparent; color: var(--muted-2); padding: 6px; font-size: 12px;
}

/* ------------------------------------------------------------- Utilities */
.swiper-button-next, .swiper-button-prev {
  width: 38px !important; height: 38px !important; border-radius: 999px;
  background: #fff !important; border: 1px solid var(--line);
  box-shadow: var(--shadow-xs); color: var(--navy) !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 11px !important; font-weight: 800; }
.swiper-pagination-bullet { background: var(--muted-2); opacity: .35; }
.swiper-pagination-bullet-active { background: var(--blue); opacity: 1; width: 18px; border-radius: 99px; }

.hr { height: 1px; background: var(--line); border: 0; margin: 28px 0; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.center { text-align: center; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,155,.3); } 50% { box-shadow: 0 0 0 6px rgba(74,222,155,0); } }
@keyframes barGrow { from { transform: scaleY(.1); opacity: .2; } to { transform: scaleY(1); opacity: .85; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1120px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; max-width: 460px; }
  .nav-links { gap: 0; }
  .nav-link { padding: 9px 10px; font-size: 12px; }
}
@media (max-width: 1024px) {
  .nav-links, .nav-actions .desktop-only { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 560px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 26px; }
  .article-toc { position: static; display: none; }
  .auth-wrap { grid-template-columns: 1fr; min-height: 100vh; }
  .auth-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 860px) {
  .hero-home { padding: 140px 0 76px; }
  .page-hero { padding: 140px 0 68px; }
  .page-hero-sm { padding: 132px 0 52px; }
  .dash-wrap { padding: 112px 0 64px; }
  .float-a { right: 0; }
  .float-b { left: 0; }
}
@media (max-width: 640px) {
  .shell { padding: 0 18px; }
  .nav-inner { height: 68px; }
  .nav-logo img { height: 30px; }
  .hero-home { padding: 128px 0 62px; }
  .hero-stats { gap: 22px; }
  .hero-stat strong { font-size: 23px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { padding: 26px 22px; }
  .auth-form-side { padding: 38px 20px; }
  .btn { padding: 12px 20px; }
  .btn-lg { padding: 14px 24px; }
  .float-card { display: none; }
  .footer-watermark { font-size: 7rem; bottom: -20px; }
  .article-body { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ============================================================
   PAGE COMPONENT LIBRARY
   Shared classes used by the public page templates.
   ============================================================ */

/* ------------------------------------------------------------- Text */
.lead { font-size: clamp(14px, 1.35vw, 15.5px); color: var(--muted); line-height: 1.85; max-width: 64ch; }
.lead-light { color: rgba(255, 255, 255, .66); }
.text-balance { text-wrap: balance; }
.eyebrow-center { justify-content: center; }
.section-head-center { text-align: center; margin-inline: auto; }
.card-pad { padding: clamp(22px, 3vw, 34px); }

.btn-ghost { background: #fff; border-color: var(--line); color: var(--navy); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #f7fbfe; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }

/* ----------------------------------------------------------- Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(27, 54, 93, .97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { background: rgba(23, 46, 80, .99); box-shadow: 0 14px 34px rgba(10,25,44,.24); }
.site-header .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 36px; width: auto; display: block; }
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop .nav-link { color: rgba(255,255,255,.72); }
.nav-desktop .nav-link:hover, .nav-desktop .nav-link.is-active { color: #fff; background: rgba(255,255,255,.07); }
.nav-dropdown { position: relative; }
.nav-dropdown > button.nav-link { border: 0; background: transparent; cursor: pointer; }
.nav-dropdown > button.nav-link i { font-size: 8px; margin-left: 2px; }
.mega-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: min(780px, 90vw); padding: 18px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; z-index: 30;
  transition: opacity .22s ease, transform .22s var(--ease), visibility .22s;
}
.nav-dropdown:hover .mega-menu, .nav-dropdown:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-item { display: flex; align-items: flex-start; gap: 11px; padding: 10px 11px; border-radius: 11px; transition: background .2s ease; }
.mega-item:hover { background: var(--mist); }
.mega-item .icon-tile { width: 32px; height: 32px; border-radius: 9px; font-size: 12px; }
.mega-item h4 { font-family: var(--font-body); font-size: 12px; font-weight: 800; color: var(--navy); line-height: 1.3; margin: 0; }
.mega-item p { font-size: 10.5px; color: var(--muted-2); margin-top: 2px; line-height: 1.4; }
.mega-footer {
  grid-column: 1 / -1; margin-top: 10px; padding: 13px 15px; border-radius: 12px;
  background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.mega-footer strong { display: block; font-size: 12px; color: #fff; }
.mega-footer p { font-size: 10.5px; color: rgba(255,255,255,.62); margin-top: 2px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 950;
  background: linear-gradient(160deg, #10233B, var(--navy) 65%, #0a2c4e);
  padding: 22px 20px 34px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); visibility: hidden;
  transition: transform .38s var(--ease), visibility .38s;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.mobile-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mobile-drawer-top img { height: 34px; width: auto; }
.mobile-close {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #fff; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 12px; border-radius: 12px; border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 700;
}
.mobile-nav-link i { color: var(--sky); font-size: 11px; }
.mobile-services { display: grid; gap: 2px; padding: 8px 0 12px; }
.mobile-services a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px;
  color: rgba(255,255,255,.7); font-size: 12.5px; font-weight: 600;
}
.mobile-services a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-services a i { width: 16px; text-align: center; color: var(--sky); font-size: 11px; }
.mobile-drawer > .btn { margin-top: 18px; }
.mobile-drawer-meta {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 11.5px; color: rgba(255,255,255,.45); display: grid; gap: 7px;
}
.mobile-drawer-meta a { color: var(--ice); }

/* ----------------------------------------------------------- Footer */
.footer-grid { grid-template-columns: 1.6fr .85fr 1fr .95fr 1.25fr; }
.footer-grid h4 {
  color: #fff; font-family: var(--font-body); font-size: 10px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-links { display: grid; gap: 2px; }
.footer-links a { display: block; font-size: 12px; color: rgba(255,255,255,.5); padding: 5px 0; }
.footer-links a:hover { color: var(--ice); }
.footer-news { display: flex; gap: 7px; }
.footer-news input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.05);
  color: #fff; font-size: 12px; outline: none;
}
.footer-news input::placeholder { color: rgba(255,255,255,.34); }
.footer-news input:focus { border-color: var(--sky); }
.footer-news button {
  width: 42px; flex-shrink: 0; border-radius: 10px; border: 0;
  background: var(--sky); color: var(--navy-deep); font-size: 12px;
  transition: transform .2s ease;
}
.footer-news button:hover { transform: translateY(-2px); }
.back-to-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 800;
  width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line);
  background: #fff; color: var(--blue); box-shadow: var(--shadow-md);
  display: grid; place-items: center; font-size: 13px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue); color: #fff; }
body:has(#hc-live-chat) .back-to-top, body:has(#guestChatWidget) .back-to-top { right: 88px; }

/* ------------------------------------------------------- Decoration */
.hero-mesh, .hero-mesh-dark {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(96,193,229,.14), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(0,90,156,.28), transparent 40%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 58px 58px, 58px 58px;
  mask-image: radial-gradient(ellipse 82% 70% at 50% 20%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 82% 70% at 50% 20%, #000 25%, transparent 100%);
}
.hero-mesh-dark { opacity: .55; }
.orb {
  position: absolute; border-radius: 999px; pointer-events: none;
  background: radial-gradient(circle, rgba(96,193,229,.42), rgba(0,90,156,.16) 58%, transparent 72%);
  filter: blur(46px);
}
.orb-1 { animation: orbFloat 11s ease-in-out infinite; }
.orb-2 { animation: orbFloat 14s ease-in-out infinite reverse; background: radial-gradient(circle, rgba(0,90,156,.4), rgba(96,193,229,.12) 60%, transparent 72%); }

.section-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(96,193,229,.17), transparent 40%),
    radial-gradient(circle at 8% 94%, rgba(0,90,156,.34), transparent 46%),
    linear-gradient(150deg, #10233B, var(--navy) 60%, #0a2c4e);
  color: rgba(255,255,255,.66);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.62); }

/* ---------------------------------------------------------- Numbers */
.stat-band { position: relative; overflow: hidden; }
.stat-cell { padding: 6px 0 6px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.stat-cell .num {
  font-family: var(--font-head); font-weight: 800; line-height: 1;
  letter-spacing: -.04em; color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}
.stat-cell p {
  margin-top: 9px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}

/* ------------------------------------------------------------ Logo strip */
.logo-cloud { display: flex; align-items: center; gap: 44px; padding: 0 26px; flex-shrink: 0; }
.logo-cloud img { height: 26px; width: auto; max-width: 120px; object-fit: contain; opacity: .55; filter: grayscale(1); }
.logo-text {
  font-family: var(--font-head); font-size: 14px; font-weight: 800;
  letter-spacing: .06em; color: var(--navy); opacity: .45; white-space: nowrap;
}

/* ------------------------------------------------------------- Mockup */
.mockup {
  position: relative; border-radius: 24px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  background: var(--mist); border-bottom: 1px solid var(--line);
}
.mockup-bar span { width: 8px; height: 8px; border-radius: 99px; background: #d7e6ef; }
.mockup-bar div { flex: 1; height: 18px; border-radius: 99px; background: #fff; border: 1px solid var(--line); margin-left: 10px; }
.mockup-body { padding: 20px; }
.mockup-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mockup-kpi { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fbfdff; }
.mockup-kpi p { font-size: 8.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.mockup-kpi strong { display: block; font-family: var(--font-head); font-size: 18px; color: var(--navy); line-height: 1.15; margin-top: 3px; }
.mockup-kpi .up { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; font-weight: 800; color: #15805a; margin-top: 3px; }
.mockup-chart { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fbfdff; }
.mockup-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.mockup-chart-head p { font-size: 10px; font-weight: 800; color: var(--navy); }
.mockup-chart-head span { font-size: 9px; color: var(--muted-2); }
.mockup-bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; }
.mockup-bars i {
  flex: 1; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--sky), rgba(0,90,156,.45));
  animation: barGrow 1.1s var(--ease) both;
}
.mockup-float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: floatY 5s ease-in-out infinite;
}
.mockup-float strong { display: block; font-family: var(--font-head); font-size: 13px; color: var(--navy); line-height: 1.2; }
.mockup-float small { display: block; font-size: 9.5px; color: var(--muted-2); margin-top: 2px; }
.mockup-float .icon-tile { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
.mockup-float-1 { top: 18px; right: -24px; }
.mockup-float-2 { bottom: 24px; left: -28px; animation-delay: 1.3s; }

/* ------------------------------------------------------- Case studies */
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.case-visual { height: 196px; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden; }
.case-window {
  width: 78%; padding: 15px; border-radius: 13px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(5px);
}
.case-window .row { height: 7px; border-radius: 99px; background: rgba(255,255,255,.34); margin-bottom: 8px; }
.case-window .row:last-of-type { margin-bottom: 0; }
.case-window .w40 { width: 40%; }
.case-window .w55 { width: 55%; }
.case-window .w70 { width: 70%; }
.case-window .w85 { width: 85%; }
.window-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.window-grid span { height: 30px; border-radius: 6px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.case-body { padding: 22px; }
.case-body h3 { font-size: 19px; }
.case-body p { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin-top: 7px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.tag {
  font-size: 9.5px; font-weight: 800; letter-spacing: .02em;
  color: var(--blue); background: #eef8fd; border: 1px solid #d9edf8;
  border-radius: 99px; padding: 4px 9px;
}

/* ------------------------------------------------------------ Process */
.steps { position: relative; }
.step { position: relative; padding-top: 4px; }
.step-num {
  font-family: var(--font-head); font-size: 13px; font-weight: 800;
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  color: var(--blue); background: #eef8fd; border: 1px solid #d9edf8;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; }
.step p { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin-top: 7px; }

/* --------------------------------------------------------- Testimonials */
.testimonial-card {
  height: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column;
}
.testimonial-card .stars { display: flex; gap: 3px; color: #f0a92e; font-size: 12px; margin-bottom: 16px; }
.testimonial-card blockquote {
  margin: 0; font-size: 14px; color: #3c556b; line-height: 1.85; flex: 1;
}
.testimonial-card .who { display: flex; align-items: center; gap: 11px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.testimonial-card .who strong { display: block; font-size: 12.5px; color: var(--navy); line-height: 1.3; }
.testimonial-card .who small { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 2px; }
.avatar {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--font-head);
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--navy), var(--blue));
}

/* ---------------------------------------------------------- Accordion */
.accordion { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 2px; background: transparent; border: 0; text-align: left;
  font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--navy);
  cursor: pointer;
}
.accordion-trigger i { font-size: 11px; color: var(--blue); transition: transform .25s ease; flex-shrink: 0; }
.accordion.is-open .accordion-trigger i { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-panel-inner { padding: 0 2px 20px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* --------------------------------------------------------- Filter chips */
.filter-btn { transition: all .2s ease; }
.filter-btn.is-active { background: #eaf8fd; border-color: var(--sky); color: var(--blue); box-shadow: 0 0 0 3px rgba(96,193,229,.12); }

/* ------------------------------------------------------------ Software */
.software-card { display: flex; flex-direction: column; }
.software-card > div:last-child { flex: 1; }

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(14px, -18px, 0) scale(1.06); }
}

@media (max-width: 1120px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; max-width: 460px; }
}
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .stat-cell { padding-left: 18px; }
  .mockup-float-1 { right: 0; }
  .mockup-float-2 { left: 0; }
}
@media (max-width: 860px) {
  .site-header .nav-inner { height: 68px; }
  .brand-logo img { height: 30px; }
  .mega-menu { display: none; }
  .mockup-float { display: none; }
  .site-header .nav-actions > .btn { display: none; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-cell { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
  .stat-cell:first-child { border-top: 0; padding-top: 0; }
  .logo-cloud { gap: 28px; padding: 0 18px; }
  .case-body { padding: 18px; }
  .site-header .nav-user > span:not(.nav-avatar) { display: none; }
  .site-header .nav-user { padding: 4px; }
}

@media print {
  .nav-root, .site-header, .site-footer, .back-top, .back-to-top, .scroll-progress, .guest-chat, #guestChatWidget { display: none !important; }
  body { background: #fff; }
  .dash-wrap { padding-top: 0; }
}
