/* ═══════════════════════════════════════════════
   DESIGN SYSTEM
   ═══════════════════════════════════════════════ */
:root {
  --s0: #050e0a;
  --s1: #091410;
  --s2: #0e1f18;
  --s3: #132b21;
  --sg: rgba(14, 31, 24, .72);
  --e900: #042b1f;
  --e800: #064033;
  --e700: #0a5c49;
  --e600: #107a5e;
  --e500: #19a87e;
  --e400: #2ecf9b;
  --e300: #5ce0b4;
  --e200: #9df0d4;
  --g400: #e8aa28;
  --g300: #f5c554;
  --g500: #c8921a;
  --n100: #f4f6f5;
  --n200: #e8ede9;
  --n300: #ccd4ce;
  --n400: #9aaa9d;
  --n500: #687a6b;
  --n600: #445548;
  --r400: #f87171;
  --r500: #ef4444;
  --r600: #dc2626;
  --b400: #93c5fd;
  --b500: #3b82f6;
  --b600: #2563eb;
  --shmd: 0 4px 16px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .2);
  --shlg: 0 12px 48px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .25);
  --glow: 0 0 40px rgba(46, 207, 155, .12), 0 0 80px rgba(46, 207, 155, .06);
  --fs: 'Bricolage Grotesque', system-ui, sans-serif;
  --fd: 'DM Serif Display', Georgia, serif;
  --rmd: 10px;
  --rlg: 16px;
  --rxl: 24px;
  --eout: cubic-bezier(.16, 1, .3, 1);
  --esp: cubic-bezier(.34, 1.56, .64, 1);
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--fs);
  background: var(--s0);
  color: var(--n100);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased
}

::-webkit-scrollbar {
  width: 4px
}

::-webkit-scrollbar-track {
  background: var(--s1)
}

::-webkit-scrollbar-thumb {
  background: var(--e700);
  border-radius: 2px
}

::selection {
  background: rgba(46, 207, 155, .25);
  color: var(--e200)
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--fs);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .22s var(--eout);
  border-radius: var(--rmd);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap
}

.btn-em {
  background: linear-gradient(135deg, var(--e500), var(--e600));
  color: #fff;
  padding: .75rem 1.6rem;
  font-size: .9rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .12)
}

.btn-em:hover {
  background: linear-gradient(135deg, var(--e400), var(--e500));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(46, 207, 155, .25)
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--n300);
  padding: .75rem 1.6rem;
  font-size: .9rem
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  color: var(--n100)
}

.btn-gold {
  background: linear-gradient(135deg, var(--g400), var(--g500));
  color: #050e0a;
  padding: .75rem 1.6rem;
  font-size: .9rem;
  font-weight: 700
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(232, 170, 40, .3)
}

.btn-oem {
  background: transparent;
  border: 1px solid var(--e600);
  color: var(--e400);
  padding: .75rem 1.6rem;
  font-size: .9rem
}

.btn-oem:hover {
  background: rgba(46, 207, 155, .08);
  border-color: var(--e400)
}

.btn-danger {
  background: linear-gradient(135deg, var(--r500), var(--r600));
  color: #fff;
  padding: .75rem 1.6rem;
  font-size: .9rem
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, .25)
}

.btn-lg {
  padding: 1rem 2.2rem !important;
  font-size: 1rem !important
}

.btn-sm {
  padding: .45rem 1rem !important;
  font-size: .8rem !important
}

.btn-xs {
  padding: .3rem .7rem !important;
  font-size: .73rem !important
}

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 700;
  padding: .22rem .7rem;
  border-radius: 100px;
  letter-spacing: .04em
}

.bdg-em {
  background: rgba(46, 207, 155, .12);
  color: var(--e300);
  border: 1px solid rgba(46, 207, 155, .2)
}

.bdg-gd {
  background: rgba(232, 170, 40, .1);
  color: var(--g300);
  border: 1px solid rgba(232, 170, 40, .2)
}

.bdg-nt {
  background: rgba(255, 255, 255, .06);
  color: var(--n400);
  border: 1px solid rgba(255, 255, 255, .08)
}

.bdg-lv {
  background: rgba(22, 163, 74, .12);
  color: #4ade80;
  border: 1px solid rgba(22, 163, 74, .2)
}

.bdg-lv::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pdot 2s infinite;
  margin-right: 2px
}

.bdg-rd {
  background: rgba(220, 38, 38, .1);
  color: #f87171;
  border: 1px solid rgba(220, 38, 38, .2)
}

.bdg-bl {
  background: rgba(37, 99, 235, .1);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, .2)
}

.bdg-pl {
  background: rgba(168, 85, 247, .1);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, .2)
}

/* ── GLASS ── */
.glass {
  background: var(--sg);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .06)
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

@keyframes pdot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.3)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes progressFill {
  from {
    width: 0
  }

  to {
    width: var(--tw)
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .5
  }
}

.au {
  animation: fadeUp .6s var(--eout) both
}

.au1 {
  animation-delay: .1s
}

.au2 {
  animation-delay: .2s
}

.au3 {
  animation-delay: .3s
}

.au4 {
  animation-delay: .4s
}

.au5 {
  animation-delay: .5s
}

/* ── INPUTS ── */
.inp {
  font-family: var(--fs);
  font-size: .88rem;
  background: var(--s3);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--rmd);
  padding: .75rem 1rem;
  width: 100%;
  outline: none;
  color: var(--n100);
  transition: border .2s
}

.inp:focus {
  border-color: var(--e500);
  box-shadow: 0 0 0 3px rgba(46, 207, 155, .12)
}

.inp::placeholder {
  color: var(--n500)
}

select.inp option {
  background: var(--s2)
}

.flabel {
  font-size: .78rem;
  font-weight: 600;
  color: var(--n300);
  display: block;
  margin-bottom: .4rem
}

.fgrp {
  margin-bottom: 1.1rem
}

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

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

/* ── CARDS ── */
.card {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg)
}

.card-h:hover {
  border-color: rgba(46, 207, 155, .2);
  box-shadow: var(--glow);
  transform: translateY(-2px)
}

.card-h {
  transition: all .25s var(--eout)
}

/* ── PROGRESS ── */
.ptrack {
  height: 4px;
  background: rgba(255, 255, 255, .07);
  border-radius: 100px;
  overflow: hidden
}

.pfill {
  height: 100%;
  background: linear-gradient(to right, var(--e600), var(--e400));
  border-radius: 100px;
  transition: width .6s var(--eout)
}

/* ── TOAST ── */
#tz {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  pointer-events: none
}

.toast {
  background: var(--s3);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--rmd);
  padding: .8rem 1.25rem;
  font-size: .84rem;
  color: var(--n200);
  display: flex;
  align-items: center;
  gap: .6rem;
  animation: fadeUp .3s var(--eout);
  box-shadow: var(--shmd);
  min-width: 280px;
  pointer-events: all
}

.toast-ok {
  border-color: rgba(46, 207, 155, .3)
}

.toast-info {
  border-color: rgba(147, 197, 253, .2)
}

.toast-warn {
  border-color: rgba(232, 170, 40, .3)
}

.toast-error {
  border-color: rgba(248, 113, 113, .3)
}

/* ── NOTIF ── */
.notif {
  background: rgba(46, 207, 155, .05);
  border: 1px solid rgba(46, 207, 155, .15);
  border-radius: var(--rmd);
  padding: .9rem 1.1rem;
  font-size: .84rem;
  color: var(--n300);
  line-height: 1.65
}

.notif-warn {
  background: rgba(232, 170, 40, .05);
  border: 1px solid rgba(232, 170, 40, .15)
}

.notif-error {
  background: rgba(248, 113, 113, .05);
  border: 1px solid rgba(248, 113, 113, .15)
}

/* ── PAGE SWITCHER ── */
.page {
  display: none
}

.page.active {
  display: block
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center
}

.modal-overlay.open {
  display: flex
}

.modal-box {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--rxl);
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--n500);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center
}

.modal-close:hover {
  border-color: rgba(255, 255, 255, .25);
  color: var(--n100)
}

/* ── NAVIGATION ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3rem;
  background: rgba(5, 14, 10, .94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  position: sticky;
  top: 0;
  z-index: 300
}

.nlogo {
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer
}

.nlogo .p1 {
  color: var(--n100)
}

.nlogo .p2 {
  color: var(--e400)
}

.nlogo .p3 {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g400);
  border: 1px solid rgba(232, 170, 40, .35);
  padding: .1rem .35rem;
  border-radius: 3px;
  margin-left: .3rem;
  vertical-align: middle
}

.nlinks {
  display: flex;
  gap: 2rem;
  list-style: none
}

.nlinks a {
  color: var(--n400);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color .2s
}

.nlinks a:hover {
  color: var(--n100)
}

.nctas {
  display: flex;
  gap: .65rem;
  align-items: center
}

.nmtoggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--n300);
  padding: .4rem .7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem
}

/* ── MOBILE NAV ── */
#mnav {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(5, 14, 10, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 400;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease
}

#mnav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0)
}

.mnheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.mnclose {
  margin-left: 0;
  margin-bottom: 0;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--n300);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all .2s
}

.mnclose:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--n100)
}

.mnlinks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .25rem
}

.mnlinks a {
  color: var(--n200);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  padding: .9rem .5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  border-radius: 6px;
  transition: all .2s
}

.mnlinks a:hover,
.mnlinks a:active {
  color: var(--e400);
  background: rgba(46, 207, 155, .06);
  padding-left: 1rem
}

.mnctas {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: auto;
  padding-top: 2rem
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  min-height: 90vh
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.horb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px)
}

.heyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--e400);
  margin-bottom: 1.5rem
}

.heyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--e400)
}

.hh1 {
  font-family: var(--fd);
  font-size: 3.8rem;
  line-height: 1.07;
  color: var(--n100);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em
}

.hh1 em {
  font-style: italic;
  color: var(--e400)
}

.hbody {
  font-size: 1.05rem;
  color: var(--n400);
  line-height: 1.78;
  margin-bottom: 2.5rem;
  max-width: 520px
}

.hbody strong {
  color: var(--n200);
  font-weight: 500
}

.hctas {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 3rem
}

.hstats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.hstat-n {
  font-family: var(--fd);
  font-size: 2rem;
  color: var(--n100);
  line-height: 1
}

.hstat-l {
  font-size: .72rem;
  color: var(--n500);
  margin-top: .2rem
}

/* Hero image collage */
.hero-img-grid {
  position: relative;
  height: 520px
}

.himg-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  height: 360px;
  border-radius: var(--rlg);
  overflow: hidden;
  box-shadow: var(--shlg)
}

.himg-main img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.himg-fl1 {
  bottom: 0;
  left: 0;
  width: 52%;
  height: 280px;
  border-radius: var(--rlg);
  overflow: hidden;
  box-shadow: var(--shlg);
  animation: float 4.5s ease-in-out infinite
}

.himg-fl1 img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.himg-card {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 44%;
  border-radius: var(--rlg);
  padding: 1.25rem;
  animation: float 5s ease-in-out infinite;
  animation-delay: -2s
}

.himg-stat-n {
  font-family: var(--fd);
  font-size: 1.6rem;
  color: var(--e300);
  line-height: 1;
  margin-bottom: .25rem
}

.himg-stat-l {
  font-size: .72rem;
  color: var(--n500)
}

/* ── TRUST BAR ── */
.tbar {
  background: var(--s1);
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 0;
  justify-content: space-between;
}

.titem {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--n400);
  white-space: nowrap;
  padding: 0 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, .07)
}

.titem:first-child {
  padding-left: 0
}

.titem:last-child {
  border-right: none
}

.ticon {
  color: var(--e400);
  font-size: 1rem
}

/* ── SOFTWARE ROW ── */
.swrow {
  background: var(--s1);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow-x: auto;
  justify-content: space-between;
}

.swlabel {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--n600);
  white-space: nowrap;
  flex-shrink: 0
}

.swdiv {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .08);
  flex-shrink: 0
}

.swchip {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  color: var(--n400);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 100px;
  white-space: nowrap
}

/* ── SECTIONS ── */
.sec {
  padding: 5.5rem 3rem
}

.sec-alt {
  background: var(--s1)
}

.sec-hd {
  margin-bottom: 3.5rem
}

.sec-hd.ctr {
  text-align: center
}

.sec-ey {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--e400);
  margin-bottom: 1rem
}

.sec-h2 {
  font-family: var(--fd);
  font-size: 2.8rem;
  color: var(--n100);
  line-height: 1.1
}

.sec-h2 em {
  font-style: italic;
  color: var(--e400)
}

.sec-sub {
  font-size: 1rem;
  color: var(--n500);
  line-height: 1.75;
  margin-top: .85rem;
  max-width: 600px
}

.sec-sub.wide {
  max-width: 760px
}

/* ── PROBLEM ── */
.prob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.prob-img {
  border-radius: var(--rlg);
  overflow: hidden;
  height: 480px
}

.prob-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.prob-cards {
  display: flex;
  flex-direction: column;
  gap: .85rem
}

.pcard {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rmd);
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--e700);
  transition: all .25s
}

.pcard:hover {
  border-left-color: var(--e400);
  transform: translateX(4px)
}

.pcard h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--n100);
  margin-bottom: .3rem
}

.pcard p {
  font-size: .8rem;
  color: var(--n500);
  line-height: 1.6
}

/* ── SOLUTION ── */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem
}

.solcard {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  padding: 2rem;
  transition: all .25s var(--eout)
}

.solcard:hover {
  border-color: rgba(46, 207, 155, .2);
  box-shadow: var(--glow);
  transform: translateY(-2px)
}

.sol-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem
}

.sol-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--n100);
  margin-bottom: .5rem
}

.sol-desc {
  font-size: .83rem;
  color: var(--n500);
  line-height: 1.65
}

/* ── SERVICES ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem
}

.svc {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  overflow: hidden;
  transition: all .28s var(--eout);
  cursor: default
}

.svc:hover {
  border-color: rgba(46, 207, 155, .25);
  box-shadow: var(--glow);
  transform: translateY(-3px)
}

.svc-img {
  height: 180px;
  overflow: hidden
}

.svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s
}

.svc:hover .svc-img img {
  transform: scale(1.04)
}

.svc-body {
  padding: 1.5rem
}

.svc-num {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--e600);
  margin-bottom: .5rem;
  text-transform: uppercase
}

.svc-t {
  font-size: .95rem;
  font-weight: 700;
  color: var(--n100);
  margin-bottom: .5rem
}

.svc-d {
  font-size: .81rem;
  color: var(--n500);
  line-height: 1.65;
  margin-bottom: 1rem
}

.svc-lnk {
  font-size: .78rem;
  font-weight: 700;
  color: var(--e400);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .2s
}

.svc-lnk:hover {
  gap: .55rem
}

/* ── WHY / DIFFERENTIATOR ── */
.why-promed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem
}

.diff-wrap {
  overflow: hidden;
  border-radius: var(--rlg);
  border: 1px solid rgba(255, 255, 255, .06)
}

.dtable {
  width: 100%;
  border-collapse: collapse
}

.dtable th {
  background: var(--s3);
  padding: .85rem 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--n500);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.dtable td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  font-size: .85rem;
  color: var(--n300)
}

.dtable tr:last-child td {
  border-bottom: none
}

.dtable tr:hover td {
  background: rgba(255, 255, 255, .02)
}

.dchk {
  color: var(--e400);
  font-weight: 700
}

.dxs {
  color: #f87171
}

.dhl td {
  background: rgba(46, 207, 155, .04)
}

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

.wcard {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  padding: 1.4rem;
  text-align: center;
  transition: all .25s
}

.wcard:hover {
  border-color: rgba(46, 207, 155, .2);
  transform: translateY(-2px)
}

.wchk {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(46, 207, 155, .1);
  border: 1px solid rgba(46, 207, 155, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 1rem
}

.wt {
  font-size: .88rem;
  font-weight: 700;
  color: var(--n100);
  margin-bottom: .3rem
}

.wd {
  font-size: .78rem;
  color: var(--n500);
  line-height: 1.6
}

/* ── TEAM PHOTOS STRIP ── */
.team-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem
}

.tstrip-card {
  border-radius: var(--rlg);
  overflow: hidden;
  position: relative
}

.tstrip-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .4s
}

.tstrip-card:hover img {
  transform: scale(1.04)
}

.tstrip-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem;
  background: linear-gradient(to top, rgba(5, 14, 10, .9), transparent)
}

.tstrip-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--n100)
}

.tstrip-role {
  font-size: .76rem;
  color: var(--e400)
}

/* ── HOW IT WORKS ── */
.steps-row {
  display: flex;
  gap: 0;
  position: relative
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 1px;
  background: linear-gradient(to right, var(--e700), transparent, var(--e700))
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem
}

.step-n {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--s3);
  border: 2px solid var(--e700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 1.3rem;
  color: var(--e400);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1
}

.step-t {
  font-size: .9rem;
  font-weight: 700;
  color: var(--n100);
  margin-bottom: .4rem
}

.step-d {
  font-size: .8rem;
  color: var(--n500);
  line-height: 1.65
}

/* ── CASE STUDIES ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.casecard {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rxl);
  overflow: hidden;
  transition: all .25s
}

.casecard:hover {
  border-color: rgba(46, 207, 155, .2);
  transform: translateY(-2px)
}

.casecard-img {
  height: 200px;
  overflow: hidden
}

.casecard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.casecard-body {
  padding: 1.75rem
}

.case-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--e600);
  margin-bottom: .75rem
}

.case-prac {
  font-size: .88rem;
  font-weight: 700;
  color: var(--n200);
  margin-bottom: .75rem
}

.case-ch {
  font-size: .81rem;
  color: var(--n500);
  line-height: 1.65;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.case-res {
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.case-r {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .81rem;
  color: var(--n300)
}

.case-r::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--e400);
  flex-shrink: 0
}

/* ── ROI CALCULATOR ── */
.roi-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start
}

.roi-in,
.roi-out {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rxl);
  padding: 2rem
}

.roi-out {
  border-color: rgba(46, 207, 155, .15);
  box-shadow: var(--glow)
}

.roi-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--n300);
  display: block;
  margin-bottom: .4rem
}

.roi-sv {
  font-size: .82rem;
  color: var(--e400);
  margin-top: .25rem
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--s3);
  border-radius: 2px;
  outline: none
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--e400);
  cursor: pointer;
  border: 2px solid var(--s0)
}

.roi-rrow {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  text-align: center
}

.roi-rrow:last-child {
  border-bottom: none;
  padding-bottom: 0
}

.roi-num {
  font-family: var(--fd);
  font-size: 2.8rem;
  color: var(--e400);
  line-height: 1
}

.roi-rlbl {
  font-size: .76rem;
  color: var(--n500);
  margin-top: .3rem
}

/* ── SECURITY ── */
.sec-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem
}

.scard {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  padding: 1.5rem 1.25rem;
  text-align: center
}

.scard-ico {
  font-size: 1.5rem;
  margin-bottom: .75rem
}

.scard-t {
  font-size: .84rem;
  font-weight: 700;
  color: var(--n100);
  margin-bottom: .3rem
}

.scard-d {
  font-size: .76rem;
  color: var(--n500);
  line-height: 1.55
}

/* ── FAQ ── */
.faq-item {
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  overflow: hidden;
  margin-bottom: .75rem;
  cursor: pointer;
  transition: border-color .2s
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, .12)
}

.faq-item.open {
  border-color: rgba(46, 207, 155, .2)
}

.faq-q {
  padding: 1.25rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--n200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem
}

.faq-chevron {
  color: var(--n500);
  font-size: 1rem;
  transition: transform .3s;
  flex-shrink: 0
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg)
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--eout)
}

.faq-item.open .faq-a {
  max-height: 200px
}

.faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .84rem;
  color: var(--n500);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, .05)
}

/* ── FOOTER ── */
.footer {
  background: var(--s1);
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 4rem 3rem 2rem
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem
}

.fcol-t {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--n600);
  margin-bottom: 1rem
}

.flinks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.flinks a {
  font-size: .84rem;
  color: var(--n500);
  text-decoration: none;
  transition: color .2s
}

.flinks a:hover {
  color: var(--n200)
}

.footer-bot {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--n600)
}

.footer-bot a {
  color: var(--n600);
  text-decoration: none;
  transition: color .2s
}

.footer-bot a:hover {
  color: var(--n400)
}

/* ── ASSESSMENT MODAL ── */
#amodal, #tmodal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center
}

#amodal.open, #tmodal.open {
  display: flex
}

.amodal-box {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--rxl);
  padding: 2.5rem;
  width: 100%;
  max-width: 540px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto
}

.amodal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--n500);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center
}

/* ════════════════════════════════════════════════
   TALENT PORTAL
   ════════════════════════════════════════════════ */
.talent-page {
  background: var(--s0)
}

.tnav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .85rem 2.5rem;
  background: rgba(5, 14, 10, .94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  position: sticky;
  top: 0;
  z-index: 300;
  flex-wrap: wrap
}

.tnav-back {
  background: none;
  border: none;
  color: var(--n500);
  font-size: .82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .6rem;
  border-radius: 6px;
  transition: all .2s;
  border: 1px solid transparent;
  white-space: nowrap
}

.tnav-back:hover {
  color: var(--n200);
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08)
}

.tnav-tabs {
  display: flex;
  gap: .25rem;
  margin-left: auto;
  flex-wrap: wrap
}

.ttab {
  background: transparent;
  border: none;
  color: var(--n500);
  font-family: var(--fs);
  font-size: .85rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap
}

.ttab:hover {
  color: var(--n200);
  background: rgba(255, 255, 255, .04)
}

.ttab.active {
  color: var(--e400);
  background: rgba(46, 207, 155, .08)
}

.tv {
  display: none
}

.tv.show {
  display: block
}

/* Talent Hero */
.thero {
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.thero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.thero-imgwrap {
  border-radius: var(--rxl);
  overflow: hidden;
  height: 340px
}

.thero-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.thero-stat-card {
  padding: 1.25rem;
  border-radius: var(--rlg)
}

/* App Flow */
.app-flow {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem
}

.stage-progress {
  display: flex;
  gap: 4px;
  margin-bottom: .6rem
}

.sp-seg {
  flex: 1;
  height: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .07);
  transition: background .3s
}

.sp-seg.done {
  background: var(--e600)
}

.sp-seg.active {
  background: var(--e400)
}

.stage-labels {
  display: flex;
  gap: 4px;
  margin-bottom: 2rem
}

.sl {
  flex: 1;
  font-size: .62rem;
  font-weight: 600;
  color: var(--n600);
  text-align: center;
  transition: color .3s;
  letter-spacing: .04em
}

.sl.active {
  color: var(--e400)
}

.sl.done {
  color: var(--e600)
}

.stage-card {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--rxl);
  padding: 2rem
}

.stage-title {
  font-family: var(--fd);
  font-size: 1.6rem;
  color: var(--n100);
  margin-bottom: .4rem
}

.stage-sub {
  font-size: .86rem;
  color: var(--n500);
  line-height: 1.7;
  margin-bottom: 1.75rem
}

.stage-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem
}

.vplaceholder {
  background: var(--s3);
  border: 2px dashed rgba(46, 207, 155, .2);
  border-radius: var(--rlg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all .25s
}

.vplaceholder:hover {
  border-color: rgba(46, 207, 155, .4);
  background: rgba(46, 207, 155, .04)
}

.play-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(46, 207, 155, .1);
  border: 2px solid rgba(46, 207, 155, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem
}

.qopt {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--s3);
  border: 1px solid rgba(255, 255, 255, .06);
  color: var(--n300);
  font-family: var(--fs);
  font-size: .84rem;
  padding: .75rem 1rem;
  border-radius: var(--rmd);
  cursor: pointer;
  margin-bottom: .5rem;
  transition: all .2s
}

.qopt:hover {
  border-color: rgba(46, 207, 155, .25);
  background: rgba(46, 207, 155, .04)
}

.qopt.sel {
  border-color: var(--e500);
  background: rgba(46, 207, 155, .1);
  color: var(--e300)
}

.typing-area {
  font-family: var(--fs);
  font-size: .88rem;
  background: var(--s3);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--rmd);
  padding: .75rem 1rem;
  width: 100%;
  outline: none;
  color: var(--n100);
  resize: vertical;
  min-height: 100px;
  transition: border .2s
}

.typing-area:focus {
  border-color: var(--e500)
}

/* LMS */
.lms-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: calc(100vh - 64px)
}

.lms-sidebar {
  background: var(--s1);
  border-right: 1px solid rgba(255, 255, 255, .05);
  overflow-y: auto;
  max-height: calc(100vh - 64px);
  position: sticky;
  top: 64px
}

.lms-sb-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.lms-sb-title {
  font-family: var(--fd);
  font-size: 1.1rem;
  color: var(--n100);
  margin-bottom: .2rem
}

.lms-sb-sub {
  font-size: .74rem;
  color: var(--n600)
}

.lms-phase-list {
  padding: .75rem 0
}

.lms-phase {
  border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.lms-phase-hd {
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  transition: background .2s;
  user-select: none
}

.lms-phase-hd:hover {
  background: rgba(255, 255, 255, .03)
}

.lms-ph-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0
}

.lms-ph-icon.done {
  background: rgba(46, 207, 155, .1);
  border-color: rgba(46, 207, 155, .25)
}

.lms-ph-icon.active {
  background: rgba(46, 207, 155, .15);
  border-color: var(--e500)
}

.lms-phase-name {
  flex: 1;
  font-size: .83rem;
  font-weight: 600;
  color: var(--n400)
}

.lms-phase-name.active {
  color: var(--e400)
}

.lms-phase-name.done {
  color: var(--n300)
}

.lms-ph-chevron {
  font-size: .75rem;
  color: var(--n600);
  transition: transform .25s;
  flex-shrink: 0
}

.lms-phase.open .lms-ph-chevron {
  transform: rotate(180deg)
}

.lms-lesson-list {
  display: none;
  padding: .35rem 0 .5rem 2.75rem
}

.lms-phase.open .lms-lesson-list {
  display: block
}

.lms-lesson {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  font-size: .8rem;
  color: var(--n500);
  margin: 1px 0
}

.lms-lesson:hover {
  background: rgba(255, 255, 255, .04);
  color: var(--n200)
}

.lms-lesson.active {
  background: rgba(46, 207, 155, .08);
  color: var(--e400)
}

.lms-lesson.done span:first-child {
  color: var(--e500)
}

.lms-lesson.locked {
  opacity: .4;
  cursor: not-allowed
}

.lms-main {
  padding: 2rem;
  overflow-y: auto
}

.lms-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem
}

.lms-lesson-title {
  font-family: var(--fd);
  font-size: 1.4rem;
  color: var(--n100)
}

.lms-content-area {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  overflow: hidden
}

.lesson-video {
  background: #000;
  border-radius: var(--rlg) var(--rlg) 0 0;
  overflow: hidden
}

.lesson-video iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block
}

.lesson-body {
  padding: 1.75rem
}

.lesson-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--n100);
  margin-bottom: .75rem
}

.lesson-body p {
  font-size: .86rem;
  color: var(--n400);
  line-height: 1.75;
  margin-bottom: 1rem
}

.lesson-body ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem
}

.lesson-body li {
  font-size: .84rem;
  color: var(--n400);
  line-height: 1.6
}

.lesson-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

/* Certificate */
.cert-card {
  background: linear-gradient(135deg, var(--s2), var(--e900));
  border: 2px solid rgba(46, 207, 155, .25);
  border-radius: var(--rxl);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cert-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(46, 207, 155, .08), transparent 70%)
}

.cert-seal {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--e700), var(--e900));
  border: 3px solid rgba(46, 207, 155, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 1.6rem;
  color: var(--e300);
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 30px rgba(46, 207, 155, .2)
}

.cert-name {
  font-family: var(--fd);
  font-size: 1.8rem;
  color: var(--n100);
  margin: .75rem 0;
  letter-spacing: -.01em
}

.cert-meta {
  font-size: .86rem;
  color: var(--n400);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto 1.5rem
}

.cert-sign-row {
  display: flex;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .08)
}

.cert-sign {
  font-size: .76rem;
  color: var(--n500)
}

/* Profile */
.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding: 2.5rem;
  max-width: 1200px;
  margin: 0 auto
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem
}

.profile-photo-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--rlg);
  overflow: hidden;
  border: 2px solid rgba(46, 207, 155, .2)
}

.profile-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.profile-status-badge {
  position: absolute;
  bottom: -.5rem;
  right: .5rem
}

.readiness-gauge {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  padding: 1.25rem;
  text-align: center
}

.gauge-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto .75rem
}

.pm-card {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  padding: 1.5rem;
  margin-bottom: 1.25rem
}

.pm-card-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 1.25rem
}

.profile-main {
  flex: 1
}

.skill-tag {
  display: inline-block;
  background: rgba(46, 207, 155, .07);
  border: 1px solid rgba(46, 207, 155, .15);
  color: var(--e400);
  font-size: .76rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 100px;
  margin: .2rem .2rem .2rem 0
}

/* ════════════════════════════════════════════════
   ADMIN PORTAL — MFA LOGIN
   ════════════════════════════════════════════════ */
#page-admin {
  background: var(--s0)
}

.anav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 2.5rem;
  background: rgba(5, 14, 10, .96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46, 207, 155, .08);
  position: sticky;
  top: 0;
  z-index: 300
}

.anav-logo {
  font-size: 1.05rem;
  font-weight: 700
}

.anav-logo .p1 {
  color: var(--n100)
}

.anav-logo .p2 {
  color: var(--e400)
}

.anav-logo .p3 {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--r400);
  border: 1px solid rgba(248, 113, 113, .35);
  padding: .1rem .35rem;
  border-radius: 3px;
  margin-left: .3rem;
  vertical-align: middle
}

.anav-right {
  display: flex;
  align-items: center;
  gap: .75rem
}

.admin-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 56px);
  padding: 2rem
}

.admin-login {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--rxl);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px
}

.otp-box {
  width: 48px;
  height: 56px;
  background: var(--s3);
  border: 1.5px solid rgba(255, 255, 255, .1);
  border-radius: var(--rmd);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--n100);
  outline: none;
  font-family: var(--fd);
  transition: border .2s
}

.otp-box:focus {
  border-color: var(--e500);
  box-shadow: 0 0 0 3px rgba(46, 207, 155, .12)
}

.mfa-loading {
  opacity: .6;
  cursor: not-allowed;
  pointer-events: none
}

.mfa-spin {
  display: inline-block;
  animation: spin .8s linear infinite
}

#inactivity-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(232, 170, 40, .15), rgba(232, 170, 40, .08));
  border-bottom: 1px solid rgba(232, 170, 40, .3);
  backdrop-filter: blur(12px);
  padding: .75rem 2rem;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  color: var(--g300);
  transform: translateY(-100%);
  transition: transform .4s var(--eout)
}

#inactivity-bar.show {
  transform: translateY(0)
}

/* ════════════════════════════════════════════════
   ADMIN SHELL — SIDEBAR LAYOUT
   ════════════════════════════════════════════════ */
.admin-shell {
  display: none
}

.admin-shell.show {
  display: flex
}

.admin-layout {
  display: flex;
  min-height: calc(100vh - 56px);
  width: 100%
}

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background: var(--s1);
  border-right: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
  flex-shrink: 0
}

.admin-sb-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.admin-sb-user {
  display: flex;
  align-items: center;
  gap: .75rem
}

.admin-sb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--e700), var(--e900));
  border: 1.5px solid rgba(46, 207, 155, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0
}

.admin-sb-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--n100)
}

.admin-sb-role {
  font-size: .72rem;
  color: var(--e500)
}

.admin-nav {
  padding: .75rem 0;
  flex: 1
}

.admin-nav-section {
  padding: .4rem 1.5rem .2rem;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--n600)
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.5rem;
  font-size: .84rem;
  color: var(--n500);
  cursor: pointer;
  transition: all .2s;
  border-left: 3px solid transparent;
  white-space: nowrap
}

.admin-nav-item:hover {
  color: var(--n200);
  background: rgba(255, 255, 255, .03)
}

.admin-nav-item.active {
  color: var(--e400);
  background: rgba(46, 207, 155, .06);
  border-left-color: var(--e400)
}

.admin-nav-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0
}

.admin-nav-badge {
  margin-left: auto;
  background: var(--e700);
  color: var(--e200);
  font-size: .64rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: 100px
}

/* Main content */
.admin-content {
  flex: 1;
  overflow-y: auto;
  background: var(--s0)
}

.admin-view {
  display: none;
  padding: 2rem
}

.admin-view.active {
  display: block
}

.admin-page-hd {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap
}

.admin-page-title {
  font-family: var(--fd);
  font-size: 2rem;
  color: var(--n100);
  line-height: 1.1
}

.admin-page-sub {
  font-size: .86rem;
  color: var(--n500);
  margin-top: .3rem
}

.admin-page-actions {
  display: flex;
  gap: .65rem;
  align-items: center;
  flex-wrap: wrap
}

/* KPI Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem
}

.kpi-card {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  padding: 1.25rem
}

.kpi-card:hover {
  border-color: rgba(46, 207, 155, .15)
}

.kpi-icon {
  font-size: 1.4rem;
  margin-bottom: .6rem
}

.kpi-val {
  font-family: var(--fd);
  font-size: 2rem;
  color: var(--n100);
  line-height: 1;
  margin-bottom: .2rem
}

.kpi-label {
  font-size: .74rem;
  color: var(--n500)
}

.kpi-delta {
  font-size: .72rem;
  margin-top: .4rem
}

.kpi-up {
  color: #4ade80
}

.kpi-down {
  color: var(--r400)
}

/* Panel / Table */
.admin-panel {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  overflow: hidden;
  margin-bottom: 1.25rem
}

.admin-panel-hd {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem
}

.admin-panel-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--n100);
  display: flex;
  align-items: center;
  gap: .6rem
}

.admin-panel-actions {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap
}

.admin-table {
  width: 100%;
  border-collapse: collapse
}

.admin-table th {
  padding: .75rem 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--n600);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: var(--s3);
  white-space: nowrap
}

.admin-table td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  font-size: .83rem;
  color: var(--n300);
  vertical-align: middle
}

.admin-table tr:last-child td {
  border-bottom: none
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, .015)
}

.admin-table-actions {
  display: flex;
  gap: .4rem;
  align-items: center
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem
}

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

.grid-cols-3-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem
}

/* Kanban */
.kanban {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem
}

.kanban-col {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  min-width: 200px
}

.kanban-col-hd {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: space-between
}

.kanban-col-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--n300);
  text-transform: uppercase;
  letter-spacing: .06em
}

.kanban-col-count {
  font-size: .7rem;
  background: rgba(255, 255, 255, .07);
  color: var(--n500);
  padding: .15rem .5rem;
  border-radius: 100px;
  font-weight: 700
}

.kanban-cards {
  padding: .5rem;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: .4rem
}

.kanban-card {
  background: var(--s3);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rmd);
  padding: .75rem .85rem;
  cursor: pointer;
  transition: all .2s
}

.kanban-card:hover {
  border-color: rgba(46, 207, 155, .2);
  transform: translateY(-1px)
}

.kanban-card-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--n200);
  margin-bottom: .3rem
}

.kanban-card-meta {
  font-size: .72rem;
  color: var(--n600)
}

/* Timeline / Activity */
.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0
}

.activity-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04)
}

.activity-item:last-child {
  border-bottom: none
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--e600);
  flex-shrink: 0;
  margin-top: .35rem
}

.activity-dot.warn {
  background: var(--g400)
}

.activity-dot.error {
  background: var(--r500)
}

.activity-dot.info {
  background: var(--b500)
}

.activity-body {
  flex: 1;
  min-width: 0
}

.activity-text {
  font-size: .83rem;
  color: var(--n300);
  line-height: 1.55
}

.activity-text strong {
  color: var(--n100)
}

.activity-time {
  font-size: .72rem;
  color: var(--n600);
  margin-top: .2rem
}

/* Stat row */
.stat-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem
}

.stat-pill {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rmd);
  padding: .65rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .83rem;
  color: var(--n400)
}

.stat-pill strong {
  color: var(--n100)
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px
}

.search-input-wrap span {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--n600);
  pointer-events: none
}

.search-inp {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rmd);
  padding: .65rem 1rem .65rem 2.4rem;
  font-family: var(--fs);
  font-size: .85rem;
  color: var(--n100);
  outline: none;
  width: 100%;
  transition: border .2s
}

.search-inp:focus {
  border-color: var(--e500)
}

.search-inp::placeholder {
  color: var(--n600)
}

/* Filter chips */
.filter-chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap
}

.fchip {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  color: var(--n500);
  font-size: .76rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap
}

.fchip:hover,
.fchip.active {
  background: rgba(46, 207, 155, .1);
  border-color: rgba(46, 207, 155, .25);
  color: var(--e400)
}

/* Status pipeline row */
.pipeline-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  overflow: hidden
}

.pipeline-step {
  flex: 1;
  text-align: center;
  padding: .85rem .5rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--n600);
  border-right: 1px solid rgba(255, 255, 255, .06);
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .04em;
  text-transform: uppercase
}

.pipeline-step:last-child {
  border-right: none
}

.pipeline-step:hover {
  background: rgba(255, 255, 255, .03);
  color: var(--n400)
}

.pipeline-step.active {
  background: rgba(46, 207, 155, .1);
  color: var(--e400)
}

.pipeline-step .ps-count {
  display: block;
  font-family: var(--fd);
  font-size: 1.2rem;
  color: inherit;
  margin-bottom: .1rem
}

/* Notification badge */
.notif-badge {
  position: relative
}

.notif-badge::after {
  content: attr(data-count);
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--r500);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: .1rem .35rem;
  border-radius: 100px;
  min-width: 16px;
  text-align: center;
  display: none
}

.notif-badge[data-count]:not([data-count=""]):not([data-count="0"])::after {
  display: block
}

/* Audit log */
.audit-row {
  display: flex;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  font-size: .8rem;
  align-items: flex-start
}

.audit-row:last-child {
  border-bottom: none
}

.audit-time {
  color: var(--n600);
  white-space: nowrap;
  width: 120px;
  flex-shrink: 0
}

.audit-user {
  color: var(--e400);
  font-weight: 600;
  width: 130px;
  flex-shrink: 0
}

.audit-action {
  color: var(--n300);
  flex: 1
}

.audit-entity {
  color: var(--n500)
}

/* Performance chart bars */
.perf-bar-group {
  display: flex;
  flex-direction: column;
  gap: .65rem
}

.perf-bar-row {
  display: flex;
  align-items: center;
  gap: .85rem
}

.perf-bar-label {
  font-size: .78rem;
  color: var(--n400);
  width: 140px;
  flex-shrink: 0;
  text-align: right
}

.perf-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, .06);
  border-radius: 100px;
  overflow: hidden
}

.perf-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(to right, var(--e700), var(--e400));
  transition: width .8s var(--eout)
}

.perf-bar-val {
  font-size: .78rem;
  font-weight: 700;
  color: var(--e400);
  width: 36px;
  flex-shrink: 0
}

/* Detail panel (slide-in) */
.detail-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 500px;
  background: var(--s1);
  border-left: 1px solid rgba(255, 255, 255, .07);
  z-index: 800;
  transform: translateX(100%);
  transition: transform .35s var(--eout);
  overflow-y: auto
}

.detail-panel.open {
  transform: translateX(0)
}

.detail-panel-hd {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--s1);
  z-index: 1
}

.detail-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--n100)
}

.detail-panel-close {
  background: none;
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--n500);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s
}

.detail-panel-close:hover {
  color: var(--n100);
  border-color: rgba(255, 255, 255, .25)
}

.detail-panel-body {
  padding: 1.5rem
}

.dp-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.dp-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0
}

.dp-section-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--n600);
  margin-bottom: .85rem
}

.dp-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .03);
  font-size: .83rem
}

.dp-field:last-child {
  border-bottom: none
}

.dp-field-label {
  color: var(--n500)
}

.dp-field-value {
  color: var(--n200);
  font-weight: 500;
  text-align: right
}

/* Quick add form */
.qa-form {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--rlg);
  padding: 1.5rem;
  margin-bottom: 1.25rem
}

.qa-form-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--n100);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem
}

/* Notifications panel */
.notif-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  cursor: pointer;
  transition: background .2s
}

.notif-item:hover {
  background: rgba(255, 255, 255, .02)
}

.notif-item.unread {
  background: rgba(46, 207, 155, .03)
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0
}

.ni-em {
  background: rgba(46, 207, 155, .1);
  border: 1px solid rgba(46, 207, 155, .2)
}

.ni-warn {
  background: rgba(232, 170, 40, .1);
  border: 1px solid rgba(232, 170, 40, .2)
}

.ni-error {
  background: rgba(248, 113, 113, .1);
  border: 1px solid rgba(248, 113, 113, .2)
}

.ni-info {
  background: rgba(147, 197, 253, .1);
  border: 1px solid rgba(147, 197, 253, .2)
}

.notif-body {
  flex: 1;
  min-width: 0
}

.notif-title {
  font-size: .84rem;
  font-weight: 600;
  color: var(--n200);
  margin-bottom: .2rem
}

.notif-desc {
  font-size: .78rem;
  color: var(--n500);
  line-height: 1.5
}

.notif-time {
  font-size: .7rem;
  color: var(--n600);
  margin-top: .25rem
}

.unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--e400);
  flex-shrink: 0;
  margin-top: .4rem
}

/* Finance module */
.finance-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem
}

.fin-card {
  background: var(--s2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--rlg);
  padding: 1.25rem
}

.fin-card-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--n500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem
}

.fin-card-val {
  font-family: var(--fd);
  font-size: 1.8rem;
  color: var(--n100);
  line-height: 1
}

.fin-card-sub {
  font-size: .75rem;
  color: var(--n600);
  margin-top: .3rem
}

/* Payroll status */
.payroll-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  font-size: .83rem
}

.payroll-row:last-child {
  border-bottom: none
}

.pr-name {
  color: var(--n200);
  font-weight: 600;
  flex: 1
}

.pr-role {
  color: var(--n500);
  width: 160px
}

.pr-hours {
  color: var(--n400);
  width: 80px;
  text-align: right
}

.pr-amount {
  color: var(--e400);
  font-weight: 700;
  width: 100px;
  text-align: right
}

.pr-status {
  width: 100px;
  text-align: right
}

/* Misc */
.empty-state {
  text-align: center;
  padding: 4rem 2rem
}

.empty-state-ico {
  font-size: 3rem;
  margin-bottom: 1rem
}

.empty-state-t {
  font-size: 1rem;
  font-weight: 700;
  color: var(--n300);
  margin-bottom: .5rem
}

.empty-state-d {
  font-size: .84rem;
  color: var(--n600)
}

.divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin: 1.5rem 0
}

.inline-edit {
  cursor: pointer;
  border-bottom: 1px dashed rgba(255, 255, 255, .15);
  transition: border-color .2s;
  padding-bottom: 1px
}

.inline-edit:hover {
  border-color: var(--e400);
  color: var(--e300)
}

@media(max-width:1200px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .admin-sidebar {
    width: 220px
  }
}

@media(max-width:900px) {
  .hero {
    padding: 4rem 2.25rem;
    min-height: auto;
    gap: 3rem;
    text-align: center
  }

  .heyebrow {
    justify-content: center
  }

  .hbody {
    margin-left: auto;
    margin-right: auto
  }

  .hctas {
    justify-content: center
  }

  .hstats {
    justify-content: center
  }

  .hero,
  .thero,
  .prob-grid,
  .roi-wrap,
  .profile-layout {
    grid-template-columns: 1fr
  }

  .hero-img-grid,
  .thero-right {
    display: none
  }

  .nav,
  .anav {
    padding: 1rem 1.5rem
  }

  .nlinks {
    display: none
  }

  .nmtoggle {
    display: block
  }

  .sec {
    padding: 3.5rem 1.5rem
  }

  .svc-grid {
    grid-template-columns: 1fr
  }

  .why-promed-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem
  }

  .diff-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
  }

  .dtable {
    width: 100%;
    min-width: 0;
    table-layout: fixed
  }

  .dtable th {
    padding: .75rem .6rem;
    font-size: .68rem;
    letter-spacing: 0
  }

  .dtable td {
    padding: .75rem .6rem;
    font-size: .8rem;
    word-break: break-word
  }

  .steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem
  }

  .steps-row::before {
    display: none
  }

  .footer {
    padding: 3rem 2rem 2rem
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem
  }

  .cases-grid {
    grid-template-columns: 1fr
  }

  .team-strip {
    grid-template-columns: 1fr 1fr
  }

  .frow2,
  .frow3 {
    grid-template-columns: 1fr
  }

  .lms-layout {
    grid-template-columns: 1fr
  }

  .lms-sidebar {
    position: static;
    max-height: 300px
  }

  .admin-layout {
    flex-direction: column
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    max-height: none
  }

  .admin-nav {
    display: flex;
    flex-wrap: wrap;
    padding: .5rem
  }

  .admin-nav-section {
    display: none
  }

  .admin-nav-item {
    padding: .5rem .85rem;
    flex: 0 0 auto;
    border-left: none;
    border-bottom: 3px solid transparent
  }

  .admin-nav-item.active {
    border-bottom-color: var(--e400);
    border-left: none
  }

  .kanban {
    grid-template-columns: repeat(3, 1fr)
  }

  .detail-panel {
    width: 100%;
    bottom: 0;
    top: auto;
    height: 80vh;
    transform: translateY(100%)
  }

  .detail-panel.open {
    transform: translateY(0)
  }
}

@media(max-width:786px) {
  .hero {
    padding: 3.25rem 1.85rem
  }
}

@media(max-width:600px) {
  .hero {
    padding: 2.5rem 1.25rem
  }

  .hh1 {
    font-size: 2.4rem
  }

  .sec-h2 {
    font-size: 2rem
  }

  .dtable th {
    padding: .65rem .45rem;
    font-size: .64rem
  }

  .dtable td {
    padding: .65rem .45rem;
    font-size: .74rem;
    line-height: 1.4
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: .85rem
  }

  .team-strip {
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .tstrip-card img {
    height: 240px
  }

  .steps-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
  }

  .step-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    padding: 0
  }

  .step-n {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    font-size: 1.1rem
  }

  .footer {
    padding: 2.5rem 1.25rem 1.5rem
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }

  .footer-bot {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    justify-content: center
  }

  .footer-bot span:last-child {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem
  }

  .admin-page-title {
    font-size: 1.5rem
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr
  }

  .grid-2,
  .grid-3,
  .grid-cols-3-1 {
    grid-template-columns: 1fr
  }

  .kanban {
    grid-template-columns: repeat(2, 1fr)
  }

  .finance-summary {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:500px) {
  .hero {
    padding: 2rem 1rem
  }
}

@media(max-width:460px) {
  .hero {
    padding: 1.6rem .85rem
  }
}

@media(max-width:412px) {
  .hero {
    padding: 1.35rem .7rem
  }
}

@media(max-width:360px) {
  .hero {
    padding: 1.1rem .5rem
  }
}