/* ==========================================================================
   FGX — Online reputation management (online-reputation-management/index.html)
   Builds on /assets/fgx/fgx-type.css (fonts + fluid type scale) and
   ui-ux.css (tokens, grid, buttons, stats, logos, quotes, CTA, theme switching).
     FGX-ORM-01 hero + live reputation monitor   FGX-ORM-04 protect/repair/build
     FGX-ORM-03 reputation statistics             FGX-ORM-07 goal chips
   Colour: exactly one change on the whole page — dark hero into a light
   body that holds for everything after it. The CTA gets its richness from
   its own dark panel (like a printed insert), not from a second page fade.
   ========================================================================== */

body.fgx-orm { transition-duration: 1.6s, 1.6s; transition-timing-function: cubic-bezier(.45, 0, .2, 1); }
.orm .ux-eyebrow a { color: inherit; text-decoration: none; }
.orm .ux-eyebrow a:hover { color: var(--ux-red); }
.orm-intro { margin-top: 28px !important; max-width: 46ch; }

/* ---------- 01 Hero ------------------------------------------------------- */
.orm-hero { position: relative; padding-top: clamp(120px, 17vh, 200px); padding-bottom: clamp(88px, 11vw, 180px); overflow: hidden; }
.orm-hero::before { content: ""; position: absolute; right: -15vw; top: 20vh; width: 70vw; height: 70vw; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(229, 36, 33, .14), transparent 70%); }
.orm-hero__body { position: relative; display: grid; gap: 56px; margin-top: clamp(40px, 5vw, 88px); }
@media (min-width: 1200px) { .orm-hero__body { grid-template-columns: 5fr 7fr; gap: var(--ux-gap); align-items: start; } .orm-hero__copy { padding-top: 12px; } }
.orm-hero__copy .ux-lead { max-width: 25ch; }
.orm-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(36px, 4vw, 64px) 0 0; padding: 0; }
.orm-tags li { padding: 9px 16px; border: 1px solid var(--ux-line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ux-muted); }

/* Reputation monitor */
.orm-mon {
  position: relative; display: grid; place-items: center; min-height: clamp(560px, 44vw, 740px); padding: clamp(64px, 6vw, 96px) 0;
  overflow: hidden; isolation: isolate; border: 0; border-radius: 0;
  background: transparent;
}
.orm-mon::before { content: none; }
.orm-mon__cap { position: absolute; left: 0; top: 20px; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 238, .55); }
.orm-mon__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--ux-red); animation: ux-pulse 2.4s infinite; }

.orm-dash { width: min(100%, 540px); padding: 18px; border-radius: 18px; background: #f7f4f2; color: #0f0f0f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 100px rgba(0, 0, 0, .55); }
.orm-dash__hd { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.orm-dash__hd b { font-family: var(--ux-display); font-weight: 600; font-size: 18px; letter-spacing: -.03em; }
.orm-dash__hd span { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: #fff; color: var(--ux-red); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.orm-dash__hd span i { width: 6px; height: 6px; border-radius: 50%; background: var(--ux-red); animation: ux-pulse 1.6s infinite; }
.orm-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.orm-dash__kpis > div { padding: 12px; border-radius: 12px; background: #fff; }
.orm-dash__kpis p { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(15, 15, 15, .45); }
.orm-dash__kpis strong { display: block; margin-top: 6px; font-family: var(--ux-display); font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.orm-dash__kpis strong sub { font-size: .5em; font-weight: 700; color: rgba(15, 15, 15, .4); }
.orm-dash__kpis em { display: block; height: 5px; margin-top: 8px; border-radius: 99px; background: rgba(15, 15, 15, .08); overflow: hidden; }
.orm-dash__kpis em i { display: block; height: 100%; width: calc(var(--v) * 100%); background: #18a47f; transition: width .9s var(--ux-ease); }
.orm-dash__fast { color: #18a47f; }
.orm-dash__feed { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; height: 178px; overflow: hidden; }
.orm-dash__feed li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; overflow: hidden; }
.orm-dash__feed p { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.orm-src { padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.orm-tag { padding: 3px 9px; border-radius: 99px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.orm-tag--pos { background: rgba(24, 164, 127, .14); color: #128a68; }
.orm-tag--fix { background: rgba(61, 139, 255, .14); color: #2166c9; }

.orm-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 14px; background: rgba(20, 20, 20, .74); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.orm-chip i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ux-red); font-style: normal; font-size: 11px; }
.orm-chip--1 { left: 4%; top: 18%; }
.orm-chip--2 { right: 4%; top: 44%; }
.orm-chip--3 { left: 6%; bottom: 8%; }
@media (max-width: 767px) {
  .orm-mon { min-height: 640px; padding-top: 104px; padding-bottom: 104px; }
  .orm-dash { padding: 12px; }
  .orm-dash__kpis > div { padding: 10px 8px; }
  .orm-dash__feed li { grid-template-columns: 1fr auto; }
  .orm-dash__feed .orm-src { grid-column: 1 / -1; justify-self: start; }
  .orm-dash__feed { height: 210px; }
  .orm-chip--1 { left: 4%; top: 48px; }
  .orm-chip--2 { right: 4%; top: auto; bottom: 52px; }
  .orm-chip--3 { left: 4%; bottom: 12px; }
}

/* ---------- 03 Statistics --------------------------------------------------- */
.orm-stats-sec { padding-top: clamp(64px, 8vw, 120px); }
.orm-stats { margin-top: clamp(48px, 6vw, 96px); }

/* ---------- 04 Protect / Repair / Build ------------------------------------- */
.orm-pillars { padding-top: clamp(40px, 6vw, 96px); }
.orm-pillars__list { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; display: grid; gap: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) { .orm-pillars__list { grid-template-columns: repeat(3, 1fr); gap: var(--ux-gap); } }
.orm-pillar { padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--ux-line); }
.orm-pillar__n { margin: 0 0 clamp(16px, 2vw, 24px) !important; font-family: var(--ux-display); font-weight: 600; font-size: 15px; letter-spacing: -.02em; color: var(--ux-red); }
.orm-pillar .ux-h3 { margin-bottom: 12px; }
.orm-pillar .ux-body { color: var(--ux-muted); max-width: 34ch; }

/* ---------- 07 CTA — its own dark panel, independent of body theme --------- */
.orm-cta {
  --ux-bg: var(--ux-ink); --ux-fg: var(--ux-paper); --ux-muted: rgba(244, 240, 238, .56); --ux-line: rgba(244, 240, 238, .16);
  background: var(--ux-bg); color: var(--ux-fg);
}
.orm-goals { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.orm-goals button {
  all: unset; box-sizing: border-box; cursor: pointer; padding: 13px 20px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  font-size: 15px; font-weight: 700; color: #fff; transition: background .35s var(--ux-ease), border-color .35s var(--ux-ease), transform .35s var(--ux-ease);
}
.orm-goals button:hover { border-color: #fff; }
.orm-goals button[aria-pressed="true"] { background: var(--ux-red); border-color: var(--ux-red); }
.orm-goals button[aria-pressed="true"]::before { content: "✓ "; }
.orm-goals button:active { transform: scale(.96); }
.orm-goals button:focus-visible { outline: 3px solid #f2d200; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .orm-mon__rec, .orm-dash__hd span i { animation: none; } }
