﻿  :root {
    /* Surfaces — cream base */
    --paper: #FAF8F4;

    /* Ink — was near-black, now deep aubergine pulled from cover's pink+purple smoke */
    --ink: #2B1A2F;                 /* deep aubergine — main text & dark sections */
    --ink-deep: #0E0E0C;            /* true black — reserved for footer only */

    /* Accent palette — two primary colors */
    --accent: #EA4D1A;              /* orange-red */
    --accent-cyan: #8ED1D9;         /* light cyan */

    /* Neutrals — slight mauve undertone */
    --muted: #7A6573;
    --line: #2B1A2F;
    --line-soft: #E8D9DD;           /* pink-tinted soft line */
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  .display {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.0;
  }
  .display-italic {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
  }
  h2 .display-italic,
  .section-title .display-italic,
  .founder-title .display-italic {
    color: var(--accent-cyan);
  }
  /* BOOM italic word override — orange instead of cyan */
  h2 .display-italic.is-boom,
  .section-title .display-italic.is-boom,
  .founder-title .display-italic.is-boom {
    color: var(--accent);
  }

  .container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

  /* ===== NAV ===== */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 32px;
    max-width: 1280px; margin: 0 auto;
    gap: 40px;
  }
  .logo { display: flex; align-items: center; text-decoration: none; }
  .logo img { height: 38px; width: auto; }
  .nav-links {
    display: flex; gap: 36px; align-items: center;
    flex-grow: 1; justify-content: center;
  }
  .nav-links a {
    color: var(--ink); text-decoration: none;
    font-size: 15px; font-weight: 400;
    transition: color .2s;
    position: relative;
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--accent); }
  .nav-links a.active::after { width: 100%; }
  .nav-links a::after {
    content: ''; position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width .25s;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-right { display: flex; align-items: center; gap: 20px; }
  .nav-cta {
    background: var(--accent); color: var(--paper) !important;
    padding: 11px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 500;
    transition: background .2s, transform .2s;
    text-decoration: none; white-space: nowrap;
  }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: var(--ink); transform: translateY(-1px); }
  .lang-switch { font-size: 13px; color: var(--muted); display: flex; gap: 4px; align-items: center; }

  /* Hamburger toggle (mobilni) */
  .nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; margin-right: -8px;
    background: transparent; border: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle span {
    display: block; width: 24px; height: 2px; margin: 0 auto;
    background: var(--ink); border-radius: 2px;
    transition: transform .3s cubic-bezier(0.16,1,0.3,1), opacity .2s;
  }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobilni izbornik — fullscreen panel */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 45;
    background: var(--paper);
    padding: 104px 32px 48px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .32s ease, transform .32s ease, visibility .32s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu-inner { display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; }
  .mobile-menu .nav-links {
    display: flex; flex-direction: column; gap: 0; align-items: stretch;
    flex-grow: 0; justify-content: flex-start;
  }
  .mobile-menu .nav-links li { display: block; }
  .mobile-menu .nav-links a {
    display: block; padding: 18px 0;
    font-family: 'DM Serif Display', Georgia, serif; font-size: 24px; line-height: 1.1;
    border-bottom: 1px solid var(--line-soft);
  }
  .mobile-menu .nav-links a::after { display: none; }
  .mobile-menu-cta { align-self: flex-start; margin-top: 32px; }
  .mobile-menu .lang-switch { margin-top: 24px; font-size: 15px; }
  .lang-switch span, .lang-switch a { cursor: pointer; transition: color .2s; }
  .lang-switch a { color: var(--muted); text-decoration: none; }
  .lang-switch a:hover { color: var(--ink); }
  .lang-switch .lang-sep { cursor: default; }
  .lang-switch span.active { color: var(--ink); font-weight: 500; }

  /* ===== HERO ===== */
  .hero { padding: 100px 0 120px; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: stretch; }
  .hero-eyebrow {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--muted); margin-bottom: 28px;
    display: flex; align-items: center; gap: 12px;
  }
  .hero-eyebrow::before {
    content: ''; display: inline-block; width: 28px; height: 1px;
    background: var(--accent);
  }
  .hero-title {
    font-size: clamp(46px, 6.5vw, 88px);
    margin-bottom: 28px;
    color: var(--ink);
  }
  .hero-title .accent { color: var(--accent); }
  .hero-title .hero-boom {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.04em;
    position: relative;
    top: 0.08em;
  }
  .hero-sub {
    font-size: 19px; color: var(--muted); max-width: 480px;
    line-height: 1.5; margin-bottom: 40px;
  }
  .cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--ink); color: var(--paper);
    padding: 16px 26px; border-radius: 999px;
    font-size: 15px; font-weight: 500;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all .25s;
  }
  .btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
  .btn-primary svg { transition: transform .25s; }
  .btn-primary:hover svg { transform: translateX(4px); }
  .btn-text {
    color: var(--ink); text-decoration: none;
    font-size: 15px; font-weight: 500;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    transition: color .2s;
  }
  .btn-text:hover { color: var(--accent); border-color: var(--accent); }

  .hero-side {
    border-left: 1px solid var(--line-soft);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
  }
  .hero-side-mark {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 48px;
    min-height: 240px;
  }
  .boom-mark {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hero-side-mark:hover .boom-mark {
    transform: scale(1.04) rotate(-2deg);
  }
  .boom-mark path {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation-fill-mode: forwards;
  }

  /* Phase 1 — brackets sweep in from each corner, clockwise from TL */
  .boom-mark .bm-br.tl {
    animation: bmBracketTL 0.9s cubic-bezier(0.34, 1.4, 0.55, 1) 0.5s forwards;
  }
  .boom-mark .bm-br.tr {
    animation: bmBracketTR 0.9s cubic-bezier(0.34, 1.4, 0.55, 1) 0.62s forwards;
  }
  .boom-mark .bm-br.br {
    animation: bmBracketBR 0.9s cubic-bezier(0.34, 1.4, 0.55, 1) 0.74s forwards;
  }
  .boom-mark .bm-br.bl {
    animation: bmBracketBL 0.9s cubic-bezier(0.34, 1.4, 0.55, 1) 0.86s forwards;
  }

  /* Phase 2 — letters drop & scale in, diagonal order: B → top-right O → bottom-left O → M */
  .boom-mark .bm-b {
    animation: bmLetter 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 1.35s forwards;
  }
  .boom-mark .bm-o-tr {
    animation: bmLetter 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards;
  }
  .boom-mark .bm-o-bl {
    animation: bmLetter 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 1.65s forwards;
  }
  .boom-mark .bm-m {
    animation: bmLetter 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 1.8s forwards;
  }

  /* Phase 3 — the + dramatic spin-pop */
  .boom-mark .bm-plus {
    animation: bmPlusPop 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) 2.05s forwards;
  }

  @keyframes bmBracketTL {
    from { opacity: 0; transform: translate(-40%, -40%) rotate(-12deg); }
    to   { opacity: 0.92; transform: translate(0, 0) rotate(0); }
  }
  @keyframes bmBracketTR {
    from { opacity: 0; transform: translate(40%, -40%) rotate(12deg); }
    to   { opacity: 0.92; transform: translate(0, 0) rotate(0); }
  }
  @keyframes bmBracketBR {
    from { opacity: 0; transform: translate(40%, 40%) rotate(-12deg); }
    to   { opacity: 0.92; transform: translate(0, 0) rotate(0); }
  }
  @keyframes bmBracketBL {
    from { opacity: 0; transform: translate(-40%, 40%) rotate(12deg); }
    to   { opacity: 0.92; transform: translate(0, 0) rotate(0); }
  }
  @keyframes bmLetter {
    from { opacity: 0; transform: translateY(-22%) scale(0.55); }
    to   { opacity: 1;   transform: translateY(0) scale(1); }
  }
  @keyframes bmPlusPop {
    0%   { opacity: 0; transform: scale(0) rotate(-180deg); }
    60%  { opacity: 1; transform: scale(1.25) rotate(20deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
  }

  /* Phase 4 — ambient continuous plus rotation after entrance */
  .boom-mark .bm-plus {
    animation-name: bmPlusPop, bmPlusIdle;
    animation-duration: 0.95s, 14s;
    animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1), ease-in-out;
    animation-delay: 2.05s, 3.2s;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: forwards, none;
  }
  @keyframes bmPlusIdle {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(90deg); }
  }

  @media (prefers-reduced-motion: reduce) {
    .boom-mark path {
      opacity: 1 !important;
      animation: none !important;
      transform: none !important;
    }
    .boom-mark .bm-br { opacity: 0.92 !important; }
  }
  .hero-side-testimonial {
    margin-top: auto;
  }
  .hero-side-logo {
    min-height: 80px;
    display: flex;
    align-items: center;
  }
  .hero-side-logo img {
    height: 80px;
    width: auto;
    max-width: 260px;
    opacity: 1;
    filter: grayscale(100%);
    object-fit: contain;
  }
  .hero-side-logo-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.35;
  }
  .hero-quote {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 21px;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: 16px;
  }
  .hero-quote-attr {
    font-size: 13px; color: var(--muted);
  }
  .hero-quote-name { font-weight: 500; color: var(--ink); }

  /* ===== LOGO SLIDER ===== */
  .logo-strip {
    padding: 36px 0;
    overflow: hidden;
  }
  .logo-carousel {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  }
  .logo-carousel-track {
    display: flex;
    gap: 64px;
    align-items: center;
    width: max-content;
    animation: logoScroll 68s linear infinite;
  }
  .logo-carousel:hover .logo-carousel-track {
    animation-play-state: paused;
  }
  .logo-carousel-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
  }
  .logo-carousel-item img {
    height: 75px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    opacity: 1;
    filter: saturate(0);
    transition: opacity .3s, filter .3s;
  }
  .logo-carousel-item img:hover {
    filter: saturate(1);
  }
  @keyframes logoScroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 32px)); }
  }

  /* ===== STATS BAR ===== */
  .stats-bar {
    background: #000; color: var(--paper);
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  /* TV-noise grain overlay — subtle texture, preserves dark base */
  .stats-bar::before {
    content: '';
    position: absolute;
    inset: -10%;
    background-image: url('../img/grain.webp');
    background-size: 240px 240px;
    background-repeat: repeat;
    opacity: 0.22;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
    animation: tvGrain 0.18s steps(6) infinite;
    will-change: transform;
  }
  /* Animated mesh gradient — 3 blurred blobs drift over orange base */
  .stats-bar .mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.78;
    pointer-events: none;
    will-change: transform;
    z-index: 0;
  }
  .stats-bar .mesh-blob:nth-child(1) {
    /* Cyan — far left */
    width: 42%; height: 220%;
    top: -55%; left: -10%;
    background: var(--accent-cyan);
    animation: meshFloat1 15s ease-in-out infinite;
  }
  .stats-bar .mesh-blob:nth-child(2) {
    /* Orange highlight — left-center */
    width: 30%; height: 180%;
    bottom: -55%; left: 24%;
    background: var(--accent);
    filter: blur(70px) brightness(1.35);
    animation: meshFloat2 13s ease-in-out infinite;
  }
  .stats-bar .mesh-blob:nth-child(3) {
    /* Cyan — right-center */
    width: 40%; height: 220%;
    top: -65%; right: 20%;
    background: var(--accent-cyan);
    animation: meshFloat3 17s ease-in-out infinite;
  }
  .stats-bar .mesh-blob:nth-child(4) {
    /* Orange highlight — far right */
    width: 36%; height: 200%;
    bottom: -55%; right: -10%;
    background: var(--accent);
    filter: blur(70px) brightness(1.35);
    animation: meshFloat4 19s ease-in-out infinite;
  }
  @keyframes meshFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(18%, 8%) scale(1.08); }
    66%      { transform: translate(8%, -4%) scale(0.95); }
  }
  @keyframes meshFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-14%, 6%) scale(1.05); }
    66%      { transform: translate(-6%, -8%) scale(1.1); }
  }
  @keyframes meshFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-12%, -8%) scale(0.95); }
    66%      { transform: translate(10%, -4%) scale(1.1); }
  }
  @keyframes meshFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(10%, 12%) scale(1.12); }
    66%      { transform: translate(-4%, 6%) scale(0.9); }
  }
  @media (prefers-reduced-motion: reduce) {
    .stats-bar .mesh-blob { animation: none; }
  }
  .stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    max-width: 1280px; margin: 0 auto;
    position: relative; z-index: 2;
  }
  .stat {
    padding: 56px 32px 52px;
    text-align: center;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .stat:hover { transform: translateY(-6px); }
  /* Short centered divider — editorial */
  .stat::after {
    content: '';
    position: absolute;
    right: 0;
    top: 32%; bottom: 32%;
    width: 1px;
    background: rgba(255, 255, 255, 0.28);
  }
  .stat:last-child::after { display: none; }
  .stat-num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 85px; font-weight: 400;
    line-height: 0.95; margin-bottom: 18px;
    color: var(--accent);
  }
  .stat-num .unit {
    font-style: italic;
    font-size: 0.55em;
    margin-left: 2px;
    opacity: 0.88;
    position: relative;
    top: -0.28em;
  }
  .stat-label {
    font-size: 12px; color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase; letter-spacing: 0.14em;
    font-weight: 600;
  }

  /* ===== SECTION BASE ===== */
  section { padding: 120px 0; }
  .section-eyebrow {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--ink); margin-bottom: 20px; font-weight: 500;
  }
  .section-title {
    font-size: clamp(36px, 4.5vw, 60px);
    margin-bottom: 20px;
    max-width: 900px;
  }
  .section-lead {
    font-size: 20px; color: var(--muted);
    max-width: 700px; line-height: 1.55;
    margin-bottom: 64px;
  }

  /* ===== WHAT IS BOOM ===== */
  .boom-intro { background: var(--paper); }
  .boom-intro-grid { display: grid; grid-template-columns: 0.95fr 1.15fr; gap: 72px; align-items: start; }
  .boom-intro-left .section-eyebrow { margin-bottom: 16px; }
  /* Akronim — suptilni potpis ispod naslova */
  .boom-intro-acronym {
    font-size: 13px; letter-spacing: 0.03em; color: var(--muted);
    margin: 14px 0 0; font-weight: 500;
  }
  .boom-intro-acronym strong { color: var(--ink); font-weight: 700; }
  /* Desni stupac — eyebrow „Kome je BOOM namijenjen” */
  .boom-intro-content .section-eyebrow { margin-bottom: 22px; }
  /* Lijevi stupac — sticky anchor na desktopu */
  .boom-intro-left { position: sticky; top: 110px; align-self: start; }
  .boom-intro-lead {
    font-size: 17px; line-height: 1.65; color: var(--muted);
    margin: 24px 0 30px; max-width: 420px;
  }
  .boom-intro-cta { margin-top: 4px; }
  /* Mini-indeks „četiri stupa” u lijevom stupcu */
  .boom-intro-pillars { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
  .boom-intro-pillars-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em;
    color: var(--muted); font-weight: 600; margin-bottom: 14px;
  }
  .boom-pillar-mini { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
  .boom-pillar-mini li {
    display: flex; align-items: baseline; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid var(--line-soft);
    transition: padding-left 0.3s cubic-bezier(0.16,1,0.3,1);
  }
  .boom-pillar-mini li:last-child { border-bottom: none; }
  .boom-pillar-mini li:hover { padding-left: 6px; }
  .bpm-num {
    font-family: 'DM Serif Display', Georgia, serif; font-style: italic;
    font-size: 16px; color: var(--accent-cyan); min-width: 20px;
  }
  .bpm-name {
    font-family: 'DM Serif Display', Georgia, serif; font-size: 21px;
    color: var(--ink); line-height: 1; transition: color 0.3s;
  }
  .boom-pillar-mini li:hover .bpm-name { color: var(--accent); }
  .boom-intro-text {
    font-size: 18px; line-height: 1.65; color: var(--ink);
    margin-bottom: 32px;
  }
  .boom-intro-text strong { font-weight: 500; }
  .boom-list {
    list-style: none; padding: 0;
    display: flex; flex-direction: column; gap: 12px;
  }
  .boom-list li {
    font-size: 18px; color: var(--ink);
    padding-left: 20px;
    position: relative;
  }
  .boom-list li::before {
    content: ''; position: absolute;
    left: 0; top: 10px;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
  }
  /* Pod-naslov iznad liste/mreže */
  .boom-intro-subhead {
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--accent);
    margin: 40px 0 18px;
  }

  /* A — Kome je namijenjen: editorial lista sa strelicama */
  .boom-aud { list-style: none; padding: 0; margin: 8px 0 0; }
  .boom-aud li {
    position: relative;
    padding: 15px 0 15px 32px;
    font-size: 17px; line-height: 1.5; color: var(--ink);
    border-top: 1px solid var(--line-soft);
  }
  .boom-aud li:last-child { border-bottom: 1px solid var(--line-soft); }
  .boom-aud li::before {
    content: '→'; position: absolute; left: 0; top: 15px;
    color: var(--accent-cyan); font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  }
  .boom-aud li:hover::before { transform: translateX(4px); }

  /* B — Što kompanije dobivaju: mreža kartica s kvačicom */
  .boom-gains { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .boom-gain {
    display: flex; align-items: flex-start; gap: 12px;
    background: #fff; border: 1px solid var(--line-soft); border-radius: 10px;
    padding: 16px 18px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  }
  .boom-gain:hover {
    border-color: var(--ink); transform: translateY(-2px);
    box-shadow: 0 12px 26px -20px rgba(43,26,47,0.5);
  }
  .boom-gain svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
  .boom-gain span { font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.35; }

  /* C — Tri ključne stvari (vlasnici): istaknuti svijetli (cyan) panel */
  .boom-owners {
    margin-top: 40px;
    background: #E9F4F5; color: var(--ink);
    border: 1px solid rgba(142,209,217,0.55);
    border-radius: 14px; padding: 32px 32px 14px;
    position: relative; overflow: hidden; isolation: isolate;
  }
  .boom-owners::before {
    content: ''; position: absolute; top: -45%; right: -12%;
    width: 55%; height: 130%;
    background: radial-gradient(circle, rgba(255,255,255,0.7), transparent 62%);
    pointer-events: none; z-index: 0;
  }
  .boom-owners-title {
    position: relative; z-index: 1;
    font-family: 'DM Serif Display', Georgia, serif; font-weight: 400;
    font-size: 21px; line-height: 1.25; letter-spacing: -0.01em;
    color: var(--ink); margin-bottom: 24px; max-width: 90%;
  }
  .boom-owners-list { position: relative; z-index: 1; display: flex; flex-direction: column; }
  .boom-owner {
    display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: baseline;
    padding: 20px 0;
    border-top: 1px solid rgba(43,26,47,0.12);
  }
  .boom-owner:first-child { border-top: none; padding-top: 0; }
  .boom-owner-word {
    font-family: 'DM Serif Display', Georgia, serif; font-style: italic;
    font-size: 26px; line-height: 1; color: var(--accent);
    display: flex; flex-direction: column; gap: 6px;
  }
  .boom-owner-idx {
    font-family: 'Plus Jakarta Sans', sans-serif; font-style: normal;
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
    color: #3E96A2;
  }
  .boom-owner-desc { font-size: 15px; line-height: 1.55; color: var(--muted); }

  .boom-intro-closing { margin-top: 36px; color: var(--muted); font-size: 16px; }

  @media (max-width: 560px) {
    .boom-gains { grid-template-columns: 1fr; }
    .boom-owner { grid-template-columns: 1fr; gap: 8px; }
    .boom-owners { padding: 26px 22px 12px; }
  }

  /* ===== 4 PILLARS — gradient blob bg ===== */
  .pillars {
    background-color: #cae9e3;
    color: var(--ink);
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .pillars .gradients-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    font-size: 1vw;
  }
  .pillars .gradient-01 {
    width: 50em; height: 100em;
    background-color: #cae9e3;
    border-radius: 999em;
    position: absolute;
    top: -10em; left: 20em;
    transform: rotate(29deg);
  }
  .pillars .gradient-02 {
    width: 30em; height: 100em;
    background-color: #cae9e3;
    border-radius: 999em;
    position: absolute;
    top: -5em; right: 0;
    transform: rotate(39deg);
  }
  .pillars .gradient-03 {
    width: 60em; height: 40em;
    background-color: #cae9e3;
    border-radius: 999em;
    position: absolute;
    top: -10em; left: 0;
    transform: rotate(40deg);
  }
  .pillars .gradient-04 {
    width: 60em; height: 60em;
    background-color: #b5cde6;
    border-radius: 999em;
    position: absolute;
    top: -10em; right: -20em;
    transform: rotate(60deg);
    animation: blobBlue 26s ease-in-out infinite;
  }
  .pillars .gradient-moving-01 {
    width: 30em; height: 100em;
    background-color: #f8e3e3;
    border-radius: 999em;
    position: absolute;
    top: 0; right: -10em;
    transform: rotate(-28deg);
    animation: blobPink 22s ease-in-out infinite;
  }
  .pillars .gradient-moving-02 {
    width: 30em; height: 100em;
    background-color: #fffae7;
    border-radius: 999em;
    position: absolute;
    top: -20em; left: -25em;
    transform: rotate(-28deg);
    animation: blobCream 30s ease-in-out infinite;
  }
  @keyframes blobPink {
    0%, 100% { transform: translate(0, 0) rotate(-28deg); }
    33%      { transform: translate(-8em, 18em) rotate(-18deg); }
    66%      { transform: translate(4em, 32em) rotate(-36deg); }
  }
  @keyframes blobCream {
    0%, 100% { transform: translate(0, 0) rotate(-28deg); }
    33%      { transform: translate(18em, 14em) rotate(-12deg); }
    66%      { transform: translate(8em, 28em) rotate(-40deg); }
  }
  @keyframes blobBlue {
    0%, 100% { transform: rotate(60deg) translate(0, 0); }
    50%      { transform: rotate(75deg) translate(-6em, 8em); }
  }
  @media (prefers-reduced-motion: reduce) {
    .pillars .gradient-04,
    .pillars .gradient-moving-01,
    .pillars .gradient-moving-02 { animation: none; }
  }
  .pillars::before {
    content: '';
    position: absolute;
    inset: -10%;
    background-image: url('../img/grain.webp');
    background-size: 240px 240px;
    background-repeat: repeat;
    opacity: 1;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
    animation: tvGrain 0.18s steps(6) infinite;
    will-change: transform;
  }
  .pillars > .container {
    position: relative;
    z-index: 2;
  }
  .pillars .section-title { color: var(--ink); }
  .pillars .section-lead { color: var(--ink); }
  .pillars-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    perspective: 1400px;
  }
  /* Premium 3D stagger entrance for pillar cards */
  .pillars-grid .pillar.reveal {
    opacity: 0;
    transform: translateY(70px) scale(0.9) rotateX(14deg);
    transform-origin: center bottom;
  }
  .pillars-grid .pillar.reveal.visible {
    animation: pillarEnter 1.1s cubic-bezier(0.34, 1.25, 0.45, 1) forwards;
  }
  .pillars-grid .pillar:nth-child(1).reveal.visible { animation-delay: 0.05s; }
  .pillars-grid .pillar:nth-child(2).reveal.visible { animation-delay: 0.18s; }
  .pillars-grid .pillar:nth-child(3).reveal.visible { animation-delay: 0.31s; }
  .pillars-grid .pillar:nth-child(4).reveal.visible { animation-delay: 0.44s; }
  @keyframes pillarEnter {
    0%   {
      opacity: 0;
      transform: translateY(70px) scale(0.9) rotateX(14deg);
      box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    55%  {
      opacity: 1;
      box-shadow: 0 35px 60px -30px rgba(0, 0, 0, 0.35);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1) rotateX(0deg);
      box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pillars-grid .pillar.reveal {
      opacity: 1; transform: none;
    }
    .pillars-grid .pillar.reveal.visible { animation: none; }
  }
  .pillar {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    padding: 40px 28px 32px;
    border-radius: 4px;
    transition: all .3s;
    display: flex;
    flex-direction: column;
  }
  .pillar:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25); }
  .pillar-num {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .pillar-num-digit {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 0.95;
    color: var(--ink);
    letter-spacing: -0.04em;
  }
  .pillar-num-step {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .pillar-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 26px; font-weight: 400;
    margin-bottom: 16px; line-height: 1.15;
    color: var(--ink);
  }
  .pillar-desc {
    font-size: 14px; color: var(--muted);
    line-height: 1.6; margin-bottom: 28px;
  }
  .pillar-outcome {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--ink);
    border-top: 1px solid var(--line-soft);
    padding-top: 16px;
    margin-top: auto;
  }
  .pillar:hover { border-color: var(--ink); }
  /* Deep-dive po stupu (BOOM model podstranica) — metafora + checklist */
  .pillars--detailed .pillar-title { margin-bottom: 6px; }
  .pillar-metaphor {
    font-family: 'DM Serif Display', Georgia, serif; font-style: italic;
    font-size: 15px; color: var(--accent); line-height: 1.2;
    margin: 0 0 18px;
  }
  .pillar-checklist {
    list-style: none; padding: 0; margin: 0 0 28px;
    display: flex; flex-direction: column; gap: 11px;
  }
  .pillar-checklist li {
    position: relative; padding-left: 24px;
    font-size: 13px; line-height: 1.4; color: var(--ink);
  }
  .pillar-checklist li::before {
    content: ''; position: absolute; left: 2px; top: 2px;
    width: 11px; height: 6px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
  }

  /* ===== RESULTS ===== */
  .results { background: var(--paper); }
  .results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .results-numbers { display: flex; gap: 48px; margin-bottom: 32px; }
  .result-big {
    text-align: left;
  }
  .result-big-num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 72px; font-weight: 300;
    line-height: 1; color: var(--accent-cyan);
  }
  .result-big-label {
    font-size: 13px; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-top: 8px;
  }
  .results-text {
    font-size: 18px; color: var(--muted); line-height: 1.6;
  }
  .results-note {
    font-size: 15px; color: var(--muted); margin-top: 16px;
    font-style: italic;
  }

  /* ===== TESTIMONIALS ===== */
  .testimonials { background: #ffffff; }
  .testimonials-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  }
  .testimonial-card {
    background: var(--paper);
    padding: 40px 36px;
    border-radius: 4px;
    display: flex; flex-direction: column;
    transition: transform .3s;
  }
  .testimonial-card:hover { transform: translateY(-2px); }
  .testimonial-card.featured {
    grid-column: span 2;
    background: var(--accent);
    color: var(--paper);
  }
  .testimonial-quote {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 20px; line-height: 1.4;
    font-weight: 300;
    margin-bottom: 24px;
    flex-grow: 1;
  }
  .testimonial-card.featured .testimonial-quote { font-size: 26px; }
  .testimonial-quote::before {
    content: '„'; color: var(--accent);
    font-size: 36px; line-height: 0.5;
    display: block; margin-bottom: 16px;
  }
  .testimonial-logo {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.3;
    margin-bottom: 20px;
  }
  .testimonial-card.featured .testimonial-logo {
    opacity: 0.4;
    color: var(--paper);
  }
  .testimonial-attr { font-size: 14px; }
  .testimonial-name { font-weight: 500; }
  .testimonial-role { color: var(--muted); margin-top: 2px; font-size: 13px; }
  .testimonial-card.featured .testimonial-role { color: #a8a59f; }

  /* ===== TESTIMONIALS CAROUSEL ===== */
  .t-carousel { position: relative; }
  .t-stage {
    position: relative;
    min-height: 380px;
    background: var(--paper);
    border-radius: 30px;
    color: var(--ink);
  }
  .t-stage-inner {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    background: transparent;
  }
  .t-stage-inner .t-slide { z-index: 2; }
  .t-slide {
    position: absolute;
    inset: 0;
    padding: 64px clamp(32px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
  }
  .t-slide.active {
    opacity: 1;
    pointer-events: auto;
  }
  /* Big decorative opening quote — top-right */
  .t-slide::before {
    content: '„';
    position: absolute;
    top: -40px; right: clamp(28px, 4vw, 56px);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 288px;
    line-height: 1;
    color: #ffffff;
    pointer-events: none;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
  }
  .t-slide.active::before {
    transform: translateY(0);
    opacity: 1;
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
                opacity 1.1s 0.05s;
  }
  /* Footer row — logo + attribution */
  .t-slide-footer {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  /* Logo (in footer, beside attribution) */
  .t-slide-logo {
    height: 64px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transform: translateX(-24px);
    opacity: 0;
    transition: transform 0.45s, opacity 0.45s;
  }
  .t-slide.active .t-slide-logo {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,
                opacity 0.8s 0.4s;
  }
  .t-slide-logo img {
    height: 64px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: brightness(0);
  }
  .t-slide-logo-text {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.85;
  }
  /* Vertical divider between logo & attr */
  .t-slide-footer::before {
    content: '';
    width: 1px;
    height: 48px;
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    order: 1;
    align-self: center;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.4s;
  }
  .t-slide.active .t-slide-footer::before {
    transform: scaleY(1);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
  }
  .t-slide-logo { order: 0; }
  .t-slide-attr { order: 2; }
  /* Quote */
  .t-slide-quote {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(20px, 2.1vw, 28px);
    line-height: 1.45;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 36px;
    max-width: 920px;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    position: relative;
  }
  .t-slide.active .t-slide-quote {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
                opacity 0.9s 0.3s;
  }
  /* Attribution */
  .t-slide-attr {
    transform: translateX(18px);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
  }
  .t-slide.active .t-slide-attr {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s,
                opacity 0.8s 0.7s;
  }
  .t-slide-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .t-slide-role {
    font-size: 14px;
    color: var(--muted);
    margin-top: 4px;
  }

  /* Arrows — floating outside stage, vertically centered */
  .t-arrow {
    position: absolute;
    top: 50%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 22px;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, color 0.3s, transform 0.3s;
  }
  .t-arrow svg {
    width: 40px;
    height: 40px;
  }
  /* Offset ne smije prijeći padding containera (32px) — inače strelica viri
     izvan viewporta i stranica dobije horizontalni scroll na svemu ≤ 1280px. */
  .t-prev { left: -32px; transform: translateY(-50%); }
  .t-next { right: -32px; transform: translateY(-50%); }
  .t-arrow:hover {
    background: var(--accent);
    color: var(--paper);
  }
  .t-prev:hover { transform: translateY(-50%) scale(1.08); }
  .t-next:hover { transform: translateY(-50%) scale(1.08); }
  .t-prev:active { transform: translateY(-50%) scale(0.95); }
  .t-next:active { transform: translateY(-50%) scale(0.95); }

  /* Dots row — below stage */
  .t-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
  }
  .t-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .t-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line-soft);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s;
  }
  .t-dot.active {
    width: 32px;
    border-radius: 4px;
    background: var(--accent);
  }
  .t-dot:hover:not(.active) { background: var(--muted); }

  @media (prefers-reduced-motion: reduce) {
    .t-slide, .t-slide::before, .t-slide-logo, .t-slide-quote, .t-slide-attr {
      transition: none !important;
    }
  }

  /* ===== PROCESS (4 steps) — icons + italic serif number ===== */
  .process { background: var(--paper); }
  .process-timeline {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
    position: relative;
    perspective: 1400px;
  }
  .process-step {
    position: relative;
    text-align: center;
    padding: 0 12px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .process-step:hover { transform: translateY(-6px); }
  /* Premium 3D stagger entrance — matches pillars */
  .process-timeline .process-step.reveal {
    opacity: 0;
    transform: translateY(70px) scale(0.9) rotateX(14deg);
    transform-origin: center bottom;
  }
  .process-timeline .process-step.reveal.visible {
    animation: pillarEnter 1.1s cubic-bezier(0.34, 1.25, 0.45, 1) forwards;
  }
  .process-timeline .process-step:nth-child(1).reveal.visible { animation-delay: 0.05s; }
  .process-timeline .process-step:nth-child(2).reveal.visible { animation-delay: 0.18s; }
  .process-timeline .process-step:nth-child(3).reveal.visible { animation-delay: 0.31s; }
  .process-timeline .process-step:nth-child(4).reveal.visible { animation-delay: 0.44s; }
  @media (prefers-reduced-motion: reduce) {
    .process-timeline .process-step.reveal { opacity: 1; transform: none; }
    .process-timeline .process-step.reveal.visible { animation: none; }
  }
  /* Icon circle — filled with cover color by default */
  .process-step-icon {
    width: 100px; height: 100px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .process-step:hover .process-step-icon { transform: scale(1.06); }
  .process-step-icon svg {
    width: 34px; height: 34px;
    stroke: var(--paper);
  }
  /* Uniform cyan icon fill */
  .process-step .process-step-icon { background: var(--accent-cyan); }

  .process-step-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px; font-weight: 700;
    margin-bottom: 18px; line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .process-step-num {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .process-step-desc {
    font-size: 16px; color: var(--muted); line-height: 1.6;
    max-width: 280px; margin: 0 auto;
  }
  .process-step-detail {
    margin-top: 24px;
    display: flex; flex-direction: column; gap: 8px;
    align-items: center;
  }
  .process-step-detail span {
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-soft);
    padding: 8px 18px;
    border-radius: 99px;
    display: inline-block;
    transition: border-color 0.3s, background 0.3s;
  }
  .process-step:hover .process-step-detail span {
    border-color: var(--ink);
  }

  /* ===== QUIZ CTA ===== */
  .quiz {
    background: #ffffff;
    color: var(--ink);
    position: relative;
  }
  .quiz-inner {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center;
    position: relative; z-index: 2;
  }
  .quiz-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 300; line-height: 1.1;
    margin-bottom: 20px;
    color: var(--ink);
  }
  .quiz-title .quiz-boom {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent);
  }
  .quiz-title .quiz-boom .word-mask {
    padding-right: 0.18em;
    margin-right: -0.1em;
    padding-bottom: 0.3em;
    margin-bottom: -0.3em;
  }
  .quiz-desc {
    font-size: 17px; color: var(--muted); line-height: 1.55;
    margin-bottom: 32px;
  }
  .btn-accent {
    background: var(--accent); color: var(--paper);
    padding: 16px 26px; border-radius: 999px;
    font-size: 15px; font-weight: 500;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    transition: all .25s;
    position: relative; z-index: 2;
  }
  .btn-accent:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
  .quiz-pillars {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line-soft);
  }
  .quiz-pillar {
    display: block;
    position: relative;
    padding: 22px 28px 22px 56px;
    border-bottom: 1px solid var(--line-soft);
    background: transparent;
    text-align: left;
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    cursor: pointer;
    transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s,
                color 0.3s;
  }
  .quiz-pillar::before {
    content: attr(data-num);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: var(--accent);
    line-height: 1;
  }
  .quiz-pillar::after {
    content: '→';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) translateX(-4px);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .quiz-pillar:hover {
    padding-left: 64px;
    color: var(--accent);
  }
  .quiz-pillar:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  /* ===== BOOK ===== */
  .book { background: var(--paper); }
  .book-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
  .book-cover {
    aspect-ratio: 3/4;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .book-cover-text {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 36px; font-weight: 300;
    color: var(--paper); text-align: center;
    padding: 32px;
    line-height: 1.2;
  }
  .book-cover-text .accent { color: var(--accent); }
  .book-reviews { margin-top: 32px; }
  .book-review {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .book-review:last-child { border-bottom: none; }
  .book-review-text {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 17px; font-style: italic;
    line-height: 1.4; margin-bottom: 8px;
    color: var(--ink);
  }
  .book-review-attr { font-size: 13px; color: var(--muted); }

  /* ===== BLOG PREVIEW ===== */
  .blog { background: var(--paper); }
  .blog-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  }
  .blog-card {
    text-decoration: none; color: var(--ink);
    transition: transform .3s;
  }
  .blog-card:hover { transform: translateY(-3px); }
  .blog-card-img {
    aspect-ratio: 4/3;
    background: var(--paper);
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid var(--line-soft);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .blog-card-img img,
  .blog-card-img svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s;
  }
  .blog-card:hover .blog-card-img img,
  .blog-card:hover .blog-card-img svg {
    transform: scale(1.05);
  }
  .blog-card-tag {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--accent);
    margin-bottom: 8px; font-weight: 500;
  }
  /* Blog tag color matches pillar theme */
  .blog-grid .blog-card:nth-child(1) .blog-card-tag { color: var(--accent); }
  .blog-grid .blog-card:nth-child(2) .blog-card-tag { color: var(--accent-cyan); }
  .blog-grid .blog-card:nth-child(3) .blog-card-tag { color: var(--accent); }
  .blog-grid .blog-card:nth-child(4) .blog-card-tag { color: var(--accent); }
  .blog-card-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 19px; font-weight: 400;
    line-height: 1.25;
    transition: color .3s;
  }
  .blog-card:hover .blog-card-title { color: var(--accent); }

  /* ===== FOUNDER ===== */
  .founder { background: var(--paper); }
  .founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: center; }
  .founder-img {
    border-radius: 4px;
    overflow: hidden;
    background: var(--paper);
  }
  .founder-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
  }
  .founder-eyebrow {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 16px;
  }
  .founder-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 24px;
  }
  .founder-bio {
    font-size: 17px; line-height: 1.6;
    color: var(--ink); margin-bottom: 20px;
  }
  .founder-quote {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.4;
    color: var(--muted);
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 24px 0;
  }
  .founder-credentials {
    display: flex; flex-direction: column; gap: 12px;
    border-top: 1px solid var(--line-soft);
    padding-top: 24px; margin-top: 24px;
  }
  .credential {
    display: flex; gap: 16px;
    font-size: 16px; color: var(--muted);
  }
  .credential strong { color: var(--ink); font-weight: 500; min-width: 80px; }

  /* ===== VIDEO REFERENCES ===== */
  .videos { background: var(--paper); }
  .videos-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  }
  .video-card {
    text-decoration: none; color: var(--ink);
    transition: transform .3s;
  }
  .video-card:hover { transform: translateY(-3px); }
  .video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--paper);
  }
  .video-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
  }
  .video-card:hover .video-thumb img { transform: scale(1.05); }
  .video-play {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    color: var(--paper);
    background: rgba(14, 14, 12, 0.3);
    transition: background .3s;
  }
  .video-card:hover .video-play { background: rgba(229, 83, 42, 0.6); }
  .video-name { font-weight: 500; font-size: 15px; }
  .video-role { font-size: 13px; color: var(--muted); }

  /* ===== FINAL CTA ===== */
  .final-cta {
    background: var(--ink-deep); color: var(--paper);
    position: relative; overflow: hidden;
    padding: 80px 0;
  }
  .final-cta-mark {
    position: absolute;
    top: 50%;
    right: clamp(40px, 6vw, 100px);
    width: clamp(180px, 18vw, 280px);
    height: auto;
    transform: translateY(-50%) rotate(0deg);
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
    animation: plusSpin 24s linear infinite;
  }
  @keyframes plusSpin {
    0%   { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
  }
  @media (prefers-reduced-motion: reduce) {
    .final-cta-mark { animation: none; transform: translateY(-50%) rotate(15deg); }
  }
  .final-cta-mark path {
    fill: var(--paper);
  }
  .final-cta-inner { position: relative; z-index: 2; max-width: 700px; }
  .final-cta-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.05; font-weight: 300;
    margin-bottom: 24px;
    color: var(--paper);
  }
  .final-cta-title .accent { color: var(--accent); font-style: italic; }
  .final-cta-sub {
    font-size: 18px; color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px; line-height: 1.5;
  }
  .final-cta .btn-primary {
    background: var(--accent); color: var(--paper);
  }
  .final-cta .btn-primary:hover {
    background: var(--paper); color: var(--ink-deep);
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--ink-deep); color: #a8a59f;
    padding: 56px 0 36px;
    border-top: 1px solid #2a2a26;
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
  }
  .footer-tagline { font-size: 14px; max-width: 280px; line-height: 1.5; margin-top: 16px; }
  .footer-lq {
    display: inline-flex; align-items: center; gap: 12px; margin-top: 22px;
    text-decoration: none; transition: opacity .2s;
  }
  .footer-lq:hover { opacity: 0.8; }
  .footer-lq-mark { height: 36px; width: auto; flex-shrink: 0; }
  .footer-lq-mark path { fill: var(--paper); }
  .footer-lq-tagline { height: 30px; width: auto; display: block; }
  .footer-col h4 {
    color: var(--paper); font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 16px; font-weight: 500;
  }
  .footer-col a {
    display: block; color: #a8a59f;
    text-decoration: none; font-size: 14px;
    margin-bottom: 8px; transition: color .2s;
  }
  .footer-col a:hover { color: var(--accent); }
  .footer-social { display: flex; gap: 16px; margin-top: 14px; }
  .footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; margin: 0; color: #a8a59f;
    transition: color .2s, transform .2s;
  }
  .footer-social a:hover { color: var(--accent); transform: translateY(-2px); }
  .footer-social svg { width: 20px; height: 20px; display: block; }

  /* Newsletter (footer) */
  .footer-newsletter {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
    padding-bottom: 44px; margin-bottom: 44px;
    border-bottom: 1px solid #2a2a26;
  }
  .footer-newsletter-text h3 {
    color: var(--paper); font-family: 'DM Serif Display', Georgia, serif;
    font-size: 26px; font-weight: 400; margin: 0 0 6px; line-height: 1.15;
  }
  .footer-newsletter-text p { color: #a8a59f; font-size: 14px; margin: 0; max-width: 440px; }
  .nl-form { flex: 0 0 auto; min-width: 340px; }
  .nl-row { display: flex; gap: 10px; }
  .nl-row input {
    flex: 1; min-width: 0;
    background: rgba(255, 255, 255, 0.06); border: 1px solid #3a3a34;
    border-radius: 999px; padding: 12px 20px;
    color: var(--paper); font-size: 14px; font-family: inherit;
    transition: border-color .2s;
  }
  .nl-row input::placeholder { color: #6f6d67; }
  .nl-row input:focus { outline: none; border-color: var(--accent); }
  .nl-form .btn-primary { white-space: nowrap; }
  .nl-msg { font-size: 13px; margin: 10px 0 0; min-height: 18px; }
  .nl-msg.ok { color: var(--accent-cyan); }
  .nl-msg.err { color: #e2726a; }
  @media (max-width: 700px) {
    .footer-newsletter { gap: 22px; }
    .nl-form { min-width: 100%; width: 100%; }
  }
  .footer-bottom {
    border-top: 1px solid #2a2a26;
    padding-top: 24px;
    display: flex; justify-content: space-between;
    font-size: 12px; color: #6b6962;
    flex-wrap: wrap; gap: 12px;
  }
  .footer-bottom a {
    color: var(--paper);
    text-decoration: none;
    transition: color .2s;
  }
  .footer-bottom a:hover { color: var(--accent); }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 900px) {
    .hero-grid, .boom-intro-grid, .results-grid, .book-grid, .quiz-inner, .founder-grid {
      grid-template-columns: 1fr; gap: 48px;
    }
    .boom-intro-left { position: static; }
    .boom-intro-lead { max-width: none; }
    .hero-side { border-left: none; border-top: 1px solid var(--line-soft); padding-left: 0; padding-top: 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
    .stat::after { display: none; }
    .pillars-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
    .process-timeline { grid-template-columns: 1fr 1fr; gap: 48px; }
    .process-timeline::before { display: none; }
    .testimonials-grid, .footer-grid { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr 1fr; }
    .testimonial-card.featured { grid-column: span 1; }
    .quiz-pillars { grid-template-columns: 1fr 1fr; }
    section { padding: 80px 0; }
    .hero { padding: 60px 0 80px; }
    .nav-inner > .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-right > .lang-switch,
    .nav-right > .nav-cta { display: none; }
  }
  @media (max-width: 600px) {
    .pillars-grid, .blog-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr; }
    .results-numbers { flex-direction: column; gap: 24px; }
  }

  /* ===== SCROLL ANIMATIONS ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
  }
  @keyframes slideLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes slideRight {
    from { opacity: 0; transform: translateX(32px); }
    to { opacity: 1; transform: translateX(0); }
  }

  /* Hero — plays immediately */
  .hero-eyebrow, .hero-sub, .cta-row, .hero-side {
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }
  .hero-eyebrow { animation-delay: 0s; }
  .hero-sub { animation-delay: 0.6s; }
  .cta-row { animation-delay: 0.72s; }
  .hero-side { animation-delay: 0.4s; }

  /* All other elements — hidden until IntersectionObserver triggers */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  .reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  .reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
  }
  /* Stagger children */
  .stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

  /* ===== AMBIENT-STYLE ANIMATIONS ===== */
  /* Premium easing curves */
  /* expo-out: 0.16, 1, 0.3, 1   |   strong-out: 0.77, 0, 0.175, 1 */

  /* Split-line mask reveal (hero) */
  .line-mask {
    display: block;
    overflow: hidden;
    line-height: inherit;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
  }
  .line-mask > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }
  .line-mask.is-visible > span { transform: translateY(0); }
  .hero-title .line-mask:nth-child(1) > span { transition-delay: 0.05s; }
  .hero-title .line-mask:nth-child(2) > span { transition-delay: 0.16s; }
  .hero-title .line-mask:nth-child(3) > span { transition-delay: 0.27s; }
  .hero-title .line-mask:nth-child(4) > span { transition-delay: 0.38s; }

  /* Word-mask reveal (auto-split section titles) */
  .split-title { visibility: hidden; }
  .split-title.split-done { visibility: visible; }
  .word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    line-height: inherit;
    padding-bottom: 0.22em;
    margin-bottom: -0.22em;
  }
  /* Extra horizontal breathing for italic words (slant overflow) */
  .display-italic .word-mask,
  h2 .display-italic.word-mask,
  .display-italic > .word-mask {
    padding-right: 0.2em;
    margin-right: -0.12em;
  }
  .word-mask > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }
  .split-title.is-visible .word-mask > span { transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .split-title { visibility: visible; }
    .word-mask > span { transform: none !important; transition: none !important; }
  }

  /* Image clip-reveal on scroll */
  .img-reveal {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .img-reveal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--paper);
    transform-origin: right center;
    transform: scaleX(1);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
    pointer-events: none;
  }
  .img-reveal.is-visible::after { transform: scaleX(0); }
  .img-reveal img,
  .img-reveal svg {
    transform: scale(1.18);
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .img-reveal.is-visible img,
  .img-reveal.is-visible svg { transform: scale(1); }
  .founder-img.img-reveal::after { background: var(--ink); }
  .book-cover.img-reveal::after { background: var(--ink); }

  @media (prefers-reduced-motion: reduce) {
    .line-mask > span { transform: none !important; transition: none !important; }
    .img-reveal::after { display: none; }
    .img-reveal img { transform: none !important; }
  }

  /* Magnetic — base transition for JS-driven translate */
  [data-magnetic] {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }
  [data-magnetic]:hover {
    transition: transform 0.15s linear;
  }
  [data-magnetic] > * { pointer-events: none; }

  /* Upgrade existing reveals with smoother easing */
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition-duration: 1s !important;
  }

  /* TV-noise grain animation — rapid jittery shifts */
  @keyframes tvGrain {
    0%   { transform: translate(0%, 0%); }
    10%  { transform: translate(-3%, 4%); }
    20%  { transform: translate(5%, -3%); }
    30%  { transform: translate(-2%, -5%); }
    40%  { transform: translate(4%, 3%); }
    50%  { transform: translate(-5%, 1%); }
    60%  { transform: translate(3%, -4%); }
    70%  { transform: translate(-4%, 5%); }
    80%  { transform: translate(2%, -2%); }
    90%  { transform: translate(-3%, -3%); }
    100% { transform: translate(0%, 0%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .stats-bar::before,
    .pillars::before {
      animation: none;
    }
  }

  /* ===================================== */
  /* SUBPAGE COMPONENTS                     */
  /* ===================================== */

  /* ===== SUBPAGE HERO ===== */
  .subhero {
    padding: 80px 0 100px;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
  }
  .subhero-eyebrow {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--muted); margin-bottom: 24px;
    display: flex; align-items: center; gap: 12px;
  }
  .subhero-eyebrow::before {
    content: ''; display: inline-block; width: 28px; height: 1px;
    background: var(--accent);
  }
  .subhero-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(40px, 5.5vw, 76px);
    line-height: 1.0; letter-spacing: -0.02em;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 28px;
    max-width: 1000px;
  }
  .subhero-title em {
    font-style: italic;
    color: var(--accent-cyan);
  }
  .subhero-title em.is-boom { color: var(--accent); }
  .subhero-lead {
    font-size: 20px; color: var(--muted); line-height: 1.55;
    max-width: 700px;
  }

  /* ===== IMPLEMENTACIJA PRINCIPLES (boom-model) ===== */
  .principles-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  }
  .principle {
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 40px 36px;
    transition: border-color 0.3s, transform 0.3s;
  }
  .principle:hover { border-color: var(--ink); transform: translateY(-3px); }
  .principle-num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
  }
  .principle-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px; font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .principle-desc {
    font-size: 16px; color: var(--muted); line-height: 1.6;
  }

  /* ===== COACHEVI (boom-model) ===== */
  .coaches-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px;
  }
  .coach {
    display: grid; grid-template-columns: 140px 1fr; gap: 28px;
    align-items: start;
  }
  .coach-photo {
    width: 140px; height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--line-soft);
  }
  .coach-photo img { width: 100%; height: 100%; object-fit: cover; }
  .coach-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 24px; font-weight: 400;
    color: var(--ink); margin-bottom: 6px;
  }
  .coach-role {
    font-size: 13px; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--accent);
    margin-bottom: 14px; font-weight: 500;
  }
  .coach-bio { font-size: 15px; color: var(--muted); line-height: 1.6; }

  /* ===== CLIENTS GRID (klijenti) ===== */
  .client-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  }
  .client-card {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 36px 32px;
    transition: border-color 0.3s, transform 0.3s;
    display: flex; flex-direction: column; gap: 14px;
  }
  .client-card:hover { border-color: var(--ink); transform: translateY(-2px); }
  .client-card.in-process { background: #ffffff; }
  .client-card-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 26px; font-weight: 400; color: var(--ink);
  }
  .client-card-meta {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-size: 14px; color: var(--muted);
  }
  .client-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
  .client-card-meta span::before {
    content: ''; width: 4px; height: 4px;
    background: var(--accent-cyan); border-radius: 50%;
  }
  .client-card-meta span:first-child::before { background: var(--accent); }

  .client-logos {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px;
    align-items: center;
    padding: 48px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }
  .client-logos img {
    max-width: 100%; max-height: 50px; width: auto;
    opacity: 0.5; filter: grayscale(1);
    transition: opacity 0.3s, filter 0.3s;
  }
  .client-logos img:hover { opacity: 1; filter: grayscale(0); }

  /* ===== LOGO CAROUSEL (klijenti) — beskonačni marquee ===== */
  .logo-carousel {
    position: relative; overflow: hidden;
    padding: 44px 0;
  }
  .logo-carousel::before,
  .logo-carousel::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 110px;
    z-index: 2; pointer-events: none;
  }
  .logo-carousel::before { left: 0; background: linear-gradient(90deg, var(--paper), rgba(250,248,244,0)); }
  .logo-carousel::after { right: 0; background: linear-gradient(270deg, var(--paper), rgba(250,248,244,0)); }
  .logo-carousel-track {
    display: flex; align-items: center; gap: 64px;
    width: max-content;
    animation: logoMarquee 80s linear infinite;
  }
  .logo-carousel:hover .logo-carousel-track { animation-play-state: paused; }
  .logo-carousel-item { flex: 0 0 auto; }
  .logo-carousel-item img {
    display: block;
    width: 150px; height: 60px;   /* jedinstvena dimenzija (400×160 = 2.5:1) */
    object-fit: contain;
    opacity: 0.55; filter: grayscale(1);
    transition: opacity 0.3s, filter 0.3s;
  }
  .logo-carousel-item img:hover { opacity: 1; filter: grayscale(0); }
  @keyframes logoMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .logo-carousel-track {
      animation: none; flex-wrap: wrap; justify-content: center; width: 100%;
    }
  }

  /* ===== CERTIFIKAT BLOCK (klijenti) ===== */
  .certifikat-block {
    background: var(--ink); color: var(--paper);
    border-radius: 12px;
    padding: 64px clamp(32px, 5vw, 80px);
    position: relative; overflow: hidden;
  }
  .certifikat-block::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(142, 209, 217, 0.18), transparent 55%);
    pointer-events: none;
  }
  .certifikat-grid-2 {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px;
    align-items: center;
    position: relative; z-index: 2;
  }
  .certifikat-seal {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(250, 248, 244, 0.2);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 40px;
    background:
      radial-gradient(circle at 50% 30%, rgba(234, 77, 26, 0.10), transparent 60%),
      rgba(250, 248, 244, 0.02);
    max-width: 360px;
    margin: 0 auto;
  }
  .certifikat-seal-mark {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-style: italic; font-weight: 800;
    font-size: clamp(36px, 4.5vw, 52px);
    color: var(--accent);
    letter-spacing: -0.03em; line-height: 1;
    margin-bottom: 10px;
  }
  .certifikat-seal-sub {
    font-size: 11px; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--accent-cyan);
    margin-bottom: 18px;
  }
  .certifikat-seal-divider {
    width: 40px; height: 1px;
    background: var(--accent-cyan); margin: 0 auto 18px;
    opacity: 0.6;
  }
  .certifikat-seal-year {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 26px; color: var(--paper);
  }
  .certifikat-eyebrow {
    color: var(--accent-cyan);
    font-size: 12px; letter-spacing: 0.18em;
    text-transform: uppercase; font-weight: 500;
    margin-bottom: 20px;
  }
  .certifikat-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05; letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--paper);
  }
  .certifikat-title em { font-style: italic; color: var(--accent); }
  .certifikat-text {
    font-size: 17px; line-height: 1.65;
    color: rgba(250, 248, 244, 0.78);
    margin-bottom: 16px;
  }

  /* ===== POTVRDA STANDARDA (klijenti) ===== */
  .standard-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: start;
  }
  .standard-list {
    display: flex; flex-direction: column; gap: 0;
    margin-top: 16px;
  }
  .standard-list-item {
    display: grid; grid-template-columns: 44px 1fr; gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--line-soft);
    align-items: start;
  }
  .standard-list-item:last-child { border-bottom: 1px solid var(--line-soft); }
  .standard-list-num {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic; font-size: 20px;
    color: var(--accent-cyan);
  }
  .standard-list-text { font-size: 16px; color: var(--ink); line-height: 1.55; }

  /* ===== CASE STUDY TEMPLATE (klijenti) ===== */
  /* ===== BOOK PAGE ===== */
  .book-hero-grid {
    display: grid; grid-template-columns: 0.9fr 1.1fr;
    gap: 80px; align-items: center;
  }
  .book-hero-cover img {
    width: 100%; max-width: 480px;
    height: auto; display: block;
    margin: 0 auto;
  }
  .book-quote {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic; font-size: 22px;
    line-height: 1.4; color: var(--ink);
    border-left: 3px solid var(--accent);
    padding-left: 24px;
    margin: 32px 0;
    max-width: 800px;
  }
  .book-editions {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .book-edition {
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 32px 28px;
    text-decoration: none;
    color: var(--ink);
    background: var(--paper);
    transition: border-color 0.3s, transform 0.3s;
    display: flex; flex-direction: column; gap: 12px;
  }
  .book-edition:hover { border-color: var(--ink); transform: translateY(-3px); }
  .book-edition-tag {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--accent);
    font-weight: 500;
  }
  .book-edition-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 20px; line-height: 1.25;
  }
  .book-edition-arrow {
    margin-top: auto;
    font-size: 18px; color: var(--accent);
    transition: transform 0.3s;
  }
  .book-edition:hover .book-edition-arrow { transform: translateX(4px); }

  /* ===== BLOG PAGE ===== */
  .blog-filters {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 56px;
  }
  .blog-filter {
    background: transparent;
    border: 1px solid var(--line-soft);
    color: var(--ink);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    font-family: inherit;
  }
  .blog-filter:hover { border-color: var(--ink); }
  .blog-filter.active {
    background: var(--ink); color: var(--paper);
    border-color: var(--ink);
  }
  .blog-featured {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--line-soft);
  }
  .blog-featured-img {
    display: block;
    aspect-ratio: 4/3;
    border-radius: 4px;
    overflow: hidden;
    background: var(--line-soft);
  }
  .blog-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(0.16,1,0.3,1); }
  .blog-featured-img:hover img { transform: scale(1.05); }
  .blog-featured-title a { color: inherit; text-decoration: none; transition: color .3s; }
  .blog-featured-title a:hover { color: var(--accent); }
  .blog-featured-tag {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--accent);
    margin-bottom: 16px; font-weight: 500;
  }
  .blog-featured-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15; margin-bottom: 16px;
    color: var(--ink);
  }
  .blog-featured-excerpt {
    font-size: 17px; color: var(--muted);
    line-height: 1.6; margin-bottom: 24px;
  }

  /* ===== NAJNOVIJI ČLANCI — carousel sa swipe ===== */
  .recent-posts { border-top: 1px solid var(--line-soft); }
  .recent-posts-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; margin-bottom: 36px;
  }
  .recent-posts-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(24px, 3vw, 34px); font-weight: 400;
    line-height: 1.15; color: var(--ink); margin: 0;
  }
  .carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
  .carousel-btn {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-soft); background: transparent;
    color: var(--ink); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .3s, color .3s, border-color .3s, opacity .3s;
    -webkit-tap-highlight-color: transparent;
  }
  .carousel-btn svg { width: 20px; height: 20px; }
  .carousel-btn:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
  .carousel-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
  .posts-carousel {
    display: flex; gap: 24px;
    overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0 14px; margin: 0 -2px;
    scrollbar-width: none; cursor: grab;
  }
  .posts-carousel::-webkit-scrollbar { display: none; }
  .posts-carousel.is-dragging { cursor: grabbing; scroll-behavior: auto; }
  .posts-carousel.is-dragging a { pointer-events: none; }
  .posts-carousel .blog-card { flex: 0 0 300px; scroll-snap-align: start; }
  @media (max-width: 760px) {
    .posts-carousel .blog-card { flex-basis: 80%; }
  }

  /* ===== KONTAKT PAGE ===== */
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
    align-items: start;
  }
  .contact-info-block {
    display: flex; flex-direction: column; gap: 28px;
  }
  .contact-info-item h4 {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.18em; color: var(--muted);
    margin-bottom: 8px; font-weight: 500;
  }
  .contact-info-item p, .contact-info-item a {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 22px; color: var(--ink);
    text-decoration: none; line-height: 1.4;
    display: block;
  }
  .contact-info-item a:hover { color: var(--accent); }

  .contact-form {
    display: flex; flex-direction: column; gap: 20px;
    background: #ffffff;
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 40px;
  }
  .contact-form label {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--muted);
    margin-bottom: 8px; font-weight: 500;
    display: block;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-soft);
    padding: 8px 0 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.25s;
  }
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
  }
  .contact-form textarea {
    min-height: 120px; resize: vertical;
    font-family: inherit; line-height: 1.5;
  }
  .contact-form button {
    align-self: flex-start;
    margin-top: 8px;
    background: var(--ink);
    color: var(--paper);
    padding: 16px 26px;
    border-radius: 999px;
    border: none;
    font-size: 15px; font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex; align-items: center; gap: 10px;
    transition: background 0.25s, transform 0.25s;
  }
  .contact-form button:hover {
    background: var(--accent); transform: translateY(-1px);
  }

  /* ===== SUBPAGE RESPONSIVE ===== */
  @media (max-width: 900px) {
    .principles-grid,
    .coaches-grid,
    .client-grid,
    .standard-grid,
    .book-hero-grid,
    .blog-featured,
    .contact-grid,
    .certifikat-grid-2 {
      grid-template-columns: 1fr; gap: 40px;
    }
    .client-logos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .book-editions { grid-template-columns: 1fr; }
    .case-template { grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px; }
    .coach { grid-template-columns: 100px 1fr; gap: 20px; }
    .coach-photo { width: 100px; height: 100px; }
  }
  @media (max-width: 600px) {
    .case-template { grid-template-columns: 1fr; }
  }


/* ===== WordPress integracija (nav active state + WP core klase) ===== */
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a { color: var(--accent); }
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after { width: 100%; }
.nav-links { list-style: none; }
.nav-links li { display: flex; align-items: center; }

/* Kontakt form poruke */
.form-message { border-radius: 4px; padding: 14px 18px; margin-bottom: 24px; font-size: 15px; }
.form-message-success { background: rgba(142,209,217,0.25); border: 1px solid var(--accent-cyan); color: var(--ink); }
.form-message-error { background: rgba(234,77,26,0.12); border: 1px solid var(--accent); color: var(--ink); }

/* WP pagination (nav.pagination > div.nav-links) */
.pagination { margin-top: 64px; }
.pagination .nav-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; flex-grow: 0; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-soft); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 15px; transition: all .2s; }
.pagination .page-numbers::after { display: none; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); }

/* ===== Single post / page sadržaj ===== */
.single-body .entry-content, .page-content .entry-content { max-width: 760px; margin-left: auto; margin-right: auto; }
.single-featured-img { margin: 0 0 48px; border-radius: 4px; overflow: hidden; }
.single-featured-img img { width: 100%; height: auto; display: block; }
.entry-content { font-size: 18px; line-height: 1.75; color: var(--ink); }
.entry-content > * + * { margin-top: 24px; }
.entry-content h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: 30px; line-height: 1.2; margin-top: 48px; }
.entry-content h3 { font-family: 'DM Serif Display', Georgia, serif; font-size: 23px; line-height: 1.25; margin-top: 36px; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li + li { margin-top: 8px; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 24px; font-family: 'DM Serif Display', Georgia, serif; font-size: 24px; line-height: 1.4; color: var(--ink-deep); }
.entry-content img { max-width: 100%; height: auto; border-radius: 4px; }

/* ===== Case study ciljevi ===== */
.case-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.case-step { padding: 32px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 4px; }
.case-step-num { font-family: 'DM Serif Display', Georgia, serif; font-size: 40px; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.case-step-title { font-size: 18px; line-height: 1.45; color: var(--ink); font-weight: 600; }
.case-step-desc { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: #5f5d56; }

/* ===== Search ===== */
.search-results { max-width: 760px; }
.search-form { display: flex; gap: 12px; align-items: stretch; }
.search-field { flex: 1; background: #ffffff; border: 1px solid var(--line-soft); border-radius: 999px; padding: 14px 22px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; color: var(--ink); transition: border-color .2s; }
.search-field:focus { outline: none; border-color: var(--accent); }
.search-submit { white-space: nowrap; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Ciljevi sada nose i opis, pa tri stupca ispod ~900px stisnu tekst na
   nekoliko riječi po retku — prije jednog stupca ide međukorak s dva. */
@media (max-width: 900px) {
  .case-goals { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 600px) {
  .case-goals { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
  .search-submit { justify-content: center; }
}

/* ===== Footer pravni linkovi ===== */
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; position: static; background: none; border: 0; backdrop-filter: none; }
.footer-legal a, .footer-legal-btn {
  font-size: 13px; color: #6b6962; text-decoration: none;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; transition: color .2s;
}
.footer-legal a:hover, .footer-legal-btn:hover { color: var(--paper); }

/* ===== GDPR cookie banner ===== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  padding: 0 20px 20px;
  pointer-events: none;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  justify-content: space-between;
  background: var(--ink-deep); color: var(--paper);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 22px 26px;
  box-shadow: 0 18px 50px rgba(14,14,12,0.35);
  pointer-events: auto;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), opacity .45s ease;
}
.cookie-banner.is-visible .cookie-banner-inner { transform: translateY(0); opacity: 1; }
.cookie-banner-text { flex: 1 1 420px; min-width: 0; }
.cookie-banner-text strong {
  display: block; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.16em; margin-bottom: 6px;
}
.cookie-banner-text p { font-size: 14px; line-height: 1.6; color: rgba(250,248,244,0.82); margin: 0; }
.cookie-banner-text a { color: var(--accent-cyan); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.cookie-btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.28); }
.cookie-btn-ghost:hover { border-color: var(--paper); }
.cookie-btn-solid { background: var(--accent); color: #fff; }
.cookie-btn-solid:hover { background: #ff5c2a; }

@media (max-width: 720px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ===================================== */
/* BOOM UPITNIK (KVIZ)                    */
/* ===================================== */

/* ----- Legenda / upute (samo info, bez kartice) ----- */
.quiz-intro { background: var(--paper); padding: 56px 0 0; }
.quiz-legend {
  border: none;
  background: none;
  padding: 0;
  max-width: 820px;
}
.quiz-legend-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.quiz-legend-text { font-size: 16px; color: var(--ink); line-height: 1.6; margin-bottom: 18px; }
.quiz-legend-text strong { font-weight: 700; }
.quiz-legend-scale {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  font-size: 14px; color: var(--muted);
}
.quiz-legend-scale span { display: inline-flex; align-items: center; gap: 8px; }
.quiz-legend-scale b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 700;
}

/* ----- Stranica upitnika ----- */
.quiz-page { background: var(--paper); padding-top: 40px; }
.quiz-form { display: flex; flex-direction: column; gap: 0; }

/* ----- Stepper (koraci) — bijela kartica s krugovima i spojnicama ----- */
.quiz-stepper {
  display: flex; align-items: center;
  list-style: none; margin: 0 0 48px; padding: 18px 28px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: 0 10px 30px -22px rgba(43, 26, 47, 0.5);
}
.quiz-step { flex: 1; display: flex; align-items: center; margin: 0; min-width: 0; }
.quiz-step:last-child { flex: none; }
/* spojnica između koraka */
.quiz-step::after {
  content: ''; flex: 1; height: 2px; min-width: 16px;
  background: var(--line-soft); border-radius: 2px; margin: 0 14px;
  transition: background 0.3s;
}
.quiz-step:last-child::after { display: none; }
.quiz-step.is-done::after { background: var(--accent-cyan); }

.quiz-step-btn {
  flex: none;
  display: flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: default;
  font-family: inherit; text-align: left;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  transition: background 0.25s;
}
.quiz-step-num {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); color: var(--muted);
  border: 1.5px solid var(--line-soft);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px; font-weight: 400;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.quiz-step-name {
  font-size: 15px; font-weight: 600; color: var(--muted);
  letter-spacing: -0.01em; transition: color 0.3s; white-space: nowrap;
}
/* dovršeni korak — klikabilan natrag */
.quiz-step.is-done .quiz-step-btn { cursor: pointer; }
.quiz-step.is-done .quiz-step-num {
  background: var(--accent-cyan); color: var(--ink); border-color: var(--accent-cyan);
}
.quiz-step.is-done .quiz-step-name { color: var(--ink); }
.quiz-step.is-done .quiz-step-btn:hover { background: var(--paper); }
.quiz-step.is-done .quiz-step-btn:hover .quiz-step-num { transform: scale(1.06); }
.quiz-step.is-done .quiz-step-btn:hover .quiz-step-name { color: var(--accent); }
/* trenutni korak */
.quiz-step.is-current .quiz-step-num {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 8px 18px -8px rgba(234, 77, 26, 0.6);
}
.quiz-step.is-current .quiz-step-name { color: var(--ink); }

/* ----- Područje (jedan korak) ----- */
.quiz-area { display: flex; flex-direction: column; gap: 30px; }
.quiz-area[hidden] { display: none; }
.quiz-area.is-active { animation: quizStepIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes quizStepIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-area.is-active { animation: none; }
}
.quiz-area-head { margin-bottom: 8px; }
.quiz-area-of { color: var(--muted); font-weight: 500; }
.quiz-area-eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.quiz-area-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 400;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.05;
  margin-bottom: 8px;
}
.quiz-area-lead { font-size: 16px; color: var(--muted); line-height: 1.55; max-width: 760px; }

/* ----- Pojedino pitanje ----- */
.quiz-q {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #fff;
  padding: 26px 28px;
  margin: 0; min-width: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.quiz-q.quiz-q-error { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.quiz-q-head { display: flex; gap: 16px; align-items: flex-start; padding: 0; width: 100%; }
.quiz-q-num {
  flex: none;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px; font-style: italic; color: var(--accent-cyan);
  line-height: 1.2; min-width: 26px;
}
.quiz-q-text { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.4; letter-spacing: -0.01em; }
.quiz-q-hint {
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  margin: 14px 0 20px; padding-left: 42px;
  font-size: 16px; color: var(--muted); line-height: 1.55;
}
.quiz-q-hint span { display: inline-flex; gap: 8px; max-width: 46%; }
.quiz-q-hint b { color: var(--ink); font-weight: 700; }

/* ----- Skala 1–5 (kompaktni gumbi, grupirani lijevo) ----- */
.quiz-scale {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-left: 42px;
}
.quiz-opt {
  position: relative; cursor: pointer;
  flex: 0 0 54px;
  display: flex; align-items: center; justify-content: center;
}
.quiz-opt input {
  position: absolute; opacity: 0; width: 100%; height: 100%;
  margin: 0; cursor: pointer;
}
.quiz-opt-num {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 42px;
  border: 1px solid var(--line-soft); border-radius: 6px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 16px; color: var(--muted);
  background: var(--paper);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-opt:hover .quiz-opt-num { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.quiz-opt input:focus-visible + .quiz-opt-num { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz-opt.is-selected .quiz-opt-num,
.quiz-opt input:checked + .quiz-opt-num {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px rgba(234, 77, 26, 0.6);
}

/* ----- Wizard navigacija ----- */
.quiz-nav {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.quiz-submit-note { color: var(--accent); font-size: 15px; font-weight: 600; margin: 0; }
.quiz-nav-btns {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.quiz-back {
  background: none; border: none; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
}
.quiz-next {
  border: none; cursor: pointer; font-family: inherit;
  margin-left: auto;
}

/* ----- Rezultat ----- */
.quiz-results {
  margin-top: 64px;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-soft);
  background: #fff;
}
.quiz-results-head {
  background: var(--ink); color: var(--paper);
  text-align: center; padding: 56px 32px 48px;
  position: relative; overflow: hidden;
}
.quiz-results-head::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(142, 209, 217, 0.16), transparent 60%);
  pointer-events: none;
}
.quiz-results-eyebrow {
  position: relative;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent-cyan); font-weight: 600; margin-bottom: 16px;
}
.quiz-results-score {
  position: relative;
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1; margin-bottom: 18px;
}
.quiz-results-score #quiz-total {
  font-size: clamp(64px, 12vw, 110px); color: var(--accent); font-style: italic;
}
.quiz-results-max { font-size: 28px; color: rgba(250, 248, 244, 0.6); margin-left: 10px; }
.quiz-results-title {
  position: relative;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 34px); font-weight: 400;
  color: var(--paper); margin-bottom: 12px; line-height: 1.15;
}
.quiz-results-rec {
  position: relative;
  font-size: 17px; color: rgba(250, 248, 244, 0.8);
  max-width: 620px; margin: 0 auto; line-height: 1.6;
}

/* bars */
.quiz-results-bars {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px;
  padding: 48px clamp(28px, 5vw, 56px);
}
.quiz-bar-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.quiz-bar-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 19px; color: var(--ink);
}
.quiz-bar-score { font-size: 14px; color: var(--muted); }
.quiz-bar-score b { color: var(--ink); font-size: 17px; font-weight: 700; }
.quiz-bar-track {
  height: 8px; border-radius: 99px;
  background: var(--line-soft); overflow: hidden;
}
.quiz-bar-fill {
  height: 100%; width: 0%; border-radius: 99px;
  background: var(--accent-cyan);
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-bar.is-priority .quiz-bar-fill { background: var(--accent); }
.quiz-bar-priority {
  display: inline-block; margin-top: 8px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 600; color: var(--accent);
}

/* email capture */
.quiz-email {
  border-top: 1px solid var(--line-soft);
  padding: 40px clamp(28px, 5vw, 56px);
  background: var(--paper);
}
.quiz-email-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(20px, 2.4vw, 26px); font-weight: 400;
  color: var(--ink); margin-bottom: 22px; line-height: 1.2;
  max-width: 520px;
}
.quiz-email-form { max-width: 640px; }
.quiz-email-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 18px;
}
.quiz-email-form label {
  display: block;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 8px; font-weight: 500;
}
.quiz-email-form input[type="text"],
.quiz-email-form input[type="email"] {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 0 12px; font-family: inherit; font-size: 16px; color: var(--ink);
  transition: border-color 0.25s;
}
.quiz-email-form input[type="text"]:focus,
.quiz-email-form input[type="email"]:focus { outline: none; border-bottom-color: var(--accent); }
.quiz-email-consent {
  display: flex !important; align-items: flex-start; gap: 10px;
  text-transform: none !important; letter-spacing: normal !important;
  font-size: 14px !important; color: var(--muted) !important; font-weight: 400 !important;
  margin: 6px 0 20px; cursor: pointer;
}
.quiz-email-consent input { margin-top: 3px; accent-color: var(--accent); }
.quiz-email-btn { border: none; cursor: pointer; font-family: inherit; }
.quiz-email-privacy { font-size: 13px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.quiz-email-msg {
  margin-top: 16px; font-size: 14px; font-weight: 600; padding: 12px 16px; border-radius: 6px;
}
.quiz-email-msg--success { color: #1f7a4d; background: rgba(31, 122, 77, 0.08); }
.quiz-email-msg--error   { color: var(--accent); background: rgba(234, 77, 26, 0.08); }
.quiz-email-msg--pending { color: var(--muted); background: var(--line-soft); }
.quiz-email-form.is-sent .quiz-email-row,
.quiz-email-form.is-sent .quiz-email-consent,
.quiz-email-form.is-sent .quiz-email-btn,
.quiz-email-form.is-sent .quiz-email-privacy { display: none; }

/* results CTA */
.quiz-results-cta {
  border-top: 1px solid var(--line-soft);
  text-align: center; padding: 40px clamp(28px, 5vw, 56px) 48px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.quiz-results-cta p {
  font-size: 17px; color: var(--ink); line-height: 1.6; max-width: 560px; margin: 0;
}
.quiz-results-cta .quiz-restart {
  background: none; border: none; cursor: pointer; font-family: inherit;
}

/* ----- Sticky progress ----- */
.quiz-progress {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-soft);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-progress.is-active { transform: translateY(0); }
.quiz-progress-inner {
  max-width: 1280px; margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; gap: 20px;
}
.quiz-progress-label { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.quiz-progress-track {
  flex: 1; height: 6px; border-radius: 99px;
  background: var(--line-soft); overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; width: 0%; border-radius: 99px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .quiz-bar-fill, .quiz-progress-fill, .quiz-progress, .quiz-opt-num { transition: none; }
}

@media (max-width: 720px) {
  .quiz-q { padding: 22px 18px; }
  .quiz-q-hint, .quiz-scale { padding-left: 0; }
  .quiz-q-hint { font-size: 16px; }
  .quiz-q-hint span { max-width: 100%; }
  .quiz-scale { gap: 8px; }
  .quiz-opt { flex-basis: 48px; }
  .quiz-opt-num { height: 40px; font-size: 15px; }
  .quiz-area { gap: 22px; }
  .quiz-intro { padding-top: 40px; }
  .quiz-stepper { padding: 14px 16px; margin-bottom: 36px; }
  .quiz-step::after { margin: 0 8px; min-width: 10px; }
  .quiz-step-btn { padding: 4px; gap: 0; }
  .quiz-step-name { display: none; }
  .quiz-step-num { width: 38px; height: 38px; font-size: 16px; }
  .quiz-results-bars { grid-template-columns: 1fr; gap: 22px; }
  .quiz-progress-inner { padding: 10px 18px; }
}

/* ---------------------------------------------------------------------------
   Video embed (case study testimonial) — omjer 16:9, bez CLS-a pri učitavanju.
   --------------------------------------------------------------------------- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 800px;
  margin: 0 0 40px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink, #0E0E0C);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* aspect-ratio ne postoji u starijim preglednicima — padding-hack kao rezerva. */
@supports not (aspect-ratio: 16 / 9) {
  .video-embed { height: 0; padding-bottom: 56.25%; }
}

/* ---------------------------------------------------------------------------
   Opisni rezultati u case studyju (redak bez brojke).
   --------------------------------------------------------------------------- */
.results-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.results-numbers + .results-cards { margin-top: 40px; }

.result-card {
  background: #fff;
  border: 1px solid var(--line-soft, #E4E0D6);
  border-radius: 14px;
  padding: 28px 30px;
}

.result-card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #E5532A);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft, #E4E0D6);
}

.result-card-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .results-cards { grid-template-columns: 1fr; gap: 18px; }
  .result-card { padding: 22px 24px; }
}

/* ---------------------------------------------------------------------------
   Logo grid (stranica Klijenti) — svi logotipi odjednom, bez pomicanja.
   --------------------------------------------------------------------------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.logo-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line-soft, #E8D9DD);
  border-radius: 12px;
  /* padding (2x26) + max visina logotipa (80) — da ćelije ostanu jednake
     i u redovima gdje su svi logotipi niski. */
  min-height: 132px;
  transition: border-color .2s, transform .2s;
}

.logo-grid-item:hover {
  border-color: var(--accent, #EA4D1A);
  transform: translateY(-2px);
}

.logo-grid-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Logotipi su raznih boja i težina — sivilo ih ujednači, boja na hover. */
  filter: grayscale(1);
  opacity: .62;
  transition: filter .25s, opacity .25s;
}

.logo-grid-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 600px) {
  .logo-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
  .logo-grid-item { padding: 18px 14px; min-height: 96px; }
  .logo-grid-item img { max-height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-grid-item, .logo-grid-item img { transition: none; }
  .logo-grid-item:hover { transform: none; }
}

/* ---------------------------------------------------------------------------
   Klijent kartice (stranica Klijenti) — logo + jasnija hijerarhija.
   Logo je gore i odvojen linijom, naziv nosi karticu, CTA sjeda na dno
   kako bi se kartice u redu poravnale bez obzira na duljinu meta podataka.
   --------------------------------------------------------------------------- */
.client-grid { align-items: stretch; }

.client-card {
  position: relative;
  overflow: hidden;
  gap: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 32px 32px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.client-card.in-process { background: var(--paper, #FAF8F4); }

/* Akcentna traka se izvuče na hover — diskretniji signal od promjene okvira. */
.client-card::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: var(--accent, #E5532A);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s ease;
}
.client-card:hover::before { transform: scaleY(1); }
.client-card:hover {
  border-color: var(--line-soft, #E4E0D6);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(32, 26, 20, .08);
}

/* Naziv lijevo, logo desno — logo je oznaka, ne naslov kartice. */
.client-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft, #E4E0D6);
}
.client-card-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.client-card-logo img {
  max-height: 40px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Isti tretman kao u logo gridu — sivo u mirovanju, boja na hover. */
  filter: grayscale(1);
  opacity: .55;
  transition: filter .25s, opacity .25s;
}
.client-card:hover .client-card-logo img { filter: none; opacity: 1; }

.client-card .client-card-name {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 0;
  min-width: 0;
}
.client-card .client-card-meta {
  gap: 8px 18px;
  font-size: 13px;
  letter-spacing: .01em;
}
.client-card .btn-text {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 26px;
}

@media (max-width: 600px) {
  .client-card { padding: 24px 24px 26px; }
  .client-card-head { gap: 16px; min-height: 34px; margin-bottom: 16px; padding-bottom: 16px; }
  .client-card-logo img { max-height: 32px; max-width: 100px; }
  .client-card .client-card-name { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .client-card, .client-card::before, .client-card-logo img { transition: none; }
  .client-card:hover { transform: none; }
  .client-card:hover::before { transform: scaleY(1); }
}

/* ---------------------------------------------------------------------------
   Testimonial strelice na užim ekranima — 70px krug uz sam rub bio je
   prevelik i naslanjao se na viewport, pa ulazi unutar stagea.
   --------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .t-arrow { width: 52px; height: 52px; }
  .t-arrow svg { width: 28px; height: 28px; }
  .t-prev { left: -14px; }
  .t-next { right: -14px; }
}

@media (max-width: 480px) {
  .t-arrow { width: 44px; height: 44px; }
  .t-arrow svg { width: 24px; height: 24px; }
  .t-prev { left: -8px; }
  .t-next { right: -8px; }
}
