/* ============================================================
   SECTION — CTA (Sve što Vam treba)
   ============================================================
   Black bg, white text, centered. Hero + sub + button.
   ============================================================ */

.section-cta {
  background: #111111;
  width: 100%;
  margin: 0 auto;
  padding-top: 120px;
  padding-bottom: 120px;
}

/* ── HEADING — centered ── */
.cta__heading {
  margin: 0 0 50px 0;
  font-weight: var(--fw-regular);
  display: block;
  text-align: center;
}

.cta__heading-line {
  display: block;
}

.cta__heading-line .h2-mont {
  font-family: var(--font-mont);
  font-size: var(--fs-h2-mont);
  font-weight: 400;
  line-height: var(--lh-h2-mont);
  letter-spacing: -0.07em;
  color: #ffffff;
}

.cta__heading-line .h2-dutch {
  font-family: var(--font-dutch);
  font-size: var(--fs-h2-dutch);
  font-weight: 400;
  font-style: italic;
  line-height: var(--lh-h2-mont);
  letter-spacing: var(--ls-default);
  color: #ffffff;
}

.cta__heading-line .h2-anchor {
  font-family: var(--font-mont);
  font-size: var(--fs-h2-mont);
  color: transparent;
  user-select: none;
  pointer-events: none;
  width: 0;
  overflow: hidden;
  display: inline-block;
}

/* ── SUB TEXT — centered ── */
.cta__sub {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.96);
  font-weight: var(--fw-regular);
  line-height: var(--lh-p);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  opacity: 1;
  text-align: center;
  margin: 0 auto 50px;
}

/* "Dostupno odmah." — underline on hover only, draws/retracts same as nav */
.cta__dimmed {
  background-image: linear-gradient(#ffffff, #ffffff);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom 2px;
  transition: background-size 0.3s ease;
}

.cta__dimmed:hover {
  background-size: 100% 1px;
}

/* ── BUTTON — centered, white bg, black text, slide animation ── */
.cta__btn-wrap {
  display: flex;
  justify-content: center;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #000000;
  background: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 12px 25px;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  line-height: 1.2;
  text-decoration: none;
}

.cta__btn .btn-track {
  position: relative;
  display: block;
  height: 1.2em;
  overflow: hidden;
}

.cta__btn .btn-track__inner {
  display: block;
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
}

.cta__btn .btn-track__inner > span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
}

.cta__btn:hover .btn-track__inner {
  transform: translateY(-1.2em);
}

/* ── ANIMATIONS ── */
.section-cta.will-animate .cta__heading {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.section-cta.will-animate .cta__sub,
.section-cta.will-animate .cta__btn-wrap {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.section-cta.will-animate .cta__sub      { transition-delay: 0.15s; }
.section-cta.will-animate .cta__btn-wrap { transition-delay: 0.28s; }

.section-cta.anim-visible .cta__heading  { opacity: 1; }
.section-cta.anim-visible .cta__sub      { opacity: 1; transform: translateY(0); }
.section-cta.anim-visible .cta__btn-wrap { opacity: 1; transform: translateY(0); }

/* Force white on shared h2 classes within CTA */
.section-cta .h2-mont,
.section-cta .h2-dutch,
.section-cta .h2-anchor {
  color: #ffffff;
}
