/* ==========================================================================
   Section 11 — Our 90-Day Growth Plan (Elementor id 8e629c8)
   Static section: no scroll trigger, no entrance animation.
   Measured desktop box 1440x2170 / tablet 768x2548 / mobile 390x2328.
   ========================================================================== */

.s-growth-plan {
  margin-top: 75px;
  font-family: var(--f-body);
  color: var(--c-text);
}

.s-growth-plan .gp-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: 25px 75px;
}

/* ---- Eyebrow ------------------------------------------------------------ */

.s-growth-plan .gp-eyebrow {
  padding-right: 20px;
  font-family: var(--f-body);
  font-size: var(--t-body-15);
  font-weight: 500;
  line-height: 1.5em;
  color: var(--c-green);
  text-align: center;
}

/* ---- Intro -------------------------------------------------------------- */

.s-growth-plan .gp-intro { text-align: center; }

.s-growth-plan .gp-title {
  font-family: var(--f-body);
  font-size: var(--t-h2-alt);
  font-weight: 400;
  line-height: 1.1em;
  color: var(--c-black);
}

.s-growth-plan .gp-lead {
  margin-top: 23px;
  font-family: var(--f-body);
  font-size: var(--t-body-15);
  font-weight: 300;
  line-height: 1.5em;
  color: var(--c-slate);
}

/* ---- Phase headings ----------------------------------------------------- */

.s-growth-plan .gp-phase {
  padding-top: 20px;
  font-family: var(--f-body);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.3em;
  color: var(--c-black);
  text-align: center;
}

.s-growth-plan .gp-phase b { font-weight: 700; }

/* ---- Timeline ----------------------------------------------------------- */

.s-growth-plan .gp-block {
  position: relative;
  display: grid;
  align-items: center;
  margin-bottom: 70px;
}

.s-growth-plan .gp-tl--left .gp-block {
  grid-template-columns: 7.2% minmax(0, 1fr) 48px 40px 300px;
}

.s-growth-plan .gp-tl--right .gp-block {
  grid-template-columns: 300px 40px 48px minmax(0, 1fr) 7.2%;
}

/* Card, date and node all share row 1 so the row is only as tall as the card
   and the "Day N" label centres against the card's vertical midpoint. */
.s-growth-plan .gp-item,
.s-growth-plan .gp-date,
.s-growth-plan .gp-node { grid-row: 1; }

/* Connector rail: drawn on the block so it spans the full row plus the gap to
   the next row, which keeps the line continuous whatever the card height. */
.s-growth-plan .gp-block::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -70px;
  width: 1px;
  background: var(--c-border);
}

.s-growth-plan .gp-tl--left .gp-block::before { right: 319.5px; }
.s-growth-plan .gp-tl--right .gp-block::before { left: 319.5px; }

.s-growth-plan .gp-block:first-child::before { top: 50%; }
.s-growth-plan .gp-block:last-child::before { bottom: 50%; }

/* `display: contents` lifts the title + date out of the panel so they can sit
   in separate timeline columns on desktop. On tablet/mobile the panel becomes a
   real box again and the date drops inside the card, as measured. */
.s-growth-plan .gp-panel { display: contents; }

.s-growth-plan .gp-item {
  position: relative;
  padding: 25px;
  border-radius: 3px;
  background: var(--c-grey-light);
  font-family: var(--f-body);
  font-size: var(--t-body-15);
  font-weight: 500;
  line-height: 1.5em;
  color: var(--c-text);
}

/* Pointer notch towards the timeline rail */
.s-growth-plan .gp-item::after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -12px;
  border: 12px solid transparent;
}

.s-growth-plan .gp-tl--left .gp-item {
  grid-column: 2;
}
.s-growth-plan .gp-tl--left .gp-item::after {
  left: 100%;
  border-left-color: var(--c-grey-light);
}

.s-growth-plan .gp-tl--right .gp-item {
  grid-column: 4;
}
.s-growth-plan .gp-tl--right .gp-item::after {
  right: 100%;
  border-right-color: var(--c-grey-light);
}

.s-growth-plan .gp-date {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 40px;
  line-height: 40px;
  color: var(--c-text-grey);
}

.s-growth-plan .gp-tl--left .gp-date { grid-column: 5; text-align: left; }
.s-growth-plan .gp-tl--right .gp-date { grid-column: 1; text-align: right; }

/* Node ------------------------------------------------------------------- */

.s-growth-plan .gp-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-grey-light);
  transition: all 0.3s;
}

.s-growth-plan .gp-tl--left .gp-node { grid-column: 4; }
.s-growth-plan .gp-tl--right .gp-node { grid-column: 2; }

.s-growth-plan .gp-node svg {
  width: 14px;
  height: 14px;
  fill: var(--c-grey-cc);
  transition: all 0.3s;
}

/* The circle sits above the rail so the line reads as passing behind it. */
.s-growth-plan .gp-node { z-index: 1; }

/* Measured Premium Addons bullet-list hover */
.s-growth-plan .gp-block:hover .gp-node {
  background: var(--c-black);
  border-color: var(--c-black);
}
.s-growth-plan .gp-block:hover .gp-node svg { fill: var(--c-green-light); }

/* ---- CTA ---------------------------------------------------------------- */

.s-growth-plan .gp-cta-wrap {
  margin-top: -20px;
  text-align: center;
}

.s-growth-plan .gp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 381px;
  height: 60px;
  padding: 15px;
  border-radius: 10px;
  background: var(--c-black);
  transition: all 0.3s var(--ease);
}

.s-growth-plan .gp-cta__inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-white);
}

.s-growth-plan .gp-cta svg {
  width: 20px;
  height: 18px;
  fill: var(--c-white);
  transition: all 0.3s var(--ease);
}

.s-growth-plan .gp-cta:hover { background: var(--c-green); }
.s-growth-plan .gp-cta:hover .gp-cta__inner { color: var(--c-white); }

/* ==========================================================================
   Tablet 768 to 1024 — rail hidden, card full width, date inside the card
   ========================================================================== */

@media (max-width: 1024px) {
  .s-growth-plan .gp-phase { font-size: 20px; }

  .s-growth-plan .gp-block,
  .s-growth-plan .gp-tl--left .gp-block,
  .s-growth-plan .gp-tl--right .gp-block {
    grid-template-columns: minmax(0, 1fr) 40px;
    column-gap: 8px;
    align-items: start;
    margin-bottom: 34px;
  }

  .s-growth-plan .gp-tl--right .gp-block {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .s-growth-plan .gp-panel {
    display: block;
    grid-row: 1;
    grid-column: 1;
    padding: 30px 20px;
    border-radius: 3px;
    background: var(--c-grey-light);
  }

  .s-growth-plan .gp-tl--right .gp-panel { grid-column: 2; }

  .s-growth-plan .gp-item,
  .s-growth-plan .gp-tl--left .gp-item,
  .s-growth-plan .gp-tl--right .gp-item {
    grid-column: auto;
    padding: 0;
    border-radius: 0;
    background: none;
  }

  .s-growth-plan .gp-item::after { display: none; }

  .s-growth-plan .gp-date,
  .s-growth-plan .gp-tl--left .gp-date,
  .s-growth-plan .gp-tl--right .gp-date {
    grid-column: auto;
    grid-row: auto;
    margin-top: 22px;
    font-size: 30px;
    line-height: 44px;
    text-align: left;
  }

  /* Rail follows the node column: node is 40px wide against the block edge. */
  .s-growth-plan .gp-block::before,
  .s-growth-plan .gp-tl--left .gp-block::before { right: 19.5px; left: auto; }
  .s-growth-plan .gp-tl--right .gp-block::before { left: 19.5px; right: auto; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .s-growth-plan .gp-block,
  .s-growth-plan .gp-tl--left .gp-block,
  .s-growth-plan .gp-tl--right .gp-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .s-growth-plan .gp-tl--right .gp-panel { grid-column: 1; }
  .s-growth-plan .gp-node { display: none; }
  .s-growth-plan .gp-block::before { display: none; }

  .s-growth-plan .container { padding-inline: 8px; }
}

/* ==========================================================================
   Mobile <= 767 — node rail stays, card stacks beside it
   ========================================================================== */

@media (max-width: 767px) {
  .s-growth-plan { margin-top: 45px; }

  .s-growth-plan .gp-inner { padding-block: 20px 50px; }

  .s-growth-plan .container { padding-inline: 15px; }

  .s-growth-plan .gp-phase { font-size: 17px; }

  .s-growth-plan .gp-block,
  .s-growth-plan .gp-tl--left .gp-block,
  .s-growth-plan .gp-tl--right .gp-block { margin-bottom: 29px; }

  .s-growth-plan .gp-panel { padding: 16px 18px; }

  .s-growth-plan .gp-tl--right .gp-panel { grid-column: 2; }
  .s-growth-plan .gp-tl--right .gp-node { grid-column: 1; }
  .s-growth-plan .gp-tl--left .gp-node { grid-column: 2; }

  .s-growth-plan .gp-node { grid-row: 1; margin-top: 16px; align-self: start; }

  .s-growth-plan .gp-block::before { bottom: -29px; }
  .s-growth-plan .gp-block:first-child::before { top: 36px; }
  .s-growth-plan .gp-block:last-child::before { bottom: calc(100% - 36px); }

  .s-growth-plan .gp-date,
  .s-growth-plan .gp-tl--left .gp-date,
  .s-growth-plan .gp-tl--right .gp-date {
    margin-top: 12px;
    font-size: 26px;
    line-height: 30px;
  }

  .s-growth-plan .gp-cta { min-width: 0; width: 100%; }
  .s-growth-plan .gp-cta__inner { font-size: 12px; letter-spacing: 1.2px; }
}

/* ==========================================================================
   Desktop >= 1025 — Elementor boxed container runs edge to edge at 1140
   ========================================================================== */

@media (min-width: 1025px) {
  .s-growth-plan .container { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .s-growth-plan .gp-node,
  .s-growth-plan .gp-node svg,
  .s-growth-plan .gp-cta,
  .s-growth-plan .gp-cta svg { transition: none; }
}
