/* Inventa: unified brand system (GIS / open source software) */

:root {
  --ink: #0a2540;
  --blue: #2563eb;
  --blue-dim: #1d4ed8;
  --blue-soft: #eff6ff;
  --teal: #00a8a8;
  /* Naslovi sekcija na beloj / svetloj pozadini (tamna tirkizna, čitljiva uz brend teal) */
  --section-title-on-light: #0b4d4f;
  /* Inner hero (Usluge, Kontakt, …) — ista porodica nijansi */
  --inner-hero-edge: #041a1d;
  --inner-hero-mid: #0c5a5d;
  --inner-hero-glow: rgba(0, 168, 168, 0.26);
  --inner-hero-glow-soft: rgba(45, 212, 191, 0.1);
  /* Footer — isti ton kao inner hero, tamniji */
  --footer-bg-top: #04201b;
  --footer-bg-bottom: #020f0d;
  --footer-accent: rgba(0, 168, 168, 0.22);
  --teal-soft: #e0f7f7;
  --teal-lt: #e0f7f7;
  --mist: #f4f6f9;
  --white: #ffffff;
  --grey: #6b7a8d;
  --grey-dark: #475569;
  --border: #e2e8f0;
  --gold: #c9a96e;
  --r: 16px;
  --shadow: 0 4px 24px rgba(10, 37, 64, 0.06);
  --shadow-hover: 0 16px 48px rgba(10, 37, 64, 0.1);
  --shadow-sm: 0 2px 12px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 32px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "DM Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --max: 1180px;
  --space-section: clamp(4rem, 10vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

blockquote {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--blue-dim);
}

.container-inventa {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 5vw, 2.5rem);
  padding-right: clamp(1.25rem, 5vw, 2.5rem);
}

/* --- Typography --- */
.display-hero {
  font-weight: 500;
  font-size: clamp(1.85rem, 4.4vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: var(--white);
}

.display-inner {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.22;
  letter-spacing: 0.015em;
  color: var(--white);
}

h1.page-title {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  letter-spacing: 0.015em;
  line-height: 1.22;
  color: var(--ink);
}

h2.section-title {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.75vw, 2.05rem);
  letter-spacing: 0.015em;
  line-height: 1.28;
  color: var(--ink);
}

h3.card-title {
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}

.lead {
  font-family: var(--font);
  font-size: clamp(1rem, 1.65vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--grey-dark);
}

.muted {
  font-family: var(--font);
  color: var(--grey);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* Skoro bela slova, blagi tirkizni odsjaj + tanki tirkizni obrub (čitljivo preko slika) */
.eyebrow--on-dark {
  color: #f2fdfd;
  -webkit-text-stroke: 0.7px var(--teal);
  paint-order: stroke fill;
  text-shadow:
    0 0 14px rgba(0, 168, 168, 0.42),
    0 0 1px rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(10, 37, 64, 0.35);
}

/* --- Nav --- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: background 0.35s, border-color 0.35s, box-shadow 0.3s;
}

#nav.nav--transparent {
  background: rgba(15, 23, 42, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

#nav.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: var(--border) !important;
}

/* Inner stranice: futer ostaje na dnu viewporta kad je sadržaj kratak */
body.page-inner {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.page-inner > main {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

body.page-inner > .site-footer {
  flex-shrink: 0;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s, opacity 0.2s;
  line-height: 0;
}

.logo:hover {
  opacity: 0.92;
}

/* Refleksija bez dodatnog <img>: pseudo-element koristi isti PNG kao pozadinu */
.logo::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(46px - 1px);
  width: min(300px, 58vw);
  height: 46px;
  background-image: url("../images/logo-new.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  transform: scaleY(-1);
  transform-origin: top left;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.7px);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  animation: logo-ripple 1.8s ease forwards;
  will-change: clip-path, opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .logo::after {
    animation: none;
    opacity: 0;
  }
}

@keyframes logo-ripple {
  0% {
    opacity: 0;
    transform: translateY(-2px) scaleY(-1);
    clip-path: inset(0 0 0% 0);
  }
  18% {
    opacity: 0.45;
    transform: translateY(0) scaleY(-1);
  }
  30% { clip-path: inset(0 0 38% 0); }
  65% { clip-path: inset(0 0 44% 0); }
  100% {
    opacity: 0;
    transform: translateY(6px) scaleY(-1);
    clip-path: inset(0 0 46% 0);
  }
}

.logo-image,
.logo img {
  display: block;
  height: 46px;
  width: auto;
  max-width: min(300px, 58vw);
  object-fit: contain;
  object-position: left center;
}

#nav.nav--transparent:not(.scrolled) .logo-image,
#nav.nav--transparent:not(.scrolled) .logo img {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

#nav.scrolled .logo-image,
#nav.scrolled .logo img {
  filter: none;
}

@media (max-width: 480px) {
  .logo-image,
  .logo img {
    height: 40px;
    max-width: min(260px, 68vw);
  }

  .logo::after {
    top: calc(40px - 1px);
    height: 40px;
    width: min(260px, 68vw);
  }
}

.logo span {
  color: var(--teal);
}

#nav.nav--transparent:not(.scrolled) .logo {
  color: var(--white);
}

#nav.nav--transparent:not(.scrolled) .logo span {
  color: #5eead4;
}

#nav.scrolled .logo {
  color: var(--ink);
}

#nav.scrolled .logo span {
  color: var(--teal);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.65rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:not(.lang-switch):hover,
.nav-links a:not(.lang-switch):focus-visible {
  color: #0d9488;
}

.nav-links a.active:not(.lang-switch) {
  color: var(--section-title-on-light);
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 0 var(--teal);
}

#nav.nav--transparent:not(.scrolled) .nav-links a.active:not(.lang-switch) {
  color: #f8fafc;
  box-shadow: inset 0 -2px 0 0 #5eead4;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--teal) !important;
  border: 1px solid var(--teal);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-switch:hover {
  background: var(--teal);
  color: var(--white) !important;
  border-color: var(--teal);
}

#nav.nav--transparent:not(.scrolled) .lang-switch {
  color: #e0fdfd !important;
  border-color: rgba(255, 255, 255, 0.45);
}

#nav.nav--transparent:not(.scrolled) .lang-switch:hover {
  background: var(--teal);
  color: var(--white) !important;
  border-color: var(--teal);
}

#nav.nav--transparent:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

#nav.nav--transparent:not(.scrolled) .nav-links a:not(.lang-switch):hover,
#nav.nav--transparent:not(.scrolled) .nav-links a:not(.lang-switch):focus-visible {
  color: #99f6e4;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
}

#nav.nav--transparent:not(.scrolled) .nav-burger span {
  background: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.25s, background 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-dim);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-ghost-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.btn-ghost-link:hover {
  border-bottom-color: var(--blue);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.75rem;
  pointer-events: none;
}

.hero-cta-row a {
  pointer-events: auto;
}

/* Hero: plavo dugme; label nije pun bel dok nije hover */
.hero-full .hero-cta-row .btn-primary {
  color: rgba(255, 255, 255, 0.78);
}

.hero-full .hero-cta-row .btn-primary:hover,
.hero-full .hero-cta-row .btn-primary:focus-visible {
  color: #ffffff;
}

/* --- Footer --- */
.site-footer {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--footer-bg-top) 0%,
    #062823 45%,
    var(--footer-bg-bottom) 100%
  );
  box-shadow: inset 0 1px 0 var(--footer-accent);
  padding: 2.5rem clamp(1.5rem, 5vw, 3rem) 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 80% at 15% 0%,
    rgba(0, 168, 168, 0.07),
    transparent 55%
  );
  pointer-events: none;
}

/* Inner stranice (portfolio, usluge, kontakt, …): futer uvek isti kao podrazumevani .site-footer */
body.page-inner .site-footer {
  background: linear-gradient(
    180deg,
    var(--footer-bg-top) 0%,
    #062823 45%,
    var(--footer-bg-bottom) 100%
  );
  box-shadow: inset 0 1px 0 var(--footer-accent);
}

body.page-inner .site-footer::before {
  background: radial-gradient(
    ellipse 90% 80% at 15% 0%,
    rgba(0, 168, 168, 0.07),
    transparent 55%
  );
}

/* Home page footer: kao kontakt plava, za nijansu tamnije, čist plavi gradijent */
.page-home .site-footer {
  background: linear-gradient(135deg, #081f34 0%, #0a2c4f 52%, #071a2c 100%);
  box-shadow: inset 0 1px 0 rgba(147, 197, 253, 0.1);
}

.page-home .site-footer::before {
  background: radial-gradient(
    ellipse 55% 72% at 92% 48%,
    rgba(147, 197, 253, 0.07) 0%,
    transparent 52%
  );
}

/* Početna + inner: proziran navbar (plava → tamni teal), isti prelaz na belo kad je .scrolled */
.page-home #nav.nav--transparent:not(.scrolled),
.page-inner #nav.nav--transparent:not(.scrolled) {
  background: linear-gradient(
    180deg,
    rgba(10, 37, 64, 0.4) 0%,
    rgba(6, 52, 58, 0.38) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.site-footer__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 640px) {
  .site-footer__row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.75rem;
  }

  .site-footer .footer-logo {
    justify-content: center;
  }
}

.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  line-height: 0;
  transition: opacity 0.2s;
}

.site-footer .footer-logo:hover {
  opacity: 0.9;
}

.site-footer .footer-logo span {
  color: #5eead4;
}

.site-footer .footer-logo__img {
  height: 52px;
  width: auto;
  max-width: min(260px, 70vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  opacity: 0.98;
}

@media (max-width: 480px) {
  .site-footer .footer-logo__img {
    height: 44px;
    max-width: min(220px, 75vw);
  }
}

.footer-rights {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: right;
  color: rgba(200, 245, 240, 0.38);
  flex-shrink: 0;
}

/* --- Inner page hero --- */
.inner-hero {
  position: relative;
  min-height: min(46vh, 24rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(5.25rem, 11vw, 6.5rem) 0 clamp(2.75rem, 6vw, 3.25rem);
  background: linear-gradient(
    135deg,
    var(--inner-hero-edge) 0%,
    var(--inner-hero-mid) 52%,
    #062428 100%
  );
  overflow: hidden;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 72% 82% at 78% 18%,
      var(--inner-hero-glow),
      transparent 58%
    ),
    radial-gradient(
      ellipse 55% 65% at 12% 82%,
      var(--inner-hero-glow-soft),
      transparent 48%
    ),
    radial-gradient(
      ellipse 50% 45% at 50% 50%,
      rgba(11, 77, 79, 0.35),
      transparent 70%
    );
  pointer-events: none;
}

.inner-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.inner-hero .lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: none;
  margin-top: 1rem;
}

.inner-hero .lead a,
.inner-hero .lead .inner-hero-link {
  color: #5eead4;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 168, 168, 0.65);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease,
    text-decoration-thickness 0.12s ease, text-underline-offset 0.12s ease;
}

.inner-hero .lead a:hover,
.inner-hero .lead .inner-hero-link:hover {
  color: #ecfdf5;
  text-decoration-color: rgba(236, 253, 245, 0.9);
}

.inner-hero .lead a:focus-visible,
.inner-hero .lead .inner-hero-link:focus-visible {
  outline: 2px solid #2dd4bf;
  outline-offset: 3px;
  border-radius: 3px;
  color: #fff;
}

.inner-hero .lead a:active,
.inner-hero .lead .inner-hero-link:active {
  color: #99f6e4;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
  text-decoration-color: rgba(153, 246, 228, 0.95);
}

/* Brzi linkovi ka oblastima usluga (#moduli) */
.moduli-service-links {
  margin-top: 0.45rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0.01em;
  color: var(--grey);
}

.moduli-service-links__label {
  font-weight: 600;
  color: var(--grey-dark);
}

.moduli-service-links__trail {
  color: var(--grey);
}

.service-inline-link {
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 118, 110, 0.38);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.service-inline-link:hover {
  color: #0d9488;
  border-bottom-color: rgba(13, 148, 136, 0.85);
}

.service-inline-link:focus-visible {
  outline: 2px solid #00a8a8;
  outline-offset: 2px;
  border-radius: 3px;
  color: #0f766e;
}

.service-inline-link:active {
  color: #115e59;
  border-bottom: 2px solid #115e59;
  padding-bottom: 0;
}

/* --- Homepage full hero --- */
#home.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--ink);
}

.hero-slider-full {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider-view {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.hero-slider-view:active {
  cursor: grabbing;
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 10s ease-out;
}

.hero-slide.is-active img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-track {
    transition-duration: 0.2s;
  }
  .hero-slide img {
    transition: none;
    transform: scale(1) !important;
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.45) 38%, rgba(15, 23, 42, 0.82) 100%),
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(37, 99, 235, 0.18), transparent 55%);
}

.hero-stage {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5rem clamp(1.25rem, 5vw, 2.5rem) 6rem;
  pointer-events: none;
}

.hero-stage .hero-cta-row,
.hero-stage .btn {
  pointer-events: auto;
}

.hero-sub {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 1.9vw, 1.125rem);
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 40rem;
  pointer-events: none;
}

.hero-trust span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero-slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 1.25rem 4.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.4rem;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.2s, transform 0.2s;
}

.hero-dot[aria-current="true"] {
  background: var(--white);
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.45);
}

.hero-arrows {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(0.75rem, 3vw);
  pointer-events: none;
}

.hero-arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.35);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.15s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .hero-stage {
    padding: 5.25rem max(1rem, 5vw) 8rem;
    justify-content: center;
  }

  /* Strelice niže da ne prelaze preko naslova i CTA u sredini ekrana */
  .hero-arrows {
    align-items: flex-end;
    padding-bottom: max(5.5rem, 17vh);
    padding-left: max(0.35rem, 2.5vw);
    padding-right: max(0.35rem, 2.5vw);
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .hero-dots {
    bottom: max(0.85rem, 2.5vh);
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100vw - 2rem);
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
  }

  .hero-slider-caption {
    padding-left: max(1rem, 4vw);
    padding-right: max(1rem, 4vw);
    padding-bottom: max(3.25rem, 9vh);
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .hero-cta-row {
    width: 100%;
    max-width: min(22rem, 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.25rem;
    box-sizing: border-box;
  }

  .hero-cta-row a {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .display-hero {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
    padding: 0 0.25rem;
  }

  .hero-trust {
    max-width: 100%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

@media (max-width: 380px) {
  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-arrows {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
}

/* --- Sections --- */
.section {
  padding: var(--space-section) 0;
}

.section--mist {
  background: var(--mist);
}

.section--white {
  background: var(--white);
}

/* Usluge: blago odvojena svetla traka (kartice „why“ stil na belom) */
.section--light {
  background: linear-gradient(180deg, #f8fafc 0%, var(--white) 38%);
  border-top: 1px solid var(--border);
}

/* Svetlo tirkizna traka (npr. EU / izrada softvera) */
.section--teal-tint {
  background: linear-gradient(165deg, #dff6f4 0%, var(--white) 40%, var(--teal-soft) 100%);
  position: relative;
  overflow: hidden;
  color: var(--ink);
}

.section--teal-tint::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 78% 55% at 100% 8%,
    rgba(0, 168, 168, 0.09) 0%,
    transparent 58%
  );
  pointer-events: none;
}

.section--teal-tint .container-inventa {
  position: relative;
  z-index: 1;
}

.section--teal-tint .eyebrow {
  color: var(--teal);
}

/* Tamna tirkizna traka (naizmenično sa belom / svetlom na uslugama) */
.section--teal-deep {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #021a1d 0%, #0b4f52 44%, #031f22 100%);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(0, 168, 168, 0.22);
}

.section--teal-deep::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 72% 68% at 82% 12%,
      rgba(0, 168, 168, 0.22),
      transparent 56%
    ),
    radial-gradient(
      ellipse 50% 55% at 8% 88%,
      rgba(0, 168, 168, 0.08),
      transparent 50%
    );
  pointer-events: none;
}

.section--teal-deep .container-inventa {
  position: relative;
  z-index: 1;
}

.section-intro {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--grey-dark);
  max-width: 42rem;
  margin: -0.5rem 0 2.5rem;
}

.section--dark .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

/* Samo usluge.html (tamne tirkizne trake) — ne utiče na .section--dark početne */
.section--teal-deep .section-intro {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.88;
}

.section--dark {
  background: #0a2540;
  color: rgba(255, 255, 255, 0.88);
}

section#why.section--dark {
  padding: 100px clamp(1.25rem, 6vw, 4rem);
}

.section--dark .section-title,
.section--teal-deep .section-title {
  color: var(--white);
}

.section--white .section-title,
.section--light .section-title,
.section--mist .section-title,
.section--teal-tint .section-title {
  color: var(--section-title-on-light);
}

.section--dark .muted {
  color: rgba(255, 255, 255, 0.55);
}

.section--dark .eyebrow,
.section--teal-deep .eyebrow {
  color: var(--teal);
}

.section-head {
  max-width: none;
  width: 100%;
  margin-bottom: 2.75rem;
}

.section-head--wide {
  max-width: none;
  width: 100%;
}

/* Početna: uvod „O nama“ ostaje uža mera iznad about-split rasporeda */
body.page-home #about .section-head {
  max-width: 40rem;
}

/* --- About: photo panel --- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}


.about-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--ink);
}

.about-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  min-height: 280px;
}

.about-panel__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panel__grid div:first-child {
  grid-row: span 2;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.stat-cell {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background 0.2s;
}

.stat-cell:hover {
  background: var(--teal-soft);
}

.stat-cell .n {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.stat-cell .n span {
  color: var(--teal);
}

.stat-cell .l {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 0.35rem;
  letter-spacing: 0.3px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}

.section-sub {
  font-size: 1rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: none;
  margin-top: 0.75rem;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.35); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.section-label,
[class*="section-label"] {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  font-family: var(--font);
}

body.page-home .section .eyebrow:not(.eyebrow--on-dark),
body.page-inner .section .eyebrow:not(.eyebrow--on-dark) {
  color: var(--teal);
}

body.page-home .display-hero {
  font-family: var(--font);
}

/* --- Services band (distinct from showcase) --- */
.service-band {
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.service-band:hover,
.service-band:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(0, 168, 168, 0.12);
  transform: translateY(-4px);
}

.service-band__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(23, 55, 120, 0.42);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: rgba(23, 55, 120, 0.88);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.service-band:hover .service-band__icon,
.service-band:focus-visible .service-band__icon {
  background: rgba(0, 168, 168, 0.1);
  border-color: rgba(0, 168, 168, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 168, 168, 0.08);
  color: var(--teal);
}

.service-band__icon svg {
  flex-shrink: 0;
}

.service-band__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
  margin-top: 1.25rem;
}

.service-band__cta svg {
  flex-shrink: 0;
}

a.service-band,
a.service-band:hover,
a.service-band:focus-visible {
  color: var(--ink);
}

.service-band__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.75rem 1.75rem 1.75rem 0;
  align-items: start;
}

.service-band__accent {
  width: 4px;
  align-self: stretch;
  background: linear-gradient(180deg, var(--blue), var(--teal));
  border-radius: 0 4px 4px 0;
}

.service-band h3 {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
}

.service-band__inner > div:last-child {
  min-width: 0;
}

.service-band p {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

.service-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .service-grid.service-grid--six {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- EU projects (homepage) --- */
.section--eu {
  background: linear-gradient(165deg, #e8f4fc 0%, var(--white) 38%, var(--teal-soft) 100%);
  position: relative;
  overflow: hidden;
}

.section--eu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 100% 0%, rgba(37, 99, 235, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.section--eu .container-inventa {
  position: relative;
  z-index: 1;
}

.eu-project-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .eu-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

a.eu-project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

a.eu-project-card:hover,
a.eu-project-card:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(0, 168, 168, 0.12);
  transform: translateY(-3px);
}

.eu-project-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist);
}

.eu-project-card__img--eu {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #0a2540 0%, #145a8a 40%, #007d7d 100%);
}

.eu-project-card__img--eu span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.88);
}

.eu-project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eu-project-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.eu-project-card__tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--teal-lt);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.65rem;
}

.eu-project-card h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 0.4rem;
}

.eu-project-card p {
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.65;
  letter-spacing: 0.01em;
  margin: 0;
  flex: 1;
  overflow-wrap: break-word;
}

.eu-project-card__cta {
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
}

.eu-project-card--soon {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  border: 1px dashed var(--border);
  background: var(--mist);
  padding: 1.5rem 1.35rem;
  min-height: 11rem;
}

.eu-project-card--soon .eu-project-card__tag {
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
}

.eu-project-card--soon h3 {
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 500;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.eu-project-card--soon p {
  font-size: 0.9rem;
  color: var(--grey);
  margin: 0;
}

/* --- Showcase strips (resenja) --- */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}

.showcase-row > div:nth-child(2) {
  min-width: 0;
}

.showcase-row:hover,
.showcase-row:focus-visible {
  box-shadow: 0 12px 40px rgba(10, 37, 64, 0.1);
  transform: translateY(-3px);
}

a.showcase-row,
a.showcase-row:hover,
a.showcase-row:focus-visible {
  color: var(--ink);
}

.showcase-row__thumb {
  width: 140px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.showcase-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-row__thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0a2540 0%, #145a8a 42%, #007d7d 100%);
}

.showcase-row__thumb--placeholder span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
}

.showcase-row__tag {
  display: inline-block;
  background: var(--teal-lt);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.showcase-row h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 0.35rem;
}

.showcase-row p {
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

.showcase-row__link {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--section-title-on-light);
  white-space: nowrap;
  transition: color 0.2s ease;
}

a.showcase-row:hover .showcase-row__link,
a.showcase-row:focus-visible .showcase-row__link {
  color: var(--teal);
}

@media (max-width: 700px) {
  .showcase-row {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .showcase-row__thumb {
    width: 100%;
    height: 160px;
  }
}

/* --- Value cards --- */
.value-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  padding: 1.65rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s, background 0.25s;
}

.value-card:hover {
  border-color: rgba(0, 168, 168, 0.45);
  background: rgba(37, 99, 235, 0.08);
}

.value-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.52);
}

/* --- Why section cards (light on dark variant) --- */
.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-card {
  padding: 2rem;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s, background 0.25s;
}

.why-card:hover {
  border-color: rgba(0, 168, 168, 0.4);
  background: rgba(0, 168, 168, 0.1);
}

.why-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 168, 168, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--teal);
}

.why-card__icon svg {
  flex-shrink: 0;
}

.why-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.why-card p {
  font-family: var(--font);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.72;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

/* Samo section--teal-deep na uslugama — kartice čitljivije od gradijenta */
.section--teal-deep .why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section--teal-deep .why-card:hover {
  border-color: rgba(0, 168, 168, 0.45);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.section--teal-deep .why-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

/* Why kartice na svetloj pozadini (npr. usluge.html — isti grid, drugačiji kontrast) */
.section--white .why-card,
.section--light .why-card,
.section--teal-tint .why-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.section--white .why-card:hover,
.section--light .why-card:hover,
.section--teal-tint .why-card:hover {
  border-color: rgba(0, 168, 168, 0.32);
  background: rgba(224, 247, 247, 0.4);
  box-shadow: var(--shadow);
}

.section--white .why-card h3,
.section--light .why-card h3,
.section--teal-tint .why-card h3 {
  color: var(--ink);
}

.section--white .why-card p,
.section--light .why-card p,
.section--teal-tint .why-card p {
  color: var(--grey-dark);
}

.section--white .why-card__icon,
.section--light .why-card__icon,
.section--teal-tint .why-card__icon {
  background: rgba(0, 168, 168, 0.12);
  color: var(--teal);
}

/* Why kartice na section--mist (npr. druga traka na usluge.html) — isti izgled kao na --light */
.section--mist .why-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.section--mist .why-card:hover {
  border-color: rgba(0, 168, 168, 0.32);
  background: rgba(224, 247, 247, 0.4);
  box-shadow: var(--shadow);
}

.section--mist .why-card h3 {
  color: var(--ink);
}

.section--mist .why-card p {
  color: var(--grey-dark);
}

.section--mist .why-card__icon {
  background: rgba(0, 168, 168, 0.12);
  color: var(--teal);
}

/* --- Partners / tech badges --- */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
}

.partner-row span {
  font-weight: 600;
  font-size: 0.95rem;
  color: #94a3b8;
  transition: color 0.2s;
}

.partner-row span:hover {
  color: var(--ink);
}

.tech-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.tech-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  cursor: default;
  transition: border-color 0.2s, color 0.2s;
}

.tech-badge:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* --- Index contact --- */
.contact-dark {
  position: relative;
  padding: var(--space-section) 0;
  background: linear-gradient(135deg, #0a2540 0%, #0d3b6b 100%);
  overflow: hidden;
}

.contact-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 50% 70% at 100% 50%, rgba(0, 168, 168, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.contact-dark__inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.contact-dark__inner .info-block {
  align-items: center;
}

.contact-dark__inner .info-line {
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  word-break: break-word;
}

.contact-dark__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-dark .eyebrow {
  color: #93c5fd;
}

.contact-dark h2 {
  font-family: var(--font);
  color: var(--white);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  letter-spacing: 0.015em;
  line-height: 1.28;
  margin-bottom: 0.75rem;
}

.contact-dark .muted {
  color: rgba(255, 255, 255, 0.55);
}

.info-block {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-line {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.info-line a {
  color: inherit;
  text-decoration: none;
}

.info-line a:hover {
  color: #93c5fd;
}

.form-dark .field {
  margin-bottom: 1rem;
}

.form-dark label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.35rem;
}

.form-dark input,
.form-dark textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-dark input::placeholder,
.form-dark textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-dark input:focus,
.form-dark textarea:focus {
  border-color: rgba(37, 99, 235, 0.6);
  background: rgba(37, 99, 235, 0.1);
}

.form-dark textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- Portfolio page (čisto, bez okvira oko toolbar-a) --- */
.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.portfolio-toolbar button {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--grey-dark);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.portfolio-toolbar button:hover {
  border-color: rgba(0, 168, 168, 0.35);
  background: rgba(224, 247, 247, 0.45);
  color: var(--teal-dim);
}

.portfolio-toolbar button.is-active {
  border-color: rgba(0, 168, 168, 0.45);
  background: rgba(224, 247, 247, 0.65);
  color: var(--teal-dim);
}

.portfolio-toolbar button:focus-visible {
  outline: 2px solid rgba(0, 168, 168, 0.35);
  outline-offset: 2px;
}

.portfolio-grid {
  display: grid;
  gap: clamp(1.35rem, 2.5vw, 1.85rem);
  align-items: stretch;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: zoom-in;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 168, 168, 0.22);
  box-shadow: var(--shadow-hover);
}

/* Kartica je <a>: globalno a:hover ne sme da preboji naslove u plavo */
a.portfolio-card:hover,
a.portfolio-card:focus-visible {
  color: var(--ink);
}

.portfolio-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--mist);
  cursor: zoom-in;
}

.portfolio-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.portfolio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.45s ease;
}

/* Cela slika u okviru (npr. infografika sa tekstom po ivicama) */
.portfolio-card__img--contain img {
  object-fit: contain;
  object-position: center;
}

.portfolio-card:hover .portfolio-card__img img,
.portfolio-card:focus-visible .portfolio-card__img img {
  transform: scale(1.02);
}

/* EU / Interreg kartice sa spoljnim linkom (nije lightbox) */
.portfolio-card--external {
  cursor: pointer;
}

/* Kartice koje imaju i sajt link i lightbox na slici */
.portfolio-card--site {
  cursor: pointer;
}

.portfolio-card--site .portfolio-card__img,
.portfolio-card--site .portfolio-card__img img {
  cursor: zoom-in;
}

.portfolio-card--external .portfolio-card__img {
  cursor: pointer;
}

.portfolio-card--external .portfolio-card__img img {
  cursor: pointer;
}

.portfolio-card__img--ext-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0a2540 0%, #145a8a 42%, #007d7d 100%);
}

.portfolio-card__img--ext-placeholder span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.92);
}

.portfolio-card--external .portfolio-card__img::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.portfolio-card--external .portfolio-card__body p {
  word-break: break-word;
}

/* --- Portfolio: lightbox (same page zoom) --- */
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.portfolio-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-out;
  background: rgba(10, 25, 40, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.portfolio-lightbox__frame {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  transform: scale(0.985);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.28s ease;
}

.portfolio-lightbox.is-open .portfolio-lightbox__frame {
  transform: scale(1);
  opacity: 1;
}

.portfolio-lightbox__img {
  display: block;
  max-width: min(96vw, 1200px);
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
}

.portfolio-lightbox__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.15);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.portfolio-lightbox__close:hover,
.portfolio-lightbox__close:focus-visible {
  background: var(--teal);
  color: var(--white);
  outline: none;
}

body.portfolio-lightbox-open {
  overflow: hidden;
}

.portfolio-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.portfolio-card__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.portfolio-card h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.portfolio-card p {
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.7;
  letter-spacing: 0.01em;
  flex: 1;
  overflow-wrap: break-word;
}

.portfolio-card__arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  width: max-content;
  max-width: 100%;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 168, 168, 0.22);
  background: rgba(255, 255, 255, 0.8);
  color: var(--teal);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.portfolio-card__arrow-label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, margin 0.3s ease;
}

.portfolio-card__arrow-icon {
  display: inline-block;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.portfolio-card:hover .portfolio-card__arrow,
.portfolio-card:focus-visible .portfolio-card__arrow {
  border-color: rgba(0, 168, 168, 0.4);
  background: rgba(224, 247, 247, 0.55);
  color: var(--teal-dim);
}

.portfolio-card:hover .portfolio-card__arrow-label,
.portfolio-card:focus-visible .portfolio-card__arrow-label {
  max-width: 15rem;
  opacity: 1;
  margin-right: 0.4rem;
}

.portfolio-card:hover .portfolio-card__arrow-icon,
.portfolio-card:focus-visible .portfolio-card__arrow-icon {
  transform: translateX(2px);
  color: var(--teal);
}

/* --- Onama split --- */
.story-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.story-panel {
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(160deg, var(--blue-soft) 0%, var(--white) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.story-panel h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.story-panel ul {
  list-style: none;
  margin-top: 1rem;
}

.story-panel li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--grey-dark);
}

.story-panel li:last-child {
  border-bottom: none;
}

/* --- O nama: showcase (citati + vizueli) --- */
.section-head--center {
  max-width: min(100%, var(--max));
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-head--center .eyebrow {
  text-align: center;
}

.section-head--center .section-title {
  text-align: center;
}

.section-head--center .section-head__lead {
  margin-top: 0.75rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Ispod centriranog naslova: podnaslov punom širinom, levo, kao na početnoj */
.section-head--center .section-subtitle--center-left {
  text-align: left;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.section-subtitle {
  margin-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
  font-weight: 400;
}

.testimonial-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.06);
}

.testimonial-copy {
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.testimonial-caption {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.testimonial-caption a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.testimonial-caption a:hover {
  border-bottom-color: rgba(37, 99, 235, 0.45);
  color: var(--blue-dim);
}

.testimonial-showcase .testimonial-quote {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.7;
  color: #0f172a;
  font-style: normal;
  margin: 0;
}

.testimonial-showcase .testimonial-quote::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(37, 99, 235, 0.2));
  margin-bottom: 1.1rem;
}

.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.testimonial-tag {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: 0.01em;
}

.testimonial-showcase .testimonial-dots {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-showcase .testimonial-dots button {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.2s ease;
}

.testimonial-showcase .testimonial-dots button:hover {
  background: #94a3b8;
}

.testimonial-showcase .testimonial-dots button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.testimonial-showcase .testimonial-dots button.is-active {
  background: #2563eb;
  transform: scale(1.15);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.testimonial-visual {
  position: relative;
  min-height: 300px;
}

.testimonial-slides {
  position: relative;
  height: 100%;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #e2e8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.testimonial-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 4.5s ease;
  z-index: 0;
}

.testimonial-slides img.is-active {
  opacity: 1;
  transform: scale(1.06);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-slides img {
    transition-duration: 0.01ms, 0.01ms;
  }

  .testimonial-slides img.is-active {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .testimonial-showcase {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .testimonial-visual,
  .testimonial-slides {
    min-height: 220px;
  }

  .testimonial-visual {
    order: -1;
  }
}

/* --- Kontakt page --- */
.contact-page-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding-left: clamp(1.25rem, 5vw, 2.5rem);
  padding-right: clamp(1.25rem, 5vw, 2.5rem);
  min-height: 40vh;
}

/* Jednostavna kontakt stranica */
#kontakt .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 0;
  margin-bottom: 0;
}

#kontakt .contact-kontakt-note {
  margin-top: clamp(2rem, 5vw, 3rem);
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--grey);
}

#kontakt .contact-block {
  min-width: 0;
}

#kontakt .contact-block h3 {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.65rem;
}

#kontakt .contact-block p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--grey-dark);
}

#kontakt .contact-block a {
  color: var(--section-title-on-light);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 168, 168, 0.38);
  transition: color 0.15s ease, border-color 0.15s ease;
}

#kontakt .contact-block a:hover,
#kontakt .contact-block a:focus-visible {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.contact-page-inner {
  max-width: min(64rem, 100%);
  margin: 0 auto;
}

.contact-form {
  margin-top: 2rem;
}

.contact-form .form-light {
  text-align: left;
}

/* Kontakt: levo forma; desno kartice + mapa — kolone iste visine, forma se vizuelno rasteže */
.contact-page-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(40vw, 26rem));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: stretch;
  margin-top: 1.5rem;
}

.contact-page-split__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-page-split__sidebar {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  min-width: 0;
  min-height: 0;
}

.contact-page-split__main .contact-form {
  margin-top: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-sizing: border-box;
}

.contact-page-split__main .contact-form .form-light {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-page-split__main .contact-form .form-light .field:last-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.contact-page-split__main .contact-form .form-light .field:last-of-type textarea {
  flex: 1;
  min-height: 140px;
}

.contact-page-split__map-block {
  min-width: 0;
}

.contact-map-address {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

.contact-map-meta {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
}

.contact-map-actions {
  margin: 0.5rem 0 0;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal);
  text-decoration: none;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  background: rgba(0, 168, 168, 0.06);
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.contact-map-link:hover,
.contact-map-link:focus-visible {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(0, 168, 168, 0.28);
}

.contact-map-frame {
  height: 100%;
  min-height: 240px;
  padding: 4px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(0, 168, 168, 0.18) 55%, rgba(10, 37, 64, 0.12) 100%);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.15),
    0 10px 36px rgba(10, 37, 64, 0.08);
}

.contact-map-embed {
  margin: 0;
  height: 100%;
  min-height: 232px;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: var(--white);
  line-height: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.contact-map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 232px;
  border: 0;
  display: block;
}

.contact-page-split__sidebar .contact-map-frame--column {
  height: auto;
  min-height: 0;
}

.contact-page-split__sidebar .contact-map-embed--column {
  min-height: 0;
  aspect-ratio: 4 / 3;
  max-height: min(42vh, 380px);
}

.contact-page-split__sidebar .contact-map-embed--column iframe {
  height: 100%;
  min-height: 200px;
}

@media (max-width: 900px) {
  .contact-page-split {
    grid-template-columns: 1fr;
  }

  .contact-page-split__sidebar .contact-map-embed--column {
    max-height: min(50vh, 400px);
  }

  .contact-map-frame {
    min-height: 200px;
  }

  .contact-map-embed,
  .contact-map-embed iframe {
    min-height: 200px;
  }
}

.contact-page-inner .info-stack {
  margin-top: 1.5rem;
}

.contact-page-split__sidebar .info-stack {
  margin-top: 0;
}

.contact-page-inner .info-card {
  background: var(--white);
}

.contact-page-intro .section-title {
  margin-top: 0.35rem;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.form-light label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 0.35rem;
}

.form-light input,
.form-light textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-light input:focus,
.form-light textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-light textarea {
  min-height: 140px;
  resize: vertical;
}

.form-light .field {
  margin-bottom: 1.1rem;
}

.form-light button[type="submit"] {
  margin-top: 0.35rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--blue);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.form-light button[type="submit"]:hover,
.form-light button[type="submit"]:focus-visible {
  background: var(--blue-dim);
}

.info-card {
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--mist);
  border: 1px solid var(--border);
}

.info-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.35rem;
}

.info-card p,
.info-card a {
  font-size: 0.95rem;
  color: var(--ink);
}

.info-card a {
  font-weight: 500;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* --- Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

.reveal-delay-5 {
  transition-delay: 0.4s;
}

/* --- Mobile nav --- */
@media (max-width: 900px) {
  .nav-burger {
    display: flex;
  }

  .nav-inner {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem clamp(1.25rem, 5vw, 2.5rem) 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0.25s;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #nav.nav-open .nav-inner {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  #nav.nav--transparent:not(.scrolled) .nav-inner {
    background: rgba(15, 23, 42, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  #nav.nav--transparent:not(.scrolled) .nav-links li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .nav-links a:not(.lang-switch) {
    display: block;
    width: 100%;
    padding: 1rem 0.75rem;
    text-align: center;
    font-size: 0.9375rem;
    box-sizing: border-box;
  }

  .nav-links li.nav-lang {
    border-bottom: none;
    margin-top: 0.35rem;
    padding: 0.75rem 0 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-links a.lang-switch {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 3.5rem;
    padding: 0.55rem 1.35rem;
    margin: 0 auto;
    box-sizing: border-box;
  }

  #nav.nav--transparent:not(.scrolled) .nav-links a:not(.lang-switch) {
    color: rgba(255, 255, 255, 0.92);
  }

}

@media (max-width: 800px) {
  .about-split,
  .story-split,
  .contact-split,
  .contact-dark__grid {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .about-panel__grid {
    min-height: 220px;
  }

  .display-hero {
    font-size: clamp(1.45rem, 5.5vw, 2rem);
  }
}
