/* ============================================================
   Public Sector — Cinematic layer
   ============================================================ */
:root {
  --psec-bg: #02060d;
  --psec-cyan: #4FC8FF;
  --psec-mint: #5EFFA4;
  --psec-violet: #A78BFA;
  --psec-gold: #FFC857;
  --psec-text: rgba(234,242,255,0.92);
  --psec-text-2: rgba(234,242,255,0.66);
  --psec-text-3: rgba(234,242,255,0.42);
  --psec-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Cinematic hero ---------- */
.psec-hero {
  position: relative;
  min-height: 88vh;
  padding: 60px 0 100px;
  overflow: hidden;
  background: var(--psec-bg);
  isolation: isolate;
}
.psec-hero-bg { position: absolute; inset: 0; z-index: 0; }
.psec-hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s ease, transform 9s ease;
  filter: saturate(0.85) contrast(1.04);
}
.psec-hero-bg-img.is-active { opacity: 0.5; transform: scale(1.0); }
.psec-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2,6,13,0.65) 0%, rgba(2,6,13,0.25) 35%, rgba(2,6,13,0.94) 100%),
    radial-gradient(60% 80% at 90% 20%, rgba(79,200,255,0.18), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(94,255,164,0.12), transparent 60%);
}
.psec-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 1;
}
.psec-hero-wrap {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  z-index: 2;
}
.psec-crumb {
  font-family: var(--psec-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--psec-text-3);
  display: flex; gap: 10px; align-items: center;
  padding-top: 110px; margin-bottom: 36px;
}
.psec-crumb a { color: var(--psec-text-2); text-decoration: none; }
.psec-crumb a:hover { color: var(--psec-cyan); }
.psec-crumb .cur { color: var(--psec-text); }

.psec-hero-grid2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1024px) { .psec-hero-grid2 { grid-template-columns: 1fr; gap: 36px; } }

.psec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--psec-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--psec-cyan); text-transform: uppercase;
  padding: 6px 12px; border: 1px solid rgba(79,200,255,0.32);
  border-radius: 100px; background: rgba(79,200,255,0.08);
  margin-bottom: 24px;
}
.psec-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--psec-mint);
  box-shadow: 0 0 8px var(--psec-mint); animation: psecPulse 1.6s infinite;
}
@keyframes psecPulse { 0%, 100% {opacity: 1;} 50% {opacity: 0.4;} }

.psec-h1 {
  font-family: 'Newsreader', 'Source Serif Pro', Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
}
.psec-h1 .ac {
  background: linear-gradient(120deg, var(--psec-cyan) 0%, var(--psec-mint) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.psec-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--psec-text-2);
  max-width: 580px;
  margin: 0 0 28px;
}
.psec-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.psec-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; font-size: 14px; font-weight: 500;
  border-radius: 8px; text-decoration: none;
  transition: all 0.2s ease;
}
.psec-cta.primary {
  background: linear-gradient(120deg, var(--psec-cyan), var(--psec-mint));
  color: var(--psec-bg);
}
.psec-cta.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(94,255,164,0.3); }
.psec-cta.ghost {
  background: rgba(255,255,255,0.04); color: var(--psec-text);
  border: 1px solid rgba(255,255,255,0.14);
}
.psec-cta.ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }

/* Slide nav dots */
.psec-hero-nav {
  display: flex; gap: 6px; margin-top: 24px;
}
.psec-hero-dot {
  height: 3px; flex: 1; max-width: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; cursor: pointer; border: none; padding: 0;
  position: relative; overflow: hidden;
}
.psec-hero-dot.on { background: rgba(255,255,255,0.18); }
.psec-hero-dot.on::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--psec-cyan), var(--psec-mint));
  width: 0; animation: psecHeroProg 6500ms linear forwards;
}
@keyframes psecHeroProg { to { width: 100%; } }

/* Right column: image stack */
.psec-hero-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 180px;
  gap: 14px;
  height: 480px;
}
.psec-hero-cell {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: #0a0e22;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.55);
}
.psec-hero-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.05) saturate(0.92) brightness(0.94);
  transition: transform 8s ease-out;
}
.psec-slide-active .psec-hero-cell img { transform: scale(1.06); }
.psec-hero-cell::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,6,13,0) 40%, rgba(2,6,13,0.78) 100%);
  pointer-events: none;
}
.psec-hero-big { grid-column: 1 / -1; grid-row: 1; }
.psec-hero-tag {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--psec-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: #fff; padding: 5px 10px;
  border-radius: 6px;
  background: rgba(2,6,13,0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  z-index: 2; text-transform: uppercase;
}
.psec-hero-scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(94,255,164,0.18) 50%, transparent 100%);
  height: 36%;
  animation: psecScan 4.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes psecScan {
  0% { transform: translateY(-110%); }
  100% { transform: translateY(380%); }
}
.psec-hero-chip {
  position: absolute; right: -12px; top: 70px;
  background: rgba(10,14,34,0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 14px 18px; min-width: 180px;
  z-index: 3;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}
.psec-hero-chip .l {
  font-family: var(--psec-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--psec-text-3);
  margin-bottom: 6px;
}
.psec-hero-chip .v {
  font-family: 'Newsreader', serif; font-size: 28px; line-height: 1; color: #fff;
}
.psec-hero-chip .pulse {
  position: absolute; top: 14px; right: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--psec-mint); box-shadow: 0 0 12px var(--psec-mint);
  animation: psecPulse 1.6s infinite;
}

/* ---------- Section header pattern ---------- */
.psec-sec {
  position: relative;
  padding: 96px 32px;
  background: var(--psec-bg);
  color: var(--psec-text);
}
.psec-sec.alt { background: linear-gradient(180deg, #02060d 0%, #050d20 100%); }
.psec-sec-wrap { max-width: 1320px; margin: 0 auto; }
.psec-sec-head { margin-bottom: 48px; max-width: 720px; }
.psec-sec-eyebrow {
  font-family: var(--psec-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--psec-cyan);
  margin-bottom: 14px;
}
.psec-sec-h {
  font-family: 'Newsreader', serif;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 16px;
  text-wrap: balance;
}
.psec-sec-h .ac { color: var(--psec-mint); font-style: italic; }
.psec-sec-sub {
  font-size: 16px; line-height: 1.6;
  color: var(--psec-text-2);
}

/* ---------- Use-case explorer (image grid w/ rotation) ---------- */
.psec-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.psec-case {
  position: relative;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0a0e22;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: all 0.25s ease;
  min-height: 340px;
}
.psec-case:hover {
  transform: translateY(-3px);
  border-color: rgba(79,200,255,0.4);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.psec-case-img {
  position: relative; height: 200px; overflow: hidden;
}
.psec-case-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) saturate(0.92) brightness(0.9);
  transition: transform 0.6s ease;
}
.psec-case:hover .psec-case-img img { transform: scale(1.06); }
.psec-case-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,14,34,0.92) 100%);
}
.psec-case-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--psec-mono); font-size: 9.5px; letter-spacing: 0.16em;
  color: #fff; padding: 4px 9px;
  border-radius: 4px;
  background: rgba(2,6,13,0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16); text-transform: uppercase;
  z-index: 2;
}
.psec-case-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.psec-case-h {
  font-size: 18px; font-weight: 600; color: #fff;
  margin: 0 0 8px; letter-spacing: -0.01em;
}
.psec-case-d {
  font-size: 13.5px; line-height: 1.55; color: var(--psec-text-2);
  margin: 0 0 14px; flex: 1;
}
.psec-case-cta {
  font-family: var(--psec-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--psec-cyan);
  display: inline-flex; align-items: center; gap: 6px;
}
.psec-case-cta span { transition: transform 0.2s; }
.psec-case:hover .psec-case-cta span { transform: translateX(4px); }

/* ---------- Live widget (multi-widget selector) ---------- */
.psec-live {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(15,21,48,0.6), rgba(2,6,13,0.4));
  overflow: hidden;
}
.psec-live-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.psec-live-tab {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; position: relative;
  transition: background 0.2s ease, transform 0.2s ease;
  background: none; border-top: none; border-left: none; border-bottom: none;
  text-align: left; color: inherit;
}
.psec-live-tab:last-child { border-right: none; }
.psec-live-tab .t {
  font-family: var(--psec-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--psec-text-3); text-transform: uppercase; margin-bottom: 10px;
}
.psec-live-tab .h {
  font-size: 17px; font-weight: 600;
  color: rgba(255,255,255,0.7); margin-bottom: 4px; letter-spacing: -0.01em;
}
.psec-live-tab .d {
  font-size: 12.5px; color: var(--psec-text-3); line-height: 1.4;
}
.psec-live-tab::before {
  content: ""; position: absolute; top: 14px; right: 18px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(79,200,255,0.08);
  border: 1px solid rgba(79,200,255,0.28);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FC8FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
  opacity: 0.7; transition: all 0.2s ease;
}
.psec-live-tab:hover { background: rgba(79,200,255,0.04); transform: translateY(-1px); }
.psec-live-tab:hover .h { color: #fff; }
.psec-live-tab:hover::before {
  opacity: 1;
  background-color: rgba(79,200,255,0.18);
  border-color: rgba(79,200,255,0.55);
  transform: scale(1.05);
}
.psec-live-tab.is-active { background: rgba(79,200,255,0.06); }
.psec-live-tab.is-active .h { color: #fff; }
.psec-live-tab.is-active::before {
  opacity: 1;
  background-color: var(--psec-cyan);
  border-color: var(--psec-cyan);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302060d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  box-shadow: 0 0 16px rgba(79,200,255,0.5);
}
.psec-live-tab.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--psec-cyan), transparent);
}
.psec-live-hint {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; margin: -22px 0 22px;
  font-family: var(--psec-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--psec-cyan); text-transform: uppercase;
}
.psec-live-hint-arrow { display: inline-flex; font-size: 14px; animation: psecHintB 1.4s ease-in-out infinite; }
.psec-live-hint-arrow:last-child { animation-delay: 0.2s; }
@keyframes psecHintB {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

.psec-live-stage {
  padding: 40px;
  min-height: 540px;
  background: #02030A;
}
@media (max-width: 800px) {
  .psec-live-tabs { grid-template-columns: 1fr 1fr; }
  .psec-live-stage { padding: 24px; min-height: 0; }
}

/* ---------- Smart City widget ---------- */
.psec-city {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 900px) { .psec-city { grid-template-columns: 1fr; } }
.psec-city-feed {
  position: relative;
  border-radius: 14px; overflow: hidden;
  background: #02050d;
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 16/10;
}
.psec-city-feed img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) saturate(0.9) brightness(0.7); }
.psec-city-feed::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(2,5,13,0.92) 100%);
  pointer-events: none;
}
.psec-city-box {
  position: absolute;
  border: 1.5px solid;
  border-radius: 4px;
  pointer-events: none;
  animation: psecCityFade 0.5s ease-out;
}
.psec-city-box.ok { border-color: var(--psec-mint); box-shadow: 0 0 0 1px rgba(94,255,164,0.18), 0 0 12px rgba(94,255,164,0.3); }
.psec-city-box.alert { border-color: #FF4D4F; box-shadow: 0 0 0 1px rgba(255,77,79,0.2), 0 0 14px rgba(255,77,79,0.4); animation: psecCityFade 0.5s ease-out, psecAlertPulse 1.4s ease-in-out infinite; }
.psec-city-box.info { border-color: var(--psec-cyan); box-shadow: 0 0 0 1px rgba(79,200,255,0.2); }
@keyframes psecCityFade { from { opacity: 0; transform: scale(0.9); } }
@keyframes psecAlertPulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,77,79,0.2), 0 0 14px rgba(255,77,79,0.4);} 50% { box-shadow: 0 0 0 1px rgba(255,77,79,0.4), 0 0 24px rgba(255,77,79,0.7);} }
.psec-city-label {
  position: absolute; top: -22px; left: 0;
  font-family: var(--psec-mono); font-size: 9px; letter-spacing: 0.1em;
  color: #fff; padding: 2px 6px; border-radius: 3px;
  background: rgba(2,5,13,0.85); white-space: nowrap;
  text-transform: uppercase;
}
.psec-city-box.alert .psec-city-label { background: #FF4D4F; }
.psec-city-box.ok .psec-city-label { background: rgba(94,255,164,0.85); color: #02030A; }
.psec-city-box.info .psec-city-label { background: rgba(79,200,255,0.85); color: #02030A; }
.psec-city-meta {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 8px;
}
.psec-city-meta span {
  font-family: var(--psec-mono); font-size: 9.5px; letter-spacing: 0.14em;
  padding: 4px 8px; border-radius: 3px;
  background: rgba(2,5,13,0.78); color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  text-transform: uppercase;
}
.psec-city-meta .live { color: var(--psec-mint); }
.psec-city-meta .live::before { content: '● '; }
.psec-city-side {
  display: flex; flex-direction: column; gap: 14px;
}
.psec-city-stat {
  border-radius: 12px;
  background: rgba(8,14,28,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 18px;
}
.psec-city-stat .l {
  font-family: var(--psec-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--psec-text-3); text-transform: uppercase; margin-bottom: 6px;
}
.psec-city-stat .v { font-family: 'Newsreader', serif; font-size: 30px; color: #fff; line-height: 1; }
.psec-city-stat .s { font-size: 12px; color: var(--psec-text-2); margin-top: 6px; }

/* ---------- Citizen Agent chat widget ---------- */
.psec-chat {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .psec-chat { grid-template-columns: 1fr; } }
.psec-chat-phone {
  background: linear-gradient(180deg, #25D366 0%, #128C7E 50%, #075E54 100%);
  border-radius: 32px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.psec-chat-screen {
  background: #ECE5DD;
  border-radius: 20px;
  height: 540px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.psec-chat-bar {
  background: #075E54;
  color: #fff;
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: center;
}
.psec-chat-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--psec-cyan), var(--psec-mint));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #02060d;
}
.psec-chat-who { font-size: 14px; font-weight: 600; }
.psec-chat-online { font-size: 11px; opacity: 0.8; }
.psec-chat-body {
  flex: 1; padding: 18px 14px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath d='M0 0h200v200H0z' fill='%23ECE5DD'/%3E%3Cpath d='M50 50l2 2-2 2-2-2z M150 150l2 2-2 2-2-2z' fill='%23D4CCC4' opacity='0.5'/%3E%3C/svg%3E");
}
.psec-chat-msg {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px; line-height: 1.45;
  position: relative;
  opacity: 0; transform: translateY(8px);
  animation: psecChatIn 0.4s ease-out forwards;
}
.psec-chat-msg.user { align-self: flex-end; background: #DCF8C6; color: #303030; }
.psec-chat-msg.agent { align-self: flex-start; background: #fff; color: #303030; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.psec-chat-msg .time {
  font-size: 10px; color: rgba(0,0,0,0.45);
  text-align: right; margin-top: 2px;
}
@keyframes psecChatIn { to { opacity: 1; transform: translateY(0); } }

.psec-chat-side {
  display: flex; flex-direction: column; gap: 14px;
}
.psec-chat-lang {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.psec-chat-lang span {
  font-family: var(--psec-mono); font-size: 11px;
  padding: 6px 10px; border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--psec-text-2);
}
.psec-chat-lang span.on {
  background: rgba(79,200,255,0.14);
  border-color: rgba(79,200,255,0.4);
  color: var(--psec-cyan);
}
.psec-chat-stat {
  border-radius: 12px;
  background: rgba(8,14,28,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 20px;
}
.psec-chat-stat .l {
  font-family: var(--psec-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--psec-text-3); text-transform: uppercase; margin-bottom: 8px;
}
.psec-chat-stat .v { font-family: 'Newsreader', serif; font-size: 36px; color: #fff; line-height: 1; }
.psec-chat-stat .s { font-size: 12px; color: var(--psec-text-2); margin-top: 8px; }
.psec-chat-bars { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.psec-chat-bar-row { display: grid; grid-template-columns: 90px 1fr 50px; gap: 8px; align-items: center; font-size: 12px; }
.psec-chat-bar-row .lab { color: var(--psec-text-2); }
.psec-chat-bar-row .val { font-family: var(--psec-mono); color: #fff; text-align: right; }
.psec-chat-bar-row .track {
  height: 5px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.psec-chat-bar-row .fill {
  height: 100%; background: linear-gradient(90deg, var(--psec-cyan), var(--psec-mint));
  border-radius: 3px;
  animation: psecBarGrow 1.2s ease-out;
}
@keyframes psecBarGrow { from { width: 0 !important; } }

/* ---------- Customs document widget ---------- */
.psec-cust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .psec-cust { grid-template-columns: 1fr; } }
.psec-cust-doc {
  background: #f8f5ef;
  color: #1a1a1a;
  border-radius: 12px;
  padding: 28px 30px;
  font-family: 'Times New Roman', serif;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  min-height: 480px;
}
.psec-cust-doc::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--psec-cyan) 0, var(--psec-cyan) 12px, transparent 12px, transparent 18px);
}
.psec-cust-doc-h {
  font-size: 18px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 12px; border-bottom: 1.5px solid #1a1a1a;
  margin-bottom: 16px;
}
.psec-cust-doc-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  font-size: 12px; margin-bottom: 16px;
}
.psec-cust-doc-meta b { display: block; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #666; }
.psec-cust-doc-field {
  display: grid; grid-template-columns: 130px 1fr 80px;
  align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(0,0,0,0.15);
  font-size: 13px;
}
.psec-cust-doc-field b { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #888; }
.psec-cust-doc-field .v { font-weight: 600; }
.psec-cust-doc-field .conf {
  font-family: var(--psec-mono); font-size: 10px;
  padding: 3px 6px; border-radius: 3px;
  background: #e6f9ed; color: #0a7a3a;
  text-align: center;
}
.psec-cust-doc-field .conf.low { background: #fff4e0; color: #a26d00; }
.psec-cust-doc-highlight {
  position: absolute;
  background: rgba(94,255,164,0.18);
  border: 1.5px solid var(--psec-mint);
  border-radius: 4px;
  animation: psecCustHL 1.5s ease-in-out infinite;
}
@keyframes psecCustHL { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.psec-cust-side { display: flex; flex-direction: column; gap: 14px; }
.psec-cust-step {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 14px; align-items: start;
}
.psec-cust-step .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(79,200,255,0.12);
  border: 1px solid rgba(79,200,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--psec-mono); font-size: 12px; color: var(--psec-cyan);
}
.psec-cust-step.done .n {
  background: var(--psec-mint); border-color: var(--psec-mint); color: var(--psec-bg);
}
.psec-cust-step .body { padding-top: 2px; }
.psec-cust-step .body h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #fff; }
.psec-cust-step .body p { margin: 0; font-size: 12.5px; color: var(--psec-text-2); line-height: 1.5; }
.psec-cust-result {
  margin-top: 8px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(94,255,164,0.06);
  border: 1px solid rgba(94,255,164,0.25);
}
.psec-cust-result .l {
  font-family: var(--psec-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--psec-mint); text-transform: uppercase; margin-bottom: 8px;
}
.psec-cust-result .v { font-family: 'Newsreader', serif; font-size: 28px; color: #fff; line-height: 1.1; }
.psec-cust-result .s { font-size: 12.5px; color: var(--psec-text-2); margin-top: 8px; }

/* ---------- Procurement console widget ---------- */
.psec-proc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) { .psec-proc { grid-template-columns: 1fr; } }
.psec-proc-card {
  background: rgba(8,14,28,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.psec-proc-card.span2 { grid-column: 1 / -1; }
.psec-proc-card h4 {
  font-family: var(--psec-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--psec-text-3); text-transform: uppercase;
  margin: 0 0 16px;
}
.psec-proc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.psec-proc-kpi {
  border-right: 1px solid rgba(255,255,255,0.06);
  padding-right: 12px;
}
.psec-proc-kpi:last-child { border-right: none; }
.psec-proc-kpi .v {
  font-family: 'Newsreader', serif; font-size: 30px; color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.psec-proc-kpi .l { font-size: 11.5px; color: var(--psec-text-2); margin-top: 6px; }
.psec-proc-kpi .delta {
  display: inline-block; margin-top: 4px;
  font-family: var(--psec-mono); font-size: 10px;
  padding: 2px 6px; border-radius: 3px;
}
.psec-proc-kpi .delta.up { background: rgba(94,255,164,0.14); color: var(--psec-mint); }
.psec-proc-kpi .delta.dn { background: rgba(255,77,79,0.14); color: #FFA0A2; }

.psec-proc-alerts { display: flex; flex-direction: column; gap: 10px; }
.psec-proc-alert {
  display: grid; grid-template-columns: 48px 1fr 60px;
  gap: 12px; align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.psec-proc-alert .sev {
  font-family: var(--psec-mono); font-size: 9px; letter-spacing: 0.14em;
  padding: 4px 7px; border-radius: 3px; text-align: center;
  text-transform: uppercase;
}
.psec-proc-alert .sev.high { background: rgba(255,77,79,0.16); color: #FFA0A2; border: 1px solid rgba(255,77,79,0.3); }
.psec-proc-alert .sev.med { background: rgba(255,200,87,0.12); color: var(--psec-gold); border: 1px solid rgba(255,200,87,0.3); }
.psec-proc-alert .sev.low { background: rgba(79,200,255,0.12); color: var(--psec-cyan); border: 1px solid rgba(79,200,255,0.3); }
.psec-proc-alert .msg { color: var(--psec-text); }
.psec-proc-alert .when { font-family: var(--psec-mono); font-size: 11px; color: var(--psec-text-3); text-align: right; }

.psec-proc-chart {
  height: 120px;
  position: relative;
  margin-top: 10px;
}
.psec-proc-chart svg { width: 100%; height: 100%; }
.psec-proc-chart-line { fill: none; stroke: var(--psec-cyan); stroke-width: 2; }
.psec-proc-chart-area { fill: url(#psecAreaGrad); opacity: 0.4; }

/* ---------- Products grid ---------- */
.psec-prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.psec-prod {
  display: block;
  padding: 22px 24px;
  background: rgba(8,14,28,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none; color: inherit;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}
.psec-prod::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--psec-cyan);
  opacity: 0; transition: opacity 0.2s ease;
}
.psec-prod:hover {
  border-color: rgba(79,200,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.4);
}
.psec-prod:hover::before { opacity: 1; }
.psec-prod .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--psec-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--psec-cyan);
  padding: 3px 8px; border-radius: 4px;
  background: rgba(79,200,255,0.08); border: 1px solid rgba(79,200,255,0.22);
  margin-bottom: 14px;
}
.psec-prod .tag.custom { color: var(--psec-violet); background: rgba(167,139,250,0.08); border-color: rgba(167,139,250,0.22); }
.psec-prod h3 { font-size: 17px; font-weight: 600; color: #fff; margin: 0 0 8px; letter-spacing: -0.01em; }
.psec-prod p { font-size: 13px; line-height: 1.55; color: var(--psec-text-2); margin: 0 0 14px; }
.psec-prod .cta {
  font-family: var(--psec-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--psec-text-3);
}
.psec-prod:hover .cta { color: var(--psec-cyan); }

/* ---------- Day-in-life timeline ---------- */
.psec-day {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) { .psec-day { grid-template-columns: 1fr 1fr; } }
.psec-day-step {
  position: relative;
  padding: 22px 22px 26px;
  background: rgba(8,14,28,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  min-height: 180px;
}
.psec-day-step .time {
  font-family: var(--psec-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--psec-mint); text-transform: uppercase;
  margin-bottom: 12px;
}
.psec-day-step h4 { margin: 0 0 6px; font-size: 15px; color: #fff; }
.psec-day-step p { margin: 0; font-size: 12.5px; color: var(--psec-text-2); line-height: 1.5; }

/* ---------- Outcomes / KPIs ---------- */
.psec-out {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .psec-out { grid-template-columns: 1fr 1fr; } }
.psec-out-cell {
  padding: 32px 28px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.psec-out-cell:last-child { border-right: none; }
.psec-out-cell .v {
  font-family: 'Newsreader', serif; font-size: clamp(36px, 4vw, 56px);
  color: #fff; line-height: 1;
}
.psec-out-cell .v .ac { color: var(--psec-mint); }
.psec-out-cell .l { font-size: 13px; color: var(--psec-text-2); margin-top: 10px; }

/* ---------- Final CTA strip ---------- */
.psec-cta-strip {
  position: relative;
  padding: 80px 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #050d20 0%, #02060d 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.psec-cta-wrap {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: center;
}
@media (max-width: 900px) { .psec-cta-wrap { grid-template-columns: 1fr; } }
.psec-cta-h {
  font-family: 'Newsreader', serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 18px; text-wrap: balance;
}
.psec-cta-h .ac { color: var(--psec-mint); font-style: italic; }
.psec-cta-s { font-size: 15.5px; line-height: 1.6; color: var(--psec-text-2); margin: 0 0 24px; }
.psec-cta-img {
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
}
.psec-cta-img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(0.92); }
