/* ============================================================
   MKC Building Cleaning Services — Design System
   Figma-style design board styles
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — derived from MKC logo */
  --blue-bright: #1BB2E6;
  --blue:        #0E86D4;   /* primary */
  --blue-deep:   #0B5BAA;
  --navy:        #0B2A5B;   /* ink / headings */
  --green:       #57C23C;
  --green-deep:  #3DA535;

  /* Neutrals */
  --ink:    #11233F;
  --body:   #41506A;
  --muted:  #5B6B82;
  --line:   #E5EDF4;
  --line-2: #EFF4F9;
  --bg:     #FFFFFF;
  --bg-soft:#F2F8FD;        /* light blue tint */
  --bg-soft-2:#F5F7FA;

  /* Status */
  --success: #2BB673;
  --warning: #E0A33E;
  --danger:  #E5564E;
  --info:    #1BB2E6;

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, #1BB2E6 0%, #0B5BAA 100%);
  --grad-fresh:  linear-gradient(135deg, #57C23C 0%, #1BB2E6 100%);
  --grad-hero:   linear-gradient(160deg, #0B5BAA 0%, #0E86D4 55%, #1BB2E6 100%);
  --grad-night:  linear-gradient(135deg, #142a52 0%, #0b2a5b 100%);

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(11,42,91,.06), 0 1px 3px rgba(11,42,91,.05);
  --sh-md: 0 6px 18px rgba(11,42,91,.08);
  --sh-lg: 0 18px 50px rgba(11,42,91,.14);
  --sh-phone: 0 30px 70px rgba(11,42,91,.22), 0 8px 20px rgba(11,42,91,.12);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --font: "Plus Jakarta Sans","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}

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

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 12% -5%, #eaf5fd 0%, transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, #eef9ea 0%, transparent 55%),
    #eef2f7;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

/* ============================================================
   BOARD LAYOUT (the "Figma canvas")
   ============================================================ */
.board { max-width: 1480px; margin: 0 auto; padding: 56px 40px 120px; }

.board-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px; margin: -18px -18px 40px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.board-topbar .brand-dot {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad-brand);
  box-shadow: var(--sh-sm);
}
.board-topbar b { font-size: 15px; color: var(--navy); letter-spacing: -.2px; }
.board-topbar span { color: var(--muted); font-size: 13px; }
.board-topbar .nav { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.board-topbar .nav a {
  font-size: 12.5px; font-weight: 600; color: var(--blue-deep);
  text-decoration: none; padding: 7px 13px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.board-topbar .nav a:hover { background: #e4f2fc; }

/* Section scaffolding */
.section { margin: 70px 0 0; scroll-margin-top: 80px; }
.section-head { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 26px; }
.section-head .idx {
  font-size: 13px; font-weight: 800; color: #fff; background: var(--navy);
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  flex: none; box-shadow: var(--sh-sm);
}
.section-head h2 { font-size: 27px; color: var(--navy); letter-spacing: -.6px; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 3px; max-width: 720px; }
.section-divider { height: 1px; background: linear-gradient(90deg, var(--line), transparent); margin-top: 6px; }

/* Frame caption */
.frame-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.frame-cap {
  font-size: 12.5px; color: var(--navy); font-weight: 700; text-align: center;
}
.frame-cap small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; margin-top: 2px; }
.frames-row {
  display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start;
}
.frames-grid {
  display: grid; gap: 44px 40px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  justify-items: center;
}

/* ============================================================
   PHONE MOCKUP KIT
   ============================================================ */
.phone {
  width: 300px; height: 640px; flex: none;
  background: #fff; border-radius: 38px;
  border: 9px solid #0c1830;
  box-shadow: var(--sh-phone);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone .notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 22px; background: #0c1830;
  border-radius: 0 0 16px 16px; z-index: 30;
}
.statusbar {
  height: 34px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 0 22px; font-size: 11px; font-weight: 700; color: var(--ink);
  background: #fff; position: relative; z-index: 20;
}
.statusbar .sb-r { display: flex; gap: 5px; align-items: center; font-size: 10px; }
.screen { flex: 1; overflow: hidden; position: relative; background: #fff; display: flex; flex-direction: column; }
.screen-scroll { flex: 1; overflow: hidden; }
.screen-body { padding: 14px 16px 18px; }

/* App bottom tab bar */
.tabbar {
  flex: none; display: flex; justify-content: space-around; align-items: center;
  padding: 8px 6px 12px; border-top: 1px solid var(--line); background: #fff;
}
.tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.tabbar .tab svg { width: 21px; height: 21px; stroke: var(--muted); }
.tabbar .tab span { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.tabbar .tab.active svg { stroke: var(--blue); }
.tabbar .tab.active span { color: var(--blue); }
.tabbar .tab.active.green svg { stroke: var(--green-deep); }
.tabbar .tab .badge {
  position: relative;
}
.tabbar .tab .badge i {
  position: absolute; top: -4px; right: -8px; background: var(--danger); color: #fff;
  font-size: 8px; font-weight: 800; min-width: 14px; height: 14px; border-radius: 7px;
  display: grid; place-items: center; font-style: normal; padding: 0 3px;
}

/* App top bar (hamburger + bell) */
.appbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 2px 14px; }
.ic-btn {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-size: 17px; line-height: 1; flex: none; box-sizing: border-box;
}
.ic-btn.plain { border: none; }
.appbar svg, .ic-btn svg { width: 20px; height: 20px; }

/* ---- Generic UI atoms inside phones ---- */
.h1 { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.5px; line-height: 1.2; }
.h2s { font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: -.3px; }
.h3s { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.muted { color: var(--muted); }
.t-sm { font-size: 11.5px; }
.t-xs { font-size: 10.5px; }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; }
.mt6{margin-top:6px}.mt8{margin-top:8px}.mt10{margin-top:10px}.mt12{margin-top:12px}
.mt14{margin-top:14px}.mt16{margin-top:16px}.mt20{margin-top:20px}.mt24{margin-top:24px}
.gap6{gap:6px}.gap8{gap:8px}

.splash-mark { width: 132px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 12px 24px rgba(11,42,91,.18)); }
.splash-mark.sm { width: 84px; }
.splash-dots { display: flex; gap: 6px; justify-content: center; }
.splash-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: inline-block; animation: splashDot 1.2s infinite ease-in-out; }
.splash-dots i:nth-child(2) { animation-delay: .15s; }
.splash-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes splashDot { 0%,80%,100% { opacity: .25; transform: scale(.7); } 40% { opacity: 1; transform: scale(1); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--font); font-weight: 700; font-size: 13px; border: none; cursor: default;
  border-radius: 13px; padding: 12px 16px; width: 100%;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 18px rgba(14,134,212,.32); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(87,194,60,.3); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: var(--bg-soft); color: var(--blue-deep); border: 1px solid var(--line); }
.btn-out { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-sm { padding: 9px 13px; font-size: 12px; border-radius: 11px; width: auto; }

.chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--blue-deep);
  border: 1px solid var(--line); white-space: nowrap; flex: none;
}
.chip.green { background: #e9f8e7; color: var(--green-deep); border-color: #d3f0cd; }
.chip.amber { background: #fdf3e1; color: #b9802a; border-color: #f6e4c4; }
.chip.red   { background: #fdeceb; color: #c4453d; border-color: #f7d4d1; }
.chip.solid { background: var(--grad-brand); color: #fff; border: none; }

/* horizontally-slidable option rows — keeps a constant single-line height; scrolls instead of wrapping/shrinking */
.scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; flex-wrap: nowrap !important; }
.scrollx::-webkit-scrollbar { display: none; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px; box-shadow: var(--sh-sm);
}
.card.soft { background: var(--bg-soft); border-color: var(--line-2); box-shadow: none; }
.card.flat { box-shadow: none; }

.divider { height: 1px; background: var(--line); margin: 12px 0; }
.dashed { border-top: 1px dashed var(--line); margin: 11px 0; }

/* search input */
.search {
  display: flex; align-items: center; gap: 9px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--muted); font-size: 13px;
}
.search svg { width: 18px; height: 18px; stroke: var(--muted); flex: none; }

/* list row */
.lrow { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.lrow:last-child { border-bottom: none; }
.lrow .lic { width: 38px; height: 38px; border-radius: 11px; background: var(--bg-soft); display: grid; place-items: center; color: var(--blue-deep); flex: none; }
.lrow .lic svg { width: 19px; height: 19px; }
.lrow .chev { margin-left: auto; color: var(--muted); }

/* avatar */
.av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); flex: none; display:grid;place-items:center; color: var(--blue-deep); font-weight: 800; font-size: 14px; overflow: hidden; }
.av.lg { width: 60px; height: 60px; font-size: 19px; }
.av.sm { width: 30px; height: 30px; font-size: 11px; }
.av img { width: 100%; height: 100%; object-fit: cover; }

/* service tile (customer) */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.svc {
  background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 13px 9px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 0;
}
.svc .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; }
.svc .ic svg { width: 22px; height: 22px; stroke: #fff; }
.svc span { font-size: 10.5px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.ic-blue { background: var(--grad-brand); }
.ic-green{ background: var(--grad-fresh); }
.ic-navy { background: var(--grad-night); }

/* hero banner inside app */
.app-hero {
  border-radius: var(--r-lg); padding: 16px; color: #fff; position: relative; overflow: hidden;
  background: var(--grad-hero);
}
.app-hero.night { background: var(--grad-night); }
.app-hero .blob { position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.12); }
.app-hero .blob.b2 { right: 30px; bottom: -50px; top: auto; width: 80px; height: 80px; background: rgba(255,255,255,.08); }

/* promo strip */
.promo { display: flex; gap: 11px; overflow: hidden; }
.promo .pcard { flex: none; width: 180px; border-radius: var(--r-md); padding: 14px; color: #fff; }

/* progress ring (worker target) */
.ring { width: 150px; height: 150px; margin: 4px auto; position: relative; }
.ring svg { transform: rotate(135deg); }
.ring .ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .ring-c b { font-size: 40px; color: var(--navy); line-height: 1; font-weight: 800; }

/* leaderboard podium */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding: 6px; }
.podium .col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.podium .bar { width: 46px; border-radius: 8px 8px 0 0; background: var(--grad-fresh); display: grid; place-items: center; color: #fff; font-weight: 800; }
.podium .p1 .bar { height: 64px; background: linear-gradient(180deg,#1BB2E6,#0B5BAA); }
.podium .p2 .bar { height: 46px; }
.podium .p3 .bar { height: 34px; }

/* stat card */
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px; }
.stat .v { font-size: 24px; font-weight: 800; color: var(--navy); }
.stat .l { font-size: 11px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* tabs */
.tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); }
.tabs .tb { font-size: 13px; font-weight: 700; color: var(--muted); padding: 0 0 10px; position: relative; }
.tabs .tb.active { color: var(--navy); }
.tabs .tb.active::after { content:""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; background: var(--blue); border-radius: 3px; }

/* map placeholder */
.map {
  height: 180px; border-radius: var(--r-md); position: relative; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(11,91,170,.06), rgba(11,91,170,.06)),
    repeating-linear-gradient(0deg,#e7eef6 0 1px,transparent 1px 26px),
    repeating-linear-gradient(90deg,#e7eef6 0 1px,transparent 1px 26px),
    #f3f8fc;
}
.map .route { position: absolute; left: 18%; top: 70%; width: 60%; height: 40%; border-top: 3px dashed var(--blue); border-right: 3px dashed var(--blue); border-radius: 0 40px 0 0; }
.map .pin { position: absolute; width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map .pin.a { left: 16%; top: 64%; background: var(--green); }
.map .pin.b { right: 16%; top: 22%; background: var(--blue-deep); }

/* WhatsApp / help floating */
.help-fab { position: absolute; right: 14px; bottom: 78px; background: #102036; color: #fff; font-size: 11.5px; font-weight: 700; padding: 8px 13px; border-radius: 999px; display: flex; gap: 6px; align-items: center; z-index: 25; box-shadow: var(--sh-md); }

/* ============================================================
   WEBSITE MOCKUP (browser frame)
   ============================================================ */
.browser {
  width: 100%; max-width: 1180px; margin: 0 auto; background: #fff; border-radius: 16px;
  overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line);
}
.browser .bbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f4f7fb; border-bottom: 1px solid var(--line); }
.browser .dots { display: flex; gap: 6px; }
.browser .dots i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.browser .dots i:nth-child(1){background:#ff5f57}.browser .dots i:nth-child(2){background:#febc2e}.browser .dots i:nth-child(3){background:#28c840}
.browser .url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-size: 12px; color: var(--muted); }
.site { font-size: 15px; }

.site-nav { display: flex; align-items: center; gap: 26px; padding: 18px 40px; border-bottom: 1px solid var(--line); }
.site-nav .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 18px; }
.site-nav .logo .m { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 14px; }
.site-nav a { color: var(--body); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav .spacer { margin-left: auto; }

.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center;
  padding: 56px 40px; background:
    radial-gradient(700px 360px at 90% 10%, #eaf6fd 0, transparent 60%),
    linear-gradient(180deg,#fbfdff, #fff);
}
.hero h1 { font-size: 46px; line-height: 1.05; letter-spacing: -1.4px; color: var(--navy); }
.hero h1 .grad { background: var(--grad-fresh); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--body); font-size: 16px; margin-top: 16px; max-width: 460px; }
.hero .cta { display: flex; gap: 12px; margin-top: 26px; }
.hero .cta .btn { width: auto; padding: 14px 22px; font-size: 14px; }
.hero .trust { display: flex; gap: 26px; margin-top: 30px; }
.hero .trust .v { font-size: 24px; font-weight: 800; color: var(--navy); }
.hero .trust .l { font-size: 12px; color: var(--muted); }

.booking-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  box-shadow: var(--sh-md);
}
.booking-card .field { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.booking-card .field .l { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.booking-card .field .v { font-size: 14px; color: var(--navy); font-weight: 600; margin-top: 2px; }
.site-svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; padding: 16px 40px 40px; }
.site-svc {
  border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff;
  transition: transform .2s;
}
.site-svc .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; }
.site-svc .ic svg { width: 26px; height: 26px; stroke: #fff; }
.site-svc h4 { font-size: 16px; color: var(--navy); }
.site-svc p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.site-svc .price { font-size: 13px; color: var(--blue-deep); font-weight: 700; margin-top: 12px; }

.site-section-head { text-align: center; padding: 46px 40px 6px; }
.site-section-head .kicker { color: var(--green-deep); font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.site-section-head h2 { font-size: 34px; color: var(--navy); letter-spacing: -.8px; margin-top: 8px; }
.site-section-head p { color: var(--muted); max-width: 540px; margin: 10px auto 0; }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; padding: 22px 40px 30px; }
.step .n { width: 44px; height: 44px; border-radius: 13px; background: var(--bg-soft); color: var(--blue-deep); font-weight: 800; display: grid; place-items: center; font-size: 18px; border: 1px solid var(--line); }
.step h4 { margin-top: 12px; color: var(--navy); font-size: 16px; }
.step p { color: var(--muted); font-size: 13px; margin-top: 6px; }

.cta-band {
  margin: 30px 40px 0; border-radius: 24px; padding: 40px; color: #fff; text-align: center;
  background: var(--grad-hero); position: relative; overflow: hidden;
}
.cta-band h2 { font-size: 30px; letter-spacing: -.6px; }
.cta-band p { opacity: .9; margin-top: 8px; }
.cta-band .btn { width: auto; display: inline-flex; margin-top: 20px; padding: 14px 26px; }

.site-foot { padding: 40px; background: #0b1c33; color: #cdd8e8; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-foot h5 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.site-foot a { display: block; color: #9fb0c8; text-decoration: none; font-size: 13px; margin-bottom: 8px; }
.site-foot .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 18px; margin-bottom: 12px; }
.site-foot .logo .m { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-weight: 900; }

/* legend / token swatches */
.tokens { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch { width: 130px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-sm); }
.swatch .col { height: 64px; }
.swatch .meta { padding: 9px 11px; }
.swatch .meta b { font-size: 12px; color: var(--navy); display: block; }
.swatch .meta span { font-size: 11px; color: var(--muted); }

.type-card, .comp-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--sh-sm);
}
.persona-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.persona {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--sh-sm);
}
.persona .tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 5px 11px; border-radius: 999px; color: #fff; margin-bottom: 12px; }
.persona h4 { color: var(--navy); font-size: 17px; }
.persona p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.persona ul { margin: 12px 0 0 0; padding-left: 16px; }
.persona li { font-size: 12.5px; color: var(--body); margin-bottom: 5px; }

/* ============================================================
   EXTRA COMPONENTS — auth, settings, compliance, charts
   ============================================================ */

/* OTP digit boxes */
.otp-row { display: flex; gap: 10px; }
.otp-box {
  width: 46px; height: 52px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  display: grid; place-items: center; font-size: 20px; font-weight: 800; color: var(--navy); background: var(--bg-soft);
}
.otp-box.filled { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 2px rgba(14,134,212,.12); }
.otp-box.active { border-color: var(--blue); background: #fff; }

/* generic text input row (phone / search-like fields) */
.input-box { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; background: #fff; }
.input-box .pre { color: var(--navy); font-weight: 700; font-size: 14px; }
.input-box .val { font-size: 14px; font-weight: 600; color: var(--navy); flex: 1; }
.input-box .val.ph { color: var(--muted); font-weight: 500; }

/* segmented 2/3-way control (e.g. EN / AR language) */
.seg { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg span { padding: 7px 16px; font-size: 12px; font-weight: 700; color: var(--body); border-radius: 999px; white-space: nowrap; }
.seg span.active { background: var(--navy); color: #fff; }

/* CSS-only FAQ accordion */
.faq { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq + .faq { margin-top: 8px; }
.faq input { display: none; }
.faq label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; }
.faq label .chev { transition: transform .2s; color: var(--muted); flex: none; }
.faq .a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 14px; font-size: 12.5px; color: var(--body); line-height: 1.5; }
.faq input:checked ~ label { background: var(--bg-soft); }
.faq input:checked ~ label .chev { transform: rotate(180deg); color: var(--blue); }
.faq input:checked ~ .a { max-height: 220px; padding-bottom: 14px; }

/* compliance / document status row */
.doc-row { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.doc-row:last-child { border-bottom: none; }
.doc-row .dic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; font-size: 15px; }
.doc-row .dic.ok   { background: #e9f8e7; color: var(--green-deep); }
.doc-row .dic.warn { background: #fdf3e1; color: #b9802a; }
.doc-row .dic.bad  { background: #fdeceb; color: #c4453d; }

/* mini bar chart (weekly trend) */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; padding-top: 6px; }
.bars .b { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad-brand); min-height: 6px; }
.bars .b.alt { background: var(--line-2); }
.bars-lbls { display: flex; gap: 8px; margin-top: 6px; }
.bars-lbls span { flex: 1; text-align: center; font-size: 9.5px; color: var(--muted); font-weight: 600; }

@media (max-width: 720px) {
  .board { padding: 30px 16px 80px; }
  .hero { grid-template-columns: 1fr; }
  .site-svc-grid, .steps, .site-foot .cols, .persona-grid { grid-template-columns: 1fr 1fr; }
}
