/* r76 the footer (Vedran 21.11: "redesign the footer so it's top of the tops professional", plus the company details Croatian law asks
   for: Zakon o elektroničkoj trgovini, čl. 6). Every page with <footer class="ft kc fx">. Everything is scoped to footer.ft.fx and the
   vf- classes, so the old fx- rules in r24.css match nothing any more.
   1 the closing line in two tones of chalk (the second beat bright, no lime), the two ways in beside its last line
   2 five link columns under one hairline
   3 the logo across the whole width in its white on ink version (the brand's default): lime keeps one job here, the button.
     Upright, untouched, no fade or glow, clear space all round
   4 the base line, then the legal line at the very bottom: small but readable (chalk at .5 is 4.9:1 on ink)
   The bottom padding keeps the last line clear of the floating pills (No 3D, the chat, the phone call button) at the end of the page. */

footer.ft.fx{--vf-fs:clamp(34px,5.4vw,68px);padding:clamp(88px,8.6vw,128px) 0 calc(76px + env(safe-area-inset-bottom,0px));
  background:radial-gradient(60% 46% at 0% 0%,rgba(243,245,240,.035),rgba(243,245,240,0) 72%),#0B0C0B;border-top:1px solid rgba(243,245,240,.08);color:#F3F5F0}

/* 1 the closing line, the two ways in at the end of its last line */
footer.ft.fx .vf-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}
footer.ft.fx .vf-h{grid-column:1/-1;grid-row:1;max-width:none;margin:0;padding-bottom:.08em;font-size:var(--vf-fs);font-weight:500;line-height:1.04;
  letter-spacing:-.045em;color:#F3F5F0}
footer.ft.fx .vf-h>span{display:block;text-wrap:balance}
footer.ft.fx .vf-h>.vf-dim{color:rgba(243,245,240,.46)}
footer.ft.fx .vf-ctas{grid-column:2;grid-row:1;display:flex;gap:10px;margin-bottom:calc(var(--vf-fs) * .2)}
footer.ft.fx .vf-ctas .pill span{display:inline-block;transition:transform .35s var(--ease)}
@media (hover:hover){footer.ft.fx .vf-ctas .pill.cta:hover span{transform:translateX(4px)}}
@media (min-width:640px) and (max-width:1079px){footer.ft.fx{--vf-fs:clamp(34px,6vw,62px)}}
@media (max-width:1079px){
  footer.ft.fx .vf-top{grid-template-columns:minmax(0,1fr)}
  footer.ft.fx .vf-ctas{grid-column:1;grid-row:2;margin:clamp(28px,3.6vw,38px) 0 0}
}

/* 2 the link columns: one row on desktop, spread edge to edge, so the last column ends where the buttons and the logo end */
footer.ft.fx .vf-nav{display:grid;grid-template-columns:repeat(5,max-content);justify-content:space-between;column-gap:32px;
  margin-top:clamp(72px,7.4vw,108px);padding-top:clamp(40px,4vw,56px);border-top:1px solid rgba(243,245,240,.1)}
footer.ft.fx .vf-k{margin:0 0 14px;font-size:13.5px;font-weight:600;line-height:1.3;letter-spacing:-.005em;color:rgba(243,245,240,.5)}
footer.ft.fx .vf-nav ul{display:grid;margin:0;padding:0;list-style:none}
footer.ft.fx .vf-nav a{display:inline-block;padding:6px 0;font-size:15.5px;font-weight:500;line-height:1.4;letter-spacing:-.005em;color:rgba(243,245,240,.8);
  text-decoration-line:underline;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:5px;transition:color .25s,text-decoration-color .25s}
footer.ft.fx .vf-nav a[aria-current="page"]{color:#F3F5F0;text-decoration-color:rgba(243,245,240,.32)}
footer.ft.fx .vf-x{display:inline-block;margin-left:2px;font-size:.84em;line-height:1;color:rgba(243,245,240,.42);transition:transform .35s var(--ease),color .25s}
@media (hover:hover){
  footer.ft.fx .vf-nav a:hover{color:#F3F5F0;text-decoration-color:rgba(243,245,240,.45)}
  footer.ft.fx .vf-nav a:hover .vf-x{color:#F3F5F0;transform:translate(2px,-2px)}
}
@media (max-width:1023px){footer.ft.fx .vf-nav{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:44px 24px}
  footer.ft.fx .vf-contact{grid-column:span 2}}

/* 3 the logo across the width: the master SVG as a mask, filled with chalk. It settles into place as it enters the screen and is
   home before it is fully in view (scroll-linked, a short rise only: always solid chalk, never faded, no bounce; still with reduced motion) */
footer.ft.fx .vf-mark{position:relative;display:block;width:100%;aspect-ratio:529.8/108.25;margin:clamp(88px,8.8vw,128px) 0 clamp(56px,6.2vw,88px);view-timeline-name:--vfm}
footer.ft.fx .vf-mark::before{content:"";position:absolute;inset:0}
@supports ((-webkit-mask-image:url("")) or (mask-image:url(""))){
  footer.ft.fx .vf-mark::before{background:#F3F5F0;-webkit-mask:url(../img/vizura-logo.svg) center/contain no-repeat;mask:url(../img/vizura-logo.svg) center/contain no-repeat}
}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    footer.ft.fx .vf-mark::before{animation:vf-rise linear both;animation-timeline:--vfm;animation-range:entry 0% entry 100%}
  }
}
@keyframes vf-rise{from{transform:translate3d(0,22%,0)}to{transform:none}}

/* 4 the base line, then the legal line at the very bottom */
footer.ft.fx .vf-base{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px 32px;padding-top:22px;
  border-top:1px solid rgba(243,245,240,.1);font-size:13.5px;line-height:1.5;color:rgba(243,245,240,.55)}
footer.ft.fx .vf-base p{margin:0}
footer.ft.fx .vf-base-r{display:flex;align-items:baseline;gap:28px}
footer.ft.fx .vf-base a{color:rgba(243,245,240,.82);transition:color .2s}
footer.ft.fx .vf-base a span{display:inline-block;transition:transform .35s var(--ease)}
@media (hover:hover){footer.ft.fx .vf-base a:hover{color:#F3F5F0}footer.ft.fx .vf-base a:hover span{transform:translateY(-3px)}}
footer.ft.fx .vf-legal{max-width:62em;margin:12px 0 0;font-size:12.5px;font-style:normal;font-weight:400;line-height:1.65;color:rgba(243,245,240,.5);text-wrap:balance}
footer.ft.fx .vf-nw{white-space:nowrap}
footer.ft.fx .vf-legal a{color:inherit;text-decoration-line:underline;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:3px;transition:color .2s,text-decoration-color .2s}
@media (hover:hover){footer.ft.fx .vf-legal a:hover{color:#F3F5F0;text-decoration-color:rgba(243,245,240,.45)}}

/* phones: the closing line scales with the screen (the last line never drops a word), the buttons full width on narrow phones, two
   link columns (contact across both, so the address never breaks), the legal line as a block */
@media (max-width:639px){
  footer.ft.fx{--vf-fs:clamp(28px,9vw,40px);padding-top:76px}
  footer.ft.fx .vf-ctas{flex-wrap:wrap;margin-top:30px}
  footer.ft.fx .vf-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 12px;margin-top:64px;padding-top:40px}
  footer.ft.fx .vf-contact{grid-column:1/-1}
  footer.ft.fx .vf-nav a{font-size:clamp(14px,4vw,15px)}
  footer.ft.fx .vf-mark{margin:72px 0 40px}
  footer.ft.fx .vf-base{flex-direction:column;align-items:stretch;gap:6px;padding-top:20px}
  footer.ft.fx .vf-base-r{justify-content:space-between}
  footer.ft.fx .vf-legal{margin-top:18px;line-height:1.6}
  footer.ft.fx .vf-legal .vf-li{display:block}
  footer.ft.fx .vf-legal .vf-sep:not(.vf-in){display:none}
}
@media (max-width:479px){
  footer.ft.fx .vf-ctas{flex-direction:column;gap:10px}
  footer.ft.fx .vf-ctas .pill{width:100%;min-height:52px}
}
@media (max-width:349px){footer.ft.fx .vf-nav{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){footer.ft.fx .vf-ctas .pill span,footer.ft.fx .vf-x,footer.ft.fx .vf-base a span{transition:none}}

/* r77 "Carved in light" (Vedran 21.11: "a footer nobody has ever seen"): the logo becomes a slab of black marble across the full width with
   the wordmark carved in relief and client names engraved; your cursor is the light (js/foot3.js). Until the stone is ready, or without
   WebGL, the chalk wordmark sits exactly where the carving will be. */
footer.ft.fx{overflow-x:clip}
footer.ft.fx .vf-mark.vf-stone{width:100vw;max-width:none;margin-left:calc(50% - 50vw);aspect-ratio:3.9/1;margin-top:clamp(56px,6vw,96px);margin-bottom:clamp(36px,4vw,64px)}
footer.ft.fx .vf-mark.vf-stone::before{inset:auto;left:8%;right:8%;top:10%;aspect-ratio:529.8/108.25;transition:opacity .9s}
footer.ft.fx .vf-mark.vf-stone.is-lit::before{opacity:0;animation:none}
footer.ft.fx .vf-cv{position:absolute;inset:0;display:block;width:100%;height:100%;opacity:0;transition:opacity 1.2s;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent),linear-gradient(180deg,transparent,#000 12%,#000 88%,transparent);mask-composite:intersect}
footer.ft.fx .vf-stone.is-lit .vf-cv{opacity:1}
@media (max-width:699px){footer.ft.fx .vf-mark.vf-stone{aspect-ratio:2/1;margin-top:56px;margin-bottom:28px}footer.ft.fx .vf-mark.vf-stone::before{left:5%;right:5%}}

/* r78 (Vedran 21.11: "the layout is the most ordinary and the CTA is broken; contact needs phone, email and WhatsApp; LinkedIn as an icon;
   no names; marble on the 3D"): the closing line with its two buttons right under it (left), a contact card beside it (right), four link
   columns, the marble wordmark, the base. The headline sizes itself to its column so the longest line never breaks. */
footer.ft.fx .vf-top{grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);gap:clamp(40px,6vw,96px);align-items:end}
footer.ft.fx .vf-say{container-type:inline-size;min-width:0}
footer.ft.fx .vf-say .eyebrow{margin:0 0 clamp(22px,2.4vw,30px)}
footer.ft.fx .vf-h{grid-column:auto;grid-row:auto;font-size:min(calc(100cqi / 12.6),68px)}
footer.ft.fx .vf-h>span{white-space:nowrap}
footer.ft.fx .vf-ctas{grid-column:auto;grid-row:auto;flex-wrap:wrap;gap:12px;margin:clamp(30px,3vw,42px) 0 0}
footer.ft.fx .vf-ctas .pill{min-height:54px;padding:0 26px;font-size:15.5px}
/* the contact card: three big rows you can't miss, the time in Zagreb and LinkedIn */
footer.ft.fx .vf-reach{display:grid;gap:8px;padding:10px;border-radius:24px;background:linear-gradient(180deg,#151615,#0f100f);
  box-shadow:inset 0 0 0 1px rgba(243,245,240,.09),0 50px 90px -50px rgba(0,0,0,.9)}
footer.ft.fx .vf-r{display:grid;grid-template-columns:48px minmax(0,1fr) 38px;align-items:center;gap:16px;padding:12px 12px 12px 12px;border-radius:16px;
  color:#F3F5F0;text-decoration:none;background:rgba(243,245,240,.02);box-shadow:inset 0 0 0 1px rgba(243,245,240,.05);transition:background .3s,box-shadow .3s}
footer.ft.fx .vf-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(243,245,240,.06);box-shadow:inset 0 0 0 1px rgba(243,245,240,.1)}
footer.ft.fx .vf-ic svg{width:22px;height:22px;fill:none;stroke:#F3F5F0;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
footer.ft.fx .vf-wa .vf-ic svg{width:21px;height:21px;fill:#F3F5F0;stroke:none}
footer.ft.fx .vf-rt{display:grid;gap:4px;min-width:0}
footer.ft.fx .vf-rt b{font-size:13px;font-weight:600;line-height:1.2;color:rgba(243,245,240,.5)}
footer.ft.fx .vf-rt span{font-size:clamp(16px,1.3vw,18.5px);font-weight:500;line-height:1.3;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-bottom:1px}
footer.ft.fx .vf-ra{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(243,245,240,.18);transition:background .3s,box-shadow .3s,transform .35s var(--ease)}
footer.ft.fx .vf-ra svg{width:15px;height:15px;fill:none;stroke:#F3F5F0;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s}
footer.ft.fx .vf-soc{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 6px 4px 14px}
footer.ft.fx .vf-clock{font-size:13.5px;line-height:1.3;color:rgba(243,245,240,.5)}
footer.ft.fx .vf-clock time{margin-left:4px;color:#F3F5F0;font-variant-numeric:tabular-nums}
footer.ft.fx .vf-si{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:rgba(243,245,240,.06);box-shadow:inset 0 0 0 1px rgba(243,245,240,.12);transition:background .3s}
footer.ft.fx .vf-si svg{width:18px;height:18px;fill:#F3F5F0;transition:fill .3s}
@media (hover:hover){
  footer.ft.fx .vf-r:hover{background:rgba(243,245,240,.055);box-shadow:inset 0 0 0 1px rgba(243,245,240,.12)}
  footer.ft.fx .vf-r:hover .vf-ra{background:#F3F5F0;box-shadow:none;transform:rotate(45deg)}
  footer.ft.fx .vf-r:hover .vf-ra svg{stroke:#0B0C0B}
  footer.ft.fx .vf-si:hover{background:#F3F5F0}footer.ft.fx .vf-si:hover svg{fill:#0B0C0B}
}
footer.ft.fx .vf-r:focus-visible,footer.ft.fx .vf-si:focus-visible{outline:2px solid #82FF1F;outline-offset:2px}
/* four link columns now (contact lives in the card) */
footer.ft.fx .vf-nav{grid-template-columns:repeat(4,max-content)}
@media (max-width:1079px){footer.ft.fx .vf-top{grid-template-columns:minmax(0,1fr);gap:44px}footer.ft.fx .vf-reach{max-width:620px}}
@media (max-width:1023px){footer.ft.fx .vf-nav{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:639px){footer.ft.fx .vf-h{font-size:clamp(28px,9vw,40px)}footer.ft.fx .vf-h>span{white-space:normal}
  footer.ft.fx .vf-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  footer.ft.fx .vf-r{grid-template-columns:44px minmax(0,1fr) 34px;gap:13px;padding:10px}footer.ft.fx .vf-ic{width:44px;height:44px}footer.ft.fx .vf-ra{width:34px;height:34px}
  footer.ft.fx .vf-ctas .pill{width:100%}}
/* the marble wordmark: no names any more, so the slab is lower and the carving sits in its middle */
footer.ft.fx .vf-mark.vf-stone{aspect-ratio:4.4/1}
footer.ft.fx .vf-mark.vf-stone::before{top:12.25%}
@media (max-width:699px){footer.ft.fx .vf-mark.vf-stone{aspect-ratio:3.2/1}footer.ft.fx .vf-mark.vf-stone::before{top:20.6%}}

/* r79 (Vedran 21.11): no repeated CTA or contact card after the last section. The closing line centred, five plain link columns (contact:
   phone, email, WhatsApp, LinkedIn, each with a small icon in the text colour), the stone, then a centred end: one base line and the legal
   details in two balanced lines, so the page ends on a clean horizontal edge. */
footer.ft.fx .vf{container-type:inline-size}
footer.ft.fx .vf-h.vf-hc{grid-column:auto;grid-row:auto;margin:0 auto;text-align:center;font-size:min(calc(100cqi / 12.4),78px)}
footer.ft.fx .vf-h.vf-hc>span{display:block;white-space:nowrap}
footer.ft.fx .vf-nav{grid-template-columns:repeat(5,max-content);justify-content:space-between}
footer.ft.fx .vf-cl{display:inline-flex!important;align-items:center;gap:10px}
footer.ft.fx .vf-cl svg{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.62;transition:opacity .25s}
footer.ft.fx .vf-cl svg[viewBox] path[d^="M17.47"],footer.ft.fx .vf-cl svg[viewBox] path[d^="M20.45"]{fill:currentColor;stroke:none}
@media (hover:hover){footer.ft.fx .vf-cl:hover svg{opacity:1}}
/* the end of the page, centred */
footer.ft.fx .vf-end{padding-top:26px;border-top:1px solid rgba(243,245,240,.1);text-align:center}
footer.ft.fx .vf-end .vf-base{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:6px 14px;margin:0;padding:0;border:0;font-size:13.5px;line-height:1.5;color:rgba(243,245,240,.55)}
footer.ft.fx .vf-end .vf-base i{font-style:normal;color:rgba(243,245,240,.28)}
footer.ft.fx .vf-end .vf-base a{color:rgba(243,245,240,.82)}
footer.ft.fx .vf-end .vf-legal{max-width:none;margin:14px auto 0;font-size:12.5px;line-height:1.7;color:rgba(243,245,240,.46);text-align:center;text-wrap:balance}
footer.ft.fx .vf-end .vf-legal .vf-l1,footer.ft.fx .vf-end .vf-legal .vf-l2{display:block}
@media (max-width:1079px){footer.ft.fx .vf-nav{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:44px 24px}}
@media (max-width:639px){footer.ft.fx .vf-h.vf-hc{font-size:min(calc(100cqi / 12.4),40px)}
  footer.ft.fx .vf-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  footer.ft.fx .vf-end .vf-base{gap:4px 10px;font-size:13px}
  footer.ft.fx .vf-end .vf-legal{font-size:12px;line-height:1.65}}
footer.ft.fx .vf-end .vf-legal .vf-l2>i{font-style:normal}
@media (max-width:639px){
  footer.ft.fx .vf-h.vf-hc{font-size:clamp(28px,8.8vw,40px)}footer.ft.fx .vf-h.vf-hc>span{white-space:normal;text-wrap:balance}
  footer.ft.fx .vf-end .vf-base{gap:6px 18px}footer.ft.fx .vf-end .vf-base i{display:none}
  footer.ft.fx .vf-end .vf-legal{font-size:11.5px}footer.ft.fx .vf-end .vf-legal .vf-l2>i{display:none}footer.ft.fx .vf-end .vf-legal .vf-l2>span{display:block}
  footer.ft.fx .vf-end .vf-legal .vf-l1{text-wrap:balance}}

/* r80 (Vedran 21.11: "delete the closing line, move the 3D to the very end, after the company details"): the footer opens on the link
   columns and ends on the carved stone */
footer.ft.fx .vf-nav{margin-top:0;padding-top:0;border-top:0}
footer.ft.fx .vf-end{margin-top:clamp(64px,6.4vw,96px)}
footer.ft.fx .vf-mark.vf-stone{margin-top:clamp(28px,3.4vw,52px);margin-bottom:0}
footer.ft.fx{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
@media (max-width:699px){footer.ft.fx .vf-mark.vf-stone{margin-top:24px;margin-bottom:0}}
/* r82 mobile pass: 44px tap targets in the footer */
@media (max-width:767px){footer.ft.fx .vf-nav a,footer.ft.fx .vf-cl{padding:11px 0}footer.ft.fx .vf-nav ul{gap:0}footer.ft.fx .vf-end .vf-base a{display:inline-block;padding:11px 0}}
/* c47: language switch, the current language reads as plain text */
.vf-lang a{white-space:nowrap}
html[lang="en"] .vf-lang a[lang="en"],html[lang="hr"] .vf-lang a[lang="hr"]{color:#F3F5F0;pointer-events:none}
