/* DataXsys Design System v2.9.4 — Business Growth Story */

.growth-hero {
  min-height: 650px;
}

.growth-display-title,
.growth-section-title {
  display: block;
  font-family: "League Spartan", sans-serif;
  font-size: clamp(2.1rem, 3.1vw, 3.25rem);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.growth-intro {
  background: #fff;
}

.growth-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
}

.growth-intro h1 {
  margin: .8rem 0 0;
  color: #15151a;
}

.growth-intro__copy {
  max-width: 620px;
}

.growth-intro__copy p {
  margin: 0 0 1rem;
  color: #555b66;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
}

.growth-story {
  overflow: visible;
  background:
    radial-gradient(circle at 84% 8%, rgba(59, 130, 246, .08), transparent 30%),
    linear-gradient(#f7f8fb, #fff 28%, #fff);
}

.growth-story__heading {
  max-width: 900px;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.growth-story__heading h2,
.growth-takeaways h2 {
  margin: .8rem 0 1.2rem;
  color: #15151a;
}

.growth-story__heading > p {
  max-width: 720px;
  color: #606672;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.65;
}

.growth-story__layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(500px, 1.15fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.growth-story__steps {
  display: grid;
  gap: 16vh;
  padding-bottom: 18vh;
}

.growth-step {
  min-height: 72vh;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 3px solid #d9dde5;
  opacity: .34;
  transform: translateY(22px);
  transition: opacity .45s ease, transform .45s ease, border-color .45s ease, background .45s ease;
}

.growth-step.is-active {
  border-color: var(--growth-active, #6b7280);
  background: linear-gradient(90deg, color-mix(in srgb, var(--growth-active, #6b7280) 9%, transparent), transparent 72%);
  opacity: 1;
  transform: none;
}

.growth-step .step-number {
  display: block;
  margin-bottom: 1rem;
  color: var(--growth-active, #6b7280);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.growth-step h3 {
  margin: 0 0 .8rem;
  max-width: 520px;
  color: #17181d;
  font-family: "League Spartan", sans-serif;
  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
}

.growth-step p {
  max-width: 510px;
  color: #5f6570;
  font-size: 1.05rem;
  line-height: 1.7;
}

.growth-step ul {
  display: grid;
  gap: .55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.growth-step li {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #333841;
  font-size: .92rem;
  font-weight: 650;
}

.growth-step li::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--growth-active, #6b7280);
  content: "";
}

.growth-viz {
  --growth-active: #6b7280;
  position: sticky;
  top: 108px;
  min-height: 680px;
  padding: clamp(1.3rem, 2.6vw, 2.2rem);
  overflow: hidden;
  border: 1px solid #dce0e7;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.98)),
    repeating-linear-gradient(90deg, transparent 0 24.8%, #e7eaf0 25% 25.2%);
  box-shadow: 0 30px 80px rgba(18, 25, 38, .12);
}

.growth-viz::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--growth-active);
  content: "";
  transition: background .45s ease;
}

.growth-viz__topline,
.growth-viz__topline > div,
.growth-bar__label,
.growth-bar__meta,
.growth-chart__legend {
  display: flex;
  align-items: center;
}

.growth-viz__topline {
  justify-content: space-between;
  gap: 1rem;
}

.growth-viz__topline > div {
  gap: .65rem;
}

.growth-viz__topline #growthStage {
  color: var(--growth-active);
  font-family: "League Spartan", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.growth-viz__topline small {
  color: #555d69;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.growth-viz__badge {
  padding: .5rem .75rem;
  border: 1px solid #dfe3ea;
  border-radius: 999px;
  background: #f7f8fa;
  color: #68707d;
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.growth-viz__story {
  min-height: 142px;
  padding: 1.7rem 0 1.25rem;
  border-bottom: 1px solid #e4e7ec;
}

.growth-viz__story h3 {
  margin: 0 0 .6rem;
  color: #17181d;
  font-family: "League Spartan", sans-serif;
  font-size: clamp(1.35rem, 1.9vw, 1.95rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.growth-viz__story p {
  margin: 0;
  color: #646b77;
  font-size: .95rem;
  line-height: 1.6;
}

.growth-chart {
  padding: 1.45rem 0 .4rem;
}

.growth-chart__axis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 .8rem 0;
  color: #959ca8;
  font-size: .67rem;
  font-weight: 650;
}

.growth-chart__axis span:not(:first-child) {
  text-align: right;
}

.growth-bar {
  margin-bottom: 1rem;
}

.growth-bar__label {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .35rem;
}

.growth-bar__label span {
  color: #272b32;
  font-size: .86rem;
  font-weight: 750;
}

.growth-bar__label strong {
  color: var(--growth-active);
  font-family: "League Spartan", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.growth-bar__track {
  position: relative;
  height: 18px;
  overflow: visible;
  border-radius: 999px;
  background: #e9ecf1;
}

.growth-bar__track::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
  content: "";
}

.growth-bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--growth-active) 68%, #111827),
      var(--growth-active) 62%,
      color-mix(in srgb, var(--growth-active) 78%, white));
  box-shadow: 0 7px 16px color-mix(in srgb, var(--growth-active) 28%, transparent);
  transition: width 850ms cubic-bezier(.2,.8,.2,1), background 400ms ease;
}

.growth-bar__benchmark {
  position: absolute;
  top: -4px;
  z-index: 3;
  width: 2px;
  height: 26px;
  border-radius: 2px;
  background: #23262c;
  opacity: .65;
}

.growth-bar__meta {
  justify-content: space-between;
  margin-top: .28rem;
  color: #9aa0aa;
  font-size: .64rem;
}

.growth-bar__meta b {
  color: var(--growth-active);
  font-size: .67rem;
}

.growth-chart__legend {
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.1rem;
  color: #747b86;
  font-size: .67rem;
}

.growth-chart__legend span {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
}

.legend-current {
  width: 20px;
  height: 7px;
  border-radius: 999px;
  background: var(--growth-active);
}

.legend-marker {
  width: 2px;
  height: 13px;
  background: #23262c;
}

.growth-viz__insight {
  margin-top: .95rem;
  padding: .9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--growth-active) 20%, #dce0e7);
  border-radius: 15px;
  background: color-mix(in srgb, var(--growth-active) 6%, white);
  transition: background .4s ease, border-color .4s ease;
}

.growth-viz__insight span {
  display: block;
  margin-bottom: .25rem;
  color: var(--growth-active);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.growth-viz__insight p {
  margin: 0;
  color: #4d535d;
  font-size: .78rem;
  line-height: 1.5;
}

.growth-viz__progress {
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: #e9ecf1;
}

.growth-viz__progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--growth-active);
  transition: width .5s ease, background .4s ease;
}

.growth-takeaways {
  background: #111217;
  color: #fff;
}

.growth-takeaways h2 {
  max-width: 930px;
  color: #fff;
}

.growth-takeaways .eyebrow {
  color: #ffcf33;
}

.growth-takeaways__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  border: 1px solid #34363e;
  border-radius: 24px;
  background: #34363e;
}

.growth-takeaways__grid article {
  min-height: 300px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #18191f;
}

.growth-takeaways__grid article > span {
  color: #f3b322;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.growth-takeaways__grid h3 {
  margin: 4rem 0 .7rem;
  color: #fff;
  font-family: "League Spartan", sans-serif;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1;
}

.growth-takeaways__grid p {
  color: #b8bdc7;
  line-height: 1.65;
}

@media (max-width: 1080px) {
  .growth-story__layout {
    grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
    gap: 2.5rem;
  }

  .growth-viz {
    top: 92px;
    min-height: 635px;
  }
}

@media (max-width: 820px) {
  .growth-hero {
    min-height: auto;
  }

  .growth-intro__grid,
  .growth-story__layout {
    grid-template-columns: 1fr;
  }

  .growth-story__layout {
    display: flex;
    flex-direction: column;
  }

  .growth-story__steps {
    order: 2;
    gap: 10vh;
    width: 100%;
    padding-bottom: 5vh;
  }

  .growth-viz {
    position: sticky;
    top: 72px;
    z-index: 5;
    order: 1;
    width: 100%;
    min-height: 0;
    padding: 1rem 1rem 1.15rem;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(18, 25, 38, .13);
  }

  .growth-viz__story {
    min-height: 104px;
    padding: 1rem 0 .8rem;
  }

  .growth-viz__story h3 {
    font-size: clamp(1.25rem, 4.8vw, 1.65rem);
  }

  .growth-viz__story p {
    display: -webkit-box;
    overflow: hidden;
    font-size: .76rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .growth-viz__topline #growthStage {
    font-size: 1.5rem;
  }

  .growth-viz__badge {
    padding: .4rem .55rem;
    font-size: .55rem;
  }

  .growth-chart {
    padding-top: .75rem;
  }

  .growth-chart__axis,
  .growth-bar__meta,
  .growth-chart__legend,
  .growth-viz__insight {
    display: none;
  }

  .growth-bar {
    margin-bottom: .62rem;
  }

  .growth-bar__label {
    margin-bottom: .22rem;
  }

  .growth-bar__label span {
    font-size: .72rem;
  }

  .growth-bar__label strong {
    font-size: .95rem;
  }

  .growth-bar__track {
    height: 11px;
  }

  .growth-bar__benchmark {
    top: -3px;
    height: 17px;
  }

  .growth-step {
    min-height: 68vh;
    padding: 1.35rem 1rem 1.35rem 1.35rem;
  }

  .growth-step h3 {
    font-size: clamp(1.8rem, 8vw, 2.65rem);
  }

  .growth-takeaways__grid {
    grid-template-columns: 1fr;
  }

  .growth-takeaways__grid article {
    min-height: auto;
  }

  .growth-takeaways__grid h3 {
    margin-top: 2rem;
  }
}

@media (max-width: 520px) {
  .growth-display-title,
  .growth-section-title {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
    line-height: .97;
  }

  .growth-story {
    padding-top: 4rem;
  }

  .growth-story__heading {
    margin-bottom: 2rem;
  }

  .growth-viz {
    top: 64px;
    padding: .85rem .8rem 1rem;
  }

  .growth-viz__topline small {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .growth-viz__badge {
    max-width: 135px;
    text-align: center;
  }

  .growth-viz__story {
    min-height: 90px;
  }

  .growth-viz__story h3 {
    margin-bottom: .35rem;
    font-size: 1.18rem;
  }

  .growth-bar__label span {
    font-size: .66rem;
  }

  .growth-bar__label strong {
    font-size: .88rem;
  }

  .growth-bar__track {
    height: 9px;
  }

  .growth-step {
    min-height: 62vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .growth-step,
  .growth-bar__fill,
  .growth-viz__progress {
    transition: none !important;
  }
}


/* Refined typography and spacing — aligned with About page */
.growth-intro__grid {
  gap: clamp(2.5rem, 7vw, 8rem);
}

.growth-intro h1 {
  max-width: 650px;
}

.growth-story__heading {
  max-width: 760px;
  margin-bottom: clamp(3.5rem, 8vw, 7rem);
}

.growth-story__heading h2,
.growth-takeaways h2 {
  max-width: 760px;
}

.growth-story__heading .eyebrow,
.growth-intro .eyebrow,
.growth-takeaways .eyebrow {
  margin-bottom: .45rem;
}

.growth-step {
  padding-top: clamp(1.9rem, 3.5vw, 2.8rem);
  padding-bottom: clamp(1.9rem, 3.5vw, 2.8rem);
}

.growth-step h3 {
  max-width: 470px;
}

.growth-viz__story h3 {
  max-width: 520px;
}

.growth-takeaways__grid h3 {
  max-width: 320px;
}

@media (max-width: 820px) {
  .growth-display-title,
  .growth-section-title {
    font-size: clamp(1.95rem, 7vw, 2.75rem);
  }

  .growth-step h3 {
    font-size: clamp(1.55rem, 6vw, 2.15rem);
  }

  .growth-viz__story h3 {
    font-size: clamp(1.18rem, 4vw, 1.5rem);
  }

  .growth-takeaways__grid h3 {
    font-size: clamp(1.1rem, 4.5vw, 1.45rem);
  }
}

@media (max-width: 520px) {
  .growth-display-title,
  .growth-section-title {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
    line-height: .98;
  }

  .growth-step h3 {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
  }

  .growth-viz__story h3 {
    font-size: 1.08rem;
  }
}


/* Visibility failsafe for non-homepage templates.
   Essential content remains visible even if the shared homepage script
   encounters a homepage-only element that is absent on this page. */
.growth-page .reveal {
  opacity: 1 !important;
  transform: none !important;
}


/* =========================================================
   v2.9.5 — BUSINESS GROWTH MOBILE CHART
   Compact sticky chart under the header
   ========================================================= */
@media(max-width:820px){
  .growth-story__layout{
    display:flex!important;
    flex-direction:column!important;
  }
  .growth-viz{
    position:sticky!important;
    top:72px!important;
    z-index:25!important;
    order:1!important;
    width:100%!important;
    min-height:0!important;
    max-height:300px!important;
    margin:0 0 1.25rem!important;
    padding:.72rem .72rem .8rem!important;
    overflow:hidden!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 10px 28px rgba(18,25,38,.12)!important;
  }
  .growth-story__steps{
    order:2!important;
    gap:2rem!important;
    padding-bottom:2rem!important;
  }
  .growth-step{
    min-height:auto!important;
    padding:1.2rem 1rem 1.25rem 1.15rem!important;
  }
  .growth-viz__topline #growthStage{font-size:1.08rem!important}
  .growth-viz__topline small{font-size:.52rem!important}
  .growth-viz__badge{display:none!important}
  .growth-viz__story{
    min-height:0!important;
    padding:.52rem 0 .45rem!important;
  }
  .growth-viz__story h3{
    margin:0 0 .2rem!important;
    font-size:.92rem!important;
    line-height:1.06!important;
  }
  .growth-viz__story p{
    display:-webkit-box!important;
    overflow:hidden!important;
    font-size:.64rem!important;
    line-height:1.3!important;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .growth-chart{
    padding:.35rem 0 0!important;
  }
  .growth-chart__axis,
  .growth-bar__meta,
  .growth-chart__legend,
  .growth-viz__insight{
    display:none!important;
  }
  .growth-bar{
    margin-bottom:.32rem!important;
  }
  .growth-bar__label{
    margin-bottom:.12rem!important;
  }
  .growth-bar__label span{font-size:.58rem!important}
  .growth-bar__label strong{font-size:.72rem!important}
  .growth-bar__track{height:6px!important}
  .growth-bar__benchmark{top:-2px!important;height:10px!important}
  .growth-viz__progress{height:3px!important}
}
@media(max-width:520px){
  .growth-viz{
    max-height:278px!important;
    padding:.62rem .62rem .72rem!important;
  }
}

.btn-client-website{
display:inline-flex;align-items:center;justify-content:center;
padding:16px 30px;border-radius:999px;
background:#fff!important;color:#111!important;
border:2px solid #fff!important;font-weight:700;
text-decoration:none;transition:all .25s ease}
.btn-client-website:hover{
background:#f2f2f2!important;color:#111!important;
border-color:#f2f2f2!important;
box-shadow:0 10px 24px rgba(0,0,0,.18);
transform:translateY(-2px)}
