/* === base.css === */
/* ============================================================
   BASE STYLESHEET
   Agency / Studio — Modern & Minimal
   Max viewport: 1920px | Content width: 1420px
   ============================================================ */


/* ------------------------------------------------------------
   FONT IMPORTS
   ------------------------------------------------------------ */

/* Montserrat — Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* Dutch801 — place all files in /fonts/ */
@font-face {
  font-family: 'Dutch801';
  src: url('/fonts/dutch801bt_roman.woff2') format('woff2'),
       url('/fonts/dutch801bt_roman.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dutch801';
  src: url('/fonts/dutch801bt_italic.woff2') format('woff2'),
       url('/fonts/dutch801bt_italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Dutch801';
  src: url('/fonts/dutch801bt_bold.woff2') format('woff2'),
       url('/fonts/dutch801bt_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dutch801';
  src: url('/fonts/dutch801bt_bolditalic.woff2') format('woff2'),
       url('/fonts/dutch801bt_bolditalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}


/* ------------------------------------------------------------
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ------------------------------------------------------------ */

:root {

  /* --- Fonts --- */
  --font-mont:   'Montserrat', sans-serif;
  --font-dutch:  'Dutch801', Georgia, serif;   /* fallback to serif if font missing */

  /* --- Font sizes (Photoshop 300dpi → CSS px, formula: pt × 4.1667) --- */
  --fs-h1-mont:   68px;
  --fs-h1-dutch:  75px;

  --fs-h2-mont:   52px;
  --fs-h2-dutch:  58px;

  --fs-p:         18px;

  --fs-nav:       14px;   /* nav links, brand name, button */

  /* --- Line heights (unitless ratio) --- */
  --lh-h1-mont:   1.011;   /* 19.41 / 19.2  */
  --lh-h1-dutch:  1;       /* no explicit LH given — matches cap height */
  --lh-h2-mont:   1.084;   /* 16.93 / 15.62 */
  --lh-p:         1.556;   /* 6.72  / 4.32  */

  /* --- Letter spacing (VA -50 → -50/1000 em = -0.05em) --- */
  --ls-default:   -0.05em;

  /* --- Font weights --- */
  --fw-regular:   400;
  --fw-medium:    500;
  --fw-semibold:  600;

  /* --- Layout --- */
  --max-viewport:    1920px;
  --max-content:     1420px;
  --gutter:          40px;    /* side padding inside content container */

  /* --- Colors (placeholders — defined per section) --- */
  --color-bg:        #ffffff;
  --color-text:      #0d0d0d;
  --color-accent:    #0d0d0d;   /* update per section */

  /* --- Spacing base unit (8px grid) --- */
  --space-1:   8px;
  --space-2:   16px;
  --space-3:   24px;
  --space-4:   32px;
  --space-5:   40px;
  --space-6:   48px;
  --space-8:   64px;
  --space-10:  80px;
  --space-12:  96px;
  --space-16:  128px;
  --space-20:  160px;
  --space-24:  192px;

}


/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mont);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  background-color: var(--color-bg);
  width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}


/* ------------------------------------------------------------
   LAYOUT — CONTAINER
   Wraps content inside the 1420px column.
   Use .container on any inner wrapper.
   Use .full-bleed on sections that need to escape to 1920px.
   ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--max-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Full-bleed: stretches edge-to-edge within the 1920px body */
.full-bleed {
  width: 100%;
  max-width: var(--max-viewport);
}


/* ------------------------------------------------------------
   TYPOGRAPHY — BASE STYLES
   ------------------------------------------------------------ */

/* H1 — Hero heading (Mont + Dutch combo) */
.h1,
h1 {
  display: block;
}

.h1-mont {
  font-family: var(--font-mont);
  font-size: var(--fs-h1-mont);
  font-weight: var(--fw-regular);
  line-height: var(--lh-h1-mont);
  letter-spacing: var(--ls-default);
}

.h1-dutch {
  font-family: var(--font-dutch);
  font-size: var(--fs-h1-dutch);
  font-style: italic;
  line-height: var(--lh-h1-dutch);
  letter-spacing: var(--ls-default);
}

/* H2 — Section heading (Mont + Dutch combo) */
.h2,
h2 {
  display: block;
}

.h2-mont {
  font-family: var(--font-mont);
  font-size: var(--fs-h2-mont);
  font-weight: var(--fw-regular);
  line-height: var(--lh-h2-mont);
  letter-spacing: var(--ls-default);
}

.h2-dutch {
  font-family: var(--font-dutch);
  font-size: var(--fs-h2-dutch);
  font-style: italic;
  letter-spacing: var(--ls-default);
}

/* p / sub — Body / caption text */
.sub,
p {
  font-family: var(--font-mont);
  font-size: var(--fs-p);
  font-weight: var(--fw-medium);
  line-height: var(--lh-p);
  letter-spacing: var(--ls-default);
}


/* ------------------------------------------------------------
   UTILITY CLASSES
   ------------------------------------------------------------ */

.text-upper  { text-transform: uppercase; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.italic      { font-style: italic; }
.medium      { font-weight: var(--fw-medium); }

/* Visually hide but keep accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* === css/nav.css === */
/* ============================================================
   NAVIGATION
   ============================================================ */

:root {
  --nav-bg:       transparent;
  --nav-text:     #ffffff;
  --nav-btn-bg:   #ffffff;
  --nav-btn-text: #000000;
}

.site-header {
  width: 100%;
  max-width: var(--max-viewport);
  margin: 0 auto;
  padding-top: 30px;
  background-color: var(--nav-bg);
}

.nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── LEFT ── */
.nav__left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__logo {
  display: block;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.nav__logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav__brand {
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  color: var(--nav-text);
  white-space: nowrap;
}

/* ── RIGHT ── */
.nav__right {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav__burger {
  display: none;
}

.nav__mobile {
  display: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ── NAV LINKS ──
   display: inline-flex so dropdown icon sits inline with text.
   Underline ::after spans full width including icon.
   Enter: origin left  → draws left→right
   Exit:  origin right → disappears left→right
*/
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: var(--nav-text);
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: var(--nav-text);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Dropdown icon — white, 10×6px, vertically centred */
.dropdown-icon {
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 6px;
  filter: brightness(0) invert(1);
}

/* ── NAV CTA BUTTON — vertical text slide (same as hero solid) ──
   Two identical labels stacked. On hover, track slides up:
   first label exits top, second slides in from bottom.
   Button width never changes — nav stays put.
*/
.nav__cta {
  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;
}

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

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

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

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

/* ─────────────────────────────────────────────
   NAV CTA VARIANTS
   Usage: add to <nav class="nav container nav--lavender">

   Type 1 — nav--white   (default, no class needed)
   Type 2 — nav--lavender
   Type 3 — nav--transparent
   ───────────────────────────────────────────── */

/* Type 2 — Lavender */
.nav--lavender .nav__cta {
  background: #d9ceea;
  color: #111111;
}
.nav--lavender .nav__cta:hover {
  background: #cfc2e2;
}

/* Type 3 — Transparent / ghost */
.nav--transparent .nav__cta {
  background: rgba(255,255,255,0.08);
  color: #111111;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav--transparent .nav__cta:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
}






/* ══════════════════════════════════════════════════
   DROPDOWN MENU — Devolfs-inspired
   ══════════════════════════════════════════════════ */

.nav__dropdown-wrap {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: none;
  z-index: 1000;
  margin-top: -6px;
  padding: 10px;
  background-clip: padding-box;
}

.nav__dropdown-wrap:hover .nav__dropdown,
.nav__dropdown-wrap.is-open .nav__dropdown {
  display: flex;
}

/* Invisible bridge — fills the gap between nav link and dropdown so
   hover isn't lost as the mouse moves down */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.nav__dropdown-inner {
  display: flex;
  width: 100%;
}

/* Left promo panel */
.nav__dd-promo {
  width: 220px;
  flex-shrink: 0;
  background: #111111;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__dd-promo-badge {
  display: inline-block;
  font-family: var(--font-mont);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: #111111;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 5px 12px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  white-space: nowrap;
}

.nav__dd-promo-title {
  font-family: var(--font-mont);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.nav__dd-promo-title em {
  font-family: var(--font-dutch);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
}

.nav__dd-promo-desc {
  font-family: var(--font-mont);
  font-size: 11.5px;
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0 0 24px 0;
  flex: 1;
}

.nav__dd-promo-btn {
  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: #111111;
  background: #d9ceea;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  text-decoration: none;
  overflow: hidden;
  line-height: 1.2;
  cursor: pointer;
  width: 100%;
  overflow: hidden;
}

.nav__dd-promo-btn .btn-track { position: relative; display: block; height: 1.2em; overflow: hidden; width: 100%; text-align: center; }
.nav__dd-promo-btn .btn-track__inner { display: block; transition: transform 0.4s cubic-bezier(0.7,0,0.2,1); }
.nav__dd-promo-btn .btn-track__inner > span { display: block; height: 1.2em; line-height: 1.2; }
.nav__dd-promo-btn:hover .btn-track__inner { transform: translateY(-1.2em); }

/* Right service grid */
.nav__dd-services {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Category header row */
.nav__dd-cat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 12px;
}

.nav__dd-cat-label {
  font-family: var(--font-mont);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.015em;
  text-transform: none;
  color: #111111;
  min-height: 76px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr;
  justify-content: stretch;
  align-items: start;
  gap: 12px;
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  background: #f5f5f5;
  text-decoration: none;
  transition: border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.nav__dd-cat-label:hover {
  background: #181818;
  border-color: #181818;
  color: #ffffff;
}

.nav__dd-cat-label:hover .nav__dd-cat-title,
.nav__dd-cat-label:hover .nav__dd-cat-sub {
  color: #ffffff;
}

.nav__dd-cat-label:hover .nav__dd-cat-media {
  background: #181818;
}

.nav__dd-cat-label:hover .nav__dd-cat-inline-arrow {
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.nav__dd-cat-label svg {
  display: none;
}

.nav__dd-cat-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: flex-start;
  min-width: 0;
}

.nav__dd-cat-media {
  width: 38px;
  height: 38px;
  min-height: 0;
  border-radius: 8px;
  background: #181818;
  transition: background 0.24s ease;
  overflow: hidden;
  display: block;
  grid-column: 1;
  grid-row: 1;
}

.nav__dd-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav__dd-cat-copy {
  grid-column: 1 / -1;
  grid-row: 2;
}

.nav__dd-cat-title {
  font-family: var(--font-mont);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: #111111;
  transition: color 0.24s ease;
  letter-spacing: var(--ls-default);
  line-height: 1.15;
}

.nav__dd-cat-sub {
  font-family: var(--font-mont);
  font-size: 10.5px;
  font-weight: var(--fw-regular);
  color: #777777;
  transition: color 0.24s ease;
  letter-spacing: 0;
  line-height: 1.35;
  position: relative;
  width: fit-content;
}

.nav__dd-cat-inline-arrow {
  display: inline-block;
  width: 8px;
  height: 5px;
  opacity: 0.58;
  filter: brightness(0);
  transition: filter 0.24s ease, opacity 0.24s ease;
  transform: rotate(-90deg);
  margin-left: 4px;
  vertical-align: 1px;
}

/* Service items grid */
.nav__dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.nav__dd-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 10px 8px;
  border: 1px solid #e4e4e4;
  background: transparent;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s ease;
  align-items: center;
}

.nav__dd-item:hover { background: #f5f5f5; }

.nav__dd-item-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__dd-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  grid-row: 1;
}

.nav__dd-item-icon svg { display: none; }

.nav__dd-item-icon svg {
  width: 13px;
  height: 13px;
  stroke: #695887;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav__dd-item-weeks {
  display: none;
}

.nav__dd-item-title {
  font-family: var(--font-mont);
  font-size: 12.5px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  color: #111111;
}

.nav__dd-item-desc {
  font-family: var(--font-mont);
  font-size: 10.5px;
  font-weight: var(--fw-regular);
  color: #888888;
  line-height: 1.4;
  margin: 0;
}

/* ── Dropdown trigger — no underline, arrow rotates on hover ── */
.nav__dropdown-wrap > .nav__link::after {
  display: none;
}

.nav__dropdown-wrap > .nav__link .dropdown-icon {
  transition: transform 0.3s ease;
}

.nav__dropdown-wrap.is-open > .nav__link .dropdown-icon {
  transform: rotate(90deg);
}

/* ── Dropdown adjustments ── */
.nav__dropdown {
  top: calc(100% + 28px);
}

.nav__dd-item-icon {
  width: 44px;
  height: 60px;
}

.nav__dd-services {
  
}

.nav__dd-promo {
  
}

/* ── Larger hover bridge + more height ── */
.nav__dropdown {
  top: calc(100% + 28px);
  margin-top: -14px;
  padding-top: 14px;
}



.nav__dropdown { width: 820px; }


.nav__dropdown { width: 860px; }
.nav__dd-promo { width: 260px; }

/* ── Promo panel updates ── */
.nav__dd-promo {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav__dd-promo-top { flex: 1; }

.nav__dd-promo-stars {
  font-size: 14px;
  color: #f5c842;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 6px;
}

.nav__dd-promo-rec {
  font-family: var(--font-mont);
  font-size: 11px;
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.nav__dd-promo-title {
  font-size: calc(22px * 1.1);
}

.nav__dd-promo-title em {
  font-size: calc(24px * 1.1);
}

.nav__dd-promo-desc {
  font-size: calc(11.5px * 1.1);
}

.nav__dd-promo-btn {
  margin-top: auto;
  flex-shrink: 0;
}

/* ── Stars badge — restored ── */
.nav__dd-promo-badge {
  display: inline-block;
  font-size: 13px;
  color: #f5c842;
  letter-spacing: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 10px;
}

/* ── Pin button to bottom ── */
.nav__dd-promo {
  display: flex;
  flex-direction: column;
}

.nav__dd-promo-top {
  flex: 1;
}

.nav__dd-promo-btn {
  margin-top: auto;
  width: 100%;
}

/* ── Category labels are secondary focal points ── */
.nav__dd-cat-label { font-size: 13px; }

/* ── Icon placeholder larger ── */
.nav__dd-item-icon { width: 64px; height: 80px; }

/* ── Fix icon/text overlap — align grid columns ── */
.nav__dd-item {
  grid-template-columns: 72px 1fr;
  align-items: stretch;
  gap: 12px;
}

.nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) .nav__dd-item-icon {
  height: 100%;
  min-height: 0;
}

.nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) .nav__dd-item-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* ── Pin button to bottom — fix promo height ── */
.nav__dd-promo-top {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nav__dd-promo {
  min-height: 100%;
  justify-content: space-between;
}

.nav__dd-promo-btn {
  flex-shrink: 0;
  margin-top: 0;
}

.nav__dropdown-inner {
  align-items: stretch;
}

/* ── Bigger gap inside service items ── */
.nav__dd-item-top {
  gap: 5px;
}

.nav__dd-item {
  padding: 14px 10px;
}

.nav__dd-grid {
  gap: 4px 0;
}

.nav__dd-item { gap: 6px; }

/* ── Tighter item gaps, fill promo height ── */
.nav__dd-item { padding: 6px 8px; }
.nav__dd-item--nopb { padding-bottom: 0; }

.nav__dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-content: stretch;
}

.nav__dd-services {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.nav__dd-services:not(.nav__dd-services--full) .nav__dd-grid {
  grid-template-rows: repeat(3, minmax(76px, auto));
}

.nav__dd-services:not(.nav__dd-services--full) .nav__dd-item {
  min-height: 76px;
}

.nav__dropdown-inner { align-items: stretch; }

/* ── Remove blank space, match heights ── */
.nav__dd-promo {
  padding: 16px !important;
  padding-bottom: 16px !important;
  height: auto;
  flex-shrink: 0;
}

.nav__dd-services {
  padding: 0 0 12px 12px !important;
}

.nav__dd-services:not(.nav__dd-services--full) {
  padding-bottom: 0 !important;
}

.nav__dropdown-inner {
  align-items: stretch;
}

/* ── Move dropdown 20px lower ── */
.nav__dropdown { top: calc(100% + 48px); }

/* ── Black box 40px wider ── */
.nav__dd-promo { width: 300px; }
.nav__dropdown { width: 900px; }

.nav__dropdown-wrap:not(:has(.nav__dropdown--compact)) .nav__dropdown {
  left: auto;
  right: -470px;
  transform: none;
}

/* ── Badge fit-content ── */
.nav__dd-promo-badge {
  display: inline-block;
  width: fit-content;
  align-self: flex-start;
}

/* ── Title +10% ── */
.nav__dd-promo-title { font-size: calc(22px * 1.1 * 1.1); }
.nav__dd-promo-title em { font-size: calc(24px * 1.1 * 1.1); }

/* ── Last row solid bg items ── */
.nav__dd-item--solid-left {
  background: #eeeeee;
  border-radius: 8px;
}

.nav__dd-item--solid-right {
  background: #dddddd;
  border-radius: 8px;
}

.nav__dd-item--solid-left:hover { background: #e4e4e4; }
.nav__dd-item--solid-right:hover { background: #d0d0d0; }

.nav__dd-item--solid-left .nav__dd-item-title,
.nav__dd-item--solid-right .nav__dd-item-title {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: #333333;
}

/* ── 4th item solid full-width image block ── */
.nav__dd-item--solid-left,
.nav__dd-item--solid-right {
  background: transparent;
  border-radius: 0;
}

.nav__dd-item--solid-left:hover,
.nav__dd-item--solid-right:hover { background: transparent; }

.nav__dd-item-icon--full {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  background: #f5f5f5;
  flex-shrink: 0;
}

.nav__dd-item-icon--darker {
  background: #f5f5f5;
}

/* Keep full-width icon in same grid but span vertically */
.nav__dd-item--solid-left,
.nav__dd-item--solid-right {
  grid-template-columns: 1fr;
  align-items: start;
}

/* ── CTA label inside solid box ── */
.nav__dd-item-icon--full {
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  box-sizing: border-box;
}

.nav__dd-cta-label {
  font-family: var(--font-mont);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: #111111;
  letter-spacing: var(--ls-default);
  line-height: 1.3;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__dd-cta-arrow {
  display: inline-block;
  width: 10px;
  height: 6px;
  filter: brightness(0);
  transform: rotate(-90deg);
}

.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  grid-template-columns: 1fr;
  padding: 0;
}

/* ── CTA box — text top-left, no gap below ── */
.nav__dd-item-icon--full {
  align-items: flex-start;
  padding: 10px 12px;
}

.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  padding: 0;
  margin-bottom: 0;
}

.nav__dd-grid {
  padding-bottom: 0;
}

/* Remove any gap after last row */
.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  align-self: stretch;
}

.nav__dd-item-icon--full {
  height: 100%;
  min-height: 40px;
}

.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  min-height: 40px;
}

/* ── Kompanija dropdown — compact, no promo panel ── */
.nav__dropdown--compact {
  width: 280px;
  left: 0;
  right: auto;
  transform: none;
}

.nav__dd-services--full {
  width: 100%;
  padding: 4px !important;
}

.nav__dd-grid--1col {
  grid-template-columns: 1fr;
  gap: 12px;
}

.nav__dd-item-icon--sm {
  width: 44px;
  height: 44px;
}

/* ── Kompanija items — tight gap, vertically centered ── */
.nav__dd-grid--1col .nav__dd-item {
  grid-template-columns: 48px 1fr;
  gap: 8px;
  align-items: center;
}

.nav__dropdown--compact .nav__dd-item {
  border-color: transparent;
}

.nav__dropdown--compact .nav__dd-item-icon {
  background: #f5f5f5;
}

.nav__dropdown--compact { width: 220px; }
.nav__dd-grid--1col .nav__dd-item-title { font-size: 14px; }

/* ── Fix CTA items — no left gap, vertically centered text ── */
.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  grid-template-columns: 1fr;
  padding: 0;
  background: transparent;
  border-radius: 8px;
  border-color: transparent;
}

.nav__dd-item--cta-left .nav__dd-item-icon--full,
.nav__dd-item--cta-right .nav__dd-item-icon--full {
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  background: transparent;
}

.nav__dd-item--cta-left,
.nav__dd-item--cta-right {
  align-items: stretch;
}

.nav__dd-item--cta-left .nav__dd-cta-label,
.nav__dd-item--cta-right .nav__dd-cta-label {
  position: relative;
}

.nav__dd-item--cta-left .nav__dd-cta-label::after,
.nav__dd-item--cta-right .nav__dd-cta-label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav__dd-item--cta-left:hover .nav__dd-cta-label::after,
.nav__dd-item--cta-right:hover .nav__dd-cta-label::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Temporary dropdown item structure: image flush, text padded */
.nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  overflow: hidden;
  align-items: start;
}

.nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) .nav__dd-item-icon {
  width: 38px;
  height: 38px;
  min-height: 0;
  border-radius: 8px;
}

.nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) .nav__dd-item-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  border-radius: 8px !important;
  display: block;
}

.nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) .nav__dd-item-top {
  padding: 0;
  box-sizing: border-box;
  justify-content: flex-start;
}

.nav__dd-grid--1col .nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) {
  grid-template-columns: 48px 1fr;
}

.nav__dd-grid--1col .nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) .nav__dd-item-icon {
  width: 48px;
}

/* Kompanija dropdown keeps compact row layout */
.nav__dropdown--compact .nav__dd-services--full {
  padding: 2px !important;
}

.nav__dropdown--compact .nav__dd-grid--1col {
  gap: 6px;
}

.nav__dropdown--compact .nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) {
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 4px;
  align-items: center;
  min-height: 56px;
  overflow: visible;
}

.nav__dropdown--compact .nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) .nav__dd-item-icon {
  width: 38px;
  height: 38px;
  align-self: center;
}

.nav__dropdown--compact .nav__dd-item:not(.nav__dd-item--cta-left):not(.nav__dd-item--cta-right) .nav__dd-item-top {
  justify-content: center;
  align-self: center;
}

.nav__dropdown--compact .nav__dd-item-title {
  line-height: 1.2;
}


/* === css/hero.css === */
/* ============================================================
   HERO SECTION
   ============================================================ */

:root {
  --hero-text:           #ffffff;
  --hero-btn-solid-bg:   #ffffff;
  --hero-btn-solid-text: #000000;
}

/* ── WRAPPER ── */
.hero {
  position: relative;
  width: 100%;
  width: 100%;
  height: 950px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #111111;
  background-image: url('/images/hero-bg.png');
  background-image: image-set(
    url('/images/hero-bg.webp') type('image/webp'),
    url('/images/hero-bg.png') type('image/png')
  );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .hero {
    background-image: url('/images/hero-bg-mobile.png');
    background-image: image-set(
      url('/images/hero-bg-mobile.webp') type('image/webp'),
      url('/images/hero-bg-mobile.png') type('image/png')
    );
  }
}

/* ── NAV floats over hero ── */
.hero .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* ── CONTENT AREA — 290px from top, aligned to left edge of 1420px ── */
.hero__content {
  position: absolute;
  top: 290px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: var(--max-content);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ── BH1 ── */
.bh1 {
  font-family: var(--font-mont);
  font-size: calc(18.45px * 0.94);
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--hero-text);
  margin: 0;
  padding: 0;
  text-align: center;
}

/* ── HERO HEADING — 40px below bh1 ── */
.hero__heading {
  margin: 40px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: var(--fw-regular);
  text-align: center;
}

.hero__heading-line {
  display: block;
  line-height: 1.05;
}

.hero__heading-line .h1-mont {
  font-family: var(--font-mont);
  font-size: var(--fs-h1-mont);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: var(--hero-text);
  vertical-align: baseline;
}

.hero__heading-line .h1-dutch {
  font-family: var(--font-dutch);
  font-size: var(--fs-h1-dutch);
  font-weight: 400;
  font-style: italic;
  letter-spacing: var(--ls-default);
  color: var(--hero-text);
  vertical-align: baseline;
}

/* ── PARAGRAPH — 40px below heading ── */
.hero__sub {
  margin: 40px 0 0 0;
  font-family: var(--font-mont);
  font-size: var(--fs-p);
  font-weight: var(--fw-regular);
  line-height: var(--lh-p);
  letter-spacing: var(--ls-default);
  color: var(--hero-text);
  text-align: center;
}

/* ── BUTTONS — 65px below paragraph ── */
.hero__buttons {
  margin-top: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}


/* ══════════════════════════════════════════════════
   SOLID BUTTON — "Besplatne konsultacije"
   Devolfs "Book a free call" style:
   On hover, text slides UP and an identical copy
   slides in from the bottom. Pure visual swap, no
   width change, no extra elements outside button.
   ══════════════════════════════════════════════════ */

.hero__btn--solid {
  position: relative;
  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 track — viewport showing only one label at a time.
   The track is exactly 1em tall (one line). Inside it, two
   identical labels are stacked. On hover, the track translates
   up by 1em so the second label lands where the first was.
*/
.hero__btn--solid .btn-track {
  position: relative;
  display: block;
  height: 1.2em;
  overflow: hidden;
}

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

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

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


/* ══════════════════════════════════════════════════
   GHOST BUTTON — "Pogledaj usluge"
   Plain white text, no background, no border.
   Hover: underline draws left→right, same as nav links.
   ══════════════════════════════════════════════════ */

.hero__btn--ghost {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background: none;
  border: none;
  white-space: nowrap;
  cursor: pointer;
}

.ghost-text {
  position: relative;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #ffffff;
}

.ghost-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.hero__btn--ghost:hover .ghost-text::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ── HERO FADE IN — hero text fades in (no movement) ── */
.bh1,
.hero__heading,
.hero__sub,
.hero__buttons {
  opacity: 0;
  animation: heroFadeIn 1.2s ease-out forwards;
}

.hero__heading { animation-delay: 0.10s; }
.hero__sub     { animation-delay: 0.25s; }
.hero__buttons { animation-delay: 0.40s; }

@keyframes heroFadeIn {
  to { opacity: 1; }
}

/* Utility keyframe — kept for non-hero load animations (e.g. sub-sections) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* === css/vjera.css === */
/* ============================================================
   SECTION — VJERA (Kompanije nam vjeruju)
   ============================================================
   bg: #f6f6f6
   padding-top: 130px, bottom: TBD
   cards: 250×250px, radius 20px, fan layout full-width
   ============================================================ */

:root {
  --vjera-bg: #ffffff;

  /* Card colors */
  --card-1: #7d7170;
  --card-2: #f59220;
  --card-3: #cc35cc;
  --card-4: #1b8f8f;
  --card-5: #2d8030;
  --card-6: #2b4cc8;
  --card-7: #d42020;

  /* Card dimensions */
  --card-w: 250px;
  --card-h: 250px;
  --card-radius: 20px;
}


/* ── SECTION WRAPPER ── */
.section-vjera {
  background: var(--vjera-bg);
  padding-top: 90px;
  padding-bottom: 120px;
  position: relative;
  width: 100%;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}


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

.vjera__heading .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;
}

.vjera__heading .h2-dutch {
  font-family: var(--font-dutch);
  font-size: var(--fs-h2-dutch);
  font-weight: 400;
  font-style: italic;
  letter-spacing: var(--ls-default);
  color: #111111;
}


/* ── PARAGRAPH ── */
.vjera__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;
}


/* ── CARDS CONTAINER ──
   Own 1420px centering — no gutter — so left:0 = left edge of 1420px.
   Height calculated from rotated card bottoms + bubble room.
*/
.vjera__cards {
  position: relative;
  width: 100%;
  max-width: var(--max-content);
  margin: 70px auto 0;
  height: 474px;
}

/* ── CARD SLOT ── */
.card-slot {
  position: absolute;
  width: var(--card-w);
  height: var(--card-h);
}

/* Precise positions — left = visual post-rotation left edge within 1420px
                       top  = calculated so bottom points match spec         */
.card-slot--1 { left: 60px;   top: 124px; z-index: 1; }
.card-slot--2 { left: 234px;  top: 90px;  z-index: 2; }
.card-slot--3 { left: 408px;  top: 115px; z-index: 3; }
.card-slot--4 { left: 583px;  top: 70px;  z-index: 4; }
.card-slot--5 { left: 757px;  top: 107px; z-index: 5; }
.card-slot--6 { left: 931px;  top: 128px; z-index: 6; }
.card-slot--7 { left: 1105px; top: 118px; z-index: 7; }


/* ── CARD ── */
.card {
  display: block;
  position: relative;
  width: var(--card-w);
  height: var(--card-h);
  border-radius: 20px;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.card-slot--1 .card { background: var(--card-1); transform: rotate(-5.48deg); }
.card-slot--2 .card { background: var(--card-2); transform: rotate(-2.44deg); }
.card-slot--3 .card { background: var(--card-3); transform: rotate(-1deg);   }
.card-slot--4 .card { background: var(--card-4); transform: rotate(2.1deg);  }
.card-slot--5 .card { background: var(--card-5); transform: rotate(0deg);    }
.card-slot--6 .card { background: var(--card-6); transform: rotate(3deg);    }
.card-slot--7 .card { background: var(--card-7); transform: rotate(8.7deg);  }


/* ── CARD CORNER BUTTON — mobile only ── */
.card__corner-btn { display: none; }

/* ── CARD IMAGE ──
   Covers full card. Rotation matches card via parent.
*/
.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── SPEECH BUBBLE ──
   Upright (not rotated). Positioned relative to .card-slot.
   Black pill with white text and a triangle tail.
*/
.card__bubble {
  position: absolute;
  background: #111111;
  color: #ffffff;
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.81); /* -10% of previous -10% */
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  padding: 10px 16px;   /* +3px top/bottom */
  border-radius: 15px;
  white-space: nowrap;
  line-height: 1;
  z-index: 10;
}

.card__bubble::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
}

/* ── BUBBLE TOP (notch points down toward card) ── */
.card__bubble--top {
  bottom: calc(100% + 32px);
  left: 50%;
  transform: translateX(-50%);
}

.card__bubble--top::after {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Rounded notch via box-shadow trick */
  width: 10px;
  height: 8px;
  background: #111111;
  border-radius: 0 0 5px 5px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ── BUBBLE BOTTOM (notch points up toward card) ── */
.card__bubble--bottom {
  top: calc(100% + 32px);
  left: 50%;
  transform: translateX(-50%);
}

.card__bubble--bottom::after {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 8px;
  background: #111111;
  border-radius: 5px 5px 0 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* ── BUBBLE OVERRIDES ── */
.card__bubble {
  font-size: calc(var(--fs-p) * 0.77);
  padding: 9px 15px;
  border-radius: 10px;
  border: none;
}

.card__bubble--top    { bottom: calc(100% + 28px); }
.card__bubble--bottom { top:    calc(100% + 28px); }

/* Notch — rounded square rotated 45° */
.card__bubble--top::after,
.card__bubble--bottom::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  background: #111111;
  border-radius: 3px;
  left: 50%;
  clip-path: none;
}

.card__bubble--top::after {
  top: auto;
  bottom: -5.5px;
  transform: translateX(-50%) rotate(45deg);
}

.card__bubble--bottom::after {
  bottom: auto;
  top: -5.5px;
  transform: translateX(-50%) rotate(45deg);
}


/* ============================================================
   SECTION 2 ANIMATIONS
   Heading + sub: fade in (fast)
   Cards: fade up (slower, staggered)
   Triggered by JS adding .anim-visible to .section-vjera
   ============================================================ */

/* Initial hidden states */
.section-vjera.will-animate .vjera__heading,
.section-vjera.will-animate .vjera__sub {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.card-slot {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

/* Triggered states */
.section-vjera.anim-visible .vjera__heading {
  opacity: 1;
}

.section-vjera.anim-visible .vjera__sub {
  opacity: 1;
  transition-delay: 0.12s;
}

/* Cards stagger left → right */
.section-vjera.anim-visible .card-slot--1 { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.section-vjera.anim-visible .card-slot--2 { opacity: 1; transform: translateY(0); transition-delay: 0.22s; }
.section-vjera.anim-visible .card-slot--3 { opacity: 1; transform: translateY(0); transition-delay: 0.29s; }
.section-vjera.anim-visible .card-slot--4 { opacity: 1; transform: translateY(0); transition-delay: 0.36s; }
.section-vjera.anim-visible .card-slot--5 { opacity: 1; transform: translateY(0); transition-delay: 0.43s; }
.section-vjera.anim-visible .card-slot--6 { opacity: 1; transform: translateY(0); transition-delay: 0.50s; }
.section-vjera.anim-visible .card-slot--7 { opacity: 1; transform: translateY(0); transition-delay: 0.57s; }


/* ── CARD HOVER OVERLAY + ARROW ── */

/* Dark overlay */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  border-radius: 20px;
}

/* Centered 40×40 white box with ↗ arrow */
.card::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

/* ── TESTING: centre heading and sub ── */
.vjera__heading {
  text-align: center;
}

.vjera__sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* === css/zadatak.css === */
/* ============================================================
   SECTION 3 — ZADATAK (Mijenjamo čitav odjel)
   ============================================================ */

/* ── SECTION WRAPPER ── */
.section-zadatak {
  background: #f6f6f6;
  height: auto;
  padding-bottom: 140px;
  margin: 0 auto;
  padding-top: 80px;
  overflow: hidden;
}

/* ── TAG BUTTON ── */
.zadatak__tag {
  display: block;
  width: fit-content;
  margin: 0 auto 30px;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  background: #111111;
  border: none;
  border-radius: 5px;
  padding: 12px 25px;
  white-space: nowrap;
  cursor: default;
  line-height: 1;
}

/* ── MAIN HEADING ── */
.zadatak__heading {
  margin: 30px 0 0 0;
  padding: 0;
  font-weight: var(--fw-regular);
}

.zadatak__heading-line {
  display: block;
}

.zadatak__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;
}

.zadatak__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;
}

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

/* ── SUB TEXT (section level) ── */
.zadatak__sub {
  margin: 50px 0 0 0;
  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;
}

/* ══════════════════════════════════════════════════════
   THREE BOXES
   ══════════════════════════════════════════════════════ */

.zadatak__boxes {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  margin-top: 70px;
  width: 100%;
}

.zadatak__box {
  position: relative;
  flex-shrink: 0;
  width: 448px;
  height: 290px;
  border-radius: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.zadatak__box--1 { background: #565758; margin-top: 0; }
.zadatak__box--2 { background: #79659b; margin-top: 0; }
.zadatak__box--3 { background: #a48a44; margin-top: 0; }

/* ── CORNER BUTTON — stays top right always ── */
.box__corner-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.box__corner-btn svg {
  width: 15.1px;
  height: 15.1px;
  transition: stroke 0.3s ease;
}

.box__corner-btn:hover {
  background: #111111;
}

.box__corner-btn:hover svg {
  stroke: #ffffff;
}

/* ── BOX BODY — anchored to bottom, slides up on hover ── */
.box__body {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Hover translate set per-box by JS via --slide variable */
.zadatak__box:hover .box__body {
  transform: translateY(var(--slide, -65px));
}

/* ── BOX SUB TEXT — absolute, takes zero flow space in box__body ── */
.box__sub {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  font-family: var(--font-mont);
  font-size: 13.9px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(12px);
  z-index: 2;
  transition: opacity 0.35s ease 0.05s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.zadatak__box:hover .box__sub {
  opacity: 1;
  transform: translateY(0);
} */
.box__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.1;
}

/* ── BOX HEADER — Mont only ── */
.box__header {
  display: block;
  font-family: var(--font-mont);
  font-size: 33.3px;
  font-weight: 500;
  letter-spacing: var(--ls-default);
  color: #ffffff;
  line-height: 1.05;
}

/* ── SMALL TAGS — 26px gap from header ── */
/* Combined 10% smaller overall + top/bottom 10% smaller:
   font: 12 × 0.9 = 10.8px
   padding: top/bottom 10 × 0.9 × 0.9 = 8.1≈8px, sides 11 × 0.9 = 9.9≈10px
   bg: 0.16 × 0.8 = 0.128 ≈ 0.13 (20% more transparent)
*/
.box__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.box__tag {
  display: inline-block;
  font-family: var(--font-mont);
  font-size: 10.8px;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  padding: 8px 10px;
  border-radius: 999px;
  line-height: 1.4;
  transition: background-color 0.25s ease;
}

.box__tag:hover {
  background: rgba(255, 255, 255, 0.23);
}



/* ============================================================
   SECTION 3 ANIMATIONS
   Text: fade in (fast)
   Boxes: fade up (slower, staggered)
   Triggered by JS adding .anim-visible to .section-zadatak
   ============================================================ */

.section-zadatak.will-animate .zadatak__tag,
.section-zadatak.will-animate .zadatak__heading,
.section-zadatak.will-animate .zadatak__sub {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.section-zadatak.will-animate .zadatak__box {
  opacity: 0;
  transform: translateY(40px) /* preserve stair margin-top */;
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.section-zadatak.anim-visible .zadatak__tag {
  opacity: 1;
}

.section-zadatak.anim-visible .zadatak__heading {
  opacity: 1;
  transition-delay: 0.1s;
}

.section-zadatak.anim-visible .zadatak__sub {
  opacity: 1;
  transition-delay: 0.18s;
}

/* Boxes stagger */
.section-zadatak.anim-visible .zadatak__box--1 { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.section-zadatak.anim-visible .zadatak__box--2 { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.section-zadatak.anim-visible .zadatak__box--3 { opacity: 1; transform: translateY(0); transition-delay: 0.44s; }

/* Text layers always above overlay */
.box__corner-btn { z-index: 3; }
.box__body       { z-index: 2; }
.box__sub        { z-index: 2; }

/* ── BOX LABEL — top left, vertically centered with corner button ── */
.box__label {
  position: absolute;
  top: 20px;
  left: 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);
  text-transform: none;
  color: #ffffff;
  z-index: 2;
  white-space: nowrap;
}

/* ── BOX IMAGE — centered over box ── */
.box__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  z-index: 0;
}


/* ── BACKGROUND SHADOW BOXES ── */
.zadatak__boxes {
  position: relative;
}

/* Shadow box 1 — 250×150px, 50px left of box 1, 70px below box 1 top */
/* Box 1 visual left ≈ 265px from viewport. Shadow starts at 265-50=215px */
.zadatak__shadow--1 {
  position: absolute;
  width: 250px;
  height: 150px;
  background: #ececec;
  border-radius: 12px;
  left: calc(265px - 50px);   /* 215px from left edge of viewport */
  top: 70px;
  z-index: -1;
}

/* Shadow box 2 — 350×200px, 180px right from start of box 3, 90px above box 3 top */
/* Box 3 visual left ≈ 265 + 450 + 20 + 450 + 20 = 1205px. Shadow at 1205+180=1385px */
/* Box 3 top = 40px (margin-top stair). Shadow top = 40 - 90 = -50px */
.zadatak__shadow--2 {
  position: absolute;
  width: 350px;
  height: 200px;
  background: #ececec;
  border-radius: 12px;
  left: calc(265px + 450px + 20px + 450px + 20px + 180px); /* 1385px */
  top: -50px;
  z-index: -1;
}

/* ── TESTING: centre heading and sub text ── */
.zadatak__heading {
  text-align: center;
}

.zadatak__sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* tag centered via display:flex on section */


/* === css/saradnja.css === */
/* ============================================================
   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; }


/* === css/portfolio.css === */
/* ============================================================
   SECTION 5 — PORTFOLIO (Pogledajte šta smo do sada izgradili)
   ============================================================
   Same spacing as section 2. Black bg, white text.
   ============================================================ */


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


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

.portfolio__heading-line {
  display: block;
}

.portfolio__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;
}

.portfolio__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;
}

.portfolio__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 ── */
.portfolio__sub {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.816);
  font-weight: var(--fw-regular);
  line-height: var(--lh-p);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  max-width: var(--max-content);
  opacity: 0.9;
  margin: 0;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

.section-portfolio.will-animate .portfolio__heading,
.section-portfolio.will-animate .portfolio__sub {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.section-portfolio.anim-visible .portfolio__heading {
  opacity: 1;
}

.section-portfolio.anim-visible .portfolio__sub {
  opacity: 1;
  transition-delay: 0.12s;
}


/* ── TAG BUTTON — same as section 3 but white bg, black text ── */
.portfolio__tag {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

.portfolio__tag {
  display: inline-block;
  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: default;
  line-height: 1;
}

/* ── CENTER heading, sub ── */
.portfolio__heading {
  text-align: center;
}

.portfolio__sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── Center tag via block + margin auto ── */
.portfolio__tag {
  display: block;
  width: fit-content;
  margin: 0 auto 30px;
}


/* ══════════════════════════════════════════════════
   PORTFOLIO GRID — 4×4 layout, 1480×1480px
   ══════════════════════════════════════════════════

   Grid positions:
   A  A  C  C      col1-2 row1    / col3-4 row1-2
   B  B  C  C      col1-2 row2
   D  F  F  F      col1 row3      / col2-4 row3-4
   E  F  F  F      col1 row4

   ══════════════════════════════════════════════════ */

.portfolio__grid-wrap {
  width: 1372px;
  margin: 70px auto 0;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 14px;
  width: 1372px;
  height: 1372px;
}

/* Shared box styles */
.pg-box {
  border-radius: 12px;
  background: #222222; /* placeholder — update per box */
  overflow: hidden;
}

/* ── Placements ── */
.pg-box--a { grid-column: 1 / 3; grid-row: 1 / 2; }   /* 1+2 */
.pg-box--b { grid-column: 1 / 3; grid-row: 2 / 3; }   /* 5+6 */
.pg-box--c { grid-column: 3 / 5; grid-row: 1 / 3; }   /* 3+4+7+8 */
.pg-box--d { grid-column: 1 / 2; grid-row: 3 / 4; }   /* 9 */
.pg-box--e { grid-column: 1 / 2; grid-row: 4 / 5; }   /* 13 */
.pg-box--f { grid-column: 2 / 4; grid-row: 3 / 5; }   /* 10+11+14+15 */
.pg-box--g { grid-column: 4 / 5; grid-row: 3 / 5; }   /* 12+16 */


/* ── BOX IMAGE — covers entire box ── */
.pg-box {
  position: relative;
  overflow: hidden;
}

.pg-box__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

/* ── DARK OVERLAY — fades in on hover ── */
.pg-box__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.pg-box:hover .pg-box__overlay {
  opacity: 1;
}

/* ── CORNER BUTTON — bottom right, 20px padding from edges ── */
.pg-box__btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.pg-box__btn svg {
  width: 16px;
  height: 16px;
  transition: stroke 0.3s ease;
}

.pg-box:hover .pg-box__btn {
  background: #111111;
}

.pg-box:hover .pg-box__btn svg {
  stroke: #ffffff;
}


/* ── BOTTOM BAR — text left, button right, vertically bottom-aligned ── */
.pg-box__bottom {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  z-index: 2;
}

/* ── TEXT BLOCK — title, sub, date ── */
.pg-box__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.pg-box:hover .pg-box__text {
  opacity: 1;
  transform: translateY(0);
}

.pg-box__title {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.96 * 1.452);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  line-height: 1.2;
}

.pg-box__desc {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.816);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  line-height: 1.4;
  opacity: 0.85;
}

.pg-box__date {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.605);
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  color: #ffffff;
  opacity: 0.7;
  text-transform: uppercase;
}

/* ── CORNER BUTTON — bottom right ── */
.pg-box__btn {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  position: static;
  bottom: auto;
  right: auto;
}

.pg-box__btn svg {
  width: 19px;
  height: 19px;
}

/* ── Make entire box clickable via invisible overlay link ── */
.pg-box {
  cursor: pointer;
}

.pg-box__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

/* Button sits above the link overlay */
.pg-box__btn {
  z-index: 3;
}

.pg-box__bottom {
  z-index: 3;
}

/* ── GRID FADE UP ── */
.section-portfolio.will-animate .portfolio__grid-wrap {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s ease-out 0.2s, transform 1.4s ease-out 0.2s;
}

.section-portfolio.anim-visible .portfolio__grid-wrap {
  opacity: 1;
  transform: translateY(0);
}


/* === css/problemi.css === */
/* ============================================================
   SECTION 6 — PROBLEMI (Rješavamo probleme)
   ============================================================
   BG: #ffffff, white text on white bg — dark text
   Same spacing as section 2/5. Centered.
   ============================================================ */

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

/* ── TAG BUTTON (if needed later) ── */

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

.problemi__heading-line {
  display: block;
}

.problemi__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;
}

.problemi__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;
}

.problemi__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 — centered ── */
.problemi__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: #111111;
  max-width: var(--max-content);
  margin: 0 auto;
  text-align: center;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.section-problemi.will-animate .problemi__heading,
.section-problemi.will-animate .problemi__sub {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.section-problemi.anim-visible .problemi__heading {
  opacity: 1;
}

.section-problemi.anim-visible .problemi__sub {
  opacity: 0.9;
  transition-delay: 0.12s;
}


/* ══════════════════════════════════════════════════
   PROBLEMI GRID — 3×2
   448px wide boxes, 14px gap, 12px radius, 20px padding
   Same as sections 3 & 4
   ══════════════════════════════════════════════════ */

.problemi__grid {
  display: grid;
  grid-template-columns: repeat(3, 448px);
  grid-template-rows: repeat(2, 247px);
  gap: 14px;
  width: 1372px;   /* 3×448 + 2×14 */
  margin: 70px auto 0;
}

.pr-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

.pr-box__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.5;
}

/* ── BOX 6 CTA — same as section 4 box 1 but black bg, white text ── */
.pr-box__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: #ffffff;
  background: #111111;
  border: none;
  border-radius: 5px;
  padding: 12px 25px;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  line-height: 1.2;
  text-decoration: none;
}

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

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

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

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

/* Shift content up to make room for button */


/* ── NUMBER BUTTON — top left, same as section 4 ── */
.pr-box__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;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pr-box__num:hover {
  background: #111111;
  color: #ffffff;
}

/* ── Box 6 button — flow layout so gap matches header→sub gap ── */
.pr-box--6 .pr-box__cta {
  position: static;
  margin-top: 20px;
}

/* ── GRID FADE UP ── */
.section-problemi.will-animate .problemi__grid {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s ease-out 0.2s, transform 1.4s ease-out 0.2s;
}

.section-problemi.anim-visible .problemi__grid {
  opacity: 1;
  transform: translateY(0);
}


/* === css/faq.css === */
/* ============================================================
   SECTION — FAQ (Commonly asked questions)
   ============================================================
   Devolfs-style accordion: question + toggle, answer expands.
   ============================================================ */

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

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

.faq__heading .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;
}

.faq__heading .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;
}

/* ── ACCORDION LIST ── */
.faq__list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── SINGLE ITEM ── */
.faq__item {
  border-bottom: 1px solid #d0d0d0;
  overflow: hidden;
}

/* Remove top border on very first item */
.faq__list .faq__item:first-child {
  border-top: none;
}

/* ── QUESTION ROW ── */
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 0;
  cursor: pointer;
  user-select: none;
}

.faq__question-text {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.95);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #111111;
  line-height: 1.4;
  flex: 1;
}

/* Toggle — plain + that rotates 45deg on open */
.faq__toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mont);
  font-size: 20px;
  font-weight: 300;
  color: #111111;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.faq__item.is-open .faq__toggle {
  transform: rotate(45deg);
}

/* ── ANSWER ── */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 400px;
}

.faq__answer-inner {
  padding-bottom: 28px;
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.95 * 0.95);
  font-weight: var(--fw-regular);
  line-height: var(--lh-p);
  letter-spacing: var(--ls-default);
  color: #555555;
  opacity: 0.75;
  max-width: 80%;
}

/* ── ANIMATIONS ── */
.section-faq.will-animate .faq__heading,
.section-faq.will-animate .faq__list {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.faq__list {
  transition-delay: 0.12s;
}

.section-faq.anim-visible .faq__heading,
.section-faq.anim-visible .faq__list {
  opacity: 1;
}

/* ── FAQ QUESTIONS FADE UP ── */
.section-faq.will-animate .faq__item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.section-faq.anim-visible .faq__item:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-faq.anim-visible .faq__item:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.section-faq.anim-visible .faq__item:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.section-faq.anim-visible .faq__item:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.section-faq.anim-visible .faq__item:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.section-faq.anim-visible .faq__item:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }


/* === css/cta.css === */
/* ============================================================
   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;
}


/* === css/footer.css === */
/* ============================================================
   FOOTER
   ============================================================ */

/* Reserve space before footer loads via fetch — prevents CLS */
#site-footer-placeholder {
  min-height: 420px;
}

.site-footer {
  background: #eeeeee url("/images/footerBG.png") bottom center / cover no-repeat;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

/* ── TOP ROW — logo left, nav right ── */
.footer__top {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 80px;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* Nav columns — pinned to right */
.footer__nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 50px;
}

/* Single column */
.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Row 1 — all bold (column titles + first nav items) */
.footer__col-title {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-nav) * 0.96);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-default);
  color: #111111;
  line-height: 1.3;
  margin-bottom: 2px;
}

/* All links */
.footer__col a {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-nav) * 0.96);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: #666666;
  text-decoration: none;
  transition: color 0.25s ease;
  line-height: 1.3;
  display: inline-block;
}

.footer__col a:hover { color: #111111; }

/* Underline hover — same as nav */
.footer__col a,
.footer__col-title,
.footer__legal-links a,
.footer__back-top {
  position: relative;
}

.footer__col a::after,
.footer__legal-links a::after,
.footer__back-top::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: #111111;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.footer__col a:hover::after,
.footer__legal-links a:hover::after,
.footer__back-top:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* First link in col 1 only — bold */
.footer__col--main a {
  font-weight: var(--fw-semibold);
  color: #111111;
}

/* ── DIVIDER ── */
.footer__divider {
  width: 100%;
  height: 1px;
  background: #cccccc;
}

/* ── BOTTOM ── */
.footer__bottom {
  padding: 36px 0 0;
  position: relative;
  z-index: 2;
}

/* Legal links */
.footer__legal-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.footer__legal-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__legal-links a {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-nav) * 0.92);
  font-weight: var(--fw-regular);
  color: #666666;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer__legal-links a:hover { color: #111111; }

.footer__legal-sep {
  font-size: calc(var(--fs-nav) * 0.92);
  color: #aaaaaa;
}

/* Disclaimer */
.footer__disclaimer {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-nav) * 0.92);
  font-weight: var(--fw-regular);
  color: #777777;
  line-height: 1.6;
  max-width: none;
  margin-bottom: 36px;
}

/* Meta */
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0;
}

.footer__meta p {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-nav) * 0.92);
  font-weight: var(--fw-regular);
  color: #666666;
  line-height: 1.5;
}

.footer__meta p .heart {
  color: #e03535;
  display: inline-block;
}

/* Back to top */
.footer__back-top {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mont);
  font-size: calc(var(--fs-nav) * 0.92);
  font-weight: var(--fw-regular);
  color: #666666;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.25s ease;
  padding: 0;
}

.footer__back-top:hover { color: #111111; }

.footer__back-top svg {
  width: 12px;
  height: 12px;
}

/* ── WATERMARK — "Likomotiva" centered, full 1420px width ──
   At 1420px wide, Dutch italic roughly needs ~330px font size.
   Bottom 20% clips (overflow hidden on .site-footer).
   gap-top = meta bottom + 20% extra
*/
.footer__watermark-wrap {
  margin-top: 48px; /* gap from www line, will be increased */
  overflow: hidden;
  height: 80%; /* show only top 80% of the text */
  position: relative;
}

.footer__watermark {
  font-family: var(--font-dutch);
  font-style: italic;
  font-size: 290px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.07);
  white-space: nowrap;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.02em;
  text-align: center;
  display: block;
  width: 100%;
}


/* === css/benefiti.css === */
/* ============================================================
   SECTION 7 — BENEFITI (Benefiti koje donose naše usluge)
   ============================================================
   BG: #ffffff, black text, centered
   5 boxes full width, same dimensions as previous sections
   ============================================================ */

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

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

.benefiti__heading-line {
  display: block;
}

.benefiti__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;
}

.benefiti__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: -0.07em;
  color: #111111;
}

.benefiti__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;
}

/* ══════════════════════════════════════════════════
   5 BOXES — full width, stacked vertically
   Same width as sections 3/4 (448px each side spacing)
   Total: 1372px, each box 448px tall? No — full width.
   Width: 1372px, height: 448px each (square-ish)
   ══════════════════════════════════════════════════ */

.benefiti__boxes {
  display: grid;
  grid-template-columns: repeat(3, 448px);
  grid-template-rows: repeat(2, 330px);
  gap: 14px;
  width: 1372px;
  margin: 0 auto;
}

.bn-box {
  display: block;
  border-radius: 12px;
  background: #d0d0d0;
  padding: 36px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

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

.section-benefiti.will-animate .bn-box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.section-benefiti.anim-visible .benefiti__heading { opacity: 1; }

.section-benefiti.anim-visible .bn-box:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-benefiti.anim-visible .bn-box:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.section-benefiti.anim-visible .bn-box:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.section-benefiti.anim-visible .bn-box:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.34s; }
.section-benefiti.anim-visible .bn-box:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.42s; }
.section-benefiti.anim-visible .bn-box:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.50s; }

/* ── BOX COLORS ── */
.bn-box { background: #eeeeee; }
.bn-box--5 { background: #111111; }

/* ── BOX IMAGE — centered horizontally, bottom-aligned ── */
.bn-box__img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* ── BOX HEADER ── */
.bn-box__header {
  display: block;
  font-family: var(--font-mont);
  font-size: 23.9px;
  font-weight: 500;
  letter-spacing: -0.07em;
  color: #111111;
  line-height: 1.28;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-left: 30px;
  padding-right: 30px;
}

.bn-box--5 .bn-box__header {
  color: #ffffff;
}

/* ── BOX 5 CONTENT ── */
.bn-box--5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.bn-box--5 .bn-box__cta {
  margin-top: 10px;
  margin-bottom: 10px;
}

.bn-box__pre {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.691);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  text-align: center;
  opacity: 1;
  line-height: 1.4;
}

.bn-box__post {
  font-family: var(--font-mont);
  font-size: calc(var(--fs-p) * 0.737);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-default);
  color: #ffffff;
  text-align: center;
  opacity: 0.8;
  line-height: 1.4;
}

/* Box 5 CTA — full width, black bg, white text, vertical slide */
.bn-box__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--font-mont);
  font-size: var(--fs-nav);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-default);
  color: #111111;
  background: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 12px 25px;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  line-height: 1.2;
  text-decoration: none;
}

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

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

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

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


/* === css/mobile.css === */
﻿/* ============================================================
   MOBILE — index.html responsive styles
   Breakpoint: ≤ 768px
   ============================================================ */

/* Hidden on desktop */
.hero__scroll-hint { display: none; }

.hero--home .hero__heading-line:nth-child(3),
.hero--home .hero__heading-line--spaced {
  display: block !important;
  margin-top: 0 !important;
  padding-top: 14px !important;
}

@media (max-width: 768px) {

  /* ── BASE ── */
  body {
    overflow-x: hidden;
  }

  /* ── TOKENS ── */
  :root {
    --fs-h1-mont:  36px;
    --fs-h1-dutch: 40px;
    --fs-h2-mont:  27.5px;
    --fs-h2-dutch: 30.8px;
    --fs-p:        15px;
    --gutter:      20px;
  }

  /* ── CONTAINER ── */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ── INVISIBLE ANCHOR SPANS (zero-width line-height anchors) ── */
  .h2-anchor { display: none; }

  /* ── HEADING OVERFLOW SAFETY ── */
  .h1-mont, .h1-dutch,
  .h2-mont, .h2-dutch {
    word-break: break-word;
    overflow-wrap: break-word;
  }


  /* ══════════════════════════════════════════
     NAV
     ══════════════════════════════════════════ */

  /* Fixed header + scroll hide/show */
  .site-header,
  .hero .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding-top: 25px;
    padding-bottom: 16px;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.32s ease;
  }

  .site-header--hidden {
    transform: translateY(-100%);
  }

  .site-header--scrolled {
    background: #111111;
  }

  /* Keep nav items white on dark bg */
  .site-header--scrolled .nav__brand,
  .site-header--scrolled .nav__link { color: #ffffff; }
  .site-header--scrolled .nav__burger span { background: #ffffff; }

  .nav {
    height: 70px;
    padding: 0 20px;
  }

  .nav__left { gap: 12px; }

  .nav__logo,
  .nav__logo img { width: 44px; height: 44px; }

  /* Hide desktop links + CTA */
  .nav__links,
  .nav__cta  { display: none; }
  .nav__brand { display: none; }

  /* Show hamburger */
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    flex-shrink: 0;
  }

  .nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Burger → X when open */
  .nav-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* ── Mobile nav overlay ── */
  .nav__mobile {
    display: block;                /* override nav.css display:none */
    position: fixed;
    inset: 0;
    background: #111111;
    z-index: 999;
    overflow: hidden;              /* clips sliding panels */
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-open .nav__mobile {
    transform: translateX(0);
  }

  /* ── Panels ── */
  .nav__mob-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 220px 20px 60px;
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  /* Main panel — default visible, slides left when sub opens */
  .nav__mob-panel--main {
    transform: translateX(0);
  }
  .nav__mob-panel--pushed {
    transform: translateX(-100%) !important;
  }

  /* Sub panels — start off-screen right, slide in when active */
  .nav__mob-panel--sub {
    transform: translateX(100%);
  }
  .nav__mob-panel--sub.nav__mob-panel--active {
    transform: translateX(0);
  }

  /* ── Link list ── */
  .nav__mob-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  /* ── Individual link / button ── */
  .nav__mob-link {
    font-family: var(--font-mont);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    text-align: left;
  }

  .nav__mob-links > li:last-child .nav__mob-link {
    border-bottom: none;
  }

  .nav__mob-link svg {
    width: 8px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.45;
  }

  /* ── Back button ── */
  .nav__mob-back {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mont);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 40px;
  }

  .nav__mob-back svg {
    width: 8px;
    height: 14px;
    flex-shrink: 0;
  }

  .nav__mob-back:hover { color: rgba(255,255,255,0.75); }

  /* ── Kontaktiraj nas list item ── */
  .nav__mob-link--cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav__mob-link-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav__mob-link-title {
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.04em;
  }

  .nav__mob-link-sub {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0;
    line-height: 1.4;
  }

  /* ── CTA button (shared) ── */
  .nav__mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mont);
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 32px;
    text-decoration: none;
    margin-top: 40px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
  }


  /* ══════════════════════════════════════════
     HERO
     ══════════════════════════════════════════ */

  .hero {
    height: auto;
    min-height: 100svh;
  }


  .hero__content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    padding: 200px 20px 80px;
    box-sizing: border-box;
  }

  .bh1 { font-size: 9px; letter-spacing: 0.08em; }

  .hero__heading {
    margin-top: 22px;
    display: block;
  }

  .hero__heading-line {
    display: inline;
  }

  .hero--home .hero__heading-line {
    display: block;
  }

  .hero__heading-line .h1-mont  { font-size: 28px; line-height: 1.15; }
  .hero__heading-line .h1-dutch { font-size: 31px; line-height: 1.15; }

  .hero--home .hero__heading-line .h1-mont  { font-size: calc(28px * 1.21); }
  .hero--home .hero__heading-line .h1-dutch { font-size: calc(31px * 1.21); }

  .hero--home .hero__heading-line:nth-child(3),
  .hero--home .hero__heading-line--spaced {
    padding-top: 4px !important;
  }

  .hero__sub {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
  }
  .hero__sub br { display: none; }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 40px;
  }

  /* Scroll hint — three dots, staggered bounce */
  .hero__scroll-hint {
    position: absolute;
    bottom: 146px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.55;
  }

  .hero__scroll-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
    animation: scrollDotBounce 1.6s ease-in-out infinite;
  }

  .hero__scroll-dot:nth-child(1) { animation-delay: 0s; }
  .hero__scroll-dot:nth-child(2) { animation-delay: 0.2s; }
  .hero__scroll-dot:nth-child(3) { animation-delay: 0.4s; }

  @keyframes scrollDotBounce {
    0%, 60%, 100% { opacity: 0.25; transform: scaleX(1); }
    30%            { opacity: 1;    transform: scaleX(1.35); }
  }

  .hero__btn--solid,
  .hero__btn--ghost {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 14px;
    text-align: center;
  }


  /* ══════════════════════════════════════════
     VJERA (client cards)
     ══════════════════════════════════════════ */

  .section-vjera {
    padding-top: 60px;
    padding-bottom: 60px;
  }


  .vjera__heading { text-align: left; margin-bottom: 20px; }

  .vjera__sub {
    font-size: 15px;
    text-align: left;
    margin-top: 0;
  }
  .vjera__sub br { display: none; }

  /* Replace fan layout with horizontal scroll row */
  .vjera__cards {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-top: 36px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 20px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .vjera__cards::-webkit-scrollbar { display: none; }

  .card-slot {
    position: relative;
    left: auto;
    top: auto;
    width: 250px;
    height: 250px;
    flex-shrink: 0;
  }

  .card {
    width: 250px;
    height: 250px;
    border-radius: 12px;
    transform: none !important;
  }

  .card__bubble { display: none; }

  .card:hover::before,
  .card:hover::after { opacity: 0; }

  .card__corner-btn {
    display: flex;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
  }

  .card__corner-btn svg {
    width: 15.1px;
    height: 15.1px;
    transition: stroke 0.3s ease;
  }

  .card__corner-btn:hover { background: #111111; }
  .card__corner-btn:hover svg { stroke: #ffffff; }


  /* ══════════════════════════════════════════
     ZADATAK (3 service boxes)
     ══════════════════════════════════════════ */

  .section-zadatak {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .zadatak__tag { font-size: 12px; margin-left: 0; }

  .zadatak__heading { text-align: left; }
  .box__header { font-size: 24px; line-height: 1.15; }

  .zadatak__sub {
    font-size: 15px;
    margin-top: 20px;
    text-align: left;
  }
  .zadatak__sub br { display: none; }

  .zadatak__shadow--1,
  .zadatak__shadow--2 { display: none; }

  .zadatak__boxes {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .zadatak__box {
    width: 100%;
    height: 360px;
    flex-shrink: unset;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    gap: 0;
  }

  /* Dissolve wrapper — header and tags become direct flex items of the box */
  .box__body {
    display: contents;
  }

  /* Reorder: header(1) → sub(2) → tags(3)
     z-index:3 needed — without box__body's stacking context, children
     would render behind box__img (z-index:0) and box__overlay (z-index:1) */
  .box__header {
    position: relative;
    z-index: 3;
    order: 1;
  }

  .box__sub {
    position: relative;
    left: unset;
    right: unset;
    z-index: 3;
    order: 2;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    margin-top: 36px;
    padding: 0;
    text-align: left;
  }

  .box__tags {
    position: relative;
    z-index: 3;
    order: 3;
    margin-top: 4px;
  }

  .zadatak__box:hover .box__body { transform: none; }
  .zadatak__box:hover .box__sub  { opacity: 1; transform: none; }


  /* ══════════════════════════════════════════
     SARADNJA (3 steps)
     ══════════════════════════════════════════ */

  .section-saradnja {
    padding-top: 60px;
    padding-bottom: 0;
    background: #f5f5f5;
  }


  .saradnja__heading { text-align: left; margin-bottom: 20px; }

  .saradnja__sub {
    font-size: 15px;
    text-align: left;
    margin-top: 0;
    padding-bottom: 36px;
  }
  .saradnja__sub br { display: none; }

  .saradnja__boxes {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 20px 60px;
    width: 100%;
    box-sizing: border-box;
  }

  .saradnja__box {
    width: 100%;
    height: auto;
    min-height: 250px;
    flex-shrink: unset;
  }

  .saradnja__box--1 {
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  /* Transparent boxes get a subtle border on mobile */
  .saradnja__box--2,
  .saradnja__box--3 {
    min-height: 200px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
  }

  .sbox__body {
    position: static;
    padding: 20px;
    padding-top: 74px;
  }

  /* Box 1 with CTA */
  .saradnja__box--1 .sbox__body {
    position: static;
    padding-top: 20px;
    padding-bottom: 0;
    bottom: auto;
  }

  .sbox__cta {
    position: static;
    margin: 16px 20px 20px;
    display: flex;
  }

  .sbox__header { font-size: 22px; line-height: 1.15; }
  .sbox__sub    { font-size: 15px; margin-top: 10px; }


  /* ══════════════════════════════════════════
     BENEFITI (bento grid)
     ══════════════════════════════════════════ */

  .section-benefiti {
    padding-top: 20px;
    padding-bottom: 60px;
  }


  .benefiti__heading { text-align: left; margin-bottom: 20px; }

  .benefiti__boxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 40px);
    margin: 36px auto 0;
    grid-template-columns: unset;
    grid-template-rows: unset;
  }

  .bn-box {
    height: auto;
    min-height: 240px;
    padding: 28px;
    border-radius: 12px;
  }

  .bn-box--1 { order: 1; }
  .bn-box--2 { order: 2; }
  .bn-box--3 { order: 3; }
  .bn-box--4 { order: 4; }
  .bn-box--5 { order: 6; }
  .bn-box--6 { order: 5; }

  .bn-box__header {
    font-size: 18px;
    padding-left: 0;
    padding-right: 0;
  }

  .bn-box__img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-height: 286px;
    width: auto;
    margin: 0;
  }

  .bn-box--5 {
    min-height: 250px;
    padding: 36px 28px;
  }

  .bn-box__pre,
  .bn-box__post { font-size: 12px; }


  /* ══════════════════════════════════════════
     PORTFOLIO (mosaic grid)
     ══════════════════════════════════════════ */

  .section-portfolio {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .portfolio__tag { font-size: 12px; margin-left: 0; }



  .portfolio__heading { text-align: left; margin-bottom: 20px; }

  .portfolio__sub {
    font-size: 15px;
    text-align: left;
    margin-top: 0;
  }
  .portfolio__sub br { display: none; }

  .portfolio__grid-wrap {
    width: 100%;
    max-width: 100%;
    margin: 36px auto 0;
    padding: 0;
    overflow: hidden;
  }

  .portfolio__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 20px;
    row-gap: 20px;
    width: 100%;
    height: auto;
  }

  /* Row 1 — Box A: left margin 40px, reaches right viewport edge */
  .pg-box--a {
    grid-column: 1 / 3;
    grid-row: 1;
    height: 240px;
    width: auto;
    margin: 0 0 0 20px;
  }

  /* Row 2 — B overflows left, C overflows right, both same width as A */
  .pg-box--b {
    grid-column: 1 / 2;
    grid-row: 2;
    height: 240px;
    width: calc(100vw - 40px);
    margin-left: calc(-50vw + 30px);
  }

  .pg-box--c {
    grid-column: 2 / 3;
    grid-row: 2;
    height: 240px;
    width: calc(100vw - 40px);
  }

  /* Row 3 — Box D: fixed 100vw width, shifted left 40px so right edge = viewport - 40px */
  .pg-box--d {
    grid-column: 1 / 3;
    grid-row: 3;
    height: 240px;
    width: 100vw;
    margin-left: -20px;
    margin-right: 0;
  }

  /* Hide remaining boxes */
  .pg-box--e,
  .pg-box--f,
  .pg-box--g { display: none; }

  /* Hide all overlay content on mobile — image only */
  .pg-box__overlay { display: none; }
  .pg-box__bottom  { display: none; }


  /* ══════════════════════════════════════════
     PROBLEMI (3×2 grid)
     ══════════════════════════════════════════ */

  .section-problemi {
    padding-top: 60px;
    padding-bottom: 60px;
  }


  .problemi__heading { text-align: left; margin-bottom: 20px; }

  .problemi__sub {
    font-size: 15px;
    text-align: left;
    margin-top: 0;
  }
  .problemi__sub br { display: none; }

  .problemi__grid {
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    margin: 36px auto 0;
    gap: 12px;
    grid-template-columns: unset;
    grid-template-rows: unset;
  }

  .pr-box {
    height: auto;
    min-height: 220px;
    padding: 20px;
    padding-top: 76px;
  }

  .pr-box--6 { min-height: 220px; }

  .pr-box__header { font-size: 20px; line-height: 1.1; }
  .pr-box__sub    { font-size: 15px; }


  /* ══════════════════════════════════════════
     FAQ
     ══════════════════════════════════════════ */

  .section-faq {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .faq__heading { margin-bottom: 20px; text-align: left; }


  .faq__question {
    gap: 16px;
    padding: 20px 0;
  }

  .faq__question-text  { font-size: 14px; }
  .faq__answer-inner   { max-width: 100%; font-size: 15px; }


  /* ══════════════════════════════════════════
     CTA
     ══════════════════════════════════════════ */

  .section-cta {
    padding-top: 80px;
    padding-bottom: 80px;
  }


  .cta__heading { margin-bottom: 20px; text-align: left; }
  .cta__heading-line { display: inline; }
  .cta__dimmed { display: inline; }

  .cta__sub {
    font-size: 15px;
    text-align: left;
    margin-bottom: 32px;
  }

  .cta__btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 14px;
  }


  /* ══════════════════════════════════════════
     FOOTER
     ══════════════════════════════════════════ */

  .site-footer {
    padding-top: 56px;
  }

  .footer__top {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
  }

  .footer__logo {
    padding-bottom: 36px;
  }

  .footer__logo img {
    width: 56px;
    height: 56px;
  }

  .footer__nav {
    flex-direction: column;
    flex-wrap: unset;
    gap: 0;
    flex: unset;
    width: 100%;
  }

  /* Hide desktop footer nav, show mobile one */
  .footer__nav { display: none; }
  .footer__mob-nav { display: block; width: 100%; border-top: 1px solid rgba(0,0,0,0.08); margin-bottom: 36px; }

  /* Direct links (Početna, Cijene, Portfolio) */
  .footer__mob-link {
    display: block;
    font-family: var(--font-mont);
    font-size: 15px;
    font-weight: 400;
    color: #111111;
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    letter-spacing: var(--ls-default);
  }

  /* L2 links inside accordion */
  .footer__mob-link--l2 {
    font-size: 14px;
    color: #444444;
    padding: 12px 0 12px 16px;
    border-bottom: none;
  }

  /* L3 (deep) links */
  .footer__mob-link--deep {
    font-size: 13px;
    color: #666666;
    padding: 14px 0 14px 32px;
    border-bottom: none;
  }

  /* Accordion group */
  .footer__mob-group {
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .footer__mob-nav > .footer__mob-group:last-of-type {
    border-bottom: none;
  }

  /* Accordion title button */
  .footer__mob-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-family: var(--font-mont);
    font-size: 15px;
    font-weight: 400;
    color: #111111;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    letter-spacing: var(--ls-default);
  }

  .footer__mob-title--l2 {
    font-size: 14px;
    color: #444444;
    padding: 12px 0 12px 16px;
  }

  .footer__mob-title svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    opacity: 0.5;
  }

  .footer__mob-group.is-open > .footer__mob-title svg {
    transform: rotate(180deg);
  }

  /* Sub content — hidden by default */
  .footer__mob-sub {
    display: none;
  }

  .footer__mob-group.is-open > .footer__mob-sub {
    display: block;
    padding-bottom: 8px;
  }

  /* Legal links wrap on small screens */
  .footer__legal-links {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 4px 8px;
    margin-bottom: 14px;
  }

  .footer__legal-row {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .footer__legal-sep--desktop {
    display: none;
  }

  .footer__legal-links a,
  .footer__legal-sep {
    font-size: 12px;
  }

  .footer__disclaimer {
    font-size: 12px;
    line-height: 1.55;
  }
  .footer__disclaimer .footer__desktop-break {
    display: none;
  }

  .footer__disclaimer .footer__desktop-break::after {
    content: ' ';
  }

  .footer__meta { gap: 4px; }
  .footer__meta p { font-size: 12px; }

  .footer__back-top {
    position: static;
    margin-top: 20px;
  }

  .footer__bottom { padding-bottom: 28px; }

  .footer__watermark {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    font-size: clamp(76px, 23vw, 118px);
    text-align: center;
  }

  .footer__watermark-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 28px;
  }

}
/* Solid divider between Kompanija and Kontaktiraj nas in main mobile nav */
#mob-main .nav__mob-links > li:nth-last-child(2) .nav__mob-link {
  border-bottom-color: #ffffff;
}

