/* ==========================================================================
   Elevate Your Customer Engagement - Papyrus Omnichannel CCM Platform
   Page-specific styles. Prefix: ccm-
   Loaded after custom_update.css on:
   /e15/pages/ti/elevate-your-customer-engagement.html
   ========================================================================== */

:root {
  --ccm-teal: #6bb8be;
  --ccm-teal-dark: #5aa8ae;
  --ccm-teal-soft: #eef7f8;
  --ccm-navy: #1e293b;
  --ccm-navy-deep: #0f172a;
  --ccm-ink: #334155;
  --ccm-muted: #64748b;
  --ccm-line: #e2e8f0;
  --ccm-radius: 14px;
  --ccm-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Section eyebrows
   -------------------------------------------------------------------------- */

.ccm-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--ccm-teal-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Pull quote (The Challenge)
   -------------------------------------------------------------------------- */

.ccm-pullquote {
  margin: 0 0 20px;
  padding: 2px 0 2px 20px;
  border: 0;
  border-left: 4px solid var(--ccm-teal);
  background: none;
}

.ccm-pullquote p {
  margin: 0;
  color: var(--ccm-navy);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Advantage features (2 x 2)
   -------------------------------------------------------------------------- */

.ccm-features,
.ccm-stats,
.ccm-panels,
.ccm-cards {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  margin-bottom: 10px;
}

/* Neutralize the Bootstrap 3 clearfix pseudo-elements inside flex rows */
.ccm-features::before,
.ccm-features::after,
.ccm-stats::before,
.ccm-stats::after,
.ccm-panels::before,
.ccm-panels::after,
.ccm-cards::before,
.ccm-cards::after {
  display: none;
}

.ccm-features > [class*="col-"],
.ccm-panels > [class*="col-"],
.ccm-cards > [class*="col-"] {
  display: flex;
  float: none;
  margin-bottom: 22px;
}

.ccm-feature {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 22px 22px 18px;
  border: 1px solid var(--ccm-line);
  border-radius: var(--ccm-radius);
  background: #fff;
  transition: box-shadow 0.3s var(--ccm-ease),
    transform 0.3s var(--ccm-ease), border-color 0.3s var(--ccm-ease);
}

.ccm-feature:hover {
  transform: translateY(-3px);
  border-color: var(--ccm-teal);
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.1);
}

.ccm-feature__icon {
  flex: 0 0 44px;
  width: 44px;
  margin-right: 16px;
  color: var(--ccm-teal-dark);
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
}

.ccm-feature__text {
  flex: 1 1 auto;
  min-width: 0;
}

.ccm-feature__text h3 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  text-transform: none;
  color: var(--ccm-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.ccm-feature__text p {
  margin: 0;
  color: var(--ccm-ink);
}

/* --------------------------------------------------------------------------
   Key figures
   -------------------------------------------------------------------------- */

.ccm-stats {
  margin-top: 14px;
  margin-bottom: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--ccm-line);
  border-bottom: 1px solid var(--ccm-line);
}

.ccm-stats > [class*="col-"] {
  float: none;
}

.ccm-stat {
  padding: 0 6px;
}

.ccm-stat__value {
  margin: 0;
  color: var(--ccm-teal-dark);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.ccm-stat__unit {
  font-size: 26px;
  font-weight: 700;
}

.ccm-stat__label {
  margin: 8px 0 4px;
  color: var(--ccm-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ccm-stat__desc {
  margin: 0;
  color: var(--ccm-muted);
}

/* --------------------------------------------------------------------------
   Enterprise spotlight + customer voice
   -------------------------------------------------------------------------- */

.ccm-panel-eyebrow {
  position: relative;
  margin: 0 0 14px;
  padding-left: 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ccm-panel-eyebrow::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  content: "";
}

.ccm-spotlight,
.ccm-voice {
  width: 100%;
  padding: 26px 28px;
  border-radius: var(--ccm-radius);
}

.ccm-spotlight {
  border: 1px solid var(--ccm-navy-deep);
  background: var(--ccm-navy-deep);
  color: #cbd5e1;
}

.ccm-spotlight .ccm-panel-eyebrow {
  color: var(--ccm-teal);
}

.ccm-spotlight h3 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  text-transform: none;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.ccm-spotlight b {
  color: #fff;
}

.ccm-case {
  margin: 0;
}

.ccm-case dt {
  clear: left;
  float: left;
  width: 92px;
  padding-top: 2px;
  color: var(--ccm-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.ccm-case dd {
  margin: 0 0 14px 108px;
  color: #cbd5e1;
}

.ccm-case dd:last-child {
  margin-bottom: 0;
}

.ccm-voice {
  position: relative;
  margin: 0;
  border: 1px solid #d6e9ea;
  background: var(--ccm-teal-soft);
  color: var(--ccm-ink);
}

.ccm-voice .ccm-panel-eyebrow {
  color: var(--ccm-teal-dark);
}

.ccm-voice__mark {
  display: block;
  margin-bottom: 10px;
  color: var(--ccm-teal);
  font-size: 26px;
  line-height: 1;
}

.ccm-voice blockquote {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
}

.ccm-voice blockquote p {
  margin: 0;
  color: var(--ccm-navy);
  line-height: 1.6;
}

.ccm-voice figcaption {
  color: var(--ccm-teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Three tailored experiences - comparison matrix
   -------------------------------------------------------------------------- */

.table.ccm-matrix {
  margin-top: 18px;
  margin-bottom: 6px;
  border: 1px solid var(--ccm-line);
  border-collapse: separate;
  border-spacing: 0;
}

.table.ccm-matrix > thead > tr > th,
.table.ccm-matrix > thead > tr > td {
  padding: 14px;
  border: 0;
  background: var(--ccm-navy-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  vertical-align: middle;
}

.table.ccm-matrix > tbody > tr > th,
.table.ccm-matrix > tbody > tr > td {
  padding: 12px 14px;
  border: 0;
  border-top: 1px solid var(--ccm-line);
  vertical-align: middle;
}

.table.ccm-matrix > tbody > tr > th {
  width: 22%;
  color: var(--ccm-teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table.ccm-matrix > tbody > tr > td {
  color: var(--ccm-ink);
}

.table.ccm-matrix > tbody > tr:nth-child(even) > th,
.table.ccm-matrix > tbody > tr:nth-child(even) > td {
  background: #f8fafb;
}

/* Rounded corners, applied per cell because the table uses separate borders */
.table.ccm-matrix > thead > tr > td:first-child {
  border-top-left-radius: var(--ccm-radius);
}

.table.ccm-matrix > thead > tr > th:last-child {
  border-top-right-radius: var(--ccm-radius);
}

.table.ccm-matrix > tbody > tr:last-child > th:first-child {
  border-bottom-left-radius: var(--ccm-radius);
}

.table.ccm-matrix > tbody > tr:last-child > td:last-child {
  border-bottom-right-radius: var(--ccm-radius);
}

/* --------------------------------------------------------------------------
   Guided / Collaborative / Analytical cards
   -------------------------------------------------------------------------- */

.ccm-cards {
  margin-top: 26px;
}

.ccm-card {
  width: 100%;
  padding: 22px 22px 18px;
  border: 1px solid var(--ccm-line);
  border-top: 3px solid var(--ccm-teal);
  border-radius: var(--ccm-radius);
  background: #fff;
  transition: box-shadow 0.3s var(--ccm-ease), transform 0.3s var(--ccm-ease);
}

.ccm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.1);
}

.ccm-card__tag {
  margin: 0 0 10px;
  color: var(--ccm-teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ccm-card__tag i {
  margin-right: 8px;
  font-size: 15px;
}

.ccm-card h3 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  text-transform: none;
  color: var(--ccm-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.ccm-card p {
  margin: 0;
  color: var(--ccm-ink);
}

/* --------------------------------------------------------------------------
   Pillars + use cases
   -------------------------------------------------------------------------- */

.ccm-columns {
  margin-top: 18px;
}

.ccm-columns h3 {
  margin-bottom: 18px;
}

.ccm-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ccm-list li {
  display: flex;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--ccm-line);
}

.ccm-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.ccm-list li > i {
  flex: 0 0 34px;
  width: 34px;
  margin-right: 12px;
  color: var(--ccm-teal-dark);
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
}

.ccm-list li > div {
  flex: 1 1 auto;
  min-width: 0;
}

.ccm-list li b {
  display: block;
  margin-bottom: 4px;
  color: var(--ccm-navy);
  font-size: 16px;
}

.ccm-list li b b {
  display: inline;
  margin: 0;
  font-size: inherit;
}

.ccm-list li p {
  margin: 0;
  color: var(--ccm-ink);
}

.ccm-list li p b {
  display: inline;
  margin: 0;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */

.ccm-cta {
  clear: both;
  margin: 34px 0 10px;
  padding: 34px 34px 30px;
  border-radius: var(--ccm-radius);
  background: linear-gradient(
    100deg,
    var(--ccm-navy-deep) 0%,
    var(--ccm-navy) 55%,
    var(--ccm-teal-dark) 160%
  );
  color: #cbd5e1;
}

.ccm-cta h2 {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  text-transform: none;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
}

.ccm-cta p {
  color: #cbd5e1;
}

.ccm-cta__actions {
  margin: 22px 0 0;
}

.ccm-cta__actions .btn {
  margin: 0 12px 10px 0;
}

.ccm-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  transition: background 0.3s var(--ccm-ease), color 0.3s var(--ccm-ease),
    border-color 0.3s var(--ccm-ease);
}

.ccm-btn-ghost:hover,
.ccm-btn-ghost:focus {
  border-color: #fff;
  background: #fff;
  color: var(--ccm-navy-deep);
}

.ccm-cta__meta {
  margin: 16px 0 0;
  color: rgba(203, 213, 225, 0.75);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .ccm-stat__value {
    font-size: 40px;
  }

  .ccm-spotlight,
  .ccm-voice {
    padding: 24px;
  }
}

@media (max-width: 991px) {
  .ccm-panels > [class*="col-"],
  .ccm-cards > [class*="col-"] {
    width: 100%;
  }

  .ccm-columns .col-md-6 + .col-md-6 {
    margin-top: 26px;
  }

  .table.ccm-matrix > tbody > tr > th {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .ccm-features > [class*="col-"],
  .ccm-stats > [class*="col-"] {
    width: 100%;
  }

  .ccm-stats {
    padding-bottom: 6px;
  }

  .ccm-stats > [class*="col-"] {
    margin-bottom: 22px;
  }

  .ccm-pullquote p {
    font-size: 17px;
  }

  .ccm-feature {
    display: block;
    padding: 20px;
  }

  .ccm-feature__icon {
    width: auto;
    margin: 0 0 12px;
    text-align: left;
  }

  .ccm-spotlight,
  .ccm-voice {
    padding: 22px 20px;
  }

  .ccm-case dt {
    float: none;
    width: auto;
    margin-bottom: 2px;
    padding-top: 0;
  }

  .ccm-case dd {
    margin-left: 0;
  }

  .table.ccm-matrix {
    min-width: 620px;
  }

  .ccm-cta {
    padding: 26px 22px 22px;
  }

  .ccm-cta h2 {
    font-size: 22px;
  }

  .ccm-cta__actions .btn {
    display: block;
    margin: 0 0 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ccm-stat__value {
    font-size: 36px;
  }

  .ccm-eyebrow {
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ccm-feature,
  .ccm-card,
  .ccm-btn-ghost {
    transition: none;
  }

  .ccm-feature:hover,
  .ccm-card:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .ccm-feature,
  .ccm-card,
  .table.ccm-matrix {
    border: 1px solid #999;
    box-shadow: none;
  }

  .ccm-spotlight,
  .ccm-cta {
    background: none;
    color: #000;
    border: 1px solid #999;
  }

  .ccm-spotlight h3,
  .ccm-spotlight b,
  .ccm-case dd,
  .ccm-cta h2,
  .ccm-cta p {
    color: #000;
  }

  .table.ccm-matrix > thead > tr > th,
  .table.ccm-matrix > thead > tr > td {
    background: #eee;
    color: #000;
  }
}
