/* Kasvukumppanuus 6/7: kuukausirytmi, sama tiimi -kaista, UKK ja loppukehote */
/* =========================================================
   MONTHLY RHYTHM: mittaa, paranna, raportoi
   ========================================================= */
.rhythm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 860px) { .rhythm { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rhythm { grid-template-columns: 1fr; } }

.rhythm-step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.rhythm-num {
  font-family: var(--mono); font-size: 12px; font-weight: 800;
  letter-spacing: 0.1em; color: var(--orange);
}
.rhythm-step .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(252,181,73,0.18) 0%, rgba(216,35,205,0.13) 100%);
  color: #e64644;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.rhythm-step h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.rhythm-step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
/* yhdistävä nuoli isoilla näytöillä */
.rhythm-step:not(:last-child)::after {
  content: "→";
  position: absolute; top: 50%; right: -14px; transform: translateY(-50%);
  color: var(--orange); font-weight: 800; font-size: 18px; z-index: 2;
}
@media (max-width: 860px) { .rhythm-step::after { display: none; } }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-final {
  background: var(--navy-deeper); color: #fff;
  border-radius: 28px; padding: 64px 48px;
  margin: 80px auto; max-width: 1120px;
  position: relative; overflow: hidden; text-align: center;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 30%, rgba(245, 128, 36, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(233, 30, 133, 0.22), transparent 60%);
  pointer-events: none;
}
.cta-final > * { position: relative; z-index: 2; }
.cta-final h2 {
  font-size: clamp(26px, 3vw, 40px); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.1;
  max-width: 22ch; margin: 0 auto 16px;
}
.cta-final h2 .gr {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-final p { color: rgba(255, 255, 255, 0.72); max-width: 560px; margin: 0 auto 28px; font-size: 16px; }
.cta-final .buttons { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-final .btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 28px -6px rgba(230, 70, 68, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-final .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -6px rgba(230, 70, 68, 0.7); }
.cta-final .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: #fff;
  font-weight: 700; font-size: 15px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.2s;
}
.cta-final .btn-ghost:hover { background: rgba(255,255,255,0.14); }

  .advantage-band {
    position: relative;
    padding: 120px 0;
    color: #fff;
    background:
      radial-gradient(50% 60% at 0% 0%, rgba(252, 181, 73, 0.14) 0%, transparent 60%),
      radial-gradient(60% 70% at 100% 100%, rgba(232, 30, 133, 0.24) 0%, transparent 60%),
      linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy-dark) 55%, #2f2466 100%);
    overflow: hidden;
  }
  .jk-team {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: start;
  }
  .jk-team-intro { position: sticky; top: 120px; }
  .advantage-band .kicker { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.78); }
  .advantage-band .kicker::before { background: var(--orange-soft); }
  .advantage-band .section-title { color: #fff; }
  .advantage-band .section-lead { color: rgba(255, 255, 255, 0.74); }

  .jk-log {
    margin-top: 36px;
    padding: 22px 24px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .jk-log-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
  }
  .jk-log-head span { font-size: 16px; font-weight: 900; }
  .jk-log-head em {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
  }
  .jk-log ol { list-style: none; position: relative; }
  .jk-log ol::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(180deg, var(--orange-soft), var(--magenta));
    opacity: 0.6;
  }
  .jk-log li {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0 12px 24px;
    font-size: 14.5px;
  }
  .jk-log li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .jk-log li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border-radius: 50%;
    background: var(--navy-deeper);
    border: 2px solid var(--pink-soft);
  }
  .jk-log li:first-child::before { background: var(--pink); border-color: #fff; box-shadow: 0 0 0 4px rgba(232, 30, 133, 0.3); }
  .jk-log time { font-weight: 800; color: rgba(255, 255, 255, 0.55); }
  .jk-log span { font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .jk-log b {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(29, 138, 74, 0.22);
    color: #7fe0a6;
    font-size: 11.5px;
    font-weight: 800;
  }

  .adv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .adv-card {
    padding: 28px 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease-out);
  }
  .adv-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 179, 217, 0.45);
    transform: translateY(-4px);
  }
  .adv-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--grad-tilt);
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(232, 30, 133, 0.8);
  }
  .adv-card h3 {
    font-size: 17.5px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
  }
  .adv-card p { font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }

  /* ============================================================
     UKK
     ============================================================ */
  .jk-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
  }
  .jk-faq-intro { position: sticky; top: 120px; }
  .jk-faq-intro .section-title { font-size: clamp(30px, 3vw, 42px); }
  .jk-faq-intro p { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); margin-bottom: 26px; }
  .faq-list { display: flex; flex-direction: column; gap: 14px; }
  .faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .faq-item:hover, .faq-item[open] { border-color: var(--pink-soft); box-shadow: var(--sh-md); }
  .faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--navy-dark);
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pink-50);
    color: var(--pink);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.25s, background 0.25s, color 0.25s;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
  .faq-item summary:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; border-radius: 18px; }
  .faq-item p {
    padding: 0 26px 24px;
    font-size: 15.5px;
    line-height: 1.72;
    color: var(--text-muted);
  }
  .faq-item p a { color: var(--pink); font-weight: 700; }
  .faq-item p a:hover { text-decoration: underline; }
