/* Build CRM, "Every team sells its own way." — Testimonial Stage recreation (owner, 21 Nov 2026: "USE FRAMER CARAOUSEL HERE",
   "use framer recreation skill for the carousel"). Source: free Framer marketplace component "Testimonial Stage"
   (published demo delicious-mars-881004.framer.app), read with the recreation skill on 21 Nov 2026.
   Adapted mode: structure, proportions and motion as authored; Phoenix colours, type, radius and copy; our own pictures.
   Marks: read = the component's own stylesheet / Web Animations; measured = per-frame trace; adapted = Phoenix token. */

.nx-tcs { container-type: inline-size; min-width: 0; }

/* stage: grid 1.06fr / .94fr, gap 20, padding 26 (read); colour per tab (adapted: Phoenix families) */
.nx-tcs-stage { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 20px; padding: 26px;
  border-radius: 28px; overflow: hidden; min-width: 0; background-color: var(--c-ops); }   /* the site's blue (rgb-atmosphere) */
.nx-tcs-stage[data-c="green"] { background-color: var(--c-mkt); }
.nx-tcs-stage[data-c="coral"] { background-color: var(--c-int); }
.nx-tcs-stage[data-c="ink"] { background-color: var(--ink); }

/* story card: white, min-height 450, padding 34 36 30 (read) */
.nx-tcs-story { min-width: 0; min-height: 450px; background: #fff; border-radius: 18px; display: flex; flex-direction: column;
  padding: 34px 36px 30px; overflow: hidden; }
.nx-tcs-eyebrow { margin: 0; font: 500 12px/1 var(--font-text); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.nx-tcs-panels { flex: 1; display: grid; min-width: 0; }
.nx-tcs .nx-tcs-panel { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; background: none; padding: 0; border-radius: 0; }
.nx-tcs .nx-tcs-panel[hidden] { display: flex; visibility: hidden; }
.nx-tcs-draw { flex: 1; display: flex; align-items: center; justify-content: center; padding: 22px 0 8px; }
.nx-tcs .nx-tcs-draw .crm-sh-v { display: block !important; width: min(100%, 320px); max-width: none; height: auto; margin: 0; }

/* bottom row: name + line left, link right (read: tcs-bottom / tcs-name / tcs-role / tcs-cta) */
.nx-tcs-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding-top: 16px; }
.nx-tcs-name { margin: 0; font: 400 24px/30px var(--font-display); color: var(--ink); }
.nx-tcs-role { margin: 6px 0 0; font: 400 15px/22px var(--font-text); color: var(--ink-2); max-width: 26em; text-wrap: pretty; }
.nx-tcs-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; color: var(--ink); font: 500 14px/1 var(--font-text);
  white-space: nowrap; text-decoration: none; border-radius: 99px; }
.nx-tcs-arrow { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff;
  border-radius: 50%; transition: transform .25s ease; }                                   /* 34px, .25s ease (read) */
.nx-tcs-cta:hover .nx-tcs-arrow, .nx-tcs-cta:focus-visible .nx-tcs-arrow { transform: rotate(-35deg); }   /* -35deg (read) */
.nx-tcs-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* media: min-height 450, cover, crossfade layers (read) */
.nx-tcs-media { position: relative; min-width: 0; min-height: 450px; border-radius: 18px; overflow: hidden; background: #242424; }
.nx-tcs-shot { position: absolute; inset: 0; opacity: 0; }
.nx-tcs-shot.is-on { opacity: 1; }
.nx-tcs-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-tcs-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; background: #fff; }
.nx-tcs-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }

/* tabs: margin-top 12, gap 8, min-height 58, radius 12, padding 12 15; .25s ease colour + lift 2px (read). 4 tabs (owner's 4th tab) */
.nx-tcs-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.nx-tcs-nav { border: 1px solid var(--kit-line, rgb(0 0 0 / 10%)); border-radius: 14px; background: #fff; color: var(--ink); min-width: 0;
  min-height: 58px; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 15px;
  font: inherit; transition: background .25s ease, color .25s ease, transform .25s ease; }
.nx-tcs-nav[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.nx-tcs-nav:hover { transform: translateY(-2px); }
.nx-tcs-nav:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.nx-tcs-num { font: 500 12px/1 var(--font-text); opacity: .54; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.nx-tcs-nav-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 15px/20px var(--font-text); }
.nx-tcs-status { margin-left: auto; width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; flex-shrink: 0; }
.nx-tcs-nav[aria-selected="true"] .nx-tcs-status { background: currentColor; }

.nx-tcs + .crm-fits { margin-top: 32px; }

/* container steps 790 / 590 (read) */
@container (max-width: 790px) {
  .nx-tcs-stage { grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); gap: 12px; padding: 16px; }
  .nx-tcs-story, .nx-tcs-media { min-height: 390px; }
  .nx-tcs-story { padding: 28px 25px 24px; }
  .nx-tcs-bottom { flex-wrap: wrap; }
}
@container (max-width: 590px) {
  .nx-tcs-stage { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 12px; border-radius: 24px; }
  .nx-tcs-media { order: -1; min-height: 260px; height: 260px; }
  .nx-tcs-story { min-height: 0; padding: 22px 20px 22px; }
  .nx-tcs-draw { justify-content: center; }
  .nx-tcs-bottom { gap: 16px; }
  .nx-tcs-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 9px; gap: 6px; }   /* 2 x 2 at phone width (adapted: 4 tabs) */
  .nx-tcs-nav { min-height: 54px; padding: 9px 12px; gap: 8px; border-radius: 12px; }
  .nx-tcs-nav-name { font-size: 14px; }
  .nx-tcs-status { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-tcs-nav, .nx-tcs-arrow { transition: none !important; transform: none !important; }
}

/* 21 Nov 2026, owner's second marks: no numbers or dots on the tabs, bigger tab words, no eyebrow, no name or line in the card
   (only the link stays). The four tabs sit inside the white card, at its foot (owner, 22 Nov 2026: the only version). */
.nx-tcs-bottom { justify-content: flex-end; }
.nx-tcs-nav { justify-content: center; text-align: center; }
.nx-tcs-nav-name { font-size: 17px; line-height: 22px; }
.nx-tcs-draw { padding-top: 8px; }
.nx-tcs.is-tabs-in .nx-tcs-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 20px; }
.nx-tcs.is-tabs-in .nx-tcs-nav { min-height: 46px; padding: 8px 10px; border-radius: 12px; background: var(--grey); border-color: transparent; }
.nx-tcs.is-tabs-in .nx-tcs-nav[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
.nx-tcs.is-tabs-in .nx-tcs-nav-name { font-size: 15px; line-height: 20px; }
@container (max-width: 590px) {
  .nx-tcs-nav-name { font-size: 15px; }
  .nx-tcs.is-tabs-in .nx-tcs-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* "One price. Paid once." (owner, 21 Nov 2026: "improve its typography ... show the billing element ... show the price inside
   that billing element once"): the receipt from /build/ prints our bill on the left; words and the button on the right. */
.nx-crm-price .nx-crm-price-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; align-items: center; }
.nx-crm-price .nx-crm-bill .bf-rcpt-k { font-size: 18px; }
.nx-crm-price .nx-crm-bill .bf-rcpt-item { margin-top: 28px !important; font-size: 17px; line-height: 24px; }
.nx-crm-price .nx-crm-bill .bf-rcpt-big { font-size: 80px; }
.nx-crm-price .nx-crm-bill-once { margin-top: 6px !important; font: 500 17px/24px var(--font-text); color: #48484d; }
.nx-crm-price .nx-crm-price-words { max-width: 34em; }
.nx-crm-price .nx-crm-price-lead { margin: 20px 0 0; font: 400 21px/31px var(--font-text); color: var(--ink-2); text-wrap: pretty; }
.nx-crm-price .kit-hero-actions { margin-top: 32px; }
.nx-crm-price .crm-fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--kit-line); font-size: 14px; line-height: 21px; }
@media (max-width: 1100px) {
  .nx-crm-price .nx-crm-price-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .nx-crm-price .nx-crm-bill { max-width: 440px; width: 100%; margin-inline: auto; }
}
@media (max-width: 767px) {
  .nx-crm-price .nx-crm-bill { max-width: 340px; }
  .nx-crm-price .nx-crm-bill .bf-rcpt-big { font-size: 56px; }
  .nx-crm-price .nx-crm-bill .bf-rcpt-item { font-size: 15px; line-height: 21px; }
  .nx-crm-price .nx-crm-price-lead { font-size: 18px; line-height: 27px; }
}
.nx-crm-price .kit-hero-actions { justify-content: flex-start; }
