/* ===================================================================
 * SETOR PÚBLICO — estilos específicos
 * =================================================================== */

/* === GLOBAL PAGE === */
.gov-page main {
  position: relative;
}

/* Smooth transition between light/dark sections */
.gov-page section {
  transition: background-color var(--t-med) var(--ease-out),
              color var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}


/* ===================================================================
 * 1. HERO
 * =================================================================== */
.gov-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--primary-hi) 8%, transparent), transparent 55%),
    radial-gradient(ellipse at 80% 70%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 50%),
    var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  padding: var(--s-10) var(--gutter) var(--s-9);
}

.gov-hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Eyebrow — pulse dot + text */
.gov-hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--s-6);
}
.gov-hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
  animation: pulse 2.4s ease-out infinite;
}

/* Headline */
.gov-hero-headline {
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0 0 var(--s-6);
  text-wrap: balance;
}
.gov-hero-headline em,
.gov-hero-headline .accent-word {
  color: var(--primary-hi);
  font-weight: 500;
  font-style: normal;
}

/* Lead */
.gov-hero-lead {
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 0 var(--s-6);
  text-wrap: pretty;
}

/* Badges */
.gov-hero-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gov-badge {
  font-size: 13px;
  font-weight: 400;
  color: var(--fg-faint);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gov-badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Dark mode hero */
[data-theme="dark"] .gov-hero {
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--primary-hi) 12%, transparent), transparent 55%),
    radial-gradient(ellipse at 80% 70%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 50%),
    var(--black-rock);
  color: var(--white);
}
[data-theme="dark"] .gov-hero-eyebrow { color: rgba(255,255,255,0.55); }
[data-theme="dark"] .gov-hero-headline { color: var(--white); }
[data-theme="dark"] .gov-hero-lead { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .gov-hero .gov-badge { color: rgba(255,255,255,0.5); }

/* CTA */
.gov-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--s-6);
}

/* Responsive */
@media (max-width: 768px) {
  .gov-hero {
    min-height: auto;
    padding: 100px var(--gutter) var(--s-8);
    text-align: center;
  }
  .gov-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gov-hero-eyebrow {
    justify-content: center;
  }
  .gov-hero-headline {
    font-size: clamp(32px, 8vw, 48px);
    text-align: center;
  }
  .gov-hero-lead {
    text-align: center;
    max-width: 480px;
  }
  .gov-hero-badges {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .gov-hero-cta {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .gov-hero {
    padding: 88px 16px var(--s-6);
  }
  .gov-hero-headline {
    font-size: clamp(26px, 7.5vw, 40px);
  }
  .gov-hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .gov-hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ===================================================================
 * 2. OVERVIEW
 * =================================================================== */
.gov-overview {
  background: var(--bg-alt);
  padding: var(--s-9) var(--gutter);
}

/* Section head — m-section-head pattern */
.gov-overview-head {
  max-width: var(--container);
  margin: 0 auto var(--s-8);
}
.gov-overview-head .eyebrow {
  margin-bottom: var(--s-4);
}
.gov-overview-head h2 {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  margin: 0 0 var(--s-5);
}
.gov-overview-head h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--primary-hi);
}
.gov-overview-head .lead {
  max-width: 640px;
}

/* Grid */
.gov-overview-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

/* Card */
.gov-overview-card {
  background: var(--bg);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: background var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gov-overview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.gov-overview-card:hover {
  background: var(--black-rock);
  color: var(--white);
}
.gov-overview-card:hover::before {
  transform: scaleX(1);
}
.gov-overview-card:hover p {
  color: rgba(255, 255, 255, 0.65);
}
.gov-overview-card:hover .card-num {
  color: var(--accent);
}

.gov-overview-card .card-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  transition: color var(--t-med);
}
.gov-overview-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}
.gov-overview-card p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0.78;
  max-width: 340px;
  margin: 0;
  transition: color var(--t-med);
}

/* Card arrow */
.gov-overview-card .card-arrow {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 28px;
  height: 28px;
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.gov-overview-card .card-arrow svg {
  width: 100%;
  height: 100%;
}
.gov-overview-card:hover .card-arrow {
  opacity: 1;
  transform: rotate(-45deg);
  color: var(--accent);
}

/* Dark theme */
[data-theme="dark"] .gov-overview-card {
  background: var(--bg);
}
[data-theme="dark"] .gov-overview-card:hover {
  background: var(--ebony-clay);
}

/* Responsive */
@media (max-width: 768px) {
  .gov-overview-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
 * 3. PLEXY AI GOV — light theme
 * =================================================================== */
.gov-plexy {
  background: var(--black-rock);
  color: var(--white);
  padding: var(--s-9) var(--gutter);
}

/* --- 3A. MARKETPLACE --- */
.gov-plexy-marketplace {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-8);
  align-items: center;
}
.gov-plexy-marketplace h2 {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  color: var(--white);
  margin: 0 0 var(--s-5);
}
.gov-plexy-marketplace h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
.gov-plexy-marketplace p {
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}
.gov-plexy-marketplace .marketplace-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  margin-top: var(--s-4);
  line-height: 1.5;
}

/* Mockup — image container */
.gov-plexy-mockup {
  border-radius: var(--r-3);
  overflow: visible;
  transform: scale(1.15);
  transform-origin: center right;
}
.gov-plexy-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive — marketplace */
@media (max-width: 768px) {
  .gov-plexy-marketplace {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

/* --- 3B. BUILDER — light theme, vertical with 3 boxes --- */
.gov-builder {
  background: var(--bg-alt);
  padding: var(--s-9) var(--gutter);
}

/* Head */
.gov-builder-head {
  max-width: 800px;
  margin: 0 auto var(--s-8);
  text-align: center;
}
.gov-builder-head .eyebrow {
  margin-bottom: var(--s-4);
  justify-content: center;
}
.gov-builder-head h2 {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  margin: 0 0 var(--s-5);
}
.gov-builder-head h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--primary-hi);
}
.gov-builder-head .lead {
  max-width: 640px;
  margin-inline: auto;
}

/* Grid of 3 boxes */
.gov-builder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

/* Box */
.gov-builder-box {
  padding: var(--s-6);
  background: var(--bg);
  border-radius: var(--r-3);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: all var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.gov-builder-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.gov-builder-box:hover {
  border-color: var(--rule-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.08);
}
.gov-builder-box:hover::before {
  transform: scaleX(1);
}

.gov-builder-box-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary-hi) 10%, transparent);
  display: grid;
  place-items: center;
  color: var(--primary-hi);
}
.gov-builder-box-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.gov-builder-box h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}
.gov-builder-box p {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}

/* Dark theme */
[data-theme="dark"] .gov-builder-box {
  background: var(--ebony-clay);
  border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .gov-builder-box:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .gov-builder-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
 * 4. FDE
 * =================================================================== */
.gov-fde {
  background: var(--bg);
  padding: var(--s-9) var(--gutter);
}
.gov-fde-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Section head */
.gov-fde-head {
  margin-bottom: var(--s-8);
  margin-left: auto;
  text-align: right;
}
.gov-fde-head .eyebrow {
  margin-bottom: var(--s-4);
  justify-content: flex-end;
}
.gov-fde-head h2 {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  margin: 0 0 var(--s-5);
}
.gov-fde-head h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--primary-hi);
}
.gov-fde-head .lead {
  max-width: 640px;
  margin-left: auto;
}

/* Grid */
.gov-fde-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

/* Pillar card */
.gov-fde-pillar {
  padding: var(--s-6);
  background: var(--bg-alt);
  border-radius: var(--r-3);
  border: 1px solid var(--rule);
  transition: all var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.gov-fde-pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
}
.gov-fde-pillar:hover {
  border-color: var(--rule-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.1);
}
.gov-fde-pillar:hover::before {
  opacity: 1;
}
.gov-fde-pillar h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin: 0 0 var(--s-3);
  line-height: 1.2;
}
.gov-fde-pillar p {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}

/* Dark theme */
[data-theme="dark"] .gov-fde-pillar:hover {
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.4);
}

/* --- EvervaultCard — exact model --- */
.ev-wrapper {
  padding: 2px;
  background: transparent;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.ev-card {
  --mx: 50%;
  --my: 50%;
  border-radius: var(--r-3);
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  cursor: crosshair;
  transition: border-color var(--t-med) var(--ease-out);
  min-height: 200px;
}
.ev-card:hover {
  border-color: var(--rule-strong);
}

/* Pattern container */
.ev-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* Layer 1: base mask — fades in on hover */
.ev-base-mask {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  -webkit-mask-image: linear-gradient(white, transparent);
  mask-image: linear-gradient(white, transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.ev-card:hover .ev-base-mask {
  opacity: 0.5;
}

/* Layer 2: gradient — follows mouse, backdrop-blur */
.ev-gradient {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #b8f500, #8bc34a);
  opacity: 0;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.5s ease;
  -webkit-mask-image: radial-gradient(250px at var(--mx) var(--my), white, transparent);
  mask-image: radial-gradient(250px at var(--mx) var(--my), white, transparent);
}
.ev-card:hover .ev-gradient {
  opacity: 1;
}

/* Layer 3: random strings — follows mouse, mix-blend overlay */
.ev-strings {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.5s ease;
  -webkit-mask-image: radial-gradient(250px at var(--mx) var(--my), white, transparent);
  mask-image: radial-gradient(250px at var(--mx) var(--my), white, transparent);
}
.ev-card:hover .ev-strings {
  opacity: 1;
}
.ev-strings p {
  position: absolute;
  inset: 0;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-all;
  white-space: pre-wrap;
  margin: 0;
  padding: var(--s-3);
  height: 100%;
  overflow: hidden;
}

/* Content above pattern — glass protection for readability */
.ev-content {
  position: relative;
  z-index: 10;
  background: color-mix(in srgb, var(--bg-alt) 85%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: calc(var(--r-3) - 4px);
  padding: var(--s-5) var(--s-5);
}
.ev-content h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin: 0 0 var(--s-3);
  line-height: 1.2;
}
.ev-content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0;
}

/* Dark theme */
[data-theme="dark"] .ev-card:hover {
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .gov-fde-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
 * 5. CLAUDE
 * =================================================================== */
.gov-claude {
  background: var(--black-rock);
  color: var(--white);
  padding: var(--s-9) var(--gutter);
  position: relative;
  overflow: hidden;
}
/* Animated wave canvas */
.gov-claude-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.gov-claude-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Section head centered */
.gov-claude-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.gov-claude-head .eyebrow {
  margin-bottom: var(--s-4);
  color: rgba(255, 255, 255, 0.45);
}
.gov-claude-head .eyebrow::before {
  opacity: 0.3;
}
.gov-claude-head h2 {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  color: var(--white);
  margin: 0 0 var(--s-5);
}
.gov-claude-head h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}
.gov-claude-head .lead {
  color: rgba(255, 255, 255, 0.6);
  margin-inline: auto;
}

/* Highlight box */
.gov-claude-highlight {
  margin-top: var(--s-7);
  padding: var(--s-7);
  background: linear-gradient(
    135deg,
    rgba(105, 17, 223, 0.15),
    rgba(186, 239, 38, 0.08)
  );
  border-radius: var(--r-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.gov-claude-highlight strong {
  color: var(--accent);
  font-weight: 600;
}
.gov-claude-highlight p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.gov-claude-highlight p + p {
  margin-top: var(--s-3);
}

/* Pillar grid */
.gov-claude-pillars {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.gov-claude-pillar {
  padding: var(--s-6);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--r-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--t-med) var(--ease-out);
}
.gov-claude-pillar:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}
.gov-claude-pillar h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 var(--s-3);
  color: var(--white);
  line-height: 1.2;
}
.gov-claude-pillar p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .gov-claude-pillars {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
 * 6. CASES
 * =================================================================== */
.gov-cases {
  background: var(--bg-alt);
  padding: var(--s-9) var(--gutter);
}
.gov-cases-inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Section head */
.gov-cases-head {
  margin-bottom: var(--s-8);
}
.gov-cases-head .eyebrow {
  margin-bottom: var(--s-4);
}
.gov-cases-head h2 {
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  margin: 0 0 var(--s-5);
}
.gov-cases-head h2 em {
  font-style: normal;
  font-weight: 500;
  color: var(--primary-hi);
}
.gov-cases-head p {
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0;
}

/* Grid */
.gov-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}

/* Case card */
.gov-case-card {
  background: var(--bg);
  border-radius: var(--r-3);
  border: 1px solid var(--rule);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: all var(--t-med) var(--ease-out);
  cursor: default;
}
.gov-case-card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.1);
}
.gov-case-card .case-challenge {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-hi);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}
.gov-case-card .case-title {
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}
.gov-case-card .case-solution {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0;
}
.gov-case-card .case-solution-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: var(--s-2);
}
.gov-case-card .case-solution p {
  margin: 0;
}
.gov-case-card .case-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.5;
  margin: 0;
}
.gov-case-card .case-result {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.gov-case-card .case-result em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.gov-case-card .case-result .case-client {
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-faint);
  margin-top: 4px;
  font-style: italic;
  display: block;
}

/* Dark theme */
[data-theme="dark"] .gov-case-card:hover {
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .gov-cases-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
 * 7. UNIVERSITY — reuses .university-home from home.css
 * No new CSS needed.
 * =================================================================== */


/* ===================================================================
 * 8. CTA FINAL — orbit floating cards (dark, sticky + scroll)
 * =================================================================== */
.gov-cta-wrapper {
  height: 220vh;
}
.gov-cta-orbit {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, color-mix(in srgb, var(--primary-hi) 8%, transparent), transparent 55%),
    radial-gradient(ellipse at 80% 70%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 50%),
    var(--black-rock);
  color: var(--white);
}

/* Card orbit stage */
.gov-orbit-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

/* Individual card */
.gov-orbit-card {
  position: absolute;
  width: 60px;
  height: 85px;
  perspective: 800px;
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: auto;
  cursor: pointer;
  transition:
    transform 1.2s cubic-bezier(.34,1.56,.64,1),
    opacity 0.8s ease;
}

/* Flip inner */
.gov-orbit-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.gov-orbit-card:hover .gov-orbit-inner {
  transform: rotateY(180deg);
}

/* Front face */
.gov-orbit-front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.gov-orbit-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Back face */
.gov-orbit-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gov-orbit-brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 2px;
}
.gov-orbit-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--black-rock);
  display: inline-block;
}

/* Centered content */
.gov-orbit-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  padding: 0 var(--gutter);
}
.gov-orbit-content h2 {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--white);
  margin: 0 0 var(--s-5);
}
.gov-orbit-content h2 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}
.gov-orbit-content .cta-support {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto var(--s-6);
}
.gov-orbit-content .cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--s-6);
}
.gov-orbit-content .cta-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: var(--s-6) 0 0;
}
.gov-orbit-content .cta-badges .gov-badge {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gov-orbit-content .cta-badges .gov-badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .gov-orbit-card { width: 50px; height: 70px; }
}
@media (max-width: 768px) {
  .gov-cta-wrapper { height: auto; }
  .gov-cta-orbit { position: relative; height: auto; min-height: 100vh; }
  .gov-orbit-card { width: 42px; height: 60px; }
  .gov-orbit-card:hover .gov-orbit-inner { transform: none; }
  .gov-orbit-content .cta-badges { flex-direction: column; gap: 10px; }
  .gov-orbit-content .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .gov-orbit-card { width: 36px; height: 50px; }
}


/* ===================================================================
 * REDUCED MOTION
 * =================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mockup-chart-bar {
    animation: none !important;
    transform: scaleY(1) !important;
  }
}
