/* ============================================================
   SECTION 4 — SARADNJA (Saradnja s nama je jednostavna)
   ============================================================
   Same spacing/font logic as Section 2 (vjera)
   ============================================================ */


/* ── SECTION WRAPPER ── */
.section-saradnja {
  background: #ffffff;
  width: 100%;
  width: 100%;
  margin: 0 auto;
  padding-top: 90px;
}


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

.saradnja__heading-line {
  display: block;
}

.saradnja__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: #111111;
}

.saradnja__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: #111111;
}

/* Invisible Mont anchor for consistent line height */
.saradnja__heading-line .h2-anchor {
  font-family: var(--font-mont);
  font-size: var(--fs-h2-mont);
  font-weight: 400;
  line-height: var(--lh-h2-mont);
  color: transparent;
  user-select: none;
  pointer-events: none;
  width: 0;
  overflow: hidden;
  display: inline-block;
}


/* ── SUB TEXT — same as section 2 ── */
.saradnja__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: #555555;
  max-width: var(--max-content);
  opacity: 0.9;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 70px;
}


/* ============================================================
   ANIMATIONS — same pattern as sections 2 & 3
   ============================================================ */

.section-saradnja.will-animate .saradnja__heading,
.section-saradnja.will-animate .saradnja__sub {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.section-saradnja.anim-visible .saradnja__heading {
  opacity: 1;
}

.section-saradnja.anim-visible .saradnja__sub {
  opacity: 1;
  transition-delay: 0.12s;
}


/* ══════════════════════════════════════════════════
   STEP BLOCK — "01. Priča" + info text + divider
   ══════════════════════════════════════════════════ */

.saradnja__step {
  text-align: center;
}

/* ── Step heading: Dutch "01." + Mont "Priča" ── */
.saradnja__step-title {
  display: block;
  font-weight: var(--fw-regular);
}

.saradnja__step-title .sh-dutch {
  font-family: var(--font-dutch);
  font-size: 45px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: var(--ls-default);
  color: #111111;
  line-height: 1.05;
}

.saradnja__step-title .sh-mont {
  font-family: var(--font-mont);
  font-size: 41px;
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: #111111;
  line-height: 1.05;
}

/* ── Info text — 40px below title ── */
.saradnja__info {
  margin-top: 40px;
  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: #717171;
  max-width: var(--max-content);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── Divider — 40px below info text ── */
.saradnja__divider {
  display: block;
  width: 1220px;
  height: 2px;
  background: #b4b4b4;
  margin: 40px auto 0;
}


/* ══════════════════════════════════════════════════
   SARADNJA BOXES — same dimensions as section 3
   448px × 290px, gap 14px, centered
   ══════════════════════════════════════════════════ */

.saradnja__boxes {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding-bottom: 50px;
}

.saradnja__box {
  position: relative;
  flex-shrink: 0;
  width: 448px;
  height: 290px;
  border-radius: 12px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #d9d9d9;
}

/* Box 1 — solid d9d9d9 */
.saradnja__box--1 { background: #dfdfdf; }
/* Box 2 — transparent */
.saradnja__box--2 { background: transparent; }
/* Box 3 — transparent */
.saradnja__box--3 { background: transparent; }


/* ── NUMBER BUTTON — top left ── */
.sbox__num {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: #d2d2d2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mont);
  font-size: 13.2px;
  font-weight: var(--fw-medium);
  color: #000000;
  text-decoration: none;
  z-index: 2;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sbox__num:hover {
  background: #111111;
  color: #ffffff;
}


/* ── LABEL — top right, regular weight ── */
.sbox__label {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 30px;
  display: flex;
  align-items: center;
  font-family: var(--font-mont);
  font-size: 14.3px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #111111;
  z-index: 2;
  white-space: nowrap;
}


/* ── BOX BODY — anchored to bottom ── */
.sbox__body {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1;
}

.sbox__header {
  display: block;
  font-family: var(--font-mont);
  font-size: 33.3px;
  font-weight: 500;
  letter-spacing: var(--ls-default);
  color: #111111;
  line-height: 1.05;
}

.sbox__sub {
  margin-top: 20px;
  font-family: var(--font-mont);
  font-size: 13.9px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #555555;
  line-height: 1.4;
}


/* ── BOX 1 CTA — hero solid slide style ── */
.sbox__cta {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: 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;
}

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

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

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

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

/* When CTA is present, shift body above it with same gap as header→sub (20px) */
.saradnja__box--1 .sbox__body {
  bottom: 78px;
}

/* ── BOXES FADE UP ── */
.section-saradnja.will-animate .saradnja__box {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.section-saradnja.anim-visible .saradnja__box--1 { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.section-saradnja.anim-visible .saradnja__box--2 { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.section-saradnja.anim-visible .saradnja__box--3 { opacity: 1; transform: translateY(0); transition-delay: 0.41s; }
