/* ==========================================================================
   CEC — Connect Engineers & Consultants · Certification & Licensing Portal
   Brand: Indigo #1E293B · Cyan #0EA5E9 · Deep indigo #0F172A · Warm grey #F1F5F9
   ========================================================================== */
:root {
  --indigo: #1E293B;
  --indigo-600: #172033;
  --indigo-700: #0F172A;
  --ink: #0F172A;
  --hero: #0F172A;
  --cyan: #0EA5E9;
  --cyan-text: #0369A1;
  --cyan-50: #E0F2FE;
  --indigo-50: #E8EEF5;
  --bg: #F1F5F9;
  --card: #FFFFFF;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --text: #0F172A;
  --body: #334155;
  --muted: #475569;
  --soft: #94A3B8;
  --green: #047857; --green-bg: #D1FAE5; --green-ink: #065F46;
  --amber-bg: #FEF3C7; --amber-ink: #92400E;
  --red-bg: #FEE2E2; --red-ink: #991B1B;
  --blue-bg: #DBEAFE; --blue-ink: #1E3A8A;
  --grey-bg: #E4E4E7; --grey-ink: #3F3F46;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px rgba(15,23,42, .10);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--cyan-text); text-decoration: none; }
a:hover { color: var(--indigo); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; color: inherit; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { background: #0284C7; color: #fff; }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { background: #33c1f3; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { color: #fff; border-color: #fff; }
.btn-danger { background: #B91C1C; color: #fff; }
.btn-danger:hover { background: #991B1B; color: #fff; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-square { border-radius: 12px; }
.link-arrow { font-weight: 800; color: var(--indigo); }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; background: var(--indigo-50); color: var(--indigo); }
.badge-valid, .badge-accepted, .badge-approved, .badge-certificate-issued, .badge-verified, .badge-closed-finding, .badge-active { background: var(--green-bg); color: var(--green-ink); }
.badge-expired, .badge-withdrawn-app, .badge-closed, .badge-draft, .badge-cancelled-app, .badge-disabled { background: var(--grey-bg); color: var(--grey-ink); }
.badge-suspended, .badge-pending, .badge-documents-required, .badge-corrective-action-required, .badge-open, .badge-new, .badge-to-review { background: var(--amber-bg); color: var(--amber-ink); }
.badge-withdrawn, .badge-rejected, .badge-replacement-required, .badge-overdue { background: var(--red-bg); color: var(--red-ink); }
.badge-cancelled, .badge-assessment-scheduled, .badge-assessment-in-progress, .badge-responded { background: var(--blue-bg); color: var(--blue-ink); }
.badge-decision-pending, .badge-submitted, .badge-under-initial-review, .badge-documents-under-review, .badge-accepted-for-assessment { background: var(--cyan-50); color: var(--cyan-text); }
.tag { display: inline-block; padding: 3px 8px; border-radius: 5px; background: #F1EEE4; color: var(--body); font-size: 11px; font-weight: 800; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: 14px; font-size: 14px; border: 1px solid; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: #F0FAF5; border-color: #B7E4CD; color: var(--green-ink); }
.alert-error { background: #FEF2F2; border-color: #FECACA; color: var(--red-ink); }
.alert-info { background: var(--cyan-50); border-color: #BAE6FD; color: #0B4F6C; }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: var(--amber-ink); }
.flash-wrap { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 700; color: var(--body); }
.field .req { color: #B91C1C; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field input[type=date], .field input[type=url], .field input[type=search], .field select, .field textarea, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; color: var(--text); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea, textarea.input { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(30,41,59,.12); }
.help { font-size: 12px; color: var(--muted); }
.field-error { font-size: 12px; color: #B91C1C; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--indigo); margin-top: 2px; flex-shrink: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice-card { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); font-weight: 700; cursor: pointer; background: #fff; }
.choice-card:has(input:checked) { border-color: var(--indigo); background: var(--indigo-50); }
.choice-card input { accent-color: var(--indigo); width: 18px; height: 18px; }
.form-section-title { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); margin-top: 6px; }
.otp-input { font-family: var(--mono); font-size: 30px !important; letter-spacing: 14px; text-align: center; padding: 14px !important; }

/* ---------- Cards / panels ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-lg { border-radius: var(--radius-lg); padding: 36px; }
.card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-indigo { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.card h3 { font-size: 19px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { padding: 16px 20px; border-bottom: 1px solid #EEECE6; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { font-size: 17px; letter-spacing: -.01em; }
.panel-body { padding: 20px; }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.kv { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0; }
.kv > div { padding: 12px 0; border-bottom: 1px solid #E8EEF5; }
.kv > div:nth-child(odd) { color: var(--muted); font-size: 14px; font-weight: 600; }
.kv > div:nth-child(even) { font-weight: 700; }

/* ---------- Tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 12px 16px; background: #FAF9F5; font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.table td { padding: 13px 16px; border-top: 1px solid #E8EEF5; vertical-align: middle; }
.table tr:hover td { background: #FCFBF8; }
.table .num { font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--indigo); }
.pager { display: flex; gap: 6px; align-items: center; justify-content: flex-end; padding: 14px 16px; font-size: 13px; }
.pager a, .pager span { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.progress { height: 7px; border-radius: 4px; background: #E8EEF5; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--indigo); border-radius: 4px; }
.progress.warn > span { background: var(--cyan); }
.progress.off > span { background: #A1A1AA; }

/* ==========================================================================
   Public website
   ========================================================================== */
.utility { background: var(--ink); color: #CBD5E1; font-size: 13px; }
.utility .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.utility a { color: var(--cyan); font-weight: 700; }
.utility .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); display: inline-block; margin-right: 8px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-logo { width: 56px; height: 56px; flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name b { font-size: 18px; letter-spacing: -.01em; }
.brand-name small { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.main-nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.main-nav a { color: var(--body); }
.main-nav a.active, .main-nav a:hover { color: var(--indigo); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--indigo); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }

.hero { position: relative; margin: 20px 20px 0; border-radius: 32px; background: var(--hero); color: #fff; overflow: hidden; }
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 150px; }
.hero-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-ring.r1 { right: -180px; top: -200px; width: 760px; height: 760px; border: 2px solid rgba(14,165,233,.25); }
.hero-ring.r2 { right: -80px; top: -100px; width: 560px; height: 560px; border: 18px solid rgba(14,165,233,.10); }
.hero-ring.r3 { left: -120px; bottom: -260px; width: 520px; height: 520px; border: 2px solid rgba(255,255,255,.08); }
.hero-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 600; color: #E2E8F0; }
.hero-badge b { padding: 4px 10px; border-radius: 999px; background: var(--cyan); color: var(--ink); }
.hero h1 { font-size: clamp(44px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 span { color: var(--cyan); }
.hero .lead { font-size: 19px; color: #CBD5E1; max-width: 560px; }
.hero-stats { display: flex; gap: 28px; padding-top: 8px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 32px; }
.hero-stats span { font-size: 13px; color: var(--soft); }
.hero-stats i { width: 1px; background: rgba(255,255,255,.18); }
.hero-visual { position: relative; height: 560px; }
.cert-mock { position: absolute; left: 40px; top: 10px; width: 460px; height: 540px; background: #fff; color: var(--ink); border-radius: 22px; box-shadow: 0 40px 80px rgba(0,0,0,.35); padding: 34px; display: flex; flex-direction: column; gap: 12px; transform: rotate(2deg); }
.cert-mock::before { content: ''; position: absolute; inset: 12px; border: 1.5px solid var(--cyan); border-radius: 14px; pointer-events: none; }
.cert-mock .t { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--indigo); font-weight: 800; text-align: center; margin-top: 16px; }
.cert-mock .n { font-size: 26px; font-weight: 800; text-align: center; }
.cert-mock .s { font-size: 28px; font-weight: 800; color: var(--indigo); text-align: center; }
.cert-mock .c { font-size: 12.5px; color: var(--muted); text-align: center; }
.cert-mock .acc-mark { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px auto 0; padding: 8px 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert-mock .acc-mark .acc-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cert-mock .acc-mark .acc-item + .acc-item { padding-left: 12px; border-left: 1px solid var(--line); }
.cert-mock .acc-mark img { height: 38px; width: auto; display: block; object-fit: contain; }
.cert-mock .acc-mark small { font-family: var(--mono); font-size: 8.5px; color: var(--muted); letter-spacing: .02em; }
.cert-mock .qr { width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 8px; padding: 5px; background: #fff; }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 20px 44px rgba(0,0,0,.28); padding: 14px 18px; }
.float-card.valid { right: -14px; top: -26px; display: flex; align-items: center; gap: 12px; }
.float-card.track { left: -24px; bottom: -36px; width: 300px; display: flex; flex-direction: column; gap: 10px; }
.tick { width: 38px; height: 38px; border-radius: 50%; background: var(--green); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bars { display: flex; gap: 5px; }
.bars i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.bars i.on { background: var(--indigo); }
.bars i.now { background: var(--cyan); }

.verify-panel { position: relative; margin: -96px auto 0; max-width: 1240px; padding: 30px 34px; background: #fff; border-radius: 24px; box-shadow: 0 24px 60px rgba(15,23,42,.14); display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 36px; align-items: center; z-index: 2; }
.verify-form { display: flex; gap: 10px; }
.verify-form input { flex: 1; min-width: 0; padding: 16px 20px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); font-family: var(--mono); font-size: 16px; outline: none; }
.verify-form input:focus { border-color: var(--indigo); }
.verify-hint { font-size: 13px; color: var(--muted); }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.eyebrow.light { color: var(--cyan); }
.section { padding: 90px 0 20px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.03em; margin-top: 10px; max-width: 760px; }
.section-head p { max-width: 400px; color: var(--muted); }

.regs { display: flex; align-items: center; gap: 24px; padding-top: 54px; flex-wrap: wrap; }
.regs .line { flex: 1; height: 1px; background: var(--line); min-width: 40px; }
.regs .chips { display: flex; gap: 10px; flex-wrap: wrap; }
.regs .chips span { padding: 10px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--indigo); letter-spacing: .03em; }

.pillar { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 40px; min-height: 400px; display: flex; flex-direction: column; gap: 16px; }
.pillar h3 { font-size: 34px; letter-spacing: -.02em; }
.pillar p { max-width: 480px; }
.pillar .ring { position: absolute; right: -90px; bottom: -90px; width: 300px; height: 300px; border-radius: 50%; }
.pillar.dark { background: var(--indigo); color: #fff; }
.pillar.dark p { color: #E2E8F0; }
.pillar.dark .ring { border: 30px solid rgba(14,165,233,.22); }
.pillar.light { background: #fff; border: 1px solid var(--line); }
.pillar.light p { color: var(--muted); }
.pillar.light .ring { border: 30px solid var(--cyan-50); }
.pillar .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; }

.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
a.svc-card:hover { border-color: var(--indigo); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.svc-card h3 { font-size: 18px; letter-spacing: -.01em; }
.svc-card p { font-size: 14px; color: var(--muted); }
.svc-card .more { margin-top: auto; font-weight: 800; font-size: 14px; color: var(--indigo); }
.icon-tile { width: 50px; height: 50px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: var(--indigo-50); color: var(--indigo); flex-shrink: 0; }
.icon-tile.cyan { background: var(--cyan-50); color: var(--cyan-text); }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 18px; }
.bento .big { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 38px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.bento .big h3 { font-size: 38px; }
.bento .big p { color: #CBD5E1; max-width: 460px; }
.bento .chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.bento .chips a { padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 700; color: #fff; }
.bento .chips a:hover { background: rgba(255,255,255,.18); }
.bento .cat { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.bento .cat:hover { border-color: var(--indigo); color: var(--ink); }
.bento .cat h3 { font-size: 21px; margin-top: auto; }
.bento .cat p { font-size: 14px; color: var(--muted); }
.count-chip { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--cyan-50); color: var(--cyan-text); font-size: 12px; font-weight: 800; }

.steps-wrap { margin: 70px 20px 0; padding: 80px 0; border-radius: 32px; background: #fff; border: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 22px 20px; border-radius: 20px; background: var(--bg); min-height: 210px; display: flex; flex-direction: column; gap: 10px; }
.step .n { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--indigo); }
.step h3 { font-size: 18px; margin-top: auto; }
.step p { font-size: 13px; color: var(--muted); }
.step.s4 { background: var(--indigo-50); }
.step.s5 { background: var(--indigo); color: #fff; }
.step.s5 .n { color: var(--cyan); } .step.s5 p { color: #E2E8F0; }
.step.s6 { background: var(--ink); color: #fff; }
.step.s6 .n { color: var(--cyan); } .step.s6 p { color: #CBD5E1; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list span, .chip-list a { padding: 13px 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); }
.why-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; gap: 8px; }
.why-card::before { content: ''; width: 32px; height: 4px; border-radius: 2px; background: var(--cyan); }
.why-card h3 { font-size: 17px; margin-top: 4px; }
.why-card p { font-size: 14px; color: var(--muted); }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.faq details + details { margin-top: 10px; }
.faq summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 32px; height: 32px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; background: var(--indigo); color: #fff; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 760px; }

.cta-band { margin: 80px 20px 20px; padding: 70px 0; border-radius: 32px; background: var(--cyan); position: relative; overflow: hidden; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 48px); color: var(--ink); }
.cta-band p { color: var(--ink); font-size: 18px; margin-top: 10px; }

.site-footer { background: var(--ink); color: #94A3B8; padding: 70px 0 34px; margin-top: 0; }
.site-footer a { color: #94A3B8; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 12px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-bottom { border-top: 1px solid #33357A; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }

.page-hero { padding: 56px 0 30px; }
.page-hero h1 { font-size: clamp(36px, 4vw, 54px); letter-spacing: -.03em; margin-top: 10px; }
.page-hero p { color: var(--muted); max-width: 700px; margin-top: 12px; font-size: 17px; }
.breadcrumbs { font-size: 13px; color: var(--muted); font-weight: 600; }
.breadcrumbs a { color: var(--muted); }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; }
.filter-tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.status-hero { padding: 30px 36px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid; flex-wrap: wrap; }
.status-hero .big { font-size: 42px; font-weight: 800; line-height: 1; }
.status-VALID { background: #ECFDF5; border-color: #A7F3D0; color: var(--green); }
.status-EXPIRED { background: #F4F4F5; border-color: #D4D4D8; color: var(--grey-ink); }
.status-SUSPENDED { background: #FFFBEB; border-color: #FDE68A; color: var(--amber-ink); }
.status-WITHDRAWN { background: #FEF2F2; border-color: #FECACA; color: var(--red-ink); }
.status-CANCELLED { background: #EFF6FF; border-color: #BFDBFE; color: var(--blue-ink); }
.status-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: currentColor; flex-shrink: 0; }
.status-icon svg { stroke: #fff; }

.prose h2 { font-size: 22px; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--body); }
.prose p + p { margin-top: 12px; }
.prose h3 { font-size: 18px; margin: 20px 0 8px; }
.prose ul, .prose ol { margin: 10px 0 14px; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-body { font-size: 17px; line-height: 1.75; }
.article-body > :first-child { margin-top: 0; }
.article-card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.article-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(15,23,42, .10); }
.article-card h2 { font-size: 19px; line-height: 1.3; margin: 0; }
.article-card .tag { align-self: flex-start; }
.article-meta { margin-top: auto; color: var(--indigo); font-weight: 700; }

/* ==========================================================================
   Auth pages
   ========================================================================== */
.auth-split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-aside { background: var(--indigo); color: #fff; padding: 56px 64px; display: flex; flex-direction: column; gap: 26px; position: relative; overflow: hidden; }
.auth-aside h2 { font-size: 44px; line-height: 1.1; margin-top: auto; }
.auth-aside ul { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 12px; color: #E2E8F0; }
.auth-aside ul li::before { content: '✓'; color: var(--cyan); font-weight: 800; margin-right: 10px; }
.auth-aside .ring { position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 20px; }
.auth-card.wide { max-width: 880px; }
.auth-card h1 { font-size: 34px; }
.auth-divider { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.admin-auth { min-height: 100vh; background: var(--ink); display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; overflow: hidden; }
.admin-auth .box { width: 100%; max-width: 460px; background: #fff; border-radius: 22px; padding: 38px; box-shadow: 0 40px 90px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 18px; position: relative; }

/* ==========================================================================
   Portal (client + admin)
   ========================================================================== */
.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--ink); color: #CBD5E1; padding: 22px 14px; display: flex; flex-direction: column; gap: 3px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { color: #fff; padding: 0 8px 20px; }
.sidebar .brand b { color: #fff; font-size: 18px; }
.sidebar .role { margin-left: auto; font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--indigo-700); color: #fff; font-weight: 700; }
.sidebar a.nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; color: #CBD5E1; font-size: 14px; font-weight: 600; }
.sidebar a.nav:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar a.nav.on { background: var(--indigo); color: #fff; }
.sidebar .count { min-width: 20px; text-align: center; padding: 1px 7px; border-radius: 999px; background: var(--cyan); color: var(--ink); font-size: 11px; font-weight: 800; }
.sidebar .group { padding: 16px 12px 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #8E91C4; text-transform: uppercase; }
.sidebar .bottom { margin-top: auto; padding-top: 16px; }
.sidebar.light { background: #fff; color: var(--body); border-right: 1px solid var(--line); }
.sidebar.light .brand, .sidebar.light .brand b { color: var(--ink); }
.sidebar.light a.nav { color: var(--body); }
.sidebar.light a.nav:hover { background: var(--bg); color: var(--ink); }
.sidebar.light a.nav.on { background: var(--indigo-50); color: var(--indigo); }
.sidebar.light .group { color: var(--muted); }
.sidebar.light .role { background: var(--ink); }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.topbar { min-height: 70px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.search-box { display: flex; align-items: center; gap: 10px; width: 440px; max-width: 100%; padding: 9px 14px; border-radius: 12px; background: var(--bg); border: 1px solid transparent; }
.search-box input { border: none; background: transparent; outline: none; flex: 1; min-width: 0; font-size: 14px; }
.search-box:focus-within { border-color: var(--indigo); background: #fff; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cyan); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.avatar.dark { background: var(--ink); color: #fff; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: #DC2626; }
.content { padding: 28px 30px 60px; display: flex; flex-direction: column; gap: 22px; }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-title h1 { font-size: 30px; letter-spacing: -.02em; }
.page-title p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
a.kpi:hover { border-color: var(--indigo); color: var(--ink); }
.kpi span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.kpi b { font-size: 30px; line-height: 1.1; }
.kpi small { font-size: 12px; color: var(--muted); }
.kpi.amber b { color: #B45309; } .kpi.red b { color: #B91C1C; } .kpi.green b { color: var(--indigo); }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.split-lead { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; align-items: start; }
.split-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.split-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }

.tracker { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tracker .st { display: flex; flex-direction: column; gap: 8px; }
.tracker .st .dotline { display: flex; align-items: center; }
.tracker .st .dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.tracker .st .ln { flex: 1; height: 3px; background: var(--line); }
.tracker .st b { font-size: 13px; color: var(--muted); }
.tracker .st.done .dot { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.tracker .st.done .ln { background: var(--indigo); }
.tracker .st.done b { color: var(--ink); }
.tracker .st.now .dot { border-color: var(--cyan); color: var(--cyan-text); }
.tracker .st.now b { color: var(--cyan-text); }
.tracker .st:last-child .ln { display: none; }

.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #E8EEF5; }
.list-row:first-child { border-top: none; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .title { font-weight: 700; font-size: 14px; }
.list-row .sub { font-size: 12.5px; color: var(--muted); }
.feed { display: flex; flex-direction: column; gap: 12px; }
.feed-item { display: flex; gap: 12px; align-items: flex-start; }
.feed-item .d { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.feed-item .t { font-size: 13.5px; font-weight: 700; }
.feed-item .s { font-size: 12px; color: var(--muted); }
.card-dark .feed-item .s { color: var(--soft); }
.cert-tile { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.cert-tile .top { padding: 20px; background: #FBF9F3; border-bottom: 1px solid #E8EEF5; display: flex; gap: 16px; align-items: center; }
.cert-tile .top img { width: 88px; height: 88px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.cert-tile .body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.cert-tile .body .between { flex-wrap: nowrap; }
.timeline { display: flex; flex-direction: column; }
.timeline .ev { display: flex; gap: 14px; padding-bottom: 16px; position: relative; }
.timeline .ev::before { content: ''; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.timeline .ev:last-child::before { display: none; }
.timeline .ev i { width: 12px; height: 12px; border-radius: 50%; background: var(--indigo); margin-top: 5px; flex-shrink: 0; position: relative; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form select, .inline-form input { padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 13px; background: #fff; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); flex-wrap: wrap; }
.tabs a { padding: 7px 13px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--body); }
.tabs a.on { background: var(--ink); color: #fff; }
.qr-box { width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr .9fr 1.6fr 70px 40px; gap: 8px; align-items: center; }
.field-row input, .field-row select { padding: 9px 10px; border-radius: 9px; border: 1.5px solid var(--line-2); font-size: 13px; width: 100%; }
.dev-note { font-family: var(--mono); font-size: 13px; background: #FFFBEB; border: 1px dashed #F59E0B; color: #92400E; padding: 10px 14px; border-radius: 12px; }


/* ==========================================================================
   Polish — hover, motion and readability
   ========================================================================== */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--cyan); color: var(--ink); }

/* Buttons: lift, glow and a soft shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-cyan, .btn-dark { box-shadow: 0 6px 16px rgba(15,23,42, .14); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(30,41,59, .38); }
.btn-cyan:hover { box-shadow: 0 14px 30px rgba(14,165,233, .40); }
.btn-dark:hover { box-shadow: 0 14px 30px rgba(15,23,42, .35); }
.btn-outline:hover { background: var(--indigo-50); box-shadow: 0 10px 22px rgba(30,41,59, .12); }
.btn-primary::after, .btn-cyan::after, .btn-dark::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn-primary:hover::after, .btn-cyan:hover::after, .btn-dark:hover::after { transform: translateX(120%); }
.btn-sm { box-shadow: none; }

/* Header navigation: animated underline */
.main-nav a { position: relative; padding: 6px 0; transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, var(--indigo), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.brand .brand-logo { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-logo { transform: rotate(-12deg) scale(1.05); }

/* Cards: lift, shadow, accent */
.card, .why-card, .step, .article-card, .pillar, .faq details, .cert-tile { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
a.card:hover, .why-card:hover, .step:hover, .pillar.light:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42, .12); border-color: rgba(30,41,59, .35); }
.pillar.dark:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(30,41,59, .40); }
.why-card::before { transition: width .3s ease; }
.why-card:hover::before { width: 64px; }
.step.s5:hover, .step.s6:hover { box-shadow: 0 18px 40px rgba(15,23,42, .35); }

.svc-card { position: relative; overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.svc-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--indigo), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
a.svc-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(15,23,42, .14); }
a.svc-card:hover::before { transform: scaleX(1); }
.svc-card .icon-tile { transition: background .25s, color .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
a.svc-card:hover .icon-tile { background: var(--indigo); color: #fff; transform: rotate(-8deg) scale(1.08); }
.svc-card .more { transition: letter-spacing .2s, color .2s; }
a.svc-card:hover .more { color: var(--cyan-text); letter-spacing: .02em; }

/* Catalogue tiles */
.bento { grid-auto-rows: 210px; }
.bento .cat { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bento .cat::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--cyan-50); transform: scale(0); transition: transform .4s ease; z-index: 0; }
.bento .cat > * { position: relative; z-index: 1; }
.bento .cat:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(15,23,42, .13); }
.bento .cat:hover::after { transform: scale(1.6); }
.bento .cat svg { transition: transform .25s ease; }
.bento .cat:hover svg { transform: translateX(5px); }
.bento .cat:hover .count-chip { background: var(--indigo); color: #fff; }
.count-chip { transition: background .25s, color .25s; }
.bento .all { background: linear-gradient(135deg, var(--cyan) 0%, #38BDF8 45%, var(--indigo) 140%); border: none; color: var(--ink); }
.bento .all h3 { font-size: 24px; }
.bento .all p { color: var(--ink); opacity: .85; }
.bento .all::after { background: rgba(255, 255, 255, .25); }
.bento .all .count-chip { background: rgba(255,255,255,.7); color: var(--ink); }
.bento .big { transition: box-shadow .3s ease; }
.bento .big:hover { box-shadow: 0 24px 60px rgba(15,23,42, .35); }
.bento .chips a { transition: background .2s, border-color .2s, transform .2s; }
.bento .chips a:hover { transform: translateY(-2px); border-color: var(--cyan); }

/* Chips and pills */
.chip-list span, .chip-list a, .regs .chips span { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.chip-list span:hover, .chip-list a:hover, .regs .chips span:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(30,41,59, .25); }
.filter-tabs a { transition: background .2s, color .2s, border-color .2s; }

/* FAQ */
.faq details:hover { border-color: rgba(30,41,59, .4); box-shadow: 0 10px 26px rgba(15,23,42, .07); }
.faq summary::after { transition: background .2s, color .2s, transform .3s; }
.faq details:hover summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: none; }

/* Links with arrows */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; transition: gap .2s, color .2s; }
.link-arrow:hover { gap: 10px; color: var(--cyan-text); }

/* Form fields */
input, select, textarea { transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(30,41,59, .12); outline: none; }

/* Scroll reveal (enabled by JS; content is always visible without it) */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}


/* WhatsApp buttons and consultancy hand-off (no-consultancy sites) */
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, .25); }
.btn-wa:hover { background: #1EBE5A; color: #fff; box-shadow: 0 14px 30px rgba(37, 211, 102, .40); }
.btn-wa svg { flex-shrink: 0; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); transition: transform .25s ease, box-shadow .25s ease, padding .3s ease; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 14px; transition: max-width .4s ease; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0, 0, 0, .28); padding-right: 18px; }
.wa-float:hover span { max-width: 360px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 999px; border: 2px solid #25D366; animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }
.consult-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--ink) 0%, var(--indigo) 100%); color: #fff; position: relative; overflow: hidden; }
.consult-cta::after { content: ''; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(14,165,233, .18); }
.consult-cta-text { max-width: 640px; position: relative; z-index: 1; }
.consult-cta h3 { font-size: 24px; margin: 8px 0 8px; }
.consult-cta p { color: #E2E8F0; font-size: 15px; }
.consult-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.consult-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; position: relative; z-index: 1; }
.consult-item { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; transition: background .25s, transform .25s, border-color .25s; }
.consult-item:hover { background: rgba(255, 255, 255, .13); border-color: var(--cyan); transform: translateY(-3px); }
.consult-item b { font-size: 18px; }
.consult-item span { color: #E2E8F0; font-size: 14px; line-height: 1.5; }
.consult-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.consult-cta { flex-direction: column; align-items: stretch; }
aside .consult-grid { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .consult-grid { grid-template-columns: minmax(0, 1fr); } }
aside .consult-cta { padding: 22px; flex-direction: column; align-items: stretch; }
aside .consult-cta h3 { font-size: 19px; }
aside .consult-actions .btn { flex: 1; white-space: normal; }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: 14px; } .consult-cta { padding: 24px; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1440px) {
  .site-header .container { gap: 14px; }
  .main-nav { gap: 16px; font-size: 14.5px; }
  .brand-name small { display: none; }
}
@media (max-width: 1380px) {
  .main-nav, .header-actions .hide-md { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav.open { display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-nav a { padding: 12px 4px; font-weight: 700; color: var(--ink); border-bottom: 1px solid #E8EEF5; }
}
@media (max-width: 1180px) {
  .main-nav { gap: 16px; font-size: 14px; }
  .brand-name small { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 3; }
}
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .main-nav, .header-actions .hide-md { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav.open { display: flex; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-nav a { padding: 12px 4px; font-weight: 700; color: var(--ink); border-bottom: 1px solid #E8EEF5; }
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 130px; }
  .hero-visual { display: none; }
  .verify-panel { grid-template-columns: 1fr; gap: 18px; margin-left: 24px; margin-right: 24px; }
  .grid-4, .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .big { grid-column: span 2; grid-row: span 1; min-height: 320px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-even, .split-lead, .split-aside { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; overflow-x: auto; gap: 4px; padding: 10px 12px; align-items: center; }
  .sidebar .brand { padding: 0 10px 0 0; }
  .sidebar .brand-name, .sidebar .group, .sidebar .role { display: none; }
  .sidebar a.nav { white-space: nowrap; }
  .sidebar .bottom { margin: 0; padding: 0; }
  .topbar { position: static; padding: 12px 16px; flex-wrap: wrap; }
  .search-box { width: 100%; order: 3; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .utility .container { justify-content: center; }
  .utility .hide-sm { display: none; }
  .site-header .container { min-height: 70px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-name b { font-size: 15px; }
  .brand-name small { display: none; }
  .brand-name { white-space: normal; max-width: 200px; }
  .site-header .brand-name b { font-size: 14px; }
  .hide-xs { display: none; }
  .hero { margin: 12px 12px 0; border-radius: 26px; }
  .hero .lead { font-size: 16px; }
  .verify-panel { margin: -96px 12px 0; padding: 22px 18px; }
  .verify-form { flex-wrap: wrap; }
  .verify-form input { flex-basis: 100%; }
  .grid-2, .grid-3, .grid-4, .bento, .form-grid, .choice-cards { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-2 { grid-column: auto; }
  .bento .big { grid-column: auto; }
  .steps, .steps.steps-3 { grid-template-columns: 1fr; }
  .steps-wrap, .cta-band { margin-left: 12px; margin-right: 12px; }
  .section { padding-top: 64px; }
  .pillar { padding: 28px; min-height: 0; }
  .pillar h3 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .kv { grid-template-columns: minmax(0, 1fr) !important; }
  .list-row { flex-wrap: wrap; }
  .list-row > [style*="width"] { width: auto !important; text-align: left !important; }
  .panel-head .tabs { width: 100%; }
  .kv > div:nth-child(odd) { padding-bottom: 0; border-bottom: none; }
  .content { padding: 20px 14px 50px; }
  .tracker { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .card-lg { padding: 24px; }
  .status-hero { padding: 22px; }
  .status-hero .big { font-size: 32px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .auth-main { padding: 28px 16px; }
}

@media print {
  .site-header, .utility, .site-footer, .cta-band, .no-print { display: none !important; }
  body { background: #fff; }
}

.stack > .badge { align-self: flex-start; }

/* ---------- Website photos: hero photo, client logos, gallery ---------- */
.filter-tabs button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero.has-photo { isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; background: var(--hero-img) center / cover no-repeat; opacity: var(--hero-op, .22); mix-blend-mode: luminosity; pointer-events: none; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.55) 55%, rgba(15,23,42,.25) 100%); pointer-events: none; }
.trusted { padding-top: 34px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.trusted-label { font-weight: 700; letter-spacing: .02em; text-align: center; }
.trusted-track { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trusted-row { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; padding: 6px 0; }
.trusted-track.is-moving .trusted-row { width: max-content; flex-wrap: nowrap; justify-content: flex-start; animation: trusted-scroll 40s linear infinite; }
.trusted-track.is-moving:hover .trusted-row { animation-play-state: paused; }
@keyframes trusted-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trusted-logo { display: inline-flex; align-items: center; height: 56px; }
.trusted-logo img { max-height: 52px; max-width: 150px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.trusted-logo:hover img { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .trusted-track.is-moving .trusted-row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-grid.home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item[hidden] { display: none; }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(16,17,48,.85)); color: #fff; font-size: 13px; line-height: 1.35; display: flex; flex-direction: column; gap: 2px; }
.gallery-cap b { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,11,30,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox p { color: #E5E7F5; font-size: 14px; text-align: center; max-width: 700px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) { .gallery-grid.home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery-grid, .gallery-grid.home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; } .gallery-cap { font-size: 11px; padding: 20px 8px 8px; } .trusted-row { gap: 28px; } .trusted-logo img { max-height: 40px; max-width: 110px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 18px; transform: none; } }
/* Admin → Website photos */
.mp-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.mp-tabs a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; color: var(--ink); }
.mp-section { margin-bottom: 20px; scroll-margin-top: 20px; }
.mp-hero-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.mp-hero-preview { position: relative; isolation: isolate; width: 360px; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--hero); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.mp-hero-preview::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,23,42,.92), rgba(15,23,42,.3)); }
.mp-hero-photo { position: absolute; inset: 0; z-index: -2; background: var(--hero-img) center / cover; opacity: var(--hero-op, .22); mix-blend-mode: luminosity; }
.mp-hero-text { font-size: 22px; font-weight: 800; line-height: 1.1; }
.mp-hero-text span { color: var(--cyan); }
.mp-hero-empty { margin-top: 10px; font-size: 12px; opacity: .7; }
.mp-upload { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; padding: 16px; border-radius: 14px; background: var(--bg, #F1F5F9); border: 1px dashed var(--line-2); }
.mp-upload .btn { justify-self: start; }
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mp-item { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.mp-item.off { opacity: .55; }
.mp-item input[type=text], .mp-item select { width: 100%; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 13px; }
.mp-item input[type=number] { padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; }
.mp-thumb { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #EEF; display: flex; align-items: center; justify-content: center; }
.mp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mp-thumb.logo { background: repeating-conic-gradient(#f3f3f3 0 25%, #fff 0 50%) 0 0 / 16px 16px; padding: 14px; }
.mp-thumb.logo img { object-fit: contain; }
.mp-del { background: none; border: 0; color: var(--red-ink, #B91C1C); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 0; }
.verify-ways { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 12px; }
.verify-ways b { padding: 3px 10px; border-radius: 999px; background: var(--line); color: var(--ink); font-size: 12px; }
.verify-tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.verify-tabs .vtab { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.verify-tabs .vtab:hover { border-color: var(--indigo); }
.verify-tabs .vtab input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.verify-tabs .vtab.on, .verify-tabs .vtab:has(input:checked) { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.verify-tabs .vtab:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.badge-received, .badge-sent { background: #E0F2FE; color: #075985; }
.badge-under-investigation { background: #FEF3C7; color: #92400E; }
.badge-resolved { background: #DCFCE7; color: #166534; }
.badge-not-upheld, .badge-declined { background: #FEE2E2; color: #991B1B; }
/* Quotation editor */
.q-items { display: flex; flex-direction: column; gap: 8px; }
.q-row { display: grid; grid-template-columns: minmax(0, 1fr) 60px 120px 90px 24px; gap: 8px; align-items: center; }
.q-row input { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; }
.q-row .num { text-align: right; font-weight: 700; }
.q-head { font-weight: 700; padding: 0 4px; }
.q-totals { display: flex; flex-direction: column; gap: 8px; align-self: flex-end; width: 320px; max-width: 100%; margin-top: 8px; }
.q-totals > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.q-totals input { width: 130px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; text-align: right; }
.q-grand { border-top: 2px solid var(--line); padding-top: 10px; font-size: 18px; color: var(--indigo); }
@media (max-width: 700px) { .q-row { grid-template-columns: minmax(0, 1fr) 56px 100px 24px; } .q-row [data-qamount], .q-head span:nth-child(4) { display: none; } }
.badge-embed summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--indigo); }
.badge-embed textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; resize: vertical; background: #FAFAFC; }
/* Reports: monthly bars (single series) + horizontal bars */
.mchart { margin: 0; }
.mchart-plot { position: relative; height: 180px; margin-left: 28px; }
.mchart-grid span { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.mchart-grid i { position: absolute; left: -28px; top: -8px; width: 22px; text-align: right; font-style: normal; font-size: 11px; color: var(--muted); }
.mchart-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; align-items: end; }
.mchart-col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; outline: none; cursor: default; }
.mchart-bar { display: block; width: 62%; min-height: 0; background: var(--indigo); border-radius: 4px 4px 0 0; transition: opacity .15s; }
.mchart-col:hover .mchart-bar, .mchart-col:focus .mchart-bar { opacity: .8; }
.mchart-val { position: absolute; font-size: 11px; font-weight: 700; color: var(--ink); }
.mchart-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; line-height: 1.35; padding: 6px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 2; }
.mchart-col:hover .mchart-tip, .mchart-col:focus .mchart-tip { opacity: 1; }
.mchart-col:hover::before, .mchart-col:focus::before { content: ""; position: absolute; inset: 0; background: rgba(30,41,59,.06); border-radius: 6px; }
.mchart-x { display: grid; grid-template-columns: repeat(12, 1fr); margin-left: 28px; padding-top: 6px; text-align: center; font-size: 11px; color: var(--muted); }
.mchart-x b { font-weight: 400; }
.mchart-table { margin-top: 10px; }
.mchart-table summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--muted); }
.mchart-table .table th, .mchart-table .table td { padding: 6px 4px; font-size: 12px; }
.hbar { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 40px; gap: 12px; align-items: center; font-size: 13px; }
.hbar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { height: 10px; background: var(--line); border-radius: 0 4px 4px 0; overflow: hidden; }
.hbar-track span { display: block; height: 100%; background: var(--indigo); border-radius: 0 4px 4px 0; }
.hbar b { text-align: right; }
@media (max-width: 600px) { .mchart-x b { display: none; } .hbar { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 32px; } }
@media print { .sidebar, .admin-side, .topbar, .page-title form, .mchart-table { display: none !important; } }
.badge-submitted { background: #FEF3C7; color: #92400E; }
.badge-in-review { background: #E0F2FE; color: #075985; }
.badge-more-information-needed { background: #FFEDD5; color: #9A3412; }
.badge-completed { background: #DCFCE7; color: #166534; }
.badge-not-approved { background: #FEE2E2; color: #991B1B; }
.wa-send textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 14px; resize: vertical; }
.wa-send .btn.disabled { opacity: .5; cursor: not-allowed; }

/* Service page: benefits */
.benefit-list, .prose .benefit-list { list-style: none; margin: 6px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.benefit-list li, .prose .benefit-list li, .prose .benefit-list li + li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); margin: 0; }
.benefit-list li::before { content: none; }
.benefit-tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.benefit-list li > div > b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.benefit-list li > div > span { display: block; font-size: 14px; line-height: 1.55; color: var(--body); }
@media (max-width: 900px) { .benefit-list, .prose .benefit-list { grid-template-columns: 1fr; } }

/* SEO fixes */
.hero h1 .hero-kicker { display: block; font-size: 15px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #E2E8F0; margin-bottom: 14px; }
.cert-mock .sample-tag { align-self: center; margin: 4px 0 -6px; font-size: 9.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); background: var(--bg); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.process-list { margin: 6px 0 0; padding-left: 22px; }
.process-list li { margin: 6px 0; padding-left: 4px; }
.faq summary .faq-q { display: inline; font: inherit; color: inherit; margin: 0; }
.map-embed { display: block; width: 100%; height: 260px; border: 0; }
