@charset "UTF-8";

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #181a1d;
  --ink-soft: #4e565e;
  --ink-faint: #727c85;
  --paper: #ffffff;
  --cool: #e8edf2;
  --mist: #f4f6f7;
  --lavender: #e9e7ed;
  --slate: #506c83;
  --slate-deep: #354c60;
  --dark: #181a1d;
  --dark-card: #1d2024;
  --dark-2: #22262b;
  --line: rgba(24, 26, 29, .12);
  --line-dark: rgba(255, 255, 255, .09);
  --white-soft: rgba(255, 255, 255, .72);
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 54px);
  --section: clamp(88px, 10vw, 148px);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

html[data-theme="dark"] body { background: #131518; color: #f7f8f9; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid #9db5c9;
  outline-offset: 4px;
  border-radius: 6px;
}

::selection { background: #b9cad8; color: #111315; }
.wrap { width: min(calc(100% - (2 * var(--gutter))), var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lang-en { display: none; }
html[lang="en"] .lang-sr { display: none; }
html[lang="en"] .lang-en { display: inline; }
p.lang-en, div.lang-en, section.lang-en { display: none; }
html[lang="en"] p.lang-en, html[lang="en"] div.lang-en, html[lang="en"] section.lang-en { display: block; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 18px;
  top: 12px;
  padding: 10px 16px;
  border-radius: var(--pill);
  background: #fff;
  color: #181a1d;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* Global chrome */
.announcement-bar {
  position: relative;
  z-index: 80;
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 7px 20px;
  background: #24272b;
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--line-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .03em;
}
.announcement-bar a { display: inline-flex; align-items: center; gap: 9px; }
.announcement-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4dd680;
  box-shadow: 0 0 0 4px rgba(77, 214, 128, .1);
}

.site-header {
  position: sticky;
  z-index: 70;
  top: 0;
  height: 88px;
  display: flex;
  align-items: center;
  background: rgba(24, 26, 29, .88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { height: 72px; background: rgba(24, 26, 29, .96); border-color: var(--line-dark); }
.nav-inner { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-logo, .footer-logo { width: 138px; height: auto; object-fit: contain; }
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 6px;
  border: 1px solid var(--line-dark);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .045);
}
.nav-links > a,
.services-menu > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: var(--pill);
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: color .2s ease, background .2s ease;
}
.nav-links > a:hover,
.services-menu > a:hover,
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-waas { box-shadow: none !important; }
.nav-cta,
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--slate);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-cta { flex: 0 0 auto; background: #fff; color: var(--ink); padding-inline: 24px; }
.nav-cta:hover, .button:hover { transform: translateY(-2px); }
.nav-cta:hover { background: var(--cool); }
.button:hover { background: var(--slate-deep); }
.button.secondary { background: transparent; border-color: currentColor; color: inherit; }
.button.secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.button.inverse { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(53, 76, 96, .3);
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: currentColor; }

.theme-toggle,
.language-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.6; }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }
.language-switch { gap: 4px; }
.language-switch button {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: .55;
}
.language-switch button[aria-pressed="true"] { border-color: var(--line-dark); background: rgba(255,255,255,.08); opacity: 1; }
.language-switch svg { width: 19px; border-radius: 2px; }
.menu-button { display: none; }

.services-menu { position: relative; display: flex; align-items: center; }
.services-menu > a { padding-right: 5px; }
.services-toggle {
  width: 30px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-left: -6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.services-toggle svg { width: 18px; fill: none; stroke: #fff; stroke-width: 1.8; transition: transform .2s ease; }
.services-menu.is-open .services-toggle svg { transform: rotate(180deg); }
.services-panel {
  position: absolute;
  z-index: 90;
  top: calc(100% + 18px);
  left: 50%;
  width: min(660px, 72vw);
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(29, 32, 36, .98);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
  transform: translateX(-42%);
}
.services-panel[hidden] { display: none; }
.services-panel::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.services-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 14px; border-bottom: 1px solid var(--line-dark); }
.services-panel-head span { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.services-panel-head a { font-size: 13px; color: #fff; }
.services-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 22px; padding-top: 10px; }
.services-panel-grid a { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 8px; min-height: 44px; border-radius: 9px; }
.services-panel-grid a:hover { background: rgba(255,255,255,.06); }
.services-panel-grid span { color: rgba(255,255,255,.38); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.services-panel-grid strong { font-size: 14px; font-weight: 550; }

/* Hero system */
.hero,
.page-hero,
.service-landing-hero,
.waas-page-hero,
.about-hero,
.case-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 75% at 8% 30%, rgba(105, 70, 56, .22), transparent 70%),
    radial-gradient(ellipse 55% 80% at 82% 28%, rgba(62, 105, 134, .34), transparent 72%),
    radial-gradient(ellipse 32% 50% at 55% 8%, rgba(102, 123, 139, .12), transparent 72%),
    var(--dark);
  color: #fff;
}
.hero::after,
.page-hero::after,
.service-landing-hero::after,
.waas-page-hero::after,
.about-hero::after,
.case-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero { min-height: min(850px, calc(100vh - 36px)); padding: clamp(90px, 10vw, 150px) 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(400px, .97fr); align-items: center; gap: clamp(44px, 7vw, 104px); }
.hero h1,
.page-hero h1,
.service-landing-hero h1,
.waas-page-hero h1,
.about-hero h1,
.case-hero h1 {
  max-width: 900px;
  margin: 20px 0 24px;
  font-size: clamp(54px, 6.2vw, 94px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero h1 { max-width: 760px; }
.hero h1 span, .hero h1 .accent-word { color: #fff; }
.hero-copy, .page-hero p, .service-landing-hero p, .waas-page-hero p, .about-hero p, .case-intro {
  max-width: 720px;
  color: rgba(255,255,255,.72);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.6;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--slate-deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero .eyebrow,
.page-hero .eyebrow,
.service-landing-hero .eyebrow,
.waas-page-hero .eyebrow,
.about-hero .eyebrow,
.case-hero .eyebrow,
.section.dark .eyebrow,
.trust-section .eyebrow,
.section.blue .eyebrow { color: #b4c7d6; }
.hero .button.primary, .hero .button:first-child { background: #fff; color: var(--ink); }
.hero .button:not(.primary):not(:first-child) { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.26); color: #fff; }
.hero .button:hover { background: var(--cool); color: var(--ink); }
.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(48px, 7vw, 92px);
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255,255,255,.52);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.browser-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  background: rgba(255,255,255,.97);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
}
.browser-frame::before, .browser-frame::after {
  content: "+";
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--slate);
  font: 12px "IBM Plex Mono", monospace;
  box-shadow: 0 0 0 1px var(--line);
}
.browser-frame::before { top: -12px; left: -12px; }
.browser-frame::after { right: -12px; bottom: -12px; }
.browser-bar { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--cool); border: 1px solid #c8d1d8; }
.browser-url, .browser-label { font: 10px "IBM Plex Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #68747d; }
.browser-body { padding: clamp(28px, 4vw, 56px); }
.browser-body h2 { margin: 15px 0 44px; font-size: clamp(36px, 4vw, 58px); font-weight: 520; line-height: 1; letter-spacing: -.045em; }
.delivery-map { border-top: 1px solid var(--line); }
.delivery-row { display: grid; grid-template-columns: 92px 1fr 26px; gap: 14px; align-items: center; min-height: 63px; border-bottom: 1px solid var(--line); }
.delivery-row span, .delivery-row em { font: 9px "IBM Plex Mono", monospace; color: #7b858d; font-style: normal; }
.delivery-row b { font-size: 14px; font-weight: 600; }

.page-hero, .service-landing-hero, .waas-page-hero, .about-hero, .case-hero { padding: clamp(88px, 10vw, 144px) 0 clamp(76px, 9vw, 132px); }
.page-hero .wrap, .service-landing-hero .wrap, .waas-page-hero .wrap, .about-hero .wrap { position: relative; }
.page-hero h1 { max-width: 1050px; }
.page-hero-editorial.wrap,
.page-hero-editorial > .wrap,
.waas-hero-editorial > .wrap { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 80px; align-items: end; }
.page-hero-editorial > .wrap > .editorial-image,
.waas-hero-editorial > .wrap > .editorial-image { max-height: 560px; }
.service-landing-hero .wrap { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.7fr); gap: 72px; align-items: end; }
.service-landing-panel { padding: 30px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.service-landing-panel > *:first-child { margin-top: 0; }
.case-hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(310px,.55fr); align-items: end; gap: 72px; }
.case-summary { padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.055); }

/* Sections and typography */
.section, .home-carousel-section, .case-media-section { padding: var(--section) 0; background: var(--paper); color: var(--ink); }
.section:nth-of-type(even):not(.dark):not(.blue),
.process-editorial-section,
.package-intro-section { background: var(--cool); }
.section.dark, .trust-section { background: var(--dark); color: #fff; }
.section.blue { position: relative; overflow: hidden; background: var(--slate); color: #fff; }
.section-title, .contact-title {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.lede, .contact-copy { max-width: 760px; margin: 22px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.45vw, 21px); }
.section.dark .lede, .section.blue .lede, .trust-section .lede { color: var(--white-soft); }
.section.blue .contact-copy,
.section.blue .contact-copy .beam-word-base { color: #fff; }
.section.blue .eyebrow,
.section.blue .eyebrow .beam-word-base { color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(48px, 8vw, 112px); align-items: start; }
.editorial-split { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(330px,.65fr); gap: clamp(48px,7vw,100px); align-items: center; }
.editorial-image { display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #dfe5e9; }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.editorial-wide { aspect-ratio: 16/8.2; margin-top: 50px; }

/* Portfolio */
.home-carousel-section { overflow: hidden; background: var(--mist); }
.projects-head, .news-head { position: relative; }
.projects-head > .text-link, .news-head > .text-link { position: absolute; top: 24px; right: 0; }
.home-project-carousel-viewport { width: 100vw; margin: 54px calc(50% - 50vw) 0; overflow: hidden; cursor: grab; }
.home-project-carousel-track { display: flex; width: max-content; will-change: transform; }
.home-project-carousel-track.is-dragging { cursor: grabbing; }
.home-project-carousel-group { display: flex; gap: 22px; padding-right: 22px; }
.home-project-carousel-group .portfolio-item { width: clamp(320px, 44vw, 690px); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(20px,3vw,38px); margin-top: 50px; }
.portfolio-item {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--dark-card);
}
.portfolio-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .65s var(--ease); }
.portfolio-item h2 { margin: 0; padding: 19px 22px 22px; background: var(--dark-card); color: #fff; font-size: clamp(20px,2vw,29px); font-weight: 520; line-height: 1.12; letter-spacing: -.025em; }
.portfolio-item:hover img { transform: scale(1.025); }
.portfolio-item:hover::after { transform: translate(0,0); }
.portfolio-item::after { content: "↗"; position: absolute; right: 16px; bottom: 17px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--slate); color: #fff; transform: translate(4px,4px); transition: transform .25s var(--ease); }
.portfolio-meta { display: flex; gap: 9px; flex-wrap: wrap; }
.filters, .news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.filter, .news-filter-button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.filter.active, .filter[aria-pressed="true"], .news-filter-button.is-active, .news-filter-button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Service and proof systems */
.service-list { margin-top: 50px; border-top: 1px solid currentColor; }
.service-row { display: grid; grid-template-columns: 90px minmax(250px,.75fr) minmax(300px,1.25fr); gap: 34px; align-items: start; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.section:not(.dark) .service-row { border-color: var(--line); }
.service-code { font: 11px "IBM Plex Mono", monospace; letter-spacing: .11em; color: #a8bdce; }
.service-row h3 { margin: 0; font-size: clamp(24px,3vw,38px); font-weight: 520; line-height: 1.06; letter-spacing: -.035em; }
.service-row p { margin: 2px 0 0; color: var(--white-soft); }
.section:not(.dark) .service-row p { color: var(--ink-soft); }
.service-row:hover h3 { color: #b9cfdf; }
.service-detail-grid, .service-feature-grid, .service-related-grid, .engagement-grid, .values-grid, .waas-grid, .comparison-grid, .fit-grid, .project-three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 42px;
}
.comparison-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.service-detail, .service-feature-card, .service-related-card, .engagement-grid > article, .values-grid > article, .waas-grid > article, .comparison-grid > article, .fit-card {
  padding: clamp(24px,3vw,38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
}
.section.dark .service-detail, .section.dark .service-feature-card, .section.dark .service-related-card, .section.dark .engagement-grid > article, .section.dark .values-grid > article {
  border-color: var(--line-dark);
  background: var(--dark-card);
}
.service-detail h2, .service-detail h3, .service-feature-card h3, .service-related-card h3, .engagement-grid h3, .values-grid h3, .fit-card h3 { margin: 0 0 14px; font-size: clamp(22px,2.2vw,31px); line-height: 1.1; letter-spacing: -.025em; }
.service-detail p, .service-feature-card p, .service-related-card p, .engagement-grid p, .values-grid p, .fit-card p { margin: 0; color: var(--ink-soft); }
.section.dark .service-detail p, .section.dark .service-feature-card p, .section.dark .service-related-card p, .section.dark .engagement-grid p, .section.dark .values-grid p { color: var(--white-soft); }
.service-checklist, .features, .plan-features { padding: 0; margin: 24px 0 0; list-style: none; }
.service-checklist li, .features li, .plan-features li { position: relative; padding: 12px 0 12px 27px; border-top: 1px solid var(--line); }
.service-checklist li::before, .features li::before, .plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--slate); font-weight: 800; }
.excluded-list li::before { content: "×"; }
.service-mini-grid, .service-process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-top: 38px; }

.credibility-head, .fit-head, .team-head, .package-intro-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.7fr); gap: 64px; align-items: end; }
.credibility-grid, .process-grid, .proof-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin-top: 54px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credibility-card, .process-step, .proof-item { padding: 34px 30px; border-right: 1px solid var(--line); }
.credibility-card:last-child, .process-step:last-child, .proof-item:last-child { border-right: 0; }
.credibility-card > span, .process-step > span, .proof-item > span { font: 10px "IBM Plex Mono",monospace; letter-spacing: .1em; color: var(--slate); }
.credibility-card h3, .process-step h3 { margin: 24px 0 12px; font-size: clamp(23px,2.2vw,32px); font-weight: 520; line-height: 1.1; letter-spacing: -.03em; }
.credibility-card p, .process-step p { margin: 0; color: var(--ink-soft); }
.process-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.process-editorial-section .process-grid { background: rgba(255,255,255,.5); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.credibility-strip, .proof-bar { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.credibility-strip a, .proof-bar > * { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-right: 1px solid var(--line); }
.credibility-strip a:last-child, .proof-bar > *:last-child { border-right: 0; }
.credibility-strip span, .proof-bar span { font: 10px "IBM Plex Mono",monospace; letter-spacing: .1em; color: var(--ink-faint); text-transform: uppercase; }
.credibility-strip strong, .proof-bar strong { font-size: clamp(22px,2.4vw,34px); font-weight: 540; letter-spacing: -.035em; }

.waas-overview .waas-benefits { border-top: 1px solid var(--line); }
.waas-benefits article { display: grid; grid-template-columns: 50px 1fr; gap: 6px 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.waas-benefits article > span { grid-row: 1 / span 2; font: 11px "IBM Plex Mono",monospace; color: var(--slate); }
.waas-benefits strong { font-size: 19px; }
.waas-benefits p { margin: 4px 0 0; color: var(--ink-soft); }

/* Testimonials */
.trust-layout { display: grid; grid-template-columns: minmax(300px,.7fr) minmax(0,1.3fr); gap: clamp(48px,7vw,104px); align-items: start; }
.trust-copy { position: sticky; top: 110px; }
.trust-carousel { overflow: hidden; }
.trust-track { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; transform: none !important; }
.trust-review-card { min-width: 0; padding: 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--dark-card); }
.trust-review-stars { color: #d4e0e8; letter-spacing: .13em; }
.trust-review-card blockquote { margin: 22px 0 30px; font-size: clamp(18px,1.5vw,22px); line-height: 1.48; color: rgba(255,255,255,.9); }
.trust-review-author { display: grid; grid-template-columns: 44px 1fr; gap: 1px 12px; align-items: center; }
.review-profile-link { grid-row: 1 / span 2; }
.review-profile-link img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-dark); }
.trust-review-author cite { grid-column: 2; font-style: normal; font-weight: 700; }
.trust-review-author > span { grid-column: 2; color: rgba(255,255,255,.5); font: 10px "IBM Plex Mono",monospace; letter-spacing: .06em; text-transform: uppercase; }
.trust-link { margin-top: 28px; }

/* Pricing */
.pricing-model-toggle { display: inline-flex; gap: 6px; padding: 6px; margin-top: 34px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255,255,255,.72); }
.pricing-model-option { min-height: 42px; padding: 8px 18px; border: 0; border-radius: var(--pill); background: transparent; cursor: pointer; font-weight: 650; }
.pricing-model-option[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pricing-model-note, .pricing-scope-note { max-width: 780px; margin-top: 18px; color: var(--ink-soft); }
.price-grid, .waas-price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 46px; }
.price-card, .waas-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(26px,3vw,40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.price-card.featured, .price-card[data-package="Standard"] { background: var(--dark-card); color: #fff; border-color: var(--dark-card); transform: translateY(-14px); }
.price-label, .plan-badge { display: inline-flex; align-self: flex-start; padding: 7px 11px; border: 1px solid currentColor; border-radius: var(--pill); font: 10px "IBM Plex Mono",monospace; letter-spacing: .08em; text-transform: uppercase; }
.price-display, .price { margin: 30px 0 10px; font-size: clamp(38px,4vw,58px); font-weight: 520; line-height: 1; letter-spacing: -.045em; }
.price-subline, .price-alt, .price-outcome { color: var(--ink-soft); }
.featured .price-subline, .featured .price-alt, .featured .price-outcome, .price-card[data-package="Standard"] .price-subline, .price-card[data-package="Standard"] .price-alt, .price-card[data-package="Standard"] .price-outcome { color: var(--white-soft); }
.price-cta { margin-top: auto; padding-top: 30px; }
.featured .features li, .price-card[data-package="Standard"] .features li { border-color: var(--line-dark); }

/* About */
.about-editorial, .story-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: clamp(48px,8vw,110px); align-items: start; }
.story-copy { font-size: clamp(16.15px,1.445vw,20.4px); line-height: 1.55; }
.story-copy p:first-child { margin-top: 0; }
.principles { margin-top: 32px; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principle strong { font: 11px "IBM Plex Mono",monospace; letter-spacing: .08em; color: var(--slate); text-transform: uppercase; }
.principle h3 { margin: 0 0 8px; font-size: clamp(23px,2.2vw,32px); line-height: 1.1; letter-spacing: -.025em; }
.principle p { margin: 0; color: var(--ink-soft); }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 46px; }
.person { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.person > img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; background: var(--cool); filter: saturate(.8); }
.person-copy { padding: 22px; }
.person h3 { margin: 0 0 5px; font-size: 24px; letter-spacing: -.02em; }
.person p { margin: 0; color: var(--ink-soft); }
.fit-positive { background: #f2f6f4; }
.fit-negative { background: #f5f2f1; }

/* News and articles */
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 48px; }
.news-card { min-height: 310px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.news-card h3, .news-card h2 { margin: 26px 0 14px; font-size: clamp(25px,2.6vw,36px); font-weight: 520; line-height: 1.08; letter-spacing: -.035em; }
.news-card p { margin: 0; color: var(--ink-soft); }
.news-meta { display: flex; justify-content: space-between; gap: 14px; color: var(--ink-faint); font: 10px "IBM Plex Mono",monospace; letter-spacing: .08em; text-transform: uppercase; }
.news-card .read { margin-top: auto; padding-top: 28px; color: var(--slate-deep); font-weight: 700; }
.news-list { margin-top: 42px; border-top: 1px solid var(--line); }
.news-row { display: grid; grid-template-columns: 180px 1fr; gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.news-row time, .source { color: var(--ink-faint); font: 11px "IBM Plex Mono",monospace; letter-spacing: .04em; }
.news-row h2 { margin: 0 0 10px; font-size: clamp(25px,2.5vw,36px); font-weight: 520; line-height: 1.1; letter-spacing: -.03em; }
.news-row p { margin: 0; color: var(--ink-soft); }
.news-feature-grid { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--dark); color: #fff; }
.news-feature-card img { width: 100%; height: 100%; object-fit: cover; }
.news-feature-content { padding: clamp(30px,5vw,64px); }
.news-feature-content p { color: var(--white-soft); }

.article-wrap { position: relative; max-width: 1120px; }
.article-wrap.has-toc { display: grid; grid-template-columns: 250px minmax(0,720px); justify-content: space-between; gap: 72px; }
.article-wrap.has-toc > .source, .article-wrap.has-toc > .article-pager, .article-wrap.has-toc > p:last-child { grid-column: 2; }
.article-content { max-width: 760px; font-size: clamp(17px,1.35vw,20px); line-height: 1.8; }
.article-content > p:first-child { margin-top: 0; font-size: 1.18em; color: #343b40; }
.article-content h2 { scroll-margin-top: 110px; margin: 70px 0 18px; font-size: clamp(31px,3.5vw,48px); font-weight: 520; line-height: 1.08; letter-spacing: -.04em; }
.article-content h3 { margin-top: 44px; font-size: 26px; line-height: 1.18; }
.article-content a { color: var(--slate-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-toc { position: sticky; top: 110px; align-self: start; padding-top: 2px; }
.article-toc > span { display: block; margin-bottom: 16px; font: 10px "IBM Plex Mono",monospace; letter-spacing: .1em; color: var(--ink-faint); text-transform: uppercase; }
.article-toc ol { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.article-toc li { border-bottom: 1px solid var(--line); }
.article-toc a { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 12px 0; font-size: 12px; line-height: 1.35; color: var(--ink-soft); }
.article-toc em { font: 9px "IBM Plex Mono",monospace; color: var(--slate); font-style: normal; }
.article-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 66px; }
.article-pager-card { min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.article-pager-label { font: 10px "IBM Plex Mono",monospace; color: var(--slate); text-transform: uppercase; }

/* Case studies */
.case-main-image { width: min(calc(100% - (2 * var(--gutter))), var(--wrap)); margin: clamp(42px,7vw,86px) auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cool); }
.case-main-image img { width: 100%; }
.case-story-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 48px; }
.case-story-grid > article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.case-story-grid h2, .case-story-grid h3 { margin: 0 0 14px; font-size: clamp(26px,2.8vw,38px); font-weight: 520; letter-spacing: -.03em; }
.case-delivery-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; }
.case-delivery-list { border-top: 1px solid var(--line); }
.case-delivery-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.case-context-links, .case-related-services { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.case-context-links a, .case-related-services a { padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--pill); font-size: 13px; }

/* Forms, contact, footer */
.contact-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(440px,1.22fr); gap: clamp(48px,8vw,110px); align-items: start; }
.contact-links { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.22); }
.contact-links a { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.contact-links span { font: 10px "IBM Plex Mono",monospace; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.contact-links strong { font-weight: 560; overflow-wrap: anywhere; }
.contact-form {
  padding: clamp(24px,3vw,42px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field.full, .form-consent, .form-plan-summary { grid-column: 1 / -1; }
.form-field label, .form-consent { font-size: 13px; font-weight: 650; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.form-field textarea { min-height: 145px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--slate); background: #fff; box-shadow: 0 0 0 3px rgba(80,108,131,.14); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; color: var(--ink-soft); }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--slate); }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-plan-summary { padding: 14px 16px; border-radius: 10px; background: var(--cool); }
.form-plan-summary span { display: block; color: var(--ink-soft); font-size: 13px; }
.contact-form .button { width: 100%; margin-top: 8px; }

.site-footer { padding: clamp(76px,9vw,124px) 0 30px; background: #141619; color: #fff; }
.site-footer::before { content: "Imate projekat na umu?"; display: block; width: min(calc(100% - (2 * var(--gutter))), var(--wrap)); margin: 0 auto 64px; padding-bottom: 42px; border-bottom: 1px solid var(--line-dark); font-size: clamp(44px,7vw,104px); font-weight: 500; line-height: .95; letter-spacing: -.055em; }
html[lang="en"] .site-footer::before { content: "Have a project in mind?"; }
.footer-grid { display: grid; grid-template-columns: minmax(260px,1.5fr) repeat(3,minmax(140px,.6fr)); gap: 48px; }
.footer-intro p, .site-footer p { color: rgba(255,255,255,.6); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h3 { margin: 0 0 10px; color: rgba(255,255,255,.64); font: 10px "IBM Plex Mono",monospace; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a, .footer-cookie-settings { color: rgba(255,255,255,.78); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-cookie-settings { padding: 0; border: 0; background: transparent; cursor: pointer; }
.social-links { display: flex; gap: 9px; margin-top: 12px; }
.social-links a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.social-links img { width: 17px; height: 17px; filter: grayscale(1) brightness(3); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.62); font: 10px "IBM Plex Mono",monospace; letter-spacing: .06em; text-transform: uppercase; }

.news-meta span,
.news-meta time,
.credibility-strip a > span { color: #59636c; }

.legal-layout { max-width: 780px; }
.legal-layout h2 { margin: 54px 0 14px; font-size: clamp(28px,3vw,42px); letter-spacing: -.035em; }
.legal-layout p, .legal-layout li { color: var(--ink-soft); }

.faq { border-top: 1px solid var(--line); }
.faq-item, .faq details { border-bottom: 1px solid var(--line); }
.faq-item summary, .faq details summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 48px 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.faq-item summary::-webkit-details-marker, .faq details summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .faq details summary::after { content: "+"; position: absolute; right: 4px; font: 24px/1 "IBM Plex Mono", monospace; color: var(--slate); transition: transform .25s ease; }
.faq-item[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); }
.faq-item > p, .faq details > p { max-width: 680px; margin: 0; padding: 0 48px 25px 0; color: var(--ink-soft); }

/* Consent and floating CTA */
.cookie-consent {
  position: fixed;
  z-index: 200;
  left: 18px;
  bottom: 18px;
  width: min(440px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.98);
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}
.cookie-consent__eyebrow { margin: 0; font: 10px "IBM Plex Mono",monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.cookie-consent h2 { margin: 7px 0 8px; font-size: 24px; letter-spacing: -.02em; }
.cookie-consent p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.cookie-button { min-height: 38px; padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--pill); background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.cookie-button--primary { background: var(--slate); border-color: var(--slate); color: #fff; }
.cookie-consent__settings { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie-consent__row { display: flex; justify-content: space-between; gap: 20px; }
.cookie-consent__row span { display: block; color: var(--ink-soft); font-size: 12px; }
.cookie-switch input { width: 18px; height: 18px; accent-color: var(--slate); }

.floating-cta {
  position: fixed;
  z-index: 65;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  align-items: center;
  gap: 11px;
  min-width: 280px;
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--pill);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  transition: transform .25s var(--ease);
}
.floating-cta:hover { transform: translateY(-3px); }
.floating-cta-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--slate); color: #fff; }
.floating-cta-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.floating-cta strong, .floating-cta small { display: block; line-height: 1.2; }
.floating-cta strong { font-size: 13px; }
.floating-cta small { margin-top: 3px; color: var(--ink-faint); font-size: 10px; }
.floating-cta-arrow { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
body:has(.cookie-consent) .floating-cta { bottom: 18px; right: 18px; }

/* Motion: content remains visible unless enhancement initialized successfully. */
.reveal { opacity: 1 !important; transform: none !important; }
.split-word, .split-word > span, .beam-word, .beam-word-base { animation: none !important; transform: none !important; opacity: 1 !important; }
.beam-word-tint, .card-glow, .color-bends-canvas { display: none !important; }
.studio-js .studio-reveal { opacity: 0; transform: translateY(22px); transition: opacity .64s var(--ease) var(--studio-delay,0ms), transform .64s var(--ease) var(--studio-delay,0ms); }
.studio-js .studio-reveal.studio-in-view { opacity: 1; transform: translateY(0); }

html[data-theme="dark"] .section:not(.dark):not(.blue),
html[data-theme="dark"] .home-carousel-section,
html[data-theme="dark"] .case-media-section { background: #15181b; color: #f5f7f8; }
html[data-theme="dark"] .section:nth-of-type(even):not(.dark):not(.blue),
html[data-theme="dark"] .process-editorial-section,
html[data-theme="dark"] .package-intro-section { background: #1b1e22; }
html[data-theme="dark"] .lede,
html[data-theme="dark"] .section:not(.blue):not(.dark) p,
html[data-theme="dark"] .article-content > p:first-child { color: rgba(255,255,255,.68); }
html[data-theme="dark"] .portfolio-item,
html[data-theme="dark"] .service-detail,
html[data-theme="dark"] .service-feature-card,
html[data-theme="dark"] .service-related-card,
html[data-theme="dark"] .engagement-grid > article,
html[data-theme="dark"] .values-grid > article,
html[data-theme="dark"] .waas-grid > article,
html[data-theme="dark"] .comparison-grid > article,
html[data-theme="dark"] .fit-card,
html[data-theme="dark"] .news-card,
html[data-theme="dark"] .person,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .article-pager-card { background: var(--dark-card); color: #fff; border-color: var(--line-dark); }
html[data-theme="dark"] .principles, html[data-theme="dark"] .principle, html[data-theme="dark"] .news-row, html[data-theme="dark"] .news-list, html[data-theme="dark"] .article-toc ol, html[data-theme="dark"] .article-toc li { border-color: var(--line-dark); }

/* Responsive */
@media (max-width: 1120px) {
  .nav-links > a, .services-menu > a { padding-inline: 11px; font-size: 13px; }
  .nav-cta { padding-inline: 18px; }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(360px,.85fr); gap: 48px; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-detail-grid, .service-feature-grid, .service-related-grid, .engagement-grid, .values-grid, .waas-grid, .comparison-grid, .fit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --section: 86px; }
  .site-header { height: 74px; }
  .nav-inner { gap: 11px; }
  .brand-logo { width: 122px; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(24,26,29,.99);
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .services-menu > a { width: 100%; min-height: 48px; padding: 0 13px; }
  .menu-button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; }
  .menu-icon { display: grid; gap: 4px; }
  .menu-icon span { width: 18px; height: 1px; background: #fff; }
  .nav-cta { display: none; }
  .language-switch { margin-left: auto; }
  .services-menu { display: grid; grid-template-columns: 1fr 40px; }
  .services-toggle { grid-column: 2; grid-row: 1; width: 40px; height: 48px; }
  .services-panel { position: static; grid-column: 1 / -1; width: 100%; margin: 4px 0 8px; padding: 14px; transform: none; box-shadow: none; }
  .services-panel-grid { grid-template-columns: 1fr 1fr; }

  .hero { min-height: auto; padding-top: 84px; }
  .hero-grid, .service-landing-hero .wrap, .case-hero-grid, .page-hero-editorial.wrap, .page-hero-editorial > .wrap, .waas-hero-editorial > .wrap { grid-template-columns: 1fr; gap: 46px; }
  .hero h1, .page-hero h1, .service-landing-hero h1, .waas-page-hero h1, .about-hero h1, .case-hero h1 { font-size: clamp(50px,10vw,78px); }
  .browser-frame { max-width: 680px; }
  .hero-foot { flex-wrap: wrap; }
  .split, .editorial-split, .about-editorial, .story-grid, .contact-grid, .trust-layout, .case-delivery-grid { grid-template-columns: 1fr; gap: 48px; }
  .trust-copy { position: static; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .credibility-strip, .proof-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .credibility-strip a:nth-child(2), .proof-bar > *:nth-child(2) { border-right: 0; }
  .credibility-strip a:nth-child(-n+2), .proof-bar > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .price-grid, .waas-price-grid { grid-template-columns: 1fr; max-width: 720px; }
  .price-card.featured, .price-card[data-package="Standard"] { transform: none; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap.has-toc { grid-template-columns: 1fr; gap: 34px; }
  .article-toc { position: static; }
  .article-wrap.has-toc > .source, .article-wrap.has-toc > .article-pager, .article-wrap.has-toc > p:last-child { grid-column: 1; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; --section: 72px; --radius: 15px; }
  body { font-size: 16px; }
  .announcement-bar { min-height: 34px; font-size: 9px; padding-inline: 10px; text-align: center; }
  .announcement-link { display: none; }
  .site-header, .site-header.scrolled { height: 68px; }
  .theme-toggle { display: none; }
  .language-switch button { width: 31px; height: 31px; }
  .brand-logo { width: 112px; }
  .nav-links { left: 12px; right: 12px; }
  .services-panel-grid { grid-template-columns: 1fr; }
  .services-panel-head span { display: none; }

  .hero { padding: 72px 0 28px; }
  .hero h1, .page-hero h1, .service-landing-hero h1, .waas-page-hero h1, .about-hero h1, .case-hero h1 { margin-top: 15px; font-size: clamp(46px,14vw,64px); line-height: .98; }
  .page-hero, .service-landing-hero, .waas-page-hero, .about-hero, .case-hero { padding: 72px 0 76px; }
  .hero-copy, .page-hero p, .service-landing-hero p, .waas-page-hero p, .about-hero p, .case-intro { font-size: 17px; }
  .hero-foot { display: grid; margin-top: 48px; }
  .browser-body { padding: 28px 22px; }
  .browser-body h2 { margin-bottom: 28px; }
  .delivery-row { grid-template-columns: 70px 1fr 20px; min-height: 58px; gap: 8px; }
  .delivery-row b { font-size: 12px; }
  .section-title, .contact-title { font-size: clamp(39px,12vw,54px); }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .button { width: 100%; }

  .projects-head > .text-link, .news-head > .text-link { position: static; margin-top: 22px; }
  .home-project-carousel-viewport { margin-top: 34px; }
  .home-project-carousel-group { gap: 12px; padding-right: 12px; }
  .home-project-carousel-group .portfolio-item { width: min(84vw,390px); }
  .portfolio-grid, .news-grid, .trust-track, .service-detail-grid, .service-feature-grid, .service-related-grid, .engagement-grid, .values-grid, .waas-grid, .comparison-grid, .fit-grid, .project-three-grid, .case-story-grid, .team-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 9px; padding: 26px 0; }
  .service-row p { margin-top: 8px; }
  .service-mini-grid, .service-process-grid { grid-template-columns: 1fr 1fr; }
  .credibility-head, .fit-head, .team-head, .package-intro-head { grid-template-columns: 1fr; gap: 26px; }
  .credibility-grid, .process-grid, .proof-grid { grid-template-columns: 1fr; }
  .credibility-card, .process-step, .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .credibility-card:last-child, .process-step:last-child, .proof-item:last-child { border-bottom: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .credibility-strip, .proof-bar { grid-template-columns: 1fr; }
  .credibility-strip a, .proof-bar > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .credibility-strip a:last-child, .proof-bar > *:last-child { border-bottom: 0; }
  .editorial-wide { aspect-ratio: 4/3; }
  .principle { grid-template-columns: 1fr; gap: 12px; }
  .news-row { grid-template-columns: 1fr; gap: 12px; }
  .news-feature-grid { grid-template-columns: 1fr; }
  .article-pager { grid-template-columns: 1fr; }
  .article-content h2 { margin-top: 54px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full, .form-consent, .form-plan-summary { grid-column: 1; }
  .contact-grid { gap: 34px; }
  .contact-links a { grid-template-columns: 72px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { display: grid; margin-top: 48px; }
  .site-footer::before { margin-bottom: 46px; font-size: clamp(46px,13vw,68px); }
  .floating-cta { min-width: 0; grid-template-columns: 42px 1fr; max-width: calc(100vw - 36px); }
  .floating-cta-arrow { display: none; }
  .floating-cta > span:nth-child(2) { display: none; }
  .floating-cta {
    width: 54px;
    height: 54px;
    grid-template-columns: 42px;
    padding: 5px;
    border-radius: 50%;
  }
  .cookie-consent { bottom: 10px; left: 10px; width: calc(100vw - 20px); }
  body:has(.cookie-consent) .floating-cta { display: none; }
  .studio-js .studio-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 390px) {
  :root { --gutter: 16px; }
  .brand-logo { width: 104px; }
  .language-switch { gap: 0; }
  .language-switch button { width: 28px; }
  .hero h1, .page-hero h1, .service-landing-hero h1, .waas-page-hero h1, .about-hero h1, .case-hero h1 { font-size: clamp(43px,13.5vw,54px); }
  .section-title, .contact-title { font-size: 40px; }
  .delivery-row { grid-template-columns: 60px 1fr 16px; }
  .service-mini-grid, .service-process-grid, .footer-grid { grid-template-columns: 1fr; }
  .floating-cta { right: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .studio-js .studio-reveal { opacity: 1 !important; transform: none !important; }
  .home-project-carousel-track { transform: none !important; }
}

/* =========================================================
   HOME HERO — ROTATING BADGE V1
   2026-09-04
   ========================================================= */

.hero .hero-grid-single {
  display: block;
}

.hero .hero-content {
  width: 100%;
  max-width: 1280px;
}

.hero .hero-title {
  max-width: 1280px;
  margin: 22px 0 30px;
  font-size: clamp(62px, 7.2vw, 116px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.06em;
}

.hero .hero-title-static {
  display: block;
  color: #fff;
}

.hero .rotating-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
  padding: .09em .18em .14em;
  overflow: hidden;

  background: #B9D7E8;
  color: #11161A !important;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;

  box-shadow:
    0 8px 30px rgba(105,170,205,.10),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.hero .rotating-text {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  position: relative;
  color: #11161A !important;
  line-height: 1;
}

.hero .rotating-char {
  display: inline-block;
  color: #11161A !important;
  will-change: transform, opacity;
}

.hero .rotating-space {
  display: inline-block;
  width: .25em;
}

/* React Bits inspired vertical character movement */
@keyframes sh-rotating-char-in {
  from {
    transform: translateY(115%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes sh-rotating-char-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-120%);
    opacity: 0;
  }
}

.hero .rotating-text.is-entering .rotating-char {
  animation:
    sh-rotating-char-in
    .58s
    cubic-bezier(.22,.9,.32,1)
    both;
  animation-delay: var(--char-delay, 0ms);
}

.hero .rotating-text.is-leaving .rotating-char {
  animation:
    sh-rotating-char-out
    .42s
    cubic-bezier(.55,.05,.67,.19)
    both;
  animation-delay: var(--char-delay, 0ms);
}

.hero .hero-copy {
  max-width: 790px;
}

.hero .actions {
  margin-top: 34px;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
  }

  .hero .hero-title {
    font-size: clamp(54px, 10vw, 82px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 78px;
    padding-bottom: 28px;
  }

  .hero .hero-title {
    margin-top: 18px;
    font-size: clamp(43px, 12vw, 64px);
    line-height: .98;
    letter-spacing: -.055em;
  }

  .hero .rotating-badge {
    margin-top: 10px;
    padding: .13em .18em .17em;
    border-radius: 10px;
  }

  .hero .rotating-text {
    white-space: normal;
    flex-wrap: wrap;
  }

  .hero .hero-copy {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .rotating-text.is-entering .rotating-char,
  .hero .rotating-text.is-leaving .rotating-char {
    animation: none;
  }
}


/* =========================================================
   HOME HERO — ROTATING BADGE V2
   Dynamic badge width
   ========================================================= */

.hero .rotating-badge {
  position: relative;
  border-radius: 18px;
  transition: width .5s cubic-bezier(.22, .8, .3, 1);
}

.hero .rotating-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1;
}

@media (max-width: 640px) {
  .hero .rotating-badge {
    border-radius: 14px;
  }
}


/* =========================================================
   HOME HERO — ROTATING BADGE V3
   Fixed height + safer right padding
   ========================================================= */

.hero .rotating-badge {
  box-sizing: border-box;

  /* Levo ostaje skoro isto, desno dobija više prostora */
  padding-left: .18em;
  padding-right: .32em;
  padding-top: 0;
  padding-bottom: 0;

  /* Badge više ne menja visinu kada tekst izađe */
  height: 1.18em;
  min-height: 1.18em;

  align-items: center;
  justify-content: flex-start;

  border-radius: 20px;
}

.hero .rotating-text {
  height: 1em;
  min-height: 1em;
  align-items: center;
  line-height: 1;
}

@media (max-width: 640px) {
  .hero .rotating-badge {
    height: 1.22em;
    min-height: 1.22em;
    padding-left: .18em;
    padding-right: .32em;
    border-radius: 16px;
  }
}


/* HOME HERO — ROTATING BADGE V4
   Resize and text exit happen simultaneously */
.hero .rotating-badge {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero .rotating-text {
  position: relative;
  z-index: 0;
}


/* Preciznija sinhronizacija exit animacije i badge resize-a */
.hero .rotating-text.is-leaving .rotating-char {
  animation-delay: calc(var(--char-delay, 0ms) * .25);
}


/* =========================================================
   HOME HERO — ROTATING BADGE V5
   Larger radius + mobile single-line fix
   ========================================================= */

.hero .rotating-badge {
  border-radius: 24px;
}

@media (max-width: 640px) {
  .hero .rotating-badge {
    border-radius: 20px;

    /*
     * Tekst badge-a je malo manji od glavnog headline-a
     * kako bi i najduža poruka ostala u jednom redu.
     */
    font-size: clamp(30px, 9.4vw, 43px);
  }

  .hero .rotating-text {
    white-space: nowrap;
    flex-wrap: nowrap;
    width: max-content;
  }

  .hero .rotating-word,
  .hero .rotating-char,
  .hero .rotating-space {
    flex-shrink: 0;
  }
}


/* HOME HERO — Poppins font test */
.hero,
.hero h1,
.hero p,
.hero a,
.hero span,
.hero .eyebrow,
.hero .hero-foot {
  font-family: "Poppins", sans-serif;
}


/* HOME HERO — body copy font test */
.hero .hero-copy {
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}


/* HOME HERO — lighter body copy test */
.hero .hero-copy {
  font-weight: 300;
}


/* HOME HERO — softer body copy */
.hero .hero-copy {
  font-weight: 400;
  color: rgba(255,255,255,.64);
}


/* =========================================================
   HOME HERO — CTA + stronger glow
   ========================================================= */

/* Primary CTA matches rotating badge */
.hero .button.primary {
  background: #B9D7E8;
  border-color: #B9D7E8;
  color: #11161A;

  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.hero .button.primary:hover {
  background: #C7E1EF;
  border-color: #C7E1EF;
  color: #11161A;
}

/* Home hero glow — approximately 30% stronger */
.hero {
  background:
    radial-gradient(
      ellipse 65% 75% at 8% 30%,
      rgba(105, 70, 56, .29),
      transparent 70%
    ),
    radial-gradient(
      ellipse 55% 80% at 82% 28%,
      rgba(62, 105, 134, .44),
      transparent 72%
    ),
    radial-gradient(
      ellipse 32% 50% at 55% 8%,
      rgba(102, 123, 139, .16),
      transparent 72%
    ),
    var(--dark);
}


/* =========================================================
   HOME HERO — SIDE RAYS LAYER V1
   WebGL layer above background, below hero content
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero .hero-side-rays {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;
  pointer-events: none;
}

.hero .hero-side-rays canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 2;
}


/* HOME HERO — restore subtle base glow */
.hero {
  background:
    radial-gradient(
      ellipse 65% 75% at 8% 30%,
      rgba(105, 70, 56, .22),
      transparent 70%
    ),
    radial-gradient(
      ellipse 55% 80% at 82% 28%,
      rgba(62, 105, 134, .34),
      transparent 72%
    ),
    radial-gradient(
      ellipse 32% 50% at 55% 8%,
      rgba(102, 123, 139, .12),
      transparent 72%
    ),
    var(--dark);
}


/* HOME HERO — CTA size +30% */
.hero .actions .button {
  min-height: 56px;
  padding: 0 30px;
  font-size: 18px;
}

.hero .actions {
  gap: 18px;
}


/* HOME HERO — badge descender fix */
.hero .rotating-badge {
  height: 1.28em;
  min-height: 1.28em;
  padding-top: .03em;
  padding-bottom: .08em;
}

.hero .rotating-text {
  height: 1.10em;
  min-height: 1.10em;
  line-height: 1.08;
}

@media (max-width: 640px) {
  .hero .rotating-badge {
    height: 1.30em;
    min-height: 1.30em;
  }
}


/* =========================================================
   SITE HEADER — transparent
   ========================================================= */

.site-header,
.site-header.scrolled {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Mobile dropdown ostaje zaseban čitljiv panel */
@media (max-width: 900px) {
  .nav-links {
    background: rgba(24, 26, 29, .98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
}


/* =========================================================
   HOME HERO — compensate transparent header
   ========================================================= */

.hero {
  margin-top: -88px;
  padding-top: calc(90px + 88px);
}

@media (max-width: 900px) {
  .hero {
    margin-top: -74px;
    padding-top: calc(84px + 74px);
  }
}

@media (max-width: 680px) {
  .hero {
    margin-top: -68px;
    padding-top: calc(72px + 68px);
  }
}


/* =========================================================
   SITE HEADER — transparent at top, dark on scroll
   ========================================================= */

.site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(24, 26, 29, .94);
  border-bottom-color: var(--line-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}


/* SITE HEADER — scrolled state tuning */
.site-header {
  transition:
    height .3s var(--ease),
    background .7s var(--ease),
    border-color .7s var(--ease),
    backdrop-filter .7s var(--ease),
    box-shadow .7s var(--ease);
}

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


/* SITE HEADER — scrolled background color */
.site-header.scrolled {
  background: #4b5a61;
}


/* LANGUAGE SWITCH — real Serbian flag */
.language-switch [data-language="sr"] .language-flag-sr {
  display: block;
  width: 28px;
  height: 19px;
  object-fit: contain;
  flex: 0 0 auto;
}


/* LANGUAGE SWITCH — Serbian flag size match */
.language-switch [data-language="sr"] .language-flag-sr {
  width: 24px;
  height: 16px;
  object-fit: contain;
}


/* LANGUAGE SWITCH — Serbian flag final size */
.language-switch [data-language="sr"] .language-flag-sr {
  width: 20px;
  height: 13px;
  object-fit: contain;
}


/* LANGUAGE SWITCH — Serbian flag match UK proportions */
.language-switch [data-language="sr"] .language-flag-sr {
  width: 18px;
  height: 9px;
  object-fit: fill;
}


/* HOME HERO — heading size -5% */
.hero .hero-title {
  font-size: clamp(59px, 6.84vw, 110px);
}

@media (max-width: 900px) {
  .hero .hero-title {
    font-size: clamp(51px, 9.5vw, 78px);
  }
}

@media (max-width: 640px) {
  .hero .hero-title {
    font-size: clamp(41px, 11.4vw, 61px);
  }
}


/* HOME HERO — CTA typography */
.hero .actions .button {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}


/* =========================================================
   HOME PROJECT CAROUSEL — edge-to-edge cards
   ========================================================= */

.home-project-carousel-group {
  gap: 0;
  padding-right: 0;
}

.home-project-carousel-group .portfolio-item {
  border-radius: 0;
  border: 0;
}

@media (max-width: 680px) {
  .home-project-carousel-group {
    gap: 0;
    padding-right: 0;
  }
}


/* =========================================================
   HOME PROJECT CAROUSEL — image overlay titles V2
   ========================================================= */

.home-project-carousel-group .portfolio-item {
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Slika sada čini celu visinu kartice */
.home-project-carousel-group .portfolio-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Gradient: transparent gore, crn pri dnu */
.home-project-carousel-group .portfolio-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, .16) 64%,
    rgba(0, 0, 0, .58) 82%,
    rgba(0, 0, 0, .92) 100%
  );
}

/* Naziv projekta direktno preko slike */
.home-project-carousel-group .portfolio-item h2 {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 56px;
  bottom: 5px;

  margin: 0;
  padding: 0;

  background: transparent;
  color: #fff;

  font-size: clamp(20px, 2vw, 29px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: -.025em;
}

/* Nova filled circle arrow-up-right ikonica */
.home-project-carousel-group .portfolio-item::after {
  content: "";
  position: absolute;
  z-index: 3;

  right: 16px;
  bottom: 12px;

  width: 36px;
  height: 36px;

  background: #506c83;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 4.66h-6l-.117 .007a1 1 0 0 0 -.883 .993l.007 .117a1 1 0 0 0 .993 .883h3.584l-4.291 4.293l-.083 .094a1 1 0 0 0 1.497 1.32l4.293 -4.293v3.586l.007 .117a1 1 0 0 0 1.993 -.117v-6l-.007 -.117l-.029 -.149l-.035 -.105l-.054 -.113l-.071 -.111a1.01 1.01 0 0 0 -.097 -.112l-.09 -.08l-.096 -.067l-.098 -.052l-.11 -.044l-.112 -.03l-.126 -.017l-.075 -.003z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-2 4.66h-6l-.117 .007a1 1 0 0 0 -.883 .993l.007 .117a1 1 0 0 0 .993 .883h3.584l-4.291 4.293l-.083 .094a1 1 0 0 0 1.497 1.32l4.293 -4.293v3.586l.007 .117a1 1 0 0 0 1.993 -.117v-6l-.007 -.117l-.029 -.149l-.035 -.105l-.054 -.113l-.071 -.111a1.01 1.01 0 0 0 -.097 -.112l-.09 -.08l-.096 -.067l-.098 -.052l-.11 -.044l-.112 -.03l-.126 -.017l-.075 -.003z'/%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  pointer-events: none;

  transform: none;
  transition: transform .25s var(--ease);
}

.home-project-carousel-group .portfolio-item:hover::after {
  transform: scale(1.08);
}


/* =========================================================
   GLOBAL INNER HERO — transparent header compensation
   ========================================================= */

/* Desktop */
.page-hero,
.case-hero {
  margin-top: -88px;
  padding-top: calc(clamp(88px, 10vw, 144px) + 88px);
}

/* Tablet */
@media (max-width: 900px) {
  .page-hero,
  .case-hero {
    margin-top: -74px;
    padding-top: calc(84px + 74px);
  }
}

/* Mobile */
@media (max-width: 680px) {
  .page-hero,
  .case-hero {
    margin-top: -68px;
    padding-top: calc(72px + 68px);
  }
}




/* CASE STUDY — reduce space above project screenshot by 50% */
.case-media-section {
  padding-top: calc(var(--section) * 0.5);
}


/* CASE STUDY — reduce space below project screenshot by 50% */
.case-media-section {
  padding-bottom: calc(var(--section) * 0.5);
}


/* CASE STUDY — project screenshot spacing 25% of original */
.case-media-section {
  padding-top: calc(var(--section) * 0.25);
  padding-bottom: calc(var(--section) * 0.25);
}


/* CASE STUDY — project screenshot spacing 12.5% of original */
.case-media-section {
  padding-top: calc(var(--section) * 0.125);
  padding-bottom: calc(var(--section) * 0.125);
}


/* CASE STUDY — compact spacing around project screenshot */
.case-media-section {
  padding-top: 14px;
  padding-bottom: 14px;
}

@media (max-width: 900px) {
  .case-media-section {
    padding-top: 11px;
    padding-bottom: 11px;
  }
}

@media (max-width: 680px) {
  .case-media-section {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}


/* CASE STUDY — fixed spacing around project screenshot */
.case-media-section {
  padding-top: 50px;
  padding-bottom: 50px;
}


/* =========================================================
   CASE STUDY — exact 50px spacing around main screenshot
   ========================================================= */

/* Hero ne dodaje dodatni prostor pre screenshot sekcije */
.case-hero {
  padding-bottom: 0;
}

/* Tačno 50px iznad i ispod screenshot-a */
.case-media-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Sledeća sekcija ne dodaje još jedan veliki top padding */
.case-media-section + .section {
  padding-top: 0;
}


/* =========================================================
   CASE STUDY — context cards full width
   ========================================================= */

.case-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.case-story-grid > article {
  width: 100%;
  height: 100%;
}

/* Mobile ostaje čitljiv */
@media (max-width: 680px) {
  .case-story-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* CASE STUDY — 30px spacing at bottom of hero */
.case-hero {
  padding-bottom: 30px;
}


/* CASE STUDY — 50px spacing at bottom of hero */
.case-hero {
  padding-bottom: 50px;
}


/* CASE STUDY — clickable project screenshot */
.case-main-image-link {
  display: block;
  cursor: pointer;
}

.case-main-image-link .case-main-image {
  display: block;
  width: 100%;
}


/* CASE STUDY — visit website CTA */
.case-story-site-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.case-story-site-button {
  min-height: 56px;
  padding: 0 30px;
  font-size: 18px;
}


/* CASE STORY CTA — inside the two-card grid */
.case-story-grid .case-story-site-cta {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* CASE STUDY — related service cards inner padding */
.case-related-services .service-related-card {
  padding: 24px;
}


/* CASE STUDY — related service cards spacing + radius */
.case-related-services .service-related-card {
  padding: 35px;
  border-radius: 25px;
}



/* =========================================================
   CASE STUDIES — FINAL UNIFIED LAYOUT
   ========================================================= */

/* Hero završava sa 50px prostora */
.case-hero {
  padding-bottom: 50px;
}

/* Screenshot sekcija */
.case-media-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Ne sabiraj dodatni veliki padding sledeće sekcije */
.case-media-section + .section {
  padding-top: 0;
}

/* Screenshot link */
.case-main-image-link {
  display: block;
  width: 100%;
  cursor: pointer;
}

.case-main-image-link .case-main-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Dve story kartice — ista širina kao screenshot */
.case-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.case-story-grid > article {
  width: 100%;
  height: 100%;
}

/* Poseti sajt — ispod obe kartice */
.case-story-grid .case-story-site-cta {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Isti vizuelni pravac kao plavi home hero CTA */
.case-story-site-button {
  min-height: 56px;
  padding: 0 30px;
  border-color: #B9D7E8;
  background: #B9D7E8;
  color: #11161A;
  font-size: 18px;
  font-weight: 400;
}

.case-story-site-button:hover {
  border-color: #C7E1EF;
  background: #C7E1EF;
  color: #11161A;
}

/* Vraćamo originalni padding cele related-services sekcije */
.section:has(.case-related-services) {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

/* Ali same tri kartice imaju veći unutrašnji padding */
.case-related-services .service-related-card {
  padding: 35px;
  border-radius: 25px;
}

/* Responsive */
@media (max-width: 900px) {
  .case-story-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* =========================================================
   CASE STUDY — RESULT CTA BUTTONS
   Match home hero CTA sizing and typography
   ========================================================= */

.case-result-primary,
.case-result-secondary {
  min-height: 56px;
  padding: 0 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.case-result-secondary {
  background: transparent !important;
  color: #506c83 !important;
  border: 1px solid #506c83 !important;
  box-shadow: none !important;
}

.case-result-secondary:hover,
.case-result-secondary:focus-visible {
  background: rgba(80, 108, 131, 0.08) !important;
  color: #506c83 !important;
  border-color: #506c83 !important;
}


/* =========================================================
   GLOBAL TYPOGRAPHY
   Poppins headings / Instrument Sans body
   ========================================================= */

html,
body {
  font-family: "Instrument Sans", sans-serif;
}

/* Main headings */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.contact-title,
.page-hero h1,
.service-landing-hero h1,
.waas-page-hero h1,
.about-hero h1,
.case-hero h1 {
  font-family: "Poppins", sans-serif;
}

/* Buttons / CTAs */
.button,
.nav-cta,
.menu-button,
.filter,
.news-filter-button,
.floating-cta,
button,
input[type="submit"] {
  font-family: "Poppins", sans-serif;
}

/* Body / supporting copy */
p,
li,
a,
input,
textarea,
select,
label {
  font-family: "Instrument Sans", sans-serif;
}

/* Keep utility / technical labels in mono */
.eyebrow,
.service-code,
.delivery-row span,
.delivery-row em,
.credibility-card > span,
.process-step > span,
.proof-item > span,
.credibility-strip span,
.proof-bar span {
  font-family: "IBM Plex Mono", monospace;
}


/* =========================================================
   HOME PROJECTS — "Pogledajte sve projekte" as pill button
   ========================================================= */

.projects-head > .text-link {
  position: absolute;
  top: 24px;
  right: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;
  padding: 0 30px;

  border: 1px solid #506c83;
  border-radius: 999px;
  background: transparent;

  color: #506c83;
  text-decoration: none;
  box-shadow: none;

  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;

  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.projects-head > .text-link:hover {
  background: rgba(80, 108, 131, 0.08);
  color: #506c83;
  border-color: #506c83;
  transform: translateY(-1px);
}

.projects-head > .text-link:visited,
.projects-head > .text-link:focus,
.projects-head > .text-link:active {
  color: #506c83;
  text-decoration: none;
}

@media (max-width: 680px) {
  .projects-head > .text-link {
    position: static;
    margin-top: 22px;
  }
}


/* HOME — credibility intro text layout fix */
.credibility-section .credibility-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.credibility-section .credibility-head .lede {
  max-width: 620px;
  margin: 0;
}


/* HOME — credibility stats: reduce main text by 5% */
.credibility-strip strong {
  font-size: clamp(20.9px, 2.28vw, 32.3px);
}



/* =========================================================
   HOME — PROCESS SCROLL EXPAND
   ========================================================= */

.process-scroll-expand {
  position: relative;
  padding: 0;
  overflow: visible;
}

/* Normal fallback pre JS inicijalizacije */
.process-scroll-track {
  position: relative;
}

.process-scroll-stage {
  position: relative;
  width: 100%;
}

.process-scroll-copy {
  position: relative;
  z-index: 4;
  width: min(1200px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto 50px;
}

.process-scroll-title {
  max-width: 1000px;
}

.process-scroll-frame {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
}

.process-scroll-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.process-scroll-media {
  display: block;
  width: 100%;
  height: auto;
}

.process-scroll-after {
  position: relative;
  z-index: 5;
}


/* ===============================
   Activated scroll version
   =============================== */

.process-scroll-expand.process-scroll-ready .process-scroll-track {
  height: 255vh;
}

.process-scroll-expand.process-scroll-ready .process-scroll-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.process-scroll-expand.process-scroll-ready .process-scroll-copy {
  position: absolute;
  z-index: 5;

  top: clamp(92px, 10vh, 125px);
  left: max(
    var(--gutter),
    calc((100vw - 1200px) / 2)
  );

  width: min(1000px, calc(100vw - (var(--gutter) * 2)));
  margin: 0;

  pointer-events: none;
}

.process-scroll-expand.process-scroll-ready .process-scroll-title {
  margin-top: 15px;
  max-width: 980px;

  transform-origin: left top;
  will-change: transform;
}

.process-scroll-expand.process-scroll-ready .process-scroll-eyebrow {
  will-change: opacity, transform;
}


/* The image always occupies the full sticky stage.
   clip-path controls its visible starting size. */

.process-scroll-expand.process-scroll-ready .process-scroll-frame {
  position: absolute;
  z-index: 2;

  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;

  border-radius: 0;

  clip-path:
    inset(32% 16.5% 4% 16.5% round 24px);

  overflow: hidden;

  will-change: clip-path;
}

.process-scroll-expand.process-scroll-ready .process-scroll-picture {
  position: absolute;
  inset: 0;
}

.process-scroll-expand.process-scroll-ready .process-scroll-media {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  transform: scale(1.35);
  transform-origin: center;

  will-change: transform;
}


/* Steps appear normally after sticky animation */

.process-scroll-expand.process-scroll-ready .process-scroll-after {
  padding-top: var(--section);
  padding-bottom: var(--section);
  background: var(--cool);
}


/* Mobile: keep normal static design.
   This avoids an awkward 100vh pinned effect on phones. */

@media (max-width: 768px) {

  .process-scroll-expand.process-scroll-ready .process-scroll-track {
    height: auto;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-stage {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    padding: var(--section) 0 0;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-copy {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - (var(--gutter) * 2));
    margin: 0 auto 34px;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-title {
    transform: none !important;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-eyebrow {
    opacity: 1 !important;
    transform: none !important;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-frame {
    position: relative;
    inset: auto;

    width: calc(100% - (var(--gutter) * 2));
    height: auto;

    margin: 0 auto;

    clip-path: none !important;
    border-radius: 24px;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-picture,
  .process-scroll-expand.process-scroll-ready .process-scroll-media {
    position: relative;
    inset: auto;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-media {
    width: 100%;
    height: auto;
    transform: none !important;
  }
}


/* =========================================================
   HOME — PROCESS SCROLL EXPAND TUNING V2
   ========================================================= */

.process-scroll-title {
  max-width: none;
  width: max-content;
}

.process-scroll-title span {
  display: block;
  white-space: nowrap;
}

.process-scroll-expand.process-scroll-ready .process-scroll-title {
  max-width: none;
  width: max-content;
}

.process-scroll-expand.process-scroll-ready .process-scroll-track {
  height: 285vh;
}

@media (max-width: 1200px) {
  .process-scroll-title,
  .process-scroll-expand.process-scroll-ready .process-scroll-title {
    width: auto;
    max-width: 980px;
  }

  .process-scroll-title span {
    white-space: normal;
  }
}


/* =========================================================
   HOME — PROCESS SCROLL REVEAL TUNING V3
   ========================================================= */

.process-scroll-expand .process-scroll-stage {
  margin-top: 70px;
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .6s var(--ease),
    transform .6s var(--ease);
  will-change: opacity, transform;
}

.process-scroll-expand .process-scroll-stage.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.process-scroll-expand .process-scroll-title {
  transform-origin: center top;
}

.process-scroll-expand .process-scroll-title span {
  display: block;
}

.process-scroll-expand.process-scroll-ready .process-scroll-title {
  max-width: none;
}


/* =========================================================
   HOME — PROCESS SCROLL TUNING V4
   ========================================================= */

/* Ukloni veštački razmak koji je prethodno dodat */
.process-scroll-expand .process-scroll-stage,
.process-scroll-expand.process-scroll-ready .process-scroll-stage {
  margin-top: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Naslov nema fade/slide reveal */
.process-scroll-copy,
.process-scroll-title,
.process-scroll-eyebrow {
  opacity: 1;
}

/* Samo slika dobija fade + slide-up pre expand animacije */
.process-scroll-expand.process-scroll-ready .process-scroll-frame {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity .65s var(--ease),
    transform .65s var(--ease);
}

.process-scroll-expand.process-scroll-ready .process-scroll-frame.is-revealed {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   HOME — PROCESS UNIFIED SCROLL REVEAL V5
   Frame animation is controlled entirely by scroll JS
   ========================================================= */

.process-scroll-expand.process-scroll-ready .process-scroll-frame,
.process-scroll-expand.process-scroll-ready .process-scroll-frame.is-revealed {
  opacity: 1;
  transform: none;
  transition: none;
}


/* =========================================================
   HOME — PROCESS PAPER FLOW
   ========================================================= */

.process-paper-flow {
  position: absolute;
  z-index: 6;

  left: 50%;
  top: 32%;
  width: min(420px, 28vw);

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;

  opacity: 0;
  transform: translate3d(-50%, 22px, 0);

  pointer-events: none;
  will-change: opacity, transform;
}

.process-paper-step {
  min-width: 0;
}

.process-paper-kicker {
  display: block;
  margin-bottom: 7px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .10em;
  text-transform: uppercase;

  color: #506c83;
}

.process-paper-step p {
  margin: 0;

  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.025em;

  color: #171c22;
}

/* Don't show the notebook overlay in the static mobile version */
@media (max-width: 768px) {
  .process-paper-flow {
    display: none;
  }
}


/* =========================================================
   HOME — PROCESS PAPER FLOW V2
   Single column + larger typography
   ========================================================= */

.process-paper-flow {
  left: 50%;
  top: 29%;
  width: min(480px, 31vw);

  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;

  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.process-paper-step {
  min-width: 0;

  opacity: 0;
  transform: translate3d(0, 18px, 0);

  will-change: opacity, transform;
}

.process-paper-kicker {
  margin-bottom: 3px;

  font-size: 30px;
  line-height: 1.05;
  letter-spacing: .06em;
}

.process-paper-step p {
  font-size: 45px;
  line-height: 1.05;
  letter-spacing: -.035em;
}

/* Keep lines compact so all six steps fit on the notebook */
.process-paper-step + .process-paper-step {
  margin-top: 3px;
}


/* =========================================================
   HOME — PROCESS PAPER FLOW V3
   Phase 2: sequential notebook steps
   ========================================================= */

.process-scroll-expand.process-scroll-ready .process-scroll-track {
  height: 390vh;
}

.process-paper-flow {
  left: 50%;
  top: 26%;
  width: min(460px, 30vw);

  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;

  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.process-paper-step {
  margin: 0 !important;

  opacity: 0;
  transform: translate3d(0, 16px, 0);

  will-change: opacity, transform;
}

.process-paper-kicker {
  margin-bottom: 5px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .08em;

  color: #506c83;
}

.process-paper-step p {
  margin: 0;

  font-family: "Poppins", sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;

  color: #171c22;
}


/* =========================================================
   HOME — PROCESS PAPER FLOW V4
   Position + spacing
   ========================================================= */

.process-paper-flow {
  margin-left: 20px;
  gap: 15px;
}


/* Enough pinned scroll space for 6 delayed process steps */
.process-scroll-expand.process-scroll-ready .process-scroll-track {
  height: 560vh;
}


/* =========================================================
   HOME — PROCESS PAPER SPACING FIX
   ========================================================= */

.process-paper-flow {
  gap: 0 !important;
}

.process-paper-step {
  margin: 0 !important;
}

.process-paper-step + .process-paper-step {
  margin-top: 15px !important;
}


/* =========================================================
   HOME — PROCESS PAPER FLOW FINAL SPACING
   ========================================================= */

.process-paper-flow {
  display: flex !important;
  flex-direction: column !important;

  /* ukupno 40px desno od originalne pozicije */
  margin-left: 40px !important;

  /* pravi razmak između celih tačaka */
  gap: 32px !important;
  row-gap: 32px !important;
}

.process-paper-step,
.process-paper-step + .process-paper-step {
  margin: 0 !important;
  padding: 0 !important;
}


/* HOME — WaaS benefits vertical alignment */
.waas-overview .wrap.split {
  align-items: center;
}

.waas-overview .waas-benefits {
  align-self: center;
}


/* =========================================================
   HOME — TRUST REVIEWS SINGLE COLUMN
   ========================================================= */

/* Jedna široka kolona umesto dve */
.trust-section .trust-track {
  grid-template-columns: 1fr !important;
  gap: 16px;
}

/* Zadrži samo prvih 7 originalnih recenzija.
   Druga polovina je duplikat prvih 7. */
.trust-section .trust-review-card:nth-child(n+8) {
  display: none !important;
}

/* Širina raste, visina ostaje kao sada */
.trust-section .trust-review-card {
  width: 100%;
  height: 300px;
  min-height: 300px;
}

/* Na telefonu ne forsiramo desktop visinu */
@media (max-width: 680px) {
  .trust-section .trust-review-card {
    height: auto;
    min-height: 0;
  }
}


/* FLOATING CTA — Lazar avatar */
.floating-cta-icon {
  overflow: hidden;
  padding: 0;
}

.floating-cta-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
}


/* FLOATING CTA — Lazar transparent cutout */
.floating-cta-icon {
  overflow: hidden;
  padding: 0;
  background: #506c83;
}

.floating-cta-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 50%;
}


/* FLOATING CTA — white background behind Lazar cutout */
.floating-cta-icon {
  background: #fff !important;
}


/* FLOATING CTA — thin blue ring around avatar */
.floating-cta-icon {
  border: 0.5px solid #506c83;
  box-sizing: border-box;
}


/* FLOATING CTA — soft pulse around entire button */
.floating-cta {
  overflow: visible;
  isolation: isolate;
}

.floating-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  border: 1px solid rgba(185, 215, 232, .7);
  animation: floatingCtaPulse 2.4s ease-out infinite;
}

@keyframes floatingCtaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(185, 215, 232, .55);
    opacity: .9;
  }

  70% {
    box-shadow: 0 0 0 9px rgba(185, 215, 232, 0);
    opacity: .2;
  }

  100% {
    box-shadow: 0 0 0 9px rgba(185, 215, 232, 0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta::before {
    animation: none;
  }
}


/* FLOATING CTA — stronger pulse */
.floating-cta::before {
  border: 1.5px solid rgba(185, 215, 232, .95);
  animation: floatingCtaPulseStrong 2.2s ease-out infinite;
}

@keyframes floatingCtaPulseStrong {
  0% {
    box-shadow:
      0 0 0 0 rgba(185, 215, 232, .8),
      0 0 14px rgba(185, 215, 232, .35);
    opacity: 1;
  }

  65% {
    box-shadow:
      0 0 0 14px rgba(185, 215, 232, 0),
      0 0 20px rgba(185, 215, 232, .12);
    opacity: .45;
  }

  100% {
    box-shadow:
      0 0 0 16px rgba(185, 215, 232, 0),
      0 0 22px rgba(185, 215, 232, 0);
    opacity: 0;
  }
}


/* FLOATING CTA — subtitle + custom arrow */
.floating-cta small {
  font-size: 12px;
}

.floating-cta-arrow {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@media (max-width: 680px) {
  .floating-cta-arrow {
    display: none;
  }
}


/* FLOATING CTA — larger custom arrow */
.floating-cta-arrow {
  width: 28px;
  height: 28px;
}


/* FLOATING CTA — larger arrow, shifted left */
.floating-cta-arrow {
  width: 34px;
  height: 34px;
  transform: translateX(-10px);
}


/* FLOATING CTA — arrow full available height */
.floating-cta-arrow {
  width: 42px;
  height: 42px;
  max-width: none;
  object-fit: contain;
  transform: translateX(-10px);
}


/* FLOATING CTA — arrow position + gray tone */
.floating-cta-arrow {
  transform: translateX(-20px);
  filter: grayscale(1);
  opacity: .55;
}


/* FLOATING CTA — arrow 30% smaller */
.floating-cta-arrow {
  width: 29px;
  height: 29px;
}


/* PROCESS SCROLL — hold completed scene for ~3 extra scroll steps */
.process-scroll-expand.process-scroll-ready .process-scroll-track {
  height: 614vh;
}


/* PROCESS CARDS — headings 7% smaller */
.process-step h3 {
  font-size: clamp(21.4px, 2.05vw, 29.8px);
}


/* PROCESS CARDS — headings smaller to keep titles on one line */
.process-step h3 {
  font-size: clamp(20px, 1.8vw, 26px);
}


/* PROCESS CARDS — smaller headings so all fit in one line */
.process-step h3 {
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}


/* NEWS CARDS — headings 30% smaller */
.news-card h3,
.news-card h2 {
  font-size: clamp(17.5px, 1.82vw, 25.2px);
}


/* =========================================================
   HOME PROCESS — MOBILE SCROLL ANIMATION
   ========================================================= */
@media (max-width: 768px) {

  .process-scroll-expand.process-scroll-ready .process-scroll-track {
    position: relative !important;
    height: 614vh !important;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-stage {
    position: sticky !important;
    top: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100svh !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    z-index: 1 !important;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-media {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .process-scroll-expand.process-scroll-ready .process-scroll-copy {
    position: absolute !important;
    z-index: 3 !important;
    top: 13% !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    margin: 0 !important;
    pointer-events: none;
  }

  .process-scroll-expand .process-scroll-eyebrow {
    font-size: 9px !important;
    margin-bottom: 12px !important;
  }

  .process-scroll-expand .process-scroll-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(36px, 10vw, 46px) !important;
    line-height: .98 !important;
  }

  .process-scroll-expand .process-scroll-title span {
    display: block;
    white-space: normal !important;
  }

  .process-scroll-expand .process-paper-flow {
    z-index: 4 !important;
    width: min(68vw, 275px) !important;
    margin-left: 0 !important;
    gap: 11px !important;
    row-gap: 11px !important;
  }

  .process-scroll-expand .process-paper-step,
  .process-scroll-expand .process-paper-step + .process-paper-step {
    margin: 0 !important;
    padding: 0 !important;
  }

  .process-scroll-expand .process-paper-kicker {
    margin-bottom: 2px !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
  }

  .process-scroll-expand .process-paper-step p {
    font-size: 14px !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
  }
}


/* =========================================================
   HOME PROCESS — MOBILE TUNING V2
   ========================================================= */
@media (max-width: 768px) {

  /* Manji naslov da prirodnije legne na notebook */
  .process-scroll-expand .process-scroll-title {
    font-size: clamp(29px, 8vw, 34px) !important;
    line-height: 1 !important;
    letter-spacing: -0.035em !important;
  }

  /* Koraci 01–06 dodatnih 7px desno */
  .process-scroll-expand .process-paper-flow {
    margin-left: 7px !important;
  }

}


@media (max-width: 768px) {
  .process-scroll-title {
    transform-origin: top left !important;
    will-change: transform;
  }
}


/* =========================================================
   HOME PROCESS — MOBILE TITLE NATURAL WRAP V3
   ========================================================= */
@media (max-width: 768px) {

  /* Dva HTML spana više ne predstavljaju dva reda */
  .process-scroll-expand .process-scroll-title span {
    display: inline !important;
    white-space: inherit !important;
  }

  /* Dodaj pravi razmak između postojećih spanova */
  .process-scroll-expand .process-scroll-title span + span::before {
    content: " ";
  }

  /* Dok je naslov velik koristi normalan browser wrap */
  .process-scroll-expand .process-scroll-title {
    white-space: normal !important;
  }

  /*
   * Pred kraj animacije naslov je dovoljno mali
   * da može da stane u jedan red.
   */
  .process-scroll-expand .process-scroll-title.mobile-title-singleline {
    width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
  }
}


/* =========================================================
   HOME PROCESS — MOBILE TITLE V4
   ========================================================= */
@media (max-width: 768px) {

  .process-scroll-expand .process-scroll-title {
    width: max-content !important;
    max-width: calc(100vw - 150px) !important;
    white-space: normal !important;

    /* približno veličina sa trenutnog screenshota */
    font-size: clamp(31px, 8.6vw, 36px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
  }

  .process-scroll-expand .process-scroll-title span {
    display: block !important;
    white-space: nowrap !important;
  }

  /* ukloni razmak koji smo ranije generisali između spanova */
  .process-scroll-expand .process-scroll-title span + span::before {
    content: none !important;
  }

  /* stara single-line klasa više nema efekta */
  .process-scroll-expand .process-scroll-title.mobile-title-singleline {
    width: max-content !important;
    max-width: calc(100vw - 150px) !important;
    white-space: normal !important;
  }
}


/* =========================================================
   SITE GLARE HOVER
   Reusable glare effect for pricing + stat blocks
   ========================================================= */

.site-glare {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-glare::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;

  background: linear-gradient(
    -30deg,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,0.30) 69%,
    rgba(255,255,255,0) 80%
  );

  background-size: 300% 300%;
  background-repeat: no-repeat;
  background-position: -120% -120%;

  transition:
    background-position 800ms ease;
}

.site-glare:hover::after {
  background-position: 120% 120%;
}

/* sadržaj mora ostati iznad osnovne pozadine */
.site-glare > * {
  position: relative;
  z-index: 1;
}

/* Touch uređaji: nema zaglavljenog hover stanja */
@media (hover: none) {
  .site-glare::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-glare::after {
    transition: none;
  }
}


/* =========================================================
   GLOBAL GLARE HOVER
   Pricing cards + credibility/proof statistic blocks
   Based on GlareHover:
   white / .30 opacity / -30deg / 300% / 800ms
   ========================================================= */

.price-card,
.credibility-strip > a,
.proof-item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.price-card::after,
.credibility-strip > a::after,
.proof-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;

  background: linear-gradient(
    -30deg,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,.30) 70%,
    rgba(255,255,255,0) 80%,
    rgba(255,255,255,0) 100%
  );

  background-size: 300% 300%;
  background-repeat: no-repeat;
  background-position: -100% -100%;

  transition: background-position 800ms ease;
}

/* Samo uređaji koji zaista imaju hover */
@media (hover: hover) and (pointer: fine) {

  .price-card:hover::after,
  .credibility-strip > a:hover::after,
  .proof-item:hover::after {
    background-position: 100% 100%;
  }

}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  .price-card::after,
  .credibility-strip > a::after,
  .proof-item::after {
    transition: none;
  }

}


/* =========================================================
   HOME CREDIBILITY STRIP — SLATE BLUE
   ========================================================= */

.credibility-strip {
  background: #506c83;
  border-color: #506c83;
}

.credibility-strip > a {
  background: #506c83;
  color: #ffffff;
}

.credibility-strip > a span,
.credibility-strip > a strong {
  color: #ffffff;
}

/* vertikalne linije između kartica */
.credibility-strip > a + a {
  border-color: rgba(255,255,255,.22);
}


/* =========================================================
   GLOBAL CARD BORDER GLOW
   All cards except homepage .credibility-strip
   ========================================================= */

.sh-border-glow {
  --sh-edge-alpha: 0;
  --sh-fill-alpha: 0;
  --sh-cursor-angle: 45deg;
  --sh-mouse-x: 50%;
  --sh-mouse-y: 50%;
  --sh-glow-padding: 40px;

  position: relative;
  isolation: isolate;
  overflow: visible !important;
  transform: translate3d(0, 0, 0.01px);
}

/*
 * COLOR BORDER
 */
.sh-border-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 12;

  background:
    conic-gradient(
      from calc(var(--sh-cursor-angle) - 65deg),
      transparent 0deg,
      transparent 12deg,
      #c084fc 34deg,
      #f472b6 58deg,
      #38bdf8 82deg,
      transparent 108deg,
      transparent 360deg
    );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  mask-composite: exclude;

  opacity: var(--sh-edge-alpha);
  transition: opacity .22s ease-out;
}


/*
 * SOFT COLORED FILL NEAR CURSOR
 */
.sh-border-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 11;

  background:
    radial-gradient(
      circle at var(--sh-mouse-x) var(--sh-mouse-y),
      rgba(56,189,248,.22) 0%,
      rgba(192,132,252,.14) 20%,
      rgba(244,114,182,.08) 36%,
      transparent 58%
    ) !important;

  background-size: auto !important;
  background-position: 0 0 !important;
  background-repeat: no-repeat !important;

  opacity: var(--sh-fill-alpha);
  transition: opacity .22s ease-out;
}


/*
 * OUTER LIGHT
 */
.sh-border-glow > .sh-edge-light {
  position: absolute;
  inset: calc(var(--sh-glow-padding) * -1);
  border-radius: inherit;
  pointer-events: none;
  z-index: 10;

  opacity: var(--sh-edge-alpha);

  -webkit-mask-image:
    conic-gradient(
      from var(--sh-cursor-angle) at center,
      #000 0deg,
      #000 12deg,
      transparent 34deg,
      transparent 326deg,
      #000 348deg,
      #000 360deg
    );

  mask-image:
    conic-gradient(
      from var(--sh-cursor-angle) at center,
      #000 0deg,
      #000 12deg,
      transparent 34deg,
      transparent 326deg,
      #000 348deg,
      #000 360deg
    );

  transition: opacity .22s ease-out;
}

.sh-border-glow > .sh-edge-light::before {
  content: "";
  position: absolute;
  inset: var(--sh-glow-padding);
  border-radius: inherit;

  box-shadow:
    inset 0 0 0 1px hsl(40deg 80% 80% / 100%),
    inset 0 0 3px hsl(40deg 80% 80% / 50%),
    inset 0 0 8px hsl(40deg 80% 80% / 35%),
    inset 0 0 18px hsl(40deg 80% 80% / 22%),

    0 0 3px hsl(40deg 80% 80% / 45%),
    0 0 8px hsl(40deg 80% 80% / 30%),
    0 0 18px hsl(40deg 80% 80% / 20%),
    0 0 40px hsl(40deg 80% 80% / 10%);
}


/*
 * Fade completely when pointer leaves.
 */
.sh-border-glow:not(:hover)::before,
.sh-border-glow:not(:hover)::after,
.sh-border-glow:not(:hover) > .sh-edge-light {
  opacity: 0 !important;
  transition: opacity .55s ease-in-out;
}


/*
 * The blue homepage credibility strip keeps
 * the previous GlareHover effect only.
 */
.credibility-strip > a {
  --sh-edge-alpha: 0 !important;
  --sh-fill-alpha: 0 !important;
}


/*
 * Touch devices don't need pointer glow.
 */
@media (hover: none), (pointer: coarse) {
  .sh-border-glow::before,
  .sh-border-glow::after,
  .sh-border-glow > .sh-edge-light {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sh-border-glow::before,
  .sh-border-glow::after,
  .sh-border-glow > .sh-edge-light {
    transition: none !important;
  }
}


/* =========================================================
   WAAS BENEFIT CARDS
   BorderGlow only on TOP + BOTTOM edges
   ========================================================= */

.waas-benefits > article.sh-border-glow {
  overflow: visible !important;
}

/* ukloni glow fill iz unutrašnjosti kartice */
.waas-benefits > article.sh-border-glow::after {
  display: none !important;
}

/* ukloni veliki outer glow layer */
.waas-benefits > article.sh-border-glow > .sh-edge-light {
  display: none !important;
}

/*
 * Samo gornja i donja ivica.
 * Nema leve i desne linije.
 */
.waas-benefits > article.sh-border-glow::before {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  padding: 0;
  border-radius: 0;
  pointer-events: none;
  z-index: 12;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      #c084fc 22%,
      #f472b6 50%,
      #38bdf8 78%,
      transparent 100%
    ) top / 100% 1px no-repeat,

    linear-gradient(
      90deg,
      transparent 0%,
      #38bdf8 22%,
      #f472b6 50%,
      #c084fc 78%,
      transparent 100%
    ) bottom / 100% 1px no-repeat;

  -webkit-mask: none;
  mask: none;

  opacity: var(--sh-edge-alpha);
  transition: opacity .22s ease-out;

  filter:
    drop-shadow(0 0 4px rgba(192,132,252,.35))
    drop-shadow(0 0 7px rgba(56,189,248,.22));
}

/* kad miš izađe — nestani lagano */
.waas-benefits > article.sh-border-glow:not(:hover)::before {
  opacity: 0 !important;
  transition: opacity .55s ease-in-out;
}


/* =========================================================
   CASE STUDIES — HERO TITLE 30% SMALLER
   ========================================================= */

.case-hero h1 {
  font-size: clamp(38px, 4.35vw, 66px);
  line-height: 1;
  letter-spacing: -0.045em;
}

/* Tablet */
@media (max-width: 980px) {
  .case-hero h1 {
    font-size: clamp(35px, 7vw, 55px);
  }
}

/* Mobile */
@media (max-width: 680px) {
  .case-hero h1 {
    font-size: clamp(32px, 9.8vw, 45px);
    line-height: 1.02;
  }
}

/* Small mobile */
@media (max-width: 390px) {
  .case-hero h1 {
    font-size: clamp(30px, 9.5vw, 38px);
  }
}


/* =========================================================
   GLOBAL HERO SIDE RAYS
   ========================================================= */

.hero-side-rays {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-side-rays canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hero content always stays above WebGL rays */
.hero > :not(.hero-side-rays),
.page-hero > :not(.hero-side-rays),
.service-landing-hero > :not(.hero-side-rays),
.waas-page-hero > :not(.hero-side-rays),
.about-hero > :not(.hero-side-rays),
.case-hero > :not(.hero-side-rays) {
  position: relative;
  z-index: 1;
}


/* =========================================================
   CASE STUDY — PROJECT DOSSIER CARD
   ========================================================= */

.case-summary {
  position: relative;
  align-self: center;

  padding: 34px 34px 30px;

  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(185,215,232,.10),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      rgba(255,255,255,.075),
      rgba(255,255,255,.035)
    );

  box-shadow:
    0 26px 70px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.05);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  overflow: hidden;
}


/* Icy-blue accent line */
.case-summary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 44%;
  height: 2px;

  background: linear-gradient(
    90deg,
    #B9D7E8,
    rgba(185,215,232,.15)
  );
}


/* PROJECT label */
.case-summary > span {
  display: block;

  margin: 0 0 10px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .14em;
  text-transform: uppercase;

  color: #B9D7E8;
}


/* Project name */
.case-summary > strong {
  display: block;

  margin: 0 0 28px;

  font-family: "Poppins", sans-serif;
  font-size: clamp(27px, 2.2vw, 35px);
  font-weight: 500;

  line-height: 1.05;
  letter-spacing: -.035em;

  color: #fff;
}


/* DATA GRID */
.case-summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr;

  margin: 0;

  border-top: 1px solid rgba(255,255,255,.12);
}


/* Every data cell */
.case-summary dl > div {
  min-width: 0;

  padding: 18px 0;

  border-bottom: 1px solid rgba(255,255,255,.10);
}


/* Type gets full width */
.case-summary dl > div:first-child {
  grid-column: 1 / -1;
}


/* Year */
.case-summary dl > div:nth-child(2) {
  padding-right: 18px;

  border-right: 1px solid rgba(255,255,255,.10);
  border-bottom: 0;
}


/* Status */
.case-summary dl > div:nth-child(3) {
  padding-left: 18px;
  border-bottom: 0;
}


/* Labels */
.case-summary dt {
  margin: 0;

  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;

  letter-spacing: .12em;
  text-transform: uppercase;

  color: rgba(185,215,232,.72);
}


/* Values */
.case-summary dd {
  margin: 8px 0 0;

  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;

  color: rgba(255,255,255,.94);
}


/* Year becomes a stronger data point */
.case-summary dl > div:nth-child(2) dd {
  font-family: "Poppins", sans-serif;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -.03em;
}


/* STATUS PILL */
.case-summary dl > div:nth-child(3) dd {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  width: max-content;
  max-width: 100%;

  padding: 7px 10px;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;

  background: rgba(255,255,255,.055);

  font-size: 12px;
  line-height: 1.1;
}


/* Status dot */
.case-summary dl > div:nth-child(3) dd::before {
  content: "";

  flex: 0 0 auto;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #70d69a;

  box-shadow:
    0 0 0 3px rgba(112,214,154,.10),
    0 0 12px rgba(112,214,154,.26);
}


/* =========================================================
   CASE DOSSIER — MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .case-summary {
    padding: 27px 24px 24px;
    border-radius: 20px;
  }

  .case-summary > strong {
    margin-bottom: 24px;
    font-size: 27px;
  }

  .case-summary dl {
    grid-template-columns: 1fr;
  }

  .case-summary dl > div:first-child,
  .case-summary dl > div:nth-child(2),
  .case-summary dl > div:nth-child(3) {
    grid-column: 1;
    padding: 16px 0;

    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
  }

  .case-summary dl > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

}


/* CASE SUMMARY — thinner top accent */
.case-summary::before {
  display: block !important;
  height: 1px !important;
  opacity: .72;
}


/* =========================================================
   GLOBAL CTA SYSTEM
   PRIMARY   = start a project / contact
   SECONDARY = every other standard CTA
   ========================================================= */

/*
 * BASE — every standard button starts as SECONDARY.
 * Existing .primary/.secondary/.inverse rules are intentionally
 * overridden here so the whole site has one CTA system.
 */
a.button,
button.button {
  min-height: 56px;
  padding: 0 30px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: 1px solid #506c83 !important;
  border-radius: 999px;

  background: transparent !important;
  color: #506c83 !important;

  box-shadow: none !important;

  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;

  text-decoration: none;

  transition:
    background .22s ease,
    border-color .22s ease,
    color .22s ease,
    transform .22s ease;
}


/* SECONDARY hover */
a.button:hover,
button.button:hover {
  background: rgba(80,108,131,.08) !important;
  border-color: #506c83 !important;
  color: #506c83 !important;
  transform: translateY(-2px);
}


/* =========================================================
   PRIMARY CTA
   Contact / start-project actions
   ========================================================= */

a.button[href="/kontakt/"],
a.button[href="/kontakt"],
a.button[href^="/kontakt/?"],
a.button[href^="/kontakt/#"],
a.button[href="#kontakt"],
a.button[href^="#kontakt"],
.contact-form button.button[type="submit"],
.nav-cta,
.cta-primary {
  min-height: 56px;
  padding: 0 30px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border: 1px solid #506c83 !important;
  border-radius: 999px;

  background: #506c83 !important;
  color: #ffffff !important;

  box-shadow: none !important;

  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;

  text-decoration: none;
}


/* PRIMARY hover */
a.button[href="/kontakt/"]:hover,
a.button[href="/kontakt"]:hover,
a.button[href^="/kontakt/?"]:hover,
a.button[href^="/kontakt/#"]:hover,
a.button[href="#kontakt"]:hover,
a.button[href^="#kontakt"]:hover,
.contact-form button.button[type="submit"]:hover,
.nav-cta:hover,
.cta-primary:hover {
  background: #354c60 !important;
  border-color: #354c60 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}


/* =========================================================
   EXPLICIT SECONDARY OVERRIDE
   Useful if a future button points to /kontakt/
   but should visually remain secondary.
   ========================================================= */

.cta-secondary {
  border-color: #506c83 !important;
  background: transparent !important;
  color: #506c83 !important;
}


/* =========================================================
   SECONDARY CTA ON DARK BACKGROUNDS
   Same role, adapted for contrast.
   ========================================================= */

.hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]),
.page-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]),
.service-landing-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]),
.waas-page-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]),
.about-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]),
.case-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]),
.section.dark a.button:not([href^="/kontakt"]):not([href^="#kontakt"]),
.trust-section a.button:not([href^="/kontakt"]):not([href^="#kontakt"]) {
  border-color: rgba(255,255,255,.60) !important;
  background: transparent !important;
  color: #ffffff !important;
}

.hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]):hover,
.page-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]):hover,
.service-landing-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]):hover,
.waas-page-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]):hover,
.about-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]):hover,
.case-hero a.button:not([href^="/kontakt"]):not([href^="#kontakt"]):hover,
.section.dark a.button:not([href^="/kontakt"]):not([href^="#kontakt"]):hover,
.trust-section a.button:not([href^="/kontakt"]):not([href^="#kontakt"]):hover {
  background: rgba(255,255,255,.08) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}


/* Mobile */
@media (max-width: 680px) {
  a.button,
  button.button,
  .nav-cta,
  .cta-primary,
  .cta-secondary {
    min-height: 52px;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 16px;
  }
}


/* =========================================================
   PRIMARY CTA — GLARE HOVER
   Same sweep used on pricing cards
   ========================================================= */

a.button[href="/kontakt/"],
a.button[href="/kontakt"],
a.button[href^="/kontakt/?"],
a.button[href^="/kontakt/#"],
a.button[href="#kontakt"],
a.button[href^="#kontakt"],
.contact-form button.button[type="submit"],
.nav-cta,
.cta-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}


/* glare layer */
a.button[href="/kontakt/"]::before,
a.button[href="/kontakt"]::before,
a.button[href^="/kontakt/?"]::before,
a.button[href^="/kontakt/#"]::before,
a.button[href="#kontakt"]::before,
a.button[href^="#kontakt"]::before,
.contact-form button.button[type="submit"]::before,
.nav-cta::before,
.cta-primary::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;
  z-index: 2;

  border-radius: inherit;

  background: linear-gradient(
    -30deg,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,.30) 70%,
    rgba(255,255,255,0) 80%,
    rgba(255,255,255,0) 100%
  );

  background-size: 300% 300%;
  background-repeat: no-repeat;
  background-position: -100% -100%;

  transition: background-position 800ms ease;
}


/* Run only on real hover devices */
@media (hover: hover) and (pointer: fine) {

  a.button[href="/kontakt/"]:hover::before,
  a.button[href="/kontakt"]:hover::before,
  a.button[href^="/kontakt/?"]:hover::before,
  a.button[href^="/kontakt/#"]:hover::before,
  a.button[href="#kontakt"]:hover::before,
  a.button[href^="#kontakt"]:hover::before,
  .contact-form button.button[type="submit"]:hover::before,
  .nav-cta:hover::before,
  .cta-primary:hover::before {
    background-position: 100% 100%;
  }

}


/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  a.button[href="/kontakt/"]::before,
  a.button[href="/kontakt"]::before,
  a.button[href^="/kontakt/?"]::before,
  a.button[href^="/kontakt/#"]::before,
  a.button[href="#kontakt"]::before,
  a.button[href^="#kontakt"]::before,
  .contact-form button.button[type="submit"]::before,
  .nav-cta::before,
  .cta-primary::before {
    transition: none;
  }

}


/* =========================================================
   PRICING CARDS — SLOWER GLARE
   800ms -> 1600ms
   ========================================================= */

.price-card::after {
  transition: background-position 1600ms ease !important;
}


/* =========================================================
   GLARE CARDS — AUTHORITATIVE OVERRIDE
   Price + stats/results NEVER use BorderGlow
   ========================================================= */

/* remove BorderGlow layers if class is ever accidentally present */
.price-card.sh-border-glow::before,
.proof-item.sh-border-glow::before,
.credibility-strip > a.sh-border-glow::before,
.price-card.sh-border-glow > .sh-edge-light,
.proof-item.sh-border-glow > .sh-edge-light,
.credibility-strip > a.sh-border-glow > .sh-edge-light {
  display: none !important;
}


/* Shared glare sweep */
.price-card::after,
.proof-item::after,
.credibility-strip > a::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 20;

  pointer-events: none;
  border-radius: inherit;

  background: linear-gradient(
    -30deg,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,.30) 70%,
    rgba(255,255,255,0) 80%,
    rgba(255,255,255,0) 100%
  ) !important;

  background-size: 300% 300% !important;
  background-repeat: no-repeat !important;
  background-position: -100% -100% !important;

  opacity: 1 !important;
}


/* Price cards — DOUBLE SLOW: 1600ms */
.price-card::after {
  transition: background-position 1600ms ease !important;
}


/* Stats/results — original speed: 800ms */
.proof-item::after,
.credibility-strip > a::after {
  transition: background-position 800ms ease !important;
}


@media (hover: hover) and (pointer: fine) {

  .price-card:hover::after,
  .proof-item:hover::after,
  .credibility-strip > a:hover::after {
    background-position: 100% 100% !important;
  }

}


/* touch */
@media (hover: none), (pointer: coarse) {
  .price-card::after,
  .proof-item::after,
  .credibility-strip > a::after {
    display: none !important;
  }
}


/* =========================================================
   PRICING CARDS — SITEWIDE REDESIGN
   ========================================================= */

[data-pricing-section] .price-grid,
[data-pricing-section] .waas-price-grid {
  align-items: stretch;
  gap: 22px;
}

[data-pricing-section] .price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px 38px 32px;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.10);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}

[data-pricing-section] .price-card:not(.featured):not([data-package="Standard"]) {
  background: #5e717c !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

[data-pricing-section] .price-card.featured,
[data-pricing-section] .price-card[data-package="Standard"] {
  background: #a9cbe2 !important;
  color: #13181d !important;
  border: 1px solid rgba(19,24,29,.10) !important;
  transform: translateY(-8px) scale(1.015);
  z-index: 2;
  box-shadow: 0 24px 52px rgba(65, 96, 122, 0.18);
}

[data-pricing-section] .price-card * {
  color: inherit;
}

[data-pricing-section] .price-card .plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #8d5cf6;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 26px rgba(74, 48, 146, 0.25);
  font: 700 11px "IBM Plex Mono", monospace;
  letter-spacing: .10em;
  text-transform: uppercase;
  white-space: nowrap;
}

[data-pricing-section] .price-card .price-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  font: 11px "IBM Plex Mono", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
  line-height: 1.5;
}

[data-pricing-section] .price-card .price-label span:first-child {
  opacity: 1;
}

[data-pricing-section] .price-card .price-label span:last-child {
  opacity: .80;
  text-align: right;
  max-width: 56%;
}

[data-pricing-section] .price-card .plan-intro {
  margin: 0 0 34px;
  font-size: 17px;
  line-height: 1.65;
  opacity: .94;
}

[data-pricing-section] .price-card .price-display {
  margin: 0 0 26px;
}

[data-pricing-section] .price-card .price {
  margin: 0;
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 520;
  line-height: .96;
  letter-spacing: -.055em;
  white-space: nowrap;
}

[data-pricing-section] .price-card .price-subline {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  opacity: .96;
}

[data-pricing-section] .price-card .price-alt {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  opacity: .74;
}

[data-pricing-section] .price-card .features.plan-features {
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.14);
}

[data-pricing-section] .price-card.featured .features.plan-features,
[data-pricing-section] .price-card[data-package="Standard"] .features.plan-features {
  border-top-color: rgba(19,24,29,.12);
}

[data-pricing-section] .price-card .features.plan-features li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

[data-pricing-section] .price-card.featured .features.plan-features li,
[data-pricing-section] .price-card[data-package="Standard"] .features.plan-features li {
  border-bottom-color: rgba(19,24,29,.10);
}

[data-pricing-section] .price-card .plan-fit {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}

[data-pricing-section] .price-card.featured .plan-fit,
[data-pricing-section] .price-card[data-package="Standard"] .plan-fit {
  border-top-color: rgba(19,24,29,.12);
}

[data-pricing-section] .price-card .plan-fit strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

[data-pricing-section] .price-card .plan-fit span {
  display: block;
  font-size: 16px;
  line-height: 1.65;
  opacity: .92;
}

[data-pricing-section] .price-card .price-cta {
  margin-top: 28px;
  align-self: stretch;
  justify-content: center;
}

[data-pricing-section] .pricing-scope-note {
  position: relative;
  margin-top: 28px;
  max-width: 980px;
  padding: 24px 28px 24px 30px;
  border: 1px solid rgba(94,113,124,.18);
  border-radius: 20px;
  background: rgba(94,113,124,.08);
  box-shadow: 0 10px 26px rgba(16,24,32,.04);
}

[data-pricing-section] .pricing-scope-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: #6f8796;
}

[data-pricing-section] .pricing-scope-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #24313a;
}

[data-pricing-section] .pricing-scope-note p {
  margin: 0;
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  [data-pricing-section] .price-card.featured,
  [data-pricing-section] .price-card[data-package="Standard"] {
    transform: translateY(-4px) scale(1.01);
  }

  [data-pricing-section] .price-card .price {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  [data-pricing-section] .price-grid,
  [data-pricing-section] .waas-price-grid {
    gap: 18px;
  }

  [data-pricing-section] .price-card {
    padding: 28px 24px 24px;
    border-radius: 20px;
  }

  [data-pricing-section] .price-card.featured,
  [data-pricing-section] .price-card[data-package="Standard"] {
    transform: none;
  }

  [data-pricing-section] .price-card .plan-badge {
    top: -12px;
    font-size: 10px;
    padding: 6px 14px;
  }

  [data-pricing-section] .price-card .price-label {
    font-size: 10px;
    gap: 10px;
  }

  [data-pricing-section] .price-card .price-label span:last-child {
    max-width: 58%;
  }

  [data-pricing-section] .price-card .plan-intro {
    margin-bottom: 26px;
    font-size: 16px;
  }

  [data-pricing-section] .price-card .price {
    font-size: clamp(34px, 10vw, 48px);
  }

  [data-pricing-section] .price-card .price-subline,
  [data-pricing-section] .price-card .price-alt,
  [data-pricing-section] .price-card .plan-fit span {
    font-size: 15px;
  }

  [data-pricing-section] .pricing-scope-note {
    padding: 22px 20px 22px 24px;
    border-radius: 16px;
  }

  [data-pricing-section] .pricing-scope-note strong {
    font-size: 21px;
  }

  [data-pricing-section] .pricing-scope-note p {
    font-size: 16px;
  }
}


/* =========================================================
   PRICING CARDS — HARD FIX V2
   Fixes:
   - badge style
   - package titles / top meta
   - overlapping text
   - overlapping checks
   - cleaner typography
   ========================================================= */

.price-grid,
.waas-price-grid {
  align-items: stretch;
  gap: 22px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 36px 38px 34px;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.10);
}

.price-card > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.price-card:not(.featured):not([data-package="Standard"]) {
  background: #5f727d !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

.price-card.featured,
.price-card[data-package="Standard"] {
  background: #a9cbe2 !important;
  color: #14191e !important;
  border: 1px solid rgba(20,25,30,.10) !important;
  transform: translateY(-8px) scale(1.015);
  z-index: 2;
  box-shadow: 0 24px 52px rgba(65, 96, 122, 0.16);
}

.price-card,
.price-card h1,
.price-card h2,
.price-card h3,
.price-card h4,
.price-card p,
.price-card li,
.price-card span,
.price-card strong,
.price-card b,
.price-card small,
.price-card a {
  color: inherit;
}

/* -------------------------
   Badge
   ------------------------- */

.price-card .plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #5b768d !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 22px rgba(58, 82, 101, 0.18);
  font: 700 11px "IBM Plex Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* -------------------------
   Gornji naziv paketa
   ------------------------- */

.price-card .price-label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
  border: 1px solid currentColor !important;
  border-radius: 999px !important;
  background: transparent !important;
  font: 11px "IBM Plex Mono", monospace !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  line-height: 1.25 !important;
  margin: 0 0 22px !important;
}

.price-card .price-label span {
  display: block !important;
  white-space: normal !important;
  line-height: 1.25 !important;
}

.price-card .price-label span:first-child {
  font-weight: 600 !important;
}

.price-card .price-label span:last-child {
  opacity: .72 !important;
  text-align: right !important;
  max-width: 56% !important;
}

/* -------------------------
   Uvodni opis
   ------------------------- */

.price-card > p:first-of-type {
  margin: 0 0 28px !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  opacity: .95 !important;
}

/* -------------------------
   Cena
   ------------------------- */

.price-card h3,
.price-card .price {
  margin: 0 !important;
  font-size: clamp(38px, 3.5vw, 60px) !important;
  font-weight: 520 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
}

/* -------------------------
   Redovi ispod cene
   Minimalni period / Od xxx €
   Reset da se ne preklapaju
   ------------------------- */

.price-card h3 + p,
.price-card .price + p {
  margin-top: 18px !important;
}

.price-card h3 + p,
.price-card .price + p,
.price-card h3 + p + p,
.price-card .price + p + p {
  display: block !important;
  position: static !important;
  white-space: normal !important;
  transform: none !important;
  letter-spacing: normal !important;
}

.price-card h3 + p,
.price-card .price + p {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  margin-bottom: 6px !important;
  opacity: .96 !important;
}

.price-card h3 + p + p,
.price-card .price + p + p {
  font-size: 16px !important;
  line-height: 1.45 !important;
  opacity: .76 !important;
  margin-bottom: 22px !important;
}

/* -------------------------
   Divider pre feature liste
   ------------------------- */

.price-card hr {
  width: 100%;
  height: 1px;
  border: 0;
  margin: 0 0 20px !important;
  background: rgba(255,255,255,.14);
}

.price-card.featured hr,
.price-card[data-package="Standard"] hr {
  background: rgba(20,25,30,.12);
}

/* -------------------------
   Lista feature-a
   uklanja sudar sa starim checkovima
   ------------------------- */

.price-card .features,
.price-card ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.14);
}

.price-card.featured .features,
.price-card[data-package="Standard"] .features,
.price-card.featured ul,
.price-card[data-package="Standard"] ul {
  border-top-color: rgba(20,25,30,.12);
}

.price-card .features li,
.price-card ul li {
  position: relative !important;
  list-style: none !important;
  padding: 13px 0 13px 28px !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.price-card.featured .features li,
.price-card[data-package="Standard"] .features li,
.price-card.featured ul li,
.price-card[data-package="Standard"] ul li {
  border-bottom-color: rgba(20,25,30,.10);
}

.price-card .features li::before,
.price-card ul li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 13px !important;
  font-size: 15px !important;
  line-height: 1 !important;
  color: currentColor !important;
  opacity: .82 !important;
}

.price-card .features li > svg,
.price-card .features li > i,
.price-card .features li > img,
.price-card .features li > .icon,
.price-card ul li > svg,
.price-card ul li > i,
.price-card ul li > img,
.price-card ul li > .icon {
  display: none !important;
}

/* -------------------------
   Završni pasus / best fit
   ------------------------- */

.price-card .plan-fit,
.price-card > p:last-of-type {
  margin-top: 22px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.price-card.featured .plan-fit,
.price-card[data-package="Standard"] .plan-fit,
.price-card.featured > p:last-of-type,
.price-card[data-package="Standard"] > p:last-of-type {
  border-top-color: rgba(20,25,30,.12);
}

.price-card .plan-fit strong,
.price-card > p:last-of-type strong,
.price-card .plan-fit b,
.price-card > p:last-of-type b {
  font-weight: 700 !important;
}

/* -------------------------
   CTA dugme na dnu
   ------------------------- */

.price-card .price-cta,
.price-card .button,
.price-card a.button {
  margin-top: 26px !important;
}

.price-card .price-cta:last-child,
.price-card .button:last-child,
.price-card a.button:last-child {
  margin-top: auto !important;
}

/* -------------------------
   Mobile
   ------------------------- */

@media (max-width: 980px) {
  .price-card.featured,
  .price-card[data-package="Standard"] {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (max-width: 680px) {
  .price-card {
    padding: 28px 24px 24px;
    border-radius: 20px;
  }

  .price-card.featured,
  .price-card[data-package="Standard"] {
    transform: none;
  }

  .price-card .price-label {
    gap: 12px !important;
    padding: 10px 12px !important;
    font-size: 10px !important;
  }

  .price-card .price-label span:last-child {
    max-width: 54% !important;
  }

  .price-card h3,
  .price-card .price {
    font-size: clamp(34px, 10vw, 48px) !important;
  }

  .price-card > p:first-of-type,
  .price-card .features li,
  .price-card ul li,
  .price-card h3 + p,
  .price-card .price + p,
  .price-card h3 + p + p,
  .price-card .price + p + p {
    font-size: 15px !important;
  }
}


/* =========================================================
   PRICING CARDS — TUNE V3
   - Standard subtitle in one line
   - smaller price font
   - remove one-time package callout
   ========================================================= */

/* 1) Srednja kartica: gornji naziv u jednom redu */
.price-card.featured .price-label,
.price-card[data-package="Standard"] .price-label {
  gap: 10px !important;
  padding: 10px 14px !important;
}

.price-card.featured .price-label span:first-child,
.price-card[data-package="Standard"] .price-label span:first-child {
  flex: 0 0 auto !important;
}

.price-card.featured .price-label span:last-child,
.price-card[data-package="Standard"] .price-label span:last-child {
  flex: 1 1 auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  text-align: right !important;
  font-size: 10px !important;
  letter-spacing: .06em !important;
  opacity: .72 !important;
}

/* 2) Smanjujemo font za cenu */
.price-card h3,
.price-card .price {
  font-size: clamp(30px, 2.8vw, 50px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
}

/* malo zbijamo razmak ispod cene */
.price-card h3 + p,
.price-card .price + p {
  margin-top: 14px !important;
}

/* 3) Izbacujemo callout za jednokratni paket: "Od 690 €", "Od 1490 €", itd */
.price-card h3 + p + p,
.price-card .price + p + p {
  display: none !important;
}


/* =========================================================
   PRICING CARDS — ALIGN BOTTOM DIVIDERS
   ========================================================= */

/*
 * Sve kartice su flex-column.
 * Feature lista raste koliko je potrebno kako bi
 * "Najbolje za" počinjao na istoj visini u svim karticama.
 */
.price-card .features.plan-features {
  flex: 1 1 auto !important;
}

/* "Najbolje za" ostaje fiksni završni blok */
.price-card .plan-fit {
  flex: 0 0 auto !important;
  margin-top: 22px !important;
}

/* CTA ostaje uredno na dnu */
.price-card .price-cta {
  flex: 0 0 auto !important;
  margin-top: 28px !important;
}


/* =========================================================
   PRICING — SINGLE DIVIDER + ALIGN "NAJBOLJE ZA"
   ========================================================= */

/* Ukloni donji border poslednje feature stavke.
   Ostaje samo divider koji pripada plan-fit bloku. */
.price-card .features.plan-features li:last-child,
.price-card .features li:last-child,
.price-card ul.plan-features li:last-child {
  border-bottom: 0 !important;
}

/* Lista popunjava prostor iznad završnog bloka */
.price-card .features.plan-features {
  flex: 1 1 auto !important;
}

/*
 * Sve tri kartice rezervišu identičan prostor
 * za "Najbolje za", pa njegov početak ostaje poravnat.
 */
.price-card .plan-fit {
  flex: 0 0 160px !important;
  min-height: 160px !important;
  height: 160px !important;

  box-sizing: border-box;
  margin-top: 0 !important;
  padding-top: 22px !important;

  border-top: 1px solid rgba(255,255,255,.14);
}

.price-card.featured .plan-fit,
.price-card[data-package="Standard"] .plan-fit {
  border-top-color: rgba(20,25,30,.12);
}

/* CTA ostaje ispod identično visokog plan-fit bloka */
.price-card .price-cta {
  flex: 0 0 auto !important;
  margin-top: 24px !important;
}

/* Na telefonu nema potrebe za veštački fiksiranom visinom */
@media (max-width:680px) {
  .price-card .plan-fit {
    flex-basis: auto !important;
    min-height: 0 !important;
    height: auto !important;
  }
}


/* =========================================================
   WAAS — INCLUDED CARDS DARK TEXT
   ========================================================= */

.waas-included .waas-grid > article,
.waas-included .waas-grid > article strong,
.waas-included .waas-grid > article p {
  color: #181a1d !important;
}

.waas-included .waas-grid > article p {
  opacity: .82;
}


/* WAAS FAQ — spacing below heading */
.faq {
  margin-top: 50px !important;
}


/* =========================================================
   CONTACT CTA — TITLE TUNE
   ========================================================= */

.contact-title {
  font-size: clamp(39.9px, 4.94vw, 72.2px);
}

.contact-title > span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .contact-title {
    font-size: clamp(37px, 11.4vw, 51px);
  }

  .contact-title > span {
    white-space: normal;
  }
}


/* CONTACT CTA — title another 5% smaller */
.contact-title {
  font-size: clamp(38px, 4.7vw, 68.5px);
}

@media (max-width: 680px) {
  .contact-title {
    font-size: clamp(35px, 10.8vw, 48.5px);
  }
}


/* CONTACT FORM — 10% narrower on desktop */
.contact-grid .contact-form {
  width: 90% !important;
  justify-self: end !important;
}

/* Tablet/mobile — keep full width */
@media (max-width: 900px) {
  .contact-grid .contact-form {
    width: 100% !important;
    justify-self: stretch !important;
  }
}


/* =========================================================
   WAAS FAQ — DIAGONAL HOVER REVEAL
   ========================================================= */

.waas-hover-faq {
  border-top: 1px solid var(--line);
}

.waas-hover-faq details {
  position: relative;
  min-height: 80px;
  margin: 0;
  overflow: hidden;

  border-bottom: 1px solid var(--line);
  background: transparent;

  isolation: isolate;
}


/* Diagonal slate sweep */
.waas-hover-faq details::before {
  content: "";
  position: absolute;

  inset: -35% -12%;
  z-index: 0;

  background: #506c83;

  transform:
    translateX(-115%)
    skewX(-18deg);

  transform-origin: left center;

  transition:
    transform 720ms cubic-bezier(.2,.75,.25,1);

  pointer-events: none;
}


/* Kill native accordion marker / plus */
.waas-hover-faq summary {
  list-style: none;
}

.waas-hover-faq summary::-webkit-details-marker {
  display: none;
}

.waas-hover-faq summary::marker {
  content: "";
}

.waas-hover-faq summary::after {
  display: none !important;
  content: none !important;
}


/* Question */
.waas-hover-faq summary {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;

  padding: 0 0;

  cursor: default;

  font-family: "Poppins", sans-serif;
  font-size: clamp(20px, 1.55vw, 27px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.025em;

  color: var(--ink);

  opacity: 1;

  transform: translate3d(0,0,0);

  transition:
    opacity 280ms ease,
    transform 500ms cubic-bezier(.2,.75,.25,1),
    color 300ms ease;
}


/* Answer becomes the replacement text */
.waas-hover-faq details > p {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  align-items: center;

  max-width: none;
  margin: 0 !important;
  padding: 0 34px;

  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.5;

  color: #ffffff !important;

  opacity: 0;

  transform: translate3d(28px,-16px,0);

  transition:
    opacity 300ms ease 120ms,
    transform 600ms cubic-bezier(.2,.75,.25,1) 80ms;

  pointer-events: none;
}


/* Desktop hover interaction */
@media (hover:hover) and (pointer:fine) {

  .waas-hover-faq details:hover::before,
  .waas-hover-faq details:focus-within::before {
    transform:
      translateX(0)
      skewX(-18deg);
  }

  .waas-hover-faq details:hover summary,
  .waas-hover-faq details:focus-within summary {
    opacity: 0;

    color: #ffffff;

    transform: translate3d(-24px,15px,0);
  }

  .waas-hover-faq details:hover > p,
  .waas-hover-faq details:focus-within > p {
    opacity: 1;

    transform: translate3d(0,0,0);
  }
}


/* Mobile / touch fallback:
   no accordion, both question and answer visible */
@media (hover:none), (pointer:coarse) {

  .waas-hover-faq details {
    min-height: 0;
    padding: 22px 0;
  }

  .waas-hover-faq details::before {
    display: none;
  }

  .waas-hover-faq summary,
  .waas-hover-faq details > p {
    position: relative;
    inset: auto;

    display: block;

    padding: 0;

    opacity: 1;

    transform: none;

    color: inherit !important;
  }

  .waas-hover-faq summary {
    font-size: 20px;
  }

  .waas-hover-faq details > p {
    margin-top: 10px !important;

    color: var(--ink-soft) !important;

    font-size: 16px;
    line-height: 1.55;
  }
}


@media (prefers-reduced-motion: reduce) {

  .waas-hover-faq details::before,
  .waas-hover-faq summary,
  .waas-hover-faq details > p {
    transition: none !important;
  }
}


/* =========================================================
   WAAS FAQ — SLOWER / STEEPER DIAGONAL TRANSITION
   ========================================================= */

.waas-hover-faq details::before {
  transform:
    translateX(-120%)
    skewX(-30deg);

  transition:
    transform 1100ms cubic-bezier(.2,.75,.25,1);
}

.waas-hover-faq summary {
  transition:
    opacity 420ms ease,
    transform 700ms cubic-bezier(.2,.75,.25,1),
    color 420ms ease;
}

.waas-hover-faq details > p {
  transition:
    opacity 420ms ease 180ms,
    transform 850ms cubic-bezier(.2,.75,.25,1) 120ms;
}

@media (hover:hover) and (pointer:fine) {

  .waas-hover-faq details:hover::before,
  .waas-hover-faq details:focus-within::before {
    transform:
      translateX(0)
      skewX(-30deg);
  }

}


/* =========================================================
   WAAS FAQ — TRUE DIAGONAL SWEEP
   Bottom-left -> top-right
   ========================================================= */

.waas-hover-faq details::before {
  inset: -70% -25%;

  transform:
    translate3d(-120%, 75%, 0)
    skewX(-24deg);

  transition:
    transform 1100ms cubic-bezier(.2,.75,.25,1);
}

@media (hover:hover) and (pointer:fine) {

  .waas-hover-faq details:hover::before,
  .waas-hover-faq details:focus-within::before {
    transform:
      translate3d(0, 0, 0)
      skewX(-24deg);
  }

}


/* =========================================================
   WAAS HERO — SMALLER TITLE
   ========================================================= */

.waas-page-hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

@media (max-width: 900px) {
  .waas-page-hero h1 {
    font-size: clamp(42px, 8vw, 60px);
  }
}

@media (max-width: 680px) {
  .waas-page-hero h1 {
    font-size: clamp(38px, 10.5vw, 50px);
  }
}


/* WAAS COMPARE — smaller section title */
.waas-compare .section-title {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.02;
}

@media (max-width: 680px) {
  .waas-compare .section-title {
    font-size: clamp(34px, 10vw, 46px);
  }
}


/* WAAS — comparison section title */
#poredjenje .section-title {
  font-size: clamp(34px, 3.9vw, 58px) !important;
  line-height: 1.03 !important;
}

@media (max-width: 680px) {
  #poredjenje .section-title {
    font-size: clamp(32px, 9vw, 44px) !important;
  }
}


/* =========================================================
   WAAS COMPARISON — SCROLL STORY V1
   Desktop first
   ========================================================= */

@media (min-width: 901px) {

  #poredjenje.waas-scroll-story-ready {
    position: relative;
    height: 520vh;
    padding: 0 !important;
    overflow: clip;

    background: var(--dark);
    color: #fff;
  }


  /* Sticky full-screen stage */
  #poredjenje.waas-scroll-story-ready > .wrap.split {
    position: sticky !important;
    top: 0 !important;

    width: 100% !important;
    max-width: none !important;

    height: 100vh;
    height: 100svh;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    overflow: hidden;
    isolation: isolate;
  }


  /* =======================================================
     IMAGE
     Starts small in center, expands to viewport
     ======================================================= */

  #poredjenje.waas-scroll-story-ready .waas-comparison-media {
    position: absolute !important;

    left: 50%;
    top: 50%;

    width: 100vw !important;
    max-width: none !important;

    height: 100vh !important;
    height: 100svh !important;

    margin: 0 !important;

    aspect-ratio: auto !important;

    z-index: 1;

    transform:
      translate3d(-50%, -50%, 0)
      scale(.36);

    transform-origin: center center;

    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.20);

    overflow: hidden;

    will-change:
      transform,
      border-radius;
  }


  #poredjenje.waas-scroll-story-ready
  .waas-comparison-media img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    transform: scale(1.08);

    will-change: transform;
  }


  /* Dark readability layer appearing after image expands */
  #poredjenje.waas-scroll-story-ready > .wrap.split::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
      linear-gradient(
        90deg,
        rgba(15,18,21,var(--waas-story-scrim,0)) 0%,
        rgba(15,18,21,calc(var(--waas-story-scrim,0) * .75)) 43%,
        rgba(15,18,21,calc(var(--waas-story-scrim,0) * .28)) 70%,
        rgba(15,18,21,calc(var(--waas-story-scrim,0) * .12)) 100%
      );
  }


  /* =======================================================
     TITLE / COPY
     ======================================================= */

  #poredjenje.waas-scroll-story-ready
  > .wrap.split
  > div:first-child {
    position: absolute;

    z-index: 3;

    left: max(6.5vw, 60px);
    top: 50%;

    width: min(620px, 42vw);

    transform: translateY(-50%);

    margin: 0;
  }


  #poredjenje.waas-scroll-story-ready
  > .wrap.split
  > div:first-child
  > .eyebrow,

  #poredjenje.waas-scroll-story-ready
  > .wrap.split
  > div:first-child
  > .section-title,

  #poredjenje.waas-scroll-story-ready
  > .wrap.split
  > div:first-child
  > .lede {
    opacity: 0;

    will-change:
      opacity,
      transform;
  }


  #poredjenje.waas-scroll-story-ready .section-title {
    max-width: 620px;

    margin-top: 18px;

    font-size: clamp(38px, 4vw, 58px) !important;
    line-height: 1.02 !important;

    color: #fff;
  }


  #poredjenje.waas-scroll-story-ready .lede {
    max-width: 570px;

    margin-top: 24px;

    color: rgba(255,255,255,.82);
  }


  /* =======================================================
     COMPARISON CARDS
     ======================================================= */

  #poredjenje.waas-scroll-story-ready .comparison-grid {
    position: absolute;

    z-index: 4;

    right: max(6vw, 54px);
    top: 50%;

    width: min(610px, 40vw);

    margin: 0 !important;

    grid-template-columns:
      repeat(2, minmax(0,1fr));

    gap: 18px;

    transform: translateY(-50%);
  }


  #poredjenje.waas-scroll-story-ready
  .comparison-grid > article {
    opacity: 0;

    will-change:
      opacity,
      transform;
  }

}


/* Reduced motion fallback */
@media (min-width:901px) and (prefers-reduced-motion: reduce) {

  #poredjenje.waas-scroll-story-ready {
    height: auto;
    padding: var(--section) 0 !important;
  }

  #poredjenje.waas-scroll-story-ready > .wrap.split {
    position: relative !important;
    height: auto;
    max-width: var(--wrap) !important;
    margin-inline: auto !important;
    padding-inline: var(--gutter) !important;

    display: grid !important;
  }

}


/* =========================================================
   WAAS COMPARISON — CENTERED IMAGE EXPANSION V2
   ========================================================= */

@media (min-width:901px) {

  #poredjenje.waas-scroll-story-ready
  .waas-comparison-media {

    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    margin: 0 !important;

    max-width: none !important;
    max-height: none !important;

    transform: translate3d(-50%, -50%, 0);

    transform-origin: center center !important;

    z-index: 1;

    overflow: hidden;

    will-change:
      width,
      height,
      border-radius;

    box-shadow:
      0 24px 70px rgba(0,0,0,.24);
  }


  #poredjenje.waas-scroll-story-ready
  .waas-comparison-media img {

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center;

  }

}


/* =========================================================
   WAAS COMPARISON — IMAGE RESET / CENTER EXPANSION V3
   This overrides editorial-image, editorial-wide and V1/V2.
   ========================================================= */

@media (min-width:901px) {

  #poredjenje.waas-scroll-story-ready
  .waas-comparison-media {

    /* remove generic editorial/grid behaviour */
    position: absolute !important;

    inset: auto !important;

    left: 50% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;

    grid-column: auto !important;
    grid-row: auto !important;

    margin: 0 !important;

    aspect-ratio: auto !important;

    max-width: none !important;
    min-width: 0 !important;

    max-height: none !important;
    min-height: 0 !important;

    /* ONLY these values control dimensions */
    width: var(--waas-media-width, 560px) !important;
    height: var(--waas-media-height, 350px) !important;

    /* ALWAYS physically centered */
    transform: translate3d(-50%, -50%, 0) !important;
    transform-origin: center center !important;

    display: block !important;

    z-index: 1 !important;

    overflow: hidden !important;

    border-radius: 26px;

    will-change:
      width,
      height,
      border-radius;
  }


  #poredjenje.waas-scroll-story-ready
  .waas-comparison-media > source {
    display: none;
  }


  #poredjenje.waas-scroll-story-ready
  .waas-comparison-media > img {

    position: absolute !important;

    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;

    object-fit: cover !important;
    object-position: center center !important;

    border-radius: inherit !important;
  }

}


/* =========================================================
   WAAS SCROLL STORY — CONTENT POSITION V4
   Move overlay content upward
   ========================================================= */

@media (min-width: 901px) {

  #poredjenje.waas-scroll-story-ready
  > .wrap.split
  > div:first-child {
    top: calc(50% - 70px) !important;
  }

  #poredjenje.waas-scroll-story-ready
  .comparison-grid {
    top: calc(50% - 70px) !important;
  }

}


/* WAAS SCROLL STORY — content further upward */
@media (min-width: 901px) {

  #poredjenje.waas-scroll-story-ready
  > .wrap.split
  > div:first-child {
    top: calc(50% - 260px) !important;
  }

  #poredjenje.waas-scroll-story-ready
  .comparison-grid {
    top: calc(50% - 260px) !important;
  }

}




/* =========================================================
   WAAS SCROLL STORY — UNIFORM BACKGROUND SCRIM
   ========================================================= */

@media (min-width: 901px) {

  #poredjenje.waas-scroll-story-ready
  > .wrap.split::after {

    background:
      rgba(
        10,
        14,
        17,
        var(--waas-story-scrim, 0)
      ) !important;

  }

}


/* =========================================================
   SERVICES — ACTIVE NAV INCLUDES ARROW
   ========================================================= */

@media (min-width: 901px) {

  .services-menu:has(> a[aria-current="page"]) {
    min-height: 42px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, .09);
    overflow: visible;
  }

  /* Active background now belongs to whole wrapper */
  .services-menu:has(> a[aria-current="page"])
  > a[aria-current="page"] {
    background: transparent !important;
  }

  .services-menu:has(> a[aria-current="page"])
  .services-toggle {
    background: transparent !important;
  }

}


/* =========================================================
   SERVICES — PRINCIPLE DESCRIPTION TEXT
   ========================================================= */

.section.dark .principle p {
  color: rgba(255,255,255,.62) !important;
}


/* =========================================================
   GLOBAL PRIMARY CTA — authoritative
   ========================================================= */

.button.primary {
  background: #506c83 !important;
  border-color: #506c83 !important;
  color: #fff !important;
}

.button.primary:hover {
  background: #5f7d95 !important;
  border-color: #5f7d95 !important;
  color: #fff !important;
}

/* Preserve light-blue hero-specific primary */
.hero .button.primary {
  background: #B9D7E8 !important;
  border-color: #B9D7E8 !important;
  color: #11161A !important;
}

.hero .button.primary:hover {
  background: #C7E1EF !important;
  border-color: #C7E1EF !important;
  color: #11161A !important;
}


/* =========================================================
   USLUGE CONTACT TITLE — REAL FIX
   20% smaller + natural word wrapping
   ========================================================= */

.usluge-contact-title {
  font-size: clamp(30.4px, 3.76vw, 54.8px) !important;
  line-height: 1.02 !important;
  max-width: none !important;
  white-space: normal !important;
  text-wrap: balance;
}

/*
 * JS pretvara svaku reč u .beam-word.
 * Globalni .contact-title > span inače ih stavlja kao block.
 * Na Usluge naslovu reči moraju ostati inline.
 */
.usluge-contact-title > .beam-word {
  display: inline-block !important;
  white-space: nowrap !important;
}

@media (max-width: 680px) {
  .usluge-contact-title {
    font-size: clamp(28px, 8.64vw, 38.8px) !important;
  }
}

/* =========================================================
   PROJECTS PAGE — editorial portfolio cards
   ========================================================= */

.project-three-grid .portfolio-item {
  display: flex;
  flex-direction: column;
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
  transition:
    border-color .25s ease,
    transform .25s var(--ease);
}

.project-three-grid .portfolio-item:hover {
  border-color: rgba(17, 22, 26, .24);
  transform: translateY(-2px);
}

.project-three-grid .portfolio-meta {
  display: none;
}

.project-three-grid .portfolio-item img:not(.project-card-arrow) {
  display: block;
  border-bottom: 1px solid var(--line);
}

/* uklanjamo staru kružnu strelicu */
.project-three-grid .portfolio-item::after {
  display: none !important;
}

/* naslov + sticky CTA strelica u istom redu */
.project-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;

  padding: 27px 24px 0;
}

.project-three-grid .portfolio-item .project-card-title-row h2 {
  flex: 1;

  margin: 0;
  padding: 0;

  background: transparent;
  color: var(--ink);

  font-size: clamp(24px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.035em;
}

/* ista strelica kao floating / sticky CTA */
.project-three-grid .project-card-arrow {
  flex: 0 0 auto;

  width: 29px;
  height: 29px;

  object-fit: contain;

  border: 0;
  filter: grayscale(1);
  opacity: .55;

  transition:
    opacity .25s ease,
    transform .25s var(--ease);
}

.project-three-grid .portfolio-item:hover .project-card-arrow {
  opacity: .85;
  transform: translate(2px, -2px);
}

/* opis ostaje direktno ispod naslovnog reda */
.project-three-grid .portfolio-item p {
  flex: 1;

  margin: 0;
  padding: 14px 68px 31px 24px;

  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 680px) {
  .project-card-title-row {
    padding: 22px 20px 0;
    gap: 16px;
  }

  .project-three-grid .portfolio-item p {
    padding: 12px 54px 26px 20px;
  }

  .project-three-grid .project-card-arrow {
    width: 26px;
    height: 26px;
  }
}

/* =========================================================
   PROJECTS HERO — tighter spacing below header
   ========================================================= */

@media (min-width: 901px) {
  .projects-hero {
    padding-top: 136px;
  }
}

@media (min-width: 681px) and (max-width: 900px) {
  .projects-hero {
    padding-top: 110px;
  }
}

@media (max-width: 680px) {
  .projects-hero {
    padding-top: 96px;
  }
}


/* =========================================================
   PROJECTS HERO — TITLE 20% SMALLER
   ========================================================= */

.projects-hero h1 {
  font-size: clamp(43.2px, 4.96vw, 75.2px);
}

/* Tablet — 20% smaller */
@media (max-width: 900px) {
  .projects-hero h1 {
    font-size: clamp(40px, 8vw, 62.4px);
  }
}

/* Mobile — 20% smaller */
@media (max-width: 680px) {
  .projects-hero h1 {
    font-size: clamp(36.8px, 11.2vw, 51.2px);
  }
}

/* Small mobile — 20% smaller */
@media (max-width: 390px) {
  .projects-hero h1 {
    font-size: clamp(34.4px, 10.8vw, 43.2px);
  }
}


/* =========================================================
   PROJEKTI CONTACT TITLE — single line
   ========================================================= */

.projekti-contact-title {
  width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
}

/* JS wraps every word in .beam-word.
   Override global .contact-title > span { display:block; } */
.projekti-contact-title > .beam-word {
  display: inline-block !important;
  white-space: nowrap !important;
}


/* =========================================================
   NEWS FEATURE GRID — equal cards
   ========================================================= */

.news-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-feature-card .editorial-image {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.news-feature-card .editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 680px) {
  .news-feature-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   NEWS FEATURED — image overlay cards
   ========================================================= */

.news-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;

  margin-top: 48px;

  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

/* Individual featured article */
.news-feature-card {
  position: relative;
  display: block;

  aspect-ratio: 3 / 2;

  overflow: hidden;
  border-radius: var(--radius);

  background: var(--dark);
  color: #fff;
}

/* Image fills entire card */
.news-feature-card .editorial-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  aspect-ratio: auto;

  border: 0;
  border-radius: inherit;
  overflow: hidden;
}

.news-feature-card .editorial-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .6s var(--ease);
}

/* Bottom-up shadow gradient */
.news-feature-card::after {
  content: "";

  position: absolute;
  z-index: 1;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(9, 13, 16, .94) 0%,
      rgba(9, 13, 16, .84) 20%,
      rgba(9, 13, 16, .58) 42%,
      rgba(9, 13, 16, .20) 68%,
      rgba(9, 13, 16, 0) 100%
    );
}

/* Text overlay */
.news-feature-content {
  position: absolute;
  z-index: 2;

  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  flex-direction: column;

  padding: clamp(24px, 3vw, 42px);
}

/* Hide article summary on featured image cards */
.news-feature-content > p:not(.source) {
  display: none;
}

/* Date */
.news-feature-content time {
  order: 1;

  margin: 0 0 12px;

  color: rgba(255,255,255,.72);

  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .04em;
}

/* Title */
.news-feature-content h2 {
  order: 2;

  max-width: 90%;
  margin: 0;

  color: #fff;

  font-family: "Poppins", sans-serif;
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -.035em;
}

/* Source metadata */
.news-feature-content .source {
  order: 3;

  margin: 16px 0 0;

  color: rgba(255,255,255,.62);

  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .035em;
}

/* Subtle interaction */
.news-feature-card:hover .editorial-image img {
  transform: scale(1.025);
}

@media (max-width: 680px) {

  .news-feature-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .news-feature-content {
    padding: 22px;
  }

  .news-feature-content h2 {
    max-width: 100%;
    font-size: clamp(22px, 6.8vw, 29px);
  }
}


/* =========================================================
   NEWS FEATURED — STRONG BOTTOM SHADOW GRADIENT
   ========================================================= */

.news-feature-card {
  position: relative;
  isolation: isolate;
}

/* gradient iznad slike */
.news-feature-card::before {
  content: "" !important;

  position: absolute !important;
  z-index: 2 !important;
  inset: 0 !important;

  display: block !important;
  pointer-events: none !important;

  background: linear-gradient(
    to top,
    rgba(5, 8, 11, .98) 0%,
    rgba(5, 8, 11, .94) 16%,
    rgba(5, 8, 11, .82) 30%,
    rgba(5, 8, 11, .62) 46%,
    rgba(5, 8, 11, .36) 62%,
    rgba(5, 8, 11, .14) 78%,
    rgba(5, 8, 11, 0) 100%
  ) !important;

  opacity: 1 !important;
}

/* slika ispod gradienta */
.news-feature-card .editorial-image {
  z-index: 1 !important;
}

/* tekst iznad gradienta */
.news-feature-card .news-feature-content {
  z-index: 3 !important;
}

/* gasimo prethodni gradient sloj da se ne duplira */
.news-feature-card::after {
  display: none !important;
}


/* =========================================================
   NEWS FEATURED — FINAL GRADIENT FIX
   Override BorderGlow opacity conflict
   ========================================================= */

/* News kartice ne koriste BorderGlow pseudo slojeve */
.news-feature-grid .news-feature-card.sh-border-glow > .sh-edge-light {
  display: none !important;
}

/* Permanent bottom-to-top shadow gradient */
.news-feature-grid .news-feature-card.sh-border-glow::before,
.news-feature-grid .news-feature-card.sh-border-glow:not(:hover)::before,
.news-feature-grid .news-feature-card.sh-border-glow:hover::before {
  content: "" !important;

  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;

  display: block !important;
  pointer-events: none !important;

  opacity: 1 !important;

  background: linear-gradient(
    to top,
    rgba(5, 8, 11, .98) 0%,
    rgba(5, 8, 11, .96) 16%,
    rgba(5, 8, 11, .86) 30%,
    rgba(5, 8, 11, .66) 44%,
    rgba(5, 8, 11, .40) 58%,
    rgba(5, 8, 11, .18) 70%,
    rgba(5, 8, 11, .05) 80%,
    rgba(5, 8, 11, 0) 90%
  ) !important;

  transition: none !important;
}

/* Ne koristimo drugi pseudo layer na news karticama */
.news-feature-grid .news-feature-card.sh-border-glow::after {
  display: none !important;
}

/* Text mora ostati iznad gradienta */
.news-feature-grid .news-feature-card .news-feature-content {
  z-index: 3 !important;
}


/* =========================================================
   NEWS FEATURED — REAL HTML GRADIENT LAYER
   ========================================================= */

.news-feature-card {
  position: relative !important;
  isolation: isolate;
}

/* slika */
.news-feature-card .editorial-image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;

  width: 100% !important;
  height: 100% !important;
}

.news-feature-card .editorial-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* pravi gradient layer — nema veze sa ::before / BorderGlow */
.news-feature-gradient {
  position: absolute;
  z-index: 5;
  inset: 0;

  display: block;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(5, 8, 11, 1) 0%,
    rgba(5, 8, 11, .96) 14%,
    rgba(5, 8, 11, .88) 27%,
    rgba(5, 8, 11, .72) 40%,
    rgba(5, 8, 11, .50) 53%,
    rgba(5, 8, 11, .28) 65%,
    rgba(5, 8, 11, .10) 76%,
    rgba(5, 8, 11, 0) 88%
  );
}

/* tekst iznad gradienta */
.news-feature-card .news-feature-content {
  position: absolute !important;
  z-index: 10 !important;

  left: 0;
  right: 0;
  bottom: 0;
}

/* potpuno gasimo BorderGlow slojeve samo na featured vestima */
.news-feature-card.sh-border-glow::before,
.news-feature-card.sh-border-glow::after,
.news-feature-card.sh-border-glow > .sh-edge-light {
  display: none !important;
}


/* =========================================================
   NEWS FEATURED — TEXT ABOVE GRADIENT / SOFTER OVERLAY
   ========================================================= */

.news-feature-card {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
}

/* slika je najniže */
.news-feature-card .editorial-image,
.news-feature-card .editorial-image picture,
.news-feature-card .editorial-image img {
  position: absolute !important;
  inset: 0 !important;
}

.news-feature-card .editorial-image {
  z-index: 1 !important;
}

.news-feature-card .editorial-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* gradient ide preko slike, ali ispod teksta */
.news-feature-card .news-feature-gradient {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  pointer-events: none !important;
  z-index: 2 !important;
  opacity: 0.65 !important;

  background: linear-gradient(
    to top,
    rgba(5, 8, 11, 1) 0%,
    rgba(5, 8, 11, .88) 16%,
    rgba(5, 8, 11, .62) 38%,
    rgba(5, 8, 11, .28) 62%,
    rgba(5, 8, 11, 0) 100%
  ) !important;
}

/* ceo tekstualni sloj mora iznad gradienta */
.news-feature-card .news-feature-content {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 5 !important;
  padding: 28px !important;
}

/* i svi njegovi child elementi eksplicitno gore */
.news-feature-card .news-feature-content *,
.news-feature-card .news-feature-meta,
.news-feature-card .news-feature-title,
.news-feature-card .news-feature-excerpt,
.news-feature-card .news-feature-source,
.news-feature-card .news-feature-source a {
  position: relative !important;
  z-index: 6 !important;
}

/* bela slova preko slike */
.news-feature-card .news-feature-meta,
.news-feature-card .news-feature-title,
.news-feature-card .news-feature-excerpt,
.news-feature-card .news-feature-source,
.news-feature-card .news-feature-source a {
  color: #fff !important;
}

/* optional: malo bolja čitljivost */
.news-feature-card .news-feature-title,
.news-feature-card .news-feature-excerpt,
.news-feature-card .news-feature-meta,
.news-feature-card .news-feature-source {
  text-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
}


/* ABOUT — story text vertically centered */
.story-grid {
  align-items: center;
}


/* =========================================================
   ABOUT — PROOF BAR HORIZONTAL
   ========================================================= */

.proof-bar {
  display: block !important;
}

/* 4 ravnopravne statistike u jednom redu */
.proof-bar > .proof-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

  margin-top: 0 !important;

  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Malo veći i prostraniji blokovi */
.proof-bar .proof-item {
  min-height: 150px;
  padding: 34px 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.proof-bar .proof-item:last-child {
  border-right: 0;
}

/* Brojevi malo veći */
.proof-bar .proof-item strong {
  font-size: clamp(27px, 2.8vw, 40px);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -.04em;
}

/* Opis malo veći */
.proof-bar .proof-item > span {
  margin-top: 14px;

  font-size: 11px;
  line-height: 1.55;
  letter-spacing: .085em;
}

/* Tablet */
@media (max-width: 900px) {
  .proof-bar > .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .proof-bar .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-bar .proof-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

/* Mobile */
@media (max-width: 680px) {
  .proof-bar > .proof-grid {
    grid-template-columns: 1fr !important;
  }

  .proof-bar .proof-item {
    min-height: 125px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-bar .proof-item:last-child {
    border-bottom: 0;
  }
}


/* =========================================================
   ABOUT — TEAM ACCORDION SHOWCASE
   ========================================================= */

.team-accordion-section {
  overflow: hidden;
}

.team-showcase {
  display: grid;
  grid-template-columns:
    minmax(320px, .78fr)
    minmax(0, 1.22fr);

  gap: clamp(52px, 6vw, 96px);
  align-items: center;
}


/* LEFT COPY
   --------------------------------------------------------- */

.team-showcase-copy {
  min-width: 0;
  align-self: center;
}

.team-showcase-copy .section-title {
  max-width: 640px;
  margin-bottom: 0;
}

.team-showcase-copy .lede {
  max-width: 37ch;
  margin-top: 28px;
}


/* ACCORDION
   --------------------------------------------------------- */

.team-accordion {
  display: flex;
  flex-direction: row;

  width: 100%;
  height: clamp(500px, 42vw, 600px);

  gap: 10px;

  perspective: 1400px;
  perspective-origin: 50% 50%;
}


/* PANEL
   --------------------------------------------------------- */

.team-panel {
  position: relative;

  flex: 1 1 0;
  min-width: 0;

  overflow: hidden;

  border-radius: 16px;

  background: #11161a;

  cursor: pointer;
  outline: none;

  isolation: isolate;

  transform:
    perspective(1400px)
    rotateY(4deg);

  transform-origin: center center;

  transition:
    flex-grow .6s cubic-bezier(.22,.61,.36,1),
    transform .6s cubic-bezier(.22,.61,.36,1);

  -webkit-tap-highlight-color: transparent;
}

.team-panel:nth-child(3) {
  transform:
    perspective(1400px)
    rotateY(-4deg);
}

.team-panel.is-active {
  flex-grow: 2.2;

  transform:
    perspective(1400px)
    rotateY(0deg);
}

.team-panel:focus-visible {
  outline: 2px solid #506c83;
  outline-offset: 3px;
}


/* PHOTO
   --------------------------------------------------------- */

.team-panel-image {
  position: absolute;
  inset: 0;

  z-index: 1;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    grayscale(1)
    brightness(.76);

  transform: scale(1.045);

  transition:
    filter .6s ease,
    transform .8s cubic-bezier(.22,.61,.36,1);
}

.team-panel:nth-child(1) .team-panel-image {
  object-position: 50% 28%;
}

.team-panel:nth-child(2) .team-panel-image {
  object-position: 50% 30%;
}

.team-panel:nth-child(3) .team-panel-image {
  object-position: 50% 30%;
}

.team-panel.is-active .team-panel-image {
  filter:
    grayscale(0)
    brightness(1);

  transform: scale(1);
}


/* REAL GRADIENT LAYER
   same approach as News — not pseudo-elements
   --------------------------------------------------------- */

.team-panel-gradient {
  position: absolute;
  inset: 0;

  z-index: 2;

  display: block;

  pointer-events: none;

  opacity: .65;

  background:
    linear-gradient(
      to top,
      rgba(5,8,11,1) 0%,
      rgba(5,8,11,.92) 16%,
      rgba(5,8,11,.68) 36%,
      rgba(5,8,11,.40) 55%,
      rgba(5,8,11,.14) 72%,
      rgba(5,8,11,0) 92%
    );
}


/* CONTENT OVER PHOTO
   --------------------------------------------------------- */

.team-panel-content {
  position: absolute;

  z-index: 4;

  left: 0;
  right: 0;
  bottom: 0;

  min-height: 50%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 28px 26px 30px;

  color: #fff;

  pointer-events: none;
}

.team-panel-content h3 {
  margin: 0;

  color: #fff;

  font-family: "Poppins", sans-serif;
  font-size: clamp(25px, 2.1vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;

  white-space: nowrap;
}

.team-panel-content small {
  display: block;

  margin-top: 9px;

  color: rgba(255,255,255,.72);

  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: .08em;

  white-space: nowrap;
}

.team-panel-content p {
  max-width: 34ch;

  margin: 16px 0 0;

  color: rgba(255,255,255,.9);

  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;

  opacity: 0;

  transform: translateY(12px);

  transition:
    opacity .38s ease .08s,
    transform .5s cubic-bezier(.22,.61,.36,1) .08s;
}

.team-panel.is-active .team-panel-content p {
  opacity: 1;
  transform: translateY(0);
}


/* Slightly dim collapsed text */
.team-panel:not(.is-active) .team-panel-content h3 {
  font-size: 23px;
}

.team-panel:not(.is-active) .team-panel-content small {
  opacity: .72;
}


/* TABLET
   --------------------------------------------------------- */

@media (max-width: 1000px) {

  .team-showcase {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .team-showcase-copy .lede {
    max-width: 620px;
  }

  .team-accordion {
    height: 520px;
  }
}


/* MOBILE — no cramped accordion
   --------------------------------------------------------- */

@media (max-width: 680px) {

  .team-accordion {
    display: grid;
    grid-template-columns: 1fr;

    height: auto;

    gap: 10px;

    perspective: none;
  }

  .team-panel,
  .team-panel.is-active,
  .team-panel:nth-child(3) {
    flex: none;

    min-height: 430px;

    transform: none;
  }

  .team-panel-image,
  .team-panel.is-active .team-panel-image {
    filter: none;
    transform: none;
  }

  .team-panel-content {
    min-height: 55%;
    padding: 24px 22px;
  }

  .team-panel-content p,
  .team-panel.is-active .team-panel-content p {
    opacity: 1;
    transform: none;
  }

  .team-panel:not(.is-active) .team-panel-content h3 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .team-panel,
  .team-panel-image,
  .team-panel-content p {
    transition: none !important;
  }

  .team-panel {
    transform: none !important;
  }
}


/* =========================================================
   ABOUT — DOBAR SPOJ typography
   ========================================================= */

/* Desni uvodni tekst — 20% manji */
.fit-section .fit-head > .lede {
  font-size: clamp(13.6px, 1.16vw, 16.8px);
  line-height: 1.6;
}

/* Naslovi obe kartice */
.fit-section .fit-card h3 {
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

/* Na desktopu oba naslova ostaju u jednom redu */
@media (min-width: 901px) {
  .fit-section .fit-card h3 {
    white-space: nowrap;
  }
}

/* Na manjim ekranima dozvoli normalan wrap */
@media (max-width: 900px) {
  .fit-section .fit-card h3 {
    white-space: normal;
  }
}


/* =========================================================
   ABOUT CONTACT TITLE
   20% smaller + natural wrapping
   ========================================================= */

.about-contact-title {
  font-size: clamp(30.4px, 3.76vw, 54.8px) !important;
  line-height: 1.02 !important;

  width: 100% !important;
  max-width: none !important;

  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* JS wraps each word in .beam-word.
   Do not allow global contact-title span rule
   to put every word on a separate line. */
.about-contact-title > .beam-word {
  display: inline-block !important;
  white-space: nowrap !important;
}

@media (max-width: 680px) {
  .about-contact-title {
    font-size: clamp(28px, 8.64vw, 38.8px) !important;
  }
}


/* =========================================================
   CONTACT — LANGUAGE VISIBILITY FIX
   ========================================================= */

html:not([lang="en"]) .contact-title > .lang-en {
  display: none !important;
}

html:not([lang="en"]) .contact-title > .lang-sr {
  display: inline !important;
}

html[lang="en"] .contact-title > .lang-sr {
  display: none !important;
}

html[lang="en"] .contact-title > .lang-en {
  display: inline !important;
}


/* =========================================================
   CONTACT PAGE — TITLE WRAP
   ========================================================= */

.kontakt-contact-title {
  width: 100% !important;
  max-width: 100% !important;
  line-height: 1.02 !important;
  overflow: visible !important;
}

/* Override global .contact-title > span nowrap */
.kontakt-contact-title > .lang-sr,
.kontakt-contact-title > .lang-en {
  max-width: 100% !important;
  white-space: normal !important;
}


/* =========================================================
   CONTACT FAQ — ONLY ACTIVE LANGUAGE ANSWER
   ========================================================= */

/* SR je default */
.waas-hover-faq .faq-item > p.lang-en {
  display: none !important;
}

.waas-hover-faq .faq-item > p.lang-sr {
  display: block !important;
}

/* EN */
html[lang="en"] .waas-hover-faq .faq-item > p.lang-sr {
  display: none !important;
}

html[lang="en"] .waas-hover-faq .faq-item > p.lang-en {
  display: block !important;
}


/* CONTACT FAQ — equal vertical padding in hover answer */
.waas-hover-faq .faq-item > p.lang-sr,
.waas-hover-faq .faq-item > p.lang-en {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}


/* =========================================================
   HOME CONTACT TITLE
   20% smaller + natural wrapping
   ========================================================= */

.home-contact-title {
  font-size: clamp(30.4px, 3.76vw, 54.8px) !important;
  line-height: 1.02 !important;

  width: 100% !important;
  max-width: none !important;

  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* script.js wraps every word in .beam-word */
.home-contact-title > .beam-word {
  display: inline-block !important;
  white-space: nowrap !important;
}

@media (max-width: 680px) {
  .home-contact-title {
    font-size: clamp(28px, 8.64vw, 38.8px) !important;
  }
}


/* =========================================================
   SERVICE LANDING HERO — TITLE / COLUMN BALANCE
   ========================================================= */

@media (min-width: 901px) {

  .service-landing-hero .wrap {
    grid-template-columns:
      minmax(0, .9fr)
      minmax(0, 1.1fr);

    gap: clamp(56px, 6vw, 84px);
  }

  .service-landing-hero h1 {
    max-width: 680px;
    font-size: clamp(44px, 4.3vw, 64px);
    line-height: .98;
    letter-spacing: -.05em;
    text-wrap: balance;
  }

}


/* =========================================================
   SERVICE LANDING HERO — CONTENT ORDER
   eyebrow > title > copy on left / CTAs on right
   ========================================================= */

@media (min-width: 901px) {

  .service-landing-hero .wrap {
    grid-template-columns:
      minmax(0, 1.1fr)
      minmax(320px, .9fr);

    column-gap: clamp(56px, 6vw, 84px);
    row-gap: 0;

    align-items: end;
  }

  .service-landing-hero .eyebrow {
    grid-column: 1;
    grid-row: 1;

    margin: 0 0 18px;
  }

  .service-landing-hero h1 {
    grid-column: 1;
    grid-row: 2;

    margin: 0;
  }

  .service-landing-hero .editorial-intro {
    grid-column: 1;
    grid-row: 3;

    margin: 28px 0 0;
  }

  .service-landing-hero .actions {
    grid-column: 2;
    grid-row: 3;

    align-self: end;
    justify-self: start;

    margin: 0;
  }

}


/* =========================================================
   SERVICE LANDING HERO — CTA ROW
   ========================================================= */

@media (min-width: 901px) {

  .service-landing-hero .actions {
    grid-column: 1 / -1;
    grid-row: 4;

    width: 100%;
    margin-top: 42px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
  }

  .service-landing-hero .actions .button {
    width: auto;
    margin: 0;
  }

  .service-landing-hero .actions .button:first-child {
    margin-right: auto;
  }

  .service-landing-hero .actions .button:last-child {
    margin-left: auto;
  }

}


/* SERVICE LANDING HERO — CTA alignment fix */
@media (min-width: 901px) {

  .service-landing-hero .actions {
    justify-content: flex-start !important;
    gap: 12px !important;
  }

  .service-landing-hero .actions .button:first-child,
  .service-landing-hero .actions .button:last-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

}


/* =========================================================
   SERVICE LANDING TEMPLATE — INTRO / AUDIENCE PANEL
   Applies to all individual service pages
   ========================================================= */

.service-landing-intro .wrap.split {
  align-items: stretch;
}


/* RIGHT-SIDE PANEL
   --------------------------------------------------------- */

.service-landing-intro .wrap.split > div:last-child {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(30px, 3vw, 42px);

  border: 1px solid var(--line);
  border-radius: 22px;

  background: rgba(255,255,255,.58);

  box-shadow:
    0 18px 50px rgba(20, 30, 38, .055);
}


/* Intro paragraph */
.service-landing-intro .wrap.split > div:last-child > .lede {
  max-width: 680px;

  margin: 0;

  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;

  color: var(--ink-soft);
}


/* AUDIENCE GRID
   --------------------------------------------------------- */

.service-landing-intro .service-mini-grid {
  counter-reset: service-audience;

  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));

  gap: 0;

  margin-top: 30px;

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}


/* Individual audience item */
.service-landing-intro .service-mini-grid > span {
  counter-increment: service-audience;

  position: relative;

  display: flex;
  align-items: center;

  min-height: 92px;

  padding:
    18px
    20px
    18px
    54px;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  color: var(--ink);

  font-size: 15px;
  line-height: 1.45;

  transition:
    background-color .28s ease,
    color .28s ease;
}


/* 01 / 02 / 03 / 04 */
.service-landing-intro .service-mini-grid > span::before {
  content:
    counter(service-audience, decimal-leading-zero);

  position: absolute;

  left: 18px;
  top: 21px;

  color: #7f97aa;

  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .08em;
}


/* Very subtle interaction */
@media (hover:hover) and (pointer:fine) {

  .service-landing-intro .service-mini-grid > span:hover {
    background: rgba(80,108,131,.055);
  }

}


/* TABLET / MOBILE
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .service-landing-intro .wrap.split > div:last-child {
    padding: 30px;
  }

}

@media (max-width: 680px) {

  .service-landing-intro .service-mini-grid {
    grid-template-columns: 1fr;
  }

  .service-landing-intro .service-mini-grid > span {
    min-height: 76px;
  }

}


/* =========================================================
   SERVICE LANDING TEMPLATE — EDITORIAL AUDIENCE SECTION
   ========================================================= */

.service-landing-intro .wrap.split {
  grid-template-columns:
    minmax(0, .88fr)
    minmax(0, 1.12fr);

  gap: clamp(70px, 8vw, 120px);
  align-items: center;
}


/* =========================================================
   RIGHT SIDE — REMOVE CARD LOOK
   ========================================================= */

.service-landing-intro .wrap.split > div:last-child {
  display: block;

  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
}


/* Intro copy */
.service-landing-intro .wrap.split > div:last-child > .lede {
  max-width: 650px;

  margin: 0;

  color: var(--ink-soft);

  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
}


/* =========================================================
   AUDIENCE INDEX
   ========================================================= */

.service-landing-intro .service-mini-grid {
  counter-reset: service-audience;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 0;

  margin-top: 38px;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background: transparent;
}


/* Every item */
.service-landing-intro .service-mini-grid > span {
  counter-increment: service-audience;

  position: relative;

  display: flex;
  align-items: center;

  min-height: 98px;

  padding:
    22px
    28px
    22px
    54px;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent;

  color: var(--ink);

  font-family: "Instrument Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;

  transition:
    background-color .32s ease,
    padding-left .32s ease,
    color .32s ease;
}


/* horizontal divider between rows */
.service-landing-intro .service-mini-grid > span:nth-child(-n+2) {
  border-bottom: 1px solid var(--line) !important;
}


/* vertical divider between columns */
.service-landing-intro .service-mini-grid > span:nth-child(even) {
  border-left: 1px solid var(--line) !important;
}


/* 01 / 02 / 03 / 04 */
.service-landing-intro .service-mini-grid > span::before {
  content: counter(service-audience, decimal-leading-zero);

  position: absolute;

  left: 18px;
  top: 25px;

  color: #7f97aa;

  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .1em;
}


/* Small editorial accent */
.service-landing-intro .service-mini-grid > span::after {
  content: "";

  position: absolute;

  left: 18px;
  bottom: 22px;

  width: 14px;
  height: 1px;

  background: #506c83;

  opacity: .45;

  transition:
    width .32s ease,
    opacity .32s ease;
}


/* Hover — subtle, not card-like */
@media (hover:hover) and (pointer:fine) {

  .service-landing-intro .service-mini-grid > span:hover {
    padding-left: 60px;

    background:
      linear-gradient(
        90deg,
        rgba(80,108,131,.07),
        rgba(80,108,131,0) 82%
      );
  }

  .service-landing-intro .service-mini-grid > span:hover::after {
    width: 22px;
    opacity: .9;
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .service-landing-intro .wrap.split {
    grid-template-columns: 1fr;
    gap: 46px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .service-landing-intro .service-mini-grid {
    grid-template-columns: 1fr;
  }

  .service-landing-intro .service-mini-grid > span {
    min-height: 78px;

    padding:
      18px
      18px
      18px
      48px;
  }

  .service-landing-intro .service-mini-grid > span:nth-child(even) {
    border-left: 0 !important;
  }

  .service-landing-intro .service-mini-grid > span:not(:last-child) {
    border-bottom: 1px solid var(--line) !important;
  }

  .service-landing-intro .service-mini-grid > span::before {
    left: 15px;
    top: 22px;
  }

  .service-landing-intro .service-mini-grid > span::after {
    display: none;
  }

}


/* =========================================================
   SERVICE LANDING TEMPLATE — SCOPE INDEX
   Applies to all individual service pages
   ========================================================= */

.service-landing-panel .wrap {
  display: grid;
  grid-template-columns:
    minmax(320px, .82fr)
    minmax(0, 1.18fr);

  gap: clamp(70px, 8vw, 120px);
  align-items: center;
}


/* LEFT SIDE
   --------------------------------------------------------- */

.service-landing-panel .detail-intro {
  display: block;
}

.service-landing-panel .detail-intro > div {
  max-width: 620px;
}

.service-landing-panel .detail-intro > .lede {
  max-width: 560px;
  margin-top: 28px;
}


/* RIGHT SIDE
   --------------------------------------------------------- */

.service-landing-panel .service-feature-grid {
  counter-reset: service-scope;

  display: grid !important;
  grid-template-columns: 1fr !important;

  gap: 0 !important;
  margin: 0 !important;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


/* Every scope item */
.service-landing-panel .service-feature-grid > div {
  counter-increment: service-scope;

  position: relative;

  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);

  align-items: center;

  min-height: 92px;

  padding: 0 24px 0 0;

  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;

  background: transparent !important;

  transition:
    background-color .28s ease,
    padding-left .28s ease;
}

.service-landing-panel .service-feature-grid > div:last-child {
  border-bottom: 0 !important;
}


/* remove old + */
.service-landing-panel .service-feature-grid > div > span {
  font-size: 0 !important;
}


/* 01 / 02 / 03 / 04 */
.service-landing-panel .service-feature-grid > div > span::before {
  content: counter(service-scope, decimal-leading-zero);

  display: block;

  color: var(--slate);

  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;

  letter-spacing: .1em;
}


/* Main line */
.service-landing-panel .service-feature-grid > div > p {
  margin: 0 !important;

  color: var(--ink) !important;

  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1.4;

  transition: transform .28s ease;
}


/* tiny right-side cue */
.service-landing-panel .service-feature-grid > div::after {
  content: "→";

  position: absolute;

  right: 18px;

  color: var(--slate);

  font-size: 15px;

  opacity: .35;

  transform: translateX(-4px);

  transition:
    opacity .28s ease,
    transform .28s ease;
}


/* Hover */
@media (hover:hover) and (pointer:fine) {

  .service-landing-panel .service-feature-grid > div:hover {
    background:
      linear-gradient(
        90deg,
        rgba(80,108,131,.07),
        rgba(80,108,131,0) 78%
      ) !important;
  }

  .service-landing-panel .service-feature-grid > div:hover > p {
    transform: translateX(6px);
  }

  .service-landing-panel .service-feature-grid > div:hover::after {
    opacity: .9;
    transform: translateX(0);
  }

}


/* DARK VERSION SUPPORT */
.section.dark.service-landing-panel .service-feature-grid {
  border-color: var(--line-dark);
}

.section.dark.service-landing-panel .service-feature-grid > div {
  border-color: var(--line-dark) !important;
}

.section.dark.service-landing-panel .service-feature-grid > div > p {
  color: #fff !important;
}

.section.dark.service-landing-panel .service-feature-grid > div > span::before,
.section.dark.service-landing-panel .service-feature-grid > div::after {
  color: #b9d7e8;
}


/* TABLET */
@media (max-width: 900px) {

  .service-landing-panel .wrap {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .service-landing-panel .service-feature-grid {
    margin-top: 0 !important;
  }

}


/* MOBILE */
@media (max-width: 680px) {

  .service-landing-panel .service-feature-grid > div {
    grid-template-columns: 48px minmax(0,1fr);

    min-height: 78px;

    padding-right: 42px;
  }

  .service-landing-panel .service-feature-grid > div > p {
    font-size: 16px;
  }

}


/* =========================================================
   INDIVIDUAL SERVICE TEMPLATE — SCOPE CHECKLIST
   ========================================================= */

/* Cela "Obim rada" sekcija */
@media (min-width: 901px) {

  .service-landing-hero ~ .section:has(.service-checklist) .wrap.split {
    grid-template-columns:
      minmax(300px, .78fr)
      minmax(0, 1.22fr);

    gap: clamp(72px, 8vw, 120px);
    align-items: center;
  }

}


/* Desni scope index */
.service-landing-hero ~ .section .service-checklist {
  counter-reset: service-scope;

  width: 100%;

  margin: 0 !important;
  padding: 0 !important;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}


/* Jedan red */
.service-landing-hero ~ .section .service-checklist > div {
  counter-increment: service-scope;

  position: relative;

  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;

  min-height: 88px;

  padding: 0 24px 0 0;

  border-bottom: 1px solid var(--line);

  transition:
    background-color .3s ease;
}

.service-landing-hero ~ .section .service-checklist > div:last-child {
  border-bottom: 0;
}


/* Uklanjamo stari + */
.service-landing-hero ~ .section .service-checklist > div > span {
  font-size: 0 !important;
}


/* 01 / 02 / 03 / 04 */
.service-landing-hero ~ .section .service-checklist > div > span::before {
  content: counter(service-scope, decimal-leading-zero);

  display: block;

  color: var(--slate);

  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 500;

  letter-spacing: .1em;

  transition: color .3s ease;
}


/* Glavni tekst */
.service-landing-hero ~ .section .service-checklist > div > p {
  margin: 0 !important;

  color: var(--ink);

  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.4;

  transition:
    transform .3s ease,
    color .3s ease;
}


/* Hover — vrlo diskretan */
@media (hover:hover) and (pointer:fine) {

  .service-landing-hero ~ .section .service-checklist > div:hover {
    background:
      linear-gradient(
        90deg,
        rgba(80,108,131,.075) 0%,
        rgba(80,108,131,.025) 62%,
        rgba(80,108,131,0) 100%
      );
  }

  .service-landing-hero ~ .section .service-checklist > div:hover > p {
    transform: translateX(7px);
  }

  .service-landing-hero ~ .section .service-checklist > div:hover > span::before {
    color: var(--slate-deep);
  }

}


/* Tablet / mobile */
@media (max-width: 900px) {

  .service-landing-hero ~ .section:has(.service-checklist) .wrap.split {
    grid-template-columns: 1fr;
    gap: 42px;
  }

}

@media (max-width: 680px) {

  .service-landing-hero ~ .section .service-checklist > div {
    grid-template-columns: 46px minmax(0,1fr);
    min-height: 74px;
    padding-right: 8px;
  }

  .service-landing-hero ~ .section .service-checklist > div > p {
    font-size: 16px;
  }

}


/* =========================================================
   INDIVIDUAL SERVICE TEMPLATE — PROCESS SECTION FINAL
   ========================================================= */

.service-landing-hero ~ .section.dark .process-grid {
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

.service-landing-hero ~ .section.dark .process-step {
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.015);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.service-landing-hero ~ .section.dark .process-step h3 {
  color: #fff !important;
}

.service-landing-hero ~ .section.dark .process-step p {
  color: rgba(255, 255, 255, 0.65) !important;
}

.service-landing-hero ~ .section.dark .process-step span,
.service-landing-hero ~ .section.dark .process-step .eyebrow,
.service-landing-hero ~ .section.dark .process-step small {
  color: rgba(185, 215, 232, 0.78) !important;
}

/* Ako stari layout gura samo linije umesto kartica */
.service-landing-hero ~ .section.dark .process-step::before,
.service-landing-hero ~ .section.dark .process-step::after {
  border-color: rgba(255,255,255,0.22) !important;
}

@media (max-width: 980px) {
  .service-landing-hero ~ .section.dark .process-grid {
    gap: 16px;
  }

  .service-landing-hero ~ .section.dark .process-step {
    padding: 22px 20px;
  }
}


/* =========================================================
   INDIVIDUAL SERVICE TEMPLATE — CONTACT TITLE
   Applies to all individual service pages
   ========================================================= */

.service-landing-hero ~ .section.blue .contact-title {
  width: 100% !important;
  max-width: 680px !important;

  font-size: clamp(34px, 3.65vw, 54px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em;

  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: normal !important;
  word-break: normal !important;
}


/* script.js wraps each word inside .beam-word.
   Keep words intact, but allow natural wrapping BETWEEN words. */
.service-landing-hero ~ .section.blue .contact-title > .beam-word {
  display: inline-block !important;
  white-space: nowrap !important;
}


/* Override old rule which forces every direct span onto a new line */
.service-landing-hero ~ .section.blue .contact-title > span {
  vertical-align: baseline;
}


/* Give the title enough horizontal room on desktop */



/* Mobile */


@media (max-width: 680px) {

  .service-landing-hero ~ .section.blue .contact-title {
    max-width: none !important;
    font-size: clamp(32px, 9vw, 44px) !important;
  }

}



/* HOME — WAAS CTA BUTTONS */

.waas-overview .actions {
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  flex-wrap:wrap;
}

.waas-overview .actions .button {
  margin:0!important;
}

@media (max-width:600px) {
  .waas-overview .actions {
    align-items:flex-start!important;
  }
}


/* HOME — WAAS CTA BUTTONS — FINAL ROW FIX */

.waas-overview .actions {
  flex-wrap:nowrap!important;
  gap:10px!important;
}

.waas-overview .actions .button {
  width:auto!important;
  min-width:0!important;
  flex:0 0 auto!important;
  padding-left:20px!important;
  padding-right:20px!important;
  white-space:nowrap!important;
}


/* HOME — WAAS OVERVIEW FINAL CTA FIX */
.waas-overview .lede{
  font-size:80%!important;
}

.waas-overview .actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:12px!important;
}

.waas-overview .actions .button{
  width:auto!important;
  min-width:0!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
}


/* HOME WAAS — FINAL TYPOGRAPHY + CTA ORDER */

.waas-overview .lede {
  font-size:16px!important;
  line-height:1.6!important;
}

.waas-overview .actions {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
}

.waas-overview .actions .button {
  width:auto!important;
  min-width:0!important;
  flex:0 0 auto!important;
  margin:0!important;
  white-space:nowrap!important;
}


/* =========================================================
   SERVICES — HOVER INCLUDES ARROW
   ========================================================= */

@media (min-width: 901px) {

  .services-menu {
    min-height: 42px;
    border-radius: var(--pill);
    transition:
      background .2s ease,
      border-color .2s ease;
  }

  .services-menu:hover,
  .services-menu:focus-within {
    background: rgba(255,255,255,.09);
  }

  .services-menu > a:hover,
  .services-menu > a:focus-visible,
  .services-menu .services-toggle:hover,
  .services-menu .services-toggle:focus-visible {
    background: transparent !important;
  }

  .services-menu:has(> a[aria-current="page"]) {
    background: rgba(255,255,255,.09);
  }

}


/* USLUGE — BOTTOM CONTACT TITLE */
.usluge-contact-title {
  max-width: 620px!important;
  font-size: clamp(46px, 4vw, 64px)!important;
  line-height: 1.02!important;
  letter-spacing: -.04em!important;
}



/* =========================================================
   INDIVIDUAL SERVICE TEMPLATE — DELIVERABLES EDITORIAL FINAL
   ========================================================= */

@media (min-width: 901px) {

  .service-landing-panel > .wrap {
    display:grid!important;
    grid-template-columns:
      minmax(300px, .80fr)
      minmax(0, 1.20fr)!important;
    gap:clamp(72px, 8vw, 120px)!important;
    align-items:center!important;
  }

  .service-landing-panel .detail-intro {
    display:block!important;
    margin:0!important;
  }

  .service-landing-panel .detail-intro > div {
    max-width:520px;
  }

  .service-landing-panel .detail-intro .lede {
    max-width:470px;
    margin-top:28px!important;
  }

}


/* DESNA STRANA — 2 x 2 editorial index */

.service-landing-panel .service-feature-grid {
  display:grid!important;
  grid-template-columns:repeat(2, minmax(0,1fr))!important;
  gap:0 clamp(34px, 4vw, 56px)!important;

  width:100%!important;
  margin:0!important;
}


/* Uklanjamo stare velike kartice */

.service-landing-panel .service-feature-card {
  min-height:0!important;

  margin:0!important;
  padding:24px 0 30px!important;

  border:0!important;
  border-top:1px solid rgba(255,255,255,.18)!important;
  border-radius:0!important;

  background:transparent!important;
  box-shadow:none!important;

  display:block!important;
}


/* Broj */

.service-landing-panel .service-feature-card > span {
  display:block;

  margin-bottom:15px;

  color:rgba(185,215,232,.72)!important;

  font-family:"IBM Plex Mono", monospace!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:.08em!important;
}


/* Naslov */

.service-landing-panel .service-feature-card h3 {
  max-width:330px;

  margin:0!important;

  color:#fff!important;

  font-family:"Instrument Sans", sans-serif!important;
  font-size:clamp(17px, 1.25vw, 20px)!important;
  font-weight:500!important;
  line-height:1.32!important;
  letter-spacing:-.018em!important;
}


/* Diskretan hover umesto card efekta */

@media (hover:hover) and (pointer:fine) {

  .service-landing-panel .service-feature-card h3 {
    transition:
      transform .28s ease,
      color .28s ease;
  }

  .service-landing-panel .service-feature-card:hover h3 {
    transform:translateX(5px);
    color:#B9D7E8!important;
  }

}


/* Tablet */

@media (max-width:900px) {

  .service-landing-panel > .wrap {
    display:block!important;
  }

  .service-landing-panel .detail-intro {
    margin-bottom:50px!important;
  }

  .service-landing-panel .service-feature-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

}


/* Mobile */

@media (max-width:620px) {

  .service-landing-panel .service-feature-grid {
    grid-template-columns:1fr!important;
  }

  .service-landing-panel .service-feature-card {
    padding:21px 0 24px!important;
  }

  .service-landing-panel .service-feature-card h3 {
    max-width:none;
    font-size:17px!important;
  }

}


/* SERVICE DELIVERABLES — EDGE GLOW ONLY ON OUTER CONTAINER */

.service-landing-panel .service-feature-card.sh-border-glow::before,
.service-landing-panel .service-feature-card.sh-border-glow::after,
.service-landing-panel .service-feature-card > .sh-edge-light {
  display:none!important;
}



/* =========================================================
   PROJECTS PAGE — IMAGE + DARK GRADIENT OVERLAY CARDS
   ========================================================= */

.project-three-grid .portfolio-item {
  position: relative!important;
  display: block!important;

  aspect-ratio: 16 / 11;
  min-height: 0!important;

  overflow: hidden!important;

  border: 1px solid rgba(17,22,26,.10)!important;
  border-radius: 18px!important;

  background: #181a1d!important;
  color: #fff!important;

  box-shadow: none!important;

  transform: translateZ(0);
}


/* Screenshot is now the entire card */

.project-three-grid .portfolio-item > img:not(.project-card-arrow) {
  position: absolute!important;
  inset: 0!important;

  width: 100%!important;
  height: 100%!important;

  object-fit: cover!important;
  object-position: top center!important;

  border: 0!important;
  border-radius: inherit!important;

  transform: scale(1);
  transition:
    transform 700ms cubic-bezier(.2,.75,.25,1),
    filter 400ms ease;
}


/* Dark shadow / gradient */

.project-three-grid .portfolio-item::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(12,15,18,0) 28%,
      rgba(12,15,18,.12) 47%,
      rgba(12,15,18,.62) 72%,
      rgba(12,15,18,.92) 100%
    );
}


/* Remove old generated arrow */

.project-three-grid .portfolio-item::after {
  display: none!important;
}


/* Project title */

.project-three-grid .project-card-title-row {
  position: absolute!important;

  z-index: 3;

  left: 24px;
  right: 22px;
  bottom: 76px;

  display: flex!important;
  align-items: flex-end!important;
  justify-content: space-between!important;
  gap: 20px!important;

  margin: 0!important;
  padding: 0!important;
}


.project-three-grid .portfolio-item .project-card-title-row h2 {
  margin: 0!important;
  padding: 0!important;

  color: #fff!important;
  background: transparent!important;

  font-size: clamp(23px, 1.8vw, 30px)!important;
  font-weight: 600!important;
  line-height: 1.08!important;
  letter-spacing: -.035em!important;

  text-shadow: 0 2px 16px rgba(0,0,0,.22);
}


/* Arrow */

.project-three-grid .project-card-arrow {
  flex: 0 0 auto!important;

  width: 30px!important;
  height: 30px!important;

  object-fit: contain!important;

  border: 0!important;

  filter: brightness(0) invert(1)!important;
  opacity: .82!important;

  transform: none;
  transition:
    opacity .25s ease,
    transform .25s ease!important;
}


/* Description */

.project-three-grid .portfolio-item > p {
  position: absolute!important;

  z-index: 3;

  left: 24px;
  right: 64px;
  bottom: 22px;

  margin: 0!important;
  padding: 0!important;

  color: rgba(255,255,255,.78)!important;

  font-size: 14px!important;
  line-height: 1.45!important;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Meta stays hidden */

.project-three-grid .portfolio-meta {
  display: none!important;
}


/* Hover */

@media (hover:hover) and (pointer:fine) {

  .project-three-grid .portfolio-item:hover {
    transform: translateY(-3px)!important;
    border-color: rgba(17,22,26,.16)!important;
  }

  .project-three-grid .portfolio-item:hover > img:not(.project-card-arrow) {
    transform: scale(1.035);
  }

  .project-three-grid .portfolio-item:hover .project-card-arrow {
    opacity: 1!important;
    transform: translate(3px,-3px)!important;
  }

}


/* Mobile */

@media (max-width: 680px) {

  .project-three-grid .portfolio-item {
    aspect-ratio: 4 / 3;
  }

  .project-three-grid .project-card-title-row {
    left: 20px;
    right: 18px;
    bottom: 70px;
  }

  .project-three-grid .portfolio-item .project-card-title-row h2 {
    font-size: 23px!important;
  }

  .project-three-grid .portfolio-item > p {
    left: 20px;
    right: 52px;
    bottom: 20px;

    font-size: 13px!important;
  }

  .project-three-grid .project-card-arrow {
    width: 27px!important;
    height: 27px!important;
  }

}


/* PROJECTS — SMALLER TITLE + STRONGER OVERLAY */

.project-three-grid .portfolio-item::before {
  background:
    linear-gradient(
      to bottom,
      rgba(12,15,18,0) 24%,
      rgba(12,15,18,.16) 43%,
      rgba(12,15,18,.72) 68%,
      rgba(12,15,18,.98) 100%
    )!important;
}

.project-three-grid .portfolio-item .project-card-title-row h2 {
  font-size: clamp(19px, 1.45vw, 25px)!important;
  line-height: 1.1!important;
}

@media (max-width:680px) {
  .project-three-grid .portfolio-item .project-card-title-row h2 {
    font-size:20px!important;
  }
}


/* PROJECTS — REVEAL CONTENT ONLY ON HOVER */

.project-three-grid .portfolio-item::before {
  opacity: 0!important;
  transition: opacity .35s ease!important;
}

.project-three-grid .project-card-title-row,
.project-three-grid .portfolio-item > p {
  opacity: 0!important;
  transform: translateY(10px);
  transition:
    opacity .35s ease,
    transform .35s ease!important;
}

.project-three-grid .project-card-arrow {
  opacity: 0!important;
  transform: translate(0, 6px)!important;
}

@media (hover:hover) and (pointer:fine) {

  .project-three-grid .portfolio-item:hover::before {
    opacity: 1!important;
  }

  .project-three-grid .portfolio-item:hover .project-card-title-row,
  .project-three-grid .portfolio-item:hover > p {
    opacity: 1!important;
    transform: translateY(0)!important;
  }

  .project-three-grid .portfolio-item:hover .project-card-arrow {
    opacity: 1!important;
    transform: translate(3px,-3px)!important;
  }

}

/* Touch uređaji — sadržaj ostaje vidljiv jer nema pravog hovera */
@media (hover:none), (pointer:coarse) {

  .project-three-grid .portfolio-item::before,
  .project-three-grid .project-card-title-row,
  .project-three-grid .portfolio-item > p,
  .project-three-grid .project-card-arrow {
    opacity: 1!important;
    transform: none!important;
  }

}


/* PROJECTS — UNIFORM HOVER OVERLAY */

.project-three-grid .portfolio-item::before {
  background: rgba(12,15,18,.62)!important;
}


/* PROJECTS — SPACE BEFORE NEXT SECTION */
.project-three-grid {
  padding-bottom: 100px!important;
}


/* PROJECTS — SPACE BEFORE NEXT SECTION */
.project-three-grid {
  padding-bottom: 100px!important;
}


/* PROJECTS — BOTTOM CONTACT TITLE ONE LINE */
.projekti-contact-title,
.projects-contact-title,
.projects-hero ~ .section.blue .contact-title {
  white-space: nowrap!important;
  font-size: clamp(34px, 3vw, 52px)!important;
  line-height: 1!important;
}


/* PROJECTS — BOTTOM CONTACT TITLE TRUE ONE LINE */
.projects-hero ~ .section.blue .contact-title {
  width: max-content!important;
  max-width: none!important;
  white-space: nowrap!important;
  font-size: clamp(34px, 3vw, 52px)!important;
  line-height: 1!important;
}

.projects-hero ~ .section.blue .contact-title > span,
.projects-hero ~ .section.blue .contact-title > .beam-word {
  display: inline-block!important;
  width: auto!important;
  white-space: nowrap!important;
}

/* WAAS — BOTTOM CONTACT TITLE */
.waas-contact-title {
  width:100%!important;
  max-width:620px!important;
  font-size:clamp(42px,3.6vw,58px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  white-space:normal!important;
}

.waas-contact-title > .beam-word,
.waas-contact-title > span {
  display:inline!important;
  white-space:normal!important;
}


/* =========================================================
   NEWS LIST — THUMBNAIL / DATE / CONTENT LAYOUT FIX
   ========================================================= */

.news-list .news-row {
  display:grid!important;
  grid-template-columns:
    180px
    120px
    minmax(0,1fr)!important;

  gap:32px!important;
  align-items:start!important;

  padding:32px 0!important;
}


/* thumbnail */

.news-list .news-row-picture {
  width:180px!important;
  aspect-ratio:3 / 2;
  overflow:hidden;
  border-radius:12px;
}

.news-list .news-row-picture img {
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}


/* date */

.news-list .news-row > time {
  min-width:0;
  padding-top:3px;
  white-space:nowrap;
}


/* article content */

.news-list .news-row > div {
  min-width:0!important;
}

.news-list .news-row h2 {
  max-width:850px;
}


/* TABLET */

@media (max-width:900px) {

  .news-list .news-row {
    grid-template-columns:150px minmax(0,1fr)!important;
    gap:12px 28px!important;
  }

  .news-list .news-row-picture {
    grid-column:1;
    grid-row:1 / span 2;
    width:150px!important;
  }

  .news-list .news-row > time {
    grid-column:2;
    grid-row:1;
  }

  .news-list .news-row > div {
    grid-column:2;
    grid-row:2;
  }

}


/* MOBILE */

@media (max-width:620px) {

  .news-list .news-row {
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .news-list .news-row-picture,
  .news-list .news-row > time,
  .news-list .news-row > div {
    grid-column:1!important;
    grid-row:auto!important;
  }

  .news-list .news-row-picture {
    width:100%!important;
    aspect-ratio:16 / 9;
  }

}


/* NEWS — BOTTOM CONTACT TITLE ONE LINE */
.news-contact-title {
  width:max-content!important;
  max-width:none!important;
  white-space:nowrap!important;

  font-size:clamp(34px,3vw,52px)!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
}

.news-contact-title > span,
.news-contact-title > .beam-word {
  display:inline-block!important;
  width:auto!important;
  white-space:nowrap!important;
}


/* =========================================================
   ABOUT — PROOF BAR SAME STYLE AS HOME CREDIBILITY STRIP
   ========================================================= */

.proof-bar {
  background: transparent!important;
  border: 0!important;
  border-radius: 0!important;
  box-shadow: none!important;
  padding: 36px 0 64px!important;
}

.proof-bar > .proof-grid {
  display: grid!important;
  grid-template-columns: repeat(4, minmax(0,1fr))!important;

  overflow: hidden!important;

  background: #506c83!important;
  border: 1px solid rgba(255,255,255,.12)!important;
  border-radius: 18px!important;

  margin-top: 0!important;
}

.proof-bar .proof-item {
  min-height: 104px!important;

  display: flex!important;
  flex-direction: column!important;
  justify-content: center!important;
  align-items: flex-start!important;

  padding: 22px 20px!important;

  background: transparent!important;
  color: #fff!important;

  border: 0!important;
  border-right: 1px solid rgba(255,255,255,.14)!important;
  border-radius: 0!important;
  box-shadow: none!important;
}

.proof-bar .proof-item:last-child {
  border-right: 0!important;
}

.proof-bar .proof-item strong {
  color: #fff!important;

  font-family: "Poppins", sans-serif!important;
  font-size: clamp(25px,2vw,32px)!important;
  font-weight: 500!important;
  line-height: 1.08!important;
  letter-spacing: -.035em!important;
}

.proof-bar .proof-item span,
.proof-bar .proof-item small {
  color: rgba(255,255,255,.78)!important;

  font-family: "IBM Plex Mono", monospace!important;
  font-size: 9px!important;
  font-weight: 500!important;
  line-height: 1.35!important;
  letter-spacing: .08em!important;
  text-transform: uppercase!important;
}


/* Mobile */

@media (max-width: 700px) {

  .proof-bar > .proof-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))!important;
  }

  .proof-bar .proof-item {
    border-right: 1px solid rgba(255,255,255,.14)!important;
    border-bottom: 1px solid rgba(255,255,255,.14)!important;
  }

  .proof-bar .proof-item:nth-child(2n) {
    border-right: 0!important;
  }

  .proof-bar .proof-item:nth-last-child(-n+2) {
    border-bottom: 0!important;
  }
}


/* =========================================================
   ABOUT — FIT SECTION EDITORIAL REDESIGN
   ========================================================= */

.fit-section .fit-head {
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.72fr)!important;
  gap:clamp(70px,8vw,120px)!important;
  align-items:end!important;
}

.fit-section .fit-head .lede {
  max-width:520px!important;
  margin:0!important;
}


/* dve pune kolone */

.fit-section .fit-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;

  width:100%!important;
  margin-top:56px!important;
}


/* zajednički card sistem */

.fit-section .fit-card {
  position:relative;

  min-height:430px;

  padding:38px 40px 34px!important;

  border-radius:18px!important;
  box-shadow:none!important;

  overflow:hidden;

  counter-reset:fit-item;
}


/* mali label */

.fit-section .fit-card > span {
  display:block;

  margin-bottom:18px;

  font-family:"IBM Plex Mono",monospace!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1.2!important;
  letter-spacing:.1em!important;
  text-transform:uppercase;
}


/* card naslov */

.fit-section .fit-card h3 {
  max-width:470px;

  margin:0 0 32px!important;

  font-family:"Poppins",sans-serif!important;
  font-size:clamp(27px,2.3vw,34px)!important;
  font-weight:500!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}


/* lista postaje editorial index */

.fit-section .fit-card ul {
  margin:0!important;
  padding:0!important;

  list-style:none!important;

  border-top:1px solid currentColor;
}

.fit-section .fit-card li {
  counter-increment:fit-item;

  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:14px;
  align-items:start;

  padding:17px 0;

  border-bottom:1px solid currentColor;

  font-size:15px;
  line-height:1.5;
}

.fit-section .fit-card li::before {
  content:counter(fit-item, decimal-leading-zero);

  padding-top:3px;

  font-family:"IBM Plex Mono",monospace;
  font-size:9px;
  line-height:1;
  letter-spacing:.08em;
}


/* POSITIVE */

.fit-section .fit-positive {
  background:#506c83!important;
  border:1px solid #506c83!important;
  color:#fff!important;
}

.fit-section .fit-positive > span,
.fit-section .fit-positive li::before {
  color:rgba(255,255,255,.62)!important;
}

.fit-section .fit-positive h3 {
  color:#fff!important;
}

.fit-section .fit-positive ul,
.fit-section .fit-positive li {
  border-color:rgba(255,255,255,.16)!important;
}

.fit-section .fit-positive li {
  color:rgba(255,255,255,.82)!important;
}


/* NEGATIVE */

.fit-section .fit-negative {
  background:#fff!important;
  border:1px solid var(--line)!important;
  color:var(--ink)!important;
}

.fit-section .fit-negative > span,
.fit-section .fit-negative li::before {
  color:var(--slate)!important;
}

.fit-section .fit-negative h3 {
  color:var(--ink)!important;
}

.fit-section .fit-negative ul,
.fit-section .fit-negative li {
  border-color:var(--line)!important;
}

.fit-section .fit-negative li {
  color:var(--ink-soft)!important;
}


/* desktop hover — veoma diskretno */

@media (hover:hover) and (pointer:fine) {

  .fit-section .fit-card {
    transition:
      transform .3s ease,
      border-color .3s ease;
  }

  .fit-section .fit-card:hover {
    transform:translateY(-3px);
  }

}


/* tablet / mobile */

@media (max-width:900px) {

  .fit-section .fit-head {
    grid-template-columns:1fr!important;
    gap:26px!important;
  }

  .fit-section .fit-grid {
    grid-template-columns:1fr!important;
    gap:16px!important;
  }

  .fit-section .fit-card {
    min-height:0;
  }

}

@media (max-width:620px) {

  .fit-section .fit-card {
    padding:28px 24px!important;
  }

  .fit-section .fit-card h3 {
    font-size:27px!important;
  }

  .fit-section .fit-card li {
    grid-template-columns:36px minmax(0,1fr);
    font-size:14px;
  }

}


/* ABOUT — FIT CARDS: REMOVE INNER EDGE GLOW */

.fit-section .fit-card.sh-border-glow::before,
.fit-section .fit-card.sh-border-glow::after,
.fit-section .fit-card.sh-border-glow > .sh-edge-light {
  display:none!important;
}


/* ABOUT — BOTTOM CONTACT TITLE */
.about-contact-title {
  width:100%!important;
  max-width:680px!important;
  font-size:clamp(40px,3.5vw,56px)!important;
  line-height:1.02!important;
  letter-spacing:-.04em!important;
  white-space:normal!important;
}

.about-contact-title > .beam-word {
  display:inline-block!important;
  white-space:nowrap!important;
}

.about-contact-title > span {
  vertical-align:baseline;
}


/* =========================================================
   ENGLISH TITLE LAYOUT FIX — WAAS / NEWS / CONTACT TRUST
   2026-09-07
   ========================================================= */


/* ---------------------------------------------------------
   1. WAAS — bottom contact title

   SR ima namenski <br>.
   EN je duži, zato spuštamo veličinu toliko da
   "Want a website as a" ostane u jednom redu pre <br>.
   --------------------------------------------------------- */

html[lang="en"] .waas-contact-title {
  width: 100% !important;
  max-width: 590px !important;

  font-size: clamp(40px, 3vw, 48px) !important;
  line-height: 1.03 !important;
  letter-spacing: -.045em !important;

  white-space: normal !important;
  text-wrap: balance;
}

html[lang="en"] .waas-contact-title > .beam-word,
html[lang="en"] .waas-contact-title > span {
  white-space: normal !important;
}


/* ---------------------------------------------------------
   2. NEWS — bottom contact title

   Prethodno pravilo ga je nasilno držalo u jednom redu.
   Na EN verziji dozvoljavamo prirodan prelom unutar leve
   kolone kontakt sekcije.
   --------------------------------------------------------- */

html[lang="en"] .news-contact-title {
  width: 100% !important;
  max-width: 610px !important;

  font-size: clamp(40px, 3.15vw, 50px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;

  white-space: normal !important;
  text-wrap: balance;
}

html[lang="en"] .news-contact-title > span,
html[lang="en"] .news-contact-title > .beam-word {
  width: auto !important;
  white-space: nowrap !important;
}


/* ---------------------------------------------------------
   3. CONTACT — client trust title

   Naslov mora ostati unutar prve kolone .trust-layout.
   --------------------------------------------------------- */

.trust-copy {
  min-width: 0 !important;
}

.trust-copy .section-title {
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: normal !important;
}

html[lang="en"] .trust-copy .section-title {
  font-size: clamp(42px, 3.35vw, 54px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
}

html[lang="en"] .trust-copy .section-title .lang-en {
  display: inline !important;
  white-space: normal !important;
}


/* ---------------------------------------------------------
   Intermediate desktop protection
   --------------------------------------------------------- */

@media (min-width: 901px) and (max-width: 1250px) {

  html[lang="en"] .waas-contact-title,
  html[lang="en"] .news-contact-title {
    font-size: 42px !important;
  }

  html[lang="en"] .trust-copy .section-title {
    font-size: 44px !important;
  }
}


/* ---------------------------------------------------------
   Tablet/mobile — existing single-column layout takes over
   --------------------------------------------------------- */

@media (max-width: 900px) {

  html[lang="en"] .waas-contact-title,
  html[lang="en"] .news-contact-title,
  html[lang="en"] .trust-copy .section-title {
    max-width: 680px !important;
    font-size: clamp(38px, 7vw, 52px) !important;
  }
}



/* Production QA 2026-09-27: keep the mobile navigation trigger clickable. */
@media (max-width: 900px) {
  .site-header .nav-cta { display: none !important; }
  .site-header .menu-button { position: relative; z-index: 4; }
}

/* Production QA 2026-09-27: honor filtered cards, contrast, and narrow screens. */
[hidden],
.news-list .news-row[hidden],
.project-three-grid .portfolio-item[hidden] { display: none !important; }
.section.blue .contact-links .beam-word-base { color: #fff !important; }
.news-list .news-row time { color: #4a5660 !important; }
.section.dark .principle strong { color: #b9d0e1 !important; }
@media (max-width: 600px) {
  .waas-overview .wrap.split { grid-template-columns: minmax(0, 1fr) !important; }
  .waas-overview .wrap.split > * { min-width: 0; }
  .waas-overview .actions {
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
  }
  .waas-overview .actions .button {
    width: 100% !important;
    flex: 1 1 auto !important;
    white-space: normal !important;
  }
}
