/* ===============================================================
   TELECOM — page-specific overrides
   ---------------------------------------------------------------
   Telecom reuses css/real-estate.css for the shared brand template.
   That stylesheet was built for a 2-track skills section, so it
   ships neither a 3-up grid nor a third track color. This file
   forks just the skills section to match the oil-and-gas treatment:
   three tracks in one row, each with its own tinge. Loaded after
   real-estate.css, so everything else stays shared.
   =============================================================== */

:root {
  --cat-customer:   #f0b840;  /* care & sales  — gold   */
  --cat-field:      #4cc9ff;  /* network ops   — cyan   */
  --cat-compliance: #b98bff;  /* risk & rules  — violet */

  /* §006 outcome accents — reuses the trio above, plus a retention
     green that only this section needs. */
  --kpi-retention:  #4fd98a;
}

/* 004 — SKILLS: three tracks across one row.
   real-estate.css only ships the 2-column base grid. */
.offerings-grid--three { grid-template-columns: repeat(3, 1fr); }

/* One distinct color per track. real-estate.css already routes --c
   into the icon, the list numbers, the corner bloom, and the hover
   border, so setting --c here is all each card needs. */
.re-skills .offering-card[data-track="customer"]   { --c: var(--cat-customer); }
.re-skills .offering-card[data-track="field"]      { --c: var(--cat-field); }
.re-skills .offering-card[data-track="compliance"] { --c: var(--cat-compliance); }

/* Collapse to a single column on narrow screens, matching the
   shared grid's breakpoint in base.css. */
@media (max-width: 900px) {
  .offerings-grid--three { grid-template-columns: 1fr; }
}


/* ===============================================================
   §006 — KPIS YOU'LL MOVE  ·  outcome ledger
   ---------------------------------------------------------------
   real-estate.css never styled .re-outcome-*. The neighboring
   sections are already grids (compliance cards, built-for tiles),
   so this runs as a stack of wide rows instead: a colored rail
   with a direction glyph + label on the left, headline + body on
   the right. Reads as the "dials we move" scoreboard.
   =============================================================== */
.re-outcomes-grid {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 1100px;
  margin: 0 auto;
}

.re-outcome-card {
  --c: var(--cat-customer);            /* fallback; data-theme sets the real color */
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr;
  grid-template-areas:
    "rail headline"
    "rail body";
  column-gap: 2rem;
  row-gap: 0.45rem;
  align-items: start;
  padding: 1.7rem 1.9rem;
  background: var(--glass-bg);
  border: 1px solid color-mix(in srgb, var(--c) 24%, var(--glass-border));
  border-left: 3px solid var(--c);
  border-radius: 12px;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 30px rgba(0, 0, 0, 0.34);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.re-outcome-card:hover {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  border-left-color: var(--c);
  transform: translateY(-3px);
}

/* one accent per outcome */
.re-outcome-card[data-theme="attrition"] { --c: var(--kpi-retention); }
.re-outcome-card[data-theme="ramp"]      { --c: var(--cat-field); }
.re-outcome-card[data-theme="csat"]      { --c: var(--cat-customer); }
.re-outcome-card[data-theme="risk"]      { --c: var(--cat-compliance); }

.re-outcome-label {
  grid-area: rail;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c);
}
/* big direction glyph above the label — ↓ default (lower/faster is better) */
.re-outcome-label::before {
  content: "\2193";
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 1;
  color: var(--c);
}
.re-outcome-card[data-theme="csat"] .re-outcome-label::before { content: "\2191"; } /* ↑ more */
.re-outcome-card[data-theme="risk"] .re-outcome-label::before { content: "\25C6"; } /* ◆ holds up */

.re-outcome-headline {
  grid-area: headline;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.re-outcome-body {
  grid-area: body;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-muted);
}


/* ===============================================================
   §009 — ENTERPRISE READINESS  ·  spec sheet
   ---------------------------------------------------------------
   Six glass cards, each a labelled checklist. One unified cyan
   accent for a restrained, technical "passes IT & procurement"
   read, rather than a per-card rainbow.
   =============================================================== */
.re-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  counter-reset: ent;
}
.re-enterprise-card {
  --c: var(--cat-field);               /* enterprise cyan */
  counter-increment: ent;
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.7rem 1.6rem 1.8rem;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 30px rgba(0, 0, 0, 0.34);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.re-enterprise-card:hover {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  transform: translateY(-3px);
}
/* corner index 01–06 */
.re-enterprise-card::after {
  content: counter(ent, decimal-leading-zero);
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--c) 55%, var(--ink-dim));
}
.re-enterprise-label {
  display: block;
  padding: 0 2rem 0.9rem 0;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.re-enterprise-label::before {
  content: "\25C6";
  margin-right: 0.5rem;
  color: var(--c);
  font-size: 0.66rem;
}
.re-enterprise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.re-enterprise-list li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.re-enterprise-list li::before {
  content: "\2713";                    /* ✓ */
  position: absolute;
  left: 0; top: 0.02em;
  color: var(--c);
  font-weight: 700;
  font-size: 0.8rem;
}


/* ---- responsive: §006 + §009 --------------------------------- */
@media (max-width: 900px) {
  .re-enterprise-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .re-outcome-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "rail"
      "headline"
      "body";
    row-gap: 0.6rem;
    padding: 1.5rem;
  }
  .re-outcome-label::before { font-size: 2.2rem; margin-bottom: 0.35rem; }
}
@media (max-width: 600px) {
  .re-enterprise-grid { grid-template-columns: 1fr; }
}
